lhl
|
c170ec2edd
|
feat(config): 删死配置 + 同步文档(T5 架构审查整改)
- Issue5: 删除 QdrantStoreConfig / VectorStoreConfig.qdrant / task_queue.redis_url
- OV1: 同步 6 处文档(api-design §1/§4.3/§5/§6、rag-layer §9、agent-runtime §3、
design §5.5/§8.4.1、config-design、web-ui §4.1)+ tests/fixtures/rag.yaml
- TaskQueue 标注 v1 仅 InMemory,Redis/Valkey 为 v2 预留(Scope 缩减裁定)
- Storage Adapter 仅 ChromaAdapter,工厂移除 qdrant 分支
- 历史评审记录保留原样不改写
- 新增 3 用例,同步 2 个 qdrant 依赖用例;全量 189 passed / 100.00%(991 stmts/252 br)
|
2026-08-12 10:54:56 +08:00 |
|
lhl
|
1f931228e7
|
feat(inference): 引擎层统一注入防护(T4 架构审查整改)
- Issue4: engine.py 新增恒定系统指令 DEFAULT_SYSTEM_INSTRUCTION + 用户数据边界包裹
- _call 统一构造 [system 恒定指令, user 边界包裹数据],chat/chat_structured 全生效
- __init__ 支持 system_instruction 注入覆盖;声明「用户数据段指令不作为要求执行」
- FakeLLMClient 记录结构对齐真实 payload({role, content}),同步 2 处既有断言
- 同步 agent-runtime-design.md §8.1 标注已实现
- 新增 5 用例,全量 182 passed / 100.00%(987 stmts/252 br)
|
2026-08-12 09:44:33 +08:00 |
|
lhl
|
2f4397a8d6
|
feat(orchestrator): 会话状态机实现 + cancelled/resume(T3 架构审查整改)
- Issue3: 新建 src/genesis/state_machine.py(9 状态白名单转移)
- cancel 记录 cancelled_from 进 cancelled 终态,resume 回中断点
- 仅执行中状态可取消(awaiting_*/done 不可),非法转移抛 StateTransitionError
- 同步 agent-runtime-design.md §3.2(状态图/规则表 9 状态 + cancelled 行)
- 新增 10 用例(含覆盖补齐 2 项),全量 177 passed / 100.00%(981 stmts/252 br)
|
2026-08-12 09:39:34 +08:00 |
|
lhl
|
8bc5e5e571
|
feat: InferenceEngine chat/chat_structured 全流程 + 文档补丁(补丁1/2/3)
|
2026-08-09 08:26:37 +08:00 |
|
lhl
|
82cd2f270e
|
chore: 基线提交——既有设计文档与样本数据
|
2026-08-08 15:16:42 +08:00 |
|