This repository was archived by the owner on Sep 2, 2026. It is now read-only.
Repository navigation
This repository was archived by the owner on Sep 2, 2026. It is now read-only.
[Spec] Feature board view #24
Copy link
Copy link
Closed
Labels
ready-for-agentready-for-agent
Description
Part of the wayfinder map. Decisions: #7, #2, #3, #4, #8, #10, #16, #18, #19.
Problem Statement
There is no place in Orca where the user can see all features flowing through the pipeline. The manual kanban drawer is workspace organization, not delivery tracking. The feature board needs to exist as a first-class view: fixed pipeline columns, real cards, drag & drop governed by stage authority, adoption of GitHub issues, and an archived sink.
Solution
A dedicated "Feature board" view (sidebar entry "Board", title "Feature board"):
- 7 always-visible columns (
idea → exploring → spec → implementing → review → shipped+triage), card order per-project from spec 1. - Full card anatomy: name, repo chip, branch, agent-state dot, PR chip, children as sub-entries.
- "+" on every column = manual adoption (dialog optionally links an issue/PR; stage declared or fact-derived).
- Ghost cards as quick-grab candidates in
idea; orphan[Spec]ghosts inspec. - Awaiting-input cards float to the top of their column with an amber treatment.
- Collapsed Archived sink at the board's end with 1-click restore.
- Search + filters (stage, agent state, PR state, needs-attention).
- DnD reuses Orca's existing pointer-based kanban machinery; fact-governed drops are blocked with an explanation.
- Remote workspaces participate fully; folders in a manual regime with a folder marker.
User Stories
- As a user, I want a sidebar entry "Board" opening the feature board, so that I reach it in one click.
- As a user, I want a project picker scoping the board per repo, so that I can switch between projects.
- As a user, I want the 7 fixed columns always visible, so that the board never rearranges itself.
- As a user, I want each card to show name, repo, branch, agent state, and PR chip at a glance, so that I can read the board without opening anything.
- As a user, I want a feature's children listed as sub-entries under the card with their PR state, so that parallel work is visible.
- As a user, I want to drag cards between columns to declare a stage, so that the board is the primary steering surface.
- As a user, I want drops onto fact-governed stages blocked with an explanation, so that I understand why a move didn't take.
- As a user, I want a "+" on every column to create a worktree for a new feature, optionally linking an issue/PR, so that adoption is one gesture.
- As a user, I want ghost cards for open issues in
idea, so that inbound work is grabbable. - As a user, I want orphan
[Spec]issues as ghosts inspec, so that specs never get lost. - As a user, I want cards whose agent awaits me to float to the column top with an amber marker, so that I see where I'm needed.
- As a user, I want a collapsed Archived section with 1-click restore, so that hidden cards stay recoverable.
- As a user, I want search and filters (stage, agent state, PR state, needs-attention), so that a busy board stays readable.
- As a user, I want remote-host workspaces on the board like local ones, so that the board reflects all my work.
- As a user, I want folder workspaces on the board in a manual regime with a folder marker, so that non-git work can ride the pipeline by hand.
Implementation Decisions
- New top-level view with project picker (TaskPage repo-selection pattern); not a Tasks-page mode, not a sidebar panel.
- Columns fixed and always visible; per-project order lists from spec 1 (stale ids filtered at read).
- Card anatomy as decided: repo chip, title, branch, agent-state dot, PR chip (open/merged/closed), children sub-entries (spec 5 lineage display).
- Adoption dialog: links an issue/PR optionally; resulting stage is declared or fact-derived; grab flows through the existing "Use issue" creation path.
- DnD: reuse the drawer's pointer-based machinery (drag previews, drop indicators, column resize, area selection); no new dnd-kit usage.
- Awaiting-input elevation: render-time only, frozen during drag (emdash behavior).
- Archived sink renders
isArchivedworktrees collapsed at the board end; restore re-arms the fade delay (spec 6). - Filters mirror emdash's set; search reuses the drawer search pattern.
Testing Decisions
- Test external behavior at the view-model and lane/card levels: column membership from stage, order stability, drop gating with explanations, adoption dialog outcomes, awaiting-input elevation, sink restore.
- Seams: the board view-model (what each column contains), the drop-handler (authority-gated), the adoption action.
- Prior art: workspace-kanban drawer tests (lane grouping, DnD, selection), TaskPage picker tests for project scoping.
Out of Scope
- Storage/derivation/authority (specs 1-3).
- Ghost candidate computation (spec 5) — the board only renders them.
- Fade/auto-archive timing (spec 6) — the board renders the sink.
- Task detail panel (spec 7), sidebar stage groups (spec 8).
- Global Board (ruled out).
Further Notes
- Named "Feature board"; sidebar entry "Board".
- The two boards stay exclusive: this view shows only staged workspaces; the classic drawer shows only unstaged ones (spec 1 filter).
Metadata
Metadata
Assignees
Labels
ready-for-agentready-for-agent
Activity
feat(feature-board): pure column view-model, project scope, card asse…
feat(feature-board): sidebar entry, top-level view, project-scoped bo…
feat(sync): wire SyncBoardRuntime into real WorktreeMeta/UI-state wri…
Merge final integration review fixes for spec #24
fix(feature-board): move ref writes for drag/drop out of render
Merge pull request #63 from 64ix/spec/24-feature-board
Merge origin/main (spec #24 feature board) into spec/29
feat(sync): sync the feature board card order now that spec #24 defin…