Cancel active pagent pipeline
/plugin marketplace add tuannvm/plugins/plugin install pagent@pluginsCancel the active pipeline:
if [[ ! -f .claude/pagent-pipeline.json ]]; then
echo "FOUND=false"
else
echo "FOUND=true"
STAGE=$(jq -r '.stage' .claude/pagent-pipeline.json)
echo "STAGE=$STAGE"
fi
If FOUND=false:
No active pagent pipeline to cancel.
If FOUND=true:
Remove the pipeline state:
rm .claude/pagent-pipeline.json
rm -rf .claude/prompts
Report cancellation:
⚠️ Cancelling pagent pipeline at stage: {STAGE}
The pipeline will stop. Outputs created so far are preserved.
Show what was created:
Preserved outputs:
- architecture.md (or not created yet)
- test-plan.md (or not created yet)
- ...
Offer restart:
To resume, run: /pagent-run <prd-file>