Skip to content

skills: teach the six publish-time traps that #34776 turns into checks #35245

Description

@objectstack-fleet

repo:objectstack#1 · os-warren · session_01JQwxbXGvw43spR79ztEvWt

What

PR #35244 (cards #34776 and #35146) adds six authoring rules. They run at the runtime publish gate and in the CLI, and their names are:

  • flow-node-type-no-executor
  • flow-approval-decision-unrouted
  • flow-http-timeout-missing (warning)
  • field-boolean-required
  • state-machine-no-initial-states
  • action-no-object-binding

#34776's Scope says that when a rule lands, the matching trap leaves the skills' prose, or is rewritten to point at the check. The rule becomes the check first and the prose second (ruling E1 = A, #34659 comment 6940528935).

Scope

Blocked until #35244 merges.

Origin

The Skills-docs: follow-up owed line of PR #35244. The claim amendment is #34776 comment 6987471285.

Re-check: git grep -n "initialStates\|timeoutMs\|NO_EXECUTOR\|approve.*reject" origin/main -- skills/

Activity

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

    @objectstack-fleet
    ContributorAuthor

    triage#1 · hotlong · session_01Q4EjjMnyLqJdzuktEmRPXH

    First touch: p2 · domain:skills · pm:queue. Not a queue jump. It is a skills follow-up of #34776 (PR #35244): the six publish-time traps leave the skills prose once their checks land. It belongs on epic #34659's build base (#35160) beside #34776; the epic seat may hang it there.

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

    @objectstack-fleet
    ContributorAuthor

    repo:objectstack#1 · os-warren · session_01JQwxbXGvw43spR79ztEvWt

    Scope note · 2026-11-18T21:54Z · PR #35244 now ships five rules, not six

    field-boolean-required was removed from PR #35244 after its premise was disproved (#34776 comment 6989446674). The title's "six" now reads five: four refusals and the flow-http-timeout-missing warning. Do not teach a boolean-required trap. If the skills already warn against marking a boolean required, correct that text: required on a boolean refuses null, and an unchecked box counts as present.

  5. objectstack-fleet commented on Nov 19, 2026

    @objectstack-fleet
    ContributorAuthor

    repo:objectstack#1 · os-warren · session_01JQwxbXGvw43spR79ztEvWt

    Scope addition · 2026-11-19T02:46Z

    From the maintainer's ruling recorded on #34776 (decision card answered 2026-11-19 02:45Z, option 「本 PR 去掉这条检查」): no publish check for a boolean field marked required; the skills text teaches the meaning instead.

    • Add one line where the skills describe field required: on a boolean it refuses only null (an unchecked box is a value), so it does not mean "must be checked".
    • Say how to require a checked box (a consent box): a validation rule on the object, with a short example.

    Re-check: git grep -n -i "required" origin/main -- skills | grep -i -E "boolean|checkbox"

  6. objectstack-fleet commented on Nov 19, 2026

    @objectstack-fleet
    ContributorAuthor

    triage#1 · hotlong · session_01Q4EjjMnyLqJdzuktEmRPXH

    Triage: area backfill under the rules of #35223 (daily reconciliation) — area:build · Task. The grade set at first touch on 2026-11-18 is unchanged: the one re-grade pass is #35205's.

  7. objectstack-fleet commented on Nov 19, 2026

    @objectstack-fleet
    ContributorAuthor

    repo:objectstack#1 · os-sales · session_01L6bhgUZrkMKgGrXXe8zPGq

    Scope addition · 2026-11-19T18:42Z · from PR #35629 (#35251 + #35252, Skills-docs: follow-up #35245)

    PR #35629 narrows state-machine-no-initial-states to machines that run on insert (events absent or null takes the schema default ['insert', 'update']; an explicit list must contain insert). Where this card rewrites that trap's skills text, say in the same line that an update-only machine (events: ['update']) needs no initialStates: the engine reads them only on insert. Files the #35251 dev named: skills/objectstack-data/SKILL.md, skills/objectstack-automation/references/state-machines-and-approvals.md. Teach it only after PR #35629 merges; until then main still refuses an update-only machine.

  8. objectstack-fleet commented on Nov 19, 2026

    @objectstack-fleet
    ContributorAuthor

    repo:objectstack#1 · os-sales · session_01L6bhgUZrkMKgGrXXe8zPGq

    Claim: PM loop round 1 — skills fold (chain head #35245; with #35569 and #35460, one PR, Sales 17:00Z fold rule)
    Session: session_01L6bhgUZrkMKgGrXXe8zPGq
    Account: os-sales
    Branch: claude/issue-35245-skills-publish-traps
    Worktree: objectstack-issue-35245
    Domain: domain:skills
    Seat: repo:objectstack#1
    Area: b1-C
    File surface: skills/objectstack-data/**, skills/objectstack-automation/** (the five publish-time traps of PR #35244, the update-only state-machine line of scope note 7018552906, the boolean required meaning of scope note 6998116920), skills/objectstack-i18n/SKILL.md and skills/objectstack-i18n/evals/bundles-locales-coverage.json (#35569), skills/objectstack-ai/SKILL.md and any eval/rule under skills/objectstack-ai/** that quotes the tool-source list (#35460), any served *.generated.ts they regenerate
    Container & model: S, mode:subagent, model: claude-fable-5-2 — dispatch-gates --tier: MANDATORY, clause ① (skills/**, no one-line exit), effort: high; governed register: skills/** lands Tier H (an authorized APPROVED review, then the seat lands it)
    Clause-②: no
    Metadata-protocol: none
    Responsibility: objectstack — the published skills still teach the publish-time traps PR #35244 turned into checks, and state-machine initialStates as always owed | rule-first-prose-second (#34659 E1 = A) and the merged narrowing PR #35629 | app authors (mostly AI) installing the skills
    Thread-read: 7018552906
    Premise: holds — on origin/main 5dd856f #35244 merged (f4dbcc2) and #35629 merged (5dd856f); skills/objectstack-data/SKILL.md:333 still says a state_machine rule declares initialStates "whenever the status has a…", with no update-only exception; no skill names any of the five rule ids
    Serial constraints cleared: none — no open PR or live claim names these skill files at claim time; overlap-check runs before push
    Pre-claim lane: skills/** → b1-C (published skills text)
    Pre-claim deps: #35244 merged f4dbcc2; #35629 merged 5dd856f
    Prior rulings read: skills,teach,publish-time,traps,turns,checks → 30 hits; ADR-0063 Decision §2, ADR-0144 D8, ADR-0157 D9, ADR-0003 Decision §3, ADR-0027 Decision §2, ADR-0032 Decision §1, ADR-0032 Decision §4; thread: none; repo: objectstack-ai/objectstack

    Fold answer: fold — #35569 and #35460 are the same surface (published skills text) and mechanism (prose following a merged change); the PR says Fixes #35245 and Part of the other two (one closing card per PR), and those two are shut by hand after merge.

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

    @objectstack-fleet
    ContributorAuthor

    repo:objectstack#1 · os-sales · session_01L6bhgUZrkMKgGrXXe8zPGq
    os-dev-report

    {
      "issue": 35245,
      "status": "done",
      "branch": "claude/issue-35245-skills-publish-traps",
      "pr": "https://github.com/objectstack-ai/objectstack/pull/35673",
      "session": "session_01L6bhgUZrkMKgGrXXe8zPGq",
      "premise_still_valid": true,
      "head_sha": "d5fca85e37e1cd2890d7f873f572ee6d0e22e184",
      "base": "14e7c24a",
      "summary": "Draft PR 35673 folds three skills-text cards (Fixes 35245; Part of 35569 and 35460), text only, no token ceiling moved. Data and automation skills now name four of the five publish-time findings and their fixes (state-machine-no-initial-states with the update-only exception of PR 35629, flow-approval-decision-unrouted, flow-http-timeout-missing as a warning, flow-node-type-no-executor) and teach that required on a boolean refuses only null, with a validation-rule example for a box that must be checked. The i18n skill and its eval 11 drop the fallbackLocale refusal-label workaround; the ai skill names MCP_DOOR_TOOL_NAMES as tool source 4. action-no-object-binding got no text: the only action-placement prose is in skills/objectstack-ui, outside the claimed surface (open question 1). Card assignee not written; PR assignee os-sales rode pr_create.",
      "card_items": {
        "35460": "skills/objectstack-ai/SKILL.md resolution ladder source 4; no eval or reference under skills/objectstack-ai quotes the list",
        "35569": "skills/objectstack-i18n/SKILL.md lines 50-52; evals/bundles-locales-coverage.json eval 11 expected_output and must_contain. Whole-skill search: no other fallbackLocale workaround (remaining hits are the config example and the table row)",
        "35245 state-machine-no-initial-states + update-only (7018552906)": "skills/objectstack-data/SKILL.md (Validation Patterns paragraph); skills/objectstack-data/rules/validation.md (State Machine Validation intro); skills/objectstack-data/evals/objects-fields-relationships.json eval 11; skills/objectstack-automation/references/state-machines-and-approvals.md (initialStates note, the false \"Omit to keep the legacy no-check-on-insert behavior\" removed)",
        "35245 flow-approval-decision-unrouted": "state-machines-and-approvals.md, Branching bullet \"On approve / on reject\" (no prior warning existed; one line added and paid for)",
        "35245 flow-http-timeout-missing (warning)": "skills/objectstack-automation/SKILL.md, http row",
        "35245 flow-node-type-no-executor": "skills/objectstack-automation/SKILL.md, Flow Node Types lead-in; the no-query_record hint kept because the CLI does not judge this rule",
        "35245 action-no-object-binding": "NOT LANDED — no text in the claimed surface teaches it; see open_questions",
        "35245 boolean required (6992740434, 6998116920)": "skills/objectstack-data/SKILL.md yes/no flag bullet (never-required advice reversed, script-rule example inline); eval 10 expected_output rewritten and its two required:true must_not_contain entries removed"
      },
      "net_lines_per_file": {
        ".changeset/35245-skills-publish-time-findings.md": "+18/-0 (new)",
        "skills/objectstack-ai/SKILL.md": "+5/-3, 462→464 lines, 6693→6737 tokens of 6801",
        "skills/objectstack-automation/SKILL.md": "+9/-9, 478→478, 7045→7045 of 7045",
        "skills/objectstack-automation/references/state-machines-and-approvals.md": "+12/-10, 388→390, 5933→5934 of 5936",
        "skills/objectstack-data/SKILL.md": "+12/-12, 476→476, 6709→6710 of 6710",
        "skills/objectstack-data/rules/validation.md": "+8/-10, 331→329, 2761→2758 of 2761",
        "skills/objectstack-data/evals/objects-fields-relationships.json": "+2/-3, 387→386 (eval fixture, not ratcheted)",
        "skills/objectstack-i18n/SKILL.md": "+2/-3, 523→522, 6332→6323 of 6333",
        "skills/objectstack-i18n/evals/bundles-locales-coverage.json": "+2/-2, 155→155 (eval fixture)",
        "bundle": "all SKILL.md 4853→4854 lines; ratcheted tokens 195676→195710; whole bundle 274972→275033",
        "removed_to_pay": "validation.md: states in_review/published/cancelled and the default severity of the JSON example; state-machines-and-approvals.md: asides \"increasingly AI-generated\", \"one diagram a reviewer (or AI) can read end-to-end\", \"(it just re-enters the node)\"; automation SKILL.md: words in the rows end, wait, create_record, update_record, get_record, http, screen (both tables); data SKILL.md: example states pending and the word genuine, wording of the default sentence"
      },
      "tests": "Text-only diff, no package source touched, so no package test or typecheck is owed and no ablation (docs are not ablated). At d5fca85e: node scripts/check-skills-token-ratchet.mjs exit 0 (\"59 authored bundle file(s) within their ceilings\"); pnpm --filter @objectstack/spec run check:skill-served-sections exit 0 (\"24 served section(s) ... 10 JSON fence(s) parse and pass their spec validators\"); check:skill-docs exit 0 (\"Skill docs in sync\"); check:skill-refs exit 0 (\"9 generated files in sync\"); check:doc-formula-expressions exit 0 after building the @objectstack/lint closure under the verify lock (VERDICT command-exit 0). check:skill-examples: NOT MEASURED, reason: exit 3 PREREQUISITE NOT MET (needs client-react and other dists); not derived for this diff and no os:check block is edited.",
      "gates": "node scripts/pm/dispatch-gates.mjs --commands at d5fca85e: 51 derived; 49 exit 0 (exit captured per command before any pipe); 2 NOT MEASURED: pnpm check:dual-build-cjs-loads exit 3 and pnpm check:lean-entry-closure exit 3, both PREREQUISITE NOT MET (whole-workspace dist), declared to CI. --ran reconciliation: exit 1, \"51 derived, 49 run, 0 NOT-MEASURED, 2 UNRUN\" naming exactly those two. pnpm check:pm-skill-ratchet exit 0. node scripts/pm/overlap-check.mjs: \"VERDICT clean exit 0\" against origin/main 14e7c24a and PR heads 35649 and 35129 (both share files, both merge cleanly). CI check-runs on d5fca85e at report time: in_progress (Lint, Type Check lanes, Check Changeset, Governed Surface Queue Guard, PR-body guards); none concluded.",
      "dogfood_battery": "n/a — no `!` in the PR title and no (narrowing) arm",
      "mcp_calls": "0",
      "api_writes": "2 — relay repository_dispatch carrying pr_create (pull 35673, run 44629608517, read-back identical, 8398 bytes); post-stamped comment on issue 35245 (this report). git push x3 are not REST writes.",
      "deviations": [
        "Commit trailers: the dispatch order asked for a Co-Authored-By line naming a model; AGENTS.md (which wins) requires the model-free pair and the pre-push hook refuses a model identifier, so all three commits carry `Co-authored-by: Claude` plus the Claude-Session line. check:commit-card-trailers passed on each push.",
        "Base is origin/main 14e7c24a (main had moved past 5dd856f4 at fetch).",
        "Two WIP commits precede the final commit on the branch (push-before-long-step rule); not squashed."
      ],
      "open_questions": [
        {
          "question": "action-no-object-binding has no teaching text inside the claimed surface. The nearest prose is skills/objectstack-ui/rules/actions.md line 8 and skills/objectstack-ui/SKILL.md line 133, which teach action-no-placement and state objectName positively. Add a clause there?",
          "options": [
            "A: widen the claim to skills/objectstack-ui/rules/actions.md and add one clause naming action-no-object-binding and its two fixes (objectName, or locations: [] when headless); that file sits at its token ceiling area, so it is paid in place",
            "B: accept as is — no skill warned about this trap, so nothing is stale and the check alone carries it"
          ],
          "recommendation": "A, as a small follow-up round on this PR: it is the fifth rule of the card and one clause; B leaves Fixes 35245 with one rule unnamed."
        },
        {
          "question": "Eval 10 of objects-fields-relationships.json: I removed the two must_not_contain entries that failed an answer keeping required: true on a boolean, since the ruling says the flag is legitimate. Keep them removed?",
          "options": [
            "A: removed (as pushed)",
            "B: restore them and keep steering authors away from required on a checkbox"
          ],
          "recommendation": "A, because the corrected skill text no longer says never-required and the assertion would fail an answer the platform accepts."
        }
      ],
      "contradictions_measured": [
        "Card 35460 says the door set is 19 tools measured; MCP_DOOR_TOOL_NAMES on main 14e7c24a lists 21. The skill text states no count.",
        "Card 35245 calls all five findings publish-time: flow-node-type-no-executor is judged only by a running server publish door (the CLI has no sealed vocabulary and judges nothing), and the other four are gating at the CLI too. The skill text says \"at a server publish\" for that one.",
        "The dispatch order lists skills/objectstack-data/evals as saying initialStates is owed: eval 11 there is an insert-running machine, so its answer stays correct; it only gained the rule name and the exception.",
        "PR 35129 (open) shares four of these SKILL.md files; three of them now sit at 0 headroom, so whichever lands second may need to pay tokens again."
      ],
      "security_findings": "none",
      "out_of_scope_findings": [
        "carrier: none · noted, not filed — skills/objectstack-automation/SKILL.md heading \"Valid-but-silently-wrong (passes build, fails at runtime)\" is followed by \"Most are caught by objectstack build\"; wording only"
      ]
    }
  11. objectstack-fleet commented on Nov 19, 2026

    @objectstack-fleet
    ContributorAuthor

    repo:objectstack#1 · os-sales · session_01L6bhgUZrkMKgGrXXe8zPGq

    Claim amendment · 2026-11-19T22:35Z · claim 7023559782 · PR #35673 head d5fca85
    File surface adds: skills/objectstack-ui/rules/actions.md. The fifth rule, action-no-object-binding, has no teaching text inside the first surface: the action-placement paragraph there (line 8, action-no-placement) is where it belongs. One clause will name the finding and its two fixes, paid in place under the token ceiling (headroom 0). Answering the os-dev-report 7024103427 open questions: Q1 = A (that clause); Q2 = A (eval 10's two required: true must_not_contain entries stay removed, per the ruling in 6998116920 that required on a boolean is legitimate).


    Generated by Claude Code

  12. objectstack-fleet commented on Nov 19, 2026

    @objectstack-fleet
    ContributorAuthor

    repo:objectstack#1 · os-sales · session_01L6bhgUZrkMKgGrXXe8zPGq
    os-dev-report

    {
      "issue": 35245,
      "status": "done",
      "branch": "claude/issue-35245-skills-publish-traps",
      "pr": "https://github.com/objectstack-ai/objectstack/pull/35673",
      "session": "session_01L6bhgUZrkMKgGrXXe8zPGq",
      "premise_still_valid": true,
      "summary": "Follow-up round on claim amendment 7024130793 (Q1 = A, Q2 = A). New head a7b62986. skills/objectstack-ui/rules/actions.md, the placement paragraph, now names the fifth rule: `locations` without `objectName` is refused at validate and at publish (`action-no-object-binding`, severity error, gating on the CLI commands and on the runtime door for an action write); fixes as the rule's hint states them: set `objectName`, or `locations: []` if headless. Eval 10 unchanged from the first round. The changeset gained one paragraph for the ui skill. The automation heading wording was left: it is a served section heading (skill-served-sections.json), so renaming it is not a zero-cost fix.",
      "tests": "Text only; no package test owed. actions.md 3333 → 3333 tokens of ceiling 3333 (+11/-11 lines, 311 → 311). Paid in the same file: the parentheticals `(single record)`, `(the \"More\" / ⋯ button)` shortened to `(⋯)`, `(e.g. a Security tab)` in the locations table, and the because-clauses of the same paragraph.",
      "gates": "At a7b62986: dispatch-gates --commands derives the same 51 commands as the first round (no new family). Re-run, each exit 0: check-skills-token-ratchet, check:skill-docs, check:skill-refs, check:skill-served-sections, check:skill-links, check:skill-identifier-liveness, check:doc-authoring, check:nul-bytes, check-empty-changeset. overlap-check: VERDICT clean exit 0. The other derived families were not re-run on this head (their inputs did not move); CI runs them. CI on the new head: in_progress.",
      "dogfood_battery": "n/a — no `!` in the PR title and no (narrowing) arm",
      "mcp_calls": "0",
      "api_writes": "1 this round — this comment. One git push.",
      "open_questions": [
        { "question": "The PR body still lacks the ui-skill item. The dev agent file says a subagent writes the PR body only at pr_create and the seat writes later edits; the round order asked the dev to patch it. Who writes it?", "options": ["A: the seat patches the body with the text in the dev's final report", "B: the seat tells the dev to patch despite the agent file"], "recommendation": "A, because the agent file wins on conflict and the text is ready." }
      ],
      "security_findings": "none",
      "out_of_scope_findings": []
    }
  13. objectstack-fleet commented on Nov 19, 2026

    @objectstack-fleet
    ContributorAuthor

    repo:objectstack#1 · os-sales · session_01L6bhgUZrkMKgGrXXe8zPGq
    os-dev-report

    {
      "issue": 35245,
      "status": "done",
      "branch": "claude/issue-35245-skills-publish-traps",
      "pr": "https://github.com/objectstack-ai/objectstack/pull/35673",
      "session": "session_01L6bhgUZrkMKgGrXXe8zPGq",
      "premise_still_valid": true,
      "summary": "Patch round for the red token ratchet. Merged origin/main 986a0f20 into the branch (merge commit 73cf6a94, clean, no rebase, no force); on the merged tree skills/objectstack-ui/rules/actions.md read 3712 against ceiling 3711. Paid 4 tokens in this PR's own paragraph by deleting words: `record` in `that object's record surfaces` and `the new` in `returns or assigns the new values`. New head f97d0d16. Correction to the previous report: actions.md was 258 lines before and after that round, not 311.",
      "tests": "Text only; no package test owed.",
      "gates": "At f97d0d16 on the merged tree: node scripts/check-skills-token-ratchet.mjs exit 0. Tokens / ceiling: ui rules/actions.md 3708/3711; ai SKILL.md 6737/6801; automation SKILL.md 7045/7045; state-machines-and-approvals.md 5934/5936; data SKILL.md 6710/6710; data rules/validation.md 2758/2761; i18n SKILL.md 6323/6333. Exit 0 each: check:skill-docs, check:skill-refs, check:skill-served-sections, check:skill-links, check:nul-bytes. overlap-check: VERDICT clean exit 0 (origin/main and the two sharing pull heads merge cleanly). Other families: CI, in_progress on the new head.",
      "dogfood_battery": "n/a — no `!` in the PR title and no (narrowing) arm",
      "mcp_calls": "0",
      "api_writes": "1 this round — this comment. One git push.",
      "open_questions": [],
      "security_findings": "none",
      "out_of_scope_findings": []
    }
  14. objectstack-fleet commented on Nov 20, 2026

    @objectstack-fleet
    ContributorAuthor

    repo:objectstack#1 · os-sales · session_01L6bhgUZrkMKgGrXXe8zPGq

    Delivered · 2026-11-20T23:05Z · PR #35673 已合并(cf2e321b),由该 PR 的 Fixes 自动关闭。

    • objectstack-data:state-machine-no-initial-states 及仅更新状态机的例外(SKILL.md、rules/validation.md、eval 11);布尔 required 只拒 null,必须勾选改用 validations[] 的 script 规则(eval 10 随之放宽,依据裁决 6998116920)。
    • objectstack-automation:flow-node-type-no-executor(在运行中服务器发布时判定)、flow-http-timeout-missing 警告、flow-approval-decision-unrouted(出边标签必须正好是 approve / reject)。
    • objectstack-ui:action-no-object-binding(声明了 locations 却没有 objectName 的独立动作会被拒;修法是 objectName,或无界面动作用 locations: []),并按 L2 S1 修了同文件的 PrintA3Action 示例。
    • 审查:L1-a ACCEPT 7024844927 / delta 7025381030;L2 7024839798 / delta 7025422414(PASS,S1 已关闭,N1–N3 为接受的偏差);Tier H 由 os-zhuang 批准并入队。
    • 跟进卡:skills(ui actions):「新标签页打开」示例的 target 用了 spec 不支持的 ${record.id} 占位,且挂在没有当前记录的 list_toolbar 上 #35696(同一示例 target 的 ${record.id} 占位与 spec 不符)。

    本卡已无剩余事项,移除 pm:dispatched。


    Generated by Claude Code

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

Metadata

Metadata

Assignees

Labels

area:builddomain:skillsfindingpriority:p2security

Type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions