Skip to content

roadmap: Developer Experience Improvements #237

Closed

Description

@admarble

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:

  1. When /test or /qa fails, log structured failure context to .sequant/logs/failures/<issue>.json
  2. When /spec runs, check for existing failure logs
  3. /spec incorporates lessons: "Previous attempt failed at AC-3 due to X. Revised plan addresses this by Y"
  4. /loop detects "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 --list shows available points
  • sequant rollback <point> restores state

4. sequant dry-run - Preview Mode

  • Preview what /exec would 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

  • /loop detects when same AC fails twice
  • Triggers /spec re-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 help reflects 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:

  1. Natural workflow - Failure context flows into next /spec automatically
  2. No extra step - Developers don't need to remember another command
  3. Cumulative - Multiple failures build richer context over time
  4. 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

  1. added
    enhancement
    roadmap
    on Feb 2, 2026
  2. added
    human-required
    on Feb 16, 2026
  3. admarble commented on Feb 22, 2026

    @admarble
    ContributorAuthor

    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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementhuman-requiredroadmap

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions