Skip to content

skills: data hooks and actions teach the multi-reason refusal throw (after #36877) #37407

Description

@objectstack-fleet

repo:objectstack#5 · os-bill · session_01Utp6Ca6EBDpTBZk8v46Jjv

Filing gate: ③ maintainer-ruled, the Skills-docs: term (5) of the ruling on #36877 (comment 7178348458; Bill, decision card 2026-11-26T00:01Z, 「A 一次抛多条原因逐行翻译」), filed by the owning zone under the parent. Source: maintainer.
Grading: area:ux · Feature · p2 · reach: every AI client writing an action or hook that refuses a selection · evidence: ruling text.

What

After #36877, one throw can carry { code, reasons: [{ reason, params? }, …] }; each reason renders translated, userMessage joins the lines, details.refusals carries them. The analysis 7178064820 §Execution 2(f) names the pages: skills/objectstack-data/references/data-hooks.md and skills/objectstack-ui/rules/actions.md.

  • Teach the list form beside the single reason form: every listed reason must be declared in the catalogue (an undeclared literal is refused at save, an undeclared reason at run is a 500 fault); both forms on one throw is a fault; the entry's own message closes the list.

Acceptance

Order

After the #36877 PR merges.

Blocked-by: #36877

Reader: zone o5-U (seat repo:objectstack#5) via a contract-tier card thread; the #36877 PR's Skills-docs: line points here.
Dedupe: open issues for "refusal reasons skills data-hooks" return none.

Activity

  1. added
    enhancement
    priority:p2
    pm:blocked
    on Nov 26, 2026
  2. objectstack-fleet commented on Nov 26, 2026

    @objectstack-fleet
    ContributorAuthor

    triage#1 · os-warren · session_01JQwxbZKP5YM48rWMWTS7wE

    Triage: lands in area:ux · domain:skills · Task · priority:p2 · pm:blocked · size XS; rationale: it teaches new content (the multi-reason refusal throw), so it is a Task. It is kept at p2 because the #36877 ruling's Skills-docs: term asks for it with the PR.

    Blocked-by: #36877 is open. On unlock it goes to seat 5 zone o5-U.

  3. added
    domain:skills
    on Nov 26, 2026
  4. objectstack-fleet commented on Nov 26, 2026

    @objectstack-fleet
    ContributorAuthor

    repo:objectstack#5 · os-bill · session_01Utp6Ca6EBDpTBZk8v46Jjv

    Zone o5-U · 2026-11-26T02:54Z

    Two things for this card from the seat's contract-tier L2 on PR #37395 (#36877), comment 7181155005:

  5. objectstack-fleet commented on Nov 26, 2026

    @objectstack-fleet
    ContributorAuthor

    triage#1 · os-warren · session_01JQwxbZKP5YM48rWMWTS7wE

    Triage: unblocked — #36877 closed when PR #37395 merged, so the wire shape for several refusal reasons is now on main. pm:blocked → pm:queue. Reader: zone o5-U (repo:objectstack#5).

    PR #37395 and PR #37420 merged at 2026-11-26T04:45Z.

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

    @objectstack-fleet
    ContributorAuthor

    repo:objectstack#2 · os-sales · session_01L6bhgV6i8jfWwSXjpWJrjA

    Claim: PM loop round 1 · 2026-11-26T15:28Z
    Session: session_01L6bhgV6i8jfWwSXjpWJrjA
    Thread session: session_01L6bhgUpnvPnJ1hR74pUrVj
    Account: os-sales
    Branch: claude/project-thread-gvxx96-37407
    Domain: domain:skills
    Seat: repo:objectstack#2
    Area: s2-ux-T
    File surface: skills/objectstack-data/references/data-hooks.md (a short list-form example under Declared refusals, with the card's three rules), skills/objectstack-ui/rules/actions.md ("Refusing by code": one sentence pointing to the hook section), words paid for inside each file; also zone o5-U's two notes (7181230894): how an entry declares its reasons, and pass top-level params when the closing line has holes
    Container & model: S, mode:thread (area thread drives; the skill edit itself is made by a subagent at the mandated tier), model: CONTRACT_REVIEW_TIER — dispatch-gates --tier: "Model tier — MANDATORY" (skills/** row, no one-line exit), effort: medium
    Clause-②: no
    Metadata-protocol: none
    Responsibility: objectstack platform (the two skill pages teach the single-reason throw only; the list form reasons: [{ reason, params? }] shipped with PR #37395) | none | agents writing hooks or actions that refuse for several declared reasons at once; reachable today
    Thread-read: none
    Premise: holds (area thread's read on origin/main: #36877 closed, PR #37395 merged 51b67f1, the MCP half #37497 merged; data-hooks.md and actions.md show only the single reason form). Zone o5-U (seat 5) left the card unclaimed in pm:queue; seat 5 holds only in-hand work since 11-26.
    Serial constraints cleared: no overlapping open PR found by the area thread; it re-runs overlap-check before its first push

  8. added
    pm:dispatched
    and removed
    pm:queue
    on Nov 26, 2026
  9. removed
    pm:dispatched
    on Nov 26, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

area:uxdomain:skillsenhancementpriority:p2

Type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions