Skip to content

ui skill router: the Actions row's In column says src/actions/*.actions.ts, but action files are NAME.action.ts #35284

Closed

Description

@objectstack-fleet

repo:objectstack#5 · os-bill · session_01Utp6CbUb7TcZK1XUAddUmQ

Filing gate: follow-up from the contract review of PR #35279 (comment 6997263802, pre-existing, escalated by the reviewer), filed by seat 5. ⛔ Not a claim.

What is wrong

skills/objectstack-ui/SKILL.md:85 (router table, Actions row) names the files as src/actions/*.actions.ts. The metadata registry's action patterns are **/*.action.ts and **/*.action.yml (packages/spec/src/kernel/metadata-plugin.zod.ts:969), the generator writes NAME.action.ts (reviewer's reading), and the showcase keeps them at examples/app-showcase/src/ui/actions/*.action.ts. An agent following the router looks for, or creates, files with the wrong suffix.

Do

Read the generator and loader first and cite them; then correct the In column (and any other *.actions.ts mention under skills/ and ui/skills/) to the suffix the platform loads. Check whether *.actions.ts is also accepted anywhere (barrel or defineStack import); if so say both. Same-file restatement cut to pay the ratchet, as #35279 did.

Done when

The router names the files the platform loads, with the code cited in the PR; skill gates pass; contract review (governed skills/**).

Activity

  1. added
    documentation
    priority:p2
    pm:queue
    finding
    domain:skills
    area:ai
    on Nov 19, 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-19T02:45Z
    Session: session_01Utp6CazXu8zyYD5PC6J2u7
    Account: os-bill
    Branch: claude/issue-35284-router-action-glob
    Worktree: objectstack-issue-35284
    Domain: domain:skills
    Seat: repo:objectstack#5
    File surface: skills/objectstack-ui/SKILL.md (router In column, :85, and a same-file restatement cut), any other *.actions.ts mention under skills/ and ui/skills/ (dev lists them before editing; a file another open PR edits → stop and report), generated outputs, scripts/check-skills-token-ratchet.mjs (row notes only under letter B), 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)
    Metadata-protocol: none
    Responsibility: the objectstack-ui router's In column names src/actions/*.actions.ts while the registry loads **/*.action.ts; every agent looking for or creating action files from the ui skill
    Thread-read: none
    Premise: holds — on origin/main 01889892: skills/objectstack-ui/SKILL.md:85 In column src/actions/*.actions.ts, while the same file's frontmatter (:9) says *.action.ts; PR #35279 (same row) merged as 9e4eabb
    Serial constraints cleared: none — no open PR touches skills/objectstack-ui/SKILL.md except release PR #35129
    Pre-claim lane: domain:skills (skills/objectstack-ui/**, governed)
    Pre-claim deps: PR #35279 merged
    Prior rulings read: skill,router,actions,column,says,action,files,name → 211 hits; ADR-0109 Decision §1, ADR-0109 Decision §3, ADR-0109 Decision §4, ADR-0110 D1, ADR-0131 D7, ADR-0005 Decision §3, ADR-0014 Decision §2, ADR-0024 Decision §2 (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

    triage#1 · hotlong · session_01Q4EjjMnyLqJdzuktEmRPXH

    First touch (rules of #35223): area:ai (as leased) · Bug · Impeded · builders, often (a wrong sentence in a shipped skill) · read in the tree → p2, as filed. Issue type set to Bug.

  5. objectstack-fleet commented on Nov 19, 2026

    @objectstack-fleet
    ContributorAuthor

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

    {
      "issue": 35284,
      "status": "done",
      "branch": "claude/issue-35284-router-action-glob",
      "pr": "https://github.com/objectstack-ai/objectstack/pull/35300",
      "head": "402e7b861acad233cc21f629a129a6410ad0e1b7",
      "session": "session_01Utp6CazXu8zyYD5PC6J2u7",
      "premise_still_valid": true,
      "summary": "The objectstack-ui router's Actions row In column now reads `src/actions/*.action.ts`, `*.actions.ts`. The first is the suffix the registry declares (metadata-plugin.zod.ts:969) and `os generate action` writes (generate.ts:473, :1993-1996; metadata-file-name.ts:115-118). The second also loads, because actions load through the barrel objectstack.config.ts imports into defineStack (app-todo's task.actions.ts loads that way). The glob loader is not reached in this tree (metadata-file-name.ts:42-77). Paid by one same-file restatement cut: Trap 3's trailing 'before writing any widget, dataset or chart' became 'first' (-41 bytes against +15). The file shrinks, so there is no raise, and the ratchet row follows it down 2279 -> 2272 at the measurement. Draft PR only; skills/** is Tier H, so the seat reviews and lands it.",
      "tests": "Text-only, so no ablation. Token ratchet at head 402e7b861: 'skills/objectstack-ui/SKILL.md is 2272 tokens (ceiling 2272; headroom 0)', exit 0; --self-test exit 0. File 169 -> 168 lines, 9133 -> 9107 bytes (9113 -> 9087 priced). Sum of all 13 SKILL.md: 4835 -> 4834 lines. Bundle total: 270968 -> 270961 tokens.",
      "gates": "Local: dispatch-gates --commands --repo objectstack-ai/objectstack at 402e7b861 derived 67 families. --ran with exit codes: 67 derived, 63 run (exit 0), 4 NOT MEASURED (exit 3, prerequisite full workspace build: check:dts-closure, check:dual-build-cjs-loads, check:lean-entry-closure, check:sourcemap-no-sources-content; narrowing declared, no package source in the diff, CI runs them). Exit 0 includes check:skill-docs, check:skill-served-sections, check:skill-identifier-liveness, check:skill-links, check:skill-compatibility, check:skill-frame-sync, check:nul-bytes and check:pm-dispatch-gates (fast tier 2249 cases). check:doc-formula-expressions gave exit 0 after building formula and lint; its first run was exit 3 (prerequisite). overlap-check VERDICT clean exit 0 (origin/main c809deb67b; #35294 and #35129 merge cleanly). CI check-runs on head at report time: 17 in_progress, 5 skipped, none concluded red.",
      "line_budget": "skills/objectstack-ui/SKILL.md 169 -> 168 lines, 2279 -> 2272 tokens (row lowered, headroom 0). No raise taken.",
      "ratchet_rows": "skills/objectstack-ui/SKILL.md: before 2279, after 2272",
      "readings": "A1 holds at 01889892: skills/objectstack-ui/SKILL.md:85 In column `src/actions/*.actions.ts`; frontmatter :9 `*.action.ts`. A2 holds: packages/spec/src/kernel/metadata-plugin.zod.ts:969 filePatterns ['**/*.action.ts','**/*.action.yml']; examples/app-showcase/src/ui/actions/predicate-matrix.action.ts. Also: examples/app-todo/src/actions/task.actions.ts loads via its barrel (index.ts re-exports ./task.actions; objectstack.config.ts:12,69).",
      "files_changed": [
        "skills/objectstack-ui/SKILL.md",
        "scripts/check-skills-token-ratchet.mjs",
        ".changeset/35284-ui-router-action-suffix.md"
      ],
      "deviations": "One: the PR body ends with the footer the dispatch prompt spelled (Generated-with line plus session URL), not the os-dev session-URL footer form. Commit trailers are the model-free pair plus Claude-Session.",
      "dogfood_battery": "n/a — no ! in the PR title and no (narrowing) arm",
      "mcp_calls": "0",
      "api_writes": "3 — relay pr_create (POST pulls; POST issues/35300/assignees); POST issues/35284/comments via post-stamped (this report). Plus one git push.",
      "open_questions": [],
      "security_findings": "none",
      "out_of_scope_findings": [
        "carrier: none · noted, not filed — hand-written docs still teach *.actions.ts (content/docs/ui/actions.mdx:39, getting-started/examples.mdx:88,110,512, getting-started/build-with-claude-code.mdx:160). The suffix is accepted via the barrel, so this is not a defect; recorded in the PR's Acceptance notes."
      ]
    }
  6. objectstack-fleet commented on Nov 19, 2026

    @objectstack-fleet
    ContributorAuthor

    repo:objectstack#5 · os-bill · session_01Utp6CbUb7TcZK1XUAddUmQ

    ACCEPT → PR #35300 comment 6999030085 (head 402e7b861acad233cc21f629a129a6410ad0e1b7, L2 PASS 6999015677). Tier H: awaiting a maintainer merge or approval (reviewers os-zhuang, hotlong). 2026-11-19T03:46Z

  7. objectstack-fleet commented on Nov 19, 2026

    @objectstack-fleet
    ContributorAuthor

    repo:objectstack#5 · os-bill · session_01Utp6CbUb7TcZK1XUAddUmQ

    Close-out 2026-11-19T04:56Z: PR #35300 MERGED as 084f606c71; Fixes closed this card. Delivered: the ui skill router suffix fix as reviewed (L2 PASS 6999015677, seat record 6999030085). pm:dispatched off.

  8. 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:aidocumentationdomain:skillsfindingpriority:p2

Type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions