Repository navigation
Closed
Description
Problem
The sequant run CLI command is missing key features that existed in the old execute-issues.ts script. Users who want automated fix iterations must use /fullsolve skill directly instead of the CLI.
Current State
sequant run supports:
--phases <list>- phases to run (default: spec,exec,qa)--sequential- run issues sequentially--dry-run- preview mode--verbose- verbose output--timeout <seconds>- timeout per phase
Missing features:
1. Quality Loop (--quality-loop)
Auto-retry failed phases with fix iterations:
sequant run 12 --quality-loop
sequant run 12 --quality-loop --max-iterations 3Behavior:
- After
/exec, if tests fail → run/loopto fix → retry (up to N iterations) - After
/qa, if issues found → run/loopto fix → retry - Exit when all phases pass or max iterations reached
2. Batch Execution (--batch)
Run groups of issues sequentially while issues within a batch run in parallel:
sequant run --batch "12 13" --batch "14 15"Use case: Issue 14 depends on 12+13 being merged first.
3. Smart Tests Integration (--smart-tests / --no-smart-tests)
Auto-run related tests after file edits during /exec:
sequant run 12 --smart-tests # Enable (could be default)
sequant run 12 --no-smart-tests # Disable for speed4. Auto-detect UI Issues
Automatically add /test phase if issue has ui, frontend, or admin labels:
sequant run 12 # Auto-detects labels and adjusts phases5. Testgen Integration (--testgen)
Run /testgen after /spec to generate test stubs before implementation:
sequant run 12 --testgen
sequant run 12 --quality-loop # Could auto-include testgenProposed CLI Interface
# Basic
sequant run 12
# With quality loop (auto-fix iterations)
sequant run 12 --quality-loop
sequant run 12 -q # Short form
# Batch execution
sequant run --batch "12 13" --batch "14"
# Full options
sequant run 12 \
--quality-loop \
--max-iterations 3 \
--phases spec,exec,test,qa \
--testgen \
--smart-tests \
--verbose
# Speed mode (no smart tests, no quality loop)
sequant run 12 13 14 --no-smart-testsImplementation Notes
- Quality loop logic already exists in
/fullsolveand/loopskills - extract and reuse - Smart tests need hook integration (pre/post tool hooks)
- Label detection can use
gh issue view --json labels - Consider environment variable support for CI:
SEQUANT_QUALITY_LOOP=trueSEQUANT_MAX_ITERATIONS=3
Related
/fullsolveskill has quality loop built-in/loopskill handles the fix iteration logic- Issue Clean up matcha maps remnants (Supabase, dead code) #12 mentions cleanup of old execute-issues.ts
Priority
Medium - Users can use /fullsolve for now, but CLI parity is important for CI/automation use cases.
Metadata
Metadata
Assignees
Labels
No labels
Activity
admarble commentedon Jan 8, 2026
Merged into #19 - the Agent SDK rewrite will include these features.