Skip to content

feat(#26): Add PR verification to /exec skill - #36

Merged
admarble merged 2 commits into
mainfrom
feature/26-exec-skill-verify-pr-creation-and-report-failures
Jan 9, 2026
Merged

admarble merged 2 commits into
mainfrom
feature/26-exec-skill-verify-pr-creation-and-report-failures

Conversation

@admarble

@admarble admarble commented Jan 9, 2026

Copy link
Copy Markdown
Contributor

Summary

  • Adds a "PR Creation and Verification" section to the /exec skill with step-by-step instructions for creating and verifying PRs
  • Includes retry logic (1 retry with 2s delay) for transient network failures
  • Provides explicit failure handling with manual PR creation instructions when verification fails
  • Updates progress update template and output verification checklist to require PR status reporting

Test plan

  • Run /exec on a test issue and verify PR creation is verified after gh pr create
  • Simulate PR creation failure (e.g., network issue) and verify error is reported clearly
  • Verify progress update includes PR Status section with URL or failure reason

Closes #26

🤖 Generated with Claude Code

admarble and others added 2 commits January 9, 2026 15:34
Adds 13 new skills for the sequant workflow system:
- assess: Issue triage and status assessment
- clean: Repository cleanup
- docs: Documentation generation
- exec: Implementation phase execution
- fullsolve: Complete issue resolution workflow
- loop: Quality iteration loop
- qa: Code review and QA
- reflect: Workflow reflection
- security-review: Security analysis
- solve: Workflow recommendation
- test: Browser-based testing
- testgen: Test stub generation
- verify: CLI/script verification

These skills enable automated issue resolution via `sequant run`.

Co-Authored-By: Claude Opus 4.5 <[email protected]>
- Add "PR Creation and Verification" section with step-by-step
  instructions for creating and verifying PRs after implementation
- Include retry logic (1 retry with 2s delay) for transient failures
- Add explicit failure handling with manual creation instructions
- Update progress update template to require PR Status section
- Update output verification checklist to include PR Status

Addresses the silent PR creation failure observed in #18 where the
exec phase reported success but no PR was actually created.

Closes #26

Co-Authored-By: Claude Opus 4.5 <[email protected]>
@admarble
admarble merged commit 64b58e3 into main Jan 9, 2026
admarble added a commit that referenced this pull request Jul 15, 2026
…eflight

QA gap fixes on the #762 pre-flight.

Prose false positive: parseDeclaredBlockers matched the marker anywhere in
a body, so #762's own issue parsed as blockers=[38, 36] — both from prose
examples ("...when #39 says blocked by #38", 'real markers like "Blocked by
#36"'). Under --strict-preflight a bogus warning hard-aborts a legitimate
chain, which is precisely the false inference #604 calls worse than none.

The marker is now anchored to line start (allowing list-item and bold forms),
inline code spans are stripped alongside fences and HTML comments, and the "#"
is required so "Blocked by 5 days of review" cannot parse as issue #5.
Verified against the real corpus: the three genuine declarations still parse
(#155 -> 107, #188 -> 187, #223 -> 219), #31's in-fence example stays ignored,
and #762 now yields no blockers.

Also adds --strict-preflight to the two flag tables that list every comparable
run flag (run-command.md, cheat-sheet.md); it previously existed only in
--help and the CHANGELOG.

Tests: 21 pass (4 new, incl. a verbatim-#762-prose regression); the two
rewritten cases encoded the mid-line matching being fixed.
admarble added a commit that referenced this pull request Jul 15, 2026
* feat(#762): lightweight content pre-flight for --chain

Add a warn-by-default content pre-flight that runs at chain start, before
the first worktree is provisioned. It surfaces four cheap problems over the
chained issues:

- missing/empty Acceptance Criteria section
- a declared blocker (`Blocked by #N` / `depends on #N`) that runs AFTER the
  issue in the CLI order
- a predicted file-overlap (reusing assess-collision-detect) whose CLI order
  contradicts the ascending land order
- an issue that is CLOSED on GitHub (#305-consistent; #592 gap noted)

Per #604, warnings never block by default; the new `--strict-preflight` flag
makes any warning fatal before provisioning. Checks compare against the RAW
CLI order (not the dep-sorted order) so `run 39 38 --chain` where #39 is
blocked by #38 still warns. A gh fetch failure warn-degrades rather than
aborting the run.

New module src/lib/workflow/chain-preflight.ts (pure compute + gh fetch),
invoked from RunOrchestrator.run(); adds strictPreflight to RunOptions and
--strict-preflight to bin/cli.ts. Unit tests cover each warning class against
verbatim issue-body fixtures.

Entire-Checkpoint: c69c1388ccf5

* fix(#762): anchor blocker markers to line start; document --strict-preflight

QA gap fixes on the #762 pre-flight.

Prose false positive: parseDeclaredBlockers matched the marker anywhere in
a body, so #762's own issue parsed as blockers=[38, 36] — both from prose
examples ("...when #39 says blocked by #38", 'real markers like "Blocked by
#36"'). Under --strict-preflight a bogus warning hard-aborts a legitimate
chain, which is precisely the false inference #604 calls worse than none.

The marker is now anchored to line start (allowing list-item and bold forms),
inline code spans are stripped alongside fences and HTML comments, and the "#"
is required so "Blocked by 5 days of review" cannot parse as issue #5.
Verified against the real corpus: the three genuine declarations still parse
(#155 -> 107, #188 -> 187, #223 -> 219), #31's in-fence example stays ignored,
and #762 now yields no blockers.

Also adds --strict-preflight to the two flag tables that list every comparable
run flag (run-command.md, cheat-sheet.md); it previously existed only in
--help and the CHANGELOG.

Tests: 21 pass (4 new, incl. a verbatim-#762-prose regression); the two
rewritten cases encoded the mid-line matching being fixed.
admarble added a commit that referenced this pull request Sep 9, 2026
…eflight

QA gap fixes on the #762 pre-flight.

Prose false positive: parseDeclaredBlockers matched the marker anywhere in
a body, so #762's own issue parsed as blockers=[38, 36] — both from prose
examples ("...when #39 says blocked by #38", 'real markers like "Blocked by
#36"'). Under --strict-preflight a bogus warning hard-aborts a legitimate
chain, which is precisely the false inference #604 calls worse than none.

The marker is now anchored to line start (allowing list-item and bold forms),
inline code spans are stripped alongside fences and HTML comments, and the "#"
is required so "Blocked by 5 days of review" cannot parse as issue #5.
Verified against the real corpus: the three genuine declarations still parse
(#155 -> 107, #188 -> 187, #223 -> 219), #31's in-fence example stays ignored,
and #762 now yields no blockers.

Also adds --strict-preflight to the two flag tables that list every comparable
run flag (run-command.md, cheat-sheet.md); it previously existed only in
--help and the CHANGELOG.

Tests: 21 pass (4 new, incl. a verbatim-#762-prose regression); the two
rewritten cases encoded the mid-line matching being fixed.
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.

exec skill: Verify PR creation and report failures

1 participant