merge: chore/leftover-hygiene-2026-09-17
This commit is contained in:
+12
-5
@@ -1,7 +1,7 @@
|
||||
# 当前焦点
|
||||
|
||||
**更新**: 2026-09-17
|
||||
**production_ready**: yes(门禁 B1–B4 已签;dev/test/main `schema_version=47` 运行态;goose 00048 bootstrap-fields 已可迁移。不把 fallback change report 写成完整 PI)
|
||||
**production_ready**: yes(门禁 B1–B4 已签;dev `schema_version=48`;test/main `schema_version=47`;goose 00048 bootstrap-fields 已在 dev 可迁移。不把 fallback change report 写成完整 PI)
|
||||
|
||||
## 焦点
|
||||
|
||||
@@ -13,9 +13,16 @@
|
||||
|
||||
| owner | task | branch | worktree | mutex | status |
|
||||
|-------|------|--------|----------|-------|--------|
|
||||
| Cursor | 2026-09-17-leftover-hygiene | chore/leftover-hygiene-2026-09-17 | - | ops | done |
|
||||
| Cursor | 2026-09-17-w2-semantic-summary-shadow | feature/w2-semantic-summary-shadow-live | - | chat | planned |
|
||||
| Cursor | 2026-09-17-w3-pi-change-report-narrative | feature/w3-pi-change-report-narrative-live | - | docgov | planned |
|
||||
| Cursor | 2026-09-17-w4-multi-intent-u9-u12 | feature/w4-u9-segment-live | - | intent-plan | planned |
|
||||
| Cursor | 2026-09-17-w5a-software-bootstrap-ui | feature/w5a-software-bootstrap-ui-pi | - | workflow-design | planned |
|
||||
| Cursor | 2026-09-17-w6-fav-subscriber-shadow | feature/w6-fav-subscriber-shadow | - | events | planned |
|
||||
| Cursor | 2026-09-17-w7-d7-inventory | feature/w7-d7-data-inventory | - | chat | planned |
|
||||
| Cursor | 2026-09-17-kb-host-auth-fix | fix/kb-host-auth-layered-load | - | infra | done |
|
||||
| Cursor | 2026-09-17-w1-ci-e2e-green-nightly | feature/w1-ci-e2e-green-nightly | - | ci | done |
|
||||
| Cline | 2026-09-16-partial-deferred-completion | docs/partial-deferred-completion-plan | - | architecture-docs | done |
|
||||
| Cline | 2026-09-16-partial-deferred-completion | docs/partial-deferred-completion-plan | - | architecture-docs | in_progress |
|
||||
| Cursor | 2026-09-16-intent-plan-playwright-dual-tab | feature/intent-plan-cards-playwright | .worktrees/feature-intent-plan-cards-playwright | web | done |
|
||||
| Cursor | 2026-09-16-full-backlog-override | docs/override-nogo-full-backlog | - | architecture-docs | done |
|
||||
| Cursor | 2026-09-16-gitea-nightly-docker-datadir | fix/gitea-nightly-docker-datadir | - | ci | done |
|
||||
@@ -105,7 +112,7 @@
|
||||
|
||||
> workflow-plan 409 与治理鉴权 G1–G5 已收口(见 [test-report](../test-reports/2026-09-14-governance-action-level-authz-test-report.md))。禁止终止或改写项目 143。
|
||||
> `document-reliability-pilot` U11–U12 已合入 `dev@bf59cce` 并 rebuild。`CHAT-INTENT-STATE` 双标签 busy 已 PASS(项目 6275)。禁止 worktree 内 `env-service`。项目 143 只读,禁止终止。
|
||||
> 2026-09-15 旁支清理:[报告](../test-reports/2026-09-15-leftover-branch-cleanup-test-report.md)。已合入本地旁支 31 条已 `git branch -d`;7 个对应 worktree 已拆。extra worktree 仅余 `.worktrees/fix-dev-runtime-data-root-guard`(目录名是 guard,检出的是 `feature/final-artifact-vault`)。**故意不合入、不删**:`feature/final-artifact-vault`、`feature/remove-herdr-agent-settings`、`fix/project143-controlled-content-404-diagnosis`、`fix/dev-runtime-data-root-guard`、`dev-old-linear`。不删 `origin/*`。不整支 merge FAV;不启用 `FAV_DEGRADED_READ`。
|
||||
> 2026-09-17 leftover 二次收口:[报告](../test-reports/2026-09-17-leftover-hygiene-test-report.md)。已合入 leftover worktree/旁支再拆一轮;`feature/software-project-bootstrap` L1 已在 `dev`(残留关闭 commit 已丢弃)。`fix/clean-test-env-baseline` **不 merge**(前端 demo 清理已放弃;仅保留已挑拣的 `SEED_DEMO_USERS=false`)。extra worktree 仅余 `.worktrees/fix-dev-runtime-data-root-guard`(目录名是 guard,检出的是 `feature/final-artifact-vault`)。**故意不合入、不删**:`feature/final-artifact-vault`、`feature/remove-herdr-agent-settings`、`fix/project143-controlled-content-404-diagnosis`、`fix/dev-runtime-data-root-guard`、`dev-old-linear`。不删 `origin/*`。不整支 merge FAV;不启用 `FAV_DEGRADED_READ`。
|
||||
|
||||
## 集成槽位
|
||||
|
||||
@@ -121,7 +128,7 @@
|
||||
|
||||
| 环境 | 端口 | schema | 状态 |
|
||||
|------|------|--------|------|
|
||||
| dev | 8080 | **47** | healthy(`pi-agent` typed-result-v1;events worker `:8088`;notify/advance/projection live、fav off;health+ready PASS;demo 6001–6010 retired) |
|
||||
| dev | 8080 | **48** | healthy(`pi-agent` typed-result-v1;events worker `:8088`;notify/advance/projection live、fav off;health+ready PASS;demo 6001–6010 retired) |
|
||||
| test | 8081 | **47** | healthy(`rc-v1.0.0-beta.2`;pi-agent `:18866`;events `:8089`;notify/advance/projection live、fav off;health+ready PASS;矩阵深度测试 live 项目 3 PASS) |
|
||||
| main | 8000 | **47** | healthy(app + events + runner + DB;与 dev/test 对齐) |
|
||||
|
||||
@@ -163,7 +170,7 @@
|
||||
| 文档可靠性 M5/M6 U11–U12 | [../test-reports/2026-09-15-app-composition-u11-u12-test-report.md](../test-reports/2026-09-15-app-composition-u11-u12-test-report.md) |
|
||||
| Track E E2 闭包守卫 | [../test-reports/2026-09-15-event-e2-hook-guard-test-report.md](../test-reports/2026-09-15-event-e2-hook-guard-test-report.md) |
|
||||
| Track E 复盘 | [./research/2026-09-15-track-e-retrospective.md](./research/2026-09-15-track-e-retrospective.md) |
|
||||
| 旁支清点收口 | [../test-reports/2026-09-15-leftover-branch-cleanup-test-report.md](../test-reports/2026-09-15-leftover-branch-cleanup-test-report.md) |
|
||||
| 旁支清点收口 | [../test-reports/2026-09-15-leftover-branch-cleanup-test-report.md](../test-reports/2026-09-15-leftover-branch-cleanup-test-report.md) · [二次收口](../test-reports/2026-09-17-leftover-hygiene-test-report.md) |
|
||||
| SSE/幂等审计 | [../audit/2026-09-13-document-revision-sse-idempotency.md](../audit/2026-09-13-document-revision-sse-idempotency.md) |
|
||||
| 质量门禁自污染审计 | [../audit/2026-09-13-document-revision-quality-gate-self-pollution.md](../audit/2026-09-13-document-revision-quality-gate-self-pollution.md) |
|
||||
| 当前文档路由审计 | [../audit/2026-09-13-document-revision-active-doc-routing.md](../audit/2026-09-13-document-revision-active-doc-routing.md) |
|
||||
|
||||
@@ -2,7 +2,7 @@
|
||||
title: "纯软件项目自举工作流实施"
|
||||
status: in_progress
|
||||
created: 2026-09-14
|
||||
updated: 2026-09-16
|
||||
updated: 2026-09-17
|
||||
---
|
||||
|
||||
# 纯软件项目自举工作流实施
|
||||
@@ -22,18 +22,18 @@ updated: 2026-09-16
|
||||
- 真实 PI 和 Ubuntu 无头浏览器黄金项目验收通过;
|
||||
- 未实现受控代码执行前,系统不会直接修改项目仓库。
|
||||
|
||||
## 实施进度(2026-09-16)
|
||||
## 实施进度(2026-09-17)
|
||||
|
||||
| Epic | 状态 | 说明 |
|
||||
|------|------|------|
|
||||
| SWBOOT-00 | done(契约) | ADR `.doc/adr/2026-09-16-software-project-bootstrap-keys.md` |
|
||||
| SWBOOT-01 | done(迁移) | goose `00048` additive;活验待集成槽 |
|
||||
| SWBOOT-02..04 | done(L1) | manifests + catalog 五 key;医疗三门禁保留 |
|
||||
| SWBOOT-05..08 | partial | 后端 catalog/creation-preview/create 字段;七步 UI / 对话路由未做 |
|
||||
| SWBOOT-09 | partial | L1 单测报告已出;真实 PI/UI NOT RUN |
|
||||
| SWBOOT-10 | stub only | allowlist + fail-closed;无真实 patch/merge |
|
||||
| SWBOOT-01 | done(迁移) | goose `00048` additive;已合 `dev` |
|
||||
| SWBOOT-02..04 | done(L1) | manifests + catalog 五 key;医疗三门禁保留;已合 `dev`(`f0029df`) |
|
||||
| SWBOOT-05..08 | partial | 后端 catalog/creation-preview/create 字段已合;七步 UI / 对话路由归 W5a |
|
||||
| SWBOOT-09 | partial | L1 单测报告已出;真实 PI/UI 归 W5a |
|
||||
| SWBOOT-10 | stub only | allowlist + fail-closed;真 patch/merge 归 W5b,本轮不实施 |
|
||||
|
||||
分支:`feature/software-project-bootstrap`(**未合 dev**)。
|
||||
L1(SWBOOT-00…09 契约/迁移/目录钩子 + SWBOOT-10 stub)**已合入 `dev`**。后续由 [partial/deferred W5](../short-term/2026-09-16-partial-deferred-completion.md) 承接:W5a = UI + `docs_only` 真实 PI;W5b = 受控执行器(独立安全评审)。
|
||||
|
||||
## 实施拆分
|
||||
|
||||
@@ -59,9 +59,9 @@ updated: 2026-09-16
|
||||
- 文档版本运行时 Round20 能力作为文档链基线;
|
||||
- 用户确认首期执行模式及 solo/collaborative 策略。
|
||||
|
||||
## 暂不启动原因
|
||||
## 剩余工作
|
||||
|
||||
本轮用户要求先梳理和制定详细方案;业务代码、迁移、模板和智能体配置尚未授权进入实施。本任务保持 `planned`,启动时须从 `dev` 新建独立 feature 分支,并在 CURRENT 认领 `workflow-design`/相应拆分 mutex。
|
||||
L1 已合 `dev`。W5a 从 `dev` 开 `feature/w5a-software-bootstrap-ui-pi`(mutex `workflow-design`)。W5b 受控执行器未启动,SWBOOT-10 保持 fail-closed stub。
|
||||
|
||||
## 相关链接
|
||||
|
||||
|
||||
@@ -1,32 +1,32 @@
|
||||
---
|
||||
title: "PU6 语义摘要 D3 — 获批后任务契约"
|
||||
status: planned
|
||||
status: in_progress
|
||||
created: 2026-09-16
|
||||
updated: 2026-09-16
|
||||
owner: TBD
|
||||
branch: feature/pu6-semantic-summary
|
||||
updated: 2026-09-17
|
||||
owner: Cursor
|
||||
branch: feature/w2-semantic-summary-shadow-live
|
||||
mutex: chat
|
||||
go_no_go: go
|
||||
---
|
||||
|
||||
# PU6 语义摘要 D3 — 获批后任务契约
|
||||
|
||||
**go/no-go**:no-go(见 `.doc/ops/research/2026-09-16-wave3-pu6-pu8-go-no-go.md`)。已授权 GO;按 short-term 总控实施(默认 flag off)。
|
||||
**go/no-go**:GO(用户覆盖授权)。脚手架已合 `dev`(`SEMANTIC_SUMMARY_SHADOW` 默认 off;heuristic/stub summarizer;REPLACE 未接线)。W2 live:真实 PI no-tool summarizer + R13 + 负例;**不启用** `SEMANTIC_SUMMARY_REPLACE`。
|
||||
|
||||
## 目标(获批后)
|
||||
## 目标
|
||||
|
||||
在授权可见集合上 shadow 语义摘要,可解释 fallback;通过后方可考虑替换 deterministic。
|
||||
在授权可见集合上 shadow 语义摘要,可解释 fallback;REPLACE 为后置独立授权任务。
|
||||
|
||||
## 预注册门
|
||||
|
||||
- flag:`SEMANTIC_SUMMARY_SHADOW` → 可选 `SEMANTIC_SUMMARY_REPLACE`
|
||||
- flag:`SEMANTIC_SUMMARY_SHADOW` → 可选 `SEMANTIC_SUMMARY_REPLACE`(本轮不启用)
|
||||
- 输入:authorized view only;无工具权限摘要器;R13 出站门
|
||||
- 失败:保留旧摘要/deterministic;标注 freshness
|
||||
- 负例:撤权消息不入摘要;injection 不能改权限
|
||||
|
||||
## 路径提示
|
||||
|
||||
`internal/ctxmgr/summarizer.go`、`internal/app/chatflow/`、`internal/server/chat_digest_api.go`、web 摘要消费组件
|
||||
`internal/ctxmgr/summarizer.go`、`internal/ctxmgr/semantic_summary.go`、`internal/app/chatflow/`、`internal/server/chat_digest_api.go`、`internal/agent/piagent.go`
|
||||
|
||||
## 回滚
|
||||
|
||||
|
||||
@@ -2,9 +2,9 @@
|
||||
title: "PU8-U10 mutate — 获批后任务契约"
|
||||
status: in_progress
|
||||
created: 2026-09-16
|
||||
updated: 2026-09-16
|
||||
updated: 2026-09-17
|
||||
owner: Cursor
|
||||
branch: feature/pu8-u9-u12-flags
|
||||
branch: feature/w4-u9-segment-live
|
||||
mutex: intent-plan
|
||||
go_no_go: go
|
||||
flag: MULTI_INTENT_U10_MUTATE
|
||||
@@ -12,7 +12,7 @@ flag: MULTI_INTENT_U10_MUTATE
|
||||
|
||||
# PU8-U10 mutate
|
||||
|
||||
**go/no-go**:GO(覆盖授权)。独立 flag 默认 off;脚手架 dry-run + expected revision 门禁;不依赖 U9。
|
||||
**go/no-go**:GO(覆盖授权)。独立 flag 脚手架已合 `dev`(默认 off;dry-run + expected revision 门禁)。W4 live 按 action 独立证据闭环;mutex 跟总控为 `intent-plan`(不与 W3 `docgov` 抢锁)。不升 `MULTI_INTENT_PLAN_TIER`。
|
||||
|
||||
## 负例
|
||||
|
||||
|
||||
@@ -2,14 +2,14 @@
|
||||
title: "PU8-U11 docgov action — 获批后任务契约"
|
||||
status: in_progress
|
||||
created: 2026-09-16
|
||||
updated: 2026-09-16
|
||||
updated: 2026-09-17
|
||||
owner: Cursor
|
||||
branch: feature/pu8-u9-u12-flags
|
||||
mutex: docgov
|
||||
branch: feature/w4-u9-segment-live
|
||||
mutex: intent-plan
|
||||
go_no_go: go
|
||||
flag: MULTI_INTENT_U11_DOCGOV
|
||||
---
|
||||
|
||||
# PU8-U11 docgov
|
||||
|
||||
**go/no-go**:GO(覆盖授权)。独立 flag 默认 off;脚手架 dry-run + revision 门禁;项目 143 只读纪律不变。
|
||||
**go/no-go**:GO(覆盖授权)。独立 flag 脚手架已合 `dev`(默认 off;dry-run + revision 门禁)。W4 live 占用总控 mutex `intent-plan`(避免与 W3 PU7 抢 `docgov`)。项目 143 只读纪律不变。
|
||||
|
||||
@@ -2,14 +2,14 @@
|
||||
title: "PU8-U12 workflow/run-control — 获批后任务契约"
|
||||
status: in_progress
|
||||
created: 2026-09-16
|
||||
updated: 2026-09-16
|
||||
updated: 2026-09-17
|
||||
owner: Cursor
|
||||
branch: feature/pu8-u9-u12-flags
|
||||
mutex: workflow
|
||||
branch: feature/w4-u9-segment-live
|
||||
mutex: intent-plan
|
||||
go_no_go: go
|
||||
flag: MULTI_INTENT_U12_RUN_CONTROL
|
||||
---
|
||||
|
||||
# PU8-U12 workflow/run-control
|
||||
|
||||
**go/no-go**:GO(覆盖授权)。独立 flag 默认 off;脚手架 dry-run;双标签确认/取消与投影权威仍待 live 接线。
|
||||
**go/no-go**:GO(覆盖授权)。独立 flag 脚手架已合 `dev`(默认 off;dry-run)。W4 live 占用总控 mutex `intent-plan`。双标签确认/取消与投影权威仍待 live 接线。不升 `MULTI_INTENT_PLAN_TIER`。
|
||||
|
||||
@@ -2,9 +2,9 @@
|
||||
title: "PU8-U9 segment proposal — 获批后任务契约"
|
||||
status: in_progress
|
||||
created: 2026-09-16
|
||||
updated: 2026-09-16
|
||||
updated: 2026-09-17
|
||||
owner: Cursor
|
||||
branch: feature/pu8-u9-u12-flags
|
||||
branch: feature/w4-u9-segment-live
|
||||
mutex: intent-plan
|
||||
go_no_go: go
|
||||
flag: MULTI_INTENT_U9_SEGMENT
|
||||
@@ -12,7 +12,7 @@ flag: MULTI_INTENT_U9_SEGMENT
|
||||
|
||||
# PU8-U9 segment proposal
|
||||
|
||||
**go/no-go**:GO(覆盖授权)。脚手架:`MULTI_INTENT_U9_SEGMENT` 默认 off;开启后 stub fail-closed(malformed/timeout/越界)。规则无法判断时才出 segment proposal;非 U10–U12 默认前置。
|
||||
**go/no-go**:GO(覆盖授权)。flag 脚手架已合 `dev`(默认 off;开启后仍为 `StubSegmentProposer` fail-closed)。W4 live:真实 LLM proposer;规则能判断则不出 proposal。不升 `MULTI_INTENT_PLAN_TIER`。
|
||||
|
||||
## 安全 stop gate
|
||||
|
||||
|
||||
@@ -0,0 +1,50 @@
|
||||
---
|
||||
title: "已合入 leftover 旁支与文档对齐"
|
||||
status: done
|
||||
created: 2026-09-17
|
||||
updated: 2026-09-17
|
||||
owner: Cursor
|
||||
branch: chore/leftover-hygiene-2026-09-17
|
||||
worktree: "-"
|
||||
mutex: ops
|
||||
---
|
||||
|
||||
# 已合入 leftover 旁支与文档对齐
|
||||
|
||||
## 目标
|
||||
|
||||
拆掉 tip 已是本地 `dev` 祖先的 extra worktree 与本地旁支;把 CURRENT / SWBOOT long-term / PU 契约与 git 事实对齐。不整支合入冻结旁支。
|
||||
|
||||
## 范围
|
||||
|
||||
- 拆已合入 extra worktree(保留错名 FAV 目录)
|
||||
- `git branch -d` 已合入 leftover;SWBOOT 残留 1 commit 在确认文档已在 `dev` 后 `-D`
|
||||
- `fix/clean-test-env-baseline` 不 merge;标明前端清理已放弃
|
||||
- 对齐 CURRENT、SWBOOT long-term、PU6/PU8 契约
|
||||
|
||||
## 非目标
|
||||
|
||||
- 不整支 merge `feature/final-artifact-vault`
|
||||
- 不合入 `feature/remove-herdr-agent-settings`、`fix/project143-controlled-content-404-diagnosis`、`fix/dev-runtime-data-root-guard`、`dev-old-linear`
|
||||
- 不删 `origin/*`;不从 worktree 起 docker;不碰项目 143;不 push
|
||||
- 不升 FEATURE-MATRIX 能力行 `done`
|
||||
|
||||
## 步骤
|
||||
|
||||
1. [x] 从 `dev` 开 `chore/leftover-hygiene-2026-09-17` 并认领 CURRENT
|
||||
2. [x] 拆已合入 worktree、删除已合入旁支
|
||||
3. [x] 文档对齐
|
||||
4. [x] 冒烟 + test-report
|
||||
5. [x] 占槽合 `dev`
|
||||
|
||||
## 验收标准
|
||||
|
||||
- [x] extra worktree 只剩 FAV 错名目录
|
||||
- [x] 5 条冻结旁支仍在
|
||||
- [x] 文档不再声称 SWBOOT 未合 `dev`
|
||||
- [x] vet / short / arch-check / health+ready PASS
|
||||
|
||||
## 相关链接
|
||||
|
||||
- Test report: `.doc/test-reports/2026-09-17-leftover-hygiene-test-report.md`
|
||||
- 上位: [2026-09-16-partial-deferred-completion.md](./2026-09-16-partial-deferred-completion.md)
|
||||
@@ -0,0 +1,86 @@
|
||||
# leftover 旁支二次收口 测试报告
|
||||
|
||||
## 一、 测试背景 (Background)
|
||||
|
||||
本地 `dev@80ef2f6` 上仍挂着 tip 已是祖先的 extra worktree 与旁支;SWBOOT long-term 仍误写「未合 `dev`」;PU6/PU8 契约仍停在脚手架口径。冻结 5 条旁支禁止整支 merge。本轮只做清理 + 文档对齐 + 冒烟。
|
||||
|
||||
## 二、 测试目标 (Test Objectives)
|
||||
|
||||
- 拆掉已合入 leftover worktree;保留错名 FAV worktree。
|
||||
- 删除 tip 已是 `dev` 祖先的本地旁支;丢弃 SWBOOT 残留关闭 commit(内容已在 `dev`)。
|
||||
- `fix/clean-test-env-baseline` 不合入。
|
||||
- 文档与 git 事实对齐。
|
||||
- 冒烟:`go vet`、`go test -short`、`arch-check --mode block`、`:8080` `/health` 与 `/ready`。
|
||||
|
||||
## 三、 测试方案与环境 (Test Plan & Environment)
|
||||
|
||||
- OS:Linux 7.0.0-31-generic
|
||||
- Go:go1.27.1 linux/amd64
|
||||
- 分支:`chore/leftover-hygiene-2026-09-17`(自 `dev@80ef2f6`)
|
||||
- 容器:现网 dev,docs-only 不 rebuild
|
||||
- 证据:`.doc/test-reports/assets/2026-09-17-leftover-hygiene/`
|
||||
|
||||
## 四、 预期结果 (Expected Results)
|
||||
|
||||
- extra worktree 只剩 `.worktrees/fix-dev-runtime-data-root-guard`(`feature/final-artifact-vault`)
|
||||
- 冻结 5 条旁支仍在;`fix/clean-test-env-baseline` 仍在且未 merge
|
||||
- vet / short / arch-check / health+ready PASS
|
||||
|
||||
## 五、 实际测试结果与判定 (Actual Results & Evaluation)
|
||||
|
||||
### 5.1 worktree 与旁支
|
||||
|
||||
- **测试输入 (Input)**:`git worktree remove --force`;Playwright 目录 root 属主经 Docker `chown` 后 `rm -rf`;`git branch -d` 已合入旁支;SWBOOT `-D`
|
||||
- **实际输出 (Actual Output)**:见 `assets/2026-09-17-leftover-hygiene/post-worktrees.txt`、`deleted-local-branches.txt`、`post-unmerged.txt`。extra worktree 仅余 FAV 错名目录。
|
||||
- **评价判定 (Evaluation / Verdict)**:PASS
|
||||
- **性能与耗时 (Duration & Latency)**:约 1 分钟(含 root 属主清理)
|
||||
|
||||
### 5.2 故意保留
|
||||
|
||||
- **测试输入 (Input)**:`git branch --no-merged HEAD`
|
||||
- **实际输出 (Actual Output)**:`dev-old-linear`、`feature/final-artifact-vault`、`feature/remove-herdr-agent-settings`、`fix/clean-test-env-baseline`、`fix/dev-runtime-data-root-guard`、`fix/project143-controlled-content-404-diagnosis`、`test`
|
||||
- **评价判定 (Evaluation / Verdict)**:PASS(`test` 为环境主干;clean-test 放弃不合入)
|
||||
- **性能与耗时 (Duration & Latency)**:<1s
|
||||
|
||||
### 5.3 go vet
|
||||
|
||||
- **测试输入 (Input)**:`go vet ./...`
|
||||
- **实际输出 (Actual Output)**:exit 0。`assets/2026-09-17-leftover-hygiene/go-vet.txt`
|
||||
- **评价判定 (Evaluation / Verdict)**:PASS
|
||||
- **性能与耗时 (Duration & Latency)**:约 1s
|
||||
|
||||
### 5.4 go test -short
|
||||
|
||||
- **测试输入 (Input)**:`unset TEST_DATABASE_URL; go test -short ./...`
|
||||
- **实际输出 (Actual Output)**:全仓 `ok` / `[no test files]`,`TEST_EXIT=0`。最慢 `internal/server` 10.729s。`assets/2026-09-17-leftover-hygiene/go-test-short.txt`
|
||||
- **评价判定 (Evaluation / Verdict)**:PASS
|
||||
- **性能与耗时 (Duration & Latency)**:约 12s
|
||||
|
||||
### 5.5 arch-check --mode block
|
||||
|
||||
- **测试输入 (Input)**:`./scripts/arch-check.sh --mode block`
|
||||
- **实际输出 (Actual Output)**:`arch-check block: production gate passed`
|
||||
- **评价判定 (Evaluation / Verdict)**:PASS
|
||||
- **性能与耗时 (Duration & Latency)**:约 1s
|
||||
|
||||
### 5.6 health / ready
|
||||
|
||||
- **测试输入 (Input)**:`curl -sf http://127.0.0.1:8080/health` 与 `/ready`
|
||||
- **实际输出 (Actual Output)**:
|
||||
|
||||
```json
|
||||
{"status":"ok","env":"dev","agent_backend":"pi-agent","version":"v1.0","shared_kb_port":5432,"kb_ready":true,"database_ready":true,"schema_version":48,"schema_ready":true,"task_store_ready":true}
|
||||
```
|
||||
|
||||
- **评价判定 (Evaluation / Verdict)**:PASS(dev schema 48;test/main 仍 47)
|
||||
- **性能与耗时 (Duration & Latency)**:<1s
|
||||
|
||||
## 六、 自动化测试套件汇总 (Test Suite Execution)
|
||||
|
||||
- `go vet ./...`:PASS
|
||||
- `go test -short ./...`:PASS
|
||||
- `./scripts/arch-check.sh --mode block`:PASS
|
||||
|
||||
## 七、 测试结论与后续优化建议 (Conclusion & Next Steps)
|
||||
|
||||
达到合入标准。后续 W2–W7 按独立 feature 分支推进。不 push、不删 `origin/*`、不整支 merge FAV。
|
||||
@@ -0,0 +1,7 @@
|
||||
=== arch-check --mode block ===
|
||||
arch-check mode=block
|
||||
boundaries=/home/weichen/projects/Agent-System/.doc/system-design/module-boundaries.yaml
|
||||
ok chat-agent-system/internal/archtest 0.174s
|
||||
ok chat-agent-system/internal/archtest 0.215s
|
||||
arch-check block: production gate passed
|
||||
ARCH_EXIT=0
|
||||
@@ -0,0 +1,15 @@
|
||||
deleted chore/merge-agent-deltas
|
||||
deleted chore/merge-playwright-swboot-followup
|
||||
deleted docs/module-decoupling-ipc-assessment
|
||||
deleted feature/fav-u7-publisher
|
||||
deleted feature/fav-u7-publisher-impl
|
||||
deleted feature/iam-route-inventory-p2
|
||||
deleted feature/intent-plan-cards-playwright
|
||||
deleted feature/intent-plan-cards-playwright-impl
|
||||
deleted feature/pu6-semantic-summary
|
||||
deleted feature/pu6-semantic-summary-impl
|
||||
deleted feature/pu7-pi-narrative
|
||||
deleted feature/pu7-pi-narrative-impl
|
||||
deleted feature/pu8-u9-u12-flags
|
||||
deleted fix/nightly-datadir-rw
|
||||
deleted feature/software-project-bootstrap (-D; unique docs already on dev)
|
||||
@@ -0,0 +1,66 @@
|
||||
=== go test -short ===
|
||||
? chat-agent-system/cmd/artifact-vault [no test files]
|
||||
ok chat-agent-system/cmd/bizdev-cli 2.211s
|
||||
? chat-agent-system/cmd/dataset [no test files]
|
||||
ok chat-agent-system/cmd/document-content-reconcile (cached)
|
||||
? chat-agent-system/cmd/document-revision-backfill [no test files]
|
||||
? chat-agent-system/cmd/eventmode [no test files]
|
||||
? chat-agent-system/cmd/events [no test files]
|
||||
? chat-agent-system/cmd/recategorize [no test files]
|
||||
? chat-agent-system/cmd/server [no test files]
|
||||
ok chat-agent-system/internal/agent 3.525s
|
||||
ok chat-agent-system/internal/app 0.015s
|
||||
ok chat-agent-system/internal/app/chatflow (cached)
|
||||
ok chat-agent-system/internal/app/docadvance (cached)
|
||||
ok chat-agent-system/internal/app/docflow (cached)
|
||||
ok chat-agent-system/internal/app/docnotify (cached)
|
||||
ok chat-agent-system/internal/app/docproject (cached)
|
||||
ok chat-agent-system/internal/app/fav (cached)
|
||||
ok chat-agent-system/internal/app/intentflow (cached)
|
||||
ok chat-agent-system/internal/app/stageflow (cached)
|
||||
ok chat-agent-system/internal/app/uow (cached)
|
||||
ok chat-agent-system/internal/archtest 0.152s
|
||||
ok chat-agent-system/internal/artifactvault (cached)
|
||||
ok chat-agent-system/internal/auth 0.964s
|
||||
ok chat-agent-system/internal/authz (cached)
|
||||
ok chat-agent-system/internal/bizdev 0.143s
|
||||
ok chat-agent-system/internal/chat 0.015s
|
||||
ok chat-agent-system/internal/config 0.002s
|
||||
ok chat-agent-system/internal/coordinator 0.011s
|
||||
ok chat-agent-system/internal/ctxmgr (cached)
|
||||
ok chat-agent-system/internal/dataset (cached)
|
||||
ok chat-agent-system/internal/db (cached)
|
||||
ok chat-agent-system/internal/doccontent (cached)
|
||||
ok chat-agent-system/internal/docduty (cached)
|
||||
ok chat-agent-system/internal/docgov 0.018s
|
||||
ok chat-agent-system/internal/docquery (cached)
|
||||
ok chat-agent-system/internal/docrevision (cached)
|
||||
ok chat-agent-system/internal/events 0.006s
|
||||
ok chat-agent-system/internal/freedoc 0.026s
|
||||
ok chat-agent-system/internal/fsutil (cached)
|
||||
ok chat-agent-system/internal/httpx (cached)
|
||||
ok chat-agent-system/internal/intent (cached)
|
||||
ok chat-agent-system/internal/kb 0.008s
|
||||
ok chat-agent-system/internal/maturity (cached)
|
||||
ok chat-agent-system/internal/notification 0.070s
|
||||
? chat-agent-system/internal/observability [no test files]
|
||||
ok chat-agent-system/internal/projectcontext (cached)
|
||||
ok chat-agent-system/internal/projectinstance (cached)
|
||||
ok chat-agent-system/internal/projectworkflow (cached)
|
||||
ok chat-agent-system/internal/quote (cached)
|
||||
ok chat-agent-system/internal/replyexport (cached)
|
||||
ok chat-agent-system/internal/server 10.729s
|
||||
ok chat-agent-system/internal/squad (cached)
|
||||
ok chat-agent-system/internal/storage (cached)
|
||||
ok chat-agent-system/internal/stream (cached)
|
||||
ok chat-agent-system/internal/stream/transport (cached)
|
||||
ok chat-agent-system/internal/swboot (cached)
|
||||
ok chat-agent-system/internal/taskrun 0.189s
|
||||
ok chat-agent-system/internal/template 1.320s
|
||||
ok chat-agent-system/internal/upload (cached)
|
||||
? chat-agent-system/internal/workflow [no test files]
|
||||
ok chat-agent-system/internal/workflow/runtime (cached)
|
||||
ok chat-agent-system/internal/workflowdef (cached)
|
||||
ok chat-agent-system/internal/workspace (cached)
|
||||
? chat-agent-system/templates [no test files]
|
||||
TEST_EXIT=0
|
||||
@@ -0,0 +1,4 @@
|
||||
=== go version ===
|
||||
go version go1.27.1 linux/amd64
|
||||
=== go vet ===
|
||||
VET_EXIT=0
|
||||
@@ -0,0 +1,6 @@
|
||||
=== /health ===
|
||||
{"status":"ok","env":"dev","agent_backend":"pi-agent","version":"v1.0","shared_kb_port":5432,"kb_ready":true,"database_ready":true,"schema_version":48,"schema_ready":true,"task_store_ready":true}
|
||||
|
||||
=== /ready ===
|
||||
{"status":"ok","env":"dev","agent_backend":"pi-agent","version":"v1.0","shared_kb_port":5432,"kb_ready":true,"database_ready":true,"schema_version":48,"schema_ready":true,"task_store_ready":true}
|
||||
|
||||
@@ -0,0 +1,10 @@
|
||||
* chore/leftover-hygiene-2026-09-17
|
||||
dev
|
||||
dev-old-linear
|
||||
+ feature/final-artifact-vault
|
||||
feature/remove-herdr-agent-settings
|
||||
fix/clean-test-env-baseline
|
||||
fix/dev-runtime-data-root-guard
|
||||
fix/project143-controlled-content-404-diagnosis
|
||||
main
|
||||
test
|
||||
@@ -0,0 +1,7 @@
|
||||
dev-old-linear
|
||||
+ feature/final-artifact-vault
|
||||
feature/remove-herdr-agent-settings
|
||||
fix/clean-test-env-baseline
|
||||
fix/dev-runtime-data-root-guard
|
||||
fix/project143-controlled-content-404-diagnosis
|
||||
test
|
||||
@@ -0,0 +1,2 @@
|
||||
/home/weichen/projects/Agent-System 80ef2f6 [chore/leftover-hygiene-2026-09-17]
|
||||
/home/weichen/projects/Agent-System/.worktrees/fix-dev-runtime-data-root-guard 539a2dc [feature/final-artifact-vault]
|
||||
@@ -0,0 +1,25 @@
|
||||
chore/leftover-hygiene-2026-09-17 80ef2f6 merge: docs/archive-kb-host-auth-short-term
|
||||
chore/merge-agent-deltas 49db87e docs(ops): release integration slot after agent-delta merge
|
||||
chore/merge-playwright-swboot-followup 83f9004 docs(ops): close SWBOOT short-term after remote push
|
||||
dev 80ef2f6 merge: docs/archive-kb-host-auth-short-term
|
||||
dev-old-linear 5e5bc1f docs(agents): require feature branches off dev for all work
|
||||
docs/module-decoupling-ipc-assessment 5cef856 docs(remediation): add module decoupling phase-2 remediation plan and index gap-matrix rows
|
||||
feature/fav-u7-publisher 6356fb5 docs(ops): mark FAV U7 incremental push complete
|
||||
feature/fav-u7-publisher-impl 47376ae feat(events): FAV publisher cmd stub gated off by default
|
||||
feature/final-artifact-vault 539a2dc docs(test): record FAV gap-fill unit evidence
|
||||
feature/iam-route-inventory-p2 025ffe0 feat(authz): full route inventory, session interrupt test, 410/R13 freeze
|
||||
feature/intent-plan-cards-playwright f55887e docs(test): archive intent-plan Playwright dual-tab report
|
||||
feature/intent-plan-cards-playwright-impl d45a1ee test(web): intent-plan dual-tab Playwright acceptance gate
|
||||
feature/pu6-semantic-summary 5493bf6 docs(test): archive PU6 shadow report and mark matrix partial
|
||||
feature/pu6-semantic-summary-impl 8fdf50a feat(chat): SEMANTIC_SUMMARY_SHADOW optional deterministic annotate
|
||||
feature/pu7-pi-narrative 56f6a66 docs(test): archive PU7 PI narrative acceptance report
|
||||
feature/pu7-pi-narrative-impl e7e9813 feat(docgov): PI_CHANGE_REPORT_NARRATIVE gate with full fallback
|
||||
feature/pu8-u9-u12-flags 6087d0b docs(test): archive PU8 U9–U12 flags scaffolding report
|
||||
feature/remove-herdr-agent-settings ed29cb5 docs(ops): close Wave 0 status and ignore multi-GB UI dumps
|
||||
feature/software-project-bootstrap d3bb752 docs(ops): close SWBOOT short-term after remote push
|
||||
fix/clean-test-env-baseline ecd9111 docs(ops): record clean test env baseline task, audit, remediation, and test report
|
||||
fix/dev-runtime-data-root-guard ded40d0 docs(remediation): design final artifact vault
|
||||
fix/nightly-datadir-rw 81f6378 fix(ci): treat DATA_DIR read-only mkdir as infra_fail
|
||||
fix/project143-controlled-content-404-diagnosis 81288bd docs(audit): diagnose project143 document content 404
|
||||
main 210fe4a merge: feature/sync-wip-2026-09-13 — container env config and chat refresh docs
|
||||
test b67816a merge: sync detailed matrix deep-test report onto test
|
||||
@@ -0,0 +1,8 @@
|
||||
dev-old-linear
|
||||
+ feature/final-artifact-vault
|
||||
feature/remove-herdr-agent-settings
|
||||
+ feature/software-project-bootstrap
|
||||
+ fix/clean-test-env-baseline
|
||||
fix/dev-runtime-data-root-guard
|
||||
fix/project143-controlled-content-404-diagnosis
|
||||
test
|
||||
@@ -0,0 +1,9 @@
|
||||
/home/weichen/projects/Agent-System 80ef2f6 [chore/leftover-hygiene-2026-09-17]
|
||||
/home/weichen/projects/Agent-System/.worktrees/feature-fav-u7-publisher 6356fb5 [feature/fav-u7-publisher]
|
||||
/home/weichen/projects/Agent-System/.worktrees/feature-intent-plan-cards-playwright f55887e [feature/intent-plan-cards-playwright]
|
||||
/home/weichen/projects/Agent-System/.worktrees/feature-pu6-semantic-summary 5493bf6 [feature/pu6-semantic-summary]
|
||||
/home/weichen/projects/Agent-System/.worktrees/feature-pu7-pi-narrative 56f6a66 [feature/pu7-pi-narrative]
|
||||
/home/weichen/projects/Agent-System/.worktrees/feature-software-project-bootstrap d3bb752 [feature/software-project-bootstrap]
|
||||
/home/weichen/projects/Agent-System/.worktrees/fix-clean-test-env-baseline ecd9111 [fix/clean-test-env-baseline]
|
||||
/home/weichen/projects/Agent-System/.worktrees/fix-dev-runtime-data-root-guard 539a2dc [feature/final-artifact-vault]
|
||||
/tmp/as-merge-agent-deltas 49db87e [chore/merge-agent-deltas]
|
||||
Reference in New Issue
Block a user