Skip to content

feat(GETSITREP-51): read/report commands + fold dashboard into session-end - #19

Merged
viitorohit merged 1 commit into
mainfrom
GETSITREP-51-report-plan-progress
Jul 8, 2026
Merged

feat(GETSITREP-51): read/report commands + fold dashboard into session-end#19
viitorohit merged 1 commit into
mainfrom
GETSITREP-51-report-plan-progress

Conversation

@viitorohit

Copy link
Copy Markdown
Owner

Summary

  • Adds three headless, read-only CLI commands: report (cost-to-outcome summary from the persisted cost_rollup), plan --phase N (read-only phase view), and progress (quick source-agnostic readout) — all surface which plan adapter supplied the data, per acceptance criteria.
  • Folds dashboard regeneration into session-end, gated by the same dashboardStaleTrigger threshold GETSITREP-35's nudge-check already uses (ADR-0007), instead of leaving it fully manual or regenerating unconditionally every session.
  • Exactly one commit per session-end invocation, regardless of whether the dashboard fold fires.

Test plan

  • npm test — full suite green (byte-identical, cost-attribution, nudge-triggers, plan-adapters, agents-md, plan-commands, session-end-dashboard)
  • Manually verified report, plan, plan --phase N, progress against this repo's real dogfood data
  • Manually verified plan --phase <unknown>, report --ticket <unknown>, external --plan-data override
  • test/session-end-dashboard.js verifies below-threshold (no dashboard write), at-threshold (regenerates, still exactly one commit), and forced-failure (degrades to a warning, commit still happens) cases

Jira: GETSITREP-51 (In Progress → ready for review)

🤖 Generated with Claude Code

…old dashboard into session-end

Adds three headless, read-only CLI commands layered on the existing plan
adapters and cost rollup: `report` (cost-to-outcome summary from the
persisted cost_rollup), `plan --phase N` (read-only phase view, source-
agnostic), and `progress` (quick source-agnostic readout). All three
surface which plan adapter supplied the data.

Also folds dashboard regeneration into session-end (ADR-0007), gated by
the same dashboardStaleTrigger threshold GETSITREP-35's nudge-check
already uses, instead of leaving it fully manual (the exact drift that
let 4 Stories go undocumented after Session 8) or regenerating on every
session-end (commit noise). Exactly one commit per session-end call,
verified by test/session-end-dashboard.js.

Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
@viitorohit
viitorohit merged commit df68769 into main Jul 8, 2026
viitorohit pushed a commit that referenced this pull request Jul 8, 2026
… commands) shipped, PR #19 merged; folded dashboard regeneration into session-end (ADR-0007), reusing GETSITREP-35's dashboardStaleTrigger threshold rather than leaving dashboard staleness fully manual or regenerating unconditionally. Separately discovered and resolved a parallel-session conflict: PR #18 had independently done its own Session 9 close-out before this session's own backfill landed on main; closed #18 as superseded, salvaged its one real fix (nudge-state .gitignore gap) as PR #20, merged.
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