Skip to content

spec(i18n,dashboard): retire the metric sub-caption — the subCaption widget translation member and translateDashboard's options.description overlay (ruling C on objectui#11389; reverses #5428 item 4) #21257

Closed

Description

@objectstack-fleet

Filed by the director seat, summon #32, session_016tKoy8NJa35Yih1FdzrVmn, as the objectstack half of the maintainer's ruling C on objectstack-ai/objectui#11389. The ruling is batch #264 item 5, maintainer 「同意264」; the record is the Ruling: comment on objectui#11389. ⛔ Not a claim.

What was ruled

The metric sub-caption is retired at both ends, objectstack first.

  • This reverses objectstack#5428 item 4 (the maintainer's ruling of 2026-08-06: 「two authored fields, two keys」). The maintainer reversed it here.
  • A widget keeps one authored description: widget.description, which keeps rendering as the card-header subtitle.
  • If a named user later asks for a caption under a metric's value, it comes back as a declared widget-level key outside options (option B of objectui#11389). It does not come back as options.description.

Readings (objectstack main 434c6c7cab)

  • The translation member: packages/spec/src/system/translation.zod.ts:877 declares subCaption, at the path dashboards.<name>.widgets.<widgetId>.subCaption (:827, :875), with the alias subtitle: 'subCaption' (:864). It was added by spec: the dashboard widget TranslationData node needs a third member for the metric sub-caption — the #5428 ruling's "own key" mandate is unimplementable against the strict {title?, description?} node #7862.
  • The overlay: packages/spec/src/system/i18n-resolver.ts:1590–:1593 (translateDashboard) reads subCaption and writes options.description. See also the docblocks at :1273 and :1488–:1494, and attr at :1473.
  • The census: scripts/check-widget-option-census.mjs NON_DECLARED_MEMBERS records description as a resolver output (:154–:161, :565, :717).
  • The neighbours: packages/spec/src/ui/dashboard.zod.ts:232 (docblock); packages/sdui-parser/src/dashboard-widget-options.ts:56 (docblock); packages/platform-objects/src/apps/translations/source-hash.ts:280 (comment).
  • Producers: 0 authored options.description and 0 subCaption bundle entries, in this repository and in objectui (objectui#11070 round 11, dev report 5934110109).

Scope

  1. Retire subCaption from the widget translation node per the spec-property-retirement skill (.claude/skills/).
    • A retiredKey() tombstone whose text carries the prescription: delete the subCaption entry; translate the card subtitle through the widget's description entry.
    • Remove the subtitle → subCaption alias. Whether a subtitle alias then points at description or is refused is the claim's to read from the node's alias rules, and it states which.
    • The registry, liveness and generated-artifact kit, as the skill lists it.
    • Changeset minor with BREAKING, Clause-②: yes (narrowing), and the ADR-0087 disposition the gate asks for.
  2. Remove the overlay in translateDashboard: the resolver no longer writes options.description, and the attr union drops 'subCaption'.
  3. The census: drop the description row from NON_DECLARED_MEMBERS, together with its witnesses and self-test case. The census then asserts that nothing writes the key.
  4. Docblocks (the four neighbours above) say the sub-caption is retired and point at widget.description.

Lane and order

  • domain:spec, level S–M, mode:subagent. The contract review runs at CONTRACT_REVIEW_TIER (Clause-②: yes).
  • Pin check before merge (Post-Task step 4): git grep objectui at the pinned .objectui-sha for every symbol this removes. If the pinned objectui imports one, the sibling fix rides this landing.
  • objectui#11389 (the reader removal in DatasetWidget, widgetSubCaption and DashboardRenderer) waits on this card: Blocked-by:.

Dedupe

mcp__github__search_issues, repo-scoped, open and closed, 「retire subCaption widget translation options.description metric sub-caption overlay」 → 2 hits: #7862 and #5428, both closed, which are the history above. None retires the key.

Dedupe words: subCaption retirement · metric sub-caption · options.description overlay · translateDashboard subCaption


Generated by Claude Code

Activity

  1. added
    priority:p2
    pm:queue
    domain:spec
    area:reports
    pm:dispatched
    and removed
    pm:queue
    on Oct 1, 2026
  2. objectstack-fleet commented on Oct 2, 2026

    @objectstack-fleet
    ContributorAuthor

    Claim: PM loop round 1
    Session: session_01UtnxvdiN376GF3sgXwAw4d
    Account: os-sales (the seat's linked user as GET /user answers it; the card's assignee)
    Branch: claude/issue-21257-retire-widget-subcaption
    Worktree: objectstack-issue-21257
    Domain: domain:spec
    Seat: domain:spec#1 (seat post #6017)
    File surface: the card's four scope items on origin/main 393ae878d3. (1) The subCaption member, its subtitle alias and their docblocks in packages/spec/src/system/translation.zod.ts (about :827–:877), retired by a retiredKey() tombstone, with the spec-property-retirement kit as that skill lists it: packages/spec/liveness/translation.json and the regenerated liveness counts; the migration entries under packages/spec/src/migrations/entries/; and the generated region of migrations/registry.ts (and conversions/registry.ts if the skill's route requires it), through the generator only. (2) The overlay in translateDashboard and the attr union in packages/spec/src/system/i18n-resolver.ts (about :1273, :1473, :1488–:1494, :1590–:1593). (3) The description row of NON_DECLARED_MEMBERS in scripts/check-widget-option-census.mjs, with its witnesses and self-test case. (4) The docblocks in packages/spec/src/ui/dashboard.zod.ts (:232), packages/sdui-parser/src/dashboard-widget-options.ts (:56) and packages/platform-objects/src/apps/translations/source-hash.ts (:280). Also the prose in content/docs/ui/translations.mdx that states the sub-caption (:77, :98–:103, :188), the regenerated content/docs/references/system/translation.mdx, and one .changeset/21257-*.md. ⛔ No objectui edit (objectui#11389 is the reader half, and it waits on this card). Stop on breach; explain in the report.
    Container & model: M, mode:subagent, model: opus (default judgment tier; the edit is in non-test packages/spec/src/** and narrows an accept set, so the contract review runs at CONTRACT_REVIEW_TIER through an isolated subagent)
    Clause-②: no (narrowing)
    Thread-read: none
    Serial constraints cleared: at 2026-10-02T03:47Z, none of the 14 open PRs' file lists touches this surface. Among open pm:dispatched claims, #20274 (seat 2) regenerates packages/spec/liveness/state-counts* and content/docs/references/**. Those are generated files: the second PR to land regenerates them through scripts/pm/os-regen-merge.sh. #21261 (i18n-resolver.ts) is queued and not claimed; it now waits behind this card. migrations/registry.ts holds orders 57–59 on main; this card takes the next free order, re-read on main at the edit.

  3. objectstack-fleet commented on Oct 2, 2026

    @objectstack-fleet
    ContributorAuthor

    os-dev-report
    {
    "issue": 21257,
    "status": "done",
    "branch": "claude/issue-21257-retire-widget-subcaption",
    "pr": "#21342",
    "session": "session_01UtnxvdiN376GF3sgXwAw4d — subagent = parent's (dispatch claim 5945241790 names this branch; verified as the newest Claim: on #21257)",
    "premise_still_valid": true,
    "summary": "Retired the metric sub-caption at both ends, objectstack side. (1) subCaption on the widget translation node is a retiredKey() tombstone, refused on all three faces (per-app bundle, platform bundle, translation item). (2) translateDashboard no longer writes options.description, and the lookupWidgetAttr attr union drops subCaption. (3) The census NON_DECLARED_MEMBERS is empty, and its self-test keeps the row checks proven through a fixture ledger. A new battery reds when description comes back, and the floor goes from 16 to 17. Because the gate's own WITNESS GONE prescription takes the key out of the census, @objectstack/sdui-parser CONSUMED_WIDGET_OPTION_KEYS drops description, so options.description now draws the unconsumed-widget-option warning. (4) The four docblocks, the liveness dashboards row, content/docs/ui/translations.mdx and the regenerated references page follow. The kit is: D2 translation-widget-sub-caption-removed (order 55, retiredAfter 17.6.0); D3 semantic translation-widget-sub-caption-retired with STEP18_RATIONALE order 60, generated with gen:migration-registry; and a minor changeset for spec, sdui-parser and lint with a BREAKING banner and the ADR-0087 marker 'registered translation-widget-sub-caption-removed, translation-widget-sub-caption-retired'. The subtitle alias is REFUSED, not repointed. It moved to the node's guidance and names both readings: card-header copy goes under description; a caption under the value gets deleted. Every in-tree precedent re-homes an alias onto a retired target as guidance (chart accessibility/ariaProps, postgres passwd/pwd, permission restore/purge, app home*, component submit). Measured: putting the alias back reds alias-integrity with 'subCaption is a tombstone; it accepts nothing'. Clause-② measured as no (narrowing). That matches the claim and differs from the card body's 'yes (narrowing)': nothing widens. Producers: 0. The objectui pin 31971ff still reads subCaption and options.description (objectui#11389's half) but imports no removed symbol, so this is not a build break. PR #21342 is a draft, the assignee is os-sales, and CI is in_progress. The worktree cleanup (rm node_modules, git worktree remove) runs after this comment is posted.",
    "tests": "Final head 8438e24 (3f1c6d9 plus origin/main 1371dc9 merged). Spec: build exit 0. check:generated: 1/15 stale (check:docs); --fix regenerated only references/system/translation.mdx. vitest --project local: 597 files, 17487 passed, 1 todo. --project repo: 48 files, 849 passed. typecheck: exit 0. sdui-parser: 218 passed, typecheck 0. lint: 5575 passed after the merge, typecheck 0. platform-objects: 948 passed, typecheck 0. census --self-test: 17 cases pass; real run OK (5 declared, 5 members, 0 non-declared). Derived gates: dispatch-gates --commands gave 137 at 8438e24, all run with recorded exit codes. --ran: 136 run, 1 NOT-MEASURED, 0 UNRUN. NOT MEASURED: check:pm-dispatch-gates, reason: two foreground runs were killed at the container cap (580s, 560s) before a verdict. Five gates first exited 3 (PREREQUISITE NOT MET) and passed after the turbo build of the cli and client-react closures (60/60 cached; dist verified to carry this branch's tombstone text): check:i18n, check:i18n-walk-parity, check:skill-examples, check:lean-entry-closure, check:dual-build-cjs-loads. Reverse verification: planted subCaption in platform-objects en.ts (typed TranslationData through the rebuilt spec dist); tsc reported TS2322 at en.ts(210,69) against the '[REMOVED] Key retired' mark; restored, blob equals HEAD, git diff HEAD empty. The first attempt was a no-op (ablation-replace refused an overlapping anchor and wrote nothing). Ablations via ablation-replace, each restored to the HEAD blob: re-adding the options.description write reds 3 resolver pins (the first attempt was refused the same way and re-run); tombstone swapped for z.string().optional() reds 3 translation pins; alias restored reds alias-integrity 1 test. eslint narrowing: 13 changed .ts/.mjs files under --no-inline-config --format json, 13 linted, 0 errors, 0 warnings, none ignored; eslint.config.mjs enables no type-aware linting, so untouched files cannot move; repo-wide pnpm lint is left to CI. Consumer sweep: git grep subCaption outside packages/spec code finds comments only (source-hash.ts updated; two example comments noted).",
    "mcp_calls": "0 — none (reads went through single-card REST: gh api issues/21257 plus comments, objectui#11389 plus comments, pulls/21342)",
    "api_writes": "3 — each one repository_dispatch through the fleet-write relay: (1) pr_create, i.e. POST /repos/objectstack-ai/objectstack/pulls (draft) giving #21342, body read back byte-identical; (2) label-write --assign os-sales, i.e. POST /repos//issues/21342/assignees; (3) this os-dev-report comment, i.e. POST /repos//issues/21257/comments. git push (4 pushes) is not a REST write.",
    "open_questions": [],
    "out_of_scope_findings": [
    "carrier: 承接者:无 · noted, not filed — examples/app-crm/src/dashboards/pipeline.dashboard.ts:41 and examples/app-todo/src/dashboards/task.dashboard.ts:22 say the dataset-bound path reads 'plus the description sub-caption'. That is true of objectui at the pin until objectui#11389 lands, and stale afterwards. These are comment-only and outside the claimed file surface (in PR Acceptance notes).",
    "carrier: objectui#11389 · noted, not filed — at pin 31971ff, objectui's own sdui-parser CONSUMED_WIDGET_OPTION_KEYS, its census test (the 'subCaption channel still reads options.description' case) and content/docs/plugins/plugin-dashboard.mdx:337/369 still list or describe description/subCaption. objectstack's copy is one member short until that card drops the reader; this errs in the safe direction (warning only) and is documented at the array.",
    "carrier: 承接者:无 · noted, not filed — observation: DashboardWidgetOptionsSchema stays passthrough by the open-extras ruling, so the spec still parses an authored options.description. The unconsumed-widget-option warning now names it. 0 producers, so not a class-c trap."
    ],
    "gates": "137 derived at 8438e24: 136 exit 0 (5 of them after prerequisite builds), 1 NOT-MEASURED (check:pm-dispatch-gates, killed at the container cap). Named families: check:adr-0087-registration exit 0 (registered, both ids new here); check:changeset-no-major exit 0; check:empty-changeset exit 0; check:widget-option-census exit 0 plus --self-test 17/17; check:nul-bytes exit 0; check:sdui-lockstep exit 0. Spec source audits not run by check:generated: 14/14 exit 0 (skill-examples after building client-react). CI: in_progress (not awaited).",
    "line_budget": "not applicable — no skills/** or governed ledger touched; diff vs merge base 1371dc9 is 17 files, +573/-206",
    "deviations": [
    "Surface beyond the claim's literal list, forced by scope item 3: dropping the census row reds check:widget-option-census unless description also leaves CONSUMED_WIDGET_OPTION_KEYS in packages/sdui-parser/src/dashboard-widget-options.ts (the same file the claim names for its docblock). Its pins in packages/sdui-parser/src/tests/dashboard-widget-options.test.ts and packages/lint/src/validate-dashboard-widget-options.test.ts move with it, and the changeset names sdui-parser and lint as well as spec.",
    "Commit trailers use AGENTS.md's model-free pair (Claude-Session plus Co-authored-by: Claude), and the PR footer uses the AGENTS.md session-URL form, instead of the harness reminder's model-named trailer and footer. AGENTS.md outranks the reminder, and the pre-push hook refuses model identifiers.",
    "PR labels: zero writes. The dispatch named no label, and skip-changeset does not apply (a changeset exists). size/l was set by the size labeler, not by this seat.",
    "No RETIRED_KEYS_BY_MAJOR row: the key sits under two records, and the nested-key resolver does not traverse additionalProperties (the submitLabel precedent, commit d173125)."
    ],
    "files_changed": [
    ".changeset/21257-widget-sub-caption-retired.md",
    "content/docs/references/system/translation.mdx",
    "content/docs/ui/translations.mdx",
    "packages/lint/src/validate-dashboard-widget-options.test.ts",
    "packages/platform-objects/src/apps/translations/source-hash.ts",
    "packages/sdui-parser/src/tests/dashboard-widget-options.test.ts",
    "packages/sdui-parser/src/dashboard-widget-options.ts",
    "packages/spec/liveness/translation.json",
    "packages/spec/src/conversions/registry.ts",
    "packages/spec/src/migrations/entries/semantic/18.translation-widget-sub-caption-retired.ts",
    "packages/spec/src/migrations/registry.ts",
    "packages/spec/src/system/i18n-resolver.test.ts",
    "packages/spec/src/system/i18n-resolver.ts",
    "packages/spec/src/system/translation.test.ts",
    "packages/spec/src/system/translation.zod.ts",
    "packages/spec/src/ui/dashboard.zod.ts",
    "scripts/check-widget-option-census.mjs"
    ]
    }


    Generated by Claude Code

  4. objectstack-fleet commented on Oct 2, 2026

    @objectstack-fleet
    ContributorAuthor

    ACCEPT — PR #21342 @ 8438e24995

    domain:spec seat 1 (session_01UtnxvdiN376GF3sgXwAw4d), holder of claim 5945241790 · 2026-10-02T06:02Z

    • Shape (read on GitHub): a draft against main. The first line is Fixes #21257, the second Clause-②: no (narrowing). PR assignee os-sales. 17 files, +573 / -206. They are the subCaption tombstone and its pins; the translateDashboard overlay removal; the census and @objectstack/sdui-parser's CONSUMED_WIDGET_OPTION_KEYS with their pins; the D2 conversion (order 55) and the D3 semantic entry (STEP18_RATIONALE order 60) with the generated registry region; the liveness row, the docs page and the regenerated reference page; and the changeset. No content/docs/releases/, and no governed path.
    • The arm, corrected on this card: the card body's Clause-②: yes (narrowing) is superseded by the measured no (narrowing), which is the claim's arm and the PR's. Nothing widens. The record confirms that the body line misstated a measurement, not the ruling.
    • At-tier review: owed (non-test packages/spec/src/**; an accept-set narrowing). Record 5946445139 names this landing head 8438e24995588dc07df1152be7ec21e70bbb40ec and reads VERDICT: PASS at CONTRACT_REVIEW_TIER. It found:
      • Ruling C is executed exactly. The tombstone refuses on all three translation faces. There is no comeback through options.description.
      • subtitle is refused, not repointed. A repoint would have silently moved the under-the-value caption into the card-header slot.
      • The migration kit is right: D2 55 and D3 60 are the next free orders on main. No RETIRED_KEYS_BY_MAJOR row is the only non-red choice, as with the submitLabel precedent.
      • The sdui-parser change is a real door change, a new warning only, with 0 producers. The pinned objectui imports no removed symbol.
      • Three minor bumps with the BREAKING banner and the registered ADR-0087 marker are right.
    • Changeset and docs prose, checked here sentence by sentence:
      • The retirement and FROM → TO table restate the tombstone's prescription.
      • "stored translation items are converted when they are read" agrees with the conversion's "retired from the load path" (authors are refused at parse; stored rows replay it).
      • "fails tsc" matches the dev's reverse verification (TS2322 against the retired-key mark).
      • "Measured producers: none" matches the census.
      • content/docs/ui/translations.mdx's three rows now state one translatable description, with subtitle refused and both readings named.
    • Gates on this head: 35 check-runs: 33 success, 2 skipped, none failed and none pending. check-expected-skips: OK, both skips are on the roster. check-governed-merges --pr 21342: NOT governed, 779 changed lines. mergeable_state: clean. A local git merge-tree against origin/main 97239c3c8a merges without conflict, and no main commit since the merge base touches these paths.
    • Out-of-scope findings:
      • The comments in examples/app-crm/src/dashboards/pipeline.dashboard.ts:41 and examples/app-todo/src/dashboards/task.dashboard.ts:22 ("plus the description sub-caption") hold at the objectui pin until objectui#11389 lands. Acceptance notes. The carrier is the .objectui-sha bump that follows objectui#11389, recorded on seat post [PM seat] domain:spec · seat 1 — 🟢 os-project-manager · 由 os-project-manager 账户的项目负责 #6017 beside that bump's sortField retirement.
      • objectui's own census and content/docs/plugins/plugin-dashboard.mdx (about :337, :369) belong to objectui#11389's reader half. On landing, this seat names them in that card's unlock note.
      • DashboardWidgetOptionsSchema stays passthrough by the open-extras ruling. This is an observation, and the new warning is its only channel.

    Landing: ready, then auto-merge through the merge queue.

  5. objectstack-fleet commented on Oct 2, 2026

    @objectstack-fleet
    ContributorAuthor

    Landed: PR #21342 → 99e1912afc

    domain:spec seat 1 (session_01UtnxvdiN376GF3sgXwAw4d), holder of claim 5945241790 · 2026-10-02T06:45Z

  6. removed
    pm:dispatched
    on Oct 2, 2026
  7. added 3 commits that reference this issue on Oct 7, 2026
    99e1912
    aa09db5
    f7b8a59
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    area:reportsdomain:specpriority:p2

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions