Skip to content

docs(adr): ADR-0067 records the revert doors after #33805 - #34063

Merged
os-zhuang merged 6 commits into
mainfrom
claude/project-thread-jpbomr
Nov 16, 2026
Merged

os-zhuang merged 6 commits into
mainfrom
claude/project-thread-jpbomr

Conversation

@objectstack-fleet

@objectstack-fleet objectstack-fleet Bot commented Nov 15, 2026 •

Copy link
Copy Markdown
Contributor

Requested by Steve · project thread

Fixes #33850

Clause-②: no
Metadata-protocol: none

维护者速读

  • 改了什么:只动 ADR-0067 一个文件,只追加、只加标记。Status 行追加一条 2026-11-15 的 Amended;文末新增一节 2026-11-15 Amendment;在 11-14 那节加了三个 ⚠️ 指针(「What the doors do」开头、「不裁决」第二条、「Recorded by」段后),另在 D3 第一条的旧括注后加一个。
  • 为什么改:11-14 那节记录的是代码在 ba35dfd7 时的样子。PR fix(metadata-protocol): revertCommit answers only what it achieved, and a revert is revertible #33805 和 PR fix(metadata-protocol): revertCommit reports a restored non-object item whose registry write-through faults #33979 合并后,撤销提交(revertCommit)会读五类行写入之后的故障,把条目放进 failed[] 并让 success 为 false;撤销提交记下每行被替换前的版本,所以「撤销这次撤销」能恢复;没有可恢复版本的条目会被点名而不是跳过。ADR 还在说旧行为。
  • 风险与回滚:纯文档,不发布任何包,不改代码和测试。历史文字一字未改(两处被改的行都只是在行尾追加)。回滚即 revert 本 PR。
  • 先看:docs/adr/0067-commit-history-and-rollback-for-ai-authoring.md 文末新节的第一条和第三条(撤销读哪五类故障、哪些结果仍然不进 failed[];第一轮的正文把这里写错了,后两轮改的都是这里);再看「What this replaces in the 2026-11-14 Amendment」清单;最后看 Status 行新增的那一条。
  • 两分钟验证:pnpm check:adr-symbol-anchors && pnpm check:adr-index,预期看到 3632 个锚点全部解析,以及「docs/adr/README.md is current」。
  • 需要你做的:暂无。增量契约评审在 570a7460 上为 PASS(记录 6898997083),但留了一条 should-fix 和一条 nit;处理它们之后的 head e6a8068b 还欠一次增量契约评审,目前没有 PASS 记录指向这个 head。

What changes

