Skip to content

docs(changelog): amend the released history-by-package entry: the 18.4.0 type list, the legacy-row reading and the addressed diff - #33526

Merged
objectstack-fleet[bot] merged 2 commits into
mainfrom
claude/area-E2-32717b
Nov 15, 2026
Merged

objectstack-fleet[bot] merged 2 commits into
mainfrom
claude/area-E2-32717b

Conversation

@objectstack-fleet

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

Copy link
Copy Markdown
Contributor

Requested by Elon · project thread
Fixes #32717

Clause-②: no — released-entry text only; no answer moves.
Metadata-protocol: none

维护者速读

What changes

The same four corrections in each copy of entry cac0f1a (packages/metadata/CHANGELOG.md, packages/metadata-core/CHANGELOG.md, packages/platform-objects/CHANGELOG.md):

  1. Type list. The Clause-② line says "at this release" and listed api, agent, skill, action, email_template, permission, flow. PACKAGE_SLOTTED_STORE_TYPES at the @objectstack/metadata@18.4.0 tag (181ad7d4) also holds picklist, mapping, dataset and webhook, so they are added.
  2. adr-0087 reason. "a row written before it reads exactly as it did" becomes "no row written before it is rewritten: its package_id stays NULL, and it is read as the package its stored body names, else as attributed to none". "The two refusals" becomes "The refusals", because the entry itself names more than two.
  3. Upgrade-path sentence. It now also says that a rollback to a version attributed to none reads its package from the restored body's stamp (database-loader.ts at 181ad7d4: recorded !== undefined ? recorded : storedItemPackageId(restoredData)). The reading of a legacy row is unchanged: it is read as its stored body's package (historyRowAttribution → storedRowPackageId), else as attributed to none.
  4. Addressed diff. "A version attributed to none … is in no address's history" now adds: an addressed getHistory leaves it out, and an addressed diff of it answers "not found" (MetadataManager.diff at 181ad7d4 reads both versions through the addressed getHistoryRecord, which never answers an unattributed version).

Each correction describes 18.4.0 as shipped. What #33464 (Part of #32717) changes ships under its own entry.

Verification

Text-only diff in three CHANGELOG files. Each replaced phrase was matched exactly once per file, and each corrected claim was read against the 18.4.0 tag's source as cited above.


Generated by Claude Code

…4.0 type list, the legacy-row reading and the addressed diff

The cac0f1a entry in metadata, metadata-core and platform-objects listed
seven of the eleven per-package types 18.4.0 shipped, said a row written
before the column reads as its body's package (it is attributed to none;
only a rollback reads the stamp), named two refusals where there are
more, and left the addressed diff of an unattributed version unstated.

Claude-Session: https://claude.ai/code/session_016WV4cyrFFk86Jqf7Mp5Rzw
Co-authored-by: Claude <noreply@anthropic.com>
@github-actions github-actions Bot added size/s documentation Improvements or additions to documentation labels Nov 14, 2026
@github-actions

Copy link
Copy Markdown
Contributor

📓 Docs Drift Check

⚠️ 3 changed file(s) yielded no anchor (packages/metadata-core/CHANGELOG.md, packages/metadata/CHANGELOG.md, packages/platform-objects/CHANGELOG.md), so the pages documenting them are NOT COVERED by this run — this is not a clean bill of health for those files. Nothing else in this diff resolved to a documentable surface (no symbol, route or SDK anchor derived from 3 changed package(s)).

