Skip to content

fix(lint): say when an unconditional out-edge beside guarded ones runs - #39020

Merged
os-zhuang merged 2 commits into
mainfrom
claude/issue-38992-unconditional-sibling-wording
Dec 2, 2026
Merged

os-zhuang merged 2 commits into
mainfrom
claude/issue-38992-unconditional-sibling-wording

Conversation

@objectstack-fleet

@objectstack-fleet objectstack-fleet Bot commented Dec 2, 2026 •

Copy link
Copy Markdown
Contributor

Fixes #38992
Clause-②: no
Metadata-protocol: none

维护者速读

  • 用户能看到什么变化:写流程的作者(含 AI)在自动化技能文档和两条校验提示(含各语言的通俗说明)里,原先读到「没有条件的连线会和带条件的分支并行执行」;现在读到的是「它在带条件的分支跑完之后才执行,如果那条分支停下来等人(比如审批),它就永远不会执行,而且这种写法保存时会被拒」;只改文字,校验规则何时触发、报什么级别都不变。
  • 为什么做:属于「流程分支遇到暂停会丢掉后续连线」这组修复的收尾,替照着文档写流程的作者纠正一个教错的执行模型。
  • 出错会怎样:最坏情况是新措辞仍有不准确之处,作者读到的说明有偏差;不影响任何流程的运行结果,可以直接撤回这次改动。
  • 要你做什么:无。

What changes

Words only. The rules flow-decision-unconditional-branch and flow-multiple-default-edges keep their ids, their severity (advisory), their trigger conditions and their hints; no test assertion changed. Patch round 1 folded the rest of the family into this PR: the plain-language text in every locale, the flow-multiple-default-edges wording and the skill's eval answer.

Checked against traverseNext in packages/services/service-automation/src/dag-traversal.ts at origin/main 2f9a68c:

  • conditioned out-edges are awaited one by one in declaration order; on a decision without mode: 'inclusive' only the first whose condition holds is taken;
  • isDefault edges are taken next, only when no condition held, each awaited before the next;
  • unconditional out-edges are taken last, together (Promise.all);
  • a step that parks the run throws the suspend signal out of that awaited call, so the buckets after it are not reached, and the resume continues from the parked step's own out-edges (run-resume.ts), not from this node.

So an unconditional sibling runs after the guarded branch, concurrently only with other unconditional siblings, and never once a guarded branch parks the run, the shape the flow schema refuses since PR #38970.

Where Before After
skills/objectstack-automation/references/state-machines-and-approvals.md, the bullet above the approvals example "the engine evaluates each out-edge's condition and follows every match — and an out-edge with NO condition ALWAYS runs (all such edges execute in PARALLEL)" "a decision takes the FIRST out-edge whose condition holds. One with none runs AFTER it, every pass, or never if that branch parks the run (refused at save)"
packages/lint/src/lint-flow-patterns.ts, the message for a decision with guarded and unconditional out-edges "traversed on EVERY pass, in parallel with whichever guarded branch matched" "traversed on EVERY pass, after whichever guarded branch matched has run", then one parenthesised sentence: where that guarded branch parks the run the unconditional out-edge is never taken, and the flow schema refuses the flow
same file, docblock item (2) "in parallel with whichever branch did match" the order above, and the one pass on which the edge is not traversed
packages/lint/src/lint-flow-patterns.test.ts, the comment above the first flow-decision-unconditional-branch test "traversed on every pass — the abort screen AND the wizard behind it" taken after the guarded branch; with the fixture's screen the run parks and the edge is never taken; the rule reads edges only and reports either way
packages/lint/src/lint-flow-patterns.user-text.ts, the plain-language text of flow-decision-unconditional-branch for the same shape, all eleven locales the file carries: en, zh-Hans, zh-Hant, es, ar, fr, pt-BR, ru, de, ja, ko en "runs every time, alongside whichever path matched"; the others "together with" or "at the same time as" the path that matched en "runs every time, after whichever path matched"; each other locale's own word for "after", nothing else in the sentence touched
packages/lint/src/lint-flow-patterns.ts, flow-multiple-default-edges, message and docblock item (4) "All of them are traversed together when no condition matches, which is a parallel fan-out, not an "otherwise"" "All of them are traversed when no condition matches, one after another in declaration order, which is a fan-out, not an "otherwise""
skills/objectstack-automation/evals/flows-triggers-approvals.json, the expected answer of the onboarding-wizard case "an unguarded out-edge always runs, in parallel" "an unguarded out-edge is no otherwise-branch: it runs after the guarded one, or never once that one parks at its screen, a shape the flow schema refuses"

