Skip to content

chore(assess): sync chain flag references and add chain-resume rule - #812

Merged
admarble merged 1 commit into
mainfrom
chore/assess-chain-flag-references
Jul 26, 2026
Merged

admarble merged 1 commit into
mainfrom
chore/assess-chain-flag-references

Conversation

@admarble

@admarble admarble commented Jul 26, 2026 •

Copy link
Copy Markdown
Contributor

Summary

The /assess skill's chain section had drifted from chain's current behavior. Three fixes, all documentation-only, mirrored across the three skill directories.

Changes

--chain's description predated #748. It said "each branches from previous"; the successor is now rebased onto the predecessor's committed work before it runs.

Two chain flags were undocumented. --stacked (implies --chain) and --strict-preflight (#762) are added as explicitly conditional references, each carrying the reason not to reach for it:

  • --stacked constrains merge order (/merger warns on out-of-order processing) and is manifest-only for 2-issue chains
  • --strict-preflight mostly no-ops here, because assess already routes AC-less issues to ? and blocked issues to ‖ before they can reach a Chain: line

Assess still emits only --chain by default, preserving the section's "suggest-only, never auto-apply" contract. No change to the Chain: output format, annotation ordering, or collision detection.

No rule covered a partially-complete chain — the correctness fix. #760 made the orchestrator compute a chain-correct resume plan from the full issue list. Trimming a Chain: line to just the incomplete links leaves the first one at index 0, where the successor-rebase never fires and it silently builds on main — the #748 bug that resume plan exists to prevent. The new paragraph documents that, plus the contiguous-prefix caveat in chain-resume.ts:108-120 (a complete → incomplete → complete sequence re-executes the trailing link). Commands Block Rule 3 gets a one-clause pointer so the single-issue # resume idiom is not misapplied inside a chain.

Not in scope

--qa-gate needed no work: 0c45b2c already removed it from assess ahead of the #795 deprecation. The remaining references in run-command.md, cheat-sheet.md, git-workflows.md, and chain-mode-analysis-2026-05.md are deliberate deprecation notices and a historical record.

Verification

  • Three mirrors byte-identical; npm run lint:skill-sync reports 42/42 synced
  • npm run lint:skill-calls clean
  • npx skills-ref validate templates/skills/assess passes

🤖 Generated with Claude Code

The assess skill's chain section had drifted from chain's current behavior:

- `--chain`'s gloss ("each branches from previous") predated #748; it now
  rebases each successor onto the predecessor's committed work.
- `--stacked` (implies --chain) and `--strict-preflight` (#762) were
  undocumented. Both are added as explicitly conditional references with the
  reason not to reach for them — assess still emits only `--chain` by default,
  preserving "suggest-only, never auto-apply".
- No rule covered a partially-complete chain. #760 made the orchestrator
  compute a chain-correct resume plan from the full issue list; trimming a
  `Chain:` line to just the incomplete links leaves the first one at index 0
  where the successor-rebase never fires and it silently builds on main (the
  #748 bug). Documents that, plus the contiguous-prefix caveat in
  chain-resume.ts, and points Commands Block Rule 3 at it so the single-issue
  `# resume` idiom is not misapplied.

No change to the `Chain:` output format, annotation ordering, or collision
detection. Mirrored across all three skill directories.

`--qa-gate` needed no work here: 0c45b2c already removed it from assess ahead
of the #795 deprecation.

Entire-Checkpoint: fb2ac8b4045d
@admarble
admarble merged commit e128bdb into main Jul 26, 2026
8 checks passed
@admarble
admarble deleted the chore/assess-chain-flag-references branch July 26, 2026 04:06
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