Repository navigation
feat(spec)!: PROTOCOL_VERSION 18 → 19, and every current-protocol handshake reads '^19' - #37314
Conversation
…dshake reads '^19' Claude-Session: https://claude.ai/code/session_01QSeKYnLptCbfzwtkTrDG3j Co-authored-by: Claude <noreply@anthropic.com>
…edited fixtures Claude-Session: https://claude.ai/code/session_01QSeKYnLptCbfzwtkTrDG3j Co-authored-by: Claude <noreply@anthropic.com>
…l, and its changeset Claude-Session: https://claude.ai/code/session_01QSeKYnLptCbfzwtkTrDG3j Co-authored-by: Claude <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01QSeKYnLptCbfzwtkTrDG3j Co-authored-by: Claude <noreply@anthropic.com>
…otocol-version-19
…t change graded major Claude-Session: https://claude.ai/code/session_01QSeKYnLptCbfzwtkTrDG3j Co-authored-by: Claude <noreply@anthropic.com>
…nd prints the tag's commit Claude-Session: https://claude.ai/code/session_01QSeKYnLptCbfzwtkTrDG3j Co-authored-by: Claude <noreply@anthropic.com>
📓 Docs Drift CheckThis PR changes 6 package(s): ⛔ 5 release-owned page(s) name something this change touched. These are read-only:
What this run could not see
Coarse fallback — 182 page(s) merely mention a changed package (the pre-#9192 predicate, kept for the deliberately-wide backstop): Which tree this was computed onThis run read A worktree cut from an older # while this PR is open — GitHub drops the merge commit once it closes
git fetch origin c7a37cdfd91515f412c403822748315939c24a79 && git checkout c7a37cdfd91515f412c403822748315939c24a79
# afterwards, rebuild it from the two parents, which stay fetchable
git fetch origin da7c559990d879de9038ccf54e294e58bbaa647f 3811cd10f5ac58e39fcde695911503c06ba1e872 && git checkout -B drift-repro da7c559990d879de9038ccf54e294e58bbaa647f && git merge --no-ff 3811cd10f5ac58e39fcde695911503c06ba1e872
node scripts/docs-audit/affected-docs.mjs --json da7c559990d879de9038ccf54e294e58bbaa647f
|
… protocol 19
At protocol 19 the load seam refuses an engines.protocol of '^18', so the
three boot suites failed in beforeAll with ProtocolIncompatibleError. The
file's subject is the conversion window, which opens on the 18.0.0 floor:
'>=18.0.0' keeps that floor and admits 19, the same move the runtime
fixtures made for the protocol-18 bump ('>=17.1.0').
Co-Authored-By: Claude <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01QSeKYpEsWWE9Y5YtSsDgqZ
|
repo:objectstack#4 · os-justin · session_01QSeKYpEsWWE9Y5YtSsDgqZ 席位核对 — REWORK · L1 · head
|
|
repo:objectstack#4 · os-justin · session_01QSeKYpEsWWE9Y5YtSsDgqZ Contract reviewServed-tier: ① Derived judgments
② Semver level
③ Boundary flags
④ Design judgment
Implemented-by: VERDICT: FAIL |
…tated, mcp gets its changeset With PROTOCOL_VERSION at 19 the release-name pin derives @objectstack/spec 19 for every retirement stamped after 18.6.0, so the three joined prescriptions (object-grid singleClickEdit, field inlineEdit boolean, view columnState) and the two seed-mode prescriptions, none of them in the published 18.6.0, name 19.0.0 instead of 18.7.0, a release the v19 line never cuts. Their text pins, the seed-data guide, the seed-mode checklist item and the pending skills changeset follow. The step-19 entry and the changeset say what `os migrate meta --from 18 --write` does: it rewrites a root defineStack manifest's range and lists a composeStacks-composed one for a hand edit in each package manifest. The protocol checklist item is revised to the protocol-19 truth, the changeset names @objectstack/mcp (its README ships), and four comment nits. Claude-Session: https://claude.ai/code/session_01QSeKYpEsWWE9Y5YtSsDgqZ Co-authored-by: Claude <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01QSeKYpEsWWE9Y5YtSsDgqZ Co-authored-by: Claude <noreply@anthropic.com>
The one-word comment edit pulled the file under check:test-source-alias's edited-file half, which then owes thirteen module-top imports unrelated to this change. The sentence reads true at protocol 19 as written. Claude-Session: https://claude.ai/code/session_01QSeKYpEsWWE9Y5YtSsDgqZ Co-authored-by: Claude <noreply@anthropic.com>
…llow the protocol move The metadata-protocol seed refusal pin reads the 19.0.0 prescription the seed modes now carry. The travel_expense build's provenance records the sha256 of the build as it now stands, with an amended entry naming the one edit (engines.protocol '^18' to '^19') and the sha256 it replaced. Claude-Session: https://claude.ai/code/session_01QSeKYpEsWWE9Y5YtSsDgqZ Co-authored-by: Claude <noreply@anthropic.com>
…d; run --template warns on a stale cardSha256 (objectstack-ai#37339) Fixes objectstack-ai#36491 Clause-②: no Metadata-protocol: none ## 维护者速读 - 用户无感:只影响内部场景评测工具,差旅报销的已验证构建记录改成指向现在这张卡,评测跑在不匹配的记录上时会先提示一句。 - 属于场景卡评测的固定样本维护,替每日问数评测解决"记录指向旧卡"的问题。 - 出错时只是多一行或少一行提示,评测照常打分;改动可直接撤回。 - 无 ## What changes - `docs/qa/scenarios/builds/travel_expense.provenance.json`: `cardSha256` `29162eef…` -> `212abedb6b59a5ac0c6921c25bdcc4dc057cbc25e866a9cd2ed962920368a00d`, the sha256 of the raw bytes of `docs/qa/scenarios/travel_expense.json` on `dbc1765a24`. That is the hash the loader computes (`loader.ts` `fileSha256`, `createHash('sha256').update(bytes)`) and every run record stamps (`CardStamp`); there is no canonical form. The issue body names `a8a67be3…`; the card moved again since (objectstack-ai#36503 to `68eb89a9…`, objectstack-ai#36617 to `212abedb…`). - `packages/qa/scenarios/src/runner/cli.ts`: `templateProvenanceWarning(path, card)` reads `F.provenance.json` beside the `--template F` file; when it names the same card with another `cardSha256` (or none, or is not JSON), `run` prints a `warning: template provenance:` line before the card runs. It never refuses; a missing provenance or one for another card says nothing. It lives in the CLI entry, not the `./runner` export, so the published import surface is unchanged. - `packages/qa/scenarios/README.md`: one sentence under "Template and ask modes". - Changeset: `@objectstack/scenarios` patch. ## Acceptance notes - **Provenance honesty.** The build was authored from card `9d0c7dad…` (the card when objectstack-ai#35222 committed it). Practice since objectstack-ai#35764 and objectstack-ai#36065 has been to refresh `cardSha256` on a card edit with the build untouched, so the field reads as "the card this fixture is current against", while objectstack-ai#36617's body reads it as "the card at build time". This PR follows the practice. Measured to back it: between `9d0c7dad…` and `212abedb…` only the card's `prompt` and `run` keys differ; `expect` and `iterate` are byte-identical (top-level `JSON.stringify` compare). A scratch `scoreGraph(artifactToEvalGraph(build), expect)` re-score gives 61/61 on both the `29162eef…` card and the current one. So the `verified` scores still hold for the current card, but `built`/`author` describe a run made against an older prompt (the step-two routing prose from objectstack-ai#35098 and the record-triggered flow prose from objectstack-ai#36617 are not in it). The provenance still does not record that, and this PR does not add a field for it. - **Other provenances.** `builds/` holds one provenance, so there are no others to refresh. - **Not in this PR: a fixture pin.** I wrote a test that reads `docs/qa/scenarios/builds/` and holds each `cardSha256` equal to its card. That turns the next stale card edit into a red CI run, not only a run-time warning. `check:cross-package-test-inputs` refused it because the radius is undeclared, and declaring it means editing `scripts/cross-package-test-inputs.mjs` and the root `turbo.json`, both outside this card's file surface. I left it out. - **Open PR objectstack-ai#37314** changes `docs/qa/scenarios/builds/travel_expense.json` (`protocol ^18 -> ^19`) without touching the provenance. Once it lands, the provenance's `sha256` (`4ab7e603…`) no longer matches the build file, and no `amended` entry records the change. That PR does not overlap these files. ## Verification First read (by risk): 1. `packages/qa/scenarios/src/runner/cli.ts`, `templateProvenanceWarning`: when it stays silent and when it warns. 2. `docs/qa/scenarios/builds/travel_expense.provenance.json`: the one-line hash change. Two-minute check: `sha256sum docs/qa/scenarios/travel_expense.json` prints `212abedb6b59a5ac…`, the same value the provenance now holds. <details><summary>Tests and gates (head 0d4f42e)</summary> - `os-verify-lock.sh -c "pnpm --filter @objectstack/scenarios build && … typecheck && … test"` on `af13a9a6a5` (the test/src tree of the final head): VERDICT command-exit 0; Test Files 43 passed (43), Tests 1342 passed (1342). - Ablation (committed first, restored with `git checkout HEAD --`, `git diff HEAD` empty, blob hash matched): `scripts/ablation-replace.mjs` replaced `if (provenance.cardSha256 === card.sha256) return undefined;` with `return undefined;` (anchor 1 -> 0). `test/runner/template-provenance.test.ts` then went 2 failed / 4 passed, the two warning cases red. - `node scripts/pm/dispatch-gates.mjs --commands` on `af13a9a6a5`: 65 commands, all run; `--ran` reconciliation: 65 derived, 65 run, 0 UNRUN. Non-zero: `check:dual-build-cjs-loads` exit 3 PREREQUISITE NOT MET (needs a whole-workspace build, so NOT MEASURED locally; CI runs it). `check:dts-closure` exit 1 in the batch because `plugin-audit` dist was half-built in this shared tree; after `pnpm --filter @objectstack/plugin-audit build` it exits 0. On `0d4f42ec49` (changeset declaration lines only) the changeset family ran again: `check-changeset-no-major`, `check-empty-changeset`, `check-adr-0087-registration`, `check:changeset-gate-self-tests` and `check:nul-bytes` all exit 0. - `scripts/pm/overlap-check.mjs`: VERDICT clean exit 0. objectstack-ai#37314's file list does not intersect this diff. </details> --- 🤖 Generated with [Claude Code](https://claude.com/claude-code) https://claude.ai/code/session_01QSeKYo86w1wqy2z2fMrryr --------- Co-authored-by: Claude <noreply@anthropic.com>
… its REST twin) (objectstack-ai#37378) <!-- claude-projects-attribution: {"github_login":"os-bill"} --> _Requested by **Bill** · [project thread](https://claude.ai/code/project/chan_016iMXWSZDzqWRWvWzdNo8wg?thread=cmsg_016iMXWSZDzqWRWvWzdNo8wg8ZBQe4UHadd2fGHGeWRW9V)_ repo:objectstack#5 · os-bill · session_01Utp6CbdHk3orAeensH6EzS Fixes objectstack-ai#35868 Clause-②: no Metadata-protocol: none ## 维护者速读 - 用户能看到什么变化:运维与租户管理员在文档站能读到「把已存的自由文本单位换成单位代码」的命令与接口说明,并新增一页「计量单位」;功能本身不变。 - 为什么做:单位保存被拒时提示里点名的修复命令,文档此前只字未提;属于计量单位(单位代码)这条线的文档补齐。 - 出错会怎样:只影响文档与一段配置项说明文字,写错只会误导读者,可随时撤回。 - 要你做什么:无。 ## What changes - `content/docs/deployment/cli.mdx`: a row for `os migrate unit-codes` in the `os migrate` table, and a new `os migrate unit-codes` section beside `os migrate record-currency-codes` — dry-run (no mapping, then with mapping) and apply examples, the mapping file shape with the `""` entry for a blank unit beside a quantity, the `--org` / `--all-organizations` scope rule, what is never rewritten, and the REST twin `POST /api/v1/meta/_migrate-unit-codes` (body, preview posture, 403s, the maintenance switch). Every claim measured against `packages/cli/src/commands/migrate/unit-codes.ts`, `packages/objectql/src/unit-code-backfill.ts` and `packages/rest/src/meta-unit-code-backfill-route.ts` at 98bda0a. - `content/docs/data-modeling/units.mdx` (new, listed in `meta.json` after `currency` and in the section's landing index): the three `unitConfig` modes, and "Converting a field that already holds rows" — the two 409 findings, the dry run, the mapping, `--apply` — linking the CLI section. Overlap check (A3): no data-modeling page explained units or `unitConfig` (`field-types.mdx`, `fields.mdx`, `field-type-decision-tree.mdx`: zero `unitConfig` hits), so a new page beside `currency.mdx`. - `packages/spec/src/api/rest-server.zod.ts`: the `metadata.endpoints.maintenance` describe names `POST /meta/_migrate-unit-codes` beside the currency door (the route already registers behind that switch, and `rest-config-mount-table.pin.test.ts` already pins it). `content/docs/references/api/rest-server.mdx` regenerated by `check:generated --fix` (only `check:docs` was stale). Patch changeset for `@objectstack/spec`. ## Acceptance notes - The card names the findings `unit_mode_to_record` and `unit_mode_to_code`; main raises `unit_mode_to_record` and `unit_code_field_declared` (`packages/metadata-protocol/src/protocol-write-face.ts`). The docs follow the code. - No SDK method exists for the unit door (no `migrateUnitCodes` in `packages/client/src`), so unlike the currency section there is no SDK example. - **Open fence item:** adding the page makes `pnpm check:docs-audit-scope` red: `scripts/docs-audit/handwritten-docs.json` must list `content/docs/data-modeling/units.mdx` (one generated line, `node scripts/docs-audit/check-audit-scope.mjs --write`). That path is outside the claim's file surface, so it is not in this PR; it waits for the seat's word. ## Tests <details><summary>Local runs at 9ec53fc</summary> - `pnpm --filter @objectstack/spec build` → VERDICT command-exit 0 - `pnpm --filter @objectstack/spec check:generated` → 1 of 14 stale (`check:docs`), fixed with `--fix`, rest-server.mdx 1 line - `pnpm --filter @objectstack/spec typecheck` + `vitest run src/api/rest-server.test.ts` → Test Files 1 passed, Tests 53 passed - `dispatch-gates --commands` derived 104 families; all run; `--ran` reconciliation 104/104. Red: `check:docs-audit-scope` (the fence item above). Not measured locally (exit 3, prerequisite: whole-workspace build): `check:dual-build-cjs-loads`, `check:lean-entry-closure`, `check:skill-examples`, `check-plugin-teardown-shape --self-test` (shallow clone) — CI runs them. After building the lint closure: `check:doc-formula-expressions`, `check:doc-security-posture`, `check:docs-transcript-drift` exit 0. - `overlap-check --branch=HEAD` → clean against origin/main and objectstack-ai#37314. </details> ## Verification Read first: `content/docs/deployment/cli.mdx` (the new section; risk: a claim that drifts from the command), `content/docs/data-modeling/units.mdx`. Two-minute check: `git grep -n "_migrate-unit-codes" -- packages/spec/src/api/rest-server.zod.ts content/docs` shows the describe, its reference row, the CLI section and the units page. --- _Generated by [Claude Code](https://claude.ai/code/session_01Utp6CbdHk3orAeensH6EzS)_ 🤖 Generated with [Claude Code](https://claude.com/claude-code) <!-- signed: repo:objectstack#5 · os-bill · session_01Utp6CbdHk3orAeensH6EzS --> --------- Co-authored-by: Claude <noreply@anthropic.com>
…'^19', the major the 19.x boot handshake accepts (objectstack-ai#37298) <!-- claude-projects-attribution: {"github_login":"os-bill"} --> _Requested by **Bill** · [project thread](https://claude.ai/code/project/chan_016iMXWSZDzqWRWvWzdNo8wg?thread=cmsg_016iMXWSZDzqWRWvWzdNo8wgFiXLbrG7d8JVydkmtSf4Bt)_ Fixes objectstack-ai#37460 Clause-②: no Metadata-protocol: none ## 维护者速读 - 客户项目里的 AI 助手照着技能包写应用配置时,声明的协议大版本从 18 变成 19;技能包的考题也同步改成 19。 - 属于「19.0.0 大版本」这条线:运行时的协议版本升到 19 之后,技能包要教同一个数,否则照抄的配置启动就被拒。 - 若它早于协议升 19 的那个改动上线,照着技能写的新项目会在 18 版运行时上启动被拒;纯文字改动,可以直接撤回。 - 要你做一件事:「进入预发布阶段」和「协议升到 19」两个改动都已合入,请审批这个受管的技能包改动。 ## What changes PR 2 of 2 for the card (seat direction: option A on the shape of the v18 move). This is the `skills/**` half, split off because `skills/**` is a governed surface. The sibling PR 1 moves `PROTOCOL_VERSION` to `19.0.0` and every other tracked `'^18'` on branch `claude/issue-37229-protocol-version-19` (PR objectstack-ai#37314). PR 1 and objectstack-ai#37230 (pre mode plus the pending `@objectstack/spec` major) are both on `main`, so the landing order this PR waited on is met. It stays draft because `skills/**` is Tier H. Four lines in three files, each rewritten in place at equal byte length: - `skills/objectstack-platform/SKILL.md` L111: the `defineStack` manifest example declares `engines: { protocol: '^19' }` (was `'^18'`). - `skills/objectstack-platform/evals/config-plugins-ops.json` L6 and L7: eval 1's prompt asks for `protocol 19` and its expected output is `'^19'`, so the eval stays consistent with the skill it scores. - `skills/objectstack-upgrade/SKILL.md` L89: the sentence that says what every scaffold and example writes now says `'^19'`. - `.changeset/37229-skills-protocol-19.md`: `@objectstack/skills` patch. `git grep -n "protocol: '\^18'" -- skills/` at head `3536f9ac1c` matches nothing. **Rework round (head `3536f9ac1c`).** Two commits on top of `c9ad209e`: a merge of `origin/main` `a46efa8c62` (clean, no conflict, no generated artifact deferred) and one sentence in the changeset. The changeset's last sentence used to end "no conversion is registered at step 19, so the chain an author replays still ends at 18"; with PR 1 on `main` the chain ends at 19. It now ends: "step 19 carries no conversion and one semantic entry (`protocol-18-range-refused`)." The entry id was read on `origin/main` `a46efa8c62` at `packages/spec/src/migrations/entries/semantic/19.protocol-18-range-refused.ts`, the only `19.*` file under `entries/`. The changeset file is new in this PR, so this is not an edit to a landed note. The PR's own hunks in the three skill files are unchanged from `c9ad209e`. The eval file and the upgrade skill keep the same blobs. `skills/objectstack-platform/SKILL.md` changed blob only by main's merged hunks (objectstack-ai#37409, objectstack-ai#37303). **Declarations, judged from content.** The diff is skill prose and one eval fixture. It changes nothing a metadata author can write and nothing the runtime accepts or refuses; the refusal of `'^18'` is PR 1's. So `Clause-②: no` and `Metadata-protocol: none`, the same pair the v18 skills move (objectstack-ai#25688) declared, and the changeset is `patch`. No `Skills-docs:` line is owed for a `none` kind. ## Published-skills readings Lines, and tokens as ceil(UTF-8 bytes / 4); `origin/main` `a46efa8c62` to head `3536f9ac1c`. | File | Before | After | |---|---|---| | `skills/objectstack-platform/SKILL.md` | 422 lines · 6154 tokens | 422 · 6154 | | `skills/objectstack-platform/evals/config-plugins-ops.json` | 399 · 6067 | 399 · 6067 | | `skills/objectstack-upgrade/SKILL.md` | 481 · 6175 | 481 · 6175 | | Whole bundle (sum of every `skills/*/SKILL.md`) | 4961 · 65472 | 4961 · 65472 | Net for `skills/**`: 0 lines added, 0 removed. `check-skills-token-ratchet` at head: `61 authored bundle file(s) within their ceilings; 11 generator-owned file(s) and 42 eval fixture(s) measured, not ratcheted.` ## Tests No workspace package source is touched, so no package test is owed. The marked `defineStack` example in `objectstack-platform/SKILL.md` is type-checked by `check:skill-examples`: `350 prose examples type-check across 3 surface(s)`, exit 0, after a full core build (121 of 121 turbo tasks, lock `VERDICT command-exit 0`). ## Acceptance notes - **No 18 → 19 step is added to `objectstack-upgrade`.** The skill does not walk the majors one by one; it teaches one procedure (`os migrate meta --from N`, then the residue). On `main` `a46efa8c62` step 19 carries no conversion and one semantic entry (`protocol-18-range-refused`), whose own replacement text names `migrate meta --from 18`, the procedure the skill already teaches, so no step-19 text is added. - **Left unchanged on purpose in `objectstack-upgrade/SKILL.md`:** - L74, `os migrate meta --from 16 --to 18 --json`. It names the last ported hop, not the current major. The chain now has steps for 17, 18 and 19. Step 19 carries no conversion, so the `--to 18` replay gives the same result as the default terminus 19 today. The skill's own eval pins the same replay form. - L91, the `'^17'` to `--from 17` worked example (it shows taking the floor of a range). - L122 ("not in the 18 catalog") and L178 to L183 ("18.3 drops", "on 18.2 or earlier"): statements about 18.x releases, still true. - **Frontmatter is the version pass's.** `compatibility: Requires @objectstack/spec 18.x` and `metadata.version: "18.6.0"` in the skill frontmatter are stamped at release; `check:skill-compatibility` exits 0 at this head. - **Order risk, now past.** Before PR 1 the skill would have taught `'^19'` to an 18 runtime. PR 1 is on `main`. - Noted, not filed (carrier: none): nothing cross-checks a `protocol:` literal in skill prose against `PROTOCOL_VERSION`; the v18 skills move noted the same. ## Verification Two-minute check: `git diff origin/main...HEAD --stat -- skills/` shows 3 files, 4 insertions, 4 deletions; `node scripts/check-skills-token-ratchet.mjs` exits 0. Read first (by risk): 1. `skills/objectstack-platform/evals/config-plugins-ops.json` L6 and L7: prompt and expected output must move together. 2. `skills/objectstack-platform/SKILL.md` L111: the block is type-checked. 3. `skills/objectstack-upgrade/SKILL.md` L89, and L74 and L91 beside it, which stay. <details><summary>Local gates at 3536f9a (rework head): 50 derived families, 47 exit 0, 3 NOT MEASURED</summary> `node scripts/pm/dispatch-gates.mjs --ran` at `3536f9ac1c`: `50 derived famil(ies) accounted for — 47 run, 3 NOT-MEASURED (3 DERIVED from a recorded exit 3)`. The three answered `PREREQUISITE NOT MET` (exit 3) because only `@objectstack/spec` was built in this worktree: `check:doc-formula-expressions`, `check:dual-build-cjs-loads`, `check:lean-entry-closure`. This narrowing is declared; CI's `Lint & Repo Gates` runs them and is `success` at this head. Also run, exit 0: `check:skill-refs` (`10 generated files in sync with packages/spec`), `check:skill-served-sections` (`24 served section(s), each heading exactly once in its file`), `check-skills-token-ratchet` (`61 authored bundle file(s) within their ceilings`), `check-nul-bytes` (OK). `check:skill-examples` was not re-run at this head (it needs the full core build); the PR's own hunks are unchanged from the head it passed on, and CI's `Lint & Repo Gates` runs it at this head. </details> <details><summary>Earlier round, local gates at c9ad209 (main with objectstack-ai#37230 merged in): 56 commands, all exit 0 (50 of 50 derived families run)</summary> `node scripts/pm/dispatch-gates.mjs --commands` derived 50 families for this diff; `--ran`: `50 derived famil(ies) accounted for — 50 run, 0 NOT-MEASURED`. Exit codes were captured before any pipe. All exit 0, among them `check-adr-0087-registration`, `check-changeset-no-major`, `check-empty-changeset`, `check-skills-token-ratchet`, `check:skill-docs`, `check:skill-examples`, `check:skill-refs`, `check:skill-served-sections`, `check:skill-compatibility`, `check:skill-frame-freshness`, `check:skill-frame-sync`, `check:skill-identifier-liveness`, `check:skill-links`, `check:skill-top-level-keys`, `check:pm-governed-merges`, `check:test-source-alias`, `overlap-check` (`VERDICT clean exit 0`, also clean with objectstack-ai#35129). `check:skill-examples` first answered exit 3 (PREREQUISITE NOT MET: `packages/client-react/dist` unbuilt in a fresh worktree) and exit 0 after the full build. </details> ## Provenance Opened by seat repo:objectstack#4 on the maintainer's authorization in the seat session (「objectstack-ai#37229 的两个 PR 开 PR 时被拦了:放行」). The dev session (`session_01QSeKYnFjnB9bU95RVja6w5`, zone a4-S)'s own relay `pr_create` and report comment were refused by its permission check and not retried; it sent the prepared body and its os-dev report to the seat. The gate list above is condensed from the dev's full list (all 56 exit 0). Branch `claude/issue-37229-skills-protocol-19` @ `c9ad209e` at that point. The card moved from objectstack-ai#37229 (closed when PR 1 merged) to its follow-up card, and seat repo:objectstack#5 (zone o5-A) took the PR over on the claim there. The rework round was done by a dev subagent of `session_01Utp6CZmwqAVSYHM1nQUDTq`. --- _Generated by [Claude Code](https://claude.ai/code/session_01Utp6CZmwqAVSYHM1nQUDTq)_ <!-- signed: repo:objectstack#5 · os-bill · session_01Utp6CYtTDvfPQDzMbZnN5X --> --------- Co-authored-by: Claude <noreply@anthropic.com>
…Fields is the one every-field bit (objectstack-ai#37371) <!-- claude-projects-attribution: {"github_login":"os-alice"} --> _Requested by **Alice** · [project thread](https://claude.ai/code/project/chan_01NoziMoftaSPmzgKNjJGePH?thread=cmsg_01NoziMoftaSPmzgKNjJGePHV51tYVEf6EoB92QzbNcTG5)_ Fixes objectstack-ai#36055 Draft. objectstack-ai#37314 has merged (protocol 19, `step19`); this branch merged main and carries both halves: the 19 field-axis switch and the ADR-0087 conversion with ruling A's exclusions. ## Maintainer quick read - From 19.0.0, View All (`viewAllRecords`) and Modify All (`modifyAllRecords`) widen records only. They cast no field vote. `viewAllFields` is the only "every field" channel: read only, never edit, and a set's own `readable: false` row beats it. - Error direction: an unconverted set sees fewer fields, never more. No hidden field opens. - Stored permission sets (Studio-saved) are read with the 19 meaning, never rewritten (ruling A, comment 7177446075). Source sets get `viewAllFields: true` from `os migrate meta --from 18 --write`. Studio has no `viewAllFields` control today, so a stored set is fixed by adding `viewAllFields: true` through the metadata API; a review list of affected stored sets is follow-up objectstack-ai#37375. - Beyond the card's premise: Modify All's cross-set EDIT re-open is lost too, because `viewAllFields` votes read only. That includes the built-in admin beside an app set's edit lock (it still reads every field). This is the ruled field-axis split (ruling 6912661484); the D3 entry names it. - Beside Modify All, a set's own field rows now bind on both halves: its own `readable: false` row hides that field from its holders even with `viewAllFields: true`, and its own field row without `editable: true` no longer edits it. The D3 entry's one-step check and the changeset state both, with the fix for each (delete the own hide row; write `editable: true` on the row). ## What changes - `@objectstack/core`: `superuserFieldVote` is replaced by `viewAllFieldsReadVote(sets, object, field)`. `buildEffectiveFieldPermissions` asks it. `holdsSuperuserBypass` is unchanged and answers the record bypass only. - `@objectstack/plugin-security`: `getFieldPermissions` asks the same vote. Explain drops the "superseded by the Modify All Data field vote" branch (and `ConditionedFieldEntry.supersededBy`): a row-conditioned lock binds per row for every caller. - `@objectstack/lint`: `security-superuser-field-mask-inert` is retired (constant, catalog text, explanation, export). `security-cross-set-field-reopen` reports only a hidden field another set's `viewAllFields` re-opens, in all 11 locales. The controlled-by-parent master-reference rule and the roll-up source-visibility rules no longer skip a mask beside Modify All. - `@objectstack/scenarios`: persona-grant scoring no longer treats Modify All as overriding a field lock. - `@objectstack/spec`: - `viewAllRecords` / `modifyAllRecords` / `viewAllFields` descriptions state the new meaning (generated reference docs regenerated). The liveness ledger anchors `viewAllFields` at `#viewAllFieldsReadVote`. - New ADR-0087 D2 conversion `permission-view-all-fields-beside-record-bypass` (`packages/spec/src/conversions/entries/19/`): writes `viewAllFields: true` on every `objects` entry, `'*'` included, that has `viewAllRecords: true` or `modifyAllRecords: true` and no `viewAllFields` (an authored `viewAllFields: false` is left alone). A default flip: `retiredFromLoadPath: true`, `retiredAfter: '18.6.0'`, fixture with 3 notices. Registered in a new `MAJOR_19_CONVERSIONS` (the sorted `{ conversion, order }` shape of major 18) as `CONVERSIONS_BY_MAJOR[19]`; `step19.conversionIds` derives from it. - New D3 semantic entry `permission-view-all-modify-all-cast-no-field-vote` (`packages/spec/src/migrations/entries/semantic/`): every behaviour change, ruling A's one-step operator check with both own-row cases beside Modify All (an own `readable: false` row keeps hiding its field after the bit is added; an own field row without `editable: true` loses the edit), the source and stored paths, and the error direction. It says where the conversion replays: the authoring funnel skips it (retired from the load path), and the artifact door and the stored-row seam refuse it by id. It judges the conversion's edits (`conversionIds`). - `ADMIN_FULL_ACCESS_CAPABILITIES` (`identity/eval-user.zod.ts`): the comment on its `'*'` `viewAllFields: true` states the 19 meaning (the bit, not the record bits, keeps the platform administrator reading every field; it votes read, never edit). Comment only. - Ruling A, stored rows: `applyConversionsToStoredItem` refuses the id by name (module-local `STORED_ROWS_NOT_REWRITTEN`, merged into any caller's `excludeConversionIds`), so the database loader, the ObjectQL stored-row read, the metadata-protocol read and `os migrate meta --stored` never rewrite a stored set. - `@objectstack/metadata-core`: the artifact-ingestion door refuses the id (`DEFAULT_FLIPS_NOT_REPLAYED_HERE`, docblock extended with its reason). - Showcase: `showcase_auditor` (four View All entries) and ops' `showcase_announcement` Modify All entry carry `viewAllFields: true`, migrated by hand; the access-matrix snapshot records the five grants (the build's ADR-0090 D6 drift check named them). - Docs: field-level-security, authorization, permissions-matrix and the showcase security tour describe the 19 meaning. - Changeset: names the conversion id (ADR-0087 marker), the one-step check with both own-row cases beside Modify All, the stored-set reading and the D3 entry; `@objectstack/metadata-core` added as `minor`. ## Where the 19 upgrade guidance lives - D3 entry: `packages/spec/src/migrations/entries/semantic/19.permission-view-all-modify-all-cast-no-field-vote.ts`. - Generated guide: `pnpm --filter @objectstack/spec gen:upgrade-guide` writes `content/docs/protocol-upgrade/19.md` (gitignored, built by the docs site, served at `/docs/protocol-upgrade/19`): the conversion row and the D3 entry, both saying stored sets are read with the 19 meaning and the fix is `viewAllFields: true`. - Changeset: `.changeset/36055-view-all-stops-voting-on-fields.md` (ships as `CHANGELOG.md`). ## Why Card objectstack-ai#36055, step 3 of the field-axis split (objectstack-ai#34365, ruling of record 6912661484): View All / Modify All widen records, `viewAllFields` reads fields. ## Tests - `packages/spec/src/conversions/entries/19/permission-view-all-fields-beside-record-bypass.test.ts` (10 tests): registration and step-19 wiring, the three rewrite sites and their notices, entries left alone, field rows untouched, idempotence, the authoring funnel never replays it, the stored seam refuses it for both row spellings and a caller cannot opt back in, a firing control, and other retired entries still replay over a stored permission row. - `packages/metadata-core/src/artifact-forward-conversion.test.ts`: a new block, six tests: refused inside the floor window, after the strict parse, inside the per-entry window and the major-step half; a shut window; a firing control. - `packages/spec/src/shared/retired-key-removal-version.pin.test.ts`: a `semantic` row kind joins a default flip to the D3 entry an author meets (a default flip has no tombstone or refusal); it reads the entry's `reason` and `acceptanceCriteria`, which name protocol 19 and `--from 18`. ## Acceptance notes - Acceptance measurement (one-shot script, not committed): pre-PR sources under the v18 merge vs the same sources converted, under the v19 merge, every single set and every pair. Built-in default sets alone: 9 sets, 45 combinations, 507 field cells, 0 conversion notices (their `'*'` entries already carry the bit), read 507/507 and edit 507/507 identical. Showcase + default sets: 18 sets, 171 combinations, 1314 cells, 5 conversion notices; read 1314/1314 identical; edit 1302/1314, the 12 differences all ruled (`admin_full_access` / `organization_admin` beside `showcase_contributor` / `showcase_client_liaison` no longer edit `showcase_project.budget` / `spent` / `budget_remaining`, which those sets lock). CRM + default sets: 11 sets, 66 combinations, 663 cells, all identical. No cell opened a field or an edit. The conversion of the pre-PR showcase source equals the branch's hand migration on all 9 sets. Control: an unconverted View All set beside a set hiding a field reads it under v18 (`readable: true`) and not under v19 (`readable: false`). - Other seams checked: the flow-only exclusions (`CONVERSIONS_NOT_REPLAYED_AT_REHYDRATION`, `FLOW_FALLBACK_VERDICT_NOT_REPLAYED`) never see a permission set; every stored-row caller (database loader, ObjectQL, metadata-protocol, `os migrate meta --stored`, translation and datasource rows) goes through `applyConversionsToStoredItem`; the only other `includeRetired` caller is the artifact door. No seam outside the two edited ones replays this id. - Mechanical consequences outside the card's listed surface, all test or fixture data: the major-18 fixture `permission-modify-all-allow-delete-false-to-true` carries `viewAllFields: true` beside its Modify All entries so the fixture table stays disjoint; `scripts/conversions-major18-merge.test.ts` reads major 18's slice of `ALL_CONVERSIONS` instead of its tail; the retired-key pin row above; the showcase access-matrix snapshot. - Ablation (one-shot): removing the id from `STORED_ROWS_NOT_REWRITTEN` turns 3 stored-seam tests red; removing it from `DEFAULT_FLIPS_NOT_REPLAYED_HERE` turns 4 door tests red; both restored byte-identical to `HEAD` (blob hashes matched, `git diff HEAD` empty). The first stored-seam attempt was refused by the replacement tool (its marker already occurred in the file) and changed nothing; it was rerun with a distinct marker. - The major-step leg of the door block expects `authored-current` while the permission flip is step 19's only retired entry: the refusal leaves nothing for that half to open. ## Verification Head 71a5990 is a text-only round on bad558d (the Contract review's S1, N1 and N2: the D3 entry, the changeset and one code comment). Nothing that runs changed, so the readings at bad558d below stand; this round's local runs are in the first block. <details><summary>Fix round at 71a5990</summary> - `@objectstack/spec` build (lock VERDICT command-exit 0), then `check:generated --fix`: exit 0, all 14 generated artifacts up to date, nothing rewritten. - `gen:upgrade-guide` exit 0 (`content/docs/protocol-upgrade/19.md` carries the new criteria; gitignored), `gen:spec-changes` exit 0 (gitignored); no tracked file changed. - `@objectstack/spec` `vitest run src/migrations/ scripts/upgrade-guide-docs.test.ts scripts/upgrade-guide-surface-span.test.ts src/shared/retired-key-removal-version.pin.test.ts src/identity/platform-admin-capabilities.test.ts`: 9 files / 305 tests green (lock VERDICT command-exit 0). - Gates for the three touched files, exit 0: `check-adr-0087-registration --base origin/main`, `check-changeset-no-major`, `check-empty-changeset`, `check-closing-keyword-parity`, `check-issue-citations`, `check-drift-comment`, `check:changeset-fixed`, `check:doc-authoring`, `check:keyed-text-bounds`, `check:closed-ceremony-text`, `check:corpus-claim-drift`, `check:role-word`, `check:nul-bytes`, `check:spec-docblock-symbol-anchors`, `check:adr-anchors`, `check:issue-citations`, `check:upgrade-guide`, `check:spec-changes`, `check:liveness`. Exit 1, expected and unchanged: `check:adr-symbol-anchors`, the one ADR-0066:146 finding below. The other derived families were not rerun this round (declared narrowing); CI runs the full set. </details> Local on bad558d (the affected tests, the derived gate families and the dogfood battery; the rest is cited from CI on the same head): <details><summary>Tests</summary> - `@objectstack/spec` `vitest run --project local`: 901 files, 28514 passed and 1 failed before the retired-key pin row (`permission-view-all-fields-beside-record-bypass` unjoined); after the row, `src/conversions`, `src/migrations` and the pin: 29 files / 1072 tests green; `scripts/conversions-major18-merge.test.ts` green. - `@objectstack/metadata-core` `test`: 27 files / 1070 tests green. - `@objectstack/cli` `vitest run --project unit migrate`: 44 files / 449 tests green (the integration tier is CI's). - After the merge with main: `@objectstack/core` `src/security` 75 files / 1493 tests green; `@objectstack/lint` 236 files / 9658 tests green. `@objectstack/plugin-security` and `@objectstack/scenarios` are cited from CI (`Test Core` success). - `typecheck`: `@objectstack/spec` and `@objectstack/metadata-core` green. - Ablation: stored seam 3 red, artifact door 4 red, each restored byte-identical (see Acceptance notes). - Dogfood battery (`pnpm --filter @objectstack/dogfood test`, lock VERDICT command-exit 0): 488 passed and 3 skipped of 491 files; 4137 passed and 68 skipped of 4205 tests. </details> <details><summary>Gates</summary> - `node scripts/pm/dispatch-gates.mjs --commands`: 132 families derived at bad558d; `--ran` reconciliation: 132 accounted, 128 run, 4 NOT MEASURED, 0 unrun. - 127 exit 0, among them `check-adr-0087-registration` (green now that the id is registered), `@objectstack/spec check:generated`, `check:spec-changes`, `check:upgrade-guide`, `check:api-surface`, `check:authorable-surface`, `check:docs`, `check:liveness`, `check:type-check-debt`, `check:nul-bytes`, `check:platform-checklist`, `check:doc-security-posture`. - Red, outside this surface (exit 1): `check:adr-symbol-anchors` on `docs/adr/0066-unified-authorization-model.md:146`, which anchors `effective-object-permissions.ts#superuserFieldVote`. `docs/adr/**` is out of this PR's surface; the anchor re-points to `#viewAllFieldsReadVote` in the ADR PR of weekly card objectstack-ai#37245, which merges before this PR leaves draft. - NOT MEASURED (exit 3, prerequisite refused): `check-plugin-teardown-shape --self-test` (shallow clone), `check:skill-examples`, `check:dual-build-cjs-loads`, `check:published-readme-exports` (packages outside this diff not built here). CI runs them. - `pnpm --filter @objectstack/spec gen:upgrade-guide` writes `content/docs/protocol-upgrade/19.md` with the conversion row and the D3 entry. - CI at bad558d: 58 success, 10 skipped, 2 failure: `Lint & Repo Gates` and `Lint · docs & code guards`, whose log names the one `check-adr-symbol-anchors` finding above and nothing else. `TypeScript Type Check`, `Test Core`, `Build Core` success. </details> Clause-②: yes (narrowing) Metadata-protocol: semantic Skills-docs: follow-up objectstack-ai#37374 ## ADR-0066 D2 ⑧ end-state note (text for the weekly ADR card objectstack-ai#37245) > **Note (19.0.0): View All and Modify All cast no field vote (objectstack-ai#36055, step 3 of the field-axis split objectstack-ai#34365, ruling of record 6912661484).** A set's `viewAllRecords` or `modifyAllRecords` on an object widens which records it reaches and casts no vote in either field merge. The one object-wide field vote is `viewAllFields`: `readable: true` on every field of the object, never `editable: true`, and a set's own explicit `readable: false` row on a field beats its own bit (the note of 2026-11-15, now carried by `viewAllFields` alone). Both merges ask one function, `packages/core/src/security/effective-object-permissions.ts#viewAllFieldsReadVote`. Consequences: a set's own field rows bind beside its own View All or Modify All; another set's View All or Modify All re-opens no hidden or locked field; nothing re-opens a field edit lock across sets (the built-in admin sets read every field through their `'*'` `viewAllFields` and no longer edit a field another held set locks). The ADR-0087 conversion `permission-view-all-fields-beside-record-bypass` adds `viewAllFields: true` beside the bits in source; it is a default flip, refused by id at the artifact door and at stored-row reads, so stored sets take this meaning on upgrade (ruling A on objectstack-ai#36055). `security-superuser-field-mask-inert` is retired; `security-cross-set-field-reopen` reports the `viewAllFields` re-open only. ## Follow-ups to file - hotcrm `sales_manager`: convert the migrated `viewAllFields: true` to explicit field rows (objectstack-ai#34365 step 4). ## Human Minimum - [x] 1. Schemas start as Zod; `packages/spec` holds no runtime logic. - [x] 2. Every name I added uses the casing for its kind. - [x] 3. No formatter ran; `pnpm lint` passes. - [x] 4. One issue, one branch off an up-to-date `main`, one pull request. - [x] 5. A change that publishes carries a changeset, and both declaration lines are filled in here and in the changeset. - [x] 6. `packages/spec` touched: its generated artifacts are regenerated and committed. - [x] 7. No hand edits to `content/docs/references/`, `packages/*/CHANGELOG.md` or `content/docs/releases/`. - [x] 8. Title, body and comments are in English. - [x] The *Before Submitting* list in CONTRIBUTING.md is done. 🤖 Generated with [Claude Code](https://claude.com/claude-code) https://claude.ai/code/session_011y7As8b4YLdvodeGAQWNTQ <!-- signed: repo:objectstack#7 · os-alice · session_011y7As8wf3DSPRevwNnYLcM --> --------- Co-authored-by: Claude <noreply@anthropic.com>
… move from step 18 to step 19, so `os migrate meta --from 18` shows them (objectstack-ai#38239) repo:objectstack#3 · os-tesla · session_01L9qibvcTXi4hWgjz8G8ium <!-- claude-projects-attribution: {"github_login":"os-tesla"} --> _Requested by **Tesla** · [project thread](https://claude.ai/code/project/chan_01AXsQkLFKRdQCqQ3RTr6Jao?thread=cmsg_01AXsQkLFKRdQCqQ3RTr6JaoT8rr3zveNwye1npfS2EynC)_ Fixes objectstack-ai#38142 Clause-②: no Metadata-protocol: none ## 维护者速读 - 从 18 升级到 19 的作者,以前在升级提示里看不到三条变化(表单工具改名、表单类型、发布时拒收存不住的数据模型字段),现在这三条会列在 18 → 19 的升级提示里。 - 修正第 19 版升级说明,替用升级命令从 18.x 升上来的团队补上漏掉的提示。 - 只是把三条说明挪到正确的大版本下,内容一字不改,不碰任何数据或配置;出错也只是提示位置不对,可以直接撤回。 - 无 ## What changes - Three ADR-0087 semantic entries move from protocol major 18 to 19: `semantic/18.ID.ts` becomes `semantic/19.ID.ts` for `define-form-studio-helper-renamed-define-metadata-form`, `form-type-define-form-and-packageless-list-at-form-name` (both from objectstack-ai#37366) and `publish-refuses-data-model-fields-that-save-and-do-not-work` (from objectstack-ai#37513). The ids and the file contents are unchanged (pure renames, 100% similarity). - Why 19: `gen:migration-registry` files an entry by its filename's major, and `composeMigrationChain(fromMajor)` keeps only the steps above `fromMajor` (`packages/spec/src/migrations/chain.ts:42`). All three were added after `PROTOCOL_VERSION` moved to 19 (`204356a6e`, objectstack-ai#37314). None is in `@objectstack/spec@18.6.0`, the last 18.x release; objectstack-ai#37513 first shipped in `19.0.0-next.0`, objectstack-ai#37366 in `19.0.0-next.2` (tag ancestry). Filed under 18, they were skipped by exactly the 18 → 19 upgrade they describe. - `form-type-…` still follows `define-form-…` in id order, so its "since the previous entry" sentence still reads right. - The id-keyed `adr-0087: registered` markers in `.changeset/pre/*` and the released CHANGELOGs stay valid and are not edited. - One `@objectstack/spec` patch changeset. The registry, `spec-changes.json` and the upgrade guide are generated and not committed, so nothing else changes in the diff. ## Tests No test file changes: the pins that read the chain (`semantic-relevance.test.ts`, `migrations.test.ts`) read the generated step lists, not counts or ids for these entries. The before/after readings below are probes against the generated registry, kept in the project, not in this PR. <details><summary>Readings (head fc06c4d, base origin/main 23fa361)</summary> Generated registry and `composeMigrationChain(18)`: | | step 18 semantic | step 19 semantic | chain `--from 18` lists the three | |:--|:--|:--|:--| | before (main) | 582, holds all three | 21, holds none | MISSING ×3 | | after (this branch) | 579 | 24, holds all three | LISTED ×3 | `applyMetaMigrations(stack, 18)` on a minimal stack: before, `todos=21`, all three NOT LISTED; after, `todos=24`, all three are `todos`. Local runs at fc06c4d: - `pnpm exec turbo run build --filter='./packages/**' --filter='@objectstack/dogfood^...'` under `os-verify-lock`: command-exit 0. - `pnpm --filter @objectstack/spec typecheck`: command-exit 0. - `pnpm --filter @objectstack/spec test`: `Test Files 911 passed (911)`, `Tests 28851 passed | 1 todo (28852)`. - Derived gates (`dispatch-gates.mjs --commands`): 83 run, each exit 0; `--ran` reconciles 83 derived, 83 run, 0 NOT MEASURED (a derived zero: every line records its exit code). - `overlap-check.mjs` before the first push: merges cleanly with origin/main, 0 open PR heads overlap. </details> ## Acceptance notes - **Should `check-adr-0087-registration` read the major?** Not built here (claim). The measured answer: in the window the per-entry files exist (`f293d454b`, 2026-08-10, to origin/main `23fa3619`), every entry added landed at or above the protocol major of its day, except these three. - Protocol 17 (to `4e9fe9ff6`, the 17 → 18 bump): 50 added under 17 and 717 under 18 (the next major, filed before the bump), 0 below 17. The one explicit backfill in the window (`5823d593db`, "backfill nine ADR-0087 ledger entries missing from the v17 stock") landed under 17, equal to the protocol major then. - Protocol 18 (to `204356a6e`, the 18 → 19 bump): 345 under 18, 0 below. The bump commit itself added one entry under 19. - Protocol 19 (since): 33 under 19, 3 under 18. Those 3 are this card's, renamed here. - So a rule "a newly added entry's major is equal to `PROTOCOL_MAJOR` or above it" would have fired on exactly these three in about 1,150 additions, and on no backfill. "Equal to `PROTOCOL_MAJOR`" would have been wrong: it refuses the 717 entries filed ahead of the 17 → 18 bump. The gate already reads the paths of the entries a diff adds, so the check would close a blind spot of an existing gate rather than add a new one. A later backfill below the current major would still need a named exemption. Whether to file the card is the seat's decision. - Reach, corrected by the contract review (comment 7237861973): that reading measures the protocol move, not the release. 34 more `semantic/18.*` entries were added between `spec@18.6.0` (`958ee0359`) and the move, ship in no 18.x release, and are skipped by `--from 18` the same way; each was filed while `PROTOCOL_MAJOR` read 18, so the at-or-above rule would not have refused them. They are outside this PR's claim; the carrier is the seat's. - Releases already out: `19.0.0-next.0` and `next.2` carry these entries under 18, so `os migrate meta --from 18` on those prereleases still skips them. The fix ships with the next prerelease. No released text is edited (AGENTS.md: CHANGELOGs are release-owned). ## Verification Read first (by risk): 1. The three renames: `git diff --stat -M origin/main...HEAD` shows `R100` for each. 2. The changeset. Two-minute check: in `packages/spec`, `pnpm gen:migration-registry` and then `grep -n "publish-refuses-data-model-fields-that-save-and-do-not-work" src/migrations/registry.ts`. On this branch the id sits inside the `semantic:19` region; on main it sits inside `semantic:18`. --- _Generated by [Claude Code](https://claude.ai/code/session_01L9qibvcTXi4hWgjz8G8ium)_ Co-authored-by: Claude <noreply@anthropic.com>
…hat first ship in 19 move to protocol 19 (objectstack-ai#38627) <!-- claude-projects-attribution: {"github_login":"os-steve"} --> _Requested by **Steve** · [project thread](https://claude.ai/code/project/chan_01FdL1XeUyvVNxLreh3F4Qi9?thread=cmsg_01FdL1XeUyvVNxLreh3F4Qi9CGtGeksBgFXURAQ8CAJhT8)_ Fixes objectstack-ai#38256 Clause-②: no Metadata-protocol: none ## 维护者速读 - 从 18 升级到 19 的团队用升级命令时,以前看不到 34 条变化说明,其中三项旧写法也不会被自动删掉;现在这些说明都列在 18 → 19 的升级提示里,三项旧写法会被自动删除。 - 修正第 19 版的升级说明,替用升级命令从 18.x 升上来的团队补上漏掉的提示和自动修改。 - 只是把说明和自动修改挪到正确的大版本下,说明内容不改,三项自动修改的先后顺序也不变;出错只影响升级提示与自动修改落在哪个版本,可以直接撤回。 - 无 ## What changes - **The set, re-derived on `origin/main` (Ask 1).** `semantic/18.*` entries present at the protocol move `204356a6e` (objectstack-ai#37314) and absent at `@objectstack/spec@18.6.0` (`958ee0359`): 579 − 545 = 34, the same 34 ids the card lists. Each is in no `@objectstack/spec@18.*` tag (all 12 read: 0 hits each) and in `19.0.0-next.0` (34 of 34). - **34 semantic entries move to step 19 (Ask 2).** `entries/semantic/18.ID.ts` becomes `19.ID.ts`, R100, ids and bytes unchanged. `gen:migration-registry` files an entry by its file name's major, and `composeMigrationChain(fromMajor)` keeps only the steps above `fromMajor`, so under 18 the 18 → 19 upgrade never listed them. - **Three of the 34 move as whole families, not entries alone.** `object-grid-single-click-edit-retired`, `view-column-state-retired` and `field-inline-edit-boolean-retired` are each the D3 record of a D2 conversion from the same window (`object-grid-single-click-edit-removed`, `view-column-state-removed`, `field-inline-edit-boolean-removed`: absent at 18.6.0, first shipped in 19.0.0-next.0). Ruling B in `migrations.test.ts` and each family's pin hold the D3 entry in its conversion's own step, and under 18 `os migrate meta --from 18` did not run those conversions either. So, per the seat's amended claim: - the three conversions move to `src/conversions/entries/19/`, `toMajor: 19`, `retiredAfter` unchanged (`18.6.0` is still the last stable release that accepted the old shape); - `src/conversions/registry.ts`: they leave `MAJOR_18_CONVERSIONS` and join `MAJOR_19_CONVERSIONS` at `order` 0.1 / 0.1 / 0.2. They were the last three of major 18 (orders 83, 83, 84), so `ALL_CONVERSIONS` runs in exactly the same sequence as before; only the step each is reported under changes. Read off the built registry: major 18's tail is now `manifest-packaging-manifest-deps-removed`, `form-view-drawer-keys-removed`, `view-personal-declarations-removed`, and major 19 starts `object-grid-single-click-edit-removed`, `view-column-state-removed`, `field-inline-edit-boolean-removed`; - each conversion's docblock says protocol 19 and `--from 18`, and the two schema comments that name a moved conversion (`src/ui/component.zod.ts` above `singleClickEdit`, `src/data/field.zod.ts` above the boolean `inlineEdit` refusal) say protocol 19. - **Four retired-key rows move to 19 (Ask 3).** `ai/KnowledgeChunk:metadata`, `ui/ObjectGridProps:singleClickEdit`, `ui/ViewItemWire:columnState`, `ui/ViewMetadata:columnState`: each is in no 18.x tag and in 19.0.0-next.0, so the card's criterion holds. The aging reading: `build-schemas.ts` check (c) proof 1 allows deleting a tombstone once `CURRENT_MAJOR - registeredAt >= 1`. At 18 these rows were deletable now, at major 19, before any stable release ever carried them; at 19 they become deletable at 20, the same as every other retirement that first ships on the 19 line. Proof 2 (the `@objectstack/spec@18.0.0` dating tag) does not date them, since none was `[RETIRED]` there. So the move corrects a verdict rather than changing one wrongly. One row's comment named the 18.x line as its reason and now says why it is under 19. - **Step 18 rationale → step 19 rationale.** The `STEP18_RATIONALE` fragments of the four moved retirements (`object-grid-single-click-edit-retired`, `view-column-state-retired`, `field-inline-edit-boolean-retired`, `knowledge-chunk-metadata-retired`) leave step 18 and their text, unchanged, joins step 19's rationale, before the form view `modalSize` sentence (placed there so it does not share the tail line objectstack-ai#38550 edits). - **Refusal text the moves made false.** `retired-key-removal-version.pin.test.ts` derives a prescription's `os migrate meta --from N` from the conversion's `toMajor`, so the `singleClickEdit`, boolean `inlineEdit` and `columnState` refusals now say `--from 18`. `KnowledgeChunk.metadata`'s tombstone said "removed in @objectstack/spec 18"; it now says 19.0.0, as its three siblings already did. That pin did not catch it because it derives the version only for retirements with a D2 conversion, and this one has none. Reference pages regenerated (`content/docs/references/ai/knowledge-document.mdx`, `ui/component.mdx`, `ui/view.mdx`). - **A sibling entry's wording.** `19.ui-form-view-modal-size-retired` (not one of the 34) called `internal-record-forms-not-loaded` "the protocol-18 semantic entry"; it now says protocol-19, since that entry moves to step 19 here and the sentence prints under the 18 → 19 hop (contract review, S1). The boolean `inlineEdit` prescription's docblock says protocol 19 too. - **Built artifacts declaring a bare `^19`.** The artifact door replays a retired conversion for a `19.0.0` floor only when its step is 19 (`converted-major-step`, `packages/metadata-core/src/artifact-forward-conversion.ts`). Such an artifact that still carried one of the three keys was refused before; it is now converted at ingestion. Artifacts declaring a floor below 19 replayed them already. The changeset says so. - **Order-dependent wording.** None of the 34 says "since the previous entry" or similar. Where an entry names another (for example `18.action-body-does-not-compile-refused` names `body-regexp-pattern-refused`, now under 19), it names the id, not a position, so it still reads right. - One `@objectstack/spec` patch changeset (Ask 4). The id-keyed `adr-0087: registered` markers in `.changeset/pre/*` and the released CHANGELOGs, which say "step 18" for these families, stay as published (AGENTS.md: release-owned). ## Tests Forced test changes, each because the family it pins moved to 19: - `src/data/field-inline-edit-boolean.pin.test.ts`: the conversion's `toMajor` and the step it is wired into read 19; the prescription regex reads `--from 18`. - `src/ui/object-grid-single-click-edit.pin.test.ts`: the same, plus `RETIRED_KEYS_BY_MAJOR[19]`. - `src/ui/view-column-state-retirement.test.ts`: the retired-key rows, the conversion and the D3 entry are read from major 19; the prescription regex reads `--from 18`. No other test changes. The chain pins (`migrations.test.ts`, `semantic-relevance.test.ts`, `step18-rationale-merge.test.ts`, `conversions-major18-merge.test.ts`) read the generated lists and pass unchanged. <details><summary>Readings (head 367d09d, base origin/main ee9fd3d)</summary> Built registry (`dist/migrations`): | | step 18 semantic | step 19 semantic | conversions 18 / 19 | retired keys 18 / 19 | `composeMigrationChain(18)` lists the 34 + the 3 of objectstack-ai#38239 | `composeMigrationChain(17, 18)` lists any | |:--|:--|:--|:--|:--|:--|:--| | before (main) | 579 | 34 | 98 / 8 | 282 / 9 | the 3 only | the 34 | | after | 545 | 68 | 95 / 11 | 278 / 13 | all 37 | none | The semantic id set over every step: 690 ids, 690 unique, before and after. Local runs: - `pnpm --filter @objectstack/spec build` under `os-verify-lock`: command-exit 0. - `pnpm --filter @objectstack/spec test` under `os-verify-lock` at 367d09d (`build` and `check:generated` clean there): `Test Files 913 passed (913)`, `Tests 28893 passed | 1 todo (28894)`. - `pnpm --filter @objectstack/spec typecheck`: command-exit 0. - `pnpm --filter @objectstack/spec check:generated --fix`: regenerated the three reference pages it proved stale. - Derived gates (`dispatch-gates.mjs --commands`) at 367d09d: 122 derived, 122 run, each exit 0; `--ran` reconciles 0 NOT-MEASURED (after `turbo run build --filter=./packages/**` and `git fetch --unshallow`, without which nine exit 3 on unmet prerequisites). - `overlap-check.mjs` before every push: clean with origin/main and with objectstack-ai#38594 (which edits `18.publish-refuses-flows-that-save-and-do-not-run.ts`; `git merge-tree` against its head applies that edit to the renamed `19.` file). One overlap, see Acceptance notes. </details> ## Acceptance notes - **Textual overlap with objectstack-ai#38550.** Both PRs insert a line into `MAJOR_19_CONVERSIONS`'s imports and list directly after `permissionViewAllFieldsBesideRecordBypass` (this one `viewColumnStateRemoved`, objectstack-ai#38550 `viewBulkActionsToActionSelection`), so whichever lands second merges main and resolves it mechanically: both lines kept, in identifier order (`viewBulk…` before `viewColumn…`). `registry.ts.template` merges clean with objectstack-ai#38550. The seat chose to open this PR rather than wait. - Released prereleases (`19.0.0-next.0` to `next.2`) carry these entries, rows and conversions under 18 and stay as published; the fix ships with the next prerelease. ## Verification Read first (by risk): 1. `packages/spec/src/conversions/registry.ts`: the three entries' new `order` values and the docblock that says why. 2. `packages/spec/src/migrations/registry.ts.template`: the four fragments moved from `STEP18_RATIONALE` into step 19's rationale. 3. The renames: `git diff --stat -M origin/main...HEAD` shows R100 for the 34 semantic entries and the three columnState / KnowledgeChunk rows. Two-minute check: in `packages/spec`, run `pnpm gen:migration-registry`, then `grep -n "object-grid-single-click-edit-retired" src/migrations/registry.ts`. On this branch the id sits inside the `semantic:19` region; on main it sits inside `semantic:18`. <!-- signed: repo:objectstack#3 · os-steve · session_01ADHkmQcqpJwkeqnruAv4md --> --------- Co-authored-by: Claude <noreply@anthropic.com>
repo:objectstack#4 · os-justin · session_01QSeKYpEsWWE9Y5YtSsDgqZ
Fixes #37229
Clause-②: yes (narrowing)
Metadata-protocol: narrowed
Skills-docs: follow-up #37298
维护者速读
What changes
On the shape of the v18 move (#22215, commit
4e9fe9f), minusskills/**.packages/spec/src/kernel/protocol-version.ts:PROTOCOL_VERSION = '19.0.0'. The docblock names protocol 19 as the pre-mode lockstep exception (ruling records 6049734955 and 7153441862), and says the blank template follows at the version pass and the published skills' examples in a change of their own.engines.protocolfrom'^18'to'^19'. Each is a manifest that stands for "an app on the current protocol", and none of them asserts on the range.examples/(crm, showcase, todo, starter, multi-package ×2)packages/apps/connector-{docusign,github,stripe}packages/cli(tests)packages/qa(7 dogfood tests, the sql-perf bench app, the scenarios exporter test)packages/lint,packages/spec,packages/metadata(tests)packages/mcp/README.mdcontent/docs(cli, your-first-project, upgrading)docs/qa/scenarios/builds/travel_expense.jsonexamples/app-starterarrived frommain(#37399) declaring'^18'and moves with the merge. Its boot test, which installs the starter throughMarketplaceInstallLocalPlugin, passes 5/5 at'^19'. At'^18'it reads 3 failed | 2 passed, refusedOS_PROTOCOL_INCOMPATIBLE.docs/qa/platform-checklist/areas/cli.json: one prose fact, "the stock showcase declares'^18'", now reads'^19'.docs/qa/scenarios/builds/travel_expense.provenance.json:sha256is the build's hash as it now stands, and a secondamendedentry names the one edit (engines.protocol'^18'→'^19') and the hash it replaced.cardSha256is unchanged.packages/spec/src/migrations/registry.ts.templateopensstep19, with no conversions yet. Its first semantic entry,entries/semantic/19.protocol-18-range-refused.ts, is the refusal this PR causes, with the prescription:--writerewrites the range of a rootdefineStackmanifest; for a manifestcomposeStackscomposes, it writes nothing and lists the range for a hand edit in each package manifest. Its acceptance text claims only what the hop does: it edits or refuses the range. A key retired in this release that the metadata still carries is refused at parse by its own message, which names its own remedy. The text no longer says thatvalidatepasses or that every package installs. The upgrade guide now generates three hop sections (17, 18, 19). See "Why a step-19 entry" below.@objectstack/spec 19.0.0.retired-key-removal-version.pin.test.tsderives the removing release's major fromPROTOCOL_MAJOR, so at 19 the retirements not in the published 18.6.0 name 19.0.0, not 18.7.0, a release the v19 line never cuts:object-gridsingleClickEdit(component.zod.ts), the booleanfield.inlineEdit(field.zod.ts),listView.columnStateandview.columnState(view.zod.ts), andseed.mode'insert'/'replace'(seed.zod.ts). Their text pins, the regeneratedcontent/docs/references/ui/{component,view}.mdx,content/docs/data-modeling/seed-data.mdxand the metadata-protocol seed pin follow.scripts/check-future-spec-major.mjsreads the pre-mode window (ruling record 7176929521, option A). On a stable@objectstack/speclabel, with.changeset/pre.jsonat"mode": "pre"and a pending changeset declaring"@objectstack/spec": major, the next publish is label + 1, so the gate judges citations against 19 here. That is why the prescriptions above can name@objectstack/spec 19.0.0. The window is read throughcheck-changeset-no-major.mjs'sreadProtocolLockstepInputs, the reader the protocol lockstep already uses; there is no second parser. That file's docblock now names its three importers (check-docs-image-tag.mjs,check-future-spec-major.mjs,pm/l1-face.mjs); the change is a comment. Label + 2, pre mode without a pending spec major, a pending spec major outside pre mode and a prerelease label each open nothing; five new self-test rows pin those five cases (34 → 39 cases). An unreadable.changeset/opens nothing either, by the code; no row pins it. The stable-label condition is the same onejudgeProtocolLockstepapplies: on a19.0.0-next.Nlabel the label's own major is already the carrier. Reverse verification: with the window condition ablated, the gate reads 14 problems, the 14 sites.validate-flow-region-shape.test.ts,plugin-artifact-packages-attribution.test.ts).check:test-source-aliasjudges every test file a diff edits, and both edits here are the range literal. The gate prescribes exactly these imports..changeset/37229-protocol-19.md:"@objectstack/spec": minorand"@objectstack/mcp": patch(its shippedREADME.mdchanges), the two declaration lines, a BREAKING note with the FROM → TO and the command, andregistered protocol-18-range-refused.Check Changesetstays red on both by design: each note is on the merge base, and each changes only the facts this PR makes false..changeset/37223-v19-line-opens.md(carried N1 of chore(release)!: enter Changesets pre mode (next) so 19.0.0 opens; retire the 18.6.0 i18n keys no code reads #37230's L1, and N3 of this PR's L1), two sentences. "The first is@object-ui/i18n's retirement …" now reads "The first change gradedmajoris@object-ui/i18n's retirement …", because this PR's protocol move is a breaking change gradedminor. "PROTOCOL_VERSIONfollows@objectstack/spec's major at version time." now reads "PROTOCOL_VERSIONmoves to 19 ahead of the version pass, in its own changeset.".changeset/37042-skills-inline-edit-boolean.md, one clause: "The spec parse refusestrueandfalseon a relationship field'sinlineEditsince 18.7.0" now reads "… since 19.0.0", the release the retirement ships in.ui/packages/i18n/scripts/released-keys-removed.mjsrefuses an argument it does not know (exit 2, naming it), and prints the tag's commit:^{commit}peels the annotated tag. Measured: the tag@object-ui/i18n@18.6.0is a tag object0dbef86ce3, and the script now prints its commit958ee03594. The script is not in the package'sfiles[], so it publishes nothing and needs no changeset.Judgments: every
'^18'left in place, with its reasonskills/**(3 files)packages/create-objectstack/src/templates/blank/objectstack.config.ts:38@objectstack/*versions, andtemplate-consistency.test.tsholds it equal to the scaffolder major (create-objectstack is 18.6.0). Measured: moved to'^19'now, that test goes red; the version-pass rehearsal below stamps it'^19'. Same judgment as #22215.packages/cli/src/utils/protocol-version-gap.test.ts:82'17.2.0': "a newer major is silent". The subject is the pairing, not the current protocol.packages/metadata-core/src/artifact-forward-conversion*.test.ts,protocol-handshake.test.tsPROTOCOL_VERSIONruns.packages/metadata/src/plugin-artifact-forward-conversion-{major-step,package-body}.test.tsdocs/qa/platform-checklist/areas/platform-core.json, itemplatform-core.protocol-18-handshake-and-stored-replay'^18'now stands for the refused case:'^18'→ 422OS_PROTOCOL_INCOMPATIBLEnamingos migrate meta --from 18,'^19'admitted, and the artifact step edits the copy's range to'>=18.0.0', as the option-B fixture does.content/docs/releases/**,docs/adr/**,**/CHANGELOG.md,.github/workflows/release.yml(comment), script commentsui/**tests,packages/runtime/src/domains/packages-ensure-customization.test.ts,scripts/docs-audit/affected-docs.mjsrequiredRangeof a later refusal, a package-dependency range, a React peer range).Moved to
'>=18.0.0'(5 sites, commite05fdf6f):packages/runtime/src/standalone-stack-option-b-forward-conversion.test.ts. It boots through the load seam, which refuses'^18'at protocol 19. Measured:ProtocolIncompatibleError: package 'com.test.ob.core' targets protocol ^18 … Run: objectstack migrate meta --from 18, 3 cases. Its subject is the conversion window, which opens on the floor.'>=18.0.0'keeps the floor (18.0.0, asparseRangeFloorreads^18) and admits 19. This is the same move as #22215's two runtime fixtures (>=17.1.0). The fixture's docblock now says why, so a later sweep to'^19'does not close the window.Why a step-19 entry (the ADR-0087 disposition)
Metadata-protocol:is judged from content. A 19 runtime refuses an authored value,engines.protocol: '^18', that 18 admitted. That isnarrowed, and theClause-②arm isnarrowing, as in #22215. On a declarednarrowed,check:adr-0087-registrationrefusesnot-required (no-migration-prescription)outright and asks for a registered entry. Measured: "not-required (no-migration-prescription)is refused on a changeset that declaresMetadata-protocol: narrowed… fix: register an entry under packages/spec/src/migrations/entries/semantic/". No entry at the merge base covers the refusal, so this PR opens step 19 with one entry, and the upgrade guide carries the prescription.Acceptance notes
latest. The three docs pages show'^19', as in feat(spec)!: PROTOCOL_VERSION 17 → 18 in an ordinary PR — regenerated spec-changes.json and upgrade guide, ^18 handshakes, pre-mode lockstep exception (#22085 Q1 → B) #22215. npmlateststays 18.6.0 until 19.0 GA, and an 18.x runtime refuses'^19'. The changeset says to move the range together with the@objectstack/*versions.main(GitHub at3811cd10f5a), under the 3,000-line threshold.check:release-notesis red:@objectstack/specships 19.x and there is no curatedcontent/docs/releases/v19page. It is red on the control leg too (main + chore(release)!: enter Changesets pre mode (next) so 19.0.0 opens; retire the 18.6.0 i18n keys no code reads #37230, without this PR), so chore(release)!: enter Changesets pre mode (next) so 19.0.0 opens; retire the 18.6.0 i18n keys no code reads #37230'smajorcauses it, not this PR. Release pages are release-owned, so this PR does not write one. Until one exists, the version-PR lane still refuses the 19.0.0-next refresh, on that gate alone.KnowledgeChunk.metadata, under step 18; it reached this branch through the merge ofmain, and its refusal says "removed in @objectstack/spec 18" (packages/spec/src/ai/knowledge-document.zod.ts:61). Once protocol 19 is onmain,os migrate meta --from 18replays only step 19, so a retirement that ships on the v19 line and is filed under step 18 is not listed to an 18 → 19 upgrader. feat(service-knowledge)!: one splitter (whole / recursive / markdown, Chinese-aware), the chunk channel and the split key; KnowledgeChunk.metadata and knowledge.chunk_overlap retired #37287 is one member of the family "step-18 entries registered onmainafter the 18.6.0 tag" (31 step-18 semantic entry files at this head that the 18.6.0 tag does not carry, and 34 onmainat5d21d431ec, after feat(lint): refuse a transferBehavior cascade the Change Owner action can never offer #37382, fix(spec)!: composition refuses one job name enabled in two packages #37392 and feat(refusals)!: one refusal names several declared reasons, each in the person's language #37395). That card is follow-up owed (seat).yes (narrowing)+narrowedwith a step-19 entry, rather thansemantic.'^18', and the version pass stamps it.'>=18.0.0'.check-future-spec-majorand the removal-version pin is resolved by ruling record 7176929521, option A (above).Verification
Two-minute check:
node scripts/check-future-spec-major.mjsprints✓ check-future-spec-major: no @objectstack/spec citation names a major above 19andpre-mode window: label major 18, pre mode next, pending major for @objectstack/spec in .changeset/37223-v19-line-opens.md — the next publish carries 19, and exits 0.node scripts/check-changeset-no-major.mjs --base origin/mainprints✓ Protocol lockstep: PROTOCOL_VERSION major 19, @objectstack/spec@18.6.0 — the one exception, evidenced: pre mode (tag next) and a pending major for @objectstack/spec (.changeset/37223-v19-line-opens.md).and exits 0.Read first:
.changeset/37229-protocol-19.mdandpackages/spec/src/migrations/entries/semantic/19.protocol-18-range-refused.ts: what an upgrading author is told.packages/spec/src/migrations/registry.ts.template, the newstep19: the ledger's protocol 19 step opens here.scripts/check-future-spec-major.mjs,judgedMajorand the five new self-test rows: the one gate this PR changes.'^18'left in place.Readings at
3811cd10f5a(the dev's, through the verify lock, and the seat's L1)3811cd10f5a: 70 check-runs, 60 success, 9 skipped, 1 failure. The failure isCheck Changeset, by design: its two file annotations name the two DELIBERATE CORRECTION notes, and its ADR-0087 and no-major steps are green. All eleven required contexts are success,Test Core10/10 included, and so isType Check · source gates.examples/app-starterboot test: 5/5 (re-run by the seat). With the range put back to'^18'throughablation-replace, it reads 3 failed | 2 passed, refusedOS_PROTOCOL_INCOMPATIBLE; the restore was proven withgit diff HEADempty.retired-key-removal-version.pin.test.tsandprotocol-version.test.ts: 2 files, 68/68 (re-run by the seat).check-future-spec-majorexits 0, and--self-testreads39 cases pass(re-run by the seat). The gate file is byte-identical to9ed0f5e41f6, where the seat ablatedstable, the pending-major condition, the pre-mode condition and+ 1in turn: one self-test row went red each time, and with the window off the scan read the 14 sites. Each ablation was restored withgit diff HEADempty.check-changeset-no-major --base origin/mainexits 0.check:adr-0087-registrationexits 0 withregistered protocol-18-range-refused.dispatch-gates --commandsderives 150 families on this diff. Two are red:check-empty-changesetby design (the two DELIBERATE CORRECTION notes), andcheck:platform-checklistonareas/automation.json: ABSENT SYMBOL … FlowItemMoreMenu.tsx#FlowItemMoreMenu, whichmainitself carries (reproduced onorigin/mainecbe854bda; this diff touches neither path). The other 148 exit 0.main(5d21d431ec, 9 commits past the merge base):git merge-tree --write-treeis clean, and the merged tree carries the same'^18'lines as this head.mainadded no other handshake at'^18'.Earlier readings (the dev's, on 9da4c1d plus the fixture fix, and at 8852bcb for the
--writereach)Not re-run at
3811cd10f5a. Of the code these read, this PR changed only the step-19 entry's text and theexamples/app-starterrange after them. The merges ofmainbrought other changes in, and CI at the head is green.@objectstack/metadata-coreon protocol 19:'^18'→incompatible OS_PROTOCOL_INCOMPATIBLE … Run: objectstack migrate meta --from 18;'^19'→ok.'^18'copy ofexamples/app-todo,os migrate meta --from 18lists the step-19 entry, and--writerewritesobjectstack.config.ts:48to'^19'. Onexamples/app-multi-packagewith both package manifests at'^18',--writewrites nothing and prints the range for a hand edit (manifest is composed by composeStacks(…)).'^19'now turnstemplate-consistency.test.tsred (expected 19 to be 18).release.ymlversion-pass rehearsal. Theversion-prRender and Validate blocks were extracted verbatim and run in a throwaway clone:PROTOCOL_VERSION already 19.0.0; the template is stamped'^19'; unvalidated surfaces 0; 14 of 15 content gates green;check:release-notesred.protocol-version.tsis unvalidated, with the same release-notes red.validateexits 0 for 4 examples and 3 connector apps.Provenance
Opened by seat repo:objectstack#4 on the maintainer's authorization in the seat session (「#37229 的两个 PR 开 PR 时被拦了:放行」). The dev session (
session_01QSeKYnLptCbfzwtkTrDG3j, zone a4-S) had three writes refused by its permission check, and none was retried: its relaypr_create, the hand-off of the payload to the seat, and the push of the runtime fixture fix. The seat read the prepared body from that session's final message. The fixture fix was then re-applied and pushed ase05fdf6f(fast-forward, five sites in one test file) by a seat-dispatched dev, on the maintainer's authorization 「#37229 夹具修复推送放行」. Rework round 1 (seat L1 7170046632) pushed3fdf3490b9to43133e8ce5. After ruling record 7176929521,c871272e47mergedorigin/maindb77cc493a,e5a7e35bffregenerated the two ui reference pages from the merged tree, and9ed0f5e41fchanged the gate. Rework round 2 (seat L1 7181615974, L2 7181629335):d47c169db75mergedorigin/mainda7c559990, and3811cd10f5amovedexamples/app-starterto'^19', narrowed the step-19 entry's acceptance text, and corrected a comment incheck-changeset-no-major.mjs. Branchclaude/issue-37229-protocol-version-19@3811cd10f5a.🤖 Generated with Claude Code
https://claude.ai/code/session_01QSeKYpEsWWE9Y5YtSsDgqZ