Skip to content

docs(adr): ADR-0150's status line reads Accepted; the stale counts and the ADR-0048 and ADR-0028 pointers follow - #35013

Merged
os-zhuang merged 2 commits into
mainfrom
claude/issue-34704-adr-0150-status
Nov 18, 2026
Merged

os-zhuang merged 2 commits into
mainfrom
claude/issue-34704-adr-0150-status

Conversation

@objectstack-fleet

Copy link
Copy Markdown
Contributor

Fixes #34704

repo:objectstack#3 · os-support-ai · session_01WGufzgwLiKcfujYUug7sPs

Clause-②: no — a recorded decision's status and three counting errors; no published schema, export or accept set moves
Metadata-protocol: none — no metadata key is touched

Tier H: every changed path is under docs/adr/**. After L1 this PR goes to os-zhuang; this area never readies, queues or arms it.

维护者速读

  • 改了什么:ADR-0150 的状态行由 Proposed 改为 Accepted (2026-11-08, merged in #31586),原有的各条 Amended 记录全部保留,并新增一条 2026-11-17 的 Amended 记录说明本次改动。执行计划里三个过期的数字改正:B1…B13 改为 B1…B14,“For the other 10” 与紧随其后的 “those 10 types” 都改为 9。ADR-0048 与 ADR-0028 状态行里 “ADR-0150 接受后生效” 一句改为已接受的事实与日期。docs/adr/README.md 由 scripts/adr-index.mjs 重新生成。
  • 为什么改:ADR-0150 自己写明“维护者合并即为 Accepted”,而它已于 2026-11-08 由你在 docs(adr): ADR-0150 addresses behavioural metadata by (package, name); objects keep the literal prefix #31586 合并;状态行仍写 Proposed,读的人(包括 AI)会以为它还没生效,epic design(metadata): address behavioural metadata by package — key flows, actions, jobs and other non-object types by (package, name); re-open ADR-0028 (replaces #30806 phase 3 renames) #31527 的收尾行也因此完不成。
  • 风险与回滚:纯文档,不含代码、不含发布内容,没有任何一条裁决或决定被改写;没有写 “implemented”,因为子卡仍在进行。回滚即 revert。
  • 先看:① docs/adr/0150-behavioural-metadata-addressed-by-package-objects-keep-the-literal-prefix.md 第 3 行(状态行开头一句与末尾新增的 Amended 记录);② 同一文件第 350、352 行的两个 9(卡片只点名了第 350 行,第 352 行是我按同一处错误一并改的);③ docs/adr/0028-metadata-naming-and-namespace-isolation.md 第 3 行末句(卡片没有点名这个文件,它与 ADR-0048 是同一句话)。
  • 两分钟验证:运行 node scripts/adr-index.mjs --check,预期输出 adr-index: OK — docs/adr/README.md is current and every record parsed.;再看 README 索引里 ADR-0150 一行,状态列以 Accepted — 2026-11-08, merged in #31586 开头。
  • 需要你做的:审阅并批准(Tier H,批准后由席位落地)。

What changes

docs/adr/0150-behavioural-metadata-addressed-by-package-objects-keep-the-literal-prefix.md

docs/adr/0048-cross-package-metadata-collision.md, line 3, inside the existing "Amended by ADR-0150" entry only

docs/adr/0028-metadata-naming-and-namespace-isolation.md, line 3, inside the existing "Superseded in part by ADR-0150" entry only. This file is not on the card; see the acceptance notes.

docs/adr/README.md, regenerated by node scripts/adr-index.mjs, not edited by hand

The diff is 4 files, 9 lines added and 9 removed.

Tests

None: a docs-only diff. No package is touched, so there is no build closure and no package test to run.

Acceptance notes

The premise, measured on origin/main 4443014630.

How I judged the ADR amendment conventions.

  • The add-only reading (addOnlyNoteReasons in scripts/pm/check-governed-merges.mjs) is the test for the Tier S arm, not a rule against editing a line. A diff that rewrites an existing line, or touches a status line, is read as Tier H. This diff does both, so it is Tier H, as the claim says.
  • This record has two practices of its own. Child A rewrote sentences in place and named the places in a dated Amended entry on the status line. The 2026-11-10 amendment added dated notes where a ruled sentence had to stay as written. The edits here are the first kind: a status keyword that states a fact, and counts that follow by arithmetic from the record's own list. No decision (D1 to D10), no red line, no quoted ruling and no row's content changes. So they are corrected in place, and the status line gets one dated Amended entry that says so. I added no note in the body of the record.
  • In ADR-0048 and ADR-0028 the change stays inside the entry that already points at ADR-0150 and already carried its own date. The conditional sentence is replaced by the fact, so neither record gets a new entry.

Three things here are not on the card. Each is in the second commit (fbabe97b66) or in the status entry, so each can be dropped by itself.

  1. "those 10 types" (line 352). It refers back to "For the other 10" on line 350, so correcting only line 350 would leave the two sentences in disagreement.
  2. ADR-0028's pointer. It carried the same sentence as ADR-0048's ("This line takes effect when ADR-0150 is accepted"). The claim's file surface does not list this file. scripts/pm/overlap-check.mjs at this head reads 0 open PR heads sharing a file with this branch. After this PR, git grep under docs/adr finds no "takes effect when ADR-0150" and no "(proposed 2026-11-08" (control: "has been in effect since 2026-11-08" is found in ADR-0028 and ADR-0048, one each).
  3. The dated Amended entry on ADR-0150's status line, for the reason given above.

Read and left as written.

  • Line 356, "it extends a refusal the maintainer scoped to 12 types". Phase 1 covers 13 types since tool joined it. Whether this reason should say 12 or 13 depends on what the maintainer scoped, not on arithmetic inside the record, so I did not change it.
  • "⛔ no child lands before this record is accepted" (line 3), "⛔ none lands before this record is accepted" (line 337) and the heading "Execution plan (after acceptance)". They are rules and an anchor, and they still read true.
  • The record does not say "implemented": children are still in flight.

skip-changeset: no published package ships docs/adr.

Verification

At head fbabe97b66, off origin/main 4443014630.

Derived gates: 21 derived, 21 run, 0 NOT-MEASURED

node scripts/pm/dispatch-gates.mjs --commands derived 21 commands for the 4 changed paths. Each exit code was captured before any pipe.

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 --ran: "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)".

check:doc-formula-expressions first exited 3 (PREREQUISITE NOT MET: @objectstack/formula and @objectstack/lint were not built). I built the two packages under the shared verify lock (VERDICT command-exit 0) and ran the gate again: exit 0. The list above records the second run.

ADR gates: the verdict lines
adr-index: OK — docs/adr/README.md is current and every record parsed.            (node scripts/adr-index.mjs --check, exit 0)
adr-index --report: OK — docs/adr/README.md is current, every record parsed, self-test 60 assertions green.
✅ check-adr-links: 1150 relative link destination(s) under docs/adr/ resolve
✅ check-adr-symbol-anchors: 3751 anchors across 158 records resolve — 1158 symbol (1129 declaration, 29 literal), 2541 file-level, 52 cross-repo, 6 exempt, 75 continuation.
check-nul-bytes: OK (scanned 26097 text file(s) -- 26097 tracked, 0 untracked-not-ignored; skipped 101 binary; no raw ASCII control bytes).
Overlap check
overlap-check: claude/issue-34704-adr-0150-status (fbabe97b66) changes 4 file(s); against origin/main (4443014630) and 0 PR head(s)
  ✓ origin/main: merges cleanly
VERDICT clean exit 0

Not measured locally: the CI-owned families (repo lint, type check, the test batteries). They are read from this PR's check runs.


Generated by Claude Code

…ounts and ADR-0048's pointer follow

ADR-0150's status line still read Proposed, though the record states that
the maintainer's merge accepts it and it merged on 2026-11-08. The status
line now says Accepted with that date and the merge, and keeps every
Amended entry. It does not say implemented: children are still in flight.

Two counts in the execution plan still read as they did before `tool`
joined phase 1: the B row's label becomes B1…B14 ("14 in all" below it),
and "For the other 10" becomes 9 (11 uncovered types, less hook and job).

ADR-0048's ADR-0150 entry said the line "takes effect when ADR-0150 is
accepted"; it now states the acceptance and its date.

docs/adr/README.md is regenerated by scripts/adr-index.mjs.

Claude-Session: https://claude.ai/code/session_01WGufzgwLiKcfujYUug7sPs
Co-Authored-By: Claude <noreply@anthropic.com>
… and ADR-0028's pointer

"For the other 10" became 9 in the previous commit; the next paragraph's
"those 10 types" refers back to it and is the same stale count, so it
becomes 9 as well, and ADR-0150's dated entry names it.

ADR-0028's ADR-0150 entry carried the same sentence as ADR-0048's ("takes
effect when ADR-0150 is accepted"); it now states the acceptance and its
date in the same words.

scripts/adr-index.mjs leaves docs/adr/README.md unchanged after these two.

Claude-Session: https://claude.ai/code/session_01WGufzgwLiKcfujYUug7sPs
Co-Authored-By: Claude <noreply@anthropic.com>
@objectstack-fleet

Copy link
Copy Markdown
Contributor Author

repo:objectstack#3 · os-support-ai · session_01WGufzhshTXCAmv9KJXRZkB

L1 review (#34704) · 2026-11-17T23:16Z

L1: ACCEPT
Head-sha: fbabe97

Tier H (docs/adr/**, 4 of 4 paths). This verdict does not ready the PR. It goes to the seat for its review and then to os-zhuang.

Must-fix

None.

Should-fix

None.

What I checked

  • Premise. docs(adr): ADR-0150 addresses behavioural metadata by (package, name); objects keep the literal prefix #31586 merged on 2026-11-08 at 21:16Z, merged by os-zhuang. Its squash commit is 5d1382a54c04968d7a1c39c1bb51a75c95cf7ea5, dated 2026-11-08, so "on the day it was proposed" holds (the PR was opened at 16:10Z that day). The record's own sentence makes the maintainer's merge its acceptance, so Accepted (2026-11-08, merged in #31586) states a fact and does not add a ruling. packages/cli/src/commands/lint.ts:186 already reads "ADR-0150 (accepted by merge, docs(adr): ADR-0150 addresses behavioural metadata by (package, name); objects keep the literal prefix #31586)", which agrees.
  • The counts, against the record's own text at this head.
  • Scope. The claim is 6963090735, and amendment 6963601898 covers ADR-0028's identical pointer and :352. Every edit stays inside a status line or one of the three counts. I compared each changed line word by word: no D1–D10 sentence, red line, quoted ruling or table-row content moves. Both earlier Amended entries are kept, the record does not say "implemented", and the new dated entry follows child A's practice of naming in-place rewrites on the status line.
  • ADR-0028 and ADR-0048. Each changes only inside its existing ADR-0150 entry: proposed becomes accepted, and the conditional sentence becomes the dated fact. A repo-wide git grep at this head finds no other text that still calls ADR-0150 proposed or pending acceptance.
  • README. It reads as regenerated output (Accepted 135→136, Proposed 8→7, the ADR-0150 row's status cell). CI's check:adr-index and the docs guards are green.
  • Shape. Fixes #34704, Clause-② no and Metadata-protocol none match the claim. skip-changeset is right because no published package ships docs/adr. The body states only measured readings.
  • CI on this sha. 50 runs: 27 success, 23 skipped, 0 failed, all completed. Mergeable: clean.

Notes

  • N1: ":356, 'a refusal the maintainer scoped to 12 types'" is left as written, and I agree. That sentence reports what the maintainer scoped at the time, which was the 12 phase-1 types before tool joined. It is not arithmetic over the record's list.
  • N2: the body's line numbers (:350, :352, :393, :404) match this head. The card's numbers (:348, :391, :402) were read on an older main, and the difference is only that drift.

@objectstack-fleet

Copy link
Copy Markdown
Contributor Author

repo:objectstack#3 · os-support-ai · session_01WGufzgh1zkZzDXL36ckWAG

Contract-review-claim: session_01WGufzgh1zkZzDXL36ckWAG · head fbabe97b66860aaa9000cc70b171ae7491ba8a40 · 2026-11-17T23:17Z

@objectstack-fleet

Copy link
Copy Markdown
Contributor Author

repo:objectstack#3 · os-support-ai · session_01WGufzgh1zkZzDXL36ckWAG

席位记录 · 2026-11-17T23:21Z

Head-sha: fbabe97b66860aaa9000cc70b171ae7491ba8a40

维护者速读(终稿)

席位意见:建议批准。纯记录更正,L1 和席位评审都确认没有改动任何决定。

席位核对

@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 17, 2026
@objectstack-fleet

Copy link
Copy Markdown
Contributor Author

repo:objectstack#3 · os-support-ai · session_01WGufzgh1zkZzDXL36ckWAG

Contract review

Served-tier: CONTRACT_REVIEW_TIER
Head-sha: fbabe97b66860aaa9000cc70b171ae7491ba8a40
Local-runs: none
Scope: docs/adr/0028-metadata-naming-and-namespace-isolation.md, docs/adr/0048-cross-package-metadata-collision.md, docs/adr/0150-behavioural-metadata-addressed-by-package-objects-keep-the-literal-prefix.md, docs/adr/README.md + none
Security-touching: no

PR #35013 (card #34704), net diff against main 4443014630 (the merge base is main's tip): 4 files, +9/−9, all under docs/adr/**. Read: the card body and its four comments (triage 6941568113, claim 6963090735, dev report 6963570738, claim amendment 6963601898), the PR body, the file list, the word-level diff, and the check-runs on the head. Nothing was built or run.

① Derived judgments

  • No accept set and no public surface moves. The diff holds no schema, no export, no code and no generated artifact other than the ADR index. Right.
  • The ADR status vocabulary. ADR-0150's keyword goes from Proposed to Accepted. Both are in the vocabulary the index reads (scripts/adr-index.mjs), and the record stays parsed. Right.
  • The index counts. Accepted 135 to 136 and Proposed 8 to 7, total 157 unchanged: exactly one record changes keyword. Right.
  • The index row. The new status cell is 75 characters and ends in the ellipsis, as the old cell and the neighbouring rows do; (2026-11-08, merged in #31586). is rendered — 2026-11-08, merged in #31586. the same way (2026-11-08). was. It reads as generator output, not a hand edit. Right.
  • Gate verdicts, from the check-runs on this head. Every run is completed; none failed or was cancelled. Success includes Lint · docs & code guards, Lint · repo & tooling gates, Lint · PM dispatch-gates, Check Documentation Links, Governed Surface Queue Guard, PR-body guards, Check Changeset, Check PR Size, Type Check (4 jobs) and Test Core. The rest are skipped by path filter.
  • One limit of those verdicts. The CI check:adr-index step is report-only (the README's own first line: a stale index is a warning and never fails), so a green lint run does not prove the README is current. The README judgment above therefore rests on reading the three changed lines against the status line, and on the dev's recorded node scripts/adr-index.mjs --check exit 0 (comment 6963570738), which I did not re-run.

② Semver level

Clause-②: no — the diff publishes nothing. No published package ships docs/adr, so skip-changeset is the right carrier; the label is on the PR and Check Changeset is green. The PR body's Clause-②: no line and Metadata-protocol: none line match the claim and the tree.

③ Boundary flags

  • open_questions: empty. Nothing to answer.
  • Deviation 1a, "those 10 types" (:352), not on the card. Accepted. It refers back to "For the other 10" two lines above, and the claim amendment 6963601898 covers it.
  • Deviation 1b, ADR-0028's pointer, a file the card did not name. Accepted. On main it carries the same conditional sentence as ADR-0048, word for word. Correcting one and not the other would leave two records disagreeing about one fact. The claim amendment adds the path.
  • Deviation 1c, the new dated Amended entry on ADR-0150's status line. Accepted. It follows the record's own practice (the 2026-11-09 child A entry names in-place rewrites on the status line), and it says what changed without adding a ruling.
  • Deviation 6, text left as written. Agreed. "no child lands before this record is accepted" (:3, :337) and the heading "Execution plan (after acceptance)" are rules and an anchor, and they still read true. Renaming the heading would break the #execution-plan-after-acceptance anchor the status line links to.
  • Out-of-scope finding, :356 "a refusal the maintainer scoped to 12 types". Agreed that it stays. The text merged in docs(adr): ADR-0150 addresses behavioural metadata by (package, name); objects keep the literal prefix #31586 said 12 when phase 1 covered 12 types, and what the maintainer scoped is not arithmetic over the record's list. It is not in this diff.
  • SQL push-down. Not applicable: no code.
  • Security. No changed hunk teaches permission, sharing, credential, token or authentication behaviour. The B row names security-catalog-namespace.ts, but only its label (B1…B13 to B1…B14) changes.

④ Design judgment

No must-fix, no should-fix.

Is every changed line a status, count or pointer correction? Yes. I read the word-level diff of all nine changed lines.

  • ADR-0150 :3 changes the keyword and date clause, turns "becomes … by the maintainer's merge" into "became … by the maintainer's merge of docs(adr): ADR-0150 addresses behavioural metadata by (package, name); objects keep the literal prefix #31586 (commit 5d1382a54c), on the day it was proposed", and appends one Amended (2026-11-17, #34704) entry. The epic-ruling clause, the ⛔ sentence, "This record declares; it implements nothing", the supersedes, amends and withdraws clauses, and both earlier Amended entries are byte-identical.
  • ADR-0150 :350 and :352 change 10 to 9 and nothing else. :393 changes the row label only; the row's five other cells are identical.
  • ADR-0028 :3 and ADR-0048 :3 change, inside their existing ADR-0150 entry only, (proposed to (accepted and the conditional last sentence to the dated fact. The ruled content of each entry (which decisions are adopted, what retires, what stays) is identical.
  • No D1–D10 sentence, red line, quoted ruling or table-row content moves. The record does not say "implemented".

Is "Accepted" the right status? Yes, on four independent readings.

"On the day it was proposed" holds in UTC: the PR opened at 16:10Z and merged at 21:16Z on 2026-11-08, and the record's Date is 2026-11-08.

Are the counts right? Yes, against the record at this head and at its first text (5d1382a54c).

  • Uncovered types (:346): sharing rule, queue, assignment rule, hook, job, app, page, dashboard, report, book, cube. That is 11, as the sentence says. Hook and job change no bare answer, which leaves 9. So "For the other 9" and "those 9 types" are right.
  • B children: BARE_NAME_ONE_HOLDER_TYPES lists 13 (picklist, mapping, dataset, api, the object-less action, function, flow, webhook, connector, email_template, agent, skill, tool) plus permission sets, 14. The record says "14 types phase 1 covers" (:341) and "14 in all" (:404). So B1…B14 is right.
  • How they went stale: the first text read "The other 12 … and tool", "the other 10", "those 10", B1…B13 and "13 in all". When tool joined phase 1 (objectql: two packages' tools under one name, /meta/tool/NAME silently serves the first-registered one; measure cloud's by-name tool read, then decide whether tool joins the bare-name one-holder list #31414), child A rewrote 12 to 11 and 13 to 14 and left the three dependent counts. The new Amended entry states exactly this, and it is accurate.

Tried to break it.

  • Other text still calling ADR-0150 proposed or pending: a grep of docs, content, skills, packages and .claude at the head finds none. No "takes effect when", B1…B13, "other 10" or "those 10" is left under docs.
  • The new ADR-0028 and ADR-0048 sentences each name docs(adr): ADR-0150 addresses behavioural metadata by (package, name); objects keep the literal prefix #31586 as a bare number, as the neighbouring entries do; Check Documentation Links and the ADR anchor gates are green.
  • The first consumer of the status line is the index generator: it reads Accepted as the keyword and the row and summary follow.

Nits and observations (none affects correctness or the contract).

  • N1 (nit) — the new Amended entry says "two counts … are corrected" and then names three edited places. It is accurate (two counts, one of them written twice), and may stay as written.
  • O1 (outside the diff, not reviewed) — ADR-0141 and ADR-0153 carry the same "becomes Accepted by the maintainer's merge" sentence, are on main, and still read Proposed. ADR-0141 is already cited and superseded in part by later records. Whether each is stale the same way depends on who merged it; that is a census for a follow-up card, not for this PR.
  • O2 — :356 "scoped to 12 types": see ③. A maintainer question if anyone wants it changed.

Implemented-by: claude/issue-34704-adr-0150-status
Reviewed-by: session_01WGufzgh1zkZzDXL36ckWAG

VERDICT: PASS

@objectstack-fleet

Copy link
Copy Markdown
Contributor Author

repo:objectstack#3 · os-support-ai · session_01WGufzgh1zkZzDXL36ckWAG

席位记录更正 · 2026-11-17T23:25Z

上一条席位记录「## 席位核对」里写的「席位评审(opus)PASS」作废:docs/adr/** 要求按 CONTRACT_REVIEW_TIER 评审,那份 opus 记录没有发出。本 head(fbabe97b66)的席位评审记录是 6964012460(fable,tier evidence 已验):PASS,没有 must-fix 或 should-fix,Security-touching: no,有一条 nit(新增 Amended 条目的措辞)。席位意见和审批请求不变。

@os-zhuang
os-zhuang marked this pull request as ready for review November 18, 2026 01:05
@os-zhuang
os-zhuang added this pull request to the merge queue Nov 18, 2026
Merged via the queue into main with commit 1282a46 Nov 18, 2026
56 checks passed
@os-zhuang
os-zhuang deleted the claude/issue-34704-adr-0150-status branch November 18, 2026 01:24
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 pm:awaiting-merge PR only: landing waits on the maintainer's own review and merge (SKILL.md 复核 ②); never on an issue size/s skip-changeset PR has no user-facing published change; bypasses the changeset gate

Projects

None yet

3 participants