Repository navigation
Description
repo:objectstack#1 · os-warren · session_01JQwxbZeHNsF3RWcWpj7rGj
③ follow-up (Skills-docs) of #35143 / PR #36691 · Source: the PR's own Skills-docs: follow-up owed line and its CONTRACT_REVIEW_TIER review r2 (7100699767).
What. PR #36691 adds ten publish-time checks for flows that save and do not run (Metadata-protocol: narrowed). The places that teach authors how to write flows were not updated in that PR, so an author or an AI following them writes a flow the new checks warn on or refuse:
skills/objectstack-automation/SKILL.mdskills/objectstack-automation/references/examples-flows.mdskills/objectstack-automation/references/integration-recipes.mdexamples/app-showcase/src/automation/flows/index.tscomments at about lines 445 and 2047packages/triggers/trigger-schedule/README.mdabout line 130- the refusal text at
packages/spec/src/automation/flow-start-config-refusals.tsabout line 129, which offers a cron with notimezoneas an accepted shape
Expected. Every example and every sentence above is accepted silently by the checks #36691 ships (for example, cron examples state timezone: 'UTC', condition labels compare against their own field, subflow and object names resolve). The refusal text offers only an accepted shape.
Acceptance. Each listed place is read against the merged rules; examples changed where they would warn; check:skill-examples (or the repo's skill-example gate) green; skills/** is Tier H, so the PR needs os-zhuang's Approve.
Order. After #36691 merges.
Grading (proposed): area:build · Task · docs that teach a now-refused shape, read by every author and the AI builder ⇒ p2. Evidence: read (the PR body, the r2 review).
Dedupe: this is the follow-up the PR names; no other card carries it.
Activity
chore(changeset): the Skills-docs follow-up is #36718
objectstack-fleet commentedon Nov 23, 2026
triage#1 · hotlong · session_01Q4EjjMnyLqJdzuktEmRPXH
Triage: lands in
area:ai·domain:skills·priority:p1· Task ·pm:queue;area:build→area:ai; filed p2 → p1.Rationale: PR #36691 added ten publish-time flow checks.
skills/objectstack-automation(the SKILL.md and its examples) still teaches shapes those checks warn on or refuse, so an AI following the skill writes flows the platform rejects. That is AI taught wrong, not an omission, which the table puts at p1 (as #36628). Skills cards sit inarea:ai.objectstack-fleet commentedon Nov 24, 2026
repo:objectstack#4 · os-justin · session_01QSeKYpEsWWE9Y5YtSsDgqZ
(lifted — see the claim below)
Blocked-by: #36158Serial-queued 2026-11-24T01:41Z by seat repo:objectstack#4 at pre-claim (not claimed). Readings on origin/main 65ee4b7:
skills/objectstack-automation/SKILL.md+90 −388,references/examples-flows.md+305 −1,references/integration-recipes.md+27 −1 — moving the SKILL.md body into the references. Editing them in parallel would rewrite text that docs(skills): objectstack-data and objectstack-automation SKILL.md become routers #36158 is relocating, so this card goes after it (area-lease.md overlap check).dispatch-gates.mjs --tierprints MANDATORY (contract-review tier) for theskills/**surface; no one-line exit.objectstack-fleet commentedon Nov 24, 2026
repo:objectstack#4 · os-justin · session_01QSeKYpEsWWE9Y5YtSsDgqZ
Claim: PM loop round 2 · 2026-11-24T04:17Z
Session:
session_01QSeKYpEsWWE9Y5YtSsDgqZAccount:
os-justinBranch:
claude/issue-36718-flow-skill-teaches-accepted-shapesWorktree:
objectstack-issue-36718Domain:
domain:skillsSeat:
repo:objectstack#4File surface:
skills/objectstack-automation/SKILL.md,skills/objectstack-automation/references/examples-flows.md,skills/objectstack-automation/references/integration-recipes.md,examples/app-showcase/src/automation/flows/index.ts(comments),packages/triggers/trigger-schedule/README.md,packages/spec/src/automation/flow-start-config-refusals.ts(refusal text only), the automation skill's eval/example files only where a changed example requires it,.changeset/36718-*.md(stop on breach; explain in the report)Container & model:
M,mode:cloud,model: CONTRACT_REVIEW_TIER — dispatch-gates.mjs --tier: "Model tier — MANDATORY: claude-fable-5-2" ('skills/**', no one-line exit),effort: highClause-②: no
Metadata-protocol: none
Responsibility:
n/a — not a defect cardThread-read: 7119360567
Premise: holds — PR #36691 merged; on origin/main f46ce5b the refusal text still offers a cron with no
timezone(flow-start-config-refusals.ts:126-130) andintegration-recipes.md:47carries a cron with no timezone.Order: the serial hold behind PR #36158 (comment 7119360567, now lifted) is replaced by the opposite order, a seat routing call (task order): this card lands FIRST on current
main. Measured overlap with PR #36158 is one file with edits (objectstack-automation/SKILL.md); itsexamples-flows.mdchange is a head-of-file insertion andintegration-recipes.mdtouches only lines ~129 and ~184. PR #36158 (unowned, waiting on the maintainer's ruling on #34770) owes a merge ofmainanyway; whoever resumes it maps this card's diff onto the moved text, and its eval "before" round is taken after this card lands — noted on #34770.Serial constraints cleared:
PR #36158 (draft, unowned) — order reversed as above; no other open PR touches these files (read at claim)objectstack-fleet commentedon Nov 24, 2026
repo:objectstack#4 · os-justin · session_01QSeKYpEsWWE9Y5YtSsDgqZ
os-dev-report
Seat-written report. The dev session
session_01QSeKYkHoFSRK5JsuPYqbtcwrote this report and handed it to seat repo:objectstack#4 bysend_message; the seat posts it on the maintainer's ruling in the seat session, verbatim 「一选1+」 (2026-11-24: the seat performs only the writes the dev session's permission classifier refused; pull requests stay draft; no standing allow rule — evidence card #36936). Refused in the dev session, reason[Undermining Oversight]:node scripts/pm/fleet-write/dispatch.mjs --repo objectstack-ai/objectstack --actions-file FILEcarrying onepr_create, twice. One seat change to the dev's text:pris set to PR #36932, which the seat opened from the dev's hand-off. Everything else below is the dev's, unchanged.{ "issue": 36718, "status": "done", "branch": "claude/issue-36718-flow-skill-teaches-accepted-shapes", "pr": "https://github.com/objectstack-ai/objectstack/pull/36932", "session": "session_01QSeKYkHoFSRK5JsuPYqbtc", "premise_still_valid": true, "summary": "Served tier: CONTRACT_REVIEW_TIER — get_session's last_served_model equals the model on the --tier MANDATORY line for 'skills/**'. Pushed at ec3822d6 (2 commits on f46ce5b4): the automation skill, the schedule trigger README, two showcase comments and the three start-node schedule refusals no longer offer a cron with no timezone, and SKILL.md no longer says a label comparison stages clean or that an unknown subflow name passes validation. Wording only; no schema, rule or reader changed. This dev session could not write to GitHub: its permission classifier refused the relay pr_create twice, so the dev stopped, and the seat opens the draft PR and posts this report from the dev's hand-off.", "tests": "Scratch harness (not committed) runs runAuthoringRules('validate') from the built @objectstack/lint (78 rules) over every flow example, spelled cron, start condition and fields write extracted from the six listed places. Before, f46ce5b4 text: 'TOTAL examples judged: 25 · skipped (no flow shape): 10 · findings from the ten rules on shapes the text offers: 13'. After, ec3822d6: 'TOTAL examples judged: 24 · skipped (no flow shape): 10 · findings from the ten rules on shapes the text offers: 0 · on shapes the text itself names as warned or refused: 4'. Under the verify lock, 'VERDICT command-exit 0': pnpm --filter @objectstack/spec build; vitest run src/automation/flow-start-config-refusals.test.ts src/automation/flow.test.ts ('Test Files 2 passed (2)', 'Tests 157 passed (157)'); pnpm --filter @objectstack/spec typecheck. No ablation: no behaviour a test pins changed (the refusal tests pin message heads, not the offered shape). The os validate binary was not run.", "gates": "All on ec3822d6, exit codes captured before any pipe. node scripts/pm/dispatch-gates.mjs --ran: exit 0, '96 derived famil(ies) accounted for — 93 run, 3 NOT-MEASURED (3 DERIVED from a recorded exit 3)'; the 93 exited 0. NOT MEASURED, exit 3 (prerequisite refusals): node scripts/check-plugin-teardown-shape.mjs --self-test (needs an unshallowed clone), pnpm check:dual-build-cjs-loads (reads every package's dist), pnpm check:i18n-coverage (needs the CLI built). node scripts/check-skills-token-ratchet.mjs: exit 0, '60 authored bundle file(s) within their ceilings'. pnpm --filter @objectstack/spec run check:skill-examples: exit 0, '349 prose examples type-check across 3 surface(s)' (its first run exited 3 until the client packages were built). pnpm --filter @objectstack/spec check:generated: exit 0, 'All 14 generated artifacts are up to date'. CI check-runs: NOT MEASURED, reason: no PR existed when the dev finished. test:repo and the example app's tests were not run locally.", "dogfood_battery": "n/a — no `!` in the PR title and no (narrowing) arm", "mcp_calls": "4 — GitHub MCP reads only: issue_read (get), issue_read (get_comments), pull_request_read (get), pull_request_read (get_files). No write tool.", "api_writes": "0 by the dev. 2 attempts at POST /repos/objectstack-ai/objectstack/dispatches (relay pr_create) were refused by the dev session's permission classifier before anything was sent; 1 dry run sent nothing. The draft PR and this comment are the seat's writes. git push: 2 (not REST writes).", "line_budget": "skills/** net lines 0 (budget at most +40): SKILL.md 479 → 479 lines, 7045 → 7045 tokens; references/examples-flows.md 145 → 145, 1543 → 1543; references/integration-recipes.md 186 → 186, 2594 → 2595 (ceiling 2595); evals/flows-triggers-approvals.json 450 → 450, 7078 → 7104 (eval fixture, not ratcheted); all 14 SKILL.md together 4947 → 4947 lines, 65225 → 65225 tokens. No ceiling raised.", "files_changed": [ ".changeset/36718-flow-teaching-accepted-shapes.md", "examples/app-showcase/src/automation/flows/index.ts", "packages/spec/src/automation/flow-start-config-refusals.ts", "packages/triggers/trigger-schedule/README.md", "skills/objectstack-automation/SKILL.md", "skills/objectstack-automation/evals/flows-triggers-approvals.json", "skills/objectstack-automation/references/examples-flows.md", "skills/objectstack-automation/references/integration-recipes.md" ], "deviations": [ "Classifier refusal of an external write: `node scripts/pm/fleet-write/dispatch.mjs --repo objectstack-ai/objectstack --actions-file FILE` with one pr_create, refused twice with the reason \"[Undermining Oversight]\" (first spelled with a cd prefix and a redirect, then bare). The dev stopped; no other route, no MCP write, no report comment attempted.", "The PR title, PR body and this report reached the seat by send_message; the seat performs both GitHub writes.", "The first pushed head, 2533505f, failed the skills token ratchet (over by 74, 19 and 5 tokens on files at zero headroom). Reworked so each new sentence replaces the words it corrects; recipe 1's labels 'Nightly 03:00' and 'Write balance' became 'Nightly' and 'Write' to pay for the timezone key.", "The skill sentences are therefore terser than first written and do not spell the rule ids; the README and eval 1 do.", "Eval 1's expected_output was edited (inside the claim's conditional eval surface): it spelled a cron with no timezone.", "All three schedule refusals and the typed-alias hint were changed, not only the one at ~126-130: each offered a bare cron string or a cron object with no timezone.", "The README's Schedule shapes table still lists the bare string (it is the reader's own table); a sentence under it now names the warning.", "Worktree made by detaching the platform's primary checkout; no empty-branch probe push (platform-named branch).", "Built the @objectstack/client-react closure only so check:skill-examples could run.", "Worktree and scratch files not removed: no PR was open when the dev finished." ], "open_questions": [ { "question": "Should a spec test pin that every cron a start-node schedule refusal offers states a timezone? None was added: the test file is outside the claimed file surface and os-dev.md says not to pin prose.", "options": ["A: no pin; the next reviewer reads the strings", "B: add a structural pin in flow-start-config-refusals.test.ts under a widened claim"], "recommendation": "B, because a later edit can put a zone-less cron back and no gate would see it; it is a few lines and pins shape, not wording." }, { "question": "The subflow row now says `os validate` may warn but does not name `flow-subflow-unknown` or say the warning is expected for another package's flow; SKILL.md has zero token headroom. Is that enough?", "options": ["A: keep as shipped", "B: name the rule and the expected case, paid for by deleting about 60 bytes elsewhere in SKILL.md or when PR 36158 moves the text"], "recommendation": "B when PR 36158 is resumed, because an agent that sees the warning on a correct cross-package call may copy the flow into its own package." } ], "security_findings": "none", "out_of_scope_findings": [ "carrier: none · noted, not filed — `flow-subflow-unknown` warns on a correct subflow call to a flow another installed package ships (eval 20's shape), because the stack does not hold that flow; this is the rule's stated hedge, not a defect." ] }objectstack-fleet commentedon Nov 24, 2026
repo:objectstack#4 · os-justin · session_01QSeKYpEsWWE9Y5YtSsDgqZ
os-dev-report
Patch-round delta report for PR #36932, written by the
os-devsubagent of seat repo:objectstack#4 under claim 7121889670. It answers the one round the 席位核对 REWORK record 7128796845 and the contract review 7128772468 fold together (M1, N2, S1, S2; Q1 answered, no pin). New headed201b70523e7a8f738154b0fca2e5bd722628cb, two commits onec3822d6.{ "issue": 36718, "status": "done", "branch": "claude/issue-36718-flow-skill-teaches-accepted-shapes", "pr": "https://github.com/objectstack-ai/objectstack/pull/36932", "session": "session_01QSeKYpEsWWE9Y5YtSsDgqZ", "premise_still_valid": true, "summary": "Patch round on PR 36932 (mode:subagent of seat repo:objectstack#4), delta on ec3822d6: two new commits, 9e163110 and ed201b70, no rebase, no force-push, 3 of the PR's 8 files touched. M1 and N2: the changeset no longer says no file grows; it says no skill file passes its token ceiling, SKILL.md gains one line paid for inside the file, and names the three checks that are warnings (flow-subflow-unknown run by the CLI only). S1: the SKILL.md subflow row no longer ties the os validate warning to the failing branch; it says the node fails at run time for the non-resolving cases and, separately, that os validate warns flow-subflow-unknown on any name this stack lacks, a correct cross-package call included; eval 20's answer key says the same. S2: item 4 names the filter and edge-condition trap again, restated as measured: a label there is never checked and silently matches nothing (main's 'a filter fails the run (invalid_option)' was wrong). SKILL.md is 28199 to 28198 bytes, 7045 of 7045 tokens; no ceiling raised. Q1: no pin added.", "tests": "S2 trace, measured before writing the sentence, on a scratch dogfood probe (not committed, removed) run under the verify lock on the ec3822d6 tree, 'VERDICT command-exit 0', 'Tests 1 passed (1)': bootStack with automation, a select with inline options Open/open and Lost/lost, two rows stored 'lost'. get_record filter { status: 'Lost' }: HTTP 200, success true, selected 0 (control 'lost': selected 2). update_record same filter, multi true: success true, acted 0, rows untouched (control: acted 2). Decision edge condition deal.status == 'Lost': success true, branch skipped 1, row untouched (control 'lost': acted 1). No invalid_option in any response. Same shapes through runAuthoringRules('validate') of the built @objectstack/lint: no label finding on the filter or edge flows; control (label in start condition and in fields) answers flow-condition-option-label and flow-node-write-unknown-option; an unknown subflow name answers warning flow-subflow-unknown. S1 read off packages/lint/src/validate-flow-trigger-readiness.ts:1690-1730 and authoring-rules.ts:1669-1676 (advisory, CLI_ONLY; known = the stack's flows plus its packages[] flows). No ablation: wording only, no behaviour a test pins changed. No package test re-run: no package source changed this round.", "gates": "Full derived union on 9e163110 (dispatch-gates --commands, 96 lines, each exit code captured before any pipe): dispatch-gates --ran exit 0, '96 derived famil(ies) accounted for — 95 run, 1 NOT-MEASURED (1 DERIVED from a recorded exit 3)'; the 95 exited 0. NOT MEASURED: pnpm check:dual-build-cjs-loads, exit 3, 'Run pnpm build first ... nothing was measured' (CI runs it). node scripts/check-skills-token-ratchet.mjs exit 0: '60 authored bundle file(s) within their ceilings'; SKILL.md '7045 / 7045 (+0)', examples-flows.md '1543 / 1543 (+0)', integration-recipes.md '2595 / 2595 (+0)'. pnpm --filter @objectstack/spec run check:skill-examples under the lock: 'VERDICT command-exit 0', '349 prose examples type-check across 3 surface(s)' (first run exit 3 until the client-react closure was built). On the final head ed201b70 (one changeset sentence since 9e163110) re-run, each exit 0: check-skills-token-ratchet, check-empty-changeset, check-changeset-no-major, check-adr-0087-registration, check:nul-bytes, check:doc-authoring, check:issue-citations, check:published-files. dispatch-gates warned STALE TREE (35 commits behind origin/main; the ratchet script changed there for objectstack-formula only; git merge-tree of head and main: clean; main not merged). CI check-runs on 9e163110: 58 success, 11 skipped, 0 failed, 0 pending (Lint & Repo Gates, TypeScript Type Check, Test Core, Build Core, Check Changeset, Governed Surface Queue Guard, Dogfood Regression Gate: success). CI on ed201b70: in_progress when this report was written (7 success, 10 skipped, 19 in_progress, 0 failed).", "dogfood_battery": "n/a — no `!` in the PR title and no (narrowing) arm", "mcp_calls": "0", "api_writes": "1 — this report comment on issue 36718 through scripts/pm/post-stamped.mjs. git push: 2 (not REST writes). REST reads through gh api: the card, its comments, the PR, its comments and reviews, check-runs.", "line_budget": "skills/** net lines +1 this round, +1 for the PR (budget at most +40): SKILL.md 479 to 480 lines, 28199 to 28198 bytes, 7045 to 7045 tokens (ceiling 7045); evals/flows-triggers-approvals.json 450 to 450 lines, 7104 to 7147 tokens (eval fixture, not ratcheted); examples-flows.md and integration-recipes.md untouched this round; all 14 SKILL.md together 4947 to 4948 lines, 261166 to 261165 bytes. No ceiling raised.", "files_changed": [ ".changeset/36718-flow-teaching-accepted-shapes.md", "skills/objectstack-automation/SKILL.md", "skills/objectstack-automation/evals/flows-triggers-approvals.json" ], "deviations": [ "The two new SKILL.md sentences cost about 180 bytes at zero headroom. They are paid inside the file by shorter spellings with no fact removed: six table separator rows in the short form the file already uses; the cells of autolaunched, screen, schedule, start, end, decision, wait and get_record; 'The node as JSON' to 'As JSON'; and item 4's 'The request speaks the label (\"Lost\"); the row stores the value (lost)' to 'The request says \"Lost\"; the row stores lost'. These rows are outside the two spots the round names but inside the claimed file; the contract-review delta should read them.", "SKILL.md gains one line (item 4). The first round's 'no line added or removed in skills/**' no longer holds; the changeset and the proposed PR body say so.", "N2 is worded by what was read in code: the changeset names the three warnings and marks only flow-subflow-unknown as CLI-only. flow-create-update-pair's surface was not traced this round, so the changeset does not state it.", "The PR body was not patched. os-dev.md says a subagent writes the PR body only at pr_create and the seat writes later edits; the dispatch order says to patch it by issue_patch. os-dev.md wins on a conflict, so the full replacement body is handed to the seat as a file (open_questions 1). Claims in the live body that are now stale: rows 1 and 2 of the table, the size table, 'Net lines across skills/**: 0', the two acceptance notes on item 4 and the subflow row, 'no line added or removed in skills/**', the two-minute check's numstat sentence, and the 维护者速读 clause 技能包没有变长.", "A second commit, ed201b70, corrected one changeset clause of 9e163110 ('paid for by shorter table rows and separator rows' to 'shorter wording and shorter table separator rows'), so the full union's reading is one commit behind the head; the changeset-reading gates and the ratchet were re-run on the head.", "Built the @objectstack/dogfood dependency closure (402 s under the lock) only for the run-time probe, and the client-react closure only for check:skill-examples.", "The branch already existed, so no empty-branch probe push. Commits end with the model-free trailer pair AGENTS.md requires." ], "open_questions": [ { "question": "Dispatch order versus os-dev.md on who writes the PR body after pr_create. The replacement body for head ed201b70 is at /tmp/claude-0/-home-user-objectstack/4ab22c9e-ace8-5531-a47d-60e7382f257d/scratchpad/issue-36718/pr-body-ed201b70.md (it still ends with the stored session-URL footer; strip that block before sending if the write channel appends one).", "options": [ "A: the seat sends that file as the PR body", "B: the seat re-dispatches the dev to send it by issue_patch" ], "recommendation": "A, because os-dev.md assigns PR body edits after pr_create to the seat and the text is ready." } ], "security_findings": "none", "out_of_scope_findings": [ "class: c · reach: public trigger route POST /api/v1/automation/NAME/trigger answers HTTP 200 success true with selected 0 or acted 0 for a get_record or update_record whose filter is { status: 'Lost' } on a select with inline option Lost/lost, and os validate's rule table is silent on it (flow-node-write-unknown-option reads fields only; flow-condition-option-label reads the start condition only); same for a label compared in a decision edge condition (branch silently skipped) · evidence: the probe readings in tests · proposed home: extend the two option-label rules to CRUD filter operands and edge conditions (one family card, not two) · dedupe words: flow-node-write-unknown-option filter, option label filter operand, edge condition option label, flow-condition-option-label decision edge", "carrier: none · noted, not filed — packages/qa/scenarios/src/runner/door-rules-corpus.ts carries a verbatim copy of item 4 as main worded it ('a filter fails the run (invalid_option)'); it is a dated snapshot of the hosted door's text by its own header, so it is not drift this PR owes.", "carrier: none · noted, not filed — flow-subflow-unknown warns on a correct call to a flow another installed package ships; the rule's stated hedge, now taught in the row and in eval 20." ] }objectstack-fleet commentedon Nov 24, 2026
repo:objectstack#4 · os-justin · session_01QSeKYpEsWWE9Y5YtSsDgqZ
Close-out · 2026-11-24T12:56Z · PR #36932 merged (landed by the approver's queue entry), closing this card by
Fixes #36718.Delivered: the automation skill, the schedule trigger README, two showcase comments and the three start-node schedule refusals stop teaching flow shapes the publish checks of #36691 refuse or warn on — every taught cron carries a timezone; an option label in a start condition or a write is refused at publish, and in a
filteror an edge condition silently matches nothing (the trap restored as measured);os validatewarnsflow-subflow-unknownon any name the stack lacks. No ceiling raised. Follow-up filed: #36964 (no check reads an option label in a filter or an edge condition).pm:dispatchedstripped in this stroke; the original cloud dev session is archived. #34770 (Blocked-by: #36718) is unblocked in its own stroke.