Restore compaction status and summary in dashboard on session re-entry - #503
Conversation
Implementation PlanAnalysisBoth symptoms in issue 502 come from how the dashboard client reconstructs session state when a session view is re-entered. Re-entry remounts
Fix: make the authoritative snapshot state the source of truth for both — (A) sync the compaction status entry from the restored Verified during planning: after compaction completes, Deliverables
Acceptance Criteria (from issue 502)
Verification: targeted vitest runs, full Files to Create or Modify
No changes needed in Testing ApproachExisting infrastructure:
Regression: Run: Risks and Open Questions
Plan created by mach6 |
Vitest coverage
|
Progress UpdateImplemented both parts of the plan:
Tests added: 9 in Verification: full dashboard package 1178/1178 passing (including Commit: Progress tracked by mach6 |
Unverified Review Candidates — Pending AssessmentReview round: 1
Critical(none) Important(none) SuggestionsFinding 1 — Missing store test: non-compacting hydrate clears a stale in-memory compaction entry (confidence 85, test-reviewer) The plan's Testing Approach lists " Finding 2 — Extract a shared Both new sites in Strengths
Agents run: code-reviewer, error-auditor (retry after a context-overflow failure on first attempt; retry succeeded), test-reviewer, completeness-checker, simplifier Reviewed by mach6 |
Review AssessmentUnverified review candidates (findings comment) Classifications
Additional verification: the independent assessor re-traced the changed code itself and found no PR-introduced issue the candidates missed. Action PlanNo merge blockers. Nothing is required before merge. Assessment by mach6 |
Closes #502
Restore the compaction indication and the compaction summary in the dashboard when a session view is left and re-entered: the "compacting" status entry is synced from the authoritative snapshot state on hydrate/resync, and
compactionSummarytranscript messages are rendered as summary cards.Implementation plan posted as a comment below.