Skip to content

skills: teach the action refusals catalogue and its translation keys (after #34273); fix the action.zod.ts index row #34824

Closed

Description

@objectstack-fleet

repo:objectstack#2 · os-steve · session_01ADHkmQ2SN4K183oqAvUajA

Filing gate ②: the Skills-docs: follow-up owed by PR #34719 (Fixes #34273), contract review comment 6947246959 (and nit N4). Dedupe: action refusals skill; no open card.

Suggested-grade: p2 (inherits #34273) · domain:skills · Blocked-by #34273

What is owed

  • No skill teaches an action's refusals catalogue. skills/objectstack-i18n/SKILL.md lists the hook refusal key only. Teach the action declaration, the translation pack keys (objects.OBJ._actions.ACT.refusals.CODE.message, .reasons.REASON.message, and the same under globalActions.ACT) and the localized answer, matching content/docs/ui/actions.mdx and content/docs/ui/translations.mdx; add or adjust the skill's eval so it exercises the rule.
  • N4 — the generated action.zod.ts row in skills/objectstack-data/references/_index.md and skills/objectstack-ui/references/_index.md no longer names ActionSchema; a module doc block on packages/spec/src/ui/action.zod.ts gives the generator a description to print.

Activity

  1. added
    documentation
    finding
    on Nov 17, 2026
  2. objectstack-fleet commented on Nov 17, 2026

    @objectstack-fleet
    ContributorAuthor

    triage#1 · hotlong · session_01Q4EjjMnyLqJdzuktEmRPXH

    Path: none

    Triage: first touch → p2 · domain:skills · pm:blocked · 2026-11-17T11:55Z

    ⛔ Not a claim.

  3. added
    domain:skills
    pm:blocked
    priority:p2
    on Nov 17, 2026
  4. objectstack-fleet commented on Nov 17, 2026

    @objectstack-fleet
    ContributorAuthor

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

    Added item · N5 from contract review delta 6948667660 on PR #34719 (head 0169fc10) · 2026-11-17T12:58Z

    N5 (nit): the jsdoc above actionRefusalsWithoutSandboxedBody still says "neither a body nor an inline target function"; bring it to what the check now judges. Carried here beside N4; the PR head does not move for it (small-flaw rule, nit level).

  5. objectstack-fleet commented on Nov 17, 2026

    @objectstack-fleet
    ContributorAuthor

    triage#1 · hotlong · session_01Q4EjjMnyLqJdzuktEmRPXH

    Unlock (22:5xZ): the only blocker, #34273, is closed. Moved pm:blocked → pm:queue. The grade is unchanged (p2 · skills). Same edge as #34823.

  6. added
    pm:queue
    and removed
    pm:blocked
    on Nov 17, 2026
  7. objectstack-fleet commented on Nov 18, 2026

    @objectstack-fleet
    ContributorAuthor

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

    Claim: PM loop round 14 · 2026-11-18T00:01Z
    Session: session_01WGufzgwLiKcfujYUug7sPs
    Account: os-support-ai
    Branch: claude/issue-34824-action-refusals-skill
    Worktree: objectstack-issue-34824
    Domain: domain:skills
    Seat: repo:objectstack#3
    File surface: skills/objectstack-i18n/SKILL.md (the bundle key table row for _actions and the app-authored refusal paragraph near :407), skills/objectstack-ui/rules/actions.md (the action refusals declaration), one eval case in each skill's existing eval file, packages/spec/src/ui/action.zod.ts (a module doc block only, N4), packages/spec/src/data/hook-refusal-codes.ts (the jsdoc above actionRefusalsWithoutSandboxedBody only, N5), and the generated skills/objectstack-data/references/_index.md and skills/objectstack-ui/references/_index.md rows. scripts/check-skills-token-ratchet.mjs only if a measured raise is unavoidable after same-file cuts.
    Container & model: M, mode:subagent (area o3-B), model: claude-fable-5-2 (dispatch-gates --tier: MANDATORY for skills/**), effort: high (skills text plus spec comments; not a console card)
    Clause-②: no — skill teaching text, evals and two comment-only edits in packages/spec; no schema, export or accept set moves
    Metadata-protocol: none — no metadata key is touched
    Tier: by check-governed-merges --pr N on the final file list; the seat's contract review at CONTRACT_REVIEW_TIER is owed before landing (seat 3, 23:57Z)
    Responsibility: PR #34719 (Fixes #34273) shipped action refusals with Skills-docs: follow-up (contract review 6947246959)
    Thread-read: 6963275270
    Premise: measured on origin/main 65ec3c5.

    • Blocked-by actions: an action body has no refusal catalogue — a person-facing throw from an action stays in the author's language #34273 is closed (PR feat(spec, runtime, lint): an action body refuses in the caller's language through a declared refusal catalogue #34719 merged 22:29Z); triage unlocked the card at 6963275270.
    • skills/objectstack-i18n/SKILL.md:407-409 teaches only the hook key hooks.<hook>.refusals.<CODE>.message; the _actions.{action_name} row at :167 lists no refusals key. content/docs/ui/actions.mdx:135-174 documents the action refusals declaration and objects.<object>._actions.<action>.refusals.<CODE>.message / ….reasons.<REASON>.message / globalActions.<action>.refusals.….
    • N4: both _index.md files print action.zod.ts — Exports: ActionParamSchema, … with no description, because packages/spec/src/ui/action.zod.ts opens with imports and no module doc block.
    • N5 (6948704466): the jsdoc above actionRefusalsWithoutSandboxedBody lives in packages/spec/src/data/hook-refusal-codes.ts.
    • Eval tokens must be layout-free (seat 3, 23:57Z).
      Serial constraints cleared: overlap with open drafts on the same files, none ours: #35031 and #34970 (skills/objectstack-i18n/SKILL.md), #35031 and #35022 (skills/objectstack-i18n/evals/bundles-locales-coverage.json). Hunks are expected to be disjoint (#35031 edits the action column-label keys); whoever lands second merges main and re-pays any token row. Overlap probe owed on the dev's first commit
      Pre-claim lane: domain:skills (p2, the spec and skills lanes released by the maintainer at 22:35Z, routed to o3-B by seat 3)
      Pre-claim deps: Blocked-by actions: an action body has no refusal catalogue — a person-facing throw from an action stays in the author's language #34273, closed
      Prior rulings read: refusals,action refusal,objectstack-i18n,_index.md → 7 hits; ADR-0093 D8, ADR-0111 D7, ADR-0131 D11, ADR-0144 D6 (refusal decisions this card teaches, not reopens); thread: 6963275270; repo: objectstack-ai/objectstack

    Lease o3-B under seat 3 (seat post #34584).

  8. added
    pm:dispatched
    and removed
    pm:queue
    on Nov 18, 2026
  9. 4 remaining items

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

    @objectstack-fleet
    ContributorAuthor

    repo:objectstack#1 · os-warren · session_01JQwxbWDsbbJizuYnDwBxT8

    Claim: PM loop round 1 (area o1-C, started work handed over by seat 3) · 2026-11-18T07:50Z
    Session: session_01JQwxbWDsbbJizuYnDwBxT8
    Account: os-warren
    Branch: claude/issue-34824-action-refusals-skill
    Worktree: objectstack-issue-34824
    Domain: domain:skills
    Seat: repo:objectstack#1
    File surface: PR #35087's files as of hand-off 6968017855 (skills/objectstack-ui/**, skills/objectstack-i18n/**, skills/objectstack-data/references/_index.md, packages/spec/src/ui/action.zod.ts comments, packages/spec/src/data/hook-refusal-codes.ts jsdoc, packages/spec/scripts/file-description.test.ts, content/docs/references/ui/action.mdx regenerated, scripts/check-skills-token-ratchet.mjs rows, one changeset).
    Container & model: M, mode:subagent, model: CONTRACT_REVIEW_TIER (dispatch-gates --tier: skills/** clause ① MANDATORY), effort: high
    Clause-②: no
    Metadata-protocol: none
    Responsibility: n/a — not a defect card
    Thread-read: 6968043297
    Premise: holds — hand-off 6968017855 step 3 is now due: #35077 MERGED ab1c734a72 and #35085 MERGED. This round merges main with the regeneration and re-pins per seat 3's ruling 1.
    Serial constraints cleared: #35131 (#34771, Tier H, awaiting os-zhuang) shares scripts/check-skills-token-ratchet.mjs; seat 1 ordered #35131 first and this PR second, re-measuring its rows after #35131 merges. overlap-check before each push.
    Resume-from: claude/issue-34824-action-refusals-skill@b33d995a4958d770fd83d0adc13dc453a4b1f63b
    Pre-claim lane: domain:skills (Tier H).
    Pre-claim deps: #35077, #35085 merged.
    Prior rulings read: seat 3 rulings 1–4 in 6968017855 (landing order A; i18n row A; actions.md raise 2808→2957 under record 6513306068; one PR).

    Lease o1-C (seat post #34366). Prior handover: seat 3 brief 6968205670 §2 item 7.

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

    @objectstack-fleet
    ContributorAuthor

    repo:objectstack#1 · os-warren · session_01JQwxbWDsbbJizuYnDwBxT8
    os-dev-report

    {
      "issue": 34824,
      "status": "done",
      "branch": "claude/issue-34824-action-refusals-skill",
      "pr": "https://github.com/objectstack-ai/objectstack/pull/35087",
      "session": "session_01JQwxbWDsbbJizuYnDwBxT8",
      "premise_still_valid": true,
      "summary": "Merge-main round per seat 3 ruling 1, one push, b33d995a49 to bc1325f3c4 (fast-forward, three commits). Main was merged twice: e81ecccd2b (be7f97e6e1), then 99a0e4fbfc (bc1325f3c4) because PR 35131 merged as 6ec3a730c7 while the round ran; 6ec3a730c7 is an ancestor of the head (merge-base --is-ancestor exit 0). One conflict, the rules/actions.md row in scripts/check-skills-token-ratchet.mjs: main's entry for PR 35077 (2808 to 3031) is kept and this PR's entry is stacked after it, re-measured on the merged tree as 3031 to 3180 (12123 to 12720 bytes, +149, all five same-file cuts present, zero headroom). Ruling 2 holds: skills/objectstack-i18n/SKILL.md reads 6327 of 6333 on the merged tree, row not moved, no further cut needed. content/docs/references/ui/action.mdx was regenerated by check:generated --fix (gen:docs only) in its own commit c8e51dba6e. PR body updated through the relay with the merged numbers; PR stays draft. Both readings are the same before and after PR 35131, which edits other ratchet rows and neither skill file.",
      "tests": "Head bc1325f3c4. os-verify-lock, pnpm --filter @objectstack/spec exec vitest run --project repo --maxWorkers=2 scripts/file-description.test.ts: Test Files 1 passed (1), Tests 112 passed (112), VERDICT command-exit 0. pnpm --filter @objectstack/scenarios skill-evals --dry-run: exit 0, catalog loads (objectstack-i18n: 20 case(s), objectstack-ui: 40 case(s)). No ablation: no tested behaviour changed in this round (a merge, a regeneration and a ratchet row). The full spec suite and test:repo were not re-run locally; declared to CI.",
      "gates": "Local, head bc1325f3c4, exit codes captured after redirect and before any pipe. node scripts/check-skills-token-ratchet.mjs: exit 0, 'skills/objectstack-ui/rules/actions.md is 3180 tokens (ceiling 3180; headroom 0)', 'skills/objectstack-i18n/SKILL.md is 6327 tokens (ceiling 6333; headroom 6)', '58 authored bundle file(s) within their ceilings'; --self-test: exit 0, '104 cases pass'. Main-side control in a checkout of 99a0e4fbfc: actions.md 3031 of 3031, i18n 6256 of 6333, bundle 263732 (branch 264675, +943). os-verify-lock, builds of the @objectstack/lint... and @objectstack/client-react... closures then pnpm --filter @objectstack/spec check:generated: 'All 14 generated artifacts are up to date', VERDICT command-exit 0 (after the first merge it read 1 of 14 stale, content/docs/references/**, and --fix regenerated that one). dispatch-gates --commands: 140 commands, all run; dispatch-gates --ran: exit 0, '140 derived famil(ies) accounted for — 139 run, 1 NOT-MEASURED (1 DERIVED from a recorded exit 3)'. The 139 exited 0, among them check:skill-docs ('Skill docs in sync'), check:skill-refs ('9 generated files in sync with packages/spec'), check:skill-examples ('345 prose examples type-check'), check:skill-links, check:nul-bytes. NOT MEASURED: pnpm check:dual-build-cjs-loads, exit 3, reason: it needs a full workspace build, not run locally; CI runs it. Outside the derived list: pnpm --filter @objectstack/spec run check:skill-served-sections (new on main with PR 35131): exit 0. dispatch-gates --tier: exit 0, 'MANDATORY: claude-fable-5-2'. check-governed-merges --branch HEAD: exit 3, governed, Tier H, six skills/** paths, 189 changed lines (+161 / -28). overlap-check --branch=HEAD: 'VERDICT clean exit 0' against origin/main (55020c331b at that read) and PR 34970, the one open PR sharing a file; PR 35131 is no longer an open head, it is in the merged main. CI check-runs on bc1325f3c4 at report time, not waited for: 9 success, 11 skipped, 21 in_progress, 0 failure.",
      "dogfood_battery": "n/a — no ! in the PR title and no (narrowing) arm",
      "mcp_calls": "0",
      "api_writes": "2 — relay issue_patch (run 44279166232 success: PATCH /repos/objectstack-ai/objectstack/issues/35087, read back 25273 bytes identical), post-stamped comment on issue 34824 (this report). git push once, fast-forward b33d995a49 to bc1325f3c4.",
      "open_questions": [],
      "security_findings": "none",
      "out_of_scope_findings": [],
      "deviations": "(1) Main was merged twice, not once: PR 35131 merged during the round, and the coordinator's mid-round message asked for the tree that includes it. The second merge was clean. (2) The second merge commit was written by os-regen-merge.sh without trailers; it was amended before any push to add the model-free trailer pair (no pushed history rewritten). (3) Main moved again to 55020c331b after the second merge; those five commits touch none of this PR's files and were not merged. (4) The PR body's signed trailer now names this seat (repo:objectstack#1, os-warren, this session) in place of seat 3's, since this session wrote the body; the harness attribution line, the Fixes line, both declaration lines and the session-URL footer are unchanged, and the Tier line was updated to the new head. (5) The harness attribution reminder asked for a trailer naming the model; the commits carry the model-free pair as AGENTS.md requires. (6) Local test scope narrowed to the one spec test file plus the derived gates; the spec suite is declared to CI."
    }

    Merge-main round report, written 2026-11-18T09:48Z. Head bc1325f, draft, Tier H, main 99a0e4f merged.

  14. objectstack-fleet commented on Nov 18, 2026

    @objectstack-fleet
    ContributorAuthor

    repo:objectstack#1 · os-warren · session_01JQwxbWDsbbJizuYnDwBxT8
    os-dev-report

    {
      "issue": 34824,
      "status": "done",
      "branch": "claude/issue-34824-action-refusals-skill",
      "pr": "https://github.com/objectstack-ai/objectstack/pull/35087",
      "session": "session_01JQwxbWDsbbJizuYnDwBxT8",
      "premise_still_valid": true,
      "summary": "Merge-main-only head hop to re-run CI after the cancelled Test UI shard 1/16 on bc1325f3. Merged origin/main c787255a491 into the branch with no authored change; new head 1bb7b045bdcc6a182dec15c7025a4bdcf5ae4f2e pushed as a fast-forward of bc1325f3c40dd83f801209ff88c779ff8c1bf58d. Patch proven unchanged: patch-id --stable of the pre-merge PR patch (99a0e4fbfc1..bc1325f3) = cd12496cfc5ca25e95adb2d5c3e70ef5389151de, of origin/main...HEAD = cd12496cfc5ca25e95adb2d5c3e70ef5389151de; same 12-file set, all 12 blobs equal old head vs new head, main (190 files moved) touched none of them nor the ratchet rows. Auto-merge read once after the push: still enabled on the new head (enabled_by os-zhuang, method merge), PR open, not draft; not touched. Hop note posted as PR comment 6978220253. The merge commit was first written with a model-named Co-Authored-By trailer and amended to the model-free pair before the push; nothing with a model name landed.",
      "tests": "No authored change, so no tests owed beyond the dispatch's re-runs. node scripts/check-skills-token-ratchet.mjs exit 0: 'skills/objectstack-ui/rules/actions.md is 3180 tokens (ceiling 3180; headroom 0)', 'skills/objectstack-i18n/SKILL.md is 6327 tokens (ceiling 6333; headroom 6)', '58 authored bundle file(s) within their ceilings'. pnpm --filter @objectstack/spec check:generated under os-verify-lock: first run VERDICT command-exit 1 because packages/spec/dist held no .d.ts in the fresh worktree (NOT MEASURED, not red); after pnpm --filter @objectstack/spec build, VERDICT command-exit 0, 'All 14 generated artifacts are up to date', worktree clean afterwards. All on head 1bb7b045bd.",
      "gates": "Local: check-skills-token-ratchet exit 0; spec check:generated exit 0 (after build); check-governed-merges --branch HEAD exit 3 = GOVERNED Tier H, skills/** x6 (the same body as the same check on bc1325f3, also exit 3: the expected verdict for this approved Tier H PR, not a defect); overlap-check --branch=HEAD 'VERDICT clean exit 0' (merges cleanly with origin/main and with #34970). Exit codes captured before any pipe. CI on 1bb7b045bd at report time: 8 success, 9 skipped, 20 in_progress (Test UI among them); in_progress is the honest value, not waited on. No dispatch-gates --commands derivation: merge-only head with an unchanged patch, per the dispatch's local list.",
      "dogfood_battery": "n/a — no `!` in the PR title and no (narrowing) arm",
      "mcp_calls": "0",
      "api_writes": "2 relay writes via scripts/pm/post-stamped.mjs (fleet-write dispatch): POST issues/35087/comments (hop note 6978220253); POST issues/34824/comments (this os-dev-report). Plus 1 git push (fast-forward bc1325f3..1bb7b045bd). Reads: GET pulls/35087 once, GET commits/1bb7b045bd/check-runs once.",
      "open_questions": [],
      "security_findings": "none",
      "out_of_scope_findings": []
    }

    Generated by Claude Code

  15. objectstack-fleet commented on Nov 18, 2026

    @objectstack-fleet
    ContributorAuthor

    repo:objectstack#1 · os-warren · session_01JQwxbWDsbbJizuYnDwBxT8

    Close-out · 2026-11-18T13:31Z: PR #35087 merged as 9c29d732a1 at 2026-11-18T13:18:46Z through os-zhuang's Tier H approval and the merge queue (L1-b 6976263388, fable contract review PASS 6976329833, seat record 6976387100; merge-main-only hop 6978220253 to re-run a timed-out UI shard). The action refusals declaration and its i18n keys are taught in the ui and i18n skills. The ui router row that does not name refusals is carried by #35178. Lease o1-C released.

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

Metadata

Metadata

Assignees

Labels

documentationdomain:skillsfindingpriority:p2

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions