Skip to content

docs(#762): explain the chain content pre-flight - #768

Merged
admarble merged 1 commit into
mainfrom
docs/762-chain-preflight-narrative
Jul 15, 2026
Merged

admarble merged 1 commit into
mainfrom
docs/762-chain-preflight-narrative

Conversation

@admarble

Copy link
Copy Markdown
Contributor

Follow-up to #762 / PR #764.

PR #764 added --strict-preflight to the two flag tables, which documented the switch but not the behavior. The pre-flight prints up to four distinct warning classes at chain start, and a user seeing one had nowhere to look up what triggered it or whether to act on it.

This adds a Chain Pre-flight section to run-command.md, placed between Chain Mode and Stacked PRs. It follows how --qa-gate is already documented — flag row plus a narrative section — which is the closest comparable chain flag.

Covers:

  • the four warning classes and what fires each
  • warn-by-default framing (advice, not a gate — odd-looking order is often deliberate)
  • why checks run against the typed order, not the dep-sorted one
  • the line-leading marker rule (prose mentions and in-fence examples are ignored)
  • --strict-preflight for CI, with the sample warning quoted verbatim from the code

Verified against shipped code, not from memory: the chain && issueNumbers.length > 1 gate, exitCode: 1, all four kind: values, the fetch-degrade note, and the example warning text matching the message template character-for-character.

On style: table and line-length match the file's existing tables. markdownlint is not wired to CI, and this file already carries 46 MD060 and 37 MD013 violations of the same kind — conforming only this section would make it the one table formatted differently.

Docs-only; no code paths touched.

PR #764 added --strict-preflight to the flag tables, but nothing documented
what the pre-flight actually does. Users see up to four warning classes printed
at chain start with no reference explaining what triggered them or whether to
act.

Adds a "Chain Pre-flight" section to run-command.md next to Chain Mode and QA
Gate Mode, matching how --qa-gate is documented (flag row plus narrative):
the four warning classes and their triggers, the warn-by-default rule, why the
checks run against the typed order rather than the sorted one, the line-leading
marker rule, and --strict-preflight for CI.

Claims verified against the shipped code: the chain && length > 1 gate, exit
code 1, the four warning kinds, the fetch-degrade note, and the sample warning
text quoted verbatim from the message template.

Table/line-length style matches the file's existing tables (markdownlint is not
wired to CI; this file already carries 46 MD060 and 37 MD013 of the same kind).

Entire-Checkpoint: 6331fb4954a3
@admarble
admarble merged commit db51662 into main Jul 15, 2026
5 checks passed
@admarble
admarble deleted the docs/762-chain-preflight-narrative branch July 15, 2026 14:12
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant