From aae73ead0e624cbe9c51bb1dff43efc3648a6af4 Mon Sep 17 00:00:00 2001 From: yu qiushi Date: Mon, 31 Aug 2026 18:09:45 +0800 Subject: [PATCH] Close Runtime Architecture Reset Stage C The feature PR is merged and all cleanup receipts now exist. Replace the ready-for-remote state with the exact merge identity, 10-check result, archive refs, archived tasks, and released worktree/branch topology. Constraint: This closeout does not widen the trusted local single-writer cache boundary or authorize tracked-dist and legacy-projection retirement. Rejected: Leave task records pending after merge | durable project truth would contradict protected main. Confidence: high Scope-risk: narrow Reversibility: clean Directive: Start any shared-cache, retirement, or subsequent-stage work under a new explicit scope. Tested: documentation evidence reviewed directly; git diff --check. Not-tested: product code unchanged; no browser, Nightly, Release, local performance, or deployment run. --- .../context.md | 16 ++++++++++++---- .../mapcreator-recovery-gates-20260814/plan.md | 2 +- .../mapcreator-recovery-gates-20260814/task.md | 6 ++++-- 3 files changed, 17 insertions(+), 7 deletions(-) diff --git a/docs/active/mapcreator-recovery-gates-20260814/context.md b/docs/active/mapcreator-recovery-gates-20260814/context.md index 0cf1f689..2f73c704 100644 --- a/docs/active/mapcreator-recovery-gates-20260814/context.md +++ b/docs/active/mapcreator-recovery-gates-20260814/context.md @@ -86,6 +86,7 @@ - Entry identity:Stage C 原始进入身份为 `main@2bd9493f9f93e19689b6865b0822160cd787b171`;共同 baseline amendment 由 PR #115 合并为 `9bf4bc135dd8a23b2226c7dbf6d312a2ffd0ad76`,当前集成分支从该 SHA 开始。 - Stage A 已由 PR #112 以 merge commit `c346eb708e8868396b0ae8c63f8173d1880c9498` 收口;Stage B 已由 PR #113 以 merge commit `46cd2d9bae9564a9ebfe55a951226d23943dde9a` 收口;docs closeout PR #114 的 merge commit 为当前 entry identity。 +- Stage C 已由 PR #116 以 merge commit `df1b14fa3cee45b539e1a8d4f7976ec816c765dc` 收口;10 项最终检查全部通过,本地 `main`、`origin/main` 与 live remote 已核对一致。 - C1 当前事实:`ContentAddressedArtifactCache/v1` 已集成,startup-support 可按完整 content identity admit、lookup、materialize、verify 与 fail-closed restore;session/checkpoint 记录 manifest/tree identity,旧 signature 保留兼容重建路径。 - C2 当前事实:road maturity projection 已集成;workbench preview、main-map overview、apply bridge 与 Pages `transport-workbench` owner 分别由自己的 evidence surface 决定,缺失、类型错误、family mismatch 与冲突均独立 fail closed。 - Retirement truth:`pages-tracked-dist` 虽有历史 3/3 green eligibility,authorization 仍为 withheld,且 exact receipt bytes/identity 不可用;`catalog-projection` 仅 1/10。两者本阶段都必须保留。 @@ -94,9 +95,9 @@ | Lane | Owner | Scope | State | | --- | --- | --- | --- | -| Stage C integration | `/root` | task records、Git/index/refs、PR、worktrees、共享验证 | active;local candidate ready | -| C1 content-addressed artifact | `01a056e9-5666-70c2-b2fe-4146e31ed613` | CAS core、startup-support/session adapter、focused Python tests | completed;candidate `44f34021`,integrated `03fd1267` | -| C2 road maturity projection | `01a056e9-5684-7740-bc5e-f9a5462101c5` | transport capability maturity resolver、focused Node test | completed;candidate `a7bb1811`,integrated `90ce3ac0` | +| Stage C integration | `/root` | task records、Git/index/refs、PR、worktrees、共享验证 | completed;PR #116 / `df1b14fa` | +| C1 content-addressed artifact | `01a056e9-5666-70c2-b2fe-4146e31ed613` | CAS core、startup-support/session adapter、focused Python tests | archived;candidate `44f34021`,integrated `03fd1267` | +| C2 road maturity projection | `01a056e9-5684-7740-bc5e-f9a5462101c5` | transport capability maturity resolver、focused Node test | archived;candidate `a7bb1811`,integrated `90ce3ac0` | | C1 read-only mapper | `/root/stage_c_content_map_v2` | 现有 artifact/cache/session/Pages seam | completed | | C2 read-only mapper | `/root/stage_c_maturity_map_v2` | road vertical-module/maturity/Pages owner seam | completed | @@ -109,7 +110,14 @@ ### Stage C next step -由 `/root` 创建 integration PR,等待 required checks 后合并 protected `main`;随后归档原始候选 refs、归档两个 user-visible tasks,并解除两个隔离 worktree。 +Stage C 无剩余执行项。tracked dist、legacy catalog projection 与可信本地单写者边界继续保留;任何共享 cache、retirement 或下一阶段工作都需要新的显式范围与验收契约。 + +### Stage C closeout receipts + +- PR #116 final head `1be2a19e761471063185cc0465711f0f6035d0ee`;10/10 checks PASS,包括 `PR Verify Required` 与远端 `perf-gate` 14m35s。 +- C1 archive ref:`refs/archive/runtime-architecture-reset/c1-content-addressed-artifact-20260831` → `44f34021284dad8523ee08cf34ec2f4032e71df8`。 +- C2 archive ref:`refs/archive/runtime-architecture-reset/c2-road-maturity-20260831` → `a7bb18118d39ebe03c99c0905b6afd4f111d8628`。 +- C1/C2 user-visible tasks 已归档;`866b`、`60cc` worktree 已解除注册;baseline/integration 本地与远端临时分支已删除。 ### Stage C live process ownership diff --git a/docs/active/mapcreator-recovery-gates-20260814/plan.md b/docs/active/mapcreator-recovery-gates-20260814/plan.md index 1a6ec334..c52d162d 100644 --- a/docs/active/mapcreator-recovery-gates-20260814/plan.md +++ b/docs/active/mapcreator-recovery-gates-20260814/plan.md @@ -127,4 +127,4 @@ - Stage C baseline amendment 已由 PR #115 合并为 `9bf4bc135dd8a23b2226c7dbf6d312a2ffd0ad76`。 - C1、C2、canonical verification route 与 tracked Pages mirror 已按独立 commit 集成;本地 focused、shadow、route schema、architecture 与 Pages 合同全部通过。 -- 当前只剩 protected-main PR required checks、merge SHA 核对、候选 refs 归档与两个隔离 worktree/task 清理;远端 gate 完成前不把 Stage C 标记为最终完成。 +- PR #116 的 10 项最终检查全部通过,并以 `df1b14fa3cee45b539e1a8d4f7976ec816c765dc` 合并到 protected `main`;候选 refs、tasks、worktrees 与临时分支均已按可恢复顺序收口,Stage C 完成。 diff --git a/docs/active/mapcreator-recovery-gates-20260814/task.md b/docs/active/mapcreator-recovery-gates-20260814/task.md index 7df24e2f..58c9b1d4 100644 --- a/docs/active/mapcreator-recovery-gates-20260814/task.md +++ b/docs/active/mapcreator-recovery-gates-20260814/task.md @@ -2,7 +2,7 @@ ## Current status -`RUNTIME_ARCHITECTURE_RESET_STAGE_C_READY_FOR_REMOTE_GATE` — 原 Recovery Gates 的 Gate 0、Gate 1、Gate 2,以及 Runtime Architecture Reset v1 的 Stage A、Stage B 已完成。Stage C 已完成本地内容寻址 artifact cache、transport-road 成熟度投影、验证路由与 tracked Pages 镜像集成;当前候选等待 protected-main PR required checks。原 Gate 3→5 仍是历史路线图,不因本次 Stage C 自动宣称完成。 +`RUNTIME_ARCHITECTURE_RESET_STAGE_C_COMPLETE` — 原 Recovery Gates 的 Gate 0、Gate 1、Gate 2,以及 Runtime Architecture Reset v1 的 Stage A、Stage B、Stage C 已完成。Stage C 的本地内容寻址 artifact cache、transport-road 成熟度投影、验证路由与 tracked Pages 镜像已由 PR #116 合并到 protected `main`。原 Gate 3→5 仍是历史路线图,不因本次 Stage C 自动宣称完成。 ## Checklist @@ -144,8 +144,10 @@ Stage B remaining boundaries: ChangeSet 仍不执行 live apply/undo、不写 hi - [x] 主线程串行审查并集成 C1/C2;C1 功能审查 `ACCEPT`、安全审查 `ACCEPT_WITH_RESIDUAL`,C2 审查 `ACCEPT`。 - [x] canonical verification 新增两条 direct route,并将本地 TNO 哨兵限定为 admit/restore/fatal-rollback;combined edit change-set 在 3-command / 6-leaf 预算内真实执行 20 tests,shadow equality 与 403-route schema 通过;commit `f7f268c6`。 - [x] tracked Pages dist 由单一 owner 重建;913.73 MiB,startup shell 62/62、landing assets 10/10、showcase view 20/20,source/dist 字节一致;commit `0eb6be75`。 -- [ ] 创建 protected-main PR,等待 required checks 全绿后合并并核对本地、`origin/main` 与 live remote exact SHA。 +- [x] [PR #116](https://github.com/raederhans/scenario-forge/pull/116) 的 10 项最终检查全部通过,以 merge commit `df1b14fa3cee45b539e1a8d4f7976ec816c765dc` 收口;本地 `main`、`origin/main` 与 live remote exact SHA 已核对一致。 Stage C boundaries: CAS 仅限仓库本机 `.runtime` / caller-provided local roots,不发布或恢复共享/远端 cache,不修改浏览器 IndexedDB startup cache;maturity projection 不登记 migration ledger。tracked `dist` 继续保留,legacy catalog projection 继续保留;不做额外性能模拟、浏览器、Nightly、Release、部署或任何未经授权的 retirement。 Stage C residual: 缓存根、objects/manifests 与 prefix 的预置 symlink/reparse 已拒绝,但同权限恶意进程若在 `lstat` 与 path-based I/O 之间并发替换路径组件,仍超出当前“可信本地单写者”威胁模型;未来若扩大为共享或不可信缓存,必须先改为 handle-relative no-follow I/O。 + +Stage C closeout: 原始 C1/C2 候选分别保留在 `refs/archive/runtime-architecture-reset/c1-content-addressed-artifact-20260831` 与 `refs/archive/runtime-architecture-reset/c2-road-maturity-20260831`;两个 user-visible tasks 已归档,两个隔离 worktree 已解除注册,Stage C baseline/integration 临时分支已在确认进入 `main` 后删除。