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] GitHub inbound ghost cards #25
Copy link
Copy link
Closed
Labels
ready-for-agentready-for-agent
Description
Part of the wayfinder map. Decisions: #8, #2.
Blocked by: #24.
Problem Statement
Open issues are invisible until someone opens the Tasks page and remembers to "Use" one. The board needs its inbound door: grabbable candidates derived at runtime, with no new storage except what the user dismisses.
Solution
Ghost cards, computed on demand:
- Candidates: all open issues of the base remote, excluding worktree-linked issues, issues referenced from a linked spec/task body,
[Spec]/wayfinder:mapartifacts, and dismissed ids. - Grab = the existing "Use issue" flow → worktree created at
ideawith the issue linked; fact derivation then moves it ([Spec]→spec, open PR →review, merged PR →shipped). - Orphan
[Spec]issues surface as ghosts in thespeccolumn. - Capture/triage labels render as badges on ghost cards and gate nothing.
- Dismissed ids persist per repo; candidates are never stored.
User Stories
- As a user, I want open issues to appear as ghost cards on the board, so that inbound work is visible.
- As a user, I want issues already linked to a worktree excluded, so that the board never shows duplicates.
- As a user, I want issues referenced by an in-flight spec/task excluded, so that covered work doesn't resurface.
- As a user, I want
[Spec]and wayfinder artifacts excluded from the idea candidates, so that process artifacts don't pollute inbound. - As a user, I want to dismiss a ghost card, so that irrelevant issues stop appearing (remembered per repo).
- As a user, I want to un-dismiss when I change my mind, so that dismissal is reversible.
- As a user, I want to grab a ghost card and get a worktree at
ideawith the issue linked, so that starting work is one gesture. - As a user, I want a grabbed
[Spec]to land atspecautomatically, so that specced features start at the right stage. - As a user, I want orphan
[Spec]issues to appear as ghosts in thespeccolumn, so that unworked specs stay visible. - As a user, I want capture labels (ready-for-agent, ready-for-human, needs-triage) shown as badges on ghosts, so that I can judge readiness at a glance.
- As a user, I want candidates computed at runtime, never stored, so that the board always reflects the current repo state.
- As an operator, I want issues read from the base remote only, so that the board stays fork-local.
Implementation Decisions
- Candidate computation: pure derivation from the repo's open issues + linked-worktree attachments + referenced-issue exclusion (parse #refs from linked spec/task bodies) + dismissed ids + shape classification.
- Base remote only: issue candidates AND PR facts resolve against the fork's base remote — no upstream consumption (deviates from Orca's upstream-first default for the board only).
- Grab rides the existing "Use issue" flow (composer → worktree creation with linkedIssue); the stage is always
ideaat creation — no duplicated stage logic. - Dismissed ids: per-repo list in UI state (spec 1); candidates never persisted.
- Refresh: reuse the existing SWR machinery (work-items cache, gh CLI cache), refresh on board open + visibility change; no new poller. Rate limits: existing guard.
Testing Decisions
- Test the candidate derivation exhaustively: exclusion rules (linked, referenced, artifacts, dismissed), base-remote scoping, grab outcomes.
- Seams: the pure candidate-derivation function, the grab action (reuses Use-issue), the dismissal store.
- Prior art: TaskPage work-item fetch tests; worktree attachment finder tests.
Out of Scope
- Board rendering of ghosts (spec 4).
- Authority (spec 3) and derivation (spec 2) — grab delegates to them.
- Non-GitHub sources (future source abstraction, spec 2's seam).
Further Notes
- The referenced-issue exclusion is the fix for the emdash annoyance where spec-linked tickets resurfaced as candidates.
Metadata
Metadata
Assignees
Labels
ready-for-agentready-for-agent
Activity
feat(sync): sync the feature board card order now that spec #24 defin…
chore: start spec #25 (GitHub inbound ghost cards)
fix(board): make ghost un-dismiss reachable; scope link-exclusion to …
Merge code-review fixes for spec #25 ghost cards
test(board): pass stable refs to ghost-candidates hook to avoid rende…
Merge code-review + CI fix for spec #25 ghost cards
fix(board): enforce fork-local ghost candidates; scope spec-ref exclu…
Merge pull request #64 from 64ix/spec/25-ghost-cards
64ix commentedon Aug 25, 2026
Closing: merged via PR #64 ([Spec #25] GitHub inbound ghost cards, merged 2026-08-25).
fix(feature-board): widen spec/ticket detection and fix the linked-sp…