@@ -6,6 +6,81 @@ Format: Summary → Plan Packages → File Details (collapsible).
66
77## [ Unreleased]
88
9+ ## [ 2026-05-07.220011] - 2026-05-07
10+
11+ ### Summary
12+
13+ P3a Contract-Aligned Surface Cleanup 完整交付。Execution routing 收敛、cancel_scope 修复、knowledge_sync audit trail、dead path cleanup (-88 LOC)、blueprint 已完成里程碑压缩 + Px 独立里程碑。
14+
15+ ### Changed
16+
17+ - ** Execution routing convergence** : authorized ActionProposal → deterministic route derive (` _derive_route_from_authorized_proposal ` ); Router.classify 降为 bare-text legacy fallback
18+ - ** cancel_scope fix** : cancel_flow 在 derive 路径内联处理,修复 artifacts 为空时默认全局清理的 bug
19+ - ** knowledge_sync audit trail** : ` knowledge_sync_result ` 贯穿 archive 全管道(success / blocked / archive_target_conflict 三路径)
20+ - ** Dead code removal** : 删除 6 个无引用私有函数 + 1 个孤立常量 (-88 LOC)
21+ - ** Test coverage** : +17 routing convergence tests, +2 archive knowledge_sync tests, classify exclusion + checkpoint split 补齐
22+ - ** Blueprint restructure** : P0–P3a 压缩为一行摘要;Px runtime_surface_consolidation 独立里程碑(post-P4)
23+ - ** P3a archived** : plan → ` history/2026-05/20260507_p3a_contract_aligned_surface_cleanup/ `
24+
25+ ### Plan Packages
26+
27+ - ` 20260507_p3a_contract_aligned_surface_cleanup ` (archived)
28+
29+ <details >
30+ <summary >File details</summary >
31+
32+ ** Runtime** — Execution routing + archive audit trail + dead code removal:
33+ - ` runtime/engine.py ` (+207 derive functions, -36 dead code)
34+ - ` runtime/archive_lifecycle.py ` (+47 knowledge_sync pipeline)
35+ - ` runtime/router.py ` (-26 dead function + constant + imports)
36+ - ` runtime/workspace_preflight.py ` (-20 dead function)
37+ - ` runtime/action_projection.py `
38+ - ` runtime/checkpoint_request.py `
39+ - ` runtime/deterministic_guard.py `
40+ - ` runtime/develop_callback.py `
41+ - ` runtime/handoff.py `
42+ - ` runtime/output.py `
43+ - ` runtime/plan_orchestrator.py `
44+ - ` runtime/vnext_phase_boundary.py `
45+
46+ ** Contracts** — Schema cleanup:
47+ - ` runtime/contracts/decision_tables.schema.json `
48+ - ` runtime/contracts/decision_tables.yaml `
49+ - ` runtime/contracts/failure_recovery_table.schema.json `
50+ - ` runtime/contracts/failure_recovery_table.yaml `
51+ - ` runtime/contracts/signal_priority_table.schema.json `
52+
53+ ** Tests** — 689 tests, 49 subtests:
54+ - ` tests/test_runtime_engine.py ` (+337 routing convergence + archive assertions)
55+ - ` tests/test_runtime_plan_registry.py ` (+70 knowledge_sync receipt tests)
56+ - ` tests/test_context_v1_scope.py `
57+ - ` tests/test_runtime_decision.py `
58+ - ` tests/test_runtime_decision_tables.py `
59+ - ` tests/test_runtime_failure_recovery.py `
60+ - ` tests/test_runtime_gate.py `
61+ - ` tests/test_runtime_plan_reuse.py `
62+ - ` tests/test_runtime_router.py `
63+ - ` tests/test_runtime_state.py `
64+ - ` tests/test_bundle_smoke.py `
65+ - ` tests/fixtures/context_fail_close_contract.yaml `
66+ - ` tests/pytest_entries/fail_close_contract_entry.py `
67+
68+ ** Blueprint** — Milestone compression + Px:
69+ - ` .sopify-skills/blueprint/tasks.md `
70+ - ` .sopify-skills/blueprint/design.md `
71+ - ` .sopify-skills/blueprint/protocol.md `
72+ - ` .sopify-skills/blueprint/README.md `
73+ - ` .sopify-skills/history/index.md `
74+ - ` .sopify-skills/history/2026-05/20260507_p3a_contract_aligned_surface_cleanup/ `
75+
76+ ** Docs & Skills** :
77+ - ` README.md ` , ` README.zh-CN.md `
78+ - ` Claude/Skills/CN/CLAUDE.md ` , ` Claude/Skills/EN/CLAUDE.md `
79+ - ` Codex/Skills/CN/AGENTS.md ` , ` Codex/Skills/EN/AGENTS.md `
80+ - ` scripts/check-prompt-runtime-gate-smoke.py `
81+
82+ </details >
83+
984## [ 2026-05-07.143021] - 2026-05-07
1085
1186### Summary
0 commit comments