The skill's example is consistent with the new sentence: e4 and e5 both carry a condition, needs_director is a decision with no mode, and e4 reaches an approval.

Skill size readings (lines are the measure; bytes and tokens beside them):

  • the changed file, before and after: 388 lines, 23708 bytes, 5927 tokens (its ceiling is 5927, so the edit had to be byte-neutral, and it is);
  • the eval fixture, before and after: 463 lines; 29548 bytes before, 29656 after. Eval fixtures are measured by the token ratchet and not ratcheted;
  • the whole bundle, all 14 SKILL.md files, before and after: 2143 lines, 121249 bytes. No SKILL.md is touched.

Changeset: @objectstack/lint patch (the message text is in packages/lint/dist, four bundles) and @objectstack/skills patch (the package that publishes skills/**).

Tests

At head ba1ad6c:

  • pnpm --filter '@objectstack/lint...' build: exit 0.
  • pnpm --filter @objectstack/lint test: exit 0, Test Files 259 passed (259), Tests 10287 passed (10287).
  • pnpm --filter @objectstack/lint typecheck: exit 0.
  • No ablation: no tested behaviour changed. The one pin on this message, toContain('EVERY pass'), still holds on the new text.

Acceptance notes

  • Locales: all eleven were rewritten; none is left out. Each change swaps one connective for the locale's "after", so a native reader's pass over the ten non-English sentences is worth having at review.
  • Review owed: skills/** is a governed surface shipped to third parties, so this PR needs a contract-tier review of record on its head before it lands. Nobody is requested by this PR.
  • The skill sentence also said the engine "follows every match". For a decision that is wrong since decisions became exclusive by default, and it sits in the same sentence, so it is corrected with it.
  • The same wording outside the widened file surface, not edited here:
    • packages/services/service-automation/src/builtin/decision-branch-routing.test.ts line 329, a test comment describing past behaviour: left as is by the dispatch order.
    • packages/spec/src/automation/flow.zod.ts near line 1036, the isDefault docblock: "ran on every pass, alongside whichever branch actually matched", also describing past behaviour.
  • Read and left as correct: the other "in parallel" lines in lint-flow-patterns.ts (the fault-handler rule, and the message for a decision that gates no out-edge) and content/docs/automation/flows.mdx speak of unconditional out-edges among themselves, which do run together.
  • Local gates: the 83 commands dispatch-gates --commands derives for this diff; 78 exit 0, among them check-skills-token-ratchet, check:skill-links, check:skill-frame-sync, check:skill-identifier-liveness, check:skill-compatibility, check:skill-refs, check:skill-served-sections, check:doc-authoring, check:nul-bytes and check-empty-changeset. NOT MEASURED locally, left to CI: check:dual-build-cjs-loads and check:lean-entry-closure (exit 3, prerequisite builds of packages this diff does not touch), and check-comment-mask-corpus, check:query-options-erasure and check:type-check-debt (stopped at the per-command cap (150 s, then 180 s) of the local loop on a shared box). dispatch-gates --ran: 83 derived, 78 run, 5 NOT-MEASURED, 0 unrun.

Verification

Read first, by risk:

  1. skills/objectstack-automation/references/state-machines-and-approvals.md, the one changed bullet: every clause against traverseNext.
  2. packages/lint/src/lint-flow-patterns.ts, the message hunk near line 1520: the parenthesised sentence on the branch that parks the run.
  3. packages/lint/src/lint-flow-patterns.user-text.ts: the ten non-English sentences.

Two-minute check: pnpm --filter @objectstack/lint exec vitest run --maxWorkers=2 src/lint-flow-patterns.test.ts passes, and git diff origin/main...HEAD --stat lists six files with no change outside comments, message strings, one skill bullet, one eval answer and the changeset.


Generated by Claude Code

The flow-decision-unconditional-branch message, its docblock and the
automation skill said the unconditional sibling runs in parallel with the
guarded branch. traverseNext awaits the conditioned out-edges in
declaration order, then an isDefault one when none held, and only then
takes the unconditional out-edges together; a guarded branch that parks
the run leaves them untaken. Words only: the rule's verdict, id and
trigger are unchanged.

Claude-Session: https://claude.ai/code/session_01QSeKYnrQ7UMtHofKQVjcH2
Co-authored-by: Claude <noreply@anthropic.com>
@github-actions github-actions Bot added size/s documentation Improvements or additions to documentation tests tooling Fix lands in tooling, not a product package — enters pm:queue only with Unblocks: or a named surface labels Dec 2, 2026
@github-actions

github-actions Bot commented Dec 2, 2026 •

Copy link
Copy Markdown
Contributor

📓 Docs Drift Check

2 anchor(s) derived from 1 changed package(s); no hand-written page names any of them, so this run has nothing to list — not a clean bill of health. This check sees only pages that NAME a derived anchor: one that documents this change in prose, or enumerates it in an authoring dialect, names none and stays invisible to it on every run.

What this run could not see
  • the SDK route bridge reached 71 of 254 client-bound route-ledger rows — the other 183 have no registrar path: tail to select them, so pages documenting THEIR client methods cannot appear above, on this or any run. Of those 183: 0 are remediable by widening that discovery convention (an in-repo file declares the path; the convention did not scan it); 59 are structural — on a ledger where NOT ONE row is declared in-repo, so no discovery change reaches them at any price; 124 are undecided (no in-repo declaration, on a ledger that has other in-repo registrars — absence and an unreadable spelling are not distinguishable here). The rows themselves: node scripts/docs-audit/affected-docs.mjs --bridge-coverage
  • a page that states a rule by its inputs shares no identifier with the emitter that implements the rule, so an emitter-only diff cannot list it — not on this run and not on any run. Measured on fix(driver-sql): emit varchar(maxLength) for a text field a declared index keys on #11430: content/docs/protocol/objectql/types.mdx documents the text-family column mapping by the ObjectQL type names it maps FROM (text / textarea / html) while the diff changed createColumn; it went unlisted, and it was the page that diff falsified, in four places. No shared token exists to detect this on, so a rule your change carries has to be re-read by hand in the pages that restate it.
  • a key NAME is not a key, so the hand re-read the line above prescribes can land on the wrong schema. The same spelling is authorable on one governed type and a [REMOVED] tombstone on another for each of active, aria, joins, objects, template, tools and version (censused on [finding] tools is a key on BOTH AgentSchema (tombstoned, dead) and SkillSchema (live, cloud-attested), so a name-based search attributes skill examples to the agent key — it produced a false stop-the-line alarm on PR #19059 #19093 over the liveness ledger's governed types, top-level keys); nothing in a search result distinguishes the two, so a grep hit on a LIVE example reads as evidence about the DEAD key. Measured on fix(spec): the agent.tools liveness row says dead — it claimed live on a key the schema tombstoned #19059: content/docs/ai/agents.mdx was reported as contradicting the agent.tools tombstone over its tools: example at :161, which is inside the defineSkill({ block opened at :155 — the page was already correct. Settle ownership by PARSING the value against both schemas, never by the name: that literal PASSES SkillSchema, and as an AgentSchema it FAILS at tools with the tombstone prescription. ⛔ These names are not the whole class — a key retired through a .strict() guidance map leaves no tombstone in the walked shape and none of them here (tool.category, live as AIToolDefinition.category).

Coarse fallback — 4 page(s) merely mention a changed package (the pre-#9192 predicate, kept for the deliberately-wide backstop): node scripts/docs-audit/affected-docs.mjs --json 2f9a68cfa184eaa7e77616df03654233ddd9f9f9 → packageMentionDocs.

Which tree this was computed on

This run read content/docs from 740f3a8413842d2a359f90a70ce9a9c05e7a81f5 — the merge of head ba1ad6ce0bbcd6d59dba3bd732d790ea8af5828d into base 2f9a68cfa184eaa7e77616df03654233ddd9f9f9, which is what actions/checkout gives a pull_request run. Not the PR head.

A worktree cut from an older main holds a different content/docs, so re-deriving there can legitimately return a different list — that is a different tree, not a wrong row. To answer on the same tree:

# while this PR is open — GitHub drops the merge commit once it closes
git fetch origin 740f3a8413842d2a359f90a70ce9a9c05e7a81f5 && git checkout 740f3a8413842d2a359f90a70ce9a9c05e7a81f5
# afterwards, rebuild it from the two parents, which stay fetchable
git fetch origin 2f9a68cfa184eaa7e77616df03654233ddd9f9f9 ba1ad6ce0bbcd6d59dba3bd732d790ea8af5828d && git checkout -B drift-repro 2f9a68cfa184eaa7e77616df03654233ddd9f9f9 && git merge --no-ff ba1ad6ce0bbcd6d59dba3bd732d790ea8af5828d

node scripts/docs-audit/affected-docs.mjs --json 2f9a68cfa184eaa7e77616df03654233ddd9f9f9

⚠️ That checkout carried uncommitted changes, so the commit above does not fully identify what was read.

The plain-language text of flow-decision-unconditional-branch in its
eleven locales, the flow-multiple-default-edges message and docblock, and
the automation skill's onboarding-wizard eval answer: an unconditional
out-edge runs after the guarded branch, and default edges are taken one
after another. Words only.

Claude-Session: https://claude.ai/code/session_01QSeKYnrQ7UMtHofKQVjcH2
Co-authored-by: Claude <noreply@anthropic.com>
@objectstack-fleet

Copy link
Copy Markdown
Contributor Author

repo:objectstack@os-justin · os-justin · session_01QSeKYnrQ7UMtHofKQVjcH2

Contract-review-claim: session_01QSeKYnrQ7UMtHofKQVjcH2 · head ba1ad6c · 2026-12-02T03:08Z

@objectstack-fleet

Copy link
Copy Markdown
Contributor Author

repo:objectstack@os-justin · os-justin · session_01QSeKYnrQ7UMtHofKQVjcH2

Contract review

Served-tier: CONTRACT_REVIEW_TIER
Head-sha: ba1ad6ce0bbcd6d59dba3bd732d790ea8af5828d
Local-runs: none
Scope: skills/objectstack-automation/evals/flows-triggers-approvals.json, skills/objectstack-automation/references/state-machines-and-approvals.md + packages/lint/src/lint-flow-patterns.ts, packages/lint/src/lint-flow-patterns.user-text.ts, packages/lint/src/lint-flow-patterns.test.ts, .changeset/38992-unconditional-sibling-wording.md
Security-touching: no

PR #39020 (card #38992), draft, author account objectstack-fleet[bot], base main at 2f9a68c (the merge base), six files, +58 −26. Read-only review: the diff, the card and its thread (claim 7332395998, dev reports 7332979532 and 7333553130), the engine and the spec at current main (363c967), and the head's check-runs. Nothing was built, run or re-run locally. Result: no must-fix, no should-fix, five nits.

① Derived judgments

  • Face and tier. record-recognisers.mjs --template --paths over the six files returns the two skills/** paths as hits (governed rules text, shipped to third parties), so the tier is CONTRACT_REVIEW_TIER and ① to ④ are owed. No packages/spec/src/** file and no .claude/** file is in the diff (the filled template prints no rule-change line).
  • Words only, confirmed by reading every hunk. lint-flow-patterns.ts: two docblock passages and the text inside two message template literals; the rule constants, the rule: fields, the absence of a severity key (both stay advisory), the gated / ungated / defaults filters and both hint strings are untouched. lint-flow-patterns.user-text.ts: only the text inside the mixed arm of eleven template literals; the none arms, targetList and the catalog keys are untouched. lint-flow-patterns.test.ts: one comment, no assertion. Skill file: one bullet. Eval: one expected_output string; prompt and assertions untouched.
  • File surface. Every changed path is on the claim's widened file surface (7332395998); nothing outside it.
  • Main since the base. git log 2f9a68cfa1..origin/main over packages/services/service-automation, packages/spec/src/automation, packages/lint and skills is empty, so the engine and spec read below are the ones the dev read; GitHub reports the PR mergeable, state clean.
  • Check-runs on this head: 76 runs, 61 success, 15 skipped, none failing or pending (Test Core 1 to 12, Lint and Repo Gates, Check Changeset, Type Check workspace, Governed Surface Queue Guard among the green).
  • Skill size. state-machines-and-approvals.md is 388 lines and 23708 bytes at the base and at the head; ceil(23708 / 4) = 5927, its ceiling in scripts/check-skills-token-ratchet.mjs (untouched). The eval fixture goes 29548 to 29656 bytes; evals/** is measured and not ratcheted. No SKILL.md is touched.

Commands, all read-only, with exits:

  • gh api repos/objectstack-ai/objectstack/pulls/39020: exit 0 (head as above, draft, mergeable clean).
  • git -C /home/user/objectstack fetch origin claude/issue-38992-unconditional-sibling-wording: exit 0, FETCH_HEAD equals the head above.
  • git fetch origin main: exit 0, origin/main 363c967; git merge-base: exit 0, 2f9a68c.
  • git diff --stat and git diff merge base to head: exit 0.
  • git merge-tree --write-tree origin/main with the head: exit 0 (no conflict).
  • git show origin/main: for dag-traversal.ts, run-resume.ts, builtin/logic-nodes.ts, flow-concurrent-pause.ts, flow.zod.ts, the migration entry 19.flow-sequential-branch-durable-pause-refused.ts, .changeset/38875-conditioned-edge-pause-drop.md: exit 0.
  • git show at the head for the six changed files, rule-explanations/flow-anti-patterns.ts, content/docs/automation/flows.mdx: exit 0.
  • git grep at the head over skills/**, content/docs/**, packages/lint/src/**, packages/spec/src/automation/** for the old sentences and for "in parallel", "alongside", "together", isDefault, inclusive: exit 0.
  • node scripts/pm/record-recognisers.mjs --template from /home/user/objectstack-issue-38578: exit 0; the same with --paths and the six files: exit 0.
  • gh api for the head's check-runs, issue 38992 and its comments, the PR's comments and reviews: exit 0 each.
  • grep -rl for the isDefault docblock sentence in an existing local build under /home/user/objectstack-issue-38578/packages/spec/dist: exit 0.

② Semver level

  • @objectstack/lint patch: right. The two message strings and the eleven-locale catalog ship in the package's bundles; no id, severity, trigger, hint, export or type changes.
  • @objectstack/skills patch: right. packages/skills is the package that publishes skills/**; a corrected sentence and a corrected eval answer are a patch.
  • Clause-②: no and Metadata-protocol: none on the PR body and the changeset: right. No accepted input and no output contract moves; the refusal the new text points at landed with PR fix(spec)!: refuse a flow node that takes a branch which parks the run before its other out-edges #38970 and is not changed here.
  • The changeset's own account of the engine order and of the refusal (flow-sequential-branch-durable-pause-refused, refused at save) matches the code read in ④.

③ Boundary flags

  • open_questions: empty in both dev reports. Nothing to answer.
  • Round 0 out-of-scope items (the eval answer, the plain-language text in every locale, the flow-multiple-default-edges message and docblock): folded into this PR in patch round 1 under the widened claim. All three are in the diff and judged in ④.
  • packages/spec/src/automation/flow.zod.ts near line 1036, the isDefault docblock ("ran on every pass, alongside whichever branch actually matched"): judged NOT shipped text a reader acts on, and rightly left. It is past-tense history of the time before A decision node has three declared ways to route a branch and two of them do nothing — app-crm's convert-lead guard runs both branches #4414, when the marker had no reader; "alongside" there means "as well as" and asserts no concurrency. It is a source comment: it reaches the published JS chunks as comment bytes (found in two chunk files of an existing local build) but no .d.ts, and it is not the key's .describe() text, which is what the generated reference and the JSON schema carry and which says only "traverse this edge only when no sibling conditional edge of the same source node matched". Editing it here would also put a packages/spec/src/** file into a words-only PR. It can be tidied the next time that docblock is touched; no card is needed.
  • packages/services/service-automation/src/builtin/decision-branch-routing.test.ts line 329: a test comment describing the same past behaviour, unshipped; left as the dispatch order says. Agreed.
  • Other shipped "in parallel" wording, read and correct, so correctly not edited: lint-flow-patterns.ts lines 631, 1187 and 2748 (an error-labelled ordinary edge is an unconditional out-edge and those run together), line 1498 (the none arm: every out-edge is unconditional, taken under Promise.all), content/docs/automation/flows.mdx lines 2118 and 2258 (the unconditional fan-out), flow.zod.ts line 1030 (same). flows.mdx lines 2136 to 2143 already carry the corrected model in the same words as this PR (taken on every pass after the conditioned edges are done; with abort a screen the run parks and e_no is never taken, so the schema refuses it). The os explain entry for flow-decision-unconditional-branch makes no concurrency claim. No copy of any of the old sentences remains outside the changeset's own before-and-after quotes.
  • Out of scope, pre-existing, for the seat to card or drop: the mixed message says the unconditional out-edge is traversed on EVERY pass, and that is not so for a decision that also declares config.conditions[] with a label an out-edge claims. There the executor returns that label (builtin/logic-nodes.ts), traverseNext narrows the out-edges to the ones carrying it, and an unlabelled or differently labelled unconditional sibling is not taken on that pass; it is taken only when no declared condition matches and nothing claims default. The lint's ungated filter still reports that sibling. This PR keeps the two words "EVERY pass" as they were and changes only what follows them.
  • SQL push-down: no data access in the diff. Nothing to flag.
  • Security: the changed words describe traversal order only. The eval line also contains runAs: 'user', byte-identical before and after. The security line in the header reads no on that basis: no changed hunk teaches permission, sharing, credential, token or authentication behaviour.
  • Author account is the fleet bot; no off-relay author to name.

④ Design judgment

The engine at main 363c967, as read:

  • traverseNext (dag-traversal.ts) sorts a node's non-fault out-edges into three buckets by condition, else isDefault, else unconditional. Conditioned edges run in a for loop over the edges array order, each await this.executeNode(...); on a decision without mode: 'inclusive' the first edge whose condition holds is taken and later ones are recorded skipped unevaluated. isDefault edges run next, only when no condition held, again one await per edge in the same loop order. Unconditional edges run last, mapped to executeNode calls and awaited under Promise.all.
  • executeNode throws FlowSuspendSignal when the node asks to suspend ("Traversal of this node's out-edges happens on resume, not now"); nothing in traverseNext catches it, so the buckets after the awaited call are never reached. executeNode awaits the successor's own traverseNext, so a pause anywhere down the guarded branch unwinds the same way.
  • The resume (run-resume.ts) calls this.traverseNext(node, ...) on the parked node itself (or re-runs a map node) and then collects outputs. It never re-enters the node whose traversal was unwound.
  • PR fix(spec)!: refuse a flow node that takes a branch which parks the run before its other out-edges #38970 (merged, 1095535): sequentialPauseRefusals in flow-concurrent-pause.ts, called from the flow parse, refuses a conditioned or isDefault edge whose branch reaches, on any path, a screen, wait, approval or approval_revise node when an unconditional sibling (or a later awaited edge) comes after it, on any node, an exclusive decision included. An exclusive decision's conditioned siblings are accepted. subflow / map children that pause and plugin pausing types are not judged by the parse. The refusal fires at os validate, the metadata save (draft or active), publish and registerFlow.

skills/objectstack-automation/references/state-machines-and-approvals.md (hit). New bullet: "a decision takes the FIRST out-edge whose condition holds. One with none runs AFTER it, every pass, or never if that branch parks the run (refused at save)."

skills/objectstack-automation/evals/flows-triggers-approvals.json (hit), case 4. The prompt asks for a wizard whose "yes" branch goes to a credit-check screen. The new parenthesis ("an unguarded out-edge is no otherwise-branch: it runs after the guarded one, or never once that one parks at its screen, a shape the flow schema refuses") is true of the engine and is exactly the prompt's shape: the guarded edge targets a screen, so an unguarded sibling is the refused spelling. The expected answer still tests what the prompt asks (a screen flow, a decision with mutually exclusive conditioned out-edges, create_record, variables, every path to an end), and two conditioned out-edges on an exclusive decision are accepted by the parse. assertions unchanged.

packages/lint/src/lint-flow-patterns.ts (implements what the skill teaches).

  • flow-decision-unconditional-branch, mixed message: "traversed on EVERY pass, after whichever guarded branch matched has run" is true for an edge-routed decision, the inclusive case and the isDefault-only case included (both awaited before the unconditional bucket). The added parenthesis is true and correctly scoped: it is conditional on that branch parking, it names the first-party pausing types, and the parse refuses exactly that shape.
  • Docblock item (2): every clause matches the code (conditioned in declaration order, then an isDefault one when none held, then the unconditional ones together; the pause unwinds; the resume does not come back; the schema refuses).
  • flow-multiple-default-edges, message and docblock item (4): "one after another in declaration order ... a fan-out" is true (the default bucket is a for loop with one await per edge); the old "traversed together ... a parallel fan-out" was false.
  • Verdicts, ids, severities, triggers and hints: unchanged, per ①.

packages/lint/src/lint-flow-patterns.user-text.ts (same claim, plain language). English: "runs every time, after whichever path matched". I read each of the ten other sentences against it:

  • zh-Hans "因此每次运行都会走这条连线,排在条件成立的那一条之后" and zh-Hant "因此每次執行都會走這條連線,排在條件成立的那一條之後": every run takes this edge, placed after the one whose condition holds. Same meaning, reads naturally.
  • es "se recorre siempre, después del que haya coincidido": same meaning, natural; the article agrees with "camino".
  • ar "يُسلك هذا المسار في كل مرة بعد المسار الذي تحقق شرطه": taken every time after the path whose condition held. Same meaning, natural.
  • fr "est suivi à chaque fois, après celui dont la condition est vraie": same meaning, natural.
  • pt-BR "é percorrido sempre, depois daquele cuja condição foi atendida": same meaning, natural; the contraction across the line join is right.
  • ru "выполняется каждый раз, после того, чьё условие выполнилось": same meaning, grammatical.
  • de "läuft dieser Pfad jedes Mal, nach dem Pfad, dessen Bedingung zutrifft": same meaning, natural.
  • ja "条件が一致した経路の後に毎回実行されます": same meaning, natural.
  • ko "조건이 맞은 경로 다음에 매번 실행됩니다": same meaning, natural.

No locale drops or adds a clause, none still says "together with" or "at the same time as", and the rest of each sentence (names, the fix) is untouched.

packages/lint/src/lint-flow-patterns.test.ts: the comment is true of the fixture (abort is a screen, e_yes is conditioned, e_no is unconditional) and of the rule, which reads edges only.

Findings.

Must-fix: none.

Should-fix: none.

Nits (no effect on correctness or the contract; all five are accepted deviations or optional follow-ups):

  1. Skill bullet, compression. "One with none" does not set an isDefault edge apart (no condition, yet taken only when none held), and the first sentence does not mention mode: 'inclusive'. The automation bundle teaches neither key (no occurrence of isDefault or inclusive under skills/objectstack-automation at the head), the old sentence had the same gap, and the file sits at its token ceiling with no headroom. "(refused at save)" leans on the reader to attach it to the unconditional sibling beside the parking branch; the example directly below, where e4 parks and is accepted, keeps that reading.
  2. "(refused at save)" in the skill is unqualified for a pause reached through a subflow or map child, or a plugin pausing type: there the unconditional edge is still dropped at run time, and the parse does not refuse it. The lint message (approval, screen, wait) and the eval (its screen) are scoped and exact.
  3. The plain-language text in all eleven locales and the flow-multiple-default-edges message give the order without the one exception the developer message and the skill carry (a branch that parks leaves the later edges untaken). Both are true of every flow the parse accepts, short of the corner in nit 2, and the user-text file's header reserves that detail for the developer message.
  4. Locale polish, meaning unaffected: ru "после того, чьё условие выполнилось" can be momentarily read toward the conjunction "после того как", and "после пути, чьё условие выполнилось" avoids it; zh "排在…之后" states the order, where "在条件成立的那一条走完之后" would also say that the first one has finished; the comma before "nach" in de is carried over from the old sentence.
  5. "an approval, a screen, a wait" omits approval_revise, the fourth type the parse judges; it reads as part of the approval family.

The pre-existing "EVERY pass" inexactness for a decision that mixes config.conditions[] labels with edge conditions is recorded under ③ as out of scope, not as a finding on this diff.

Implemented-by: claude/issue-38992-unconditional-sibling-wording
Reviewed-by: session_01QSeKYnrQ7UMtHofKQVjcH2

VERDICT: PASS

@objectstack-fleet

Copy link
Copy Markdown
Contributor Author

repo:objectstack@os-justin · os-justin · session_01QSeKYnrQ7UMtHofKQVjcH2

L1 ACCEPT · PR #39020 (#38992) · head ba1ad6ce0bbcd6d59dba3bd732d790ea8af5828d · read 2026-12-02T03:17Z

席位核对 · ACCEPT

ACCEPT · repo:objectstack@os-justin · head ba1ad6ce0bbcd6d59dba3bd732d790ea8af5828d

  1. Shape. Draft, base main, Fixes #38992 first; branch matches the claim (7332395998, widened in place for the same-family texts). PR body PATCHed by the seat after round 1. Built at the mandated tier (skills/**).
  2. Premise measured. The automation skill, an eval's expected output, the flow-decision-unconditional-branch message and its plain-language text, and the flow-multiple-default-edges message said guarded and unconditional siblings (or two default edges) run "in parallel"; the engine's traverseNext awaits conditioned edges in declaration order, then default edges one after another, then unconditional edges together, and never returns to the node once a branch parks. Words only: rule ids, severities, triggers and hints unchanged; the skill file byte-neutral at its token ceiling.
  3. Gates (check-runs at this head). 61 success · 15 expected skip · 0 failed. Dev's local: lint 259 files / 10,287 tests (incl. the every-locale user-text render), typecheck, every skill gate exit 0. L2 at CONTRACT_REVIEW_TIER: PASS 7333722587 on this head — every rewritten sentence checked against traverseNext, the resume continuation and PR fix(spec)!: refuse a flow node that takes a branch which parks the run before its other out-edges #38970's refusal; all ten non-English sentences say the same as the English one; no must-fix, no should-fix.
  4. Accepted deviations. Nits carried (record 7333722587): skill bullet compression; "(refused at save)" unqualified for subflow / map / plugin pauses (flows: a fan-out to an approval and a subflow whose child pauses loses the parent branch continuation (the subflow branch never resumes) #38876 covers the run-time half); the user text and flow-multiple-default-edges omit the park exception; ru / zh / de polish; approval_revise not named.
  5. Out of scope. The mixed-arm message's "EVERY pass" is inexact when a decision also declares config.conditions[] and a claimed label narrows the out-edges (the unconditional sibling is not taken on that pass) — predates this PR; recorded by the reviewer, not filed. flow.zod.ts ~1036 docblock (past-behaviour prose, not in .d.ts or .describe()) rightly left.
  6. Landing. Governed: 2 of 6 paths hit the register (skills/**); the low-risk skills arm does not apply (lint paths and an @objectstack/lint patch ride along), so Tier H — the maintainer approves. +58/−26; git merge-tree against current main clean. Hand-off follows; the seat does not enqueue.

Clause-②: no · Metadata-protocol: none

@objectstack-fleet objectstack-fleet Bot added the pm:awaiting-merge PR only: landing waits on the maintainer's own review and merge (SKILL.md 复核 ②); never on an issue label Dec 2, 2026
@objectstack-fleet

Copy link
Copy Markdown
Contributor Author

repo:objectstack@os-justin · os-justin · session_01QSeKYnrQ7UMtHofKQVjcH2

维护者速读

  • 是什么:自动化技能文档、一条技能评测的期望答案、两条 lint 提示(含 11 种语言的白话文本)都说"无条件分支和带条件分支并行执行 / 两条默认边并行"。引擎实际是先逐条跑带条件的分支、再逐条跑默认边、最后才一起跑无条件分支;前面的分支一旦挂起,后面的永远不跑(fix(spec)!: refuse a flow node that takes a branch which parks the run before its other out-edges #38970 已在发布时拒绝这种写法)。本 PR 只改文字,规则、级别、触发条件都不变。
  • 为什么要你批:改了对外发布的 skills/**,同时带了 lint 包的文字改动,不符合"低风险技能改动可由席位落地"的条件,属 Tier H。
  • 风险:低。纯文字;契约档复审 PASS(逐句对照引擎、十种外语逐句核对含义一致);CI 61 项全绿;lint 10,287 个测试全过。
  • 要你做什么:审批本 PR,head ba1ad6ce0bbcd6d59dba3bd732d790ea8af5828d;契约复审 PASS 评论 7333722587,席位 ACCEPT 见本评论上一条。

Head-sha: ba1ad6ce0bbcd6d59dba3bd732d790ea8af5828d

@objectstack-fleet
objectstack-fleet Bot requested a review from os-zhuang December 2, 2026 03:18
@os-zhuang
os-zhuang marked this pull request as ready for review December 2, 2026 03:25
@os-zhuang
os-zhuang added this pull request to the merge queue Dec 2, 2026
@github-merge-queue
github-merge-queue Bot removed this pull request from the merge queue due to failed status checks Dec 2, 2026
@objectstack-fleet

Copy link
Copy Markdown
Contributor Author

repo:objectstack@os-justin · os-justin · session_01QSeKYnrQ7UMtHofKQVjcH2

Queue kick, recorded · 2026-12-02T03:38Z · PR #39020 dequeued (CI_FAILURE) from group gh-readonly-queue/main/pr-39020-444dce61….

Signature: Lint · repo & tooling gates (job 143192300352) → check:closed-ceremony-text died with spawnSync git ENOBUFS reading git ls-files -z -- packages content/docs .changeset. Not this diff's code: that listing is 1,048,565 bytes on main 444dce6, 11 under Node's 1 MiB default buffer, and this PR's one new changeset path crosses it. Every other lane of the group passed or was still running. Filed as #39025 (p1, blocks every PR that adds a path); the fix is being built by this seat now. This PR re-enters the queue once #39025's fix lands — the maintainer's approval stands; the seat asks for the re-enqueue then.

@objectstack-fleet

Copy link
Copy Markdown
Contributor Author

repo:objectstack@os-justin · os-justin · session_01QSeKYnrQ7UMtHofKQVjcH2

Ready to re-enqueue · 2026-12-02T04:45Z · the cause of the dequeue (7334095534), the repo-wide ENOBUFS in check:closed-ceremony-text (#39025), is fixed on main by PR #39027 (merged). This PR's head ba1ad6ce0bbcd6d59dba3bd732d790ea8af5828d is unchanged, still merges cleanly against current main, and its own checks were all green. It is Tier H (skills/** with lint text riding along), and no APPROVED review is on record — the earlier enqueue was the maintainer's — so the seat cannot put it back itself. @os-zhuang — please re-add it to the queue (or approve, and the seat enqueues).

@os-zhuang
os-zhuang added this pull request to the merge queue Dec 2, 2026
Merged via the queue into main with commit ff491c4 Dec 2, 2026
84 checks passed
@os-zhuang
os-zhuang deleted the claude/issue-38992-unconditional-sibling-wording branch December 2, 2026 05:15
@objectstack-fleet objectstack-fleet Bot removed the pm:awaiting-merge PR only: landing waits on the maintainer's own review and merge (SKILL.md 复核 ②); never on an issue label Dec 2, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

documentation Improvements or additions to documentation size/s tests tooling Fix lands in tooling, not a product package — enters pm:queue only with Unblocks: or a named surface

Projects

None yet

3 participants