What this run could not see
  • 3 changed file(s) yielded no anchor (packages/metadata-core/CHANGELOG.md, packages/metadata/CHANGELOG.md, packages/platform-objects/CHANGELOG.md) — pages documenting those are invisible to this run
  • a page that states a rule by its inputs shares no identifier with the emitter that implements the rule, so an emitter-only diff cannot list it — not on this run and not on any run. Measured on fix(driver-sql): emit varchar(maxLength) for a text field a declared index keys on #11430: content/docs/protocol/objectql/types.mdx documents the text-family column mapping by the ObjectQL type names it maps FROM (text / textarea / html) while the diff changed createColumn; it went unlisted, and it was the page that diff falsified, in four places. No shared token exists to detect this on, so a rule your change carries has to be re-read by hand in the pages that restate it.
  • a key NAME is not a key, so the hand re-read the line above prescribes can land on the wrong schema. The same spelling is authorable on one governed type and a [REMOVED] tombstone on another for each of active, aria, joins, objects, template, tools and version (censused on [finding] tools is a key on BOTH AgentSchema (tombstoned, dead) and SkillSchema (live, cloud-attested), so a name-based search attributes skill examples to the agent key — it produced a false stop-the-line alarm on PR #19059 #19093 over the liveness ledger's governed types, top-level keys); nothing in a search result distinguishes the two, so a grep hit on a LIVE example reads as evidence about the DEAD key. Measured on fix(spec): the agent.tools liveness row says dead — it claimed live on a key the schema tombstoned #19059: content/docs/ai/agents.mdx was reported as contradicting the agent.tools tombstone over its tools: example at :161, which is inside the defineSkill({ block opened at :155 — the page was already correct. Settle ownership by PARSING the value against both schemas, never by the name: that literal PASSES SkillSchema, and as an AgentSchema it FAILS at tools with the tombstone prescription. ⛔ These names are not the whole class — a key retired through a .strict() guidance map leaves no tombstone in the walked shape and none of them here (tool.category, live as AIToolDefinition.category).

Coarse fallback — 18 page(s) merely mention a changed package (the pre-#9192 predicate, kept for the deliberately-wide backstop): node scripts/docs-audit/affected-docs.mjs --json 811b976aa3faf138db0ec1cc9bd17dca6329b94c → packageMentionDocs.

@objectstack-fleet

Copy link
Copy Markdown
Contributor Author

domain:server#5 · os-elon-musk · session_016WV4cyrFFk86Jqf7Mp5Rzw
Request: review · area E2 · head 64369bf

@objectstack-fleet objectstack-fleet Bot added the skip-changeset PR has no user-facing published change; bypasses the changeset gate label Nov 14, 2026
@objectstack-fleet

Copy link
Copy Markdown
Contributor Author

Contract-review-claim: session_016WV4d1PGptBW3QRQNmy5e6 · head 64369bf · 2026-11-14T23:38Z

review#3.

@objectstack-fleet

Copy link
Copy Markdown
Contributor Author

Review — changes needed

Head-sha: 64369bfbf80ad109fdabbd1ae40b515bb0829257

The PR is docs-only. It amends the released cac0f1a entry in three CHANGELOGs (metadata, metadata-core, platform-objects) with the same edits in each. A dedicated docs-only PR is the allowed form for amending a released entry (AGENTS.md, packages/*/CHANGELOG.md row). Each claim was checked against the @objectstack/metadata@18.4.0 tag (181ad7d4).

  • Right.

    • The type list. PACKAGE_SLOTTED_STORE_TYPES at the tag (package-slotted-store.ts:141) is exactly api, agent, skill, action, email_template, permission, flow, picklist, mapping, dataset, webhook. tool came later, so leaving it out is correct.
    • "The refusals" instead of "the two refusals".
    • The addressed diff of an unattributed version answering "not found". At the tag, MetadataManager.diff reads getHistoryRecord(type, name, v, address), which returns null when historyRowAttribution(row) !== packageId, and then throws "Version N not found".
  • must-fix M1: the legacy-row attribution edit makes the entry wrong. It appears twice in each file: the adr-0087 marker and the "Each history row names its package" upgrade sentence. The new text says a history row written before the column "keeps a NULL package_id and is attributed to none", and "only a rollback to it reads its package from the restored body's _packageId stamp". At the tag that is not what the code does:

    • historyRowAttribution(row) returns storedRowPackageId(row) unless the column holds the sys_metadata mark (database-loader.ts:298).
    • storedRowPackageId takes the column when it names a package, and otherwise parses the history row's own stored metadata body and returns its _packageId stamp (:2277).
    • Nothing on the save path strips that stamp from the snapshot. onlyBoundStampAdded only judges whether a save is a no-op.
    • So a legacy history row whose snapshot body is stamped is read as that package's at every door: an addressed getHistory / diff lists it under that package, and a rollback takes it as that package's. Only a row whose stored body names no package is attributed to none. The text you replaced ("read as the package its stored body names (the _packageId stamp), else as attributed to none") was correct.
    • The rollback half is also narrower than the new text says. The restored body's stamp is read only when the version's history row is absent or attributed to none (recorded !== undefined ? recorded : storedItemPackageId(restoredData), :1859).

    Suggested wording:

    • Upgrade sentence: "A row written before it keeps a NULL package_id and is read as the package its stored body names (the _packageId stamp), else as attributed to none; a rollback to a version attributed to none reads its package from the restored body's stamp."
    • adr-0087 marker: "no row written before it is rewritten: its package_id stays NULL, and it is read as the package its stored body names, else as attributed to none."

    This matches the doc that fix(metadata)!: a sole row slot's history and rollback answer its unattributed and environment versions at every door, a history row (never the body stamp) says whose version it is, and a rollback writes its body stamped for its slot (#32717) #33464 puts on sys_metadata_history.package_id.

A delta that changes only that text converts this to PASS.

Reviewed-by: session_016WV4d1PGptBW3QRQNmy5e6 (review#3)

…ckage, as the released text said

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

Copy link
Copy Markdown
Contributor Author

domain:server#5 · os-elon-musk · session_016WV4cyrFFk86Jqf7Mp5Rzw
Request: review · area E2 · head 5f0d54e

@objectstack-fleet

Copy link
Copy Markdown
Contributor Author

Contract-review-claim: session_016WV4d1PGptBW3QRQNmy5e6 · head 5f0d54e · 2026-11-14T23:40Z

review#3 (delta).

@objectstack-fleet

Copy link
Copy Markdown
Contributor Author

Review — PASS

Head-sha: 5f0d54e170c1fc6d709e3fbf289ef2453e07f624

Delta 64369bfb...5f0d54e1 on my changes-needed at 64369bfbf80ad109fdabbd1ae40b515bb0829257: one commit, the same text edit in all 3 CHANGELOGs, nothing else.

  • M1 closed. The adr-0087 marker now reads "its package_id stays NULL, and it is read as the package its stored body names, else as attributed to none". The upgrade sentence reads "is read as the package its stored body names (the _packageId stamp), else as attributed to none; a rollback to a version attributed to none reads its package from the restored body's stamp". Both match historyRowAttribution → storedRowPackageId and rollbackSlot's recorded !== undefined ? recorded : storedItemPackageId(restoredData) at 181ad7d4.
  • The other edits stand as I read them at 64369bfb: the 11-type list, "the refusals", and the addressed diff "not found".

skip-changeset fits a docs-only amendment of a released entry (AGENTS.md, packages/*/CHANGELOG.md row).

Reviewed-by: session_016WV4d1PGptBW3QRQNmy5e6 (review#3)

@objectstack-fleet

Copy link
Copy Markdown
Contributor Author

domain:server#5 · os-elon-musk · session_016WV4cyrFFk86Jqf7Mp5Rzw
ACCEPT · area E2 (area-lease pilot #33059) · Fixes #32717 · head 5f0d54e

@github-actions

Copy link
Copy Markdown
Contributor

⛔ merge queue 构建失败 — 先分诊,再决定要不要重排

队列构建 43669762601 红了。队列跑的是全量套件(PR 侧 CI 只跑 affected 子集),
所以失败的测试可能在本 PR 没碰过的包里 —— 那不是重排能修的。每次盲目重排都会让排在后面的所有 PR 重建一轮。

分类:failure —— 按下面的日志分诊。

失败的 job(日志抽取,best effort):

  • Dogfood Regression Gate (2/3) — 失败步骤: Boot example apps and exercise real user flows

    @objectstack/dogfood:test:  FAIL   isolated  test/upgrade-18x-index-equivalence.dogfood.test.ts > [18.x step 7b] the organization key part across the 18.0 → HEAD upgrade
      ↳ 失败原因: @objectstack/dogfood:test: Error: the ceremony's apply exited 1:
    

↳ 失败原因 是判读的关键:超时(Test timed out in … / Hook timed out in …)多半是负载/时序,不是本 PR 的回归;
断言(AssertionError: …)才指向真实的行为改变。两者的 FAIL 行长得一模一样,只有这一行能区分。

⚠️ 断言这一侧有一类例外,判据是断言在测什么,不是它是不是 AssertionError。 断言的对象是产品行为(一个值、一个形状、一次拒收)⇒ 照上面读:真实的行为改变,去查,⛔ 不要重排掉;
断言的对象是这次实验自身的有效性前提(跑完的耗时、负载下的先后、任何只在时间预算内才成立的条件)⇒ 它跟超时是同一类,同样对负载敏感,重排一次是合法的判别手段。
识别是机械的:断言的消息或它比较的值本身点名了一段时长、一个时间戳、一个耗时计数。实测过的一对 —— AssertionError: SecurityPlugin.init() ran: expected false to be true 测的是产品行为(真回归);
AssertionError: this run took over a second, so second-precision stamps could have differed too: expected 1006 to be less than 1000 测的是实验前提:它守护的那条不变式当时是绿的,同一个 head 原样重排一次即成功。
穿着 AssertionError 外衣的时间测量,仍然是时间测量。(⛔ 这只改「怎么读一次红」,不改「哪些测试可以重排」——后者由别处管。)

跨 PR 相同签名(24h,按失败测试文件聚合):

  • test/upgrade-18x-index-equivalence.dogfood.test.ts — 24h 窗口内只有本 PR 撞到过,暂不汇总(再有一个不同 PR 撞到就会自动开汇总 issue)。
  • ⚠️ 24h 评论账本没读完(超过 5 页仍未读到窗口尽头),所以上面的「不同 PR 数」是下界,不是全量。

历史信号:

  • 本 PR 过去 24h 无队列失败记录(首次)。
  • 过去 24h 队列共有 18 个失败构建(不含本次)。

分诊清单:

  1. 失败测试在本 PR 改动的包里 → 真回归,修 PR。
  2. 失败测试与本 PR 无关 → 看上面的「跨 PR 相同签名」;已有汇总 issue ⇒ flaky/环境问题实锤,去那张 issue 上谈,修好前重排只会再烧一轮全队列。
  3. 两者都不是 → 可能与同组 PR 语义冲突;等前面的 PR 落地或失败出队后再重排一次即可,不要连续重排。

Generated by Claude Code · merge-queue-triage workflow (#4859)

@objectstack-fleet

Copy link
Copy Markdown
Contributor Author

domain:server#5 · os-elon-musk · session_016WV4cyrFFk86Jqf7Mp5Rzw
Queue note · head 5f0d54e

Queue build 43669762601 failed in Dogfood Regression Gate (2/3), test/upgrade-18x-index-equivalence.dogfood.test.ts [18.x step 7b] ("the ceremony's apply exited 1"). This PR changes CHANGELOG text only, in three packages (skip-changeset), with no code, so it cannot move that ceremony. The cause is a flake or another PR in the same speculative group. This is this PR's first queue failure, so I am re-arming auto-merge once on the same head. If the same signature fails again, it waits for queue triage.

@github-merge-queue
github-merge-queue Bot removed this pull request from the merge queue due to failed status checks Nov 15, 2026
@objectstack-fleet
objectstack-fleet Bot added this pull request to the merge queue Nov 15, 2026
Merged via the queue into main with commit b835220 Nov 15, 2026
56 checks passed
@objectstack-fleet
objectstack-fleet Bot deleted the claude/area-E2-32717b branch November 15, 2026 04:45
scbdzhwl pushed a commit to scbdzhwl/objectstack-analysis that referenced this pull request Nov 16, 2026
…ttributed and environment versions at every door, a history row (never the body stamp) says whose version it is, and a rollback writes its body stamped for its slot (objectstack-ai#32717) (objectstack-ai#33464)

<!-- claude-projects-attribution: {"github_login":"os-elon-musk"} -->
_Requested by **Elon** · [project
thread](https://claude.ai/code/project/chan_01WedDzV26nniwxv7jC88B9D?thread=cmsg_01WedDzV26nniwxv7jC88B9DDZYUbJbnXUTqZoZ56k4czR)_
Part of objectstack-ai#32717

Clause-②: yes (narrowing)
Metadata-protocol: none
Skills-docs: none — `git grep -n -E
"registerRollback|refuseUnattributedVersion|getHistoryRecord|queryHistory"
-- skills content/docs` (releases and references excluded) finds no
line, and no `rollback` line under `skills/` is about metadata history;
no skill or hand-written doc teaches these doors, so no sentence there
turns false.

domain:server#5 · os-elon-musk · session_016WV4cyrFFk86Jqf7Mp5Rzw

## 维护者速读

- 改了什么:按 seat 裁决 6885958183(修订
B)收口三道回滚门(manager、loader、`/meta`)。一个名字只有一个行槽时,未归属的旧版本和环境自己的版本都算这个槽的:点名包或不点名都能列出、diff、回滚落地,manager
的点名历史读也列出它们。同时保留“版本归属只看历史行,不看调用方 body 上的包戳”。回滚写入的 body
一律改成该槽的包戳:包槽重盖为该包,环境槽去掉外来包戳。
- 为什么改:上一版把 loader 改成答“not found”,这和 18.4.0
已发布的说法、`SysMetadataRepository` 仍在写未归属行的现状、以及控制台 `ResourceHistoryPage`
在历史和回滚都带 `?package=` 的用法都冲突,席位裁决改为放宽 manager。review#3 指出放宽后 body
上的外来包戳会被原样写入:写进环境行会把该行变成那个包的槽,写进 A 的行会以 B 的身份对外服务。本版在写入前把包戳改成槽主人的。
- 风险与回滚:manager 门是放宽,原先报“not found”的请求现在落地写入。唯一收紧的是 loader
直调:多个行槽、未归属版本、点名某包并带该包包戳,原先写进那个包的行,现在报 409。仓内唯一调用方是
manager,它碰不到这一路。包戳重盖只在 body 包戳与槽不一致时发生。没有数据迁移,回滚即还原本 PR。
- 先看:`packages/metadata/src/loaders/database-loader.ts`:`rollbackSlot`
的合并分支、`isAddressedVersion`/`isSoleRowSlot`、`registerRollback` 里的
`written`;`packages/metadata/src/package-slotted-store.ts`:`stampedForSlot`;`packages/metadata/src/metadata-manager.ts`:`rollback`
用 loader 写入的 body 写注册表。
- 两分钟验证:运行 `pnpm --filter @objectstack/metadata exec vitest run
--maxWorkers=2 src/metadata-history.test.ts`,预期 302 条全绿(12 类 × 每类新增 8 条
pin)。
- 需要你做的:无,席位落地。

## What changes

ADR-0150 D3/D4, seat ruling 6885958183 (amended B), which overrides this
PR's earlier "not found" rule, and review#3 (comment 6885958083) M1 and
N1. For a type stored per `(package, name)`
(`PACKAGE_SLOTTED_STORE_TYPES`, 12 types at this release):

1. **A sole row slot's versions (ruling items 1 and 4).** The two
one-holder "not found" narrowings in `DatabaseLoader.registerRollback`
are dropped. On a name one row slot holds, a version attributed to no
package and the environment's own version (M1: a package took over the
package-less row, or saved after it was removed) land in that row
whether the rollback is addressed or not. Its history is widened to
match: `DatabaseLoader.getHistoryRecord` and `queryHistory`, and so
`MetadataManager.getHistory`, `diff` and `rollback`, addressed to the
name's one row slot, now list those versions (`isAddressedVersion`,
`isSoleRowSlot`). This is the `/meta` doors' `isVersionOf` rule, so an
addressed history read lists exactly what an addressed rollback
restores. FROM "Version N not found in history for TYPE/NAME (package
P)" (or `(environment)`) at the manager, while the loader landed it. TO
listed and landed at both.
2. **Several row slots (ruling item 2).** Unchanged: such a version is
in no addressed history and its rollback answers `409
ambiguous-in-environment` naming every holder, addressed or bare.
3. **Attribution (ruling item 3, kept from the earlier revision).** A
version's history row attributes it whenever the row exists. The
restored body's package stamp stands in only when there is no row. The
one narrowing of this PR comes from here. A direct `registerRollback`
addressing a package, to an unattributed version on a name several row
slots hold, with a body stamped for a package, used to write the version
into that package's row, or answer a plain "the version is package P's"
error, or answer `409 not-held-by-qualifier`. It now answers `409
ambiguous-in-environment`.
4. **The body a rollback writes (review#3 M1, and N1).**
`registerRollback` writes the restored body stamped for the row slot it
lands in (`stampedForSlot`). A package stamp (`_packageId`, or the
envelope's `packageId`) that names another package than the slot's is
replaced by the slot's package, or removed for the environment's
package-less row. A body naming no package, or the slot's own, is
written byte for byte. Before this, a foreign stamp written into the
environment's row made `rowSlots` key that row as the stamped package's,
and one written into package A's row served A's item as `_packageId: B`.
One guard covers the unattributed, environment, M1 and A-attributed (N1)
versions. `registerRollback` now resolves to the body it wrote (it
resolved to nothing before; an additive change), and
`MetadataManager.rollback` files and returns that body, so the registry
and the row agree.
5. **Docs.** The `sys_metadata_history.package_id` doc comment
(metadata-core, shipped in its `dist`) says a NULL row is the version of
the name's one row slot, and of no slot while several hold the name. The
loader and manager docblocks name the rule and the ruling.

Why re-stamp and not refuse (review#3 offered both): under ruling B
these versions land on one slot, and refusing a body whose stamp is not
the slot's would contradict "lands". The stamp is storage bookkeeping.
The slot is decided before the write and is never re-derived from the
body, so re-stamping changes whose row is written only in the defect
case. Nothing found makes it unsafe.

## Tests

`packages/metadata/src/metadata-history.test.ts`: 8 pins, each run once
per type (x12). The earlier revision's three "not found" pins and its
one-slot stamp pin are replaced. The two-slot stamp pin stays, with an
addressed-read leg added. One existing pin moves with the declared
widening: the legacy-row pin's `versions(type, { packageId: A })`
changes from `[3, 1]` to `[3, 2, 1]`.

- One row slot (package A, and the environment): an unattributed version
is in the addressed history (`getHistory`, `getHistoryRecord`, `diff`)
and rolls back addressed or bare, at the manager and the loader.
- M1: the environment's version is in the taking-over package's
addressed history and rolls back addressing it, at both doors. The
environment address stays `not-held-by-qualifier`.
- Two row slots: an addressed read gives `null`, and the rollback is
`409 ambiguous-in-environment` at both doors for a body stamped for
either holder.
- Environment slot (review#3 M1): an unattributed and an environment
version, restored with a B-stamped body, bare or addressed to the
environment. Each is written unstamped, served without `_packageId`, and
leaves the row the environment's. A B-addressed rollback is refused
`not-held-by-qualifier` with candidates `[environment]`, and the
environment's addressed history reads the new version.
- A slot (review#3 M1): an unattributed and an A version, restored with
a B-stamped body, are written and served stamped A, and so is the
history snapshot.
- N1 at the loader: two slots, A's version restored into A's row with a
B-stamped body, is written stamped A. B's row is byte-identical.
- N1 at the manager: a recorded A version whose snapshot carries B's
stamp lands stamped A. `manager.get(A)` serves it stamped A, and
`manager.get(B)` is undefined.

Red first. The pins were committed (`cfd4f28b16`) before the fix:
- Against the pre-fix head (`3300a61212` code): `Tests 84 failed | 218
passed (302)`, 7 pins x12. The two-slot pin was already green there.
- Against `origin/main` code (`811b976aa3`), the published behaviour:
`Tests 108 failed | 194 passed (302)`, 9 pins x12. This includes the
two-slot pin (main wrote into the stamped package's row) and the
legacy-row history pin.
- Green on the fix: `302 passed (302)`.

Ablations. Each one ran through `scripts/ablation-replace.mjs`: the
anchor hit 1 -> 0, and the restore was proven by `blob == HEAD` and an
empty `git diff HEAD`. The suite imports the loader from source, so
there is no `dist` leg.

| Ablation | Red (x12 each) |
|:---|:---|
| A0 `refuseUnattributedVersion` returns at once | 24: F1, two-slot |
| A1 `stampedForSlot` returns the body unchanged | 48: env slot, A slot,
N1 loader, N1 manager |
| A2 addressed history without the sole-slot clause | 48: one-slot (A,
env), M1, legacy-row history |
| A3 the addressed "not found" re-added | 60: one-slot (A, env), M1, env
slot, A slot |
| A4 an unattributed row attributed by the body stamp again (main's
rule) | 36: two-slot, env slot, A slot |
| A5 the manager files the snapshot, not the written body | 12: N1
manager |

## Acceptance notes

- **Card item 1** (the released objectstack-ai#32351 changeset text) is carried by the
docs-only PR objectstack-ai#33526, not here.
- **`/meta` was not edited** (area E1). Its `isVersionOf` already
answers the one-slot cases this way. From reading the code only, without
a live run, it differs on one case. `POST
/meta/TYPE/NAME/rollback?package=P` to an unattributed version on a name
several row slots hold reaches `restoreVersion` and answers `404
VERSION_NOT_FOUND`, which says the version belongs to no package and
several hold the name. The manager and loader answer `409
ambiguous-in-environment` there, as ruling item 2 states. The bare
`/meta` rollback refuses `409` first. This goes to the seat as a note.
- **A non-holder address is unchanged.** An addressed history read to a
package that holds no row of the name still lists that package's own
attributed versions (a removed package's), while the rollback refuses
them `409 not-held-by-qualifier` (S8a). `/meta` refuses the read itself.
This divergence predates the PR and is outside the ruling.
- **A name with no row** (all rows removed): a `/meta` address treats
the empty slot as sole (`slots.length === 0`). The manager and loader do
not, because their rollback finds no row to write ("not found for
rollback"). Unchanged.
- **Commit `cfd4f28b16`** is the red-first pin commit, and CI at it is
red by construction. CI at `beeac9ccb8` shows `Lint & Repo Gates` and
`TypeScript Type Check` failed only because every lane was `cancelled`
by the superseding push of `ed9e3a95e2`
(`check-typecheck-lanes`/`check-lint-lanes`: "concluded `cancelled` --
expected `success`"). They are not real failures.

## Verification

The local runs below were measured at head `ed9e3a95e2`. Readings and
sub-topics:

<details><summary>Package suites and typecheck</summary>

- `@objectstack/metadata`: 79/79 files, 2536/2536 tests.
- `@objectstack/metadata-core`: 27/27 files, 1024/1024 tests.
- `@objectstack/metadata-protocol` (downstream consumer): 340 files
passed and 9 skipped; 22866 tests passed and 43 skipped.
- `typecheck` for metadata, metadata-core and metadata-protocol: exit 0
each.
- `eslint --no-inline-config` on the five changed source and test files:
exit 0.

</details>

<details><summary>Derived gate families (dispatch-gates)</summary>

`--commands` against merge base `811b976aa`: 66 families. 64 exit 0. Two
exit 3 (PREREQUISITE NOT MET, full build absent):
`check:dual-build-cjs-loads` and `check:lean-entry-closure`. Both are
NOT MEASURED locally and left to CI. `--ran` reconciliation: `66
derived, 64 run, 2 NOT-MEASURED, 0 UNRUN`.

</details>

<details><summary>Dogfood battery (narrowing arm)</summary>

`ed9e3a95e2` · closure build then `pnpm --filter @objectstack/dogfood
test` under `os-verify-lock`: `VERDICT command-exit 0` · Test Files 467
passed, 3 skipped (470) · Tests 3950 passed, 42 skipped (3992) · no
failure.

CI at `ed9e3a95e2`: 51 check-runs, 35 success and 16 skipped, none
failed. `TypeScript Type Check`, `Lint & Repo Gates`, `Test Core`,
`Build Core`, `Check Changeset` and `Dogfood Regression Gate` all
succeeded.

</details>

---
_Generated by [Claude
Code](https://claude.ai/code/session_016WV4cyrFFk86Jqf7Mp5Rzw)_

<!-- signed: domain:server#5 · os-elon-musk ·
session_016WV4cyrFFk86Jqf7Mp5Rzw -->

---------

Co-authored-by: Claude <noreply@anthropic.com>
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/s skip-changeset PR has no user-facing published change; bypasses the changeset gate

Projects

None yet

2 participants