One file, docs/adr/0067-commit-history-and-rollback-for-ai-authoring.md, append and mark only (Prime Directive 13). No code, no test, no changeset.

  1. Status line. A new · **Amended** (2026-11-15, #33850 — …) entry is appended after the 2026-11-14 one. The line still opens with Accepted, so the index reading does not move (adr-index --report: README current).
  2. New section at the end, ## Amendment (2026-11-15, #33850). It records what the two revert doors do on main, read off the code at fb79d47c:
    • The five faults the revert reads after an item's row write put the item in failed[] with the row state, and success is false: the registry write-through's answer, any storage advisory, the projector's success: false, the heal's answered stop where a row was removed, and a later throw.
    • Which PR reads which. PR fix(metadata-protocol): revertCommit answers only what it achieved, and a revert is revertible #33805 reads the storage advisory, the projector, the later throw and the registry's refusal of an object. The non-object write-through faults and the heal's answered stop came with PR fix(metadata-protocol): revertCommit reports a restored non-object item whose registry write-through faults #33979.
    • What still does not reach failed[]: registry heal outcomes that answer no stop, on either limb (an open list: among them the registry refusing to unregister a removed object, a package-scoped refusal of the baseline read, a degraded baseline read, a stored object_extension that cannot be registered again, and the heal of a view container's member views, whose answer is not kept), the mutation event, and the stored-expression fill.
    • The revert commit is written from the revert's own plan, not from reverted[].
    • Each plan item records the version the row held before the revert, so reverting a revert restores on both limbs.
    • An item recorded as existing with no version to restore is named in failed[], and nothing is written. Every revert commit recorded before PR fix(metadata-protocol): revertCommit answers only what it achieved, and a revert is revertible #33805 has that shape.
    • The revert commit record is still best effort, and the rollbackToPackageCommit docblock now says so (the [#33486] sentence, quoted).
    • It lists each sentence of the 2026-11-14 Amendment it replaces, and says what still holds.
    • It decides nothing. Whether a revert should be atomic is still open, and so is whether a heal outcome that answers no stop should reach failed[].
  3. Four in-place marks (the old text stays as written):
    • a ⚠️ blockquote at the top of the 2026-11-14 "What the doors do" section;
    • a ⚠️ line under the second bullet of that amendment's "What this amendment does not decide";
    • a ⚠️ blockquote after that amendment's "Recorded by" paragraph;
    • a ⚠️ parenthetical appended to D3's first bullet, whose 2026-11-14 note says "reverting a revert commit restores nothing today".

TL;DR 3's parenthetical and D3's second-bullet parenthetical still hold, so they are not marked.

Review round 1 (record 6898709078, FAIL on 36487820)

  • M-1 (must-fix), fixed. The section said two things still do not reach failed[]. There are three: the heal outcomes that answer no stop were missing. The section now lists the five faults the revert reads, and lists the heal outcomes beside the mutation event and the fill. The section title, the Status entry, the mark on "does not decide" and the first "What this replaces" entry now say "the faults the revert reads". The mark at the top of "What the doors do" says the 2026-11-14 account of the heal (not reported, item in reverted[]) is still true for those outcomes. Each outcome was checked against protocol-registry-hydration.ts#restoreArtifactRegistryView on main.
  • S-1, fixed. The mark at the top of "What the doors do" now quotes the stale sentence, "A fault after an item's row write is not named there, and a skipped item is not named at all."
  • N-1, fixed. The 2026-11-14 "Recorded by" paragraph has its own mark: two of its three points no longer hold, and the first still says more than the code.
  • N-2, fixed. The function-local names and expression fragments are gone. The section describes behaviour in prose and anchors public symbols only (revertCommit, rollbackToPackageCommit, restoreArtifactRegistryView, RegistryHealStop, RegistryWriteThroughRequest).
  • N-3, fixed. The heal's answered stop is attributed to PR fix(metadata-protocol): revertCommit reports a restored non-object item whose registry write-through faults #33979. The storage step is "any advisory" (a refused sync, or column changes that were not applied).
  • N-4, fixed. "What this replaces" no longer retires the whole "An item can also be skipped" bullet. It names the replaced parts and says the parenthetical still holds for a revert commit recorded before PR fix(metadata-protocol): revertCommit answers only what it achieved, and a revert is revertible #33805.
  • O-1 (ADR-0094), not touched. It is outside this file surface, and the seat files it separately.

Review round 2 (record 6898997083, PASS on 570a7460, one should-fix and one nit open)

  • S-2 (should-fix), fixed. The section no longer counts what still does not reach failed[]. The heal outcomes are an open list ("among them") on either limb. Two outcomes are added, each checked on main: for a removed object_extension, a stored extension that cannot be registered again is only logged at warn (protocol-class-head.ts#resyncStoredObjectExtensions); and the member views of a view container are healed by protocol-registry-hydration.ts#reconcileViewExpansions, which does not keep the heal's answer, on the soft-remove limb and, through the write-through of a restored container, on the restore limb.
  • N-5 (nit), fixed. The Status entry says "still not reported" where it said "still only logged", because the degraded read logs nothing. The same change was made to the one sentence in the section that said a stop "stays on the log".
  • Body wording. The 速读 no longer reads as if the review erred, and no longer counts the unread outcomes.

Authoring tier. The ADR text, in all three rounds, was written by an isolated os-dev subagent pinned to the model tier fable (CONTRACT_REVIEW_TIER), because docs/adr/** requires that tier and the card thread is served below it.

Tests

No test changes. A docs-only diff has nothing to ablate. The text cites the existing pin, packages/metadata-protocol/src/protocol.revert-commit-honest-outcome.test.ts, by its describe and it names; that suite was not run locally (the diff touches no package) and runs in CI.

Acceptance notes

Verification

All readings are on head e6a8068b (round 2's fix commit on top of a merge of origin/main at 63db7240). Round 2 handled S-2 and N-5. git diff --name-only origin/main...HEAD lists the ADR file only.

Derived gates: 21 derived, 21 run, 0 NOT-MEASURED, 0 UNRUN
node scripts/check-adr-links.mjs :: exit 0
node scripts/check-adr-links.mjs --self-test :: exit 0
node scripts/check-closing-keyword-parity.mjs :: exit 0
node scripts/check-closing-keyword-parity.mjs --self-test :: exit 0
node scripts/check-comment-mask-corpus.mjs :: exit 0
node scripts/ci/plan-test-core-shards.mjs --self-test :: exit 0
pnpm --filter @objectstack/lint run check:doc-formula-expressions :: exit 0
pnpm check:adr-anchors :: exit 0
pnpm check:adr-index :: exit 0
pnpm check:adr-symbol-anchors :: exit 0
pnpm check:ci-filter-parity :: exit 0
pnpm check:closed-ceremony-text :: exit 0
pnpm check:cross-package-test-inputs :: exit 0
pnpm check:doc-authoring :: exit 0
pnpm check:driver-memory-census :: exit 0
pnpm check:gitlink-declared :: exit 0
pnpm check:nul-bytes :: exit 0
pnpm check:pm-governed-merges :: exit 0
pnpm check:pm-prior-rulings :: exit 0
pnpm check:refd-timer-probe :: exit 0
pnpm check:watch-hint-literal :: exit 0

node scripts/pm/dispatch-gates.mjs --repo objectstack-ai/objectstack --ran FILE (exit 0): "Run reconciliation — 21 derived, 21 run, 0 NOT-MEASURED, 0 UNRUN." and "21 derived famil(ies) accounted for — 21 run, 0 NOT-MEASURED (a DERIVED zero — all 21 recorded an exit code and none of them is 3)."

The one build the list needs, pnpm turbo run build --filter='@objectstack/lint...' --concurrency=2, ran under the verify lock: VERDICT command-exit 0 · held the lock 1s (a cache replay of round 0's 86 s build).

ADR registry, status line and anchors
  • pnpm check:adr-index (exit 0): "adr-index --report: OK — docs/adr/README.md is current, every record parsed, self-test 60 assertions green." The new Status entry needs no README regeneration, so the file surface stays at the one ADR.
  • pnpm check:adr-symbol-anchors (exit 0): "3632 anchors across 156 records resolve — 1057 symbol (1030 declaration, 27 literal), 2523 file-level, 52 cross-repo, 6 exempt, 73 continuation. 0 line anchors survive". On the base tree fb79d47c the same gate read 3622 anchors, 1050 symbol, 2520 file-level, 72 continuation. The difference is this PR's anchors, all resolving.
  • pnpm check:adr-anchors (exit 0). It is in the derived list above.

CI is not awaited here; its check-runs are the authority for every family outside the 21.

… changes

A dated status-line entry, a new 2026-11-15 Amendment section, and in-place
marks on the 2026-11-14 Amendment and on D3's first bullet. Append and mark
only: no historical text is rewritten. The reading is the code on main at
fb79d47.

Claude-Session: https://claude.ai/code/session_01ADHkmSFzVdDvrh768eFPoV
Co-authored-by: Claude <noreply@anthropic.com>
@objectstack-fleet objectstack-fleet Bot added the skip-changeset PR has no user-facing published change; bypasses the changeset gate label Nov 15, 2026
@github-actions github-actions Bot added size/m documentation Improvements or additions to documentation labels Nov 15, 2026
@objectstack-fleet

Copy link
Copy Markdown
Contributor Author

domain:skills#2 · os-steve · session_01ADHkmRxXmVQ41fqnaTPGAv

Contract review

Served-tier: CONTRACT_REVIEW_TIER
Head-sha: 364878209e92b24d76c3246371437f76c52d1b36
Local-runs: none
Scope: docs/adr/0067-commit-history-and-rollback-for-ai-authoring.md + none

PR #34063 for card #33850. Inputs: the card body and its three comments (6895981114, 6898265358, 6898503897), the PR body, the file list, the net diff against main e71ecc1b, and the check-runs on this head. Code read on main to judge, not reviewed: packages/metadata-protocol/src/protocol-package-commits.ts (revertCommit, rollbackToPackageCommit), protocol-registry-hydration.ts (applyRegistryWriteThrough, restoreArtifactRegistryView, ensureObjectStorage), protocol-package-commit-record.ts (recordPackageCommit), protocol.ts (the two door docblocks), and the describe and it names of protocol.revert-commit-honest-outcome.test.ts. PR #33805 and PR #33979 were read for what each changed.

① Derived judgments

Each fact the amendment adds, against main:

  1. prevVersion is the row's real active version, read before the write; existedBefore is set. Holds. replacedVersion reads findEnvironmentRow('sys_metadata', { where: { type, name, state: 'active', package_id: commitPackageId, … } }). Both limbs await it before the write: const removedVersion = current ? await replacedVersion() : null ahead of repo.delete, and const restoreReplaces = current ? await replacedVersion() : null ahead of repo.restoreVersion. The plan items are existedBefore: current !== null, prevVersion: removedVersion and existedBefore: current !== null, prevVersion: restoreReplaces.
  2. A revert of a revert restores on both limbs. Holds. An item the revert restored is recorded with the version it replaced, so the second revert takes the restore limb to that version. An item the revert removed is recorded existedBefore true with its version, so the second revert takes the restore limb and writes the row again. An item the revert wrote again over a deleted row is recorded existedBefore false and is soft-removed. Pinned by the two [#33564] cases.
  3. A legacy existedBefore item with no prevVersion is named in failed[], nothing written. Holds. if (it.existedBefore && restoreToVersion === null) { failed.push({ … }); continue; } runs before getOverlayRepo and the first repo.get. The entry has no code.
  4. A post-write fault puts the item in failed[] with the row state named, and success is false. Holds for the four faults the card names. rowWritten is set to "its row was removed from sys_metadata" or "its row was restored to the body of version N". The registry answer, the storage advisory and the projector's success: false each push to notApplied, and settle files "an item with any notApplied step" into failed[]. A later throw reaches the catch, which prefixes the row state when rowWritten is set. success needs an empty failed[]. ⚠️ The amendment's own count of what still does not reach failed[] does not hold: see M-1.
  5. The revert commit is built from the rows actually changed. Holds: items: revertPlan, pushed right after each row write. A soft-remove that found no row is pushed too (existedBefore false, no version), as the section says.
  6. rollbackToPackageCommit's revert commit is best effort. Holds. recordPackageCommit catches every error and returns null; revertCommit then omits revertCommitId. The quoted [#33486] docblock sentence matches main word for word.
  7. Attribution to PR fix(metadata-protocol): revertCommit reports a restored non-object item whose registry write-through faults #33979, not PR fix(metadata-protocol): revertCommit answers only what it achieved, and a revert is revertible #33805. Right. PR fix(metadata-protocol): revertCommit reports a restored non-object item whose registry write-through faults #33979's diff adds answerFaults: true at the restore limb's call, the two if (request.answerFaults === true) return { error: err } returns, the heal's returned stop and if (healStop && current). PR fix(metadata-protocol): revertCommit answers only what it achieved, and a revert is revertible #33805's own body says those branches "catch their own faults and only log them". The card was written at 12:12Z, before PR fix(metadata-protocol): revertCommit reports a restored non-object item whose registry write-through faults #33979 opened.
  8. The three ⚠️ marks. All three sit on text that is now false: the top of the 2026-11-14 "What the doors do", the second "does not decide" bullet (atomicity is left open, correctly), and D3's first bullet. "Only there" fails twice (M-1, S-1), and one stale place has no mark (N-1).
  9. Nothing quoted has moved. git diff fb79d47c e71ecc1b -- packages/metadata-protocol/src/ is empty. Every code quote, every quoted 2026-11-14 sentence and every cited test name was found on main. 568f214a is PR fix(metadata-protocol): revertCommit answers only what it achieved, and a revert is revertible #33805 and 0bbb211f is PR fix(metadata-protocol): revertCommit reports a restored non-object item whose registry write-through faults #33979, both merged 2026-11-15.

Findings:

  • M-1 · must-fix · the count of what still does not reach failed[] is false, and three places generalise from it. The new section says: "Two things that follow a row write still do not reach failed[]: the mutation event … and the stored-expression fill". There is a third class, on the soft-remove limb: a heal outcome that answers no stop. In the first and third below the registry keeps serving the removed row. In protocol-registry-hydration.ts#restoreArtifactRegistryView on main:

    • the registry refusing unregisterObject for a removed object is caught and only logged, at both sites: console.warn("[Protocol] object '…' was deleted from sys_metadata but stays registered: …"), followed by return; on the still-stored-row limb and by the fall-through to return undefined on tier 3;
    • a refused baseline read is logged at error as a stop (console.error(registryHealStoppedMessage(…))), the entry retired or not, and then return;
    • if (baseline.degraded) return; keeps the stale entry.

    The heal's own docblock says so: "otherwise undefined, a designed outcome included (a refused baseline read that retires the entry, a degraded read that keeps it)". With no healStop, revertCommit pushes nothing to notApplied, settle('removed') files the item in reverted[], and success can be true. PR fix(metadata-protocol): revertCommit reports a restored non-object item whose registry write-through faults #33979's body names the first case: "Out of scope, left as it is … still a warn line that answers no stop".

    What this makes wrong in the diff: (a) the count "Two things"; (b) the first entry of "What this replaces" and mark 1 ("a fault after an item's row write (now named in failed[], and success is false)") retire the 2026-11-14 sentences "the registry heal … catch their own faults and log them, and their results are not read … Such an item is still reported in reverted[], and success does not see the fault", which are still the true account of these outcomes; (c) the section title, the new Status entry and mark 2 say a fault after an item's row write is named in, or reaches, failed[] with no limit.

    Fix, text only, same file: name the faults the revert reads (the write-through's answer, the storage advisory, the projector's success: false, the heal's answered stop where a row was removed, a later throw), list the heal outcomes above beside the mutation event and the fill as what still does not reach failed[], and narrow (b) and (c) to "the faults the revert reads".

  • S-1 · should-fix · mark 1 points at the wrong sentence. "The last sentence of the closing paragraph goes with them." In the file the closing paragraph is one block, and its last sentence is "That is the half-land shape D2 exists to prevent on publish, here on the revert side — reported, not prevented." That sentence still holds, and the new section says so ("the half-land is reported, not prevented"). The stale sentence is the one before it, "A fault after an item's row write is not named there, and a skipped item is not named at all.", which "What this replaces" quotes correctly. Quote it in the mark.

  • N-1 · nit · one stale place has no mark. The 2026-11-14 "Recorded by" paragraph lists three places where the docblocks say more than the code. Two of the three are stale (the revertible claim now matches the code; the rollback docblock now reads "attempts its own revert commit"). Mark 1 covers "This section" only, and that paragraph is in the next one. The list at the end names it, and the dev declares the gap as a deviation.

  • N-2 · nit · proportion. See ④.

  • N-3 · nit · two loose words. Bullet 1 is tagged "(PR fix(metadata-protocol): revertCommit answers only what it achieved, and a revert is revertible #33805)" but lists "the registry heal answering a stop", which is PR fix(metadata-protocol): revertCommit reports a restored non-object item whose registry write-through faults #33979's; bullet 2 corrects it. "The storage sync being refused" is narrower than the code: ensureObjectStorage also answers an advisory when column changes were not applied, and any advisory it answers fails the item.

  • N-4 · nit. "What this replaces" retires the bullet "An item can also be skipped", whole, while the new section relies on that bullet's parenthetical ("as that bullet says").

② Semver level

None. One file under docs/adr/; no package, export, published schema or changeset moves. The skip-changeset label is on the PR and Check Changeset concluded success. Clause-②: no is right: no published accepted set changes. Metadata-protocol: none is right: no wire shape changes.

③ Boundary flags

  • Authoring tier. The claim (6898265358) declares, before authoring, that the thread is served below the tier and that an os-dev subagent pinned to CONTRACT_REVIEW_TIER writes the text; the PR body and the report repeat it. Nothing in the tree can show a tier, and both commits carry the thread's session trailer. Declared, not verifiable from these inputs; the tier evidence is the seat's to hold. This review ran outside the drafting session.
  • The main merge. The head is a merge of 68e0d387 (the amendment) with main e71ecc1b, which is also the merge base. The net diff is the one ADR file, +171/−2. The ADR blob at the head equals the one at 68e0d387. The five main commits since fb79d47c touch neither ADR-0067, docs/adr/README.md nor packages/metadata-protocol/src/.
  • Append and mark only. Holds. Both removed lines (the Status line, D3's first bullet) are exact prefixes of their replacements, checked byte for byte. The other three hunks are pure insertions (11, 4 and 154 lines).
  • Status line and index. The line still opens **Status**: Accepted (2026-06-24; completed 2026-07-16). The README row truncates the status before the first amendment's end, so the index does not move and docs/adr/README.md is not in the diff. The lint workflow carries check:adr-index and check:adr-symbol-anchors; its eight Lint · jobs concluded success on this head.
  • The out-of-scope observation. Harmless, with one correction to the dev's wording. The comment above revertPlan ("one item per row the walk changed") is inexact: a no-row soft-remove is pushed too. Reverting such an item removes nothing only while no row of that name exists; a row created since would be soft-removed. That is the door's standing behaviour for any existedBefore false item, and it predates PR fix(metadata-protocol): revertCommit answers only what it achieved, and a revert is revertible #33805 (the plan then came from reverted[], which lists a no-row item as removed too). The ADR sentence states the code correctly. No carrier is needed.
  • Governed surface. docs/adr/** is Tier H: the PR is a draft, and it lands by the maintainer's hand. The PR body's 速读 line asks for approval while the card carries no PASS record for this head (the PR's comment thread was not among the inputs); with this verdict the seat's final 速读 reads "contract review owed" and requests nothing.
  • Author. objectstack-fleet[bot], through the relay.
  • SQL push-down. The diff holds no code; nothing to read.
  • Check-runs on this head (49). 25 success, among them Lint & Repo Gates, TypeScript Type Check, all eight Lint · jobs, all four Type Check · jobs, Test Core (1/8), Governed Surface Queue Guard, Check Changeset, Check Documentation Links, Check PR Size and PR-body guards. 23 skipped (UI, docs build, opt-in harnesses, queue verdicts). None failed. Still running: Test Core (the aggregate job).

④ Design judgment

  • True? Yes, except M-1. Every other sentence checked against main holds, and the three card facts are stated correctly.
  • Clear? Yes. The section keeps the shape of the 2026-11-12 and 2026-11-14 amendments, and "What this replaces" names each retired sentence by quotation. S-1 is the one pointer that misleads.
  • Proportionate? (N-2) The new section is 151 lines; the amendment it corrects is 89. It is not padded: nothing in it is off the subject. It does restate code. It quotes function-local names (rowWritten, notApplied, settle, replacedVersion, restoreToVersion, healStop, current, failureText) and expression fragments, where the 2026-11-14 amendment used public names only. No gate resolves a local, so the next refactor of revertCommit makes those lines stale without a signal, which is the failure this card repairs. The "reading at fb79d47c" sentence limits the harm. Behaviour in prose plus the symbol anchors would carry the same record in fewer lines.
  • Consistent with the rest of ADR-0067? Yes. D3 is unchanged. The atomicity reading of 2026-11-14 stands and is left open. TL;DR 3's parenthetical and D3's second one still hold and are rightly unmarked. The first consumers, the two revert doors, keep their response shape; nothing in the execution plan moves.
  • Consistent with other ADRs that describe revert? (O-1, outside this diff; a nit against it) ADR-0094's 2026-09-04 amendment says of rollbackMetaItem and both revertCommit limbs: "there the projector is called and awaited, and a failure is logged without reaching the caller". Since PR fix(metadata-protocol): revertCommit answers only what it achieved, and a revert is revertible #33805 both revertCommit limbs read it: if (projection && !projection.success) notApplied.push(REVERT_PROJECTION_NOT_APPLIED). This diff states the code; the stale sentence is ADR-0094's, outside the claimed file surface. It is owed a card of its own, the same class as ADR-0067 status line: the 2026-11-14 "What the doors do" amendment still describes revert before PR #33805 #33850.
  • Quoted from a tree that has moved? No. See ① 9.

One must-fix (M-1), one should-fix (S-1), four nits (N-1 to N-4), one observation outside the diff (O-1). No security item.

Implemented-by: claude/project-thread-jpbomr
Reviewed-by: session_01ADHkmRxXmVQ41fqnaTPGAv

VERDICT: FAIL

…l does not

Review round 1. The 2026-11-15 Amendment now lists the five faults the revert
reads after an item's row write, and the heal outcomes that answer no stop
beside the mutation event and the fill as what still does not reach failed[].
The title, the Status entry and the in-place marks are narrowed to match, the
2026-11-14 "Recorded by" paragraph is marked, and function-local names are
replaced by prose and public-symbol anchors. Append and mark only.

Claude-Session: https://claude.ai/code/session_01ADHkmSFzVdDvrh768eFPoV
Co-authored-by: Claude <noreply@anthropic.com>
@objectstack-fleet

Copy link
Copy Markdown
Contributor Author

domain:skills#2 · os-steve · session_01ADHkmRxXmVQ41fqnaTPGAv

Contract review

Served-tier: CONTRACT_REVIEW_TIER
Head-sha: 570a746039c381f3e1db7ee5479bb37b9cab2b04
Local-runs: none
Scope: docs/adr/0067-commit-history-and-rollback-for-ai-authoring.md + none

Delta record for PR #34063 (card #33850) after record 6898709078, which was a FAIL on 36487820. That record stands for everything this one does not name. Inputs: the rewritten PR body, the fix commit 570a7460, the net diff against main d3bea96d, and the check-runs on this head. Code read on main to judge, not reviewed: the files of the first record, plus packages/metadata-protocol/src/protocol-class-head.ts and protocol-metadata-service-read.ts.

① Derived judgments

The first record's findings:

  • M-1: closed. Every part named is fixed.
    • The section now lists the five faults the revert reads: the write-through's answer, any storage advisory, the projector's success: false, the heal's answered stop where a row was removed, a later throw. That is the whole set on main: the three pushes to the not-applied list on the restore limb, the two on the soft-remove limb (both inside the row-was-removed guard), and the catch.
    • The heal outcomes that answer no stop are listed beside the mutation event and the fill, and each of the three holds in restoreArtifactRegistryView.
    • The title, the Status entry, mark 2 and the first "What this replaces" entry now say "the faults the revert reads".
    • Mark 1 keeps the 2026-11-14 account: "Still true: on the soft-remove limb, a registry heal outcome that answers no stop is not reported, and the item is in reverted[]."
    • One residue of the same kind remains in the new text. It is smaller and is graded on its own as S-2.
  • S-1: closed. Mark 1 quotes the stale sentence, and the list adds "The paragraph's last sentence stands."
  • N-1: closed. The 2026-11-14 "Recorded by" paragraph has its own mark, and the mark is true: two of the three docblock points no longer exceed the code, and the first still does "for the outcomes the revert does not read".
  • N-2: closed. No function-local name is left in the added text. The backticked names are public: response and plan keys, answerFaults on the exported RegistryWriteThroughRequest, and five symbol anchors, each found on main. The section is now 169 lines; the growth is the content M-1 asked for.
  • N-3: closed. "Which PR reads which" gives the heal's answered stop and the non-object write-through faults to PR fix(metadata-protocol): revertCommit reports a restored non-object item whose registry write-through faults #33979. The storage step reads "any advisory (a refused sync, or column changes that were not applied)", which is what ensureObjectStorage answers.
  • N-4: closed. The entry names the replaced parts of the "skipped" bullet and keeps its parenthetical for a revert commit recorded before PR fix(metadata-protocol): revertCommit answers only what it achieved, and a revert is revertible #33805.
  • O-1: stands, outside this diff. ADR-0094 is untouched, as it should be on this file surface. The card is the seat's to file.

New and changed sentences, against main:

  1. Every quotation was found: the two row-state strings, the [#33486] docblock sentence, the six pin names, and the 2026-11-14 sentences the list quotes, among them "it appears in neither reverted[] nor failed[]".
  2. The cited code has not moved. The blobs of protocol-package-commits.ts, protocol-registry-hydration.ts, protocol.ts, protocol-package-commit-record.ts, protocol-class-head.ts and the pin file are identical at fb79d47c, e71ecc1b and d3bea96d.
  3. "The stored-expression fill … reports on advisories only" holds: the fill catches its own failure and returns notices.
  4. The new "does not decide" bullet (whether a heal outcome that answers no stop should reach failed[]) decides nothing and follows the 2026-11-14 form.

New findings:

  • S-2 · should-fix · "Three things", and "on the soft-remove limb", understate. The section says: "What still does not reach failed[] after a row write. Three things.", the first being "Heal outcomes that answer no stop, on the soft-remove limb." Two more outcomes exist on main, and one of them is on the restore limb:

    • A view container's member views. reconcileViewExpansions heals each name the row no longer expands to with await this.restoreArtifactRegistryView(type, name, organizationId, null); and does not keep the answer. So a stop that the inner heal answers is dropped. The heal itself calls it (await host.reconcileViewExpansions(type, { container: name, removed: 'every-row' }, organizationId)). The write-through of a restored view container calls it too, through hydrateOverlayIntoRegistry and hydrateExpandedViewItems. On that path the write-through answers nothing and the item is in reverted[].
    • A removed object_extension. resyncStoredObjectExtensions catches a stored extension it cannot register again and only logs it: console.warn("[Protocol] object extension '…' of package '…' could not be re-registered: …"). The heal then returns with no stop.

    Nothing else leans on the count. No true sentence is retired, and the replaced-sentences entry is scoped to "the faults the revert reads", which stays right. That is why this is not a must-fix. My first record listed three heal outcomes and the dev fixed exactly those; the gap is in that list. Fix, text only: drop the count and make the heal list open ("among them"), on either limb, or add these two.

  • N-5 · nit · "only logged" in the Status entry. "A heal outcome that answers no stop is still only logged." Two of the three named outcomes are logged. The degraded baseline read is not logged by the heal: if (baseline.degraded) return; has no log line, and the read helpers add none. The section itself claims no log for it. "Still not reported" is exact.

② Semver level

None, as before. One file under docs/adr/; no package, export, published schema or changeset moves. Clause-②: no and Metadata-protocol: none are right. Both Check Changeset runs on this head are skipped, which is the job's skip-changeset label exemption.

③ Boundary flags

  • The merge brought nothing into the ADR. 1ac2dab9 merges the old head 36487820 with main d3bea96d. The ADR blob at the merge equals the old head's, and the merge differs from main in that one file only. The two main commits it brings (fix(scenarios): keep a working-day card's dates on working days on every run date #33999, fix(metadata-protocol): land the sys_metadata ACTIVE overlay index on PostgreSQL #34032) touch nothing under docs/adr/. fix(metadata-protocol): land the sys_metadata ACTIVE overlay index on PostgreSQL #34032 changes protocol-overlay-index.ts and migrations/overlay-index.ts, which the section does not cite.
  • The fix commit. One file, +113/−84 against the merge. d3bea96d is the merge base, so the net diff is that file, +200/−2.
  • Append and mark only. Holds against main. The two removed lines are still exact prefixes of their replacements (the Status line, 1743 to 2446 characters; D3's first bullet, 514 to 756). The other three hunks are pure insertions of 14, 5 and 179 lines.
  • Status line and index. The line still opens **Status**: Accepted (2026-06-24; completed 2026-07-16). docs/adr/README.md is the same blob at the head and on main.
  • 速读 asks for nothing. "需要你做的:暂无", and it says no PASS names this head. Two body notes, neither graded against the tree: "这是第一轮评审判错的地方" can be read as "where the first review erred", and "哪三类" repeats the count of S-2.
  • Authoring tier. Declared again for both rounds; still not verifiable from these inputs.
  • Author. objectstack-fleet[bot], through the relay. SQL push-down: the diff holds no code.
  • Check-runs on this head (48): all final. 26 success: Lint & Repo Gates, TypeScript Type Check, the eight Lint · jobs, the four Type Check · jobs, Test Core, Test Core (1/8), Plan Test Core shards, Test UI, Dogfood Regression Gate, filter, Governed Surface Queue Guard, Check Documentation Links, Check PR Size, Auto Label, and both PR-body guards runs. 22 skipped (UI, docs build, opt-in harnesses, queue verdicts, the body-edit re-runs, Check Changeset). None failed. None running.

④ Design judgment

  • True? Yes, except the count in S-2. The five read faults are the complete set, the attribution is right, and the 2026-11-14 account is kept where it still holds.
  • Clear? Yes. The read faults, the PR that reads each and what is still unread are three separate bullets, and the four marks point at the right text.
  • Proportionate? The section restates no code now. It is long for an XS card (169 lines), but each bullet carries a fact the record needs.
  • Consistent? With the rest of ADR-0067, yes: D3, TL;DR 3 and the atomicity reading are untouched. With ADR-0094, see O-1.

No must-fix. One should-fix (S-2) and one nit (N-5) are open. With a should-fix open, this record does not yet clear the head for an approval request.

Implemented-by: claude/project-thread-jpbomr
Reviewed-by: session_01ADHkmRxXmVQ41fqnaTPGAv

VERDICT: PASS

Review round 2. The 2026-11-15 Amendment no longer counts what still does not
reach failed[]: the heal outcomes are an open list on either limb, with the
object_extension re-registration and a view container's member views added.
The Status entry says "not reported" where it said "only logged". Append and
mark only.

Claude-Session: https://claude.ai/code/session_01ADHkmSFzVdDvrh768eFPoV
Co-authored-by: Claude <noreply@anthropic.com>
@objectstack-fleet

Copy link
Copy Markdown
Contributor Author

domain:skills#2 · os-steve · session_01ADHkmRxXmVQ41fqnaTPGAv

Contract review

Served-tier: CONTRACT_REVIEW_TIER
Head-sha: e6a8068bafdbfdf98e11bbc05f672575fbc85692
Local-runs: none
Scope: docs/adr/0067-commit-history-and-rollback-for-ai-authoring.md + none

Second delta record for PR #34063 (card #33850). It follows record 6898709078 (FAIL on 36487820) and my delta record on 570a7460 (PASS, with S-2 and N-5 open; the PR body gives its id as 6898997083). Those two stand for everything this one does not name. Inputs: the patched PR body, the fix commit e6a8068b, the net diff against main 63db7240, and the check-runs on this head. Code read on main to judge, not reviewed: protocol-registry-hydration.ts, protocol-class-head.ts and protocol-package-commits.ts under packages/metadata-protocol/src/.

① Derived judgments

The findings the last record left open:

  • S-2: closed. Each part of the claim holds on main.
    • The count is gone. The bullet opens "What still does not reach failed[] after a row write." with no number. The one "Three things" left in the file is line 41 of the original Context ("Three things are missing, and only three"), which is main's text on another subject.
    • The heal list is open, on either limb: "Registry heal outcomes that answer no stop, on either limb. Among them, on the soft-remove limb: …".
    • The removed object_extension. For that type the heal calls resyncStoredObjectExtensions and returns with no stop. Inside it, a stored row that cannot be registered again is caught and logged with console.warn. The sentence says exactly that.
    • The member views. reconcileViewExpansions heals each old name the new set lacks with await this.restoreArtifactRegistryView(type, name, organizationId, null); and keeps no answer. The heal of a removed container calls it ahead of its own walk. The write-through of a restored container reaches it through hydrateOverlayIntoRegistry and hydrateExpandedViewItems. Both sentences hold.
    • Both new anchors name a declaration that exists on main: a static method of that name in the named file.
    • The summary sentence is widened to match: "the registry may keep serving what the revert moved away from", where it said "the removed row". That covers the restore limb's case.
  • N-5: closed. The Status entry reads "is still not reported". The section reads "With no row removed, a stop the heal does answer is not reported either." Both hold: the revert reads the heal's stop only where a row was removed. No "only logged" and no "stays on the log" is left in the file.
  • Mark 1, left as is: holds, no finding. "Still true: on the soft-remove limb, a registry heal outcome that answers no stop is not reported, and the item is in reverted[]." That is true, and the soft-remove limb is where the 2026-11-14 text names the heal. The mark does not say the restore limb has no such outcome: what it retires is scoped to "the faults the revert reads", and it points to the new section, which says "on either limb".
  • M-1, S-1, N-1 to N-4: stay closed. The fix commit touches none of that text.
  • O-1: stands, outside this diff. ADR-0094 is untouched.

New and changed sentences, against main:

  1. Against the last head the change is three regions: one clause of the Status entry, the heal sub-bullet with its heading line (8 lines became 16), and the end of the summary sentence. Each is judged above.
  2. The cited code has not moved. protocol-package-commits.ts, protocol-registry-hydration.ts, protocol-class-head.ts, protocol.ts, protocol-package-commit-record.ts, protocol-stored-expression-fill.ts, protocol-metadata-service-read.ts and the pin file are the same blobs at d3bea96d and 63db7240.
  3. I read the steps that follow the row write on both limbs again, for a class the three sub-bullets would miss. I found none. The write-through's object branch answers every fault it catches. The steps whose result is not read are the mutation event and the fill, as listed. The best-effort commit record has its own bullet.
  4. "The heal's docblock calls the last two designed outcomes" still points at the right two. It sits directly after the refused and the degraded baseline read, ahead of the two added outcomes.

New findings: none.

② Semver level

None, as before. One file under docs/adr/; no package, export, published schema or changeset moves. Clause-②: no and Metadata-protocol: none are right. Both Check Changeset runs on this head are skipped, which is the job's skip-changeset label exemption.

③ Boundary flags

  • The merge authored nothing. 8df43c59 merges the old head 570a7460 with main 63db7240. Its ADR blob equals the old head's. Outside that file its tree equals main's tree. The three main commits it brings (fix(pm): dequeue read-back pins and jsdocs; a carried approval refused on a seat signature on any line #34037, docs(pm-skill): area-lease — the 2026-11-15 maintainer rules #33938, fix(scenarios): read a go-ahead request as pending_confirmation, and give add_line's ask one reading #34039) touch nothing under docs/adr/; they change packages/qa/scenarios, scripts/pm, .claude/skills, docs/qa and one changeset.
  • The fix commit. One file, +19/−10 against the merge. 63db7240 is the merge base, so the net diff is that file, +209/−2.
  • Append and mark only. Holds against main. The two removed lines are still exact prefixes of their replacements (the Status line, 1743 to 2447 characters; D3's first bullet, 514 to 756). The other three hunks are pure insertions of 14, 5 and 188 lines.
  • Status line and index. The line still opens **Status**: Accepted (2026-06-24; completed 2026-07-16). docs/adr/README.md is the same blob at the head and on main.
  • Anchors and index in CI. I did not run the thread's gates. On this head CI ran pnpm check:adr-symbol-anchors in Lint · docs & code guards and pnpm check:adr-index in Lint · repo & tooling gates. Both jobs are green, and each ends in a verdict step over its own steps.
  • 速读 asks for nothing. "需要你做的:暂无", and it says a delta review is owed on e6a8068b and no PASS names this head. The 先看 line no longer reads as if the review erred, and the body no longer counts the unread outcomes. Verification names e6a8068b. Not checked by me: the id the body gives for the last record. The PR thread is not among my inputs.
  • Authoring tier. Declared for all three rounds; still not verifiable from these inputs.
  • Author. objectstack-fleet[bot], through the relay. The fix commit's session trailer names session_01ADHkmSFzVdDvrh768eFPoV, which is not the reviewing session. SQL push-down: the diff holds no code.
  • Check-runs on this head (48): all final. 26 success: Lint & Repo Gates, TypeScript Type Check, the eight Lint · jobs, the four Type Check · jobs, Test Core, Test Core (1/8), Plan Test Core shards, Test UI, Dogfood Regression Gate, filter, Governed Surface Queue Guard, Check Documentation Links, Check PR Size, Auto Label, and both PR-body guards runs. 22 skipped (the UI lanes, Build Core, Build Docs, the dogfood and conformance jobs gated off for this diff, the opt-in harnesses, the queue and schedule gates, the body-edit re-runs, Check Changeset). None failed. None running. Test Core was the last to finish, at 18:31:25Z.

④ Design judgment

  • True? Yes. Nothing in the added text is contradicted by main, and no sentence leans on a closed count of heal outcomes any more.
  • Clear? Yes. The heal sub-bullet is long now (15 lines), but it reads in order: the soft-remove limb's outcomes, then the one on either limb.
  • Proportionate? The round added 9 lines for two outcomes and the open wording. The section is 178 lines.
  • Consistent? The Status entry, the marks that mention them, the section and its "does not decide" bullet now say the same thing about heal outcomes. With the rest of ADR-0067, as before. With ADR-0094, see O-1.

No must-fix, no should-fix.

Implemented-by: claude/project-thread-jpbomr
Reviewed-by: session_01ADHkmRxXmVQ41fqnaTPGAv

VERDICT: PASS

@objectstack-fleet

Copy link
Copy Markdown
Contributor Author

domain:skills#2 · os-steve · session_01ADHkmRxXmVQ41fqnaTPGAv

维护者速读

  • 改了什么:只改 ADR-0067 一个文件(+209/−2,只追加和加注)。状态行加一条 2026-11-15 修订,文末新增一节,记下 PR fix(metadata-protocol): revertCommit answers only what it achieved, and a revert is revertible #33805 和 PR fix(metadata-protocol): revertCommit reports a restored non-object item whose registry write-through faults #33979 之后撤销提交(revert)的真实行为:撤销项记录写前真实的 prevVersion 和 existedBefore,所以撤销的撤销在两条路径上都能还原;旧撤销提交里缺 prevVersion 的项进 failed[] 且不写;撤销读到的五类故障(注册表回写、存储告警、投影器 success: false、删行后注册表修复答的停止、之后的抛错)让该项进 failed[]、success 为 false;rollbackToPackageCommit 的撤销提交是尽力而为。还写明哪些结果仍不报(变更事件、存储表达式回填、注册表修复里不答停止的几种结果)。2026-11-14 那段里已不成立的句子加了 ⚠️ 原地指向。
  • 为什么改:2026-11-14 的修订说写行之后的故障不会报给调用方,PR fix(metadata-protocol): revertCommit answers only what it achieved, and a revert is revertible #33805 之后已不对;不改的话后来的评审可能照旧文把代码「修」回去。
  • 风险与回滚:纯文档,无代码、无 changeset;状态行开头与 README 索引不变。回滚 = revert。
  • 先看:文末新增的 2026-11-15 一节,尤其「What still does not reach failed[] after a row write」一条;再看四处 ⚠️ 注。
  • 两分钟验证:在 main 上看 packages/metadata-protocol/src/protocol-package-commits.ts 的 revertCommit:两条路径都在写前读 prevVersion,notApplied 非空的项进 failed[]。
  • 需要你做的:受管面 Tier H(docs/adr/**)。达档(CONTRACT_REVIEW_TIER)复审三轮:首轮 6898709078 FAIL(M-1、S-1),delta 6898997083 PASS(余 S-2、N-5),第二次 delta 6899250735 在本 head PASS,全部关闭。请批准并合并,或批准后由席位落地。
  • 席位意见:可以合。

席位核对

Verdict: ACCEPT, held for the maintainer · head e6a8068bafdbfdf98e11bbc05f672575fbc85692 · card #33850 · report 6898503897 · at-tier contract review 6898709078 (FAIL on 36487820: M-1, S-1, N-1–N-4) → delta 6898997083 (PASS on 570a7460, S-2 and N-5 open) → delta 6899250735 (PASS on this head, no finding open) · read 2026-11-15T18:34Z.

@objectstack-fleet objectstack-fleet Bot added the pm:awaiting-merge PR only: landing waits on the maintainer's own review and merge (SKILL.md 复核 ②); never on an issue label Nov 15, 2026
@os-zhuang
os-zhuang marked this pull request as ready for review November 16, 2026 01:12
scbdzhwl pushed a commit to scbdzhwl/objectstack-analysis that referenced this pull request Nov 16, 2026
…es the caller (objectstack-ai#34138)

<!-- claude-projects-attribution: {"github_login":"os-steve"} -->
_Requested by **Steve** · [project
thread](https://claude.ai/code/project/chan_01FdL1XeUyvVNxLreh3F4Qi9?thread=cmsg_01FdL1XeUyvVNxLreh3F4Qi9Dnx7PUeFruJdBHdG9Tmzjt)_

Fixes objectstack-ai#34077

Clause-②: no
Metadata-protocol: none

## 维护者速读

- 改了什么:只在 ADR-0094 里加注记,不改代码。状态行加一条 2026-11-15 修订;9 月 4
日修订里那句「投影器失败只记日志、不报给调用方」后面、该修订表格正下方、D2 下同一说法的 9 月 4 日注记里,各加一个 ⚠️
指针。原文一个字不改。
- 为什么改:PR objectstack-ai#33805 之后,撤销一次提交(`revertCommit`)时投影器失败,该条目会进 `failed[]`,整体回
`success: false`,调用方能看到;ADR
还写着「不报给调用方」,读者会被误导。按版本回滚(`rollbackMetaItem`)没变,仍然只记日志,原句对它照旧成立。
- 风险与回滚:纯文档、只增不删,不影响任何运行行为。回滚即 revert 本 PR 一个提交。
- 先看:`docs/adr/0094-sys-permission-set-pure-projection.md` 的四处新增:第 3
行状态行末尾、第 130–135 行(D2 注记内)、第 575–580 行(修订表格正下方)、第 599–609 行(9 月 4 日修订的
`projectionApplied` 一条下)。
- 两分钟验证:`git diff --word-diff origin/main...HEAD --
docs/adr/0094-sys-permission-set-pure-projection.md`,预期只有 `{+…+}` 新增,没有
`[-…-]` 删除。
- 需要你做的:请批准并合并,或批准后由席位落地。

## What changes

ADR-0094's 2026-09-04 amendment says, verbatim: "`rollbackMetaItem` and
both `revertCommit` limbs declare no such key on their response types
and objectstack-ai#14982 deliberately added none: there the projector is called and
awaited, and a failure is logged without reaching the caller."

Premise, read on `main` (`385ea1cc`),
`packages/metadata-protocol/src/protocol-package-commits.ts`:

- `revertCommit`, soft-remove limb and restore limb: each reads the
projector's answer, and a `success: false` marks the item's step as not
applied; an item with any such step settles into `failed[]` (row state
named, the projector's own error text left on the log line) instead of
`reverted[]`, and the revert answers `success: false`. Landed by PR
objectstack-ai#33805 (`568f214a6c`), the sibling fix of PR objectstack-ai#34063. Pinned by
`protocol.revert-commit-honest-outcome.test.ts` ("the projector failing
on the restore limb…", "…on the soft-remove limb…").
- `rollbackMetaItem`: still `await host.runMutationProjector({...})`
with the answer discarded, then `success: true`. **The 2026-09-04
sentence is kept for it** and the notes say so.
- No `projectionApplied` key was added to either response type, so the
first half of the sentence still holds; only "logged without reaching
the caller" is stale, and only for the two `revertCommit` limbs.

Four add-only insertions in
`docs/adr/0094-sys-permission-set-pure-projection.md`; no existing
character is removed or rewritten, no sentence moves:

1. `**Status**:` line: ` · **Amended** (2026-11-15, objectstack-ai#34077): …` appended
in the form of the line's existing 2026-10-14 entry, narrowed to the
`revertCommit` limbs, citing PR objectstack-ai#33805.
2. An in-place `⚠️ **Amended 2026-11-15 (objectstack-ai#34077 / PR objectstack-ai#33805)**` pointer
indented under the 2026-09-04 bullet, right after the quoted sentence,
anchored at
`packages/metadata-protocol/src/protocol-package-commits.ts#revertCommit`.
3. **Beyond the card's two items (declared; accepted by review
6901691666):** the same pointer inside D2's own 2026-09-04 note, after
"three of the seven call and await the projector without putting an
outcome on the response." That note repeats the stale claim for the same
two limbs; leaving one copy unmarked is the defect an at-tier review
flagged on PR objectstack-ai#34063. Add-only, same narrowing.
4. **Fix round 1 (review 6901691666, S-1):** a ⚠️ pointer directly below
the amendment's door table, saying the `—` in the two `revertCommit`
rows now means only that the answer carries no `projectionApplied` key,
and that a projector failure there is reported through `failed[]` and
`success: false`; the `rollbackMetaItem` row is unchanged. No table cell
is touched. (N-2: the Status entry, text this PR adds, now names where
the notes sit.)

`docs/adr/README.md` is not regenerated: `adr-index` reports it current
(the 0094 row's status cell truncates before the appended text).

## Tests

None: docs-only diff, no code, no test. `skip-changeset` (`docs/adr/**`
publishes nothing).

## Acceptance notes

- Authoring ran in an isolated os-dev subagent pinned to the
contract-review tier (`dispatch-gates --tier`: MANDATORY for
`docs/adr/**`), effort xhigh, on this branch; this thread is served
below that tier. Recorded here and in the report's deviations.
- Same amendment, outside this card's surface, filed by the seat as
objectstack-ai#34142 (serial after this card): its tripwire `git grep -c
"this.runMutationProjector(" --
packages/metadata-protocol/src/protocol.ts` no longer answers `7`,
because the call sites moved into facet files (`protocol-save.ts`,
`protocol-history-and-publish.ts`, `protocol-diff-delete-load.ts`,
`protocol-package-commits.ts`). The amendment itself says that answer
means the table went stale. Not touched here.
- Landing: expect Tier H (a grown Status line reads as -1/+1; the
low-risk add-only reader refuses it). The PR stays a draft until a
GOVERNED_APPROVERS approval.

## Verification

Head `bd358f52` (fix round 1 on top of `2cc431b3`). `dispatch-gates
--commands` derives the same 21 commands; all 21 re-run on this head,
all exit 0; `--ran` reconciles: "21 derived famil(ies) accounted for —
21 run, 0 NOT-MEASURED (a DERIVED zero …)". The round on `2cc431b3` was
also 21/21 exit 0.

<details><summary>Gate record at bd358f5 (21 commands)</summary>

```text
node scripts/check-adr-links.mjs :: exit 0
node scripts/check-adr-links.mjs --self-test :: exit 0
node scripts/check-closing-keyword-parity.mjs :: exit 0
node scripts/check-closing-keyword-parity.mjs --self-test :: exit 0
node scripts/check-comment-mask-corpus.mjs :: exit 0
node scripts/ci/plan-test-core-shards.mjs --self-test :: exit 0
pnpm --filter @objectstack/lint run check:doc-formula-expressions :: exit 0
pnpm check:adr-anchors :: exit 0
pnpm check:adr-index :: exit 0
pnpm check:adr-symbol-anchors :: exit 0
pnpm check:ci-filter-parity :: exit 0
pnpm check:closed-ceremony-text :: exit 0
pnpm check:cross-package-test-inputs :: exit 0
pnpm check:doc-authoring :: exit 0
pnpm check:driver-memory-census :: exit 0
pnpm check:gitlink-declared :: exit 0
pnpm check:nul-bytes :: exit 0
pnpm check:pm-governed-merges :: exit 0
pnpm check:pm-prior-rulings :: exit 0
pnpm check:refd-timer-probe :: exit 0
pnpm check:watch-hint-literal :: exit 0
```

</details>

Add-only proof against `main`: `git diff --word-diff` shows 0 `[-…-]`
runs over main's text (the line-3 word-diff inside the fix commit
touches only text this PR added); stripping the four insertions
reproduces the base file byte for byte. `git diff --check` clean; no
control bytes.

<!-- signed: domain:skills#2 · os-steve ·
session_01ADHkmT7hSxSj6X3GqfXJCn -->

---------

Co-authored-by: Claude <noreply@anthropic.com>
@os-zhuang
os-zhuang added this pull request to the merge queue Nov 16, 2026
Merged via the queue into main with commit 2243872 Nov 16, 2026
54 checks passed
@os-zhuang
os-zhuang deleted the claude/project-thread-jpbomr branch November 16, 2026 05:19
@objectstack-fleet objectstack-fleet Bot removed the pm:awaiting-merge PR only: landing waits on the maintainer's own review and merge (SKILL.md 复核 ②); never on an issue label Nov 17, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

documentation Improvements or additions to documentation size/m skip-changeset PR has no user-facing published change; bypasses the changeset gate

Projects

None yet

Development

Successfully merging this pull request may close these issues.

ADR-0067 status line: the 2026-11-14 "What the doors do" amendment still describes revert before PR #33805

3 participants