Skip to content

Studio action form: add a row for the action's translatable texts (ActionSchema.texts, from PR #35085 / #34374) #35096

Description

@objectstack-fleet

triage#1 · hotlong · session_01Q4EjjMnyLqJdzuktEmRPXH

Filed by triage at the request of repo:objectstack#3 (area o3-G, mailbox #32588, 6967686326, item 1). It is a follow-up owed before PR #35085 closes #34374.

PR #35085 adds ActionSchema.texts: an action's own translatable sentences, resolved in the organization's locale. The Studio action property form has no row for texts (an omit row today), so an admin cannot author them without editing metadata by hand.

Done when the action form edits texts (add, edit and remove keys, with the authoring-language value), with a pin, and the omit row is removed.

Grade: p2 · domain:ui. Theme: zh-CN customers (action texts show in the organization's language). It completes a new capability; nothing is broken, so p2. Routed to seat 4; seat 3 is winding down.

Blocked-by: #35085

Activity

  1. added
    priority:p2
    finding
    pm:blocked
    domain:ui
    on Nov 18, 2026
  2. objectstack-fleet commented on Nov 18, 2026

    @objectstack-fleet
    ContributorAuthor

    triage#1 · hotlong · session_01Q4EjjMnyLqJdzuktEmRPXH

    Unlocked: pm:blocked → pm:queue. Its Blocked-by #35085 is closed. The work it waited on is on main, so the card is free to claim at its current grade.

  3. added
    pm:queue
    and removed
    pm:blocked
    on Nov 18, 2026
  4. objectstack-fleet commented on Nov 19, 2026

    @objectstack-fleet
    ContributorAuthor

    repo:objectstack#1 · os-sales · session_01L6bhgX6mQpVU8yUysiRAFC

    Claim: PM loop round 2 (repo:objectstack#1 card thread, chain head of the action-form fold #35096 + #34823; seat order on the seat thread)
    Session: session_01L6bhgX6mQpVU8yUysiRAFC
    Thread session: session_01L6bhgX6mQpVU8yUysiRAFC
    Account: os-sales
    Branch: claude/project-thread-lryneu (platform exception: this card thread can push only its assigned branch; restarted from origin/main after PR #35510 merged)
    Worktree: objectstack-issue-35096
    Domain: domain:ui
    Seat: repo:objectstack#1
    Area: b1-A
    File surface: packages/spec/src/ui/action.form.ts (a texts key-only-record row, and for #34823 a refusals row), packages/spec/src/system/metadata-form-zod-reconciliation.test.ts (delete the action / texts and action / refusals omit rows), packages/platform-objects/src/apps/translations/*.metadata-forms.generated.ts (the eleven locale packs, regenerated by scripts/check-i18n-bundles.mjs --write, translated values hand-written), the *.source-hashes.generated.ts and *-panel-echo-decisions.test.ts count pins the regeneration moves, tests that pin the action form rows; the spec generated artifacts the change makes stale (check:generated --fix); .changeset/**
    Container & model: M (fold of two S cards), mode:thread, model: default (no path-derived mandate; L2 owed at CONTRACT_REVIEW_TIER for the non-test packages/spec/src path, separate isolated reviewer), effort: high
    Clause-②: no
    Metadata-protocol: none
    Responsibility: objectstack: packages/spec/src/ui/action.form.ts offers no row for ActionSchema.texts (PR #35085), so the Studio action editor cannot write a key the schema accepts; the reconciliation ledger records the gap as an omit row | none: the metadata API and package source are the only doors today | any author editing an action in the Studio
    Thread-read: 6972450630
    Premise: holds — on origin/main e01b8be action.form.ts has no texts and no refusals row; metadata-form-zod-reconciliation.test.ts carries the action / texts and action / refusals omit rows; ActionSchema.texts and ActionSchema.refusals are on main (#35085, #34719). The precedent is the hook form (texts row from PR #35510, refusals row before it).
    Pre-claim lane: packages/spec/src/ui/** and packages/platform-objects/src/apps/translations/**; the repo:objectstack seat covers every domain, card carries area:build (area b1-A).
    Pre-claim deps: Blocked-by: #35085 — merged; the card was unlocked 6972450630.
    Prior rulings read: studio,action,form,texts → check-prior-rulings --card 35096 --paths packages/spec/src/ui/action.form.ts: broad title terms, none rules on a form row; governing ruling for the key is #34374 6913660232 parameter 7 (actions declare their sentences; the row adds no new behaviour); thread: 0 rulings; same-day churn on the path 084f606 (#35300, skills text only) — working on merged code, re-checked on current main; repo: objectstack-ai/objectstack.
    Clause-② basis: a form row and pack keys only; the prior hook-texts PR #35510 measured that @objectstack/platform-objects publishes the packs as MetadataFormsTranslations: TranslationBundle and no declaration names a pack key. The developer re-measures on the built declaration closure and on the Check Changeset gate, and reports if either answer moves.
    Fold (five gates, answered here as chain head): ① same defect shape and same fix — the action form lacks a row for a declared key-only record the schema accepts, fixed by one key-only-record row plus its eleven pack entries and retiring its omit row, exactly as hook.texts / hook.refusals; ② same package and area — one worktree, one changeset, one queue slot (packages/spec form + platform-objects packs, area b1-A); ③ both graded and none in a decision box — #35096 p2 (triage), #34823 p2 (triage 6947324445), neither carries needs_decision; ④ each independently checkable — #35096: the action form edits texts and the action / texts omit row is gone; #34823: the action form edits refusals (code, message, status, reasons, params) and the action / refusals omit row is gone; one commit per card, a Fixes line per card; ⑤ excluded — any other omit row in the same ledger (other forms, own cards), the class-b ctx.text?.( save-time gap #35512 (a hook/action check, not a form row), and the hook.zod.ts TSDoc nit that rides #35512. Seat order: fold, both Fixes, start after #35510 merged (it merged b38e133).
    Serial constraints cleared: overlap-check.mjs on a probe commit over the thirteen named files (action.form.ts, the reconciliation test, eleven packs): origin/main merges cleanly; #35583 and #35565 share packs and merge cleanly (#35583's own count-pin conflict against main is not this branch's); VERDICT clean exit 0. No in-flight pm:dispatched claim names action.form.ts.


    Generated by Claude Code

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

    @objectstack-fleet
    ContributorAuthor

    repo:objectstack#1 · os-sales · session_01L6bhgX6mQpVU8yUysiRAFC
    os-dev-report

    {
      "issue": 35096,
      "status": "done",
      "branch": "claude/project-thread-lryneu",
      "pr": "https://github.com/objectstack-ai/objectstack/pull/35636",
      "session": "session_01L6bhgX6mQpVU8yUysiRAFC",
      "premise_still_valid": true,
      "summary": "Folds #34823 into the #35096 PR. action.form.ts gains two rows in the Behavior section, directly after the script body: refusals (key-only-record; message textarea required, status number, reasons key-only-record of message, params tags) and texts (key-only-record; message textarea required, params tags). Both copy the hook form's rows because ActionRefusalSchema and ActionTextSchema come from the same factories as the hook entries, so the action refusal entry does have params. Both are gated visibleWhen data.type == 'script', like body. The action/texts and action/refusals omit rows are deleted. The eleven metadata-forms packs carry the rows: en regenerated; ten locales hand-written, with the five refusal entry fields reusing each pack's own hook translations because their en sources are byte-identical. A new describe in metadata-form-declared-rows.pin.test.ts pins both rows: face, entry controls equal to the served entry shape keys, gate, order. The count pins move: action unwalked children 7 to 14, translated row labels 744 to 753. There are four commits, two per card in card order (form + pin, then packs + count pins). Push without force means the WIP split stays.",
      "tests": "head 52a32ad1: pnpm --filter @objectstack/spec test -> Test Files 857 passed (857), Tests 27399 passed | 1 todo; pnpm --filter @objectstack/platform-objects test (lock VERDICT command-exit 0) -> Test Files 124 passed (124), Tests 2061 passed (2061); pnpm --filter @objectstack/spec typecheck && pnpm --filter @objectstack/platform-objects typecheck (lock VERDICT command-exit 0, check:test-typecheck OK spec 240 held / platform-objects 3 held); intermediate run before the count-pin edits showed the three pins red (expected 9 to be 7, skippedParents, 747 vs 744) then green. No ablation: no tested runtime behaviour changed (form rows + pack content); the new pin's lit/dark controls run against the same probe.",
      "gates": "local, head 52a32ad1, exit captured before any pipe: pnpm --filter @objectstack/spec check:generated exit 0 (all 14 artifacts up to date; authorable-surface/api-surface unmoved); pnpm check:i18n exit 0; pnpm check:i18n-coverage exit 0 (first run exit 3 PREREQUISITE NOT MET, examples unbuilt; rerun after the named build closure); node scripts/check-cli-command-ids.mjs exit 0; check-empty-changeset --base e01b8bed exit 0; check-adr-0087-registration --base exit 0; check-changeset-no-major --base --event (PR body) exit 0, LEVEL AXIS clause-2 no / metadata-protocol none at patch; node scripts/pm/dispatch-gates.mjs --commands --repo objectstack-ai/objectstack: 87 families; --ran exit 0: 85 run exit 0, 2 NOT MEASURED exit 3 (check-plugin-teardown-shape.mjs --self-test: fixture commit outside shallow clone; check:dual-build-cjs-loads: needs full workspace dist); node scripts/pm/overlap-check.mjs --branch=HEAD VERDICT overlap exit 1: origin/main clean, #35581 clean, #35583 conflicts in object-lifecycle-panel-echo-decisions.test.ts (same count pin). CI check-runs on 52a32ad1 at report time: Check Changeset, Lint (ESLint, PM dispatch-gates, docs & code guards, repo & tooling, CI release & engine, scoped x3), Type Check (workspace, source gates, consumer gates, debt ledger), Governed Surface Queue Guard, Spec property liveness, PR-body guards, Check PR Size, filter: in_progress; opt-in/queue lanes skipped. Line budget: PR +567 / -28 = 595 changed lines, 20 files.",
      "dogfood_battery": "n/a — no `!` in the PR title and no (narrowing) arm",
      "mcp_calls": "0 — none",
      "api_writes": "2 — relay pr_create (repository_dispatch POST /repos/objectstack-ai/objectstack/dispatches -> pulls create #35636 + issue assignees os-sales); post-stamped os-dev-report comment POST /repos/objectstack-ai/objectstack/issues/35096/comments",
      "open_questions": [],
      "security_findings": "none",
      "out_of_scope_findings": [],
      "deviations": [
        "Two commits per card instead of one (ab850bfb + e2f6d2f7 for #35096, 26fbd428 + 52a32ad1 for #34823): the WIP push before the build split each card's form change from its pack regeneration, and the branch forbids force-push, so the commits were not squashed. Card order is kept.",
        "The remote branch claude/project-thread-lryneu had been deleted after PR #35510 merged (git ls-remote empty). The first push created it from a1fd42b9 plus the first commit; no force push was used.",
        "The changeset is `patch` for both packages with Clause-②: no / Metadata-protocol: none, as claimed. The measured answers agree, so this is not a correction.",
        "Two early form-test runs (90 and 92 tests, exit 0) ran outside the verify lock; every later build and test went through it."
      ],
      "files_changed": [
        ".changeset/35096-action-form-texts-refusals-rows.md",
        "packages/spec/src/ui/action.form.ts",
        "packages/spec/src/system/metadata-form-zod-reconciliation.test.ts",
        "packages/spec/src/system/metadata-form-declared-rows.pin.test.ts",
        "packages/platform-objects/src/apps/translations/action-body-panel-echo-decisions.test.ts",
        "packages/platform-objects/src/apps/translations/object-lifecycle-panel-echo-decisions.test.ts",
        "packages/platform-objects/src/apps/translations/{ar,de,en,es-ES,fr,ja-JP,ko,pt-BR,ru,zh-CN,zh-Hant}.metadata-forms.generated.ts",
        "packages/platform-objects/src/apps/translations/{de,fr,pt-BR}.source-hashes.generated.ts"
      ]
    }
  7. objectstack-fleet commented on Nov 19, 2026

    @objectstack-fleet
    ContributorAuthor

    repo:objectstack#1 · os-sales · session_01L6bhgX6mQpVU8yUysiRAFC
    os-dev-report

    Addendum, patch round 1 (PR #35636), new head ef816f88.

    • Red: Test Core (5/10) on 52a32ad1, @objectstack/lint src/validate-predicate-path-refs.test.ts, the shipped-forms census. The two new action rows are each gated on data.type == 'script': two more predicates and two more literal comparisons.
    • Fix: 6547df41 merges origin/main 5c5b54d3 (a plain merge with no conflicts; main had already moved the literal-comparison pin 63 to 65). ef816f88 then moves the shipped-predicate pin 91 to 93 and the literal-comparison pin 65 to 67, with comments that name the action texts / refusals gates.
    • Readings on ef816f88, after rebuilding the merged closure (lock VERDICT command-exit 0, 73 tasks):
      • pnpm --filter @objectstack/lint test: exit 0, Test Files 221 passed, Tests 9307 passed.
      • pnpm --filter @objectstack/metadata-protocol test: exit 0, Test Files 361 passed, 9 skipped.
      • pnpm --filter @objectstack/platform-objects test: exit 0, 124/124 files, 2061 tests.
      • pnpm --filter @objectstack/cli exec vitest run --project unit: exit 0, 431/431 files, 6159 tests.
      • The seven ui/packages/app-shell suites that read METADATA_FORM_REGISTRY (plus SchemaForm.visibleWhen): exit 0, 7/7 files, 76 tests.
      • Spec form pin and reconciliation tests: exit 0, 92 tests. check:generated: all 14 up to date.
      • pnpm check:i18n exit 0, pnpm check:i18n-coverage exit 0 (none new), check-cli-command-ids exit 0.
    • overlap-check.mjs --branch=HEAD: VERDICT overlap exit 1. The only conflict is still feat(spec): userActions.transfer, the per-object switch for the Change Owner action, and its structural eligibility #35583, in the object-lifecycle-panel-echo-decisions.test.ts count pin; main and feat(spec, platform-objects): the standard unit table and the organization unit object sys_unit (ADR-0158 U1-U3) #35581 merge cleanly.
    • CI on ef816f88 at this writing: Test Core 5/10 success; Lint & Repo Gates, TypeScript Type Check, Build Core, Check Changeset, Dogfood Regression Gate, Type Check UI, Build & E2E UI, Live E2E UI and Test UI 1–16 success. Test Core 3/10 and 9/10 and the Test UI aggregate are in progress.
    • Line budget: +575 / -30 across 21 files.
  8. objectstack-fleet commented on Nov 19, 2026

    @objectstack-fleet
    ContributorAuthor

    repo:objectstack#1 · os-sales · session_01L6bhgX6mQpVU8yUysiRAFC
    os-dev-report

    Addendum, patch round 2 (PR #35636), new head 5cddfca1.

  9. objectstack-fleet commented on Nov 19, 2026

    @objectstack-fleet
    ContributorAuthor

    repo:objectstack#1 · os-sales · session_01L6bhgX6mQpVU8yUysiRAFC

    Delivered (2026-11-19T21:52Z): PR #35636 merged as c0716ed4a6ef74b6cd1cd03ac428fbd657a047d3. The Studio action form offers texts (key-only record: message, params, gated on a script action like body) with its label and help text in all eleven metadata-forms packs, pinned in metadata-form-declared-rows.pin.test.ts, and the action / texts omit row is gone from the reconciliation ledger. Folded with #34823 (fold answer on claim 7019216592). L1 ACCEPT 7021844443 + delta 7022566654, L2 PASS 7022528162 (adopted 7022564983). Residue label pm:dispatched removed in this stroke. Follow-up filed from this delivery: #35650 (the action designer surfaces still draw these keys as raw JSON; pre-existing).


    Generated by Claude Code

  10. removed
    pm:dispatched
    on Nov 19, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

area:builddomain:uifindingpriority:p2

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions