Repository navigation
docs(skills): flow teaching text spells only shapes the publish checks accept - #36932
Conversation
…s accept The automation skill, the schedule trigger README, two showcase comments and the start-node schedule refusals offered cron shapes with no timezone and described label comparisons and unknown subflow names as passing validation. Wording only. Claude-Session: https://claude.ai/code/session_01QSeKYkHoFSRK5JsuPYqbtc Co-authored-by: Claude <noreply@anthropic.com>
…iling Each rewritten sentence replaces the stale words it corrects, and recipe 1 shortens two node labels for the timezone key, so no skill file grows. Claude-Session: https://claude.ai/code/session_01QSeKYkHoFSRK5JsuPYqbtc Co-authored-by: Claude <noreply@anthropic.com>
📓 Docs Drift Check2 anchor(s) derived from 2 changed package(s); no hand-written page names any of them. What this run could not see
Coarse fallback — 175 page(s) merely mention a changed package (the pre-#9192 predicate, kept for the deliberately-wide backstop): Which tree this was computed onThis run read A worktree cut from an older # while this PR is open — GitHub drops the merge commit once it closes
git fetch origin 1b94c6d645ef0ffca6fb75cfadc5db6ff40b93f4 && git checkout 1b94c6d645ef0ffca6fb75cfadc5db6ff40b93f4
# afterwards, rebuild it from the two parents, which stay fetchable
git fetch origin 69c3dc4f4323e21559a69913417aaa749db976ea ed201b70523e7a8f738154b0fca2e5bd722628cb && git checkout -B drift-repro 69c3dc4f4323e21559a69913417aaa749db976ea && git merge --no-ff ed201b70523e7a8f738154b0fca2e5bd722628cb
node scripts/docs-audit/affected-docs.mjs --json 69c3dc4f4323e21559a69913417aaa749db976ea |
|
repo:objectstack#4 · os-justin · session_01QSeKYpEsWWE9Y5YtSsDgqZ Contract reviewServed-tier: Read: card #36718 (body, 4 comments, newest ① Derived judgments
② Semver level
③ Boundary flags
④ Design judgment
S1 (should-fix) — the S2 (should-fix) — item 4 drops the The rest of item 4 holds: both rules are
Implemented-by: VERDICT: PASS |
|
repo:objectstack#4 · os-justin · session_01QSeKYpEsWWE9Y5YtSsDgqZ 席位核对 — REWORK · L1 · head
|
| Place | Edit | Verdict |
|---|---|---|
skills/objectstack-automation/SKILL.md:81 (subflow row) |
"passes" → "may warn" | True. outside-closure names held only by the environment or an undeclared package warn. ambiguous-* names are known, so they do not warn. "may" is exact. |
SKILL.md:324-327 (item 4) |
label condition / write "refused at publish (inline options), else matches no row or fails the run" | True for the two error rules above. "else" covers edge conditions, filters, picklist fields, and readonly selects (see nit N1). |
references/examples-flows.md:30-31 |
cron tag fails; a cron with no timezone (a bare string) runs in UTC and warns |
True. The example itself carries timezone: 'Asia/Shanghai', so it is silent. |
references/integration-recipes.md:46-47,50 |
recipe 1 cron gets timezone: 'UTC'; labels shortened to pay |
Silent under the rule. Labels are still present on every node. |
examples/app-showcase/src/automation/flows/index.ts:445-446, 2047 |
comment crons get timezone: 'UTC' |
Comments only. The flow at 2047 is a time-relative sweep with no schedule, so cronWithoutZone(undefined) is silent. |
packages/triggers/trigger-schedule/README.md:134 |
time-relative example cron gets timezone: 'UTC' |
Silent. |
README.md:69-71 (new) |
"A cron with no timezone runs in UTC, and os validate warns on it …" |
True (schedule.timezone ?? 'UTC'; warning). "The first row" is the table's typed row at :63, which is unambiguous. The bare-string row stays because it is the reader's own normalizeSchedule table. |
packages/spec/src/automation/flow-start-config-refusals.ts:93, 105-106, 120, 128-129 |
all three schedule refusals and the typed-alias hint offer only { type: 'cron', expression: '0 8 * * *', timezone: 'UTC' } (plus the interval and once forms) |
Every offered shape is accepted silently: interval and once are not crons to cronWithoutZone, and the cron carries a zone. The card named only :126-130. Widening to the other three strings that offered a zone-less cron is correct and was reported in deviations. What is refused is unchanged. No other copy of the old strings exists (git grep over the repo, excluding this file and its test: 0 hits). |
evals/flows-triggers-approvals.json:7 (eval 1 expected_output) |
answer key's cron gets timezone: 'UTC', with the reason |
Inside the claim's conditional eval surface. The prompt names no zone, and the rule's own hint says to "set timezone: 'UTC' if UTC is the intent". The assertions (must_contain / must_not_contain) are unchanged. |
The card's other "Expected" items (condition labels compare against their own field; subflow and object names resolve): the dev reports reading them, and the harness reports 0 findings from the ten rules on shapes the text offers. No listed place carries a subflow node, a date helper inside a string, or a create/update pair. That matches my grep of the listed files.
Skills token ratchet. I ran node scripts/check-skills-token-ratchet.mjs from a git archive of the head's scripts/ and skills/ (scratchpad, no checkout). Exit 0: 60 authored bundle file(s) within their ceilings. SKILL.md 7045 / 7045, examples-flows.md 1543 / 1543, integration-recipes.md 2595 / 2595 (headroom 0). scripts/ is not in the diff, so no ceiling is raised. Bytes, origin/main → head: SKILL.md 28199 → 28199, examples-flows.md 6170 → 6170, integration-recipes.md 10376 → 10379, eval JSON 28309 → 28414 (eval fixture, measured but not ratcheted), README 9719 → 9946. The line counts in skills/** balance per file, matching the PR body's table.
Changeset .changeset/36718-flow-teaching-accepted-shapes.md, read sentence by sentence:
- Packages and level are right.
@objectstack/specships the message strings throughdist.@objectstack/trigger-scheduleshipsREADME.md(files[]).@objectstack/skillsships the synced catalog. All three arepatchwith kindnone.examples/app-showcaseisprivate: true, so it owes nothing. The governed reader's low-risk skills arm does not apply because the changeset releases two non-skills packages; that is correct, and the PR is Tier H. - Checked and true: line 7 (headline); line 12 sentence 2 ("Wording only; no schema, rule or reader changes"); line 14 in full (the three refusals, the dropped bare-string offer, the alias hint, "What is refused is unchanged"); line 15 clauses 1-5 (recipe 1, the schedule comment, the
subflowrow, the select-label rule, eval 1); line 16 in full. - Line 15, "No file grows: each new word replaces one" is false (must-fix M1).
integration-recipes.mdgrows by 3 bytes (2594 → 2595 tokens), and eval 1'sexpected_outputgains a whole clause (+105 bytes). What holds is narrower: no skill file gains a line, and none passes its token ceiling. - Line 12 sentence 1 calls all ten checks "publish-time" (nit N2).
flow-subflow-unknownandflow-create-update-pairrun on the CLI only, and the three warnings refuse nothing at publish (migration entry 18).
3. Gates
- At head
ec3822d6(pr-state/l1-face): 58 success · 11 expected skip · 0 unexpected skip · 0 failed · 0 pending. Lint & Repo Gates: success. TypeScript Type Check: success. check-governed-merges.mjs --pr 36932, exit 3: ⛔ GOVERNED,skills/**×4. Landing tier H (human merge): the maintainer's hand, or an authorized APPROVED review, after which the owning seat lands it. The low-risk skills arm does not apply (three non-skills paths, and a changeset that releasesspecandtrigger-schedule). Size is 60 lines, under the human-merge threshold.landing-k.mjs --pr 36932: OK. K = 2 < 15. Locale leg: it reads as a label PR (the showcase file), but the change is comments only and there is no new locale pack. Shared-budget leg: this PR touches the skills token ratchet, andmainhas not moved that book since PRBASE.- Dogfood not owed: no
!and no(narrowing).
4. Tests evidence
- The dev's evidence is real commands with quoted output, pinned to
ec3822d6:- Spec build, then vitest on
flow-start-config-refusals.test.tsandflow.test.ts:Tests 157 passed (157). - Spec typecheck: exit 0.
check:skill-examples:349 prose examples type-check.check:generated: 14 artifacts up to date.- Token ratchet: exit 0. I reproduced this above.
dispatch-gates.mjs --ran: 93 run, 3 NOT MEASURED with exit-3 prerequisite reasons. CI covers those three at this head.
- Spec build, then vitest on
- The extraction harness is not committed, which is correct: it is a one-shot verifier, not a tool that runs after merge. Its before/after reading (13 → 0 findings from the ten rules on offered shapes, with 4 on shapes the text names as refused or warned) has a natural positive control: the 13 "before" findings are the rules firing on the old text.
- No ablation, accepted: the refusal tests pin message heads (
is not a schedule at …,names no schedule the readers can use), not the offered shape.flow-start-config-refusals.test.tsonmainhas no assertion on the offered text. - No
code/statusenvelope assertion is owed: no refusal behaviour changes. - NOT MEASURED by the seat: the
os validatebinary on a scaffolded app. The dev ran the rule table thatos validateruns on a parsed stack. That is accepted for a wording-only change.
5. Accepted deviations
- All three schedule refusals plus the typed-alias hint were changed, not only
:126-130. They are the same defect class, in the same file and the same function, inside the claimed surface. - Eval 1's
expected_outputwas edited, inside the claim's conditional eval surface. - Recipe 1's labels
'Nightly 03:00'→'Nightly'and'Write balance'→'Write'pay for thetimezonekey at zero headroom. The cron still states the hour, and every node keeps a label. - The skill sentences do not spell rule ids because of zero headroom. The README and eval 1 do spell them.
- The seat opened the PR and posted the report on the maintainer's 「一选1+」 ruling, after the dev session's classifier refused the relay
pr_createtwice. The refused command is recorded verbatim indeviations. The seat did not addskip-changeseton the dev's behalf, and none was needed.
6. Out of scope + landing condition
Findings
- must-fix M1,
.changeset/36718-flow-teaching-accepted-shapes.md:15. "No file grows: each new word replaces one" is false in published release text (it ships asCHANGELOG.mdin@objectstack/skills,specandtrigger-schedule).integration-recipes.mdgrows 3 bytes, and the eval JSON grows 105 bytes. Suggested fix: "No skill file gains a line or passes its token ceiling; two node labels in recipe 1 are shortened to pay for thetimezonekey." - nit N1,
skills/objectstack-automation/SKILL.md:324-326. "refused at publish (inline options)" leaves out two cases:flow-node-write-unknown-optionalso skipsreadonlyselects (eval 1'sstatusis one), andflow-condition-option-labelreads only record-change start conditions. The old text also named a labelfilteras failing the run; the new text folds that into "else … fails the run". Both stay truthful under the hedge, and there is no headroom to spell more. No change asked. - nit N2,
.changeset/36718-flow-teaching-accepted-shapes.md:12. "The ten publish-time flow checks" overstates: two are CLI-only and the three warnings refuse nothing at publish. Fold "the ten flow checks ofos validateand publish" into the same edit if convenient.
Seat recommendations on the dev's open questions
- Q1, a structural pin that every cron a start-node schedule refusal offers carries a timezone: OUT of this PR, no card.
- The offered shapes are three literals in one function,
flow-start-config-refusals.ts:105-129. A pin would have to extract object literals from message prose, which pins wording; os-dev.md says not to pin prose. - It would also widen the claim to a test file the card does not name, on a Tier H PR that is otherwise one line from done.
- The real backstop already exists: an author who copies a zone-less cron gets
flow-schedule-timezone-missingatos validate. - If drift ever recurs, the structural fix is to hoist the offered cron into one constant shared by the three strings, not a prose pin. Record that as noted, not filed.
- The offered shapes are three literals in one function,
- Q2, naming
flow-subflow-unknowninSKILL.md: not now. Carry it to PR docs(skills): objectstack-data and objectstack-automation SKILL.md become routers #36158's resume as optional, with no new card.SKILL.mdsits at 7045 / 7045. Paying about 60 bytes now means cutting text that docs(skills): objectstack-data and objectstack-automation SKILL.md become routers #36158 is about to relocate.- skills: SKILL.md becomes a router with a size budget, and points to the contract instead of restating it #34770's ruling (7128031203) already makes docs(skills): objectstack-data and objectstack-automation SKILL.md become routers #36158's resume map 流程发布检查收紧后,skills 文档和示例还在教会被新检查拦下的写法(#35143 后续) #36718's edits onto the moved text and re-run the flow-shape checks. That is the natural place to add the rule id, paid by a cut in the same file; ④A covers only moved bytes, not new ones.
- The dev's risk (an agent copies a correct cross-package flow into its own package) is mostly defused by the warning itself. Its hint reads "…or ignore this if another installed package ships ''" (
validate-flow-trigger-readiness.ts:1724-1725). - The current "may warn" sentence is true, not wrong teaching.
Out-of-scope findings: the dev's note (flow-subflow-unknown warns on a correct call to another package's flow) is the rule's stated hedge. Noted, not filed; agreed.
Landing condition
- M1 is fixed on a new head (patch round to the same claim, changeset only), followed by a re-L1 on that head (changeset re-read sentence by sentence).
- The checks are green at that head, with Lint & Repo Gates and TypeScript Type Check
success. - The PR is Tier H. The seat never flips it ready, enqueues it, or arms auto-merge. Landing waits for os-zhuang's Approve, as the card names, or the maintainer's hand. Then the owning seat lands it.
- After merge,
Fixes #36718closes the card. Per the 7128031203 ruling, skills: SKILL.md becomes a router with a size budget, and points to the contract instead of restating it #34770 then leavespm:blockedforpm:queue, and its "before" eval round runs on thatmain.
Seat — one patch round folds both records
The contract review on this head (posted above, PASS with two should-fix) and this L1 make ONE round:
- M1 (this record): the changeset sentence "No file grows: each new word replaces one" — say what holds (no skill file gains a line or passes its token ceiling; recipe 1's two labels shortened to pay for the
timezonekey). Fix N2 in the same sentence pass ("publish-time" only for the checks that run at publish). - S1 (contract review): the
subflowrow must not tie theos validatewarning to the non-resolving branch alone —flow-subflow-unknownalso warns on a correct call to a flow another installed package ships, and eval 20's answer key still says "still passesos validate". This is answered IN this PR (it is the dev's Q2, scoped to making the row true; naming the rule id is optional). SKILL.md has zero token headroom: pay for it inside the file. - S2 (contract review): SKILL.md item 4 dropped the
filtertrap (a label in afilter, and in an edge/decision condition). Neitherflow-node-write-unknown-optionnorflow-condition-option-labelreads those, so by skills: SKILL.md becomes a router with a size budget, and points to the contract instead of restating it #34770's rule ("No trap is removed until a publish-time check covers it or it stays inline") the trap stays — restated as what actually happens (the contract review reads that a label in afiltermost likely matches no row rather than failing the run; trace it before writing the sentence). - Q1 (dev): no pin in this PR and no card — a pin would read message prose.
- Tier H by
skills/**: after the round, a re-L1 and a contract-review delta on the new head, then the hand-off to the approver.
…checks read The `subflow` row no longer ties the `os validate` warning to the name that fails at run time: `flow-subflow-unknown` warns on any name the stack does not hold, a correct call to another package's flow included. Item 4 names the `filter` and edge-condition trap again, as measured: no check reads a label there and the run succeeds matching nothing. Eval 20's answer key states the warning. The changeset says what holds about file size and which checks are warnings. SKILL.md stays inside its token ceiling: the new words are paid for by shorter table rows. Claude-Session: https://claude.ai/code/session_01QSeKYpEsWWE9Y5YtSsDgqZ Co-authored-by: Claude <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01QSeKYpEsWWE9Y5YtSsDgqZ Co-authored-by: Claude <noreply@anthropic.com>
|
repo:objectstack#4 · os-justin · session_01QSeKYpEsWWE9Y5YtSsDgqZ Contract reviewServed-tier: Delta record. It follows the contract review of head Read: card #36718 (body, 5 comments, newest Check-runs on ① Derived judgments
② Semver level
③ Boundary flags
④ Design judgmentS1: closed. The S2: closed. Item 4 names the uncovered forms again: "A label in a
The re-spelled rows and cells of
No must-fix, no should-fix.
Implemented-by: VERDICT: PASS |
|
repo:objectstack#4 · os-justin · session_01QSeKYpEsWWE9Y5YtSsDgqZ 席位核对 — ACCEPT · L1 · head
|
| Line | Before | After | Fact kept |
|---|---|---|---|
| 37, 72, 87, 98, 108, 421 | |:-----|:--------| (×6, long forms) |
|:--|:--| |
Same left alignment. The form already appeared 3× in the file (:173, :390, :407) |
38 autolaunched |
Runs without user interaction — triggered by events, APIs, or other flows | No user interaction: started by events, APIs or other flows | yes |
39 screen |
Presents UI screens | Shows UI screens | yes |
40 schedule |
… config.schedule** — or a per-record date sweep … |
… config.schedule**, or a per-record date sweep … |
yes, bold kept |
73 start |
Entry point — every flow has exactly one | Entry point: exactly one per flow | yes |
74 end |
Exit point — can have multiple | Exit point: one or more | yes |
75 decision |
Conditional branching — routed by edge condition predicates, not node config |
Branch by edge condition predicates, not node config |
yes |
80 wait |
Pause until a timer elapses or a named signal arrives | Pause for a timer or a named signal | yes |
81 subflow |
Else os validate may warn and the node fails at run time (…) |
Else the node fails at run time (…). os validate warns flow-subflow-unknown on any name this stack lacks, a correct cross-package call included |
yes, plus S1 |
92 get_record |
Fetch records with filters (no query_record) |
Fetch records by filter (no query_record) |
yes |
114 notify |
The node as JSON (TypeScript: …) | As JSON (TypeScript: …) | yes, under the ### notify heading |
| 324 item 4 | The request speaks the label ("Lost"); the row stores the value (lost). |
The request says "Lost"; the row stores lost. |
yes; the label/value naming is carried by the line-323 heading (nit N-b) |
No trap, example, rule id or route was removed. check:skill-served-sections, check:skill-docs, check:skill-refs and check:skill-examples ran on 9e163110, whose skills/** content is identical to the head's (git diff --stat 9e163110 ed201b70 names only the changeset). CI at the head is green (§3).
PR body against the head. Every measured claim matches what I measured on blobs, against merge-base f46ce5b4 (git merge-base origin/main ed201b70):
| Claim | Measured |
|---|---|
SKILL.md lines 479 → 480; 28199 → 28198 bytes; tokens 7045 → 7045 |
same |
examples-flows.md 145 → 145; 1543 → 1543 |
same |
integration-recipes.md 186 → 186; 2594 → 2595 (ceiling 2595) |
same (ceiling 2595 at both base and head) |
| eval JSON 450 → 450; 7078 → 7147 | same (28309 → 28588 bytes) |
all 14 SKILL.md 4947 → 4948 lines; 65225 → 65225 tokens |
same (summed from the ratchet's own per-file count at base and at head) |
"Net lines across skills/**: +1" |
numstat: SKILL.md 21/20; eval 2/2; examples 2/2; recipes 3/3 |
| Two-minute check sentence | true |
Table rows 1, 2, 15 and 16 match the head text word for word. Row 16's "six separator rows, eight cells and two sentences" counts right.
The stale claims the dev listed are all gone from the body:
- "Net lines … 0"
- "no line added or removed in
skills/**" (now "SKILL.mdgains one line (item 4), no other skill file gains or loses one") - the old rows 1 and 2
- the old size table
- the two acceptance notes on item 4 and the
subflowrow - the old numstat sentence
- 维护者速读's 技能包没有变长 (now 技能包的长度上限没有抬高)
3. Gates
- At
ed201b70(pr-state.mjs): 60 success · 13 expected skip · 0 unexpected skip · 0 failed · 0 pending. Lint & Repo Gatessuccess; TypeScript Type Checksuccess; Test Core, Build Core, Check Changeset ×2, Governed Surface Queue Guard, Dogfood Regression Gate, PR-body guards:success(check-runs read on the head). check-governed-merges.mjs --pr 36932, exit 3: ⛔ GOVERNED,skills/**×4. Landing tier H (human merge). The low-risk skills arm does not apply: three paths are outside skills wording, and the changeset releases@objectstack/specand@objectstack/trigger-schedule. Size +58 / −37, under the human-merge threshold.landing-k.mjs --pr 36932: OK, K = 6 < 15.- Locale leg: no new locale pack. It reads as a label PR because of the showcase file, but that file has two comment edits only, unchanged this round.
- Shared-budget leg: this PR touches the skills token ratchet, and
mainhas moved no shared book since PRBASE.
- Ratchet ceilings unchanged:
git diff --name-only f46ce5b4 ed201b70 -- scriptsis empty, and the ceilings print the same at base and head (7045,1543,2595). - Dogfood not owed: no
!and no(narrowing).
4. Tests evidence
The round is wording only, so no package test is owed. The dev re-ran no package test, because no package source changed. The evidence is real commands with quoted output, pinned:
- The S2 probe on the
ec3822d6tree:VERDICT command-exit 0,Tests 1 passed (1), with readings and a positive control on each of the three legs. - The same shapes through
runAuthoringRules('validate', …)from the built@objectstack/lint. There is no label finding on thefilteror the edge. The control (a label in the startconditionand infields) answers both error rules, which is the positive control for "never checked". An unknownsubflowanswersflow-subflow-unknown(warning). dispatch-gates.mjs --ranon9e163110: 95 run, exit 0. 1 NOT MEASURED,check:dual-build-cjs-loads, exit 3 because it needsdist/; CI ran it at the head.- On
ed201b70, re-run after the changeset-only commit, each exit 0: the ratchet,check-empty-changeset,check-changeset-no-major,check-adr-0087-registration,check:nul-bytes,check:doc-authoring,check:issue-citations,check:published-files. - I reproduced the ratchet myself (§2).
- The probe and harness are not committed. That is correct: they are one-shot verifiers.
- The extraction harness was not re-run on the head. Accepted: the new item-4 sentence names the
filter/edge forms as the trap and spells no flow shape for an author to copy. - The report's REST reads went through
gh apirather than MCP. These were reads of the card and PR state, not git-answerable data. No note owed.
5. Accepted deviations
- The two new
SKILL.mdsentences (about 180 bytes at zero headroom) are paid for inside the file by the re-spellings in the §2 table. Those cells are outside the two spots the fold named but inside the claimed file. I diffed each cell, and no fact was removed. SKILL.mdgains one line (+1 against the +40 budget). The changeset and the body both say so.- N2 is worded from what the dev read in the code: only
flow-subflow-unknownis marked CLI-only. This is more accurate than my REWORK record's N2 (correction in §2). - PR body edits after
pr_createwent through the seat (os-dev.md), using the dev's hand-off file. ed201b70corrects one changeset clause of9e163110. The full gate union is therefore read on9e163110. The gates that read the changeset, and the ratchet, were re-run on the head.- The dev built dependency closures only to run the probe and
check:skill-examples.
6. Out of scope + landing condition
Findings (no must-fix, no should-fix):
- nit N-a,
skills/objectstack-automation/SKILL.md:326-327. "it silently matches nothing" was measured on the probe's default driver only. On a SQL column with a case-insensitive collation, a label that differs from its value only in case would match. Item 4's own example,"Lost"/lost, is such a pair.driver-sqlitself mentions case-insensitive columns (sql-driver-autonumber.ts:387). I did not measure this. The teaching, "compare and write the value", is right either way. No change asked; this is for the contract-review delta to weigh. - nit N-b,
SKILL.md:324. "The request says "Lost"; the row storeslost." no longer says which is the label and which is the value. The bold heading on:323carries that ("by its optionvalue, never its label"). No fact lost; no change. - nit N-c, PR body table row 2, check column: "no check reads a
filteror an edge condition". This is broader than true. Other rules do readfilteroperands, for example the{…}-token refusal andflow_crud_missing_selector. What is meant is that no option-label check reads them. The text is in the body only and is not shipped. The seat may change it to "no option-label check reads …" at the next body edit.
Out-of-scope findings from the report:
- The dev's class-c finding: a label in a CRUD
filteroperand or an edge condition passesos validateand silently selects nothing. Proposed home: extend the two option-label rules, one family card. It is a real coverage gap behind S2's sentence and is the dev's to file through the normal intake. It does not block this PR. - The
door-rules-corpus.tscopy ofmain's item 4: a dated snapshot by its own header. Noted, not filed; agreed. flow-subflow-unknownon a correct cross-package call: this is the rule's stated hedge, and it is now taught. Noted, not filed.
Landing condition
- This head is L1 ACCEPT. CI at
ed201b70is green, with Lint & Repo Gates and TypeScript Type Checksuccess. - The PR is Tier H (
skills/**×4; the low-risk skills arm does not apply). The seat never flips it ready, enqueues it, or arms auto-merge. - Next step: a contract-review delta on this same head (
ed201b70523e7a8f738154b0fca2e5bd722628cb), covering S1, S2 and the re-spelled cells. After that same-head contract-review PASS, the PR is handed off to the approver: os-zhuang's Approve, as the card names, or the maintainer's hand. Then the owning seat lands it. A new push voids this ACCEPT and the PASS. - After merge,
Fixes #36718closes the card. Per ruling 7128031203, skills: SKILL.md becomes a router with a size budget, and points to the contract instead of restating it #34770 then moves frompm:blockedtopm:queue, and its "before" eval round runs on thatmain. docs(skills): objectstack-data and objectstack-automation SKILL.md become routers #36158's resume maps this card's edits, including the re-spelled cells, onto the moved text.
|
repo:objectstack#4 · os-justin · session_01QSeKYpEsWWE9Y5YtSsDgqZ Contract reviewServed-tier: Delta record. It follows the contract review of head Read: card #36718 (body, 5 comments, newest Check-runs on ① Derived judgments
② Semver level
③ Boundary flags
④ Design judgmentS1: closed. The S2: closed. Item 4 names the uncovered forms again: "A label in a
The re-spelled rows and cells of
No must-fix, no should-fix.
Implemented-by: VERDICT: PASS |
|
repo:objectstack#4 · os-justin · session_01QSeKYpEsWWE9Y5YtSsDgqZ Contract reviewServed-tier: Delta record. It follows the contract review of head Read: card #36718 (body, 5 comments, newest Check-runs on ① Derived judgments
② Semver level
③ Boundary flags
④ Design judgmentS1: closed. The S2: closed. Item 4 names the uncovered forms again: "A label in a
The re-spelled rows and cells of
No must-fix, no should-fix.
Implemented-by: VERDICT: PASS |
|
repo:objectstack#4 · os-justin · session_01QSeKYpEsWWE9Y5YtSsDgqZ 维护者速读
席位意见:建议批准。两份记录无必须修与应修项;全部检查绿。顺带测出的"过滤/分支条件里写显示名校验不报"已另立 #36964,不在本 PR 内。 |
Fixes #36718
Clause-②: no
Metadata-protocol: none
维护者速读
What changes
Wording only. No schema, lint rule or reader changes. The ten checks, read off
packages/lint/srconmain:flow-trigger-object-missing,flow-condition-option-label,flow-time-relative-shadowed,flow-time-relative-key-misplaced,flow-time-relative-date-field-invalid,flow-node-write-unknown-option,flow-node-write-date-helper-text(errors);flow-schedule-timezone-missing,flow-subflow-unknown,flow-create-update-pair(warnings).Every place changed, before → after:
skills/objectstack-automation/SKILL.md,subflowrowos validatepasses and the node fails at run timeos validatewarnsflow-subflow-unknownon any name this stack lacks, a correct cross-package call includedflow-subflow-unknownSKILL.md, Valid-but-silently-wrong item 4condition: "record.status == 'Lost'"parses, matches no row: the flow stages clean and never fires;fields: { status: 'Lost' }/ afilterfails the run (invalid_option).condition: "record.status == 'Lost'"orfields: { status: 'Lost' }is refused at publish (inline options), else matches no row or fails the run (invalid_option). A label in afilteror an edgeconditionis never checked: it silently matches nothing.flow-condition-option-label,flow-node-write-unknown-option; no check reads afilteror an edge conditionreferences/examples-flows.md, the schedule example's commenttimezone(a bare string) runs in UTC and warns.flow-schedule-timezone-missingreferences/integration-recipes.md, recipe 1 start nodeschedule: { type: 'cron', expression: '0 3 * * *' }schedule: { type: 'cron', expression: '0 3 * * *', timezone: 'UTC' }flow-schedule-timezone-missinglabel: 'Nightly 03:00',label: 'Write balance'label: 'Nightly',label: 'Write'evals/flows-triggers-approvals.json, eval 1expected_outputconfig.schedule: { type: 'cron', expression: '0 2 * * *' }(no top-levelschedule)config.schedule: { type: 'cron', expression: '0 2 * * *', timezone: 'UTC' }(no top-levelschedule; the request names no zone, and a cron with none warnsflow-schedule-timezone-missing)flow-schedule-timezone-missingpackages/triggers/trigger-schedule/README.md, time-relative exampleschedule: { type: 'cron', expression: '0 8 * * *' }schedule: { type: 'cron', expression: '0 8 * * *', timezone: 'UTC' }flow-schedule-timezone-missingtimezoneruns in UTC, andos validatewarns on it (flow-schedule-timezone-missing). Author the first row with itstimezone('UTC'when UTC is meant); the bare string cannot carry one.flow-schedule-timezone-missingexamples/app-showcase/src/automation/flows/index.ts, comment at 445{ type: 'cron', expression: '0 8 * * *' }{ type: 'cron', expression: '0 8 * * *', timezone: 'UTC' }flow-schedule-timezone-missingschedule: { type: 'cron', expression: '0 8 * * *' }schedule: { type: 'cron', expression: '0 8 * * *', timezone: 'UTC' }flow-schedule-timezone-missingpackages/spec/src/automation/flow-start-config-refusals.ts, empty-string refusal{ type: 'cron', expression: '0 8 * * *', timezone: 'UTC' }or remove the key.flow-schedule-timezone-missing{ type: 'cron', … timezone: 'UTC' }, the interval form or the once form, or a bare cron string.flow-schedule-timezone-missing{ type: 'cron', expression: '0 8 * * *' }, the interval form or the once form.{ type: 'cron', expression: '0 8 * * *', timezone: 'UTC' }, the interval form or the once form.flow-schedule-timezone-missing{ type: 'cron', expression: '…' }{ type: 'cron', expression: '…', timezone: 'UTC' }flow-schedule-timezone-missingevals/flows-triggers-approvals.json, eval 20expected_outputos validate, and the node fails at run time (outside-closure, namingacme.crm).outside-closure, namingacme.crm).os validatewarnsflow-subflow-unknownhere with or without the dependency, becauseacme.billing's own stack does not holdnotify_owner: the warning is expected on this correct call and is not that failure.flow-subflow-unknownSKILL.md, wording that pays for rows 1 and 2 (no fact removed)autolaunched: Runs without user interaction — triggered by events, APIs, or other flows;screen: Presents UI screens;schedule: … — or a per-record date sweep;start: Entry point — every flow has exactly one;end: Exit point — can have multiple;decision: Conditional branching — routed by edgeconditionpredicates, not node config;wait: Pause until a timer elapses or a named signal arrives;get_record: Fetch records with filters; The node as JSON; The request speaks the label ("Lost"); the row stores thevalue(lost).conditionpredicates, not node config; Pause for a timer or a named signal; Fetch records by filter; As JSON; The request says "Lost"; the row storeslost.Skills size, lines and tokens (the ratchet's count,
ceil(bytes / 4)):skills/objectstack-automation/SKILL.mdreferences/examples-flows.mdreferences/integration-recipes.mdevals/flows-triggers-approvals.json(eval fixture, not ratcheted)SKILL.mdfiles togetherNet lines across
skills/**: +1 (budget: at most +40). No ceiling is raised.Tests
fieldswrite the prose spells, from the six listed places; completes each fragment into a flow over objects shaped as the prose describes them (each select with a label that differs from its value); and runsrunAuthoringRules('validate', …)from the built@objectstack/lint, the 78-rule tableos validateruns. Before (text off46ce5b4): 13 findings from the ten rules on shapes the text offers. After (ec3822d6): 0. Four findings remain on shapes the text itself names as refused or warned: the label condition and label write inSKILL.mditem 4, and the bare string and its normalized form in the README's reader table.@objectstack/spec:flow-start-config-refusals.test.tsandflow.test.ts, 157 of 157 passed;typecheckexit 0.check:skill-examples: 349 marked examples type-check, exit 0.check:generated: all 14 generated artifacts up to date, nothing regenerated.9e163110anded201b70), a run-time trace of the label trap outside the two rules, on a scratch dogfood probe (not committed) booted withbootStack(…, { automation: true }): aselectwith inline optionsOpen/openandLost/lost, two rows storedlost.get_recordwithfilter: { status: 'Lost' }: HTTP 200, runsuccess: true,selected: 0(control'lost':selected: 2).update_recordwith the same filter andmulti: true:success: true,acted: 0, both rows untouched (control:acted: 2). A decision edgecondition: "deal.status == 'Lost'":success: true, the branchskipped: 1, row untouched (control'lost':acted: 1). Noinvalid_optionon any of the three. The same shapes throughrunAuthoringRules('validate', …)from the built@objectstack/lint: no label finding on thefilteror the edge; the control (label in the startconditionand infields) answersflow-condition-option-labelandflow-node-write-unknown-option; an unknownsubflowname answersflow-subflow-unknown(warning).is not a schedule at …,names no schedule the readers can use), not the sentence that offers a shape.Acceptance notes
SKILL.mdtrigger example (objectNamepresent; its condition comparesstatuswith the value'escalated'); the scheduled escalation flow (timezone: 'Asia/Shanghai', writes the value'escalated'); the time-relative example and its JSON form (filterinside the descriptor, adatefield, notriggerType); recipe 4; thenotifyandscriptnode examples. No listed place carries asubflownode, a date helper inside a string, or an after-create and after-update pair.SKILL.mditem 4 still shows the label forms, as the thing not to write; the sentence now says publish refuses them. It says "inline options" because the two rules judge only a field whose options are inline (a field on a sharedpicklistis skipped). Thefiltertrap thatmainnamed is back, restated as measured:mainsaid a labelfilterfails the run (invalid_option); it does not, the run succeeds and matches nothing, and the same holds for a label in an edge condition. Neither is read by any check.normalizeSchedule) and the reader does accept it. The sentence under it now names the warning.flow-subflow-unknownalso warns on a correct call to a flow another installed package ships (eval 20's shape): the stack does not hold that flow. That is the rule's stated hedge. Thesubflowrow no longer ties the warning to the name that fails at run time: it says the node fails at run time for the non-resolving cases, and separately thatos validatewarnsflow-subflow-unknownon any name this stack lacks, a correct cross-package call included. Eval 20's answer key says the same (row 15).timezonekey (row 5). The patch round's two sentences inSKILL.mdare paid for inside the file by row 16: shorter spellings of eight table cells and two sentences, and the short separator-row form on six tables. No fact, trap or example was removed to pay.notifynode read with no trigger, sorecordis unbound) or the README's placeholder condition'...'. None is from the ten rules.SKILL.mdinto the references. Every edit here is in place, on the lines listed above;SKILL.mdgains one line (item 4), no other skill file gains or loses one.os validatebinary. The harness calls the rule table it runs, on a parsed stack.Verification
Two-minute check:
node scripts/check-skills-token-ratchet.mjsexits 0 and prints(+0)for the three automation files;git diff f46ce5b4 --numstat -- skillsshows equal additions and deletions per file, exceptSKILL.mdat 21 added and 20 removed.Read first, by risk:
packages/spec/src/automation/flow-start-config-refusals.ts(three refusal strings an author is shown),skills/objectstack-automation/SKILL.md(item 4 and thesubflowrow),skills/objectstack-automation/evals/flows-triggers-approvals.json(eval 1's answer key).Patch-round gate readings (run on 9e16311; head ed201b7 changes one changeset sentence)
ed201b70(changeset only since9e163110), each exit 0:node scripts/check-skills-token-ratchet.mjs,node scripts/check-empty-changeset.mjs --base origin/main,node scripts/check-changeset-no-major.mjs --base origin/main,node scripts/check-adr-0087-registration.mjs --base origin/main,pnpm check:nul-bytes,pnpm check:doc-authoring,pnpm check:issue-citations,pnpm check:published-files. The readings below are on9e163110.node scripts/pm/dispatch-gates.mjs --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, exit 3 (a prerequisite refusal, not a finding):pnpm check:dual-build-cjs-loads(reads every package'sdist/). CI runs it.node scripts/check-skills-token-ratchet.mjs, exit 0:60 authored bundle file(s) within their ceilings;SKILL.md7045 / 7045 (+0),examples-flows.md1543 / 1543 (+0),integration-recipes.md2595 / 2595 (+0); the eval fixture reads 7147 tokens, not ratcheted.pnpm --filter @objectstack/spec run check:skill-examples, under the verify lock,VERDICT command-exit 0:349 prose examples type-check across 3 surface(s).check:skill-docs,check:skill-refs,check:skill-served-sections,check:skill-links,check:skill-identifier-liveness: exit 0, inside the 95.VERDICT command-exit 0,Tests 1 passed (1); the readings are in Tests above.9e163110: 58success, 11skipped, none failed or pending;Lint & Repo Gates,TypeScript Type Check,Test Core,Build Core,Check Changeset,Governed Surface Queue Guard,Dogfood Regression Gate:success.Gate and harness readings (first round, head ec3822d)
f46ce5b4text):TOTAL examples judged: 25 · skipped (no flow shape): 10 · findings from the ten rules on shapes the text offers: 13 · on shapes the text itself names as warned or refused: 0 · registry size: 78.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 · registry size: 78. One fewer judged: the reads-nothing refusal spelled a cron twice (a bare string and an object) and now spells it once.SKILL.mditem 4 (2 errors:flow-condition-option-label,flow-node-write-unknown-option);integration-recipes.mdrecipe 1 (2, the block and its cron); the README (4: the example block, its cron, the table's bare string and its normalized form); the two showcase comments (2); the refusal file (3). The other 11 areflow-schedule-timezone-missingwarnings.node scripts/pm/dispatch-gates.mjs --ran:96 derived famil(ies) accounted for — 93 run, 3 NOT-MEASURED (3 DERIVED from a recorded exit 3). The 93 exited 0.node scripts/check-plugin-teardown-shape.mjs --self-test(needs an unshallowed clone),pnpm check:dual-build-cjs-loads(reads every package'sdist/),pnpm check:i18n-coverage(needs the workspace CLI built). CI runs all three.node scripts/check-skills-token-ratchet.mjs, exit 0:60 authored bundle file(s) within their ceilings; the three automation files print7045 / 7045 (+0),1543 / 1543 (+0),2595 / 2595 (+0).pnpm --filter @objectstack/spec run check:skill-examples, exit 0:349 prose examples type-check across 3 surface(s). Its first run refused with exit 3 (the client packages were not built); it passed afterpnpm --filter '@objectstack/client-react...' build.pnpm --filter @objectstack/spec check:generated, exit 0:All 14 generated artifacts are up to date.VERDICT command-exit 0:pnpm --filter @objectstack/spec build, thenvitest run src/automation/flow-start-config-refusals.test.ts src/automation/flow.test.ts(Test Files 2 passed (2),Tests 157 passed (157)), thenpnpm --filter @objectstack/spec typecheck.test:repo, the example app's own tests (two comments changed there), the full dogfood battery (no!title, no narrowing arm).Seat-written open. Seat
repo:objectstack#4(os-justin,session_01QSeKYpEsWWE9Y5YtSsDgqZ) opened this draft on the maintainer's ruling in the seat session, verbatim 「一选1+」 (2026-11-24): option 1+ — the seat performs only the writes the dev session's permission classifier refused, each checked against the branch; pull requests stay draft; no standing allow rule is added. Refused in dev sessionsession_01QSeKYkHoFSRK5JsuPYqbtc, twice, reason[Undermining Oversight]:node scripts/pm/fleet-write/dispatch.mjs --repo objectstack-ai/objectstack --actions-file FILEcarrying this onepr_create. Title and body above are the dev's text, unchanged; branch head checked atec3822d6(2 commits onf46ce5b4, 8 files).Patch round 1 (head
ed201b70): built by a seatos-devsubagent in seat sessionsession_01QSeKYpEsWWE9Y5YtSsDgqZon the L1 REWORK and contract review ofec3822d6; this body was rewritten by that round and sent by the seat (os-dev.md: PR body edits afterpr_createare the seat's). Report: comment 7129961596 on #36718.Generated by Claude Code