wherefore-dashboard: render the plan/ collection - #11
Merged
Conversation
Add a plan content collection and read-side views for wherefore/plan/ (P-NNN forward-looking work items), so the dashboard covers plan alongside log and questions. Implements plan item P-002. - content.config.ts: plan collection globbing P-*.md (README excluded), id from the id: frontmatter, single area, transform splitting decision_ref. - src/lib/plan.ts: pure helpers for checklist progress, derived blocked (a todo/doing item pointing at a still-open question), and status ordering. - /plan browse: count strip, overall progress, status sections (doing/blocked/todo/done) with dropped behind a toggle, area + search filters. - /plan/[slug] detail: checklist progress, cross-refs to /log and /questions, dropped items kept (dimmed, reason, retired-by link). - index.astro rebuilt into the now view (in flight / blocked / up next / open questions + recently decided); Plan nav item added. - global.css: plan-status tokens (dark + light) and component styles, extending the existing brand tokens rather than swapping them. - tests + fixtures: plan render/filter coverage, a plan.ts unit test, and a fixture-check tripwire for plan frontmatter. Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
Dogfood the plan collection while building it. - log: capture 2026-07-19-dashboard-plan-collection (shipped-schema over the handoff's, build-time blocked derivation, status grouping, extend-tokens). - plan: P-001 and P-002 advanced to done; P-002 decision_ref fixed (dropped a dangling slug, linked the originating decision and the new record); open P-011 for the deferred milestone grouping. - questions: register Q-012 (adopt the handoff visual system vs extend tokens); resolve Q-001 (Astro builds clean with content base and output both outside the root, reconfirmed by an out-of-repo build). Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
Flip M2 (0.1.1 shipped per npm) and M4 (plan layer shipped) to done, and fix the stale "plan skill" references left in plan/README.md by the slate rename. Records the reconciliation as a log entry. Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
Plan-item checklists rendered each step as a flex row, which made every text run and inline code chip its own shrinking flex item and shredded steps into columns. Render each task row as a block with a hanging indent and the checkbox in the left margin, so text, code, and links flow as one wrapped line. Also calm the inline code chips (neutral, not accent teal) and add a "Checklist" divider above the list on the detail page. Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Adds a
plancontent collection and read-side views forwherefore/plan/(P-NNN forward-looking work items), so the dashboard covers plan alongside log and questions. Implements plan item P-002.Built from the
design_handoff_wherefore_dashboard/hi-fi design, reconciled onto the shipped schema (decision→decision_ref/log links,blocks→question_ref,retired_by→dropped_reason+decision_ref).What's included
plancollection globbingP-*.md(soplan/README.mdis excluded), id from theid:frontmatter, singlearea, transform that splitsdecision_refintodecisionRefs[].taskProgress, derivedisBlocked(a todo/doing item pointing at a still-open question), and thedoing → blocked → todo → done → droppedordering./planbrowse — per-status count strip, overall progress bar, status sections (doing/blocked/todo/done) with dropped behind a toggle, plus area + search filters./plan/[slug]detail — checklist progress, cross-refs to/logand/questions, and dropped-but-kept treatment (dimmed, reason inset, "retired by" link).index.astrorebuilt into In flight / Blocked / Up next / Open questions + Recently decided; Plan nav item added.Scope decisions
Verification
plan/README.mdglob-exclusion regression.wherefore/, 10 items):1 doing / 0 blocked / 1 todo / 7 done / 1 dropped, Blocked section correctly absent, no duplicate-id warnings.plan/README.mdproduces no route.🤖 Generated with Claude Code