# Brief: single-react-design-freeze ## Background ISS-014 将当前 Chat 多 Agent/Hook/ThreadLocal 主链路重构为一个 Diagnosis ReAct Agent、一个确定性 Harness 和一个隔离 SemanticGuard。阶段 0 先冻结后续 10 个实施 change 共同依赖的契约和安全边界。 ## Goal 产出可执行、可测试、可归档的 contract types、失败语义、安全前置和阶段门禁,同时保持现有公开 Chat 运行行为不变。 ## Scope - 类型化 Draft、Knowledge Answer、Fallback、previous turn 和状态枚举。 - Tool ID、双状态、取消、重试、Redis canonical record 和 MySQL 安全设计冻结。 - 明文脚本凭据清理和 focused baseline。 - ISS-014、OpenSpec、devflow 对齐。 ## Non-Goals - 不实现或接入新 Harness/Agent/Guard。 - 不切换 `/api/chat`、不删除旧链路、不运行 live E2E。 ## Source PRD `mvp/issues/active/ISS-014-single-react-agent-harness-aci-ptk-refactor.md` 是本 change 的完整 PRD 和总设计来源,不复制为第二份 PRD。