fix patch history feat/phase-2g-bundle
AI Agent git-import/068377df · 112 days ago · Apr 5, 2026 · Diff

fix(history): correct topics_count storage and hosted parity for History

- hub/server.mjs: store result.topics.length (not the array) as topics_count - hub/bridge/server.mjs: store consolidation_pass summary event after each hosted run so the History button works in the hosted environment too - renderConsolidationHistory: handle topics_count when stored as array (legacy malformed events) by using .length; also check ev.created_at as ts fallback - Test: add case asserting array topics_count renders as its length, not [object Object]

sha256:64571790aaa9c20e88f73e0ae95de96c1eae74c53bad8d7a6ff9462cee8e8165 sha
sha256:ec49e20262b0f0d0bad35530a326ae6e40a596cac9921195e2ff325f82eaac05 snapshot
← Older Oldest on feat/phase-2g-bundle
All commits
Newer → Latest on feat/phase-2g-bundle

0 comments

No comments yet. Be the first to start the discussion.

To add a comment, use the Muse CLI: muse hub commit comment sha256:64571790aaa9c20e88f73e0ae95de96c1eae74c53bad8d7a6ff9462cee8e8165 --body "your comment"