feat: [ENG-2121] improve dream task TUI display with meaningful content#421
feat: [ENG-2121] improve dream task TUI display with meaningful content#421danhdoan merged 4 commits intoproj/dreamingfrom
Conversation
- Format dream result as human-readable summary (consolidated/synthesized/pruned counts + review flag count) instead of raw log ID - Set task content to "Memory consolidation (force)" or "Memory consolidation" so the TUI input area shows the trigger context - Set daemon idle trigger content to "Memory consolidation (idle trigger)" - Show "No changes needed" message when dream finds nothing to consolidate
|
Claude finished @RyanNg1403's task in 2m 0s —— View job PR Review: feat: [ENG-2121] improve dream task TUI display with meaningful contentTasks
SummaryScore: 3 / 5 The PR cleanly achieves its stated goal — replacing blank Issues Found1. Breaking JSON API change —
|
There was a problem hiding this comment.
💡 Codex Review
Here are some automated review suggestions for this pull request.
Reviewed commit: 34f8496804
ℹ️ About Codex in GitHub
Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you
- Open a pull request for review
- Mark a draft as ready
- Comment "@codex review".
If Codex has suggestions, it will comment; otherwise it will react with 👍.
Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".
- Preserve logId in JSON completion payload alongside result (backwards compat) - Surface errors count in formatResult, avoid misleading "No changes needed" when errors > 0 - Add tests for non-zero formatResult paths (counts, flaggedForReview, errors)
|
Claude finished @RyanNg1403's task in 3m 11s —— View job Tasks
PR Review: feat: [ENG-2121] improve dream task TUI display with meaningful contentScore: 4 / 5 The fix commit addresses all three issues from the previous review: Remaining Issue
|
…mantics - Extract dream log ID from formatted result string in onCompleted since transport logId is always undefined for dream tasks (only curate lifecycle hooks populate it) - Gate "No changes needed" on flaggedForReview === 0 to avoid contradictory output alongside "N operations flagged for review" - Add test for zero-counts + flaggedForReview edge case
|
Claude finished @RyanNg1403's task in 1m 35s —— View job Tasks
PR Review: feat: [ENG-2121] improve dream task TUI display with meaningful contentScore: 4.5 / 5 All three issues from previous reviews are resolved. The What Was Fixed (Good Work)
Remaining Issuesnit — Grammar: "1 operations" —
|
DreamExecutor now returns {logId, result} instead of a plain string.
agent-process includes logId in the task:completed event, and
task-router picks it up as a fallback when lifecycle hooks don't
provide one. This eliminates the fragile regex coupling between
dream.ts and formatResult's header format.
|
Claude finished @RyanNg1403's task in 1m 47s —— View job Tasks
PR Review: feat: [ENG-2121] improve dream task TUI display with meaningful contentScore: 4.5 / 5 The second nit from the previous review — fragile coupling between the The architecture across all six files is clean and consistent. One nit from the prior review remains. What Was Fixed (Good Work)
Remaining Issuenit — Grammar: "1 operations" —
|
Summary
contentfield ("Memory consolidation") so TUI input area isn't blankTest plan
brv dream --forceshows formatted result in TUI expanded view