File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -40,6 +40,7 @@ make cli # Build the pred CLI tool (release mode)
4040make cli-demo # Run closed-loop CLI demo (exercises all commands)
4141make mcp-test # Run MCP server tests (unit + integration)
4242make run-plan # Execute a plan with Claude autorun
43+ make run-issue N=42 # Run issue-to-pr --execute for a GitHub issue
4344make copilot-review # Request Copilot code review on current PR
4445make release V=x.y.z # Tag and push a new release (CI publishes to crates.io)
4546```
Original file line number Diff line number Diff line change 11# Makefile for problemreductions
22
3- .PHONY : help build test mcp-test fmt clippy doc mdbook paper examples clean coverage rust-export compare qubo-testdata export-schemas release run-plan diagrams jl-testdata cli cli-demo copilot-review
3+ .PHONY : help build test mcp-test fmt clippy doc mdbook paper examples clean coverage rust-export compare qubo-testdata export-schemas release run-plan run-issue diagrams jl-testdata cli cli-demo copilot-review
44
55# Default target
66help :
2828 @echo " cli - Build the pred CLI tool"
2929 @echo " cli-demo - Run closed-loop CLI demo (build + exercise all commands)"
3030 @echo " run-plan - Execute a plan with Claude autorun (latest plan in docs/plans/)"
31+ @echo " run-issue N=<number> - Run issue-to-pr --execute for a GitHub issue"
3132 @echo " copilot-review - Request Copilot code review on current PR"
3233
3334# Build the project
@@ -212,6 +213,17 @@ run-plan:
212213 --max-turns 500 \
213214 -p " $$ PROMPT" 2>&1 | tee " $( OUTPUT) "
214215
216+ # Run issue-to-pr --execute for a GitHub issue
217+ # Usage: make run-issue N=42
218+ N ?=
219+ run-issue :
220+ @if [ -z " $( N) " ]; then echo " Usage: make run-issue N=<issue-number>" ; exit 1; fi
221+ claude --dangerously-skip-permissions \
222+ --model opus \
223+ --verbose \
224+ --max-turns 500 \
225+ -p " /issue-to-pr $( N) --execute" 2>&1 | tee " issue-$( N) -output.log"
226+
215227# Closed-loop CLI demo: exercises all commands end-to-end
216228PRED := cargo run -p problemreductions-cli --release --
217229CLI_DEMO_DIR := /tmp/pred-cli-demo
You can’t perform that action at this time.
0 commit comments