Skip to content

feat(planner): lifecycle-aware planning + refactor pass + plan grading (#445 #458)#563

Open
kevinthelago wants to merge 4 commits into
developfrom
planner-platform
Open

feat(planner): lifecycle-aware planning + refactor pass + plan grading (#445 #458)#563
kevinthelago wants to merge 4 commits into
developfrom
planner-platform

Conversation

@kevinthelago

Copy link
Copy Markdown
Owner

Summary

Test plan

  • 1399 JS tests pass (36 new: 18 planGrade + 18 planLifecycle)
  • 86 Rust tests pass
  • TypeScript typecheck clean (pre-existing baseline errors only)
  • Advisory-only grade: publish/triage never hard-blocked
  • Refactor fleet: non-overlapping owns (fe=src/, be=src-tauri/), confirm-gate push policy

🤖 Generated with Claude Code

kevinthelago and others added 4 commits June 5, 2026 15:29
 #513 #508 #506 #505 #548 #503)

- planStages.ts: StageId/Stage/PLAN_STAGES registry + Blueprint schema (#515/#514)
- Blueprints.tsx: reusable stage-pipeline config UI with built-in presets (#513)
- Planning.tsx: progress bar moved to top half-tucked (#508); remove redundant
  Sync-to-GitHub/Push-docs section buttons (#506); per-project Clear plan button
  with inline confirm (#505); restart confirmation modal (#548)
- lib.rs: add clear_project_plan_files command for per-project plan wipe (#505);
  strip git/gh mutation instructions from planner tools table (#503)

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
- PLANNING_TEMPLATE_VERSION constant in lib.rs; setup_workspaces now
  writes context_signature.txt (v1|repos|kb|stages) on every run.
- get_context_signature Tauri command reads the stored signature.
- Planning.tsx: currentSig memo tracks live inputs; lastSetupSig records
  what was used when setup_workspaces last ran (seeded from disk on mount).
  contextStale = lastSetupSig !== currentSig → shows "context updated ·
  refresh" badge that re-runs setup_workspaces with --continue.
- Fix handleRestart initCmd: bare "claude" → "claude --continue 2>/dev/null
  || claude" so neither restart nor badge-refresh loses conversation history.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
…lete projects (#458)

Adds three lifecycle states (new/active/near-complete) derived from GitHub
issue-closure ratio and plan grade. The header badge updates accordingly.
When near-complete, a Refactor pass button appears that injects pre-built
agent-ready refactor issues (dead-code sweep, simplification, performance,
Rust backend) and a non-overlapping confirm-gate fleet into the plan.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
Pure buildSeamGraph (Kahn's longest-path topological sort) + hand-rolled
SVG renderer with maturity-coloured nodes, bezier edges, dangling-dep
highlights, and click-to-drill-down. Integrated as a third "graph" lens
in the Milestones · Structure section alongside the existing phase/repo
views. SeamGraph added to ProjectPaneData and built from PlanIssue.dependsOn
links; 22 unit tests cover layout, maturity derivation, filtering, cycles,
and dangling deps.

Co-Authored-By: Claude Sonnet 4.6 <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