Skip to content

Phase 5: Discovery map render in continue-epic#270

Open
leeovery wants to merge 11 commits into
idea/inception-pr-4-wire-start-epicfrom
idea/inception-pr-5-map-render
Open

Phase 5: Discovery map render in continue-epic#270
leeovery wants to merge 11 commits into
idea/inception-pr-4-wire-start-epicfrom
idea/inception-pr-5-map-render

Conversation

@leeovery
Copy link
Copy Markdown
Owner

Summary

Phase 5 of the inception/discovery-map initiative — makes the discovery map visible in /continue-epic.

  • New discovery_map[] field in discovery output, alongside next_phase_ready
  • Per-topic lifecycle computed from inception + research + discussion items (tier-sorted: → ◐ ✓ ○ ⊘, alphabetical within tier)
  • Discovery Map block at top of state display with summary line + convergence callout
  • Menu collapses per-phase entries into per-topic entries with auto-routing (Start research for…, Continue X — research, etc.)
  • Recommendation logic flips by convergence_state: discovery topmost during in-progress, build-phase items once settled
  • New f/refine menu entry → /workflow-inception-entry epic {wu} (no behaviour yet — Phase 6 wires refinement)
  • p/pending removed unconditionally; Section G dropped
  • Legacy fallback render preserved for epics with no discovery_map

Test plan

  • node --test tests/scripts/test-discovery-for-continue-epic.cjs — 73 tests pass (52 existing + 21 new)
  • bash tests/scripts/test-workflow-manifest.sh — 214/214 still pass
  • Manual smoke: fresh inception → continue-epic → map renders, all , summary N topics — N fresh
  • Manual smoke: research-in-progress topic shows tier with Continue X — research
  • Manual smoke: research completed → topic shows → ready for discussion, (recommended)
  • Manual smoke: all decided → ✓ Discovery settled — ready for specification
  • Manual smoke: f/refine routes to /workflow-inception-entry
  • Manual smoke: legacy epic without inception items → no map block, existing tree renders, p/pending absent
  • Manual smoke: m/map (pipeline view) unchanged

🤖 Generated with Claude Code

leeovery and others added 11 commits May 10, 2026 10:56
…scovery-utils

Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
…r sort

Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
…and-menu

Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
…o-routing

Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
…d-menu

Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
…rom phases, prefix-match notes

- Section A's discovery_map and otherwise branches now route explicitly to B. Key
- Plans Not Ready Check labelled as a shared post-render check
- Discovery script omits inception from phases output so Cancel/Reactivate menus don't see status-less inception items
- Lifecycle label has null-routing fallback
- Section E and SKILL.md Step 6 routing tables note prefix matching for label suffixes

Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant