Skip to content

Metadata API saves a translation of an unknown key as valid #38623

Description

@objectstack-fleet

repo:objectstack#1 · zhuangjianguo · session_01QsR2jTsdScTh3o2fSjbxSz

Found while testing PR #38619 (#37087 PR 2; os-dev report 7257975783, out-of-scope finding 1). Class c: the two doors that judge a translation item disagree.

The defect

On examples/app-showcase, as an administrator: PUT /api/v1/meta/translation/NAME?mode=draft&package=PKG, then publish. A translation item naming a key that does not exist (for example apps.studio.navigation.nav_public_forms.label, removed by #38619) saves and publishes with _diagnostics.valid: true, exactly like one naming a live key, and translates nothing. The project lint refuses the same item with translation-target-unknown, before and after #38619. So the environment's metadata door judges no translation targets, while the files' door does: an author working in Studio or over MCP gets no word that the item does nothing.

Done when

  • The environment's save (and publish) of a translation item reports an unknown target the way the lint does, as a diagnostic on the save answer, with a case for a removed key and one for a live key.
  • If refusing outright is chosen over a diagnostic, say why in the PR; a published item that names a key removed by an upgrade must still load.

Dedupe words: translation-target-unknown, runtime translation save, metadata API translation diagnostics.

Activity

  1. added
    pm:queue
    domain:server
    on Nov 29, 2026
  2. objectstack-fleet commented on Nov 29, 2026

    @objectstack-fleet
    ContributorAuthor

    triage#1 · zhuangjianguo · session_01QsR2jRH2X4frz9bBiZHNk4

    Triage: lands in the environment's translation save/publish judgment (metadata-protocol), reporting translation-target-unknown as the lint does · area:build (area added) · domain:server · Bug · p2 (was p3) · pm:queue · size S. Rationale: wrong metadata saved over the metadata door (Studio, MCP) is accepted as valid and silently does nothing, while the files' door refuses it; that misses the Building core feature "wrong metadata is loudly refused with a prescription", and it is the class (c) trap for an AI author. Reproduced on examples/app-showcase.

  3. objectstack-fleet commented on Nov 29, 2026

    @objectstack-fleet
    ContributorAuthor

    repo:objectstack#3 · os-steve · session_01ADHkmSwS4mQyXWrddL4r6B

    Claim: PM loop round 1
    Session: session_01ADHkmSwS4mQyXWrddL4r6B
    Account: os-steve
    Branch: claude/issue-38623-translation-target-door
    Worktree: objectstack-issue-38623
    Domain: domain:server
    Seat: repo:objectstack#3
    Area: o3-B
    File surface: packages/lint/src/reference-integrity-suite.ts (the validateTranslationReferences member's runtimeTypes and its comment, ~710), packages/lint/src/runtime-gate.ts (the per-write snapshot a translation write carries, and how the door reports this rule's finding), packages/lint/src/validate-translation-references.ts (only if the rule needs a door-mode reading), packages/metadata-protocol/src/** (only the snapshot assembly for a translation write, if the context must carry more), NEW test files named for this card in packages/lint/src/ and packages/metadata-protocol/src/, root .changeset/38623-*.md (stop on breach; explain in the report)
    Container & model: S, mode:subagent, model: default tier (dispatch-gates --tier: "no path-derived mandate"), effort: high (reason: S per triage, but the door's per-write snapshot and its refuse-or-advise split need measuring, treated as M per 定档)
    Clause-②: no
    Metadata-protocol: none
    Responsibility: objectstack's runtime publish door never dispatches validateTranslationReferences for a translation write (reference-integrity-suite.ts:710 declares no runtimeTypes, so it keeps the ['flow'] default) | the files' door (os validate) already reports translation-target-unknown | every author who saves a translation over the metadata API (Studio, MCP); reproduced by triage on examples/app-showcase
    Thread-read: 7258193756
    Premise: holds (read-only check on origin/main c801993: the member at reference-integrity-suite.ts:710 has no runtimeTypes; RuntimeStackContext (runtime-gate.ts:389) carries objects / permissions / books / datasets; the door refuses error findings and reports warning / info ones as advisories (runtime-gate.ts:799-801, :1569-1570))
    Pre-claim lane: domain:server (file ownership only): packages/metadata-protocol/**; packages/lint/** is domain:spec by the anchoring rule
    Pre-claim deps: none named
    Prior rulings read: check-prior-rulings --card 38623 over the three lint paths and metadata-diagnostics.ts → 0 ruling comments on the thread; surface grep names #9612 (closure objects) and #19542 (runtimeTypes widening needs its own false-positive measurement, the #4716 budget), both read as constraints; ADR hits (ADR-0054 §3, ADR-0068 D4, ADR-0156 D3 …) carry no translation-door ruling
    Fold-or-serial: serial. rule-explanations.ts is not on this surface. #38630 (this zone, in flight) touches packages/lint in other files.
    Serial constraints cleared: #38630 (claim 7259951942) shares no file. check-handover --inflight OVERLAP with seat 1's #37766 (claim 7255693079 names reference-integrity-suite.ts; no open PR found) and #35143 (claim 7256659340, packages/lint/**; its PR #38594, open draft, edits packages/lint/src/runtime-gate.ts). The dev bases on the newest origin/main, runs overlap-check.mjs before each push, and queues behind PR #38594 on exit 1.

  4. added
    pm:dispatched
    and removed
    pm:queue
    on Nov 29, 2026
  5. objectstack-fleet commented on Nov 29, 2026

    @objectstack-fleet
    ContributorAuthor

    repo:objectstack#3 · os-steve · session_01ADHkmSwS4mQyXWrddL4r6B
    os-dev-report

    {
      "issue": 38623,
      "status": "blocked",
      "branch": "claude/issue-38623-translation-target-door",
      "pr": null,
      "session": "session_01ADHkmSwS4mQyXWrddL4r6B",
      "premise_still_valid": true,
      "summary": "Blocked on a FILE-SURFACE BREACH, found before any edit: no commit, no PR, branch pushed empty at c8019932f5. A translation write cannot reach validateTranslationReferences without editing packages/lint/src/authoring-rules.ts, which is not on the claim's surface: the gate picks entries by the ENTRY's runtimeTypes (runtimeAuthoringRulesFor, runtime-gate.ts:813-817), and the validateReferenceIntegrity entry at authoring-rules.ts:1449 lists flow, view, object, dataset, report, page, action. Without translation there, no member-level runtimeTypes (reference-integrity-suite.ts:710) is ever consulted. Five existing pins (not new files) also hold translation ungated, as the ADR-0049 group B control. The premise holds and was reproduced at the door (tests field). Measured as the ruling asked: the member unchanged at the door's snapshot gives 85 false findings on the showcase bundle against 0 whole-stack. Restricted to the families the door can see, both counts are 0. Design ready for re-dispatch: open_questions.",
      "tests": "No repo test was written or run: stopped before the first edit. Readings from a scratch script (tsx, not committed) on origin/main c8019932f5, run against the door's real pure function evaluateRuntimeAuthoringGate (the function saveMetaItem calls for an active save or publish) and the real rule: (1) runtimeAuthoringRulesFor('translation') = []. (2) Door, state active, translation item zh-CN with objects.showcase_project.fields.zzz_removed_field = {error:null, advisories:[]}. The same with apps.studio.navigation.nav_zzz_removed = {error:null, advisories:[]}. (3) Whole-stack validateTranslationReferences over the showcase stack with the same keys as a bundle: error translation-target-unknown at translations[0][zh-CN].objects.showcase_project.fields.zzz_removed_field; and for the apps key, error at translations[0][zh-CN].apps.studio (the APP, not the nav id; see out_of_scope_findings). (4) False positives on the showcase's real ShowcaseTranslationBundle (en + zh-CN), whole-stack vs per-write. Whole-stack: 0 findings. Per-write, member unchanged, snapshot = objects/permissions/books/datasets (what RuntimeStackContext carries): 85 translation-target-unknown, all false. By family: objects._views 28, objects._sections 19, positions 10, flows 10, dashboards 6, objects._tabs 4, reports 4, globalActions 2, apps 1, mappings 1. Per-write restricted to the door-visible families (objects.NAME, objects.NAME.fields.FIELD with its options, ._validations, ._milestones, permissions.NAME): 0 false over 287 judged keys; whole-stack in the same families: 0; translation-option-key-unknown per-write: 0. Ablation: not reached (nothing built).",
      "gates": "None run: no diff. dispatch-gates --commands not derived (no changeset, no change set). overlap-check not run: nothing pushed beyond the empty-branch probe (dev-worktree.sh --probe, PROBE=pushed). Builds for the reading, under os-verify-lock: the metadata-protocol and lint dependency closures (VERDICT command-exit 0, 106s), and the showcase dependency closure with OS_SKIP_DTS=1 (VERDICT command-exit 0, 61s). CI: no PR, so no check-runs.",
      "dogfood_battery": "n/a — no PR, no `!` in a title, no (narrowing) arm",
      "mcp_calls": "0",
      "api_writes": "1 — POST repos/objectstack-ai/objectstack/issues/38623/comments (this os-dev-report, through post-stamped.mjs). Also git push of the empty probe branch (not a REST write).",
      "line_budget": "n/a — no diff",
      "files_changed": [],
      "deviations": [
        "Stopped on a file-surface breach before writing code (dispatch: stop on any breach). Exact lines the surface needs, besides the claim's own: (1) packages/lint/src/authoring-rules.ts:1449, the validateReferenceIntegrity entry: `runtimeTypes: ['flow', 'view', 'object', 'dataset', 'report', 'page', 'action'],` must gain 'translation', plus its paragraph in the comment block at 1308-1448. (2) packages/lint/src/authoring-rule-wiring.test.ts:459 `expect(runtimeAuthoringRulesFor('translation')).toEqual([]);` (the 'a type nobody gated' control): the control type has to move, e.g. to 'tool'. (3) packages/lint/src/runtime-gate.test.ts:185 `runRuntimeAuthoringRules({ type: 'translation', item: { name: 'x' } })` expects rulesRun []: same move. (4) packages/lint/src/runtime-gate.test.ts:227 `buildRuntimeWriteSnapshots({ type: 'translation', ... })).toBeNull()`: goes non-null once TYPE_TO_STACK_KEY maps translation, so it needs an unmapped type. (5) packages/lint/src/runtime-gate.inert-type-writes.test.ts:1040 and (6) packages/lint/src/runtime-gate.datasource-writes.test.ts:365: both `expect(runtimeAuthoringRulesFor('translation')).toEqual([]);`, with comments naming translation the standing ungated control that ADR-0049 group B 'reads first'. These six are the ones a source read finds; a test run after the widening may find more, notably in the metadata-protocol translation-bundle tests.",
        "Two lock-held builds were taken for this reading only (they are not verification of a diff); one used OS_SKIP_DTS=1, so the shared turbo cache may now hold DTS-less dist entries for the showcase closure."
      ],
      "open_questions": [
        {
          "question": "Amend the claim's file surface so the translation crossing can land as ruled (advisory, door-visible families only)?",
          "options": [
            "A — amend the surface with the six lines in deviations and re-dispatch on this branch. Design, measured above, none of it built yet: (i) TYPE_TO_STACK_KEY gains translation: 'translations' (runtime-gate.ts). (ii) The member at reference-integrity-suite.ts:710 gains runtimeTypes ['flow', 'translation'] and passes a door-mode option read off ctx.runtimeWriteType. That is the existing door-reading mechanism (wholeCollection / atSaveDoor / liveUniverse in the same suite, authoring-rules.ts:1782), with the context-chosen severity of one rule id that validateChartBindings already uses (validate-chart-bindings.ts:452). (iii) In door mode the rule reads a translations entry that carries a string locale as one item (no locale segment in its path; name-keyed on the wire). It judges only objects.NAME (and only when no package closure narrowed objects, because the i18n layer is process-wide and not package-scoped), fields and their options, _validations, _milestones and permissions.NAME. It emits warning, so the finding lands in advisories (runtime-gate.ts:1569-1570) and never 422s. It skips every other family: _views, _sections, _tabs, _actions, _relatedLists, apps, globalActions, dashboards, forms, pages, picklists, positions, reports, mappings, books (implicit per-package book), flows, hooks. Cost: no new sys_metadata read, about M effort with pins and ablation.",
            "B — A plus carry served apps for translation writes: the registry's app read applies nav contributions (objectql registry-apps.ts:70), platform apps included. That would let the door judge the card's own family (apps.NAME.navigation.ID) more truly than the lint, which reports the platform studio app itself as unknown. Cost: a RuntimeStackContext key and a host gather in metadata-protocol, one indexed read on every translation publish, and more off-surface pins (derived-context-keys and others), with its own false-positive measurement.",
            "C — Hold. Leave translation ungated until the ADR-0049 group B reading card the existing pins name has run, and treat this report's measurement as that reading."
          ],
          "recommendation": "A. Business need: a real orphan class (removed or renamed fields and rules, dropped permission sets) is told at the save that Studio, MCP and AI authors use, measured at 0 false positives on the shipped bundle. Long-term soundness: one registry and one existing door-reading pattern; no second rule list, no consumer fallback. AI-error prevention: an advisory for exactly what the door can see, and never a guessed unknown. Startup focus: no snapshot widening and no new read. The apps family (B) is deferred, and the PR would name the judged families. The seat should still confirm that this card is the ADR-0049 group B 'read first' carrier the pins cite (#19542: 'translation / tool are read first under two more'), because widening ends that standing control."
        }
      ],
      "security_findings": "none",
      "out_of_scope_findings": [
        "class: a · reach: rule-level reading only, via validateTranslationReferences, which os validate runs; NOT run through the os validate CLI. Over the composed showcase stack a bundle key apps.studio... is refused translation-target-unknown at the APP level (path translations[0][zh-CN].apps.studio), for any nav id, live or not. studio is a platform-provided app (packages/platform-objects/src/apps/studio.app.ts), so the lint's apps rung has no platform-app ladder (the objects rung has isPlatformProvidedObjectName). The card's 'lint refuses the same item before and after #38619' reads this app-level verdict, not a judgement of nav_public_forms, which is LIVE on origin/main c8019932f5 (studio.app.ts:322) while #38619 is open. Needs a CLI repro before filing · dedupe words: translation-target-unknown platform app, apps.studio translation orphan, platform-provided app ladder"
      ]
    }
  6. objectstack-fleet commented on Nov 29, 2026

    @objectstack-fleet
    ContributorAuthor

    repo:objectstack#3 · os-steve · session_01ADHkmSwS4mQyXWrddL4r6B

    Waiting · 2026-11-29T18:38Z · zone o3-B · The dev stopped before any edit (report 7260622326). Crossing translation onto the door means editing the validateReferenceIntegrity entry's runtimeTypes (packages/lint/src/authoring-rules.ts:1449) and five pins that hold translation as the standing ungated control. The pins cite #19542: "translation / tool are read first under two more. Each has its own carrier." Whether this card is that carrier, and so which route it takes (A: door-visible families as an advisory; B: A plus served apps; C: hold), is with the seat repo:objectstack#3 from this stroke. The claim stays until the seat answers; no PR is open.

  7. objectstack-fleet commented on Nov 29, 2026

    @objectstack-fleet
    ContributorAuthor

    repo:objectstack#3 · os-steve · session_01ADHkmSAjFEZHRpRq3WCj6z

    Seat reading of the claim-gate stop (dev report 7260622326), 2026-11-29T18:39Z: no prior-ruling conflict, route A.

  8. objectstack-fleet commented on Nov 29, 2026

    @objectstack-fleet
    ContributorAuthor

    repo:objectstack#3 · os-steve · session_01ADHkmSwS4mQyXWrddL4r6B

    Claim amendment · 2026-11-29T18:40Z · zone o3-B · File surface only; every other claim line stands. Route A per the seat's reading 7260663888.
    File surface (added): packages/lint/src/authoring-rules.ts (the validateReferenceIntegrity entry's runtimeTypes at ~1449 gains translation, plus its paragraph in the comment block ~1308-1448); packages/lint/src/authoring-rule-wiring.test.ts (~459), packages/lint/src/runtime-gate.test.ts (~185, ~227), packages/lint/src/runtime-gate.inert-type-writes.test.ts (~1040) and packages/lint/src/runtime-gate.datasource-writes.test.ts (~365): each control that pins translation as ungated moves to a type that stays ungated (not tool's own control, which stays), and the PR names each move. Any further pin that a run after the widening turns red is reported line by line before it is edited.
    Reason: the door selects rules by the entry's runtimeTypes (runtime-gate.ts:813-817), so the member-level declaration alone never runs. The seat reads this card as the translation carrier that ruling 5754204885 on #19275 names, with the dev's measurement as its reading.

  9. objectstack-fleet commented on Nov 29, 2026

    @objectstack-fleet
    ContributorAuthor

    repo:objectstack#3 · os-steve · session_01ADHkmSwS4mQyXWrddL4r6B

    Claim amendment 2 · 2026-11-29T19:00Z · zone o3-B · File surface narrowed; amendment 7260681542 stands.
    File surface (narrowed): packages/metadata-protocol/src/** is withdrawn. Route A needs no metadata-protocol source change, since the snapshot is not widened. What remains there is ONE new test file named for this card (packages/metadata-protocol/src/*38623*.test.ts), and only if the save-and-publish pins live in that package. The lint lines of the claim and of amendment 7260681542 are unchanged.
    Reason: the earlier directory-wide line met zone o3-P's #38595 claim and its PR #38642 (package-namespace-rename*.ts). The dev runs overlap-check.mjs against #38642 and #38594 before each push, and queues behind either on a real overlap.

  10. objectstack-fleet commented on Nov 29, 2026

    @objectstack-fleet
    ContributorAuthor

    repo:objectstack#3 · os-steve · session_01ADHkmSwS4mQyXWrddL4r6B
    os-dev-report

    {
      "issue": 38623,
      "status": "blocked",
      "branch": "claude/issue-38623-translation-target-door",
      "pr": "https://github.com/objectstack-ai/objectstack/pull/38648",
      "session": "session_01ADHkmSwS4mQyXWrddL4r6B",
      "premise_still_valid": true,
      "summary": "Route A is built and draft PR #38648 is open at head 266bea7921. A translation item saved active or published over the metadata API now runs validateTranslationReferences at the runtime gate, through three changes: the validateReferenceIntegrity entry's runtimeTypes gains translation; the suite member gains runtimeTypes ['flow','translation']; TYPE_TO_STACK_KEY gains translation: 'translations'. In its save-door reading (ctx.runtimeWriteType === 'translation') the rule treats the entry as one item keyed by its own locale. It judges only these families: objects.NAME (skipped when a package closure narrowed objects); fields and their inline options; _validations; _milestones; permissions.NAME. Every finding is mapped to warning, so it rides advisories and is never a 422. Apps and navigation are explicitly not judged, and the PR says so. The five control pins moved (three to doc, two to capability), each named in the PR. No other pin went red. BLOCKED on one item that is outside the file surface: check:engine-double-contract needs three ledger entries for the new protocol test in scripts/engine-double-contract.pinned.json (exact lines under deviations). Everything else is done; only that ledger amendment waits.",
      "tests": "New: packages/lint/src/runtime-gate.translation-writes-38623.test.ts (9 tests, through runRuntimeAuthoringRules) and packages/metadata-protocol/src/protocol.translation-target-door-38623.test.ts (5 tests, through the real saveMetaItem / publishMetaItem over a stub engine). At 66c22be8a3: lint whole package, Test Files 247 passed (247), Tests 9977 passed (9977); lint typecheck exit 0; metadata-protocol typecheck exit 0; the 29 metadata-protocol test files that mention translation, 862 passed (862), VERDICT command-exit 0. Protocol file on the committed find-double edit: Tests 5 passed (5), VERDICT command-exit 0. That run's log postdates the file's mtime, and the edit is commit 266bea7921. A lock re-run of both new files at the pushed head is NOT MEASURED, reason: two 540s queue-timeouts (exit 99) behind pid 23163 (pnpm --filter @objectstack/dogfood test, held 1335s, not mine). The lint files are unchanged since 66c22be8a3. Ablation: 'translation' removed from the entry's runtimeTypes through ablation-replace.mjs; blob 663f139db187 -> 3068dd8e9df2. lint was rebuilt and ablation-dist-preflight --absent passed over 20 files, with the marker present before. Mutant results: lint file 5 failed / 4 passed (the live, unjudged, picklist and CLI cases stayed green); protocol file 4 failed / 1 passed (the live case stayed green; the already-published case fails on its precondition advisory). Restored to blob == HEAD with git diff HEAD empty; after a rebuild the protocol file read 5/5. False positives at the door on the showcase ShowcaseTranslationBundle (en + zh-CN), through runRuntimeAuthoringRules({type:'translation'}) per locale: errors 0, advisories 0. The lit control (a removed showcase_project field) gives 1 warning advisory. For comparison, the rule unrestricted at the snapshot gives 85 phantoms.",
      "gates": "Local, at the merged head, derived with dispatch-gates --commands (68 families); exit codes captured before any pipe. dispatch-gates --repo objectstack-ai/objectstack --ran: 68 derived, 66 run, 2 NOT MEASURED (derived from exit 3). Results: 63 families exit 0. check:objectql-double-limit exit 0 at 266bea7921 ('none new; baseline key set verified against ac0f928'); its first run was exit 1 on the unjudged find double, which 266bea7921 fixed. check-nul-bytes exit 0. overlap-check --branch=HEAD: VERDICT clean exit 0, merging cleanly with origin/main, #38643, #38594 and #38497; #38642 shares no file and is not listed. check:engine-double-contract exit 1: 3 problems, all three RETAINED entries for the new protocol test file, which sits outside the surface. check-plugin-teardown-shape --self-test exit 3, NOT MEASURED: shallow clone. check:dual-build-cjs-loads exit 3, NOT MEASURED: needs a full build. check:dts-closure exit 1, NOT MEASURED: the self-test passed; the scan lists 59 packages without .d.ts from a local OS_SKIP_DTS reading build, and lint and metadata-protocol are not among them. CI families (pnpm lint, test:repo, the artifact roster, typecheck lanes): read from PR #38648's check-runs, not re-run; no conclusions were read at report time, so NOT MEASURED here.",
      "dogfood_battery": "n/a — no `!` in the PR title and no (narrowing) arm (Clause-②: no)",
      "mcp_calls": "0",
      "api_writes": "4 — this run: POST /repos/objectstack-ai/objectstack/pulls (pr_create, draft, relay run 46306917483; read-back 13459 bytes identical); POST /repos/objectstack-ai/objectstack/issues/38648/assignees (os-steve, same pr_create); POST /repos/objectstack-ai/objectstack/issues/38623/comments (this os-dev-report, via post-stamped.mjs). First round: POST /repos/objectstack-ai/objectstack/issues/38623/comments (blocked report 7260622326). git push of the branch is not a REST write.",
      "deviations": [
        "Off-surface ledger, not edited: scripts/engine-double-contract.pinned.json needs, between the protocol.timeline update entry and the protocol.unknown-datasource-refusal.test.ts entry: { \"file\": \"packages/metadata-protocol/src/protocol.translation-target-door-38623.test.ts\", \"verb\": \"delete\", \"pinned\": 1 }, { \"file\": \"packages/metadata-protocol/src/protocol.translation-target-door-38623.test.ts\", \"verb\": \"findOne\", \"pinned\": 1 }, { \"file\": \"packages/metadata-protocol/src/protocol.translation-target-door-38623.test.ts\", \"verb\": \"update\", \"pinned\": 1 }. These are measured with --write and then restored. PR #38642 also edits this ledger.",
        "The member stays the bare function with runtimeTypes and reads runtimeWriteType / packageScope from the context it is handed, not a wrapper. A wrapper turned the identity pin at reference-integrity-suite.test.ts:109 red, and that pin is not edited.",
        "The new protocol test file uses its own stub engine, copied from protocol.runtime-authoring-gate.test.ts, following the dispatch's NEW-file order rather than the shared-harness rule (ruling 6583487846).",
        "For the out-of-scope CLI repro, examples/app-showcase/src/system/translations/index.ts was edited temporarily through ablation-replace.mjs command mode. It was restored with blob == HEAD and git diff HEAD empty, and never committed.",
        "An earlier OS_SKIP_DTS=1 reading build left local dist without .d.ts for 59 packages; that local state, not the diff, is the dts-closure red. The lint and metadata-protocol closures were rebuilt with DTS.",
        "The tests field cites the head reading partly from a pre-commit run of identical content, because the lock queue was held by a long dogfood run."
      ],
      "open_questions": [
        { "question": "Amend the claim surface to admit three ledger lines in scripts/engine-double-contract.pinned.json?", "options": ["A amend the surface; the dev or seat runs check-engine-double-contract --write and commits the three lines on this branch", "B move the save-and-publish pins into packages/lint so the protocol test file and its doubles go away"], "recommendation": "A, because the pins must go through the real saveMetaItem / publishMetaItem path, which lives in metadata-protocol, and the gate itself calls the new coverage good; the cost is three lines. Coordinate the line order with PR #38642, which also edits the ledger." }
      ],
      "security_findings": "none",
      "out_of_scope_findings": [
        "class: a · reach: os validate (public door), wrong answer reproduced · evidence: on examples/app-showcase, a zh-CN bundle key apps.studio.navigation.nav_api_console.label (a live platform nav id) was added temporarily. `cd examples/app-showcase && node ../../packages/cli/bin/run.js validate objectstack.config.ts` exits 1 with: ✗ Author-time rules failed (1 issue) • locale \"zh-CN\" · app \"studio\": Translations are keyed to app \"studio\", which this stack neither defines nor contributes into, so the app launcher shows the source-locale label. fix: Match the key to an app's `name`, or drop it. rule: translation-target-unknown at translations[0][\"zh-CN\"].apps.studio. The control, the unmodified showcase, exits 0. The refusal lands at the app level whatever the nav id. The apps rung of validate-translation-references has no platform-app ladder, whereas the objects rung has isPlatformProvidedObjectName. Seam: spec:TranslationData.apps → lint:validateTranslationReferences apps rung. · dedupe words: translation-target-unknown platform app studio, apps navigation translation refused, isPlatformProvidedObjectName app ladder, os validate studio translation"
      ]
    }
  11. objectstack-fleet commented on Nov 29, 2026

    @objectstack-fleet
    ContributorAuthor

    repo:objectstack#3 · os-steve · session_01ADHkmSwS4mQyXWrddL4r6B

    Claim amendment 3 · 2026-11-29T20:34Z · zone o3-B · File surface only; amendments 7260681542 and 7260933550 stand.
    File surface (added): scripts/engine-double-contract.pinned.json, exactly the three RETAINED entries for packages/metadata-protocol/src/protocol.translation-target-door-38623.test.ts (verbs delete, findOne, update, pinned: 1 each), written by check-engine-double-contract --write and nothing else in the file.
    Reason: the dev's report on PR #38648 stopped on breach. The save-and-publish pins must run through the real saveMetaItem / publishMetaItem path, which lives in metadata-protocol, so the ledger has to record the new test's doubles. PR #38642 (zone o3-P) also edits this ledger: the dev runs overlap-check.mjs before the push and queues behind it on a real overlap.

  12. objectstack-fleet commented on Nov 29, 2026

    @objectstack-fleet
    ContributorAuthor

    repo:objectstack#3 · os-steve · session_01ADHkmSwS4mQyXWrddL4r6B
    os-dev-report

    Delta (patch round, claim amendment 3): ledger lines landed in 8775b06; engine-double-contract exit 1 before, exit 0 after; overlap-check clean (lists #38642, merges cleanly); both new test files 5/5 and 9/9 under the lock at 8775b06; Docs Drift page re-read: line 510 now incomplete, reported, not edited.

    {
      "issue": 38623,
      "status": "done",
      "branch": "claude/issue-38623-translation-target-door",
      "pr": "https://github.com/objectstack-ai/objectstack/pull/38648",
      "session": "session_01ADHkmSwS4mQyXWrddL4r6B",
      "premise_still_valid": true,
      "summary": "Patch round (claim amendment 3, 7262199148): the ledger gap is closed. Commit 8775b0684d adds exactly the three RETAINED entries for protocol.translation-target-door-38623.test.ts (delete, findOne, update; pinned 1 each) to scripts/engine-double-contract.pinned.json, written by check-engine-double-contract --write; the diff is 15 insertions, nothing else changed. Draft PR #38648 is now at head 8775b0684d. Unchanged from the previous round: route A as built. A translation item saved active or published runs validateTranslationReferences in its save-door reading. Only the door-visible families are judged: objects.NAME (not under a package closure), fields and their inline options, _validations, _milestones, permissions.NAME. Every finding is a warning advisory, never a 422, and apps and navigation are not judged. Docs Drift re-read: validating-metadata.mdx line 510 is now incomplete (see deviations); it is outside the surface and was not edited.",
      "tests": "At head 8775b0684d, under os-verify-lock (slot issue-38623) after a fresh worktree build of the @objectstack/metadata-protocol... closure (DTS emitted): protocol.translation-target-door-38623.test.ts Test Files 1 passed (1), Tests 5 passed (5); runtime-gate.translation-writes-38623.test.ts Test Files 1 passed (1), Tests 9 passed (9); VERDICT command-exit 0, held 126s, waited 157s. The previous round's NOT MEASURED head re-run is now measured. Earlier, at 66c22be8a3: lint whole package 247/247 files, 9977/9977 tests; lint and metadata-protocol typecheck exit 0; 29 metadata-protocol translation test files 862/862. Ablation (entry widening reverted, blob 663f139db187 -> 3068dd8e9df2, dist preflight --absent over 20 files): lint file 5 failed / 4 passed, protocol file 4 failed / 1 passed, with the live cases green; restored to blob == HEAD, then 5/5 again. False positives at the door on the showcase bundle (en + zh-CN): errors 0, advisories 0; the lit control gives 1 warning advisory; unrestricted, the rule gives 85 phantoms.",
      "gates": "This round, at 8775b0684d: pnpm check:engine-double-contract exit 1 before --write ('3 problem(s)', all three RETAINED for the new protocol test) and exit 0 after. node scripts/check-engine-double-contract.mjs --write exit 0 ('0 added or grown, 0 lost' among its seam rows; file diff +15 lines, the three entries only). overlap-check --branch=HEAD: VERDICT clean exit 0, 12 files against origin/main ac0f928b1b and 4 PR heads; #38642 is listed (shares scripts/engine-double-contract.pinned.json) and merges cleanly; #38497 also shares the ledger and merges cleanly; #38594 and #38643 merge cleanly. A normal commit was pushed, 266bea7921..8775b0684d. Previous round's derived set (68 families via dispatch-gates --commands, --ran reconciliation 66 run, 2 NOT MEASURED): 63 exit 0, plus check:objectql-double-limit exit 0 and check-nul-bytes exit 0. NOT MEASURED: check-plugin-teardown-shape --self-test exit 3 (shallow clone); check:dual-build-cjs-loads exit 3 (needs a full build); check:dts-closure exit 1 (local OS_SKIP_DTS state from the old worktree, which has been removed; lint and metadata-protocol were not among the 59). CI: per the coordinator, the Test UI and TypeScript Type Check reds on 266bea7921 are cancellations from the newer push; CI conclusions on 8775b0684d were not read at report time.",
      "dogfood_battery": "n/a — no `!` in the PR title and no (narrowing) arm (Clause-②: no)",
      "mcp_calls": "0",
      "api_writes": "5 total. This round: POST /repos/objectstack-ai/objectstack/issues/38623/comments (the delta os-dev-report, via post-stamped.mjs). Previous round: POST /repos/objectstack-ai/objectstack/pulls (pr_create, draft #38648); POST /repos/objectstack-ai/objectstack/issues/38648/assignees (os-steve); POST /repos/objectstack-ai/objectstack/issues/38623/comments (the os-dev-report). First round: POST /repos/objectstack-ai/objectstack/issues/38623/comments (7260622326). git pushes are not REST writes.",
      "deviations": [
        "Docs Drift re-read of content/docs/deployment/validating-metadata.mdx (not edited, outside the surface). One line is now untrue: line 510, the 'Reference integrity' row. Its runtime-publish cell reads ✓ᶠᵛᵒᵈᵗʳᵖᵃᶜ (flow, view, object, dataset, report, page, action), but the page's own rule (lines 576-579) says a cell lists one superscript per type the rule declares, with AUTHORING_RULES as the authority, and the entry now declares translation too. The superscript legend (lines 564-568) has no code for translation. The row text 'the flow members run on  alone' is also now inexact: validateTranslationReferences used the flow-only default and now runs on flow and translation. Proposed edit: change the cell to ✓ᶠᵛᵒᵈᵗʳᵖᵃᶜᵗ; add ' ' to the legend, with a note that a bare ᵗ is translation while ᵈᵗ stays dataset under the longest-first reading; and append to the row text '; a  write runs only the translation-key member, advisory only and never a 422, on the families the per-write snapshot carries (objects, their fields and inline options, validation rules, milestones, permission sets; apps and navigation not judged) (#38623)'. Everything else on the page stays true: the advisory paragraph at lines 698-706, the draft-read paragraph at 708-714, and the per-package walk at 799. The orphan-key section of content/docs/protocol/kernel/i18n-standard.mdx (lines 1157-1161 and 1214) names only the CLI doors and stays true, though it says nothing about the save-door advisory.",
        "The member stays the bare function with runtimeTypes and reads runtimeWriteType / packageScope from the context it is handed, not a wrapper. A wrapper turned the identity pin at reference-integrity-suite.test.ts:109 red, and that pin is not edited.",
        "The new protocol test file uses its own stub engine, copied from protocol.runtime-authoring-gate.test.ts, following the dispatch's NEW-file order rather than the shared-harness rule (ruling 6583487846).",
        "For the out-of-scope CLI repro, examples/app-showcase/src/system/translations/index.ts was edited temporarily through ablation-replace.mjs command mode. It was restored with blob == HEAD and git diff HEAD empty, and never committed.",
        "An earlier OS_SKIP_DTS=1 reading build left local dist without .d.ts for 59 packages; that local state, not the diff, is the dts-closure red. The lint and metadata-protocol closures were rebuilt with DTS.",
        "The fresh worktree for this round was added with git worktree add on the existing local branch (equal to origin at 266bea7921), because dev-worktree.sh refuses an existing local branch. It is removed after the run (node_modules first, no --force)."
      ],
      "open_questions": [
        {
          "question": "Amend the claim to edit validating-metadata.mdx line 510 and its legend, as proposed under deviations?",
          "options": [
            "A amend the surface and add the docs fix on this branch (3 lines)",
            "B land #38648 as is and carry the docs line on a docs-only follow-up"
          ],
          "recommendation": "A, because the page names AUTHORING_RULES as the cell's authority, so the cell is wrong the moment this merges; the fix is three lines in one file."
        }
      ],
      "security_findings": "none",
      "out_of_scope_findings": [
        "class: a · reach: os validate (public door), wrong answer reproduced · evidence: on examples/app-showcase, a zh-CN bundle key apps.studio.navigation.nav_api_console.label (a live platform nav id) was added temporarily. `cd examples/app-showcase && node ../../packages/cli/bin/run.js validate objectstack.config.ts` exits 1 with: ✗ Author-time rules failed (1 issue) • locale \"zh-CN\" · app \"studio\": Translations are keyed to app \"studio\", which this stack neither defines nor contributes into, so the app launcher shows the source-locale label. fix: Match the key to an app's `name`, or drop it. rule: translation-target-unknown at translations[0][\"zh-CN\"].apps.studio. The control, the unmodified showcase, exits 0. The refusal lands at the app level whatever the nav id. The apps rung of validate-translation-references has no platform-app ladder, whereas the objects rung has isPlatformProvidedObjectName. Seam: spec:TranslationData.apps → lint:validateTranslationReferences apps rung. · dedupe words: translation-target-unknown platform app studio, apps navigation translation refused, isPlatformProvidedObjectName app ladder, os validate studio translation"
      ]
    }
  13. objectstack-fleet commented on Nov 29, 2026

    @objectstack-fleet
    ContributorAuthor

    repo:objectstack#3 · os-steve · session_01ADHkmSwS4mQyXWrddL4r6B
    os-dev-report

    Correction to comment 7262358752: a shell heredoc stripped three backtick-quoted words from its first deviations entry (the proposed docs wording). This JSON supersedes it; nothing else changed.

    {
      "issue": 38623,
      "status": "done",
      "branch": "claude/issue-38623-translation-target-door",
      "pr": "https://github.com/objectstack-ai/objectstack/pull/38648",
      "session": "session_01ADHkmSwS4mQyXWrddL4r6B",
      "premise_still_valid": true,
      "summary": "Patch round (claim amendment 3, 7262199148): the ledger gap is closed. Commit 8775b0684d adds exactly the three RETAINED entries for protocol.translation-target-door-38623.test.ts (delete, findOne, update; pinned 1 each) to scripts/engine-double-contract.pinned.json, written by check-engine-double-contract --write; the diff is 15 insertions, nothing else changed. Draft PR #38648 is now at head 8775b0684d. Unchanged from the previous round: route A as built. A translation item saved active or published runs validateTranslationReferences in its save-door reading. Only the door-visible families are judged: objects.NAME (not under a package closure), fields and their inline options, _validations, _milestones, permissions.NAME. Every finding is a warning advisory, never a 422, and apps and navigation are not judged. Docs Drift re-read: validating-metadata.mdx line 510 is now incomplete (see deviations); it is outside the surface and was not edited.",
      "tests": "At head 8775b0684d, under os-verify-lock (slot issue-38623) after a fresh worktree build of the @objectstack/metadata-protocol... closure (DTS emitted): protocol.translation-target-door-38623.test.ts Test Files 1 passed (1), Tests 5 passed (5); runtime-gate.translation-writes-38623.test.ts Test Files 1 passed (1), Tests 9 passed (9); VERDICT command-exit 0, held 126s, waited 157s. The previous round's NOT MEASURED head re-run is now measured. Earlier, at 66c22be8a3: lint whole package 247/247 files, 9977/9977 tests; lint and metadata-protocol typecheck exit 0; 29 metadata-protocol translation test files 862/862. Ablation (entry widening reverted, blob 663f139db187 -> 3068dd8e9df2, dist preflight --absent over 20 files): lint file 5 failed / 4 passed, protocol file 4 failed / 1 passed, with the live cases green; restored to blob == HEAD, then 5/5 again. False positives at the door on the showcase bundle (en + zh-CN): errors 0, advisories 0; the lit control gives 1 warning advisory; unrestricted, the rule gives 85 phantoms.",
      "gates": "This round, at 8775b0684d: pnpm check:engine-double-contract exit 1 before --write ('3 problem(s)', all three RETAINED for the new protocol test) and exit 0 after. node scripts/check-engine-double-contract.mjs --write exit 0 ('0 added or grown, 0 lost' among its seam rows; file diff +15 lines, the three entries only). overlap-check --branch=HEAD: VERDICT clean exit 0, 12 files against origin/main ac0f928b1b and 4 PR heads; #38642 is listed (shares scripts/engine-double-contract.pinned.json) and merges cleanly; #38497 also shares the ledger and merges cleanly; #38594 and #38643 merge cleanly. A normal commit was pushed, 266bea7921..8775b0684d. Previous round's derived set (68 families via dispatch-gates --commands, --ran reconciliation 66 run, 2 NOT MEASURED): 63 exit 0, plus check:objectql-double-limit exit 0 and check-nul-bytes exit 0. NOT MEASURED: check-plugin-teardown-shape --self-test exit 3 (shallow clone); check:dual-build-cjs-loads exit 3 (needs a full build); check:dts-closure exit 1 (local OS_SKIP_DTS state from the old worktree, which has been removed; lint and metadata-protocol were not among the 59). CI: per the coordinator, the Test UI and TypeScript Type Check reds on 266bea7921 are cancellations from the newer push; CI conclusions on 8775b0684d were not read at report time.",
      "dogfood_battery": "n/a — no `!` in the PR title and no (narrowing) arm (Clause-②: no)",
      "mcp_calls": "0",
      "api_writes": "6 total. This round: POST /repos/objectstack-ai/objectstack/issues/38623/comments twice (the delta os-dev-report 7262358752, and this correction, via post-stamped.mjs). Previous round: POST /repos/objectstack-ai/objectstack/pulls (pr_create, draft #38648); POST /repos/objectstack-ai/objectstack/issues/38648/assignees (os-steve); POST /repos/objectstack-ai/objectstack/issues/38623/comments (the os-dev-report). First round: POST /repos/objectstack-ai/objectstack/issues/38623/comments (7260622326). git pushes are not REST writes.",
      "deviations": [
        "Docs Drift re-read of content/docs/deployment/validating-metadata.mdx (not edited, outside the surface). One line is now untrue: line 510, the 'Reference integrity' row. Its runtime-publish cell reads ✓ᶠᵛᵒᵈᵗʳᵖᵃᶜ (flow, view, object, dataset, report, page, action), but the page's own rule (lines 576-579) says a cell lists one superscript per type the rule declares, with AUTHORING_RULES as the authority, and the entry now declares translation too. The superscript legend (lines 564-568) has no code for translation. The row text 'the flow members run on `flow` alone' is also now inexact: validateTranslationReferences used the flow-only default and now runs on flow and translation. Proposed edit: change the cell to ✓ᶠᵛᵒᵈᵗʳᵖᵃᶜᵗ; add '`✓ᵗ` `translation`' to the legend, with a note that a bare ᵗ is translation while ᵈᵗ stays dataset under the longest-first reading; and append to the row text '; a `translation` write runs only the translation-key member, advisory only and never a 422, on the families the per-write snapshot carries (objects, their fields and inline options, validation rules, milestones, permission sets; apps and navigation not judged) (#38623)'. Everything else on the page stays true: the advisory paragraph at lines 698-706, the draft-read paragraph at 708-714, and the per-package walk at 799. The orphan-key section of content/docs/protocol/kernel/i18n-standard.mdx (lines 1157-1161 and 1214) names only the CLI doors and stays true, though it says nothing about the save-door advisory.",
        "The member stays the bare function with runtimeTypes and reads runtimeWriteType / packageScope from the context it is handed, not a wrapper. A wrapper turned the identity pin at reference-integrity-suite.test.ts:109 red, and that pin is not edited.",
        "The new protocol test file uses its own stub engine, copied from protocol.runtime-authoring-gate.test.ts, following the dispatch's NEW-file order rather than the shared-harness rule (ruling 6583487846).",
        "For the out-of-scope CLI repro, examples/app-showcase/src/system/translations/index.ts was edited temporarily through ablation-replace.mjs command mode. It was restored with blob == HEAD and git diff HEAD empty, and never committed.",
        "An earlier OS_SKIP_DTS=1 reading build left local dist without .d.ts for 59 packages; that local state, not the diff, is the dts-closure red. The lint and metadata-protocol closures were rebuilt with DTS.",
        "The fresh worktree for this round was added with git worktree add on the existing local branch (equal to origin at 266bea7921), because dev-worktree.sh refuses an existing local branch. It is removed after the run (node_modules first, no --force)."
      ],
      "open_questions": [
        {
          "question": "Amend the claim to edit validating-metadata.mdx line 510 and its legend, as proposed under deviations?",
          "options": [
            "A amend the surface and add the docs fix on this branch (3 lines)",
            "B land #38648 as is and carry the docs line on a docs-only follow-up"
          ],
          "recommendation": "A, because the page names AUTHORING_RULES as the cell's authority, so the cell is wrong the moment this merges; the fix is three lines in one file."
        }
      ],
      "security_findings": "none",
      "out_of_scope_findings": [
        "class: a · reach: os validate (public door), wrong answer reproduced · evidence: on examples/app-showcase, a zh-CN bundle key apps.studio.navigation.nav_api_console.label (a live platform nav id) was added temporarily. `cd examples/app-showcase && node ../../packages/cli/bin/run.js validate objectstack.config.ts` exits 1 with: ✗ Author-time rules failed (1 issue) • locale \"zh-CN\" · app \"studio\": Translations are keyed to app \"studio\", which this stack neither defines nor contributes into, so the app launcher shows the source-locale label. fix: Match the key to an app's `name`, or drop it. rule: translation-target-unknown at translations[0][\"zh-CN\"].apps.studio. The control, the unmodified showcase, exits 0. The refusal lands at the app level whatever the nav id. The apps rung of validate-translation-references has no platform-app ladder, whereas the objects rung has isPlatformProvidedObjectName. Seam: spec:TranslationData.apps → lint:validateTranslationReferences apps rung. · dedupe words: translation-target-unknown platform app studio, apps navigation translation refused, isPlatformProvidedObjectName app ladder, os validate studio translation"
      ]
    }
  14. objectstack-fleet commented on Nov 29, 2026

    @objectstack-fleet
    ContributorAuthor

    repo:objectstack#3 · os-steve · session_01ADHkmSwS4mQyXWrddL4r6B

    Claim amendment 4 · 2026-11-29T20:49Z · zone o3-B · File surface only; amendments 7260681542, 7260933550 and 7262199148 stand.
    File surface (added): content/docs/deployment/validating-metadata.mdx, only the "Reference integrity" row (line 510: its runtime-publish cell and its row text) and the superscript legend (lines 564-568) that the cell reads from. Nothing else on the page changes.
    Reason: the Docs Drift Check on PR #38648 (comment 7262167845) named this page, and the dev's delta report (7262358752, corrected by 7262377016) measured that the row is now untrue. The page names AUTHORING_RULES as the authority for its cells, and the validateReferenceIntegrity entry now declares translation, but the cell and the legend have no code for it. This is a documentation accuracy correction with no change to the contract. The dev's option A is taken: the fix lands on this branch, so the page is true when the PR merges.

  15. objectstack-fleet commented on Nov 29, 2026

    @objectstack-fleet
    ContributorAuthor

    repo:objectstack#3 · os-steve · session_01ADHkmSwS4mQyXWrddL4r6B
    os-dev-report

    Delta (patch round 2, claim amendment 4): the docs fix is in 9b075e6. 105 derived gates reconciled (103 run, 2 NOT MEASURED, prerequisite). overlap-check is clean. The new PR body text goes to the seat in the final report only, because it carries the two harness comment lines.

    {
      "issue": 38623,
      "status": "done",
      "branch": "claude/issue-38623-translation-target-door",
      "pr": "https://github.com/objectstack-ai/objectstack/pull/38648",
      "session": "session_01ADHkmSwS4mQyXWrddL4r6B",
      "premise_still_valid": true,
      "summary": "Patch round 2 (claim amendment 4, 7262400643): the docs fix landed in commit 9b075e6069, on the path content/docs/deployment/validating-metadata.mdx; the diff is 3 insertions and 3 deletions, all within the approved scope. The 'Reference integrity' row's runtime-publish cell now reads ✓ᶠᵛᵒᵈᵗʳᵖᵃᶜᵗ. Its row text gains the sentence that a translation write runs only the translation-key member, advisory only and never a 422, on the snapshot-carried families, with apps and navigation not judged (#38623). The superscript legend gains `✓ᵗ` `translation` at line 569, and the longest-first note at line 574 adds that a bare ᵗ is translation while ᵈᵗ is still dataset. Line 574 is just past the stated 564-568 range; it is the longest-first note the amendment asked for and lies in the same legend paragraph. Nothing else on the page changed. Draft PR #38648 is now at head 9b075e6069. The new PR body text for the seat to patch is in pr_body_for_seat: its Verification section no longer names the engine-double-contract red and does name the docs fix. Route A is unchanged.",
      "tests": "No code changed this round (the docs commit touches only the mdx). Last test reading, at 8775b0684d (same code as 9b075e6069), under os-verify-lock: protocol.translation-target-door-38623.test.ts 5 passed (5); runtime-gate.translation-writes-38623.test.ts 9 passed (9); VERDICT command-exit 0. Earlier readings (whole lint package 9977/9977, both typechecks exit 0, the 29 protocol translation files 862/862, ablation 5/4 and 4/1 then restored, door false positives 0) are unchanged: see the previous report.",
      "gates": "At head 9b075e6069. Gates were derived with `node scripts/pm/dispatch-gates.mjs --commands` (105 families) and each exit code was captured before any pipe. The `--ran` reconciliation reads: 105 derived, 103 run, 2 NOT MEASURED (derived from a recorded exit 3), 0 unrun.  - 68 code families were read at the code head: 266bea7921, then 8775b0684d for the ledger. The docs commit 9b075e6069 changes only the page. - 37 families the docs path adds, all at 9b075e6069: exit 0. They include `check-adr-links` with its self-test (the local half of Check Documentation Links; lychee runs only in CI, and the edit adds no link), `check:doc-anchors`, `check:doc-frontmatter`, `check:docs-redirects`, `check:docs-single-h1`, `check:docs-spec-enumerations`, `check:docs-audit-scope` and `@objectstack/spec` `check:docs`.   - `@objectstack/spec` `check:skill-examples` first exited 3 (PREREQUISITE NOT MET: client SDK not built). After building `@objectstack/client-react...` and `@objectstack/client...` under the lock, it exits 0: \"352 prose examples type-check across 3 surface(s)\". - `pnpm check:engine-double-contract`: exit 1 before the ledger commit, exit 0 after it at 8775b0684d. - `pnpm check:objectql-double-limit`: exit 0 (\"none new\"). - `node scripts/check-nul-bytes.mjs`: exit 0. - `node scripts/pm/overlap-check.mjs --branch=HEAD` at 9b075e6069: `VERDICT clean exit 0`. The branch merges cleanly with origin/main and with #38643, #38642, #38594, #38550 and #38497. - NOT MEASURED:   - `node scripts/check-plugin-teardown-shape.mjs --self-test`: exit 3 (shallow checkout).   - `pnpm check:dual-build-cjs-loads`: exit 3 (needs a full `pnpm build`).   - `pnpm check:dts-closure`: exit 1. The self-test passed. The scan's red came from a local build that skipped declaration output in an earlier worktree. `@objectstack/lint` and `@objectstack/metadata-protocol` were not among the packages it named. CI's fresh build gives the real reading.  The families CI runs (the repo-wide lint, `test:repo`, Check Documentation Links' lychee step, the artifact roster) are read from this PR's check-runs. They were not re-run here.",
      "dogfood_battery": "n/a — no `!` in the PR title and no (narrowing) arm (Clause-②: no)",
      "mcp_calls": "0",
      "api_writes": "7 total. This round: POST /repos/objectstack-ai/objectstack/issues/38623/comments (this delta os-dev-report, via post-stamped.mjs). Earlier: the patch-round delta 7262358752 and its correction 7262377016; pr_create POST /repos/objectstack-ai/objectstack/pulls (draft #38648) and its POST /issues/38648/assignees; the os-dev-report comment; the first-round comment 7260622326. git pushes are not REST writes. The PR body was not PATCHed: the seat patches it from pr_body_for_seat.",
      "deviations": [
        "Docs edit scope: the amendment named the legend as lines 564-568; the longest-first note it also asked for sits at line 574 of the same paragraph, and that line was edited. No other line on the page changed (git diff: lines 510, 569, 574).",
        "The member stays the bare function with runtimeTypes and reads runtimeWriteType / packageScope from the context it is handed, not a wrapper. A wrapper turned the identity pin at reference-integrity-suite.test.ts:109 red, and that pin is not edited.",
        "The new protocol test file uses its own stub engine, copied from protocol.runtime-authoring-gate.test.ts, following the dispatch's NEW-file order rather than the shared-harness rule (ruling 6583487846).",
        "For the out-of-scope CLI repro, examples/app-showcase/src/system/translations/index.ts was edited temporarily through ablation-replace.mjs command mode. It was restored with blob == HEAD and git diff HEAD empty, and never committed.",
        "An earlier OS_SKIP_DTS=1 reading build left local dist without .d.ts for 59 packages; that local state, not the diff, is the dts-closure red. The lint and metadata-protocol closures were rebuilt with DTS.",
        "The worktree for this round was re-added with git worktree add on the local branch, reset to origin 8775b0684d; it is removed after the run (node_modules first, no --force)."
      ],
      "open_questions": [],
      "security_findings": "none",
      "out_of_scope_findings": [
        "class: a · reach: os validate (public door), wrong answer reproduced · evidence: on examples/app-showcase, a zh-CN bundle key apps.studio.navigation.nav_api_console.label (a live platform nav id) was added temporarily. `cd examples/app-showcase && node ../../packages/cli/bin/run.js validate objectstack.config.ts` exits 1 with: ✗ Author-time rules failed (1 issue) • locale \"zh-CN\" · app \"studio\": Translations are keyed to app \"studio\", which this stack neither defines nor contributes into, so the app launcher shows the source-locale label. fix: Match the key to an app's `name`, or drop it. rule: translation-target-unknown at translations[0][\"zh-CN\"].apps.studio. The control, the unmodified showcase, exits 0. The refusal lands at the app level whatever the nav id. The apps rung of validate-translation-references has no platform-app ladder, whereas the objects rung has isPlatformProvidedObjectName. Seam: spec:TranslationData.apps → lint:validateTranslationReferences apps rung. · dedupe words: translation-target-unknown platform app studio, apps navigation translation refused, isPlatformProvidedObjectName app ladder, os validate studio translation"
      ],
      "pr_body_for_seat": "FINAL_REPORT_ONLY"
    }
  16. objectstack-fleet commented on Nov 29, 2026

    @objectstack-fleet
    ContributorAuthor

    repo:objectstack#3 · os-steve · session_01ADHkmSwS4mQyXWrddL4r6B

    MERGED · 2026-11-29T22:18Z · PR #38648 merged (merge commit f5da514b07bcbb402e3b17790465615ca726b3b3); this card closed as completed by its Fixes. pm:dispatched removed in this stroke (closed cards carry no pm:* state).

  17. removed
    pm:dispatched
    on Nov 29, 2026
  18. added 2 commits that reference this issue on Dec 1, 2026
    f5da514
    8426fa0
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

area:builddomain:serverpriority:p2

Type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions