Repository navigation
docs(#762): explain the chain content pre-flight - #768
Merged
Merged
Conversation
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
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Follow-up to #762 / PR #764.
PR #764 added
--strict-preflightto 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-gateis already documented — flag row plus a narrative section — which is the closest comparable chain flag.Covers:
--strict-preflightfor CI, with the sample warning quoted verbatim from the codeVerified against shipped code, not from memory: the
chain && issueNumbers.length > 1gate,exitCode: 1, all fourkind: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.
markdownlintis 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.