Repository navigation
docs(adr): regenerate the ADR index for ADR-0160's amended status line - #37812
Conversation
ADR-0160's `**Status**:` line gained a second amendment date ("amended
2026-11-25 and 2026-11-26") in eec1040, which changed the record and
left the generated index as it was. `node scripts/adr-index.mjs` rewrites
the one row whose status cell projects that line; no other row moves, and
`node scripts/adr-index.mjs --check` passes again.
The file is generator output, not a hand edit.
Claude-Session: https://claude.ai/code/session_016WV4cwPhGV4g9p1BGQaZbP
Co-authored-by: Claude <noreply@anthropic.com>
|
repo:objectstack#1 · os-elon-musk · session_016WV4czzx9dtSEm3jWWL9c3 L1 verdict (L1-a): REWORK — regenerate after #37785 merges at head The diff is right for today's main. One README cell, the ADR-0160 status, regenerated by But it goes stale the moment #37785 lands. #37785 (Tier H, at seat handoff now) edits ADR-0160's Owed. Once #37785 is on main, merge main into this branch, re-run The footer deviation. The harness footer in place of the os-dev rule-line footer has no effect on the diff or any gate. No rewrite needed. |
Brings in the fifth and sixth amendments of ADR-0160 (031a19d), which rewrite the record's status line, so the generated index can be regenerated against the record as it now stands on main. Claude-Session: https://claude.ai/code/session_016WV4cwPhGV4g9p1BGQaZbP Co-authored-by: Claude <noreply@anthropic.com>
…amendments 031a19d rewrote ADR-0160's `**Status**:` line again ("amended 2026-11-25, 2026-11-26 and 2026-11-27") and touched the record only, so the row regenerated one commit earlier on this branch was stale against main. `node scripts/adr-index.mjs` on the merged tree rewrites that one row; no other row moves, and `node scripts/adr-index.mjs --check` passes. The file is generator output, not a hand edit. Claude-Session: https://claude.ai/code/session_016WV4cwPhGV4g9p1BGQaZbP Co-authored-by: Claude <noreply@anthropic.com>
|
repo:objectstack#1 · os-elon-musk · session_016WV4czzx9dtSEm3jWWL9c3 Contract-review-claim: session_016WV4czzx9dtSEm3jWWL9c3 · head 4976072 · 2026-11-27T06:03Z |
|
repo:objectstack#1 · os-elon-musk · session_016WV4czzx9dtSEm3jWWL9c3 Contract reviewServed-tier: PR #37812 for card #37733. Net diff against ① Derived judgments
Gate verdicts, from the 44 check-runs on this head: every one is ② Semver level
③ Boundary flags
④ Design judgment
Tried to break it: a hand-trimmed cell (no, the clip lands exactly at 63 characters plus the ellipsis); a second stale row hidden behind the report-only check (no, no other record's header fields changed since the last index write); a head that No must-fix, no should-fix. Observation, not a finding on this diff: the visible cell does not show the newer amendment dates, because the generator clips the status cell at 64 characters. That is the generator's behaviour, outside this diff. Implemented-by: VERDICT: PASS |
|
repo:objectstack#1 · os-elon-musk · session_016WV4czzx9dtSEm3jWWL9c3 L1 verdict (L1-a): ACCEPT (delta) at head My one ask is met. #37785 is on main ( Contract review. PASS at The PR body is stale. It still describes Landing: Tier H ( |
|
repo:objectstack#1 · os-elon-musk · session_016WV4cwoXEE1amuRAGHdPBs Seat record · 2026-11-27T06:09Z · PR #37812 (Fixes #37733) · head 维护者速读
Seat opinion: land. 席位核对 — ACCEPT · repo:objectstack#1 · head
|
|
repo:objectstack#1 · os-elon-musk · session_016WV4cwoXEE1amuRAGHdPBs Approval request · Tier H · PR #37812 (Fixes #37733) · head @os-zhuang — governed |
Requested by Elon · project thread
Fixes #37733
Clause-②: no
Metadata-protocol: none
维护者速读
What changes
docs/adr/README.md, the generated ADR index, is regenerated withnode scripts/adr-index.mjs. One row moves: the status cell of ADR-0160.Accepted — merged 2026-11-24 (PR objectstack#37115); amended 2026-11-25 (s…Accepted — merged 2026-11-24 (PR objectstack#37115); amended 2026-11-25, 2…**Status**:line of ADR-0160 was rewritten twice without an index regeneration: by commit eec1040 (PR docs(adr): ADR-0160 amended — a body outline past its bounds comes in pages (outlineFrom / outlineNext) #37573,amended 2026-11-25 and 2026-11-26) and then by commit 031a19d (PR docs(adr): ADR-0160 amended a fifth and a sixth time; the Data API sort door reads the sortability projection's computed-type predicate #37785, which added the fifth and sixth amendments,amended 2026-11-25, 2026-11-26 and 2026-11-27). Both touched the record only. The index projects that line clipped to the cell width, so the visible change is the clipped tail.docs/adr/**ships in no released package, so this pull request carriesskip-changeset, declared on the create.Tests
No package is touched, so there is no build closure to make and no package test or typecheck to run. The generator's own self-test ran inside
pnpm check:adr-index: 60 assertions, green.Acceptance notes
adr:indexregenerated on main; its check passes with no other index change":node scripts/adr-index.mjs --checkexits 1 (stale) onmainand exits 0 on this branch at its head 4976072 (the area's re-run after docs(adr): ADR-0160 amended a fifth and a sixth time; the Data API sort door reads the sortability projection's computed-type predicate #37785 landed), and the net diff againstmainis the ADR-0160 row alone. "No other index change" is a measured reading here, not an assumption.node scripts/adr-index.mjson the regenerated tree printsunchangedand leaves the same blob (ef06360678 at 4976072; 803949a6b7 was the first head's)., 2026-11-26 and 2026-11-27.mainmoved while this was in flight. The branch carries one merge commit, 0315963 (mainat c826e8a, which brought in docs(adr): ADR-0160 amended a fifth and a sixth time; the Data API sort door reads the sortability projection's computed-type predicate #37785), and the index was regenerated on top of it in 4976072.mainhas since moved four more commits to 9b50fed (feat(spec): declare the params of anai:chatmenu entry (AI inquiry home page copy) #37798, feat(spec)!: retire an agent's model.provider — no runtime read it; the deployment's AI settings choose the provider #37783, fix(runtime): save_metadata_draft's clientSpecVersion example names the server's own spec version #37821, chore(console): back-fill the eager-closure baseline's squash merge #37826); none of them touchesdocs/adr/,ui/docs/adr/or the generator, so the index stays current against today'smain.docs/adr/**is Tier H. This pull request is opened as a draft and is left as one; landing it is the maintainer's act.main, commit 972114d, did not carry the new ADR-0160 status text, so that index was generated on a tree without eec1040 and the file then text-merged. That is the expected cost of a report-only check, not a defect.Verification
Read first, one file:
docs/adr/README.md, line 230, the only hunk of the net diff. The risk to check is that the row is exactly what the generator prints for the current**Status**:line of ADR-0160, and that nothing else moved.Two-minute check: on this branch run
node scripts/adr-index.mjs --check. Expected: the lineadr-index: OK — docs/adr/README.md is current and every record parsed.and exit 0. Onmainthe same command printsdocs/adr/README.md is staleand exits 1.Premise on main (objectstack cac93cc, first head)
Regeneration and its check (objectstack b234dce, first head; re-run at 4976072 after the merge of main)
Local gates on objectstack b234dce (first head): the 21 commands that dispatch-gates derives for this diff. The head 4976072 is judged by its check-runs: 25 success, 19 skipped, 0 failed
Each exit code was captured before any pipe.
node scripts/pm/dispatch-gates.mjs --rananswers:21 derived famil(ies) accounted for — 21 run, 0 NOT-MEASURED, exit 0.pnpm check:adr-indexprinted:adr-index --report: OK — docs/adr/README.md is current, every record parsed, self-test 60 assertions green.The
check:doc-formula-expressionsline is its second run. The first exited 3, PREREQUISITE NOT MET, because@objectstack/formulaand@objectstack/lintwere not built in this worktree. Both were then built under the shared verify lock (VERDICT command-exit 0) and the gate was run again. Every other family is left to CI on this pull request.🤖 Generated with Claude Code
https://claude.ai/code/session_016WV4cwPhGV4g9p1BGQaZbP