docs: add agent handoff docs, verification guide, and repair evidence

Add docs/agent-handoff (backlog, execution state, verification, platform plan, per-task evidence), repo AGENTS.md, and architecture notes updated for the dual-renderer design.
This commit is contained in:
2026-09-17 16:40:06 +08:00
parent 75b2ec4123
commit bc0b92bcdc
25 changed files with 2347 additions and 0 deletions
@@ -0,0 +1,42 @@
# P0 阶段完整回归 — 执行证据
日期:2026-09-16(无人值守轮次)
平台:Windows 11 10.0.26200 x64 · Python 3.10.21`.venv`)· PyQt6/Qt 6.10.0/6.10.2 · Nodetest_math_extract
运行方式:全部子进程统一注入 `HAOCODE_CONFIG_FILE` 指向临时配置(`smoke_offscreen/smoke_mode/smoke_copy_session` 自身不设该变量,属 P2-04 前已知观察项);GUI 套件 `QT_QPA_PLATFORM=offscreen`
## 结果(命令 / 退出码 / 摘要)
纯逻辑(13 个套件,全部 EXIT=0):
| 套件 | 摘要 |
|---|---|
| `python tests/run_tests.py` | 41 passed, 0 failed |
| `python tests/test_tool_params.py` | ALL PASS |
| `python tests/test_compaction_persist.py` | ALL PASS |
| `python tests/test_copy_session.py` | ALL PASS |
| `python tests/test_bash_stream.py` | ALL PASS |
| `python tests/test_error_persist.py` | ALL PASS39 项) |
| `python tests/test_wv2_guard.py` | ALL PASS |
| `python tests/test_debug_window.py` | 22 PASS / 0 FAIL |
| `python tests/test_think_code_neutral.py` | ALL PASS |
| `python tests/test_file_attach.py` | OK |
| `python tests/test_pdf_reader.py` | OK |
| `python tests/test_config_isolation.py` | ALL PASS14 项,P0-01 新增) |
| `python tests/test_main_window_event_filter.py` | ALL PASS18 项,P0-02 新增) |
离屏 GUI(4 个套件,全部 EXIT=0):
| 套件 | 摘要 |
|---|---|
| `python tests/smoke_offscreen.py` | ALL PASS: 8/8 |
| `python tests/smoke_mode.py` | ALL PASS |
| `python tests/smoke_copy_session.py` | ALL PASS |
| `python tests/smoke_bash_panel.py` | ALL PASS116 项) |
JS1 个套件,EXIT=0):`node tests/test_math_extract.js` — 39 passed, 0 failed。
## 判定
P0 阶段回归通过:测试不访问真实配置/数据库(拦截器证明 + 临时环境),`MainWindow`
输入行为无回归(P0-02 四态断言 + 既有 116 项 bash 面板回归)。真实桌面矩阵属
P1/P2 阶段(PLATFORM_PLAN 验收矩阵),本阶段不声称桌面已验证。