You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
docs(metadata-protocol): rollbackToPackageCommit docblock says each step records its revert commit; the record is best effort #33486
documentationImprovements or additions to documentationdomain:serverDomain lane — seat card indexed by label:pm:seatfindingRecorded observation — held, not dispatchable until the findings triage round grades itpriority:p3
Filing gate: ① (a follow-up owed by work in flight). Contract review 6884842817 on PR #33465 (card #32504) found that the "revert commit is recorded" claim overstates what the code does, and sent the copy outside that diff to a follow-up.
What is wrong
The rollbackToPackageCommit docblock in packages/metadata-protocol/src/protocol.ts (on main, just above async rollbackToPackageCommit(request) says each step "reverts the item's neighbours and records its revert commit". The record write is best effort. recordPackageCommit (protocol-package-commit-record.ts) catches every error, including an unprovisioned sys_metadata_commit, logs once at info (unprovisioned) or at error, and returns null. revertCommit then leaves revertCommitId out of its answer and returns normally. So a step that returns may have recorded nothing, and that revert is then on no package-commit timeline and cannot itself be reverted as a commit.
Fix
Prose only, in that docblock: "attempts its own revert commit (best effort: when the commit store is unprovisioned or the write fails, nothing is recorded and the answer omits revertCommitId)". This matches the ADR-0067 amendment that PR #33465 adds. A patch changeset for @objectstack/metadata-protocol is owed, because TSDoc ships in the .d.ts.
Out of scope
Whether revertCommit or rollbackToPackageCommit should become atomic is a maintainer decision. The ADR-0067 amendment's "What this amendment does not decide" section names it.
Blocked-by: #33465 (same ADR wording; land after it)
Claim: server area-lease pilot (#33059), area E1, dispatched by seat domain:server#5 · p3 · folded set #33563 (lead) + #33564 + #33486 (p3 ride-along), this card is the ride-along · executed by an os-dev card thread · posted at 2026-11-15T09:12Z
Session: session_01QsR2jSn6n7eb34wbyxhZja
Account: zhuangjianguo
Branch: claude/project-thread-gv2u7w
Worktree: objectstack-issue-33563
Domain: domain:server
Seat: domain:server#5
File surface: packages/metadata-protocol/src/protocol-package-commits.ts (revertCommit, readRevertableCommit, rollbackToPackageCommit docblock), protocol.ts only for docblock or facet wiring, their tests, a changeset (stop on breach; explain in the report)
Container & model: M, mode:thread, model: default (no path-derived mandate; dispatch-gates --tier at 53f5a4c9), effort: high
Clause-②: no
Metadata-protocol: none
Responsibility: metadata-protocol revertCommit reports outcomes it did not achieve (objectstack) | none | every AI-authoring revert and rollbackToPackageCommit step
Thread-read: 6885409950
Premise: holds
Serial constraints cleared: #33621 (os-elon-musk: protocol-save.ts, registry-question.ts) and #33570 (seed-loader.ts) do not touch this function; protocol.ts is E1's hot file and this seat holds E1. Fold gates ①–⑤ answered in the order: same defect shape, one file, all graded, each checkable alone, look-alikes #33127#32958 excluded.
Order: /mnt/project-files/server-seat-5/order-33563.md · governing text: the revertCommit docblock and ADR-0067 D3 (as merged in #33465); the code aligns with them.
Landing close-out (pm-dispatch landing-operations B: a Fixes card closed by its merge drops its pm state label in the same stroke; this stroke was owed since the merge).
documentationImprovements or additions to documentationdomain:serverDomain lane — seat card indexed by label:pm:seatfindingRecorded observation — held, not dispatchable until the findings triage round grades itpriority:p3
Activity
objectstack-fleet commentedon Nov 14, 2026
triage#1 · hotlong · session_01Q4EjjMnyLqJdzuktEmRPXH
Path: none
Triage: first touch →
domain:server·lease:E1· p3 ·pm:queue· 2026-11-14T22:46Z⛔ Not a claim.
Docblock prose in
protocol.ts(E1 is the hot-file owner): the revert-commit record is best effort. p3.objectstack-fleet commentedon Nov 15, 2026
domain:server#5 · zhuangjianguo · session_01QsR2jRsWwTRkuRCyQwvpAG
Claim: server area-lease pilot (#33059), area E1, dispatched by seat
domain:server#5· p3 · folded set #33563 (lead) + #33564 + #33486 (p3 ride-along), this card is the ride-along · executed by anos-devcard thread · posted at 2026-11-15T09:12ZSession:
session_01QsR2jSn6n7eb34wbyxhZjaAccount:
zhuangjianguoBranch:
claude/project-thread-gv2u7wWorktree:
objectstack-issue-33563Domain:
domain:serverSeat:
domain:server#5File surface:
packages/metadata-protocol/src/protocol-package-commits.ts(revertCommit, readRevertableCommit, rollbackToPackageCommit docblock),protocol.tsonly for docblock or facet wiring, their tests, a changeset (stop on breach; explain in the report)Container & model:
M,mode:thread,model: default (no path-derived mandate; dispatch-gates --tier at 53f5a4c9),effort: highClause-②: no
Metadata-protocol: none
Responsibility:
metadata-protocol revertCommit reports outcomes it did not achieve (objectstack) | none | every AI-authoring revert and rollbackToPackageCommit stepThread-read: 6885409950
Premise: holds
Serial constraints cleared: #33621 (os-elon-musk: protocol-save.ts, registry-question.ts) and #33570 (seed-loader.ts) do not touch this function; protocol.ts is E1's hot file and this seat holds E1. Fold gates ①–⑤ answered in the order: same defect shape, one file, all graded, each checkable alone, look-alikes #33127 #32958 excluded.
Order: /mnt/project-files/server-seat-5/order-33563.md · governing text: the revertCommit docblock and ADR-0067 D3 (as merged in #33465); the code aligns with them.
Generated by Claude Code
objectstack-fleet commentedon Nov 15, 2026
domain:server#5 · zhuangjianguo · session_01QsR2jTkZnXtRhuEiiyidvJ
Landing close-out (pm-dispatch landing-operations B: a Fixes card closed by its merge drops its pm state label in the same stroke; this stroke was owed since the merge).
State change:
pm:dispatchedremoved. Domain, area, lease and priority labels stay.docs(adr-0067): stale rollback claims follow the code: the in-memory …
fix(metadata-protocol): revertCommit answers only what it achieved, a…