Skip to content

ui skill router: name action refusals on the Actions row #35178

Closed

Description

@objectstack-fleet

repo:objectstack#1 · os-warren · session_01JQwxbWDsbbJizuYnDwBxT8

Follow-up of #34824 (PR #35087), from L1-b's nit 1 (comment 6976263388 on #35087) and the #34824 dev report's out-of-scope note. #35087 teaches the action refusals declaration in skills/objectstack-ui/rules/actions.md, but the router in skills/objectstack-ui/SKILL.md (the task table row "A button or operation: locations, visibility, dialog and toast copy, params, new tab, the body's ctx" → Actions) does not name refusals, so a model looking for "a refused action's message" is not sent to that rule. The router row was card #34770's file and #35077 merged without it, so this finding has no other carrier.

Done when

  • The Actions router row names refusals (the declared refusal codes and their messages) in the same few words as the rule file's heading.
  • scripts/check-skills-token-ratchet.mjs: the skills/objectstack-ui/SKILL.md row is paid in the same file first (ruling record 6513306068, letter B); regenerate whatever the skill generators derive.
  • Text-only change to served skill text: Clause-②: no (seat ruling kept by seat 1).

Order

Tier H (skills/**). After #35087 merges (it owns rules/actions.md's heading).

Activity

  1. added
    priority:p2
    pm:queue
    domain:skills
    area:ai
    on Nov 18, 2026
  2. objectstack-fleet commented on Nov 19, 2026

    @objectstack-fleet
    ContributorAuthor

    repo:objectstack#5 · os-bill · session_01Utp6CazXu8zyYD5PC6J2u7

    Claim: PM loop round 1 · area ai-1 (lease:ai-1; the maintainer, verbatim, 2026-11-19 project chat: 「再开一个 ai 区」「暂时都只派 p1 p2 的卡」) · 2026-11-19T01:01Z
    Session: session_01Utp6CazXu8zyYD5PC6J2u7
    Account: os-bill
    Branch: claude/issue-35178-actions-router-refusals
    Worktree: objectstack-issue-35178
    Domain: domain:skills
    Seat: repo:objectstack#5
    File surface: skills/objectstack-ui/SKILL.md (the Actions router row; ratchet self-pay in the same file), whatever the skill generators derive from it, scripts/check-skills-token-ratchet.mjs (ui row note only if letter-B remainder is needed), root .changeset/. Stop on breach and report.
    Container & model: XS, mode:subagent, model: default — skills/** governed: seat contract review and landing, effort: high
    Clause-②: no (text-only served skill text, seat ruling kept by seat 1)
    Metadata-protocol: none
    Responsibility: the objectstack-ui router row for Actions does not name refusals, so a model looking for a refused action's message is not sent to rules/actions.md § "Refusing by code (refusals)"; every agent authoring actions from the ui skill
    Thread-read: none
    Premise: holds — on origin/main f4dbcc21: skills/objectstack-ui/SKILL.md:85 Actions row names locations, visibility, dialog and toast copy, params, new tab, the body's ctx — no refusals; rules/actions.md:134 heading "Refusing by code (refusals)"; PR #35087 merged
    Serial constraints cleared: none — only release PR #35129 touches the file
    Pre-claim lane: domain:skills (skills/objectstack-ui/**, governed)
    Pre-claim deps: PR #35087 merged
    Prior rulings read: skill,router,name,action,refusals,actions → 167 hits; ADR-0109 Decision §1, ADR-0109 Decision §3, ADR-0110 D1, ADR-0005 Decision §3, ADR-0024 Decision §2, ADR-0031 Decision §7, ADR-0063 Decision §2, ADR-0068 D4, ADR-0096 D6, ADR-0097 Decision §6 (term noise, none on point); thread: none

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

    @objectstack-fleet
    ContributorAuthor

    repo:objectstack#5 · os-bill · session_01Utp6CazXu8zyYD5PC6J2u7
    os-dev-report

    {
      "issue": 35178,
      "status": "done",
      "branch": "claude/issue-35178-actions-router-refusals",
      "pr": "https://github.com/objectstack-ai/objectstack/pull/35279",
      "head": "8254c29be93b43702e91c9d5a23473679547fbfb",
      "session": "session_01Utp6CazXu8zyYD5PC6J2u7",
      "premise_still_valid": true,
      "summary": "The objectstack-ui routing table's Actions row now ends ', refusing by code (`refusals`)', the words of rules/actions.md's heading 'Refusing by code (`refusals`)', so a refused action's message routes to that rule (+31 bytes). Paid down first in the same file: First checks 3 drops ': it decides what to write' (-26 bytes), a restatement of First checks 1's 'the installed contract is right'. The +2-token remainder is raised under ruling record 6513306068 letter B, which the PR body quotes verbatim, and pinned AT the measurement with a row note. Changeset: @objectstack/skills patch. Draft PR opened with assignee os-bill. Not marked ready (Tier H).",
      "a_readings": {
        "A1": "holds at f4dbcc21: skills/objectstack-ui/SKILL.md:85 Actions row = \"A button or operation: `locations`, visibility, dialog and toast copy, params, new tab, the body's `ctx`\" -> [Actions](./rules/actions.md); 0 hits for refusals in the row",
        "A2": "holds at f4dbcc21: skills/objectstack-ui/rules/actions.md:134 = '### Refusing by code (`refusals`)'"
      },
      "files_changed": ["skills/objectstack-ui/SKILL.md", "scripts/check-skills-token-ratchet.mjs", ".changeset/35178-ui-router-names-refusals.md"],
      "ratchet_row": "skills/objectstack-ui/SKILL.md 2277 -> 2279 (9128 bytes / 9108 priced -> 9133 / 9113 priced; ceil(9113/4)=2279, headroom 0)",
      "line_budget": "objectstack-ui SKILL.md 169 -> 169 lines; all published skills/*/SKILL.md 4830 -> 4830 lines, 253765 -> 253770 bytes; bundle total tokens +2 (only this file moved)",
      "tests": "head 8254c29b: node scripts/check-skills-token-ratchet.mjs exit 0 ('skills/objectstack-ui/SKILL.md is 2279 tokens (ceiling 2279; headroom 0)'; '59 authored bundle file(s) within their ceilings'). Before the row re-pin it read 2279 / 2277 (+2), exit 1. --self-test exit 0 ('104 cases pass'). pnpm --filter @objectstack/spec run check:skill-refs exit 0 ('9 generated files in sync'). No generator output changed. No ablation: no tested behaviour changed (text plus a ratchet row).",
      "gates": "Local, head 8254c29b, derived with dispatch-gates --commands --repo objectstack-ai/objectstack (3 paths, 67 commands). Exit codes were captured before any pipe. 65 run, exit 0: check:skill-docs, check:skill-served-sections (24 sections, 10 JSON fences), check:skill-identifier-liveness, check:skill-links (267 links/138 fragments), check:doc-authoring, check:pm-skill-id-lint, check:nul-bytes, the token ratchet and its self-test, check:doc-formula-expressions (exit 0 after the @objectstack/lint closure was built under the lock; the first attempt exited 3 PREREQUISITE), check:pm-dispatch-gates (fast tier, 2249 cases) and the rest. 2 NOT MEASURED (exit 3 PREREQUISITE NOT MET, every package's dist is needed, CI runs them): check:dual-build-cjs-loads, check:lean-entry-closure. --ran result: '67 derived, 65 run, 2 NOT-MEASURED, 0 UNRUN', exit 0. overlap-check --branch=HEAD: VERDICT clean (merges cleanly with origin/main, with #35268, which shares the ratchet, and with #35129, which shares SKILL.md). CI on PR #35279: all gate jobs in_progress when this report was written (Lint, Type Check, Check Changeset, Governed Surface Queue Guard, PR-body guards). Not awaited, per contract.",
      "dogfood_battery": "n/a — no `!` in the PR title and no (narrowing) arm",
      "mcp_calls": "0",
      "api_writes": "2 — relay pr_create (fleet-write run 44436537769: POST /repos/objectstack-ai/objectstack/pulls draft + assignees os-bill, read-back 5864/5864 bytes identical); os-dev-report comment POST /repos/objectstack-ai/objectstack/issues/35178/comments via post-stamped.mjs. Plus 1 git push, which is not a REST write.",
      "deviations": "1) The harness attribution reminder asked for a Co-Authored-By trailer that names a model. The commit uses the model-free pair that AGENTS.md and the dispatch require (Claude-Session + 'Co-authored-by: Claude'). 2) The PR body ends with the footer the dispatch order specifies (the robot line + session URL), not the AGENTS.md session-URL '_Generated by_' form. 3) The local gate loop ran past the 10-minute foreground cap and the harness moved it to the background. I waited for it with a foreground poll until all 66 entries had recorded exit codes. No result was read before it finished.",
      "open_questions": [],
      "security_findings": "none",
      "out_of_scope_findings": [
        "carrier: none · noted, not filed — objectstack-ui SKILL.md frontmatter description lists `*.action.ts`, but the routing table's In column says `src/actions/*.actions.ts`. examples/ uses both (2 .action.ts, 1 .actions.ts). Observation only, no defect class. Recorded in the PR's Acceptance notes."
      ]
    }
  5. objectstack-fleet commented on Nov 19, 2026

    @objectstack-fleet
    ContributorAuthor

    repo:objectstack#5 · os-bill · session_01Utp6CbUb7TcZK1XUAddUmQ

    ACCEPT → PR #35279 comment 6997288033 (head 8254c29be93b43702e91c9d5a23473679547fbfb, L2 PASS 6997263802). Tier H: awaiting a maintainer merge or approval (reviewers os-zhuang, hotlong). 2026-11-19T01:56Z

  6. 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:aidomain:skillspriority:p2

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions