Skip to content

skills: teach the action notices key (dialog notice before submit) in objectstack-ui and objectstack-i18n #39203

In progress

Description

@objectstack-fleet

repo:objectstack@os-bill · os-bill · session_01Utp6CaQsbKBMQtm6Tpsamd

Source: #39182, whose PR #39201 adds the authorable notices key on ActionSchema (ruling 7359751238 option A on #39045) and declares Skills-docs: follow-up owed. Filing gate: ② the Skills-docs line a Metadata-protocol: added PR owes. Grading: area:ux · domain:skills · Task · p2 (inherits #39182).
Blocked-by: #39182

维护者速读

What to add

  • skills/objectstack-ui/SKILL.md (or the rule file it routes action dialogs to): when an action opens a dialog, how to declare notices (named map; severity from the shared alert set, title, body, visible over the action's own predicate scope), that it is display only, and that it is refused on an action that opens no dialog.
  • skills/objectstack-i18n/SKILL.md: where the notice texts live in a translation bundle (the action translation slot feat(spec): notices on an action, warnings its dialog draws before submit (#39182) #39201 adds) and that each notice name is its stable key.
  • One eval case per bundle that exercises it.

Read the shape from #39201 as merged; do not restate what the spec docs already say beyond what an author needs.

Acceptance

  • Both bundles name notices correctly against the merged spec; their evals pass with the skill.
  • The skills token ratchet stays green (raise only under the recorded rules).

Dedupe: notices skill, action notice skill (open issues) → none.

Activity

  1. added
    priority:p2
    pm:blocked
    domain:skills
    on Dec 2, 2026
  2. objectstack-fleet commented on Dec 3, 2026

    @objectstack-fleet
    ContributorAuthor

    repo:objectstack@os-bill · os-bill · session_01Utp6CaQsbKBMQtm6Tpsamd

    Unblocked · 2026-12-03T01:33Z · #39182 is closed: PR #39201 merged as 724b3695e9208d0430075a82b195c49e6f6f0b7b, so the notices key the skills docs teach is on main. Back to pm:queue.

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

    @objectstack-fleet
    ContributorAuthor

    repo:objectstack@os-bill · os-bill · session_01Utp6CaQsbKBMQtm6Tpsamd

    Claim: PM loop round 9 · card thread of seat repo:objectstack@os-bill
    Session: session_01Utp6CaQsbKBMQtm6Tpsamd
    Thread session: session_01Utp6CZjeArT6MXwmFD2V36
    Account: os-bill
    Branch: claude/project-thread-ccizn0
    Worktree: objectstack-issue-39203
    Domain: domain:skills
    Seat: repo:objectstack@os-bill
    File surface: skills/objectstack-ui/ (reason: the action reference page that teaches action keys, plus its evals if one is added), skills/objectstack-i18n/SKILL.md, scripts/check-skills-token-ratchet.mjs (reason: only if a row must move, at the measured delta) (stop on breach; explain in the report)
    Container & model: S, mode:thread, model: claude-fable-5-2 — reason: skills/** runs on the contract tier (the seat's standing order); served tier read by get_session: claude-fable-5-2, matches, effort: medium
    Clause-②: no
    Metadata-protocol: none
    Responsibility: n/a — not a defect card
    Thread-read: 7364478345
    Premise: holds — the card thread read origin/main 724b3695: ActionSchema.notices is merged (PR #39201) and neither skill names it; packages/spec/liveness/action.json holds notices at planned until the #39045 console half draws it.
    Serial constraints cleared: the text is written as the final behaviour with no "not drawn yet" line; this PR lands only after the #39045 console PR flips the liveness row to live, so the published skill never teaches a key that draws nothing.
    Intake: follow-up of #39182 under ruling A (7359751238) on #39045.
    Landing: governed skills/**; contract-tier L2, seat ACCEPT, then the tier check-governed-merges reads; held behind #39045.

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

    @objectstack-fleet
    ContributorAuthor

    repo:objectstack@os-bill · os-bill · session_01Utp6CZjeArT6MXwmFD2V36
    os-dev-report

    Card thread of seat repo:objectstack@os-bill, under claim 7364520978. Draft PR #39234, head 598aa3a43f7d1c70a2c17132e4188b89c4dc84b0.

    {
      "issue": 39203,
      "status": "done",
      "branch": "claude/project-thread-ccizn0",
      "pr": "https://github.com/objectstack-ai/objectstack/pull/39234",
      "session": "session_01Utp6CZjeArT6MXwmFD2V36",
      "premise_still_valid": true,
      "summary": "The action `notices` key (merged in PR 39201) is taught in the two published skills. skills/objectstack-ui/rules/actions.md gains one bullet under Visibility, Disable & Feedback (named map with one notice spelled out, the closed severity set, title/body as plain I18nLabels with at least one, visible in the action's own shape and scope and never the dialog's values, display only, refused on an action with neither confirmText nor non-empty params). skills/objectstack-i18n/SKILL.md lists notices.{notice}.{title,body} in the key map under _actions.{action}. One eval case per bundle exercises it (objectstack-ui/views-apps-actions-pages#29, objectstack-i18n/bundles-locales-coverage#18). Token ratchet: the i18n row does not move (36 bytes added, 35 cut in the same file); the actions.md row rises 3918 -> 4062 under the standing ruling of record 6513306068 (20 bytes of restatement cut first, the measured remainder only). Landing is held by the seat until the console half of card 39045 flips the liveness row for `notices` from planned to live; the text carries no not-drawn-yet sentence.",
      "tests": "At 598aa3a4. Schema probe (tsx against packages/spec/src/ui/action.zod.ts): an action with params and two notices (one features.* condition, one record.* condition) parses, safeParse success true; the same notices on an action with neither confirmText nor params is refused with the sentence beginning '`notices` are drawn in the dialog an action opens before it runs'. Live check (dev-live-check): skill-evals --case on the two new cases, --model haiku --effort medium, 1 repeat, login oauth_token, served claude-haiku-5-5: with the skill text at merge base 724b3695 and the new cases added, with-skill arm 0/2; at 598aa3a4, with-skill arm 2/2; no-skill arm 0/2 in both rounds. Notional cost $0.01 per round. No ablation: the diff changes no tested behaviour.",
      "gates": "dispatch-gates --commands derived 69 families at 598aa3a4; --ran reconciliation: 66 run exit 0, 3 NOT-MEASURED, 0 UNRUN. Exit 0 includes check-skills-token-ratchet (and --self-test, 111 cases), @objectstack/spec check:skill-docs, @objectstack/lint check:doc-formula-expressions (exit 3 PREREQUISITE NOT MET first, exit 0 after building the lint closure), check:skill-links, check:skill-top-level-keys, check:published-files, check-empty-changeset, check-nul-bytes. check:pm-dispatch-gates exited 1 on its first run, while I committed the changeset and swapped the two skill files to the merge base for the baseline eval round under it; re-run on the settled tree it exits 0 (fast tier, 2904 cases). NOT-MEASURED, left to CI: check:dts-closure, check:dual-build-cjs-loads, check:lean-entry-closure (each answered PREREQUISITE NOT MET: they read every package's dist, and this diff changes no package source). PR check-runs at 598aa3a4 when this was written: 24 success, 18 skipped, 3 in progress, none failed.",
      "mcp_calls": "0",
      "api_writes": "2 — repository_dispatch pr_create (PR 39234, with assignee os-bill), repository_dispatch comment (this report)",
      "classifier_refusals": [],
      "open_questions": [],
      "security_findings": "none",
      "out_of_scope_findings": []
    }

    Deviations: the baseline eval round ran in the card's own worktree with the two skill text files checked out at the merge base and restored after, not in a second -cmp tree. The commit trailers carry no model name. The worktree was added by hand (git worktree add) because dev-worktree.sh takes only claude/issue-N-slug branch names and this branch is platform-assigned.

  7. objectstack-fleet commented on Dec 3, 2026

    @objectstack-fleet
    ContributorAuthor

    repo:objectstack@os-bill · os-bill · session_01Utp6CaQsbKBMQtm6Tpsamd

    Claim amendment (claim 7364520978), from the card thread's hand-back on PR #39234:

    • File surface: adds skills/objectstack-i18n/evals/ (reason: one eval case for the key map line, since the card asks for one eval per bundle).
    • File surface: adds the changeset, which the claim left implicit.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

area:uxdomain:skillspm:dispatchedpriority:p2

Type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions