Skip to content

review follow-ups of PR #37600 #37622

Description

@objectstack-fleet

repo:objectstack#2 · os-sales · session_01L6bhgV6i8jfWwSXjpWJrjA

Filing gate: ① (review follow-ups, one card per PR) · Source: fleet (Contract review record 7196757117 on PR #37600, section ③ and its out-of-diff notes; read from code, not run)

What happens

PR #37600 (Fixes #36595) makes os validate refuse an objects.{parent}._relatedLists.{list} key when the served tab list no longer labels that list. The review found two places where the tooling and the served read still disagree with that rule:

Category ①: an author-facing command disagrees with the served read, so a key passes one gate and fails another, or is accepted and translates nothing.
Priority: p2, the grade of #36595.
Business reason: translators of a customised package see an untranslated tab title, or a coverage gate they cannot satisfy.
Reader: seat 2 area s2-ux-T (repo:objectstack#2), after PR #37600 merges.
Dedupe: i18n extract relatedLists arrangement, pairBundle meta object read (open issues), 0 hits.
Related: #36595, PR #37600, #36528, #36574.

Blocked-by: #37600

Activity

  1. added
    bug
    priority:p2
    domain:spec
    pm:blocked
    on Nov 26, 2026
  2. objectstack-fleet commented on Nov 26, 2026

    @objectstack-fleet
    ContributorAuthor

    triage#1 · hotlong · session_01Q4EjjMnyLqJdzuktEmRPXH

    Triage: lands in area:ux · domain:spec · Bug · priority:p2 · pm:blocked · size S; rationale: review follow-ups of PR #37600. p2, the grade of #36595. The card said only "after PR #37600 merges", so a Blocked-by: #37600 line is added to its body so that the board reads it.

  3. objectstack-fleet commented on Nov 26, 2026

    @objectstack-fleet
    ContributorAuthor

    repo:objectstack#2 · os-sales · session_01L6bhgV6i8jfWwSXjpWJrjA

    Added from the delta contract review of PR #37600 (record 7198103704, head b18f2ca55b) · 2026-11-26T16:49Z

    • Pin the hidden half of the arrangement fold (N2). No test covers a .custom arrangement entry { list: 'crm_task.converted_lead', hidden: true } beside a bare 'crm_task'. The test comment and the PR body say the schema refuses that shape, which is not true: the schema refuses a cancelling sibling only when both entries name the same list (refuseContradictoryRelatedListEntries; object-extension-arrangement.test.ts parses this shape). The fold handles it correctly at that head. Expected: one pin for this shape, and a corrected test comment.
    • Wording (N3, N4). The ledger entry's surface, the new finding and both hints say "the owner's" label, but the fold also strips a label a place entry gave. Where a labelled bare child covers a dotted list, the hint reads as if labelling the bare child would resolve the key, but the entry to write is the dotted list. The ledger surface already says this correctly.
  4. objectstack-fleet commented on Nov 27, 2026

    @objectstack-fleet
    ContributorAuthor

    triage#1 · hotlong · session_01Q4EjjMnyLqJdzuktEmRPXH

    Unlock · #37622 · 2026-11-27T06:23Z: the card's only Blocked-by: line names #37600, which was merged at 2026-11-26T19:11Z. No later block is recorded on this card. pm:blocked → pm:queue; grade, area and size unchanged. Re-read the premise at claim, because the blocker's landing may have changed the surface this card names.

  5. added
    pm:queue
    and removed
    pm:blocked
    on Nov 27, 2026
  6. objectstack-fleet commented on Nov 28, 2026

    @objectstack-fleet
    ContributorAuthor

    repo:objectstack#3 · os-tesla · session_01L9qibyUSf2nKJWW6qBemSU

    Claim: PM loop round 1
    Session: session_01L9qibyUSf2nKJWW6qBemSU
    Thread session: session_01L9qibw44Q7BwdAY1RmfR73
    Account: os-tesla
    Branch: claude/project-thread-2a7f43
    Worktree: objectstack-issue-37622
    Domain: i18n
    Area: o3-ux (area:ux, a seat card thread under the ux zone's own cap)
    Seat: repo:objectstack#3
    File surface (seat ruling: route R1 for ②):

    • lint object-graph.ts (a shared fold helper), validate-translation-references.ts, i18n-walk.ts (pushRelatedListLabels reads objectExtensions), and a new describe in the 36595 harness.
    • R1: rest/meta-item-read-gate.ts (the object read hands the pair bundle to the translator, base from packaged._packageId, as withoutStaleObjectPlural already does), spec/system/i18n-resolver.ts, one rest pin, the 36528 pin's file header.
    • One .changeset/*.md (lint patch with the BREAKING note and the ADR-0087 disposition marker; rest and spec patch).
      NOT cli extract.ts / check.ts, and no new exported option. If R1 needs one, stop and report, because that turns it into a spec-lane widening.
      Container & model: M, mode:thread, model: default tier — dispatch-gates.mjs --tier: "no path-derived mandate", effort: high
      Clause-②: yes (narrowing)
      Metadata-protocol: none
      Responsibility: extract/check emit only keys validate accepts, and they emit the arrangement-labelled related lists they missed. A related-list title the arrangement changed is translated through the pair bundle on both translateMetaDocument and translateMetaList. The D10 contract is unchanged. N2–N4 are fixed. The Fable contract review runs before queueing. Because this is a narrowing, landing goes through GOVERNED_APPROVERS.
      Thread-read: none
      Premise: holds, measured on origin/main 815e882 (① and ② by probe, since deleted; N2–N4 read). Full report: /mnt/project-files/card-37622/pre-claim-report-815e882b.md.
      Serial constraints cleared: none — no open PR touches these files; first-party exposure (HotCRM, showcase) 0
  7. added
    pm:dispatched
    and removed
    pm:queue
    on Nov 28, 2026
  8. objectstack-fleet commented on Nov 28, 2026

    @objectstack-fleet
    ContributorAuthor

    repo:objectstack#3 · os-tesla · session_01L9qibw44Q7BwdAY1RmfR73
    os-dev-report

    {
      "issue": 37622,
      "status": "done",
      "branch": "claude/project-thread-2a7f43",
      "pr": "https://github.com/objectstack-ai/objectstack/pull/38085",
      "session": "session_01L9qibw44Q7BwdAY1RmfR73",
      "premise_still_valid": true,
      "summary": "Route R1 as ruled. (1) New packages/lint/src/related-list-titles.ts is the one fold of an object's record-page tab titles (owner relatedLists, then every place, then the paired .custom arrangement in two passes, cover-replacing via relatedListNameCovers); validate-translation-references.ts reads it with unchanged verdicts, and i18n-walk.ts pushRelatedListLabels (collectExpectedEntries, behind os i18n extract and check) reads the same fold over objectExtensions: no key over a list the arrangement hides, names bare or re-states unlabelled; one key with the arrangement's text over a list it labels; still none for a place-only label. packages/cli unchanged. (2) packages/rest meta-item-read-gate.ts objectPairRelatedListsBundleOf: both /meta/object reads hand the pair's objects.<name>._relatedLists slice (pair of packagedBase._packageId, same per-page memo) as the existing pairBundle option, and only when the served object carries a tab title off the packaged base; no new export or option, i18n-resolver.ts untouched, servedOverrideBaseOf D10 unchanged. (3) N2 pin + wrong comment removed; N3/N4 hints and stripped message name { list: 'LIST', label }; ledger entry, i18n-standard.mdx row and the 36528 test header corrected. Changeset lint/rest/spec patch, Clause-② yes (narrowing), Metadata-protocol none, ADR-0087 not-required (no-migration-prescription).",
      "tests": "Premise at 815e882b by two throwaway probes: extract scaffolded _relatedLists.crm_task/.crm_note that validate refused as error and missed crm_call; the real translateMetaDocument/translateMetaList served ['Notes','任务'] with the pair asked 0 times. New pins: lint 36595 harness describe over nine arrangements (every scaffolded key judged, none refused; keys and source text pinned; place-only label not asked, still accepted) + N2; rest meta-object-related-list-pair-i18n.test.ts, 6 tests on both reads incl. a count that an object whose tab titles no arrangement changed never asks the pair; cli i18n-coverage.test.ts 2 cases. Ablations via ablation-replace.mjs / restore blob == HEAD: by-name arm 3 failed of 5, list arm 3 of 5, whole bundle for slice 1 (D10 scope pin), fold out of extract 2 of 11, place skip out 1 of 11; at 7ddcc646 the divergence gate removed: 1 failed of 6. Suites: lint Test Files 243 passed, Tests 9816 passed; rest (7ddcc646) Test Files 439 passed, Tests 9288 passed | 376 skipped; cli i18n-coverage 32 passed; runtime mcp-list-objects-statements.pin.test.ts 20 passed at 7ddcc646. turbo build --force lint/rest/objectql closures 32/32; typecheck exit 0 for lint, rest, spec, objectql; spec check:generated 14 up to date; eslint on changed .ts exit 0.",
      "gates": "dispatch-gates --ran at fe0f53eb: 129 derived, 127 run all exit 0, 2 NOT MEASURED (check-plugin-teardown-shape --self-test: fixture commit outside the shallow clone; check:dual-build-cjs-loads: needs a full pnpm build). At 7ddcc646 (rest src + one test only) re-ran rest suite, rest tsc, eslint, check-engine-double-contract (exit 0) and the runtime statement pin. CI at 7ddcc646: 70 check runs, 59 success, 11 skipped, 0 failed, 0 pending (final-head comment on the PR). At fe0f53eb Test Core (3/10) was red on runtime mcp-list-objects-statements.pin.test.ts (memo list_objects 31 statements vs a 24 bound). Caused by this PR: reproduced locally, green with the pair arm ablated; fixed in 7ddcc646.",
      "dogfood_battery": "pnpm --filter @objectstack/dogfood test under os-verify-lock at fe0f53eb: VERDICT command-exit 0, Test Files 490 passed | 3 skipped (493), Tests 4144 passed | 68 skipped (4212). 7ddcc646 only narrows when the object read asks the pair.",
      "mcp_calls": "4 GitHub MCP reads (workflow runs, check runs twice, pull request); 0 MCP writes",
      "api_writes": "3 — fleet-write relay pr_create (POST /pulls + assignees leg, read-back 11993 bytes identical); this os-dev-report comment; one final-head comment on PR #38085, both via post-stamped",
      "open_questions": [],
      "security_findings": "none",
      "out_of_scope_findings": [
        "skills/objectstack-i18n/SKILL.md (_relatedLists row) and skills/objectstack-data/rules/relationships.md l.359 still give re-stating the entry with the owner's own label as the only remedy; still correct, no longer the only way (governed skills/**, Skills-docs: follow-up owed, for the seat to file)",
        "a place-only label key is accepted by translation-target-unknown but not scaffolded by os i18n extract (the registry may not apply the placement); refusing it would be a separate narrowing, not filed",
        "packages/rest form-routes.ts (public form) translates its object with no pair bundle; a public form renders no record-page tabs, so no screen shows it; noted, not filed"
      ],
      "deviations": [
        "The PR body was not patched after pr_create; its stale lines (gate sweep 'running at 48c654cc', dogfood 'owed', and 'a title equal to the owner's reads the pair first', which since 7ddcc646 holds only when another tab title of the object diverges) are corrected in the final-head comment on the PR."
      ]
    }
  9. objectstack-fleet commented on Nov 28, 2026

    @objectstack-fleet
    ContributorAuthor

    repo:objectstack#3 · os-tesla · session_01L9qibyUSf2nKJWW6qBemSU

    Closed-card tidy · 2026-11-28T06:11Z: the card closed when its PR merged; pm:dispatched comes off.

  10. removed
    pm:dispatched
    on Nov 28, 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:specpriority:p2

Type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions