Skip to content

fix(metadata-protocol): a code package's placed tab or added field is saved in its source text from a translated read - #36813

Merged
objectstack-fleet[bot] merged 3 commits into
mainfrom
claude/issue-36595-placed-title-save-door
Nov 24, 2026
Merged

objectstack-fleet[bot] merged 3 commits into
mainfrom
claude/issue-36595-placed-title-save-door

Conversation

@objectstack-fleet

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

Copy link
Copy Markdown
Contributor

Requested by Yibo Wang · project thread
Refs #36595 (items 1, 2, 3; item 4 is left out and reported to the seat as a fork)

Clause-②: no
Metadata-protocol: none

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

维护者速读

  • 用户无感:只有直接调用接口、把翻译后的对象读结果整份存回去的客户端才会碰到;控制台和工作室的编辑器本来就存原文,前后都不变。
  • 属于「关联列表标题翻译」的收尾:别的已安装代码包插入的标签页标题、添加的字段,在非原文语言下保存时,不再把译文存成原文。
  • 出错的后果是这类标题或字段名被存成某一种语言的译文,其他语言的用户都看到它;本改动只影响保存时的还原,撤回即恢复原行为。
  • 无。

What changes

Item 1 (save door, main item). restoreTranslatedEchoes takes a new optional packagedOwner beside packagedBase. With it, what the packaged base carries beyond the owner (a field a code extender adds under a name the owner does not declare, and a relatedLists entry whose list the owner does not name, i.e. one a code extender's place splices in) is the LAST source, used only for an incoming field or entry the stored row does not declare at all. The save door (ProtocolDiscoveryAndBasesFacet.restoreTranslatedObjectEchoes) reads the owner from the engine's registry (getPackagedObjectOwner, the read getPackagedObjectBase already falls back to) and hands it in. Landing point: protocol-translated-echo.ts, as the dispatch expected, plus the one hand-over line in protocol-discovery-and-bases.ts. The objectql packaged-base producer is unchanged: it already carries the placed entries and added fields (#36574's route (a)); what was missing was a source on the save side.

What does not change, by construction:

  • A field or entry the stored row declares is never compared with the packaged base, so a tenant's rename keeps its text even when it equals a catalog string (the guard the packagedBase docblock on restoreTranslatedEchoes describes).
  • A field or entry the OWNER declares and the stored row dropped is not served by the fold (overlay ?? own), so a body carrying it again keeps its text.
  • With no stored row the source already is the packaged base, so the new cut is empty.
  • The stored-row migration path (protocol-save.ts, source: item) and the pure injected-column half (source: undefined) pass no owner and behave as before.

Reachability (measured on origin/main 844218f, by reading). No in-repo editor reaches the edge:

  • Studio/Setup editors seed their buffer from the layered read's authored copy (ui/packages/data-objectstack/src/authored-layers.ts, authoredBuffer: the draft layer, else an object's overlay ?? code), never the translated served read; ResourceEditPage.tsx uses it for every translatable type.
  • The record page's tab save composes over the layered read (recordTabsConfigSave.ts, "composed over what is STORED, never what is served").
  • The ?state=draft read is translated but not folded (protocol-meta-item-reads.ts, the A tenant object overlay drops every objectExtensions field from the resolved schema, and effective contradicts code in the same response #8027 note: the fold runs after the draft return), so it never carries a placed entry.
  • The plain GET /meta/object/NAME read IS folded and translated (translateMetaDocument in packages/rest/src/meta-item-read-gate.ts), and PUT /meta/object/NAME runs restoreTranslatedObjectEchoes with the stored row as source. So the edge is reachable by any API client that saves the read it got back; the fix applies as defence for that door. Not reproduced over HTTP in this PR.

Item 2 (N4): documented deviation, no fix — a seat-accepted deviation (repo:objectstack#3, 2026-11-24T01:45Z). The base judges "declares relatedLists" on the owner; the fold judges it on its base layer (overlay ?? own). Making the base follow a tenant overlay would make the PACKAGED base read a tenant row (the docblock defines it as the code layer, before any overlay) and would change which text a reader sees in a case the card does not settle (a catalog translation instead of the authored placement label), which the dispatch routes to a fork. The deviation is now stated in the TranslateDocumentOptions.packagedBase docblock: where only a tenant overlay declares relatedLists, the placed tab has no packaged counterpart, reads as authored, and the deployment catalog does not translate it. No wrong text is served (the label shown is the extender's own source).

Item 3 (N5): docblock only. TranslateDocumentOptions.packagedBase (packages/spec/src/system/i18n-resolver.ts) now names the placed relatedLists entries beside validations and added fields.

Item 4 (lint union): left out, reported as a fork. Measured with a throwaway probe (deleted): an owner-labelled _relatedLists.contact key resolves with 0 findings when a .custom arrangement hides the entry ({ list: 'contact', hidden: true }) or names it bare (['case', 'contact']); the control (owner entry unlabelled, arrangement hides it) gives 1 translation-target-unknown finding at severity error. Tightening the rule would therefore turn an accepted key into an os validate error, a (narrowing) arm, so it is not in this PR.

No ruling governs the edited lines: the ruling / maintainer / ⛔ lines near each edit were read; the only one nearby (protocol-translated-echo.ts, the patch-entry rule "asked through packagedOwner ... by scalarOverridesPackagedBase, ⛔ never a second copy") is about patch entries and is untouched; the new source asks no override question. Decisions cited: ADR-0029 D9.2 / D9.2a.

Tests

  • Item 1: protocol-translated-echo.test.ts, describe "a code extender's placed title or added field, over a stored row that predates it": the pure restore, the tenant-rename and owner-dropped controls, and the door test "the save door hands the restore the packaged owner: a non-source-locale save over the stored row lacking the entry keeps the source title" (the card's re-check criterion).
  • Item 2: the deviation text in the packagedBase docblock.
  • Item 3: the same docblock's first paragraph.

Acceptance notes

  • restoreTranslatedEchoes' local callback parameter in sourceOf is also spelled packagedOwner (pre-existing, a different thing: the packaged slot owner for a patch entry). The new argument is always read as args.packagedOwner; no shadowing, but the names read alike.
  • The lint comment in validate-translation-references.ts says "where the target declares" (the looser spelling the review's N4 noted); left as is, outside this PR's items.

Verification

Two-minute check: pnpm --filter @objectstack/metadata-protocol exec vitest run --maxWorkers=2 src/protocol-translated-echo.test.ts shows 19 passed, including the five cases of the new describe.

Read first: packages/metadata-protocol/src/protocol-translated-echo.ts (the extenderDoc cut: the stored-row and owner exclusions are the risk), then protocol-discovery-and-bases.ts (the owner read), then the docblock in i18n-resolver.ts.

Local runs (head 15e4188)
  • vitest run src/protocol-translated-echo.test.ts src/protocol-translated-echo.related-lists-36528.test.ts: Test Files 2 passed, Tests 22 passed.
  • Full @objectstack/metadata-protocol suite under the lock: Test Files 365 passed, 9 skipped (374); Tests 23359 passed, 45 skipped; VERDICT command-exit 0.
  • @objectstack/metadata-protocol typecheck: exit 0 (--listFiles includes the test file).
  • @objectstack/objectql door files (protocol-meta-effective-schema.test.ts, registry-related-lists-label-translation-36528.test.ts) against the rebuilt closure: 28 passed.
  • pnpm --filter @objectstack/spec build && pnpm --filter @objectstack/spec check:generated: all 14 generated artifacts up to date.
Ablation (committed fix, restored to HEAD by blob)
  • Removing the ['extender', extenderDoc] source (node scripts/ablation-replace.mjs, anchor 1 to 0, blob 120e8d8e to 6ca9d157): 3 failed / 16 passed: the pure restore, the owner-dropped case's extender half, and the door test. Restored: blob == HEAD (120e8d8e), git diff HEAD empty.
  • Removing the door's packagedOwner hand-over in protocol-discovery-and-bases.ts (anchor 1 to 0): 1 failed (the door test) / 18 passed. Restored: blob == HEAD, git diff HEAD empty.
Derived gate families

node scripts/pm/dispatch-gates.mjs --commands --repo objectstack-ai/objectstack derived 90 commands; all 90 run locally, --ran reconciliation: 90 derived, 90 run, 0 UNRUN.

  • 85 exited 0 at 13ff81c; the seven that read the test file (check:cross-package-test-inputs, check:tier-file-adoption, check:nul-bytes, check:undeclared-dep-imports, check:test-source-alias, check:issue-citations, check-closing-keyword-parity) re-run at 15e4188: all exit 0.
  • check:test-source-alias was red at 13ff81c (the new door test reached @objectstack/lint through dynamic imports inside a clock); fixed by the module-top import it prescribes, green at 15e4188.
  • NOT MEASURED, reason: check-plugin-teardown-shape --self-test (exit 3: shallow clone cannot reach its pinned fixture commit); check:dts-closure (exit 1), check:dual-build-cjs-loads (exit 3, PREREQUISITE NOT MET) and check:lean-entry-closure (exit 3): each reads the whole tree's built dist/, which this worktree does not hold. CI's.
  • test:repo (the vitest repo project), Test Core shards, Build Core, type-check lanes and the dogfood battery: CI's.

🤖 Generated with Claude Code

https://claude.ai/code/session_01WGufziH9MVhWYLVCiw5eXB


Generated by Claude Code

… over an older stored row is saved as its source

The save door's translated-echo restore now takes the packaged owner beside
the packaged base, so what the base carries beyond the owner (a field a code
extender adds, a relatedLists entry its place splices in) is the last source
for a field or entry the stored row does not declare at all. The
TranslateDocumentOptions.packagedBase docblock names the placed entries and
where a placement is judged.

Co-Authored-By: Claude <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01WGufziH9MVhWYLVCiw5eXB
@github-actions github-actions Bot added size/m documentation Improvements or additions to documentation protocol:system tests tooling Fix lands in tooling, not a product package — enters pm:queue only with Unblocks: or a named surface labels Nov 24, 2026
@github-actions

Copy link
Copy Markdown
Contributor

📓 Docs Drift Check

10 anchor(s) derived from 2 changed package(s); no hand-written page names any of them, so this run has nothing to list — not a clean bill of health. This check sees only pages that NAME a derived anchor: one that documents this change in prose, or enumerates it in an authoring dialect, names none and stays invisible to it on every run.

What this run could not see
  • the SDK route bridge reached 68 of 251 client-bound route-ledger rows — the other 183 have no registrar path: tail to select them, so pages documenting THEIR client methods cannot appear above, on this or any run. Of those 183: 0 are remediable by widening that discovery convention (an in-repo file declares the path; the convention did not scan it); 59 are structural — on a ledger where NOT ONE row is declared in-repo, so no discovery change reaches them at any price; 124 are undecided (no in-repo declaration, on a ledger that has other in-repo registrars — absence and an unreadable spelling are not distinguishable here). The rows themselves: node scripts/docs-audit/affected-docs.mjs --bridge-coverage
  • 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 — 176 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 65ee4b7ad49361bc3cfaf3a32c9ed02752d4a152 → packageMentionDocs.

Which tree this was computed on

This run read content/docs from ff3d5ce74645f6c59abf7a09935788ebebd3f896 — the merge of head 15e41882289f6745017657fda3e975fccecf8e13 into base 65ee4b7ad49361bc3cfaf3a32c9ed02752d4a152, which is what actions/checkout gives a pull_request run. Not the PR head.

A worktree cut from an older main holds a different content/docs, so re-deriving there can legitimately return a different list — that is a different tree, not a wrong row. To answer on the same tree:

# while this PR is open — GitHub drops the merge commit once it closes
git fetch origin ff3d5ce74645f6c59abf7a09935788ebebd3f896 && git checkout ff3d5ce74645f6c59abf7a09935788ebebd3f896
# afterwards, rebuild it from the two parents, which stay fetchable
git fetch origin 65ee4b7ad49361bc3cfaf3a32c9ed02752d4a152 15e41882289f6745017657fda3e975fccecf8e13 && git checkout -B drift-repro 65ee4b7ad49361bc3cfaf3a32c9ed02752d4a152 && git merge --no-ff 15e41882289f6745017657fda3e975fccecf8e13

node scripts/docs-audit/affected-docs.mjs --json 65ee4b7ad49361bc3cfaf3a32c9ed02752d4a152

⚠️ That checkout carried uncommitted changes, so the commit above does not fully identify what was read.

@objectstack-fleet

Copy link
Copy Markdown
Contributor Author

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

Contract-review-claim: session_01WGufziwMkZG34d69p8BHb4 · head 15e4188 · 2026-11-24T02:22Z

Face: published schema (packages/spec/src/system/i18n-resolver.ts, non-test) ⇒ CONTRACT_REVIEW_TIER. L1-b runs it in an isolated reviewer beside its L1 read.

@objectstack-fleet

Copy link
Copy Markdown
Contributor Author

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

Contract review

Served-tier: CONTRACT_REVIEW_TIER
Head-sha: 15e41882289f6745017657fda3e975fccecf8e13
Local-runs: none
Scope: packages/spec/src/system/i18n-resolver.ts + packages/metadata-protocol/src/protocol-translated-echo.ts, packages/metadata-protocol/src/protocol-discovery-and-bases.ts

Read for this record: card #36595 (body and its three comments: triage 7089293793, claim 7118543153, dev report 7119401800), PR #36813 (body, both comments, the five-file net diff against main), and the 73 check-runs on the head. packages/metadata-protocol/src/protocol-translated-echo.test.ts was read for agreement with the two implementing files; the changeset and the test are the lane seat's ACCEPT. Code outside the diff was read, not reviewed: registry-platform-global.ts (getPackagedObjectBase, getPackagedObjectOwner, packagedPlacedRelatedLists), registry-object-registration.ts (the overlay ?? own fold), registry-extension-placement.ts (arrangementDeclared), translateObjectRelatedLists in the resolver, and the call site in protocol-save.ts.

① Derived judgments

  • Published accept set: unchanged — right. No schema, no .describe(), no exported symbol moves. The packages/spec change is one TSDoc block on TranslateDocumentOptions.packagedBase; it ships in the .d.ts, so it is a published sentence and is judged for truth in ④.
  • Public surface of @objectstack/metadata-protocol: unchanged — right. restoreTranslatedEchoes gains an optional packagedOwner argument and the facet method's host pick gains engine; neither the module nor the facet is exported from the package index, and the only callers are protocol-discovery-and-bases.ts and protocol-save.ts. The two callers that pass no owner (source: item in the stored-row migration, source: undefined in the pure injected-column half) get an empty extender cut and behave as on main.
  • Save-door behaviour: one stored value changes, nothing is refused — right as declared. A PUT /meta/object/NAME body whose field label, option label or relatedLists entry label (a) sits on a field or list the stored row does not declare at all, (b) is brought by an enabled code extender (not declared or named by the packaged owner), and (c) equals what the translator makes of the extender's packaged text in some locale, is now stored as that packaged text and named on advisories (translated-label-echo). Every body the door accepted is still accepted with the same status.
  • Gate verdicts. All 73 check-runs on the head are success or skipped (Test Core 10/10 shards, Build Core, the type-check lanes, Check Changeset, Governed Surface Queue Guard, Spec property liveness, the lint lanes). The four gates the dev report lists as not measured locally (check-plugin-teardown-shape --self-test, check:dts-closure, check:dual-build-cjs-loads, check:lean-entry-closure) are answered by the green lint and build lanes on this head. The dogfood matrix is skipped, which is what a PR with no ! and no (narrowing) arm owes.

② Semver level

③ Boundary flags

  • Dev flag — item 1 reachability measured by reading, not reproduced over HTTP. Answered: the chain holds in the tree. GET /meta/object/NAME translates the folded object against getPackagedObjectBase (packages/rest/src/meta-item-read-gate.ts), the fold starts from overlay ?? own and splices placements onto a base that declares a non-empty relatedLists, and saveMetaItemUnaudited calls restoreTranslatedObjectEchoes after every refusal and before the put. The door test in the diff pins the hand-over; the ablation in the dev report (owner hand-over removed: 1 failed) shows the test reads it.
  • Dev flag — four local gates not measured. Answered by the head's check-runs (①).
  • Dev flag — the two same-named packagedOwner identifiers. Answered: args.packagedOwner (the owner's declaration) is read only outside sourceOf; inside it the callback parameter of the same name is the patch-entry slot owner. No shadowed read; the names read alike and nothing more.
  • open_questions — item 4 (tighten translation-target-unknown, option A a (narrowing) card, option B document the bound). Escalated to the seat. At read time the card carries no answer to it (three comments: triage, claim, dev report). Nothing in this diff touches packages/lint, and no sentence of the changed docblock, the module header or the door docblock describes or promises the lint behaviour, so leaving it out makes nothing here false.
  • Item 2 (N4), the "seat-accepted deviation" the PR body cites (2026-11-24T01:45Z). Escalated to the seat for the record only: that acceptance is not on the card or the PR thread at read time. On the merits the card left "fix or documented deviation" open, the deviation serves no wrong text, and ④ finds the sentence that documents it true.
  • SQL push-down. Not engaged: the diff adds one in-memory registry lookup (getPackagedObjectOwner, a Map find) and no query, id materialisation or in-app join.

④ Design judgment

packages/spec/src/system/i18n-resolver.ts — the packagedBase docblock, sentence by sentence against the head.

  • "where the owner declares relatedLists, those relatedLists carry each entry a code extender's list placement (place) splices in, as the fold splices it" — true. SchemaRegistry.getPackagedObjectBase replaces the owner's relatedLists with the output of applyExtensionPlacements run over the owner's own declaration, with the fold's own disabled-package filter and child-ownership test, and returns the owner unchanged where no placement applies.
  • "so a placed tab's label reads the catalog" — true. translateObjectRelatedLists judges a served entry against the base entry of the same list; a served placed label equal to the base's reads the unchanged catalog.
  • "Its scalars and every field the owner declares stay the owner's ... a patched owner field still reads as diverged" — unchanged text, still true: the base spreads owner.definition and widens only validations, added field names and the placed lists.
  • "Whether a placement applies is judged on the OWNER here and on the served object's base layer (a tenant overlay's own relatedLists, else the owner's) by the fold" — true. The base calls applyExtensionPlacements(owner, ...); the fold calls it on merged, which starts from overlay ?? own, and an extension body's relatedLists is not merged in before that pass.
  • "where only a tenant overlay declares relatedLists, the served placed tab has no packaged counterpart, so it reads as authored and the deployment catalog does not translate its label" — true. The base then carries no relatedLists, the translator's packagedEntries is empty, the entry counts as diverged and reads catalogs.changed, never the deployment catalog. This is card item 2 stated as it behaves, not a promise of a fix.
  • The docblock says nothing about translation-target-unknown or any lint verdict: item 4 is not promised.

packages/metadata-protocol/src/protocol-translated-echo.ts — the extender source against its header and the docblock.

  • The cut agrees with the contract. Fields: an incoming name the packaged base carries, the owner does not declare and the stored row does not declare. Lists: a base object-form entry whose list neither the owner nor the stored row names, bare or object form. It is asked last, so the stored row, the patch entries and the injected columns keep their precedence.
  • The defence holds for the edge. With a stored row that declares relatedLists without the placed entry, the stored source answers NOT_DECLARED, the extender source carries the packaged entry, its reads are translated with the read's own options, and the body's translation is put back to the packaged label. The same path restores an added field's text slots and option labels.
  • It does not break a legitimate save, tried four ways. (1) A title or label the stored row declares is excluded from the cut by name, so a tenant rename is the stored row's to explain, even when it equals a catalog string (pinned by the test). (2) An owner's field or entry the stored row dropped is excluded by the owner sets; the header's claim that the fold does not serve it is true, since the fold's base is the overlay body whole. (3) With no stored row the door's source is the packaged base itself, so the stored sets cover every extender name and the cut is empty. (4) A Studio or repository-editor save sends the stored document, so its entries are stored-declared or absent; an author who newly adds the placed entry with a label of their own keeps it unless it equals a translation of the packaged label, the header's standing edge, where the reader in that locale is served the same text.
  • The extender source cannot explain an object scalar (the cut carries none), and a stored bare-string entry of the placed list blocks the cut, which matches the fold: a list the base already arranges keeps its entry and gains no label.
  • A disabled extender adds nothing to the packaged base, so it adds nothing to the cut; a registry without getPackagedObjectBase returns the owner by reference and the identity guard leaves the cut empty.

packages/metadata-protocol/src/protocol-discovery-and-bases.ts — the door.

  • The owner is read from the same registry the base comes from, only when a base exists, and handed over only when defined. The docblock paragraph added above the method says what the code does. The read sits outside a try; it is a contributor-map lookup with no store behind it, so the door's "a degraded MetadataService fails nothing here" sentence stays true.

No must-fix, no should-fix.

  • N1 — "declares relatedLists" in the docblock (and "a stored row of any age" in the module header) is looser than the code: both the base and the fold place a list only where the layer they judge declares a NON-EMPTY relatedLists (arrangementDeclared). An owner or stored row with relatedLists: [] gets no placed entry on either side. No slot is served or stored differently from what the sentences lead a reader to expect in the non-empty case; left as an accepted deviation or a follow-up, since a fix moves the head.
  • N2 — in the docblock's first paragraph the new placement clause is joined to the aside that follows the dash ("... what its extender ships, and, where the owner declares ..."), so the third thing the base carries reads as part of the reason for the second. Meaning is recoverable and true; wording only.

Implemented-by: claude/issue-36595-placed-title-save-door
Reviewed-by: session_01WGufziwMkZG34d69p8BHb4

VERDICT: PASS

@objectstack-fleet

Copy link
Copy Markdown
Contributor Author

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

席位核对 — ACCEPT · repo:objectstack#3 · head 15e4188 · 2026-11-24T02:29Z

L1: ACCEPT
Head-sha: 15e41882289f6745017657fda3e975fccecf8e13
Card: #36595 (items 1, 2, 3) · claim 7118543153 (area ux-D) · os-dev-report 7119401800.
Contract review on this head: 7120187807 (CONTRACT_REVIEW_TIER, PASS, No must-fix, no should-fix., nits N1–N2; claim 7120079954).

Checklist

  • Shape: l1-face CLEAN. Draft, base main, first line Refs #36595 (items 1, 2, 3; item 4 is left out and reported to the seat as a fork). That is the partial-landing spelling execution-duties.md prescribes (Refs #N (item k), never Fixes). No closing keyword binds any card, so the card stays open for item 4.

  • Checks at this head: 73 check-runs. 60 success, 13 expected skip, 0 failed. Lint & Repo Gates and TypeScript Type Check: success. mergeable_state clean.

  • Governance: check-governed-merges.mjs --pr 36813: NOT governed, 236 lines.

  • Declarations: Clause-②: no and Metadata-protocol: none in the body and the changeset; they match the claim. The contract review's ② agrees: the save door refuses nothing new. It stores an extender's translation as source text on a slot the stored row does not declare, which is the existing restore rule reaching one more source. Precedents feat(i18n): a dependent package's fieldPatches text is translated from that package's own translations #34784 and feat(spec): a record-page tab title a relatedLists entry declares is translatable (objects.OBJECT._relatedLists.LIST.label) #36574 shipped the same way without a narrowing arm.

  • Changeset: @objectstack/metadata-protocol: patch and @objectstack/spec: patch. Both are published, and both have src/** moved; spec's is the packagedBase TSDoc in i18n-resolver.ts, which ships. The prose, read sentence by sentence:

    • the translated /meta read of a placed tab or added field over a stored row that predates the package: true;
    • the save door compares with the packaged definition as a last resort, only for a slot the stored row does not declare: true;
    • the slot is named in advisories (translated-label-echo): true;
    • a tenant's rename is never compared with the package: true;
    • an owner entry the stored row dropped is left as sent: true;
    • Console and Studio save the stored document, so they never reached this: consistent with the PR's reachability reading;
    • the packagedBase note on judging placement on the owning package vs the served object: matches getPackagedObjectBase and the overlay ?? own fold, per the contract review.

    Each sentence is pinned by a case in protocol-translated-echo.test.ts.

  • Scope: five files, inside the claim's surface: protocol-translated-echo.ts, protocol-discovery-and-bases.ts, the i18n-resolver.ts docblock, tests and a changeset. The lint file named for item 4 is untouched, as intended.

  • Item 1 acceptance (the card's Re-check): "a test pins that a non-source-locale save of a placed title, with a stored row lacking the entry, keeps the source title". It is pinned twice: in the restore unit ('Audit trail', 'Market', restored paths), and through the save door handing over the packaged owner (relatedLists[acme_audit].label, fields.cb_market.label). A positive control shows the read really translates (审计, 市场).

  • Ablations (report 7119401800): extender source removed, 3 red; door hand-over removed, 1 red.

  • Item 2: shipped as a documented deviation in the packagedBase docblock. The contract review reads every sentence of it as true.

  • Item 3: done.

  • UI strings: none.

Findings

Must-fix: none. Should-fix: none. The contract review's N1 ("declares relatedLists" is looser than the code's non-empty test) and N2 (clause placement in the docblock's first paragraph) are wording nits with no slot served or stored wrongly. They are accepted as they stand.

Before landing (paper, seat; not a finding on this diff)

The contract review's ③ found two seat routes the PR body relies on that are not on GitHub. Card #36595 carries only triage, the claim and the dev report.

  • the "seat-accepted deviation" for item 2 that the PR body cites;
  • the route of item 4 (the dev's open_questions: a (narrowing) card vs documenting the bound; per the area thread it goes to a later Tier H PR on this card).

Post both on #36595 before or with the partial Release: after merge, so the card records why item 2 shipped as documented and where item 4 goes.

Landing notes

Refs: the card stays open and keeps its claim until item 4's route is executed; the area's partial Release follows the merge.

@objectstack-fleet

Copy link
Copy Markdown
Contributor Author

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

Landing · 2026-11-24T02:31Z · ACCEPT 7120201019 (L1-b) at head 15e4188

reading value
check-governed-merges.mjs --pr 36813 NOT governed · +220/−16
landing-k.mjs --pr 36813 OK · K = 3 < 15 · locale and shared-budget legs clear
contract review PASS 7120187807 (CONTRACT_REVIEW_TIER) on 15e4188; nits N1–N2 accepted as wording
checks at 15e4188 60 success, 13 expected skip, 0 failed, 0 pending; mergeable clean
seat routes on the card 7120211674 (item 2 seat-accepted deviation; item 4 to a later Tier H PR on #36595)

State: ready + auto-merge (area ux-D, not governed, ≤3000 lines). Refs #36595 (items 1, 2, 3): the card stays open; on MERGED the area posts the partial Release: (items 1–3 landed, item 4 open).

@objectstack-fleet
objectstack-fleet Bot marked this pull request as ready for review November 24, 2026 02:31
@objectstack-fleet
objectstack-fleet Bot added this pull request to the merge queue Nov 24, 2026
Merged via the queue into main with commit 08f4bad Nov 24, 2026
74 checks passed
@objectstack-fleet
objectstack-fleet Bot deleted the claude/issue-36595-placed-title-save-door branch November 24, 2026 03:08
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 protocol:system size/m tests tooling Fix lands in tooling, not a product package — enters pm:queue only with Unblocks: or a named surface

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants