From 0243cc219587a7c78910daa909598b20a646cdbe Mon Sep 17 00:00:00 2001 From: weichen Date: Wed, 23 Sep 2026 15:35:13 +0000 Subject: [PATCH] docs(ops): register pi-narrative CURRENT done and closeout five-state --- .doc/ops/CURRENT.md | 2 ++ .../2026-09-23-pi-narrative-final-closeout.md | 10 +++++----- internal/sysadmin/service_test.go | 3 +++ 3 files changed, 10 insertions(+), 5 deletions(-) diff --git a/.doc/ops/CURRENT.md b/.doc/ops/CURRENT.md index 0c3573e3..4f105a2f 100644 --- a/.doc/ops/CURRENT.md +++ b/.doc/ops/CURRENT.md @@ -18,6 +18,8 @@ | owner | task | branch | worktree | mutex | status | |---|---|---|---|---|---| +| Cursor | integrate-pi-narrative-docs-2026-09-23 | feature/integrate-pi-narrative-docs-2026-09-23 | .worktrees/integrate-pi-narrative-final-closeout-b-2026-09-23 | git:dev | done | +| Cursor | pi-narrative-final-closeout-b-2026-09-23 | feature/pi-narrative-final-closeout-b-2026-09-23 | .worktrees/pi-narrative-final-closeout-2026-09-23 | docgov | done | | Cursor | chat-semantic-d3-matrix-land-2026-09-23 | feature/chat-semantic-d3-matrix-land-2026-09-23 | .worktrees/chat-semantic-d3-matrix-land-2026-09-23 | chat | done | | Cursor | intent-plan-i2-rollout-b-2026-09-24 | feature/intent-plan-i2-rollout-2026-09-24 | .worktrees/intent-plan-i2-rollout-2026-09-24 | intent-plan | in_progress | | Cursor | intent-plan-i2-impl-2026-09-24 | feature/intent-plan-i2-shadow-allowlist-2026-09-24 | .worktrees/intent-plan-i2-shadow-allowlist-2026-09-24 | intent-plan | in_progress | diff --git a/.doc/ops/short-term/2026-09-23-pi-narrative-final-closeout.md b/.doc/ops/short-term/2026-09-23-pi-narrative-final-closeout.md index 0956a38c..1e04649c 100644 --- a/.doc/ops/short-term/2026-09-23-pi-narrative-final-closeout.md +++ b/.doc/ops/short-term/2026-09-23-pi-narrative-final-closeout.md @@ -13,10 +13,10 @@ worktree: .worktrees/pi-narrative-final-closeout-b-2026-09-23 base_dev_sha: "9d8332ad0892adf147cb31da358ed01ad3e503fa" write_scope: ["internal/app", "internal/sysadmin", ".doc"] allowed_environments: [] -head_sha: "" +head_sha: "c1b60b7af2ae8631ebfe9d6a052d4e82e076abae" mutex: docgov review_state: accepted -integration_state: pending +integration_state: merged_local_dev deployment: not_required cleanup: pending cleanup_owner: "独立维护者" @@ -62,9 +62,9 @@ remote_sync: not_requested ## 收口与交接 -- 剩余:见步骤未勾项。 -- remote_sync=not_requested。 -- cleanup 交独立维护者。 +- review_state=accepted;integration_state=merged_local_dev(`c1b60b7a` 含证据 + MATRIX done);deployment=not_required;remote_sync=not_requested;cleanup=pending(独立维护者)。 +- CURRENT 任务行已登记 done;`## 焦点` 为 protected section,仍写「PI 叙事 flag 不放量」——与「默认 off;放量另授权」同义,未强改 protected 文案。 +- cleanup 交独立维护者:确认 tip 祖先、无进程占用后 `worktree remove`(禁 `--force`)。 ## 相关链接 diff --git a/internal/sysadmin/service_test.go b/internal/sysadmin/service_test.go index ffe8c1d8..775cf531 100644 --- a/internal/sysadmin/service_test.go +++ b/internal/sysadmin/service_test.go @@ -159,6 +159,9 @@ func TestFeatures_CoversCatalogAndInjectedValues(t *testing.T) { t.Fatalf("readiness reasons must not claim missing migration or missing --no-tools: summary=%+v narrative=%+v", byKey["SEMANTIC_SUMMARY_SHADOW"], byKey["PI_CHANGE_REPORT_NARRATIVE"]) } + if !strings.Contains(byKey["PI_CHANGE_REPORT_NARRATIVE"].AdapterReason, "待放量授权") { + t.Fatalf("narrative reason must note retest-complete and awaiting rollout auth: %+v", byKey["PI_CHANGE_REPORT_NARRATIVE"]) + } } func TestFeatures_ConfiguredValueDoesNotImplyReadiness(t *testing.T) {