Skip to content

Explore VS Code extension for workflow visualization (Option C) #120

Closed

Description

@admarble

Summary

Explore building a VS Code extension that shows sequant workflow state in the IDE sidebar — an alternative to the web dashboard (#114 Option A).

Motivation

  • Lives where you already work (no context switch to browser)
  • Tighter integration with editor (click to open files, jump to worktree)
  • Always visible in sidebar

Proposed Features

Tree View

SEQUANT ISSUES
├── #42 Add user auth [QA]
│   ├── ✓ spec
│   ├── ✓ exec
│   └── ● qa (in progress)
├── #58 Fix cart bug [EXEC]
│   ├── ✓ spec
│   └── ● exec (in progress)
└── #61 Refactor API [SPEC]
    └── ● spec (in progress)

Actions (right-click or buttons)

  • Open worktree in new window
  • Open worktree in terminal
  • View issue on GitHub
  • View PR on GitHub
  • Run next phase

Status Bar

  • Quick indicator: "sequant: 3 issues · 2 in progress"
  • Click to open tree view

Tech Stack

Component Choice
Language TypeScript
API VS Code Extension API
Tree View TreeDataProvider
File watching vscode.workspace.createFileSystemWatcher
State source .sequant/state.json

Constraints

  • VS Code extension API limits UI customization
  • Tree view is hierarchical only (no custom layouts)
  • Webview panels possible but heavier
  • Extension must be published or installed from VSIX

Spike Goals

  1. Minimal extension that reads state.json
  2. Display issues in tree view with phase status
  3. "Open worktree" action
  4. Evaluate: Is this better than the web dashboard?

Acceptance Criteria

  • Extension activates in sequant workspaces
  • Tree view shows issues and phase status
  • Auto-refreshes when state.json changes
  • At least one action works (open worktree)
  • Document findings: effort, limitations, UX comparison to web dashboard

Dependencies

Related

Activity

  1. added
    ui
    enhancement
    on Jan 18, 2026
  2. admarble commented on Jan 21, 2026

    @admarble
    ContributorAuthor

    Plan: VS Code Extension Spike (#120)

    AC Status

    AC Description Status
    AC-1 Extension activates in sequant workspaces ✅ Implemented
    AC-2 Tree view shows issues and phase status ✅ Implemented
    AC-3 Auto-refreshes when state.json changes ✅ Implemented
    AC-4 At least one action works (open worktree) ✅ Implemented
    AC-5 Document findings ⏳ Pending

    Implementation Summary

    The VS Code extension already exists at vscode-extension/ with:

    • Tree view showing issues sorted by status priority
    • Phase status as expandable children per issue
    • Real-time refresh via FileSystemWatcher
    • Actions: Open Worktree, Open on GitHub, Refresh

    Lines of Code: ~500 LOC TypeScript
    Compilation: ✅ Successful

    Remaining Work

    AC-5 only: Create documentation with:

    Implementation Plan

    1. Create docs/features/vscode-extension.md
    2. Add vscode-extension/README.md

    🤖 Generated by /spec

  3. added
    planned
    on Jan 21, 2026
  4. added a commit that references this issue on Jan 21, 2026
  5. admarble commented on Jan 21, 2026

    @admarble
    ContributorAuthor

    /fullsolve Complete

    Issue: #120
    Status: READY_FOR_MERGE

    Summary

    • AC: 5/5 met
    • Tests: 567/567 passed
    • Build: ✅ Succeeded

    AC Coverage

    AC Description Status
    AC-1 Extension activates in sequant workspaces ✅ MET
    AC-2 Tree view shows issues and phase status ✅ MET
    AC-3 Auto-refreshes when state.json changes ✅ MET
    AC-4 At least one action works (open worktree) ✅ MET
    AC-5 Document findings ✅ MET

    Phases

    Phase Iterations Status
    Spec 1/1 ✅ Complete
    Exec 1/1 ✅ Complete
    Test - ⏭️ Skipped (docs only)
    QA 1/1 ✅ Complete

    Spike Findings

    Effort: ~500 LOC TypeScript, 3 files, 0 runtime dependencies

    Limitations:

    • Tree-only UI (no grids/cards without Webview)
    • VSIX distribution (manual install or Marketplace)
    • Single workspace view

    Recommendation: Use alongside web dashboard for different use cases

    PR: #165


    Ready for human review and merge.

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

    enhancementplannedui

    Type

    No type

    Projects

    No projects

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions