daemon: add distill agent to consolidation plan

Add distill_count to ConsolidationPlan, daemon health metrics,
and TUI display. Distill agent now participates in the
consolidation budget alongside replay, linker, separator,
transfer, organize, and connector.

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
This commit is contained in:
Kent Overstreet 2026-03-16 17:10:09 -04:00
parent f555fa3c8e
commit e049d4437f
3 changed files with 40 additions and 13 deletions

View file

@ -539,7 +539,7 @@ fn render_health(frame: &mut Frame, gh: &GraphHealth, area: Rect) {
);
// Plan
let total = gh.plan_replay + gh.plan_linker + gh.plan_separator + gh.plan_transfer + 1;
let total = gh.plan_replay + gh.plan_linker + gh.plan_separator + gh.plan_transfer + gh.plan_distill + 1;
let plan_line = Line::from(vec![
Span::raw(" plan: "),
Span::styled(
@ -547,8 +547,8 @@ fn render_health(frame: &mut Frame, gh: &GraphHealth, area: Rect) {
Style::default().add_modifier(Modifier::BOLD),
),
Span::raw(format!(
" agents ({}r {}l {}s {}t +health)",
gh.plan_replay, gh.plan_linker, gh.plan_separator, gh.plan_transfer
" agents ({}r {}l {}s {}t {}d +health)",
gh.plan_replay, gh.plan_linker, gh.plan_separator, gh.plan_transfer, gh.plan_distill
)),
]);
frame.render_widget(Paragraph::new(plan_line), plan_area);