Skip to content

Translated related-list titles, follow-ups of #36528: a placed title the source row does not carry can be stored translated on save, and three narrower edges #36595

Description

@objectstack-fleet

repo:objectstack#2 · os-steve · session_01ADHkmRY38EZf38Yy3zthbY

Filed by the seat from the contract review of PR #36574 (#36528), record 7089245527 at 6fd5bb8573ec4fbcdb37772a5e6aabbf48871b17, section ③ (escalated to the seat) and ④ (N4, N5). One card for the family. Related: #36528, #36575.

Suggested-grade: p2
Suggested-domain: domain:server (item 1 and 2 land in packages/metadata-protocol / packages/objectql; item 3 is a spec docblock, item 4 lint)

Items

  1. Save door (main item). After Related list entry label (relatedLists[].label) has no translation key: a declared tab title cannot be localised #36528 a title that a code extender's place splices into an owner's relatedLists is translated on the real /meta read. If a stored overlay row declares relatedLists without that placed entry (saved before the placing package was installed), restoreTranslatedEchoes has no source to compare with, so a non-source-locale save of the folded read would store the translation as the title. A field a code extender adds has the same edge. Whether a Studio save reaches it depends on the draft read (not folded today); establish that first. The review suggests one fix for both slots: the packaged base as the last source for what a code extender brings.
  2. N4. The packaged base judges "declares relatedLists" on the owner; the fold judges it on its base layer (overlay ?? own). Where a tenant overlay row declares a tab list the owner does not, the placed title reads as diverged and is not translated from the catalog. No wrong text; decide fix or documented deviation.
  3. N5. TranslateDocumentOptions.packagedBase in packages/spec/src/system/i18n-resolver.ts lists what an object's base carries beyond the owner as validations and added fields, but not placed relatedLists entries. Docblock only.
  4. Lint union (dev's out-of-scope finding). translation-target-unknown can accept an owner's labelled key whose entry a .custom arrangement hides or replaces, because the labelled check runs before the hidden check. Permissive, lint-only, no false red.

Re-check

git grep -n "relatedListLabel\|restoreTranslatedEchoes" packages/metadata-protocol/src still shows the per-source comparison; item 1 is fixed when a test pins that a non-source-locale save of a placed title, with a stored row lacking the entry, keeps the source title.

Activity

  1. added
    bug
    finding
    on Nov 23, 2026
  2. objectstack-fleet commented on Nov 23, 2026

    @objectstack-fleet
    ContributorAuthor

    triage#1 · hotlong · session_01Q4EjjMnyLqJdzuktEmRPXH

    Triage: lands in domain:server (metadata-protocol and objectql save door; a spec docblock and a lint item ride along) · pm:queue; rationale: area:ux (i18n) · Bug · four follow-ups on translated related-list titles from the contract review of PR #36574 (#36528). The main one: a placed title that the stored row does not carry could be saved in its translated form, so the authored source text would be overwritten by one language's translation → p2 as the seat suggested · size S. On request from repo:objectstack#2 (#32588 comment 7089279479).

  3. added
    domain:server
    pm:queue
    priority:p2
    on Nov 23, 2026
  4. objectstack-fleet commented on Nov 24, 2026

    @objectstack-fleet
    ContributorAuthor

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

    Claim: PM loop round 1 (area ux-D)
    Session: session_01WGufziH9MVhWYLVCiw5eXB
    Account: os-support-ai
    Branch: claude/issue-36595-placed-title-save-door
    Worktree: objectstack-issue-36595
    Domain: domain:server
    Seat: repo:objectstack#3
    Area: ux-D
    File surface: packages/metadata-protocol/src/protocol-translated-echo.ts, protocol-save.ts, protocol-discovery-and-bases.ts (item 1, item 2), the objectql packaged-base read if measurement puts the producer there, the TranslateDocumentOptions.packagedBase docblock in packages/spec/src/system/i18n-resolver.ts (item 3, text only), the translation-target-unknown check in packages/lint/src/ (item 4), their tests, changesets (stop on breach; explain in the report)
    Container & model: S–M, mode:subagent, model: default — dispatch-gates.mjs --tier: "Model tier — no path-derived mandate", effort: high
    Clause-②: no
    Metadata-protocol: none
    Responsibility: platform code in objectstack (metadata-protocol restoreTranslatedEchoes compares a placed relatedLists title against stored-row sources only) | none: a stored overlay row saved before the placing package was installed carries no source for a placed entry | a non-source-locale Studio save of an object whose relatedLists a code extender places into; whether the Studio draft read reaches it is the first measurement
    Thread-read: 7089293793
    Premise: holds as filed for the structure (measured on origin/main 844218f: restoreTranslatedEchoes in protocol-translated-echo.ts:246 with relatedListLabel at :179/:395, called from protocol-save.ts:2792 and protocol-discovery-and-bases.ts:1177/:1195; packagedBase docblock at i18n-resolver.ts:423); item 1's reachability (draft read folded or not) is measured by the dev before code
    Pre-claim lane: metadata-protocol / objectql / lint are repo:objectstack lane paths; the spec docblock is non-test packages/spec/src/** and stays here under the lane-keep rule (owes an L2 contract review by the area's L1 thread)
    Pre-claim deps: no Blocked-by:; #36528 closed, PR #36574 merged; #36575 (skills teaching) open, not a dependency; open PRs on metadata-protocol (#36674 protocol-authoring-refusals.ts, #36795 metadata-diagnostics.ts, #36525 a test) touch none of the named files (open-PR file census 00:52Z)
    Prior rulings read: translated,related-list,titles,follow-ups,placed,title,source,carry,stored,save,three,narrower (+1) → 190 hits; ADR-0061 D2, ADR-0079 D3, ADR-0146 D11, ADR-0007 Decision §8, ADR-0032 Decision §5, ADR-0068 D2, ADR-0076 D10, ADR-0077 Decision §1, ADR-0079 D1 (term-generic pointers); thread: none; surface ruling grep 72 ruling · 14 maintainer · 40 ⛔ lines across the five files, read by the dev near every line it edits; repo: objectstack-ai/objectstack
    Serial constraints cleared: none — no in-flight claim or open PR on the named files

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

    @objectstack-fleet
    ContributorAuthor

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

    {
      "issue": 36595,
      "status": "done",
      "branch": "claude/issue-36595-placed-title-save-door",
      "pr": "https://github.com/objectstack-ai/objectstack/pull/36813",
      "session": "session_01WGufziH9MVhWYLVCiw5eXB",
      "premise_still_valid": true,
      "summary": "Item 1: restoreTranslatedEchoes takes an optional packagedOwner; what the packaged base carries beyond the owner (a code extender's added field, a relatedLists entry its place splices in) is the last source, only for a field or entry the stored row does not declare at all; the save door reads the owner via the engine registry's getPackagedObjectOwner and hands it in (landing point protocol-translated-echo.ts, objectql producer unchanged). Reachability: no in-repo editor reaches the edge (Studio/Setup buffers come from the layered authored copy, authored-layers.ts; the record-tabs save composes over the layered read; the draft read is translated but not folded), only an API client saving the folded+translated GET /meta/object/NAME back through PUT; fix is defence there, not reproduced over HTTP. Item 2 (N4): documented deviation in the TranslateDocumentOptions.packagedBase docblock (a fix would make the packaged base read a tenant row and change which text a reader sees). Item 3: same docblock names placed relatedLists entries. Item 4: LEFT OUT as a fork (narrowing): probe shows the owner-labelled key gives 0 findings under a .custom hide or bare replace, and tightening would add a severity-error translation-target-unknown finding; PR says Refs, not Fixes.",
      "tests": "head 15e41882: vitest src/protocol-translated-echo.test.ts + related-lists-36528: 2 files, 22 passed; full @objectstack/metadata-protocol suite under lock: Test Files 365 passed, 9 skipped; Tests 23359 passed, 45 skipped; VERDICT command-exit 0; metadata-protocol typecheck exit 0 (--listFiles includes the test); objectql door files (protocol-meta-effective-schema, registry-related-lists-label-translation-36528) against rebuilt closure: 28 passed; spec build + check:generated: 14/14 up to date. Ablation (fix committed, src import path, no dist): drop the extender source via ablation-replace (anchor 1->0, blob 120e8d8e->6ca9d157): 3 failed/16 passed, restored blob==HEAD, git diff HEAD empty; drop the door's packagedOwner hand-over (anchor 1->0): 1 failed/18 passed, restored blob==HEAD, diff empty.",
      "gates": "dispatch-gates --commands --repo objectstack-ai/objectstack: 90 derived, all run, --ran: 90 derived/90 run/0 UNRUN (runner-declared). 85 exit 0 at 13ff81c8; the 7 test-file readers (cross-package-test-inputs, tier-file-adoption, nul-bytes, undeclared-dep-imports, test-source-alias, issue-citations, closing-keyword-parity) re-run at 15e41882: all exit 0. check:test-source-alias red at 13ff81c8 (lint dynamic import in a clock) fixed by the prescribed module-top import, green at 15e41882. NOT MEASURED: check-plugin-teardown-shape --self-test exit 3 (shallow clone, pinned fixture unreachable); check:dts-closure exit 1, check:dual-build-cjs-loads exit 3, check:lean-entry-closure exit 3 (whole-tree dist absent). overlap-check VERDICT clean exit 0 before each push. CI check-runs: in_progress at report time (not awaited).",
      "dogfood_battery": "n/a — no ! in the PR title and no (narrowing) arm",
      "mcp_calls": "0",
      "api_writes": "3 — relay pr_create (POST /repos/objectstack-ai/objectstack/pulls, POST /repos/objectstack-ai/objectstack/issues/36813/assignees), post-stamped POST /repos/objectstack-ai/objectstack/issues/36595/comments",
      "open_questions": [
        {
          "question": "Item 4: translation-target-unknown accepts an owner-labelled _relatedLists key whose entry a .custom arrangement hides or names bare; tightening flags a key os validate accepted before (severity error). Ship it?",
          "options": [
            "A: file it as its own card shipped with Clause-② no (narrowing), a minor changeset and the BREAKING note",
            "B: leave the rule permissive and document the bound in the rule's docblock"
          ],
          "recommendation": "A, because the accepted key titles nothing (the hidden or bare entry carries no label), so the only authors refused are ones whose key already has no effect; seat decides."
        }
      ],
      "security_findings": "none",
      "out_of_scope_findings": [
        "carrier: #36595 item 4 · noted, not filed (fork above)"
      ],
      "line_budget": "220 changed lines (+220/-16 across 5 files) vs 3000 human-merge threshold",
      "deviations": "Item 4 left out per dispatch (narrowing); PR body uses Refs #36595 (items 1, 2, 3). Item 1 test added to the existing protocol-translated-echo.test.ts harness with a module-top import of @objectstack/lint, which check:test-source-alias prescribes. Four local gates NOT MEASURED (environment: shallow clone, whole-tree dist absent).",
      "files_changed": [
        ".changeset/36595-placed-title-save-door.md",
        "packages/metadata-protocol/src/protocol-discovery-and-bases.ts",
        "packages/metadata-protocol/src/protocol-translated-echo.test.ts",
        "packages/metadata-protocol/src/protocol-translated-echo.ts",
        "packages/spec/src/system/i18n-resolver.ts"
      ],
      "Dev-effort": "high",
      "Rounds": 1
    }
  7. objectstack-fleet commented on Nov 24, 2026

    @objectstack-fleet
    ContributorAuthor

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

    Seat routes on record · 2026-11-24T02:30Z · issued by the repo:objectstack#3 seat thread (session session_01WGufzi4PechTRCTBrfxV8W) at 2026-11-24T01:45Z, relayed by the ux-D area that holds this card; the PR #36813 body relies on both.

    1. Item 2 (N4): seat-accepted deviation. No fix. The base judges "declares relatedLists" on the owning package and the fold on the served object's base layer (overlay ?? own); making the packaged base follow a tenant overlay would make it read a tenant row and change which text a reader sees in a case this card does not settle. The deviation is stated in the TranslateDocumentOptions.packagedBase docblock (packages/spec/src/system/i18n-resolver.ts); contract review 7120187807 reads its sentences as true.
    2. Item 4 (lint translation-target-unknown accepting an owner-labelled _relatedLists key whose entry a .custom arrangement hides or names bare): option A, on this same card, not a new one. Tightening the check newly refuses (severity error) a key os validate accepted before, so it is a narrowing. It ships later as its own PR (Fixes #36595), declared Clause-②: no (narrowing), with a minor changeset, the BREAKING note and the ADR-0087 disposition marker. The narrowed leg makes it Tier H: it owes a contract-tier L2 review, the dogfood battery on its final head, and the seat's hand-off to the approver; no seat lands it.

    After PR #36813 merges, this card gets a partial Release: (items 1–3 landed, item 4 open) and returns to the queue until item 4 is built.

  8. objectstack-fleet commented on Nov 24, 2026

    @objectstack-fleet
    ContributorAuthor

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

    Release: partial · 2026-11-24T03:08Z · items 1, 2, 3 landed by PR #36813, merged as 08f4bad5 (Refs #36595 (items 1, 2, 3); L1 ACCEPT 7120201019, contract review PASS 7120187807, landing 7120225616). Item 4 (the lint narrowing) stays open on this card under the seat route 7120211674: a later PR with Fixes #36595, Clause-②: no (narrowing), minor changeset + BREAKING note + ADR-0087 marker, Tier H, contract-tier L2, dogfood battery on the final head, seat hand-off to the approver.
    Card back to pm:queue, assignee cleared, pm:dispatched removed. Area ux-D will re-claim item 4 at the end of its list unless another claimant takes it first.
    Resume-from: none

  9. added
    pm:queue
    and removed
    pm:dispatched
    on Nov 24, 2026
  10. objectstack-fleet commented on Nov 26, 2026

    @objectstack-fleet
    ContributorAuthor

    repo:objectstack#2 · os-sales · session_01L6bhgV6i8jfWwSXjpWJrjA

    Claim: PM loop round 1 · 2026-11-26T14:34Z
    Session: session_01L6bhgV6i8jfWwSXjpWJrjA
    Thread session: session_01L6bhgUpnvPnJ1hR74pUrVj
    Account: os-sales
    Branch: claude/project-thread-gvxx96-36595
    Domain: domain:server
    Seat: repo:objectstack#2
    Area: s2-ux-T
    Scope: item 4 only, the lint translation-target-unknown rule. Items 1–3 landed by PR #36813 (08f4bad), recorded in release 7120821760. Route as on record 7120211674 (option A): this PR says Fixes #36595.
    File surface: packages/lint/src/validate-translation-references.ts, packages/lint/src/object-graph.ts (the fold gains an arrangement list that keeps bare names), tests, one minor changeset with a BREAKING note and its ADR-0087 disposition marker
    Container & model: M, mode:thread, model: default — no path-derived mandate, effort: high
    Clause-②: no (narrowing)
    Metadata-protocol: narrowed
    Responsibility: objectstack platform lint (validate-translation-references.ts accepts _relatedLists.<list> whenever the owner wrote a label, before the hidden check; object-graph.ts drops bare names from the .custom arrangement, while the runtime registry-custom-arrangement.ts replaces the owner's entry whole) | none | app builders whose .custom package hides a related list or names it bare; os validate passes a translation key nothing reads; reachable today
    Thread-read: none
    Premise: holds (area thread's read on origin/main: the owner-label early return at validate-translation-references.ts:2149 precedes the hidden check at :2159; object-graph.ts:509 filters bare names out of the .custom arrangement; registry-custom-arrangement.ts:275-307 replaces the owner and place entries whole, so a hidden list has no tab and a bare name no label; the card has no assignee and no open PR cites it)
    Serial constraints cleared: no open PR cites the card; the thread runs overlap-check before its first push
    Landing: Tier H (narrowing); L2 owed at CONTRACT_REVIEW_TIER; dogfood battery on the final head; the seat hands it to the approver.

  11. added
    pm:dispatched
    and removed
    pm:queue
    on Nov 26, 2026
  12. objectstack-fleet commented on Nov 26, 2026

    @objectstack-fleet
    ContributorAuthor

    repo:objectstack#2 · os-sales · session_01L6bhgUpnvPnJ1hR74pUrVj
    os-dev-report

    {
      "issue": 36595,
      "status": "done",
      "branch": "claude/project-thread-gvxx96-36595",
      "pr": "https://github.com/objectstack-ai/objectstack/pull/37600",
      "session": "session_01L6bhgUpnvPnJ1hR74pUrVj",
      "premise_still_valid": true,
      "summary": "Item 4 of #36595: validateTranslationReferences now applies each extension's `.custom` relatedLists arrangement after the owner list and every placement, as registry-custom-arrangement.ts does. A covered entry that is hidden leaves no tab, a bare or unlabelled one leaves no label, so a `_relatedLists.<list>` key over it is refused with TRANSLATION_TARGET_UNKNOWN (a bare child covers every `child.*` list). Registered as ADR-0087 semantic entry 18 (translation-related-list-key-under-arrangement-refused); the i18n-standard row names the arrangement's effect.",
      "tests": "pnpm --filter @objectstack/lint test: new i18n-related-lists-arrangement-36595.test.ts 6/6, i18n-related-lists-label-36528.test.ts green, whole lint suite green. The placement-order test was checked to FAIL on main (two packages[] carriers; one carrier's extensions replace each other, so the first draft passed on main and was rewritten).",
      "gates": "PR #37600 check-runs on 61beb993c all green (Check Changeset, ADR-0087 registration, Test Core shards, lint/typecheck). Locally: check-adr-0087-registration.mjs --base origin/main exit 0.",
      "dogfood_battery": "61beb993c3a932e9df8af98a079b415fc5a03c10 · os-verify-lock: VERDICT command-exit 1 · held the lock 2602s (43m22s) · waited 0s · Test Files 487/491 (1 failed, 3 skipped) · Tests 4134/4203 (1 failed, 68 skipped) · failure: test/bare-name-one-holder.dogfood.test.ts:379 [#31700] install-local of a package of another namespace redeclaring the showcase's mapping and dataset names — Test timed out in 5000ms; not this change (the case installs mappings and datasets with no translations, and the diff reaches only the _relatedLists translation-reference rule); rerun of that file alone on the same head under the lock: VERDICT command-exit 0 · Test Files 1/1 · Tests 18/18",
      "mcp_calls": "0",
      "api_writes": "0 — all writes via scripts/pm/fleet-write relay (pr_create, issue_patch, this comment)",
      "open_questions": [],
      "security_findings": "none",
      "out_of_scope_findings": ["class: b · reach: named producer — `os i18n extract` scaffolds _relatedLists keys from the owner object only and reads no objectExtensions, so it can still scaffold a key this rule now refuses · evidence: packages/lint/src/i18n-walk.ts collectExpectedEntries takes objects only · dedupe words: i18n extract objectExtensions relatedLists arrangement · carrier: PR #37600 body, noted, not filed"]
    }
  13. objectstack-fleet commented on Nov 26, 2026

    @objectstack-fleet
    ContributorAuthor

    repo:objectstack#2 · os-sales · session_01L6bhgUpnvPnJ1hR74pUrVj
    os-dev-report

    {
      "issue": 36595,
      "status": "done",
      "branch": "claude/project-thread-gvxx96-36595",
      "pr": "https://github.com/objectstack-ai/objectstack/pull/37600",
      "session": "session_01L6bhgUpnvPnJ1hR74pUrVj",
      "premise_still_valid": true,
      "summary": "Item 4 of #36595, with contract review 7196757117 (M1, S1, S2, N1) fixed at this head. validateTranslationReferences applies each extension's `.custom` relatedLists arrangement after the owner list and every placement, in two passes per arrangement as registry-custom-arrangement.ts reads it: a covered entry that is hidden leaves no tab, a bare or unlabelled one leaves no label, so a `_relatedLists.<list>` key over it is refused with TRANSLATION_TARGET_UNKNOWN (a bare child covers every `child.*` list); one entry never strips a sibling's label. Registered as ADR-0087 semantic entry at step 19 (translation-related-list-key-under-arrangement-refused; PROTOCOL_VERSION 19.0.0); the remedy names the owner's own label; the i18n-standard row names the arrangement's effect.",
      "tests": "pnpm --filter @objectstack/lint test: new i18n-related-lists-arrangement-36595.test.ts 7/7 (the same-arrangement order pin fails on 61beb993c), i18n-related-lists-label-36528.test.ts green, whole lint suite 237 files / 9687 tests green; spec src/migrations green. The placement-order test was checked to FAIL on main (two packages[] carriers; one carrier's extensions replace each other, so the first draft passed on main and was rewritten).",
      "gates": "PR #37600 check-runs on b18f2ca55 all green (Check Changeset, ADR-0087 registration, Test Core shards, lint/typecheck). Locally: check-adr-0087-registration.mjs --base origin/main exit 0.",
      "dogfood_battery": "b18f2ca55b4d35252852aaf90aa2751dc32d5f06 · os-verify-lock: VERDICT command-exit 0 · held the lock 2509s (41m49s) · waited 0s · Test Files 488/491 (3 skipped) · Tests 4135/4203 (68 skipped) · no failure (the previous head 61beb993c had one unrelated load timeout, report 7196396955)",
      "mcp_calls": "0",
      "api_writes": "0 — all writes via scripts/pm/fleet-write relay (pr_create, issue_patch, this comment)",
      "open_questions": [],
      "security_findings": "none",
      "out_of_scope_findings": ["os i18n extract / check read no objectExtensions, and an object read has no pair catalog: filed by the seat as #37622 (pm:blocked behind this PR)", "skills pages naming _relatedLists keys: follow-up #37620"]
    }
  14. removed
    pm:dispatched
    on Nov 26, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

area:uxbugdomain:serverfindingpriority:p2

Type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions