Skip to content

docs(run,abort): --no-pr help and PR-creation page match the after-exec PR; document sequant abort - #1269

Merged
admarble merged 2 commits into
mainfrom
fix/no-pr-help-and-abort-docs
Oct 1, 2026
Merged

admarble merged 2 commits into
mainfrom
fix/no-pr-help-and-abort-docs

Conversation

@admarble

@admarble admarble commented Oct 1, 2026 •

Copy link
Copy Markdown
Contributor

Two doc gaps from the how-to research (#1260): help text and a feature page that still describe PR creation before #1247, and sequant abort, which no doc mentioned.

--no-pr and the PR-creation page

Since #1247 (ADR 0004) a passing run calls createPR twice: it opens the PR right after exec, because QA reads the PR body, and updates it after QA. --no-pr skips both.

Where Before After
run --help --no-pr "Skip PR creation after successful QA (manual PR workflow)" "Skip PR creation (by default the run opens the PR after exec and updates it after QA)"
types.ts noPr doc comment after successful QA both the after-exec PR and its after-QA update
docs/features/run-pr-creation.md PR created after QA; title from labels only; an existing PR is "reused" Opened after exec, updated after QA, failure semantics (after-exec warns, after-QA fails, #879), SPEC_DIVERGENCE opens none; #1223 title rules with examples; an existing PR is updated, and its body is rewritten only if empty or sequant run-generated

sequant abort

New docs/reference/abort-command.md, linked from the docs index next to Halt and Resume. Every claim was checked against src/commands/abort.ts, src/lib/relay/activation.ts and worktree-manager.ts:

  • SIGINT → (grace, default 10 s) → SIGTERM (3 s) → SIGKILL (2 s); --grace, --force, --json
  • the four outcomes with their messages and exit codes
  • it needs the relay's recorded PID: with --no-relay or run.relay: false it reports No relay PID found
  • after a signal shutdown the branch is kept, and the worktree is kept only if it is dirty, ahead of base, or mid-phase; after SIGKILL nothing is cleaned up

Verification

  • /verify (human-confirmed): built run --help shows the new --no-pr text.
  • Every test file mentioning --no-pr / noPr, plus cli.integration: 9 files, 411 tests pass. tsc --noEmit clean; prettier clean.
  • Help text and docs only, no behaviour change, so no gate test and no mutation record.

🤖 Generated with Claude Code

…ec PR; document sequant abort

Since #1247 a run opens the PR after exec and updates it after QA; --no-pr skips both. The PR-creation page also gets the #1223 title rules and ADR 0004 update-not-reuse behaviour. New reference page for sequant abort: signal escalation, options, exit codes, the relay requirement, and what happens to the worktree.

Claude-Session: https://claude.ai/code/session_01VpUo5Vzp2kJErZDRxF24iy
Entire-Checkpoint: 49c2a4c7fca8
@admarble
admarble merged commit 655e75d into main Oct 1, 2026
7 checks passed
admarble added a commit that referenced this pull request Oct 2, 2026
* chore: release v2.19.0

Claude-Session: https://claude.ai/code/session_01L1XB34cHJP87u166RC13Jn
Entire-Checkpoint: 9cc323a2361b

* chore: release v2.19.0 — add the first-run fixes batch and move the date to 2026-10-01

Claude-Session: https://claude.ai/code/session_01L1XB34cHJP87u166RC13Jn
Entire-Checkpoint: 18a3378b8ba9

* chore: release v2.19.0 — add #1257 (complete), #1269 and #1270

Claude-Session: https://claude.ai/code/session_01L1XB34cHJP87u166RC13Jn
Entire-Checkpoint: 539878f7521b

* chore(#1265): stamp plugin/ manifest and MCP pin to 2.19.0 after merging main

The release branch was stamped before #1265 moved the shipped plugin into plugin/, so plugin/.claude-plugin/plugin.json and plugin/.mcp.json still said 2.18.0. Same steps the updated release.sh runs: sed the manifest version, npm run prepare:marketplace for the MCP pin.

Entire-Checkpoint: 57d3fac4d239
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