Repository navigation
Description
Summary
A collection of developer experience improvements to make sequant more intuitive, safer, and flexible for day-to-day use.
This is a roadmap issue tracking multiple sub-features that can be implemented incrementally.
Proposed Features
1. Integrated Failure Context (replaces sequant why)
Instead of a separate command, failures are logged and automatically inform the next planning cycle:
How it works:
- When
/testor/qafails, log structured failure context to.sequant/logs/failures/<issue>.json - When
/specruns, check for existing failure logs /specincorporates lessons: "Previous attempt failed at AC-3 due to X. Revised plan addresses this by Y"/loopdetects "structural failures" (same AC failing 2x) and triggers re-spec instead of blind retry
Failure log structure:
{
"issue": 218,
"phase": "qa",
"verdict": "AC_NOT_MET",
"timestamp": "2025-01-29T10:30:00Z",
"failures": [
{ "ac": "AC-3", "reason": "URL validation incomplete", "attempts": 2 }
],
"root_cause_guess": "Misunderstood requirement - needs server-side validation"
}Benefits over separate sequant why command:
- No extra command to remember
- Failure context flows naturally into planning
- Enables smarter re-attempts
- Cumulative learning across multiple failures
2. sequant watch - Live Mode
- Auto-runs phases as you code
- Watches for file changes in worktree
- Triggers relevant validations automatically
- Opt-in per-worktree
3. sequant rollback - Undo to Last Good State
- Rollback worktree to last known-good state
- Preserve rollback points at phase completions
sequant rollback --listshows available pointssequant rollback <point>restores state
4. sequant dry-run - Preview Mode
- Preview what
/execwould do without making changes - Show: files to create/modify, commands to run, AC mapping
- Useful for understanding scope before committing
5. Config Profiles
- Different settings for bugfix vs feature vs refactor
sequant run --profile=bugfix #123- Profiles adjust: rigor level, required phases, QA strictness
- Store in
.sequant/profiles/
6. sequant replay <issue> - Re-run Failed Phase
- Quick retry of last failed phase with latest fixes
- Preserves context from previous attempt
- Useful after manual fixes
7. sequant diff - Cross-Worktree Diff
- Show what changed across all active worktrees
- Useful for understanding total in-flight changes
- Filter by issue, file pattern, or phase
8. Smart Re-spec in Quality Loop
/loopdetects when same AC fails twice- Triggers
/specre-run with failure context instead of blind retry - Spec outputs revised approach based on what went wrong
- Prevents infinite fix loops on fundamentally misunderstood requirements
Implementation Priority
| Feature | Effort | Impact | Priority |
|---|---|---|---|
| Integrated Failure Context | Medium | High | P0 |
| Smart Re-spec in Loop | Medium | High | P0 |
sequant replay |
Low | Medium | P1 |
sequant diff |
Medium | Medium | P1 |
sequant dry-run |
Medium | High | P1 |
| Config profiles | Medium | Medium | P2 |
sequant rollback |
High | Medium | P2 |
sequant watch |
High | High | P3 |
Acceptance Criteria (Roadmap-level)
- At least 3 features from this list shipped
- Each feature has its own tracking issue when started
- Documentation updated for each new command
-
sequant helpreflects new commands
Design Decisions
Why not a separate sequant why command?
Originally proposed as a standalone command to explain failures in plain English. Replaced with integrated approach because:
- Natural workflow - Failure context flows into next
/specautomatically - No extra step - Developers don't need to remember another command
- Cumulative - Multiple failures build richer context over time
- Actionable - Context directly informs revised planning, not just explanation
When does /spec re-run in quality loop?
Current behavior: Never. /loop fixes and re-runs test/QA only.
Proposed behavior: Re-run /spec when:
- Same AC fails twice (structural misunderstanding)
- Root cause analysis suggests architectural issue
- Manual flag:
/loop --respec
This prevents wasted iterations on fundamentally flawed approaches.
Related Issues
Link sub-issues here as they're created
Generated from feature planning discussion
Activity
admarble commentedon Feb 22, 2026
Closing per issue audit. Roadmap tracking umbrella with no actionable content — individual DX improvements are tracked in their own issues. Maintaining meta-issues creates noise without adding value.