Files
manual_slop/conductor/tracks/aggregation_smarter_summaries_20260322/plan.md
T

2.4 KiB

Implementation Plan: Smarter Aggregation with Sub-Agent Summarization

Phase 1: Hash-Based Summary Cache [checkpoint: e972cf4]

Focus: Implement file hashing and cache storage

  • Task: Research existing file hash implementations in codebase 3218104
  • Task: Design cache storage format (file-based vs project state) 3218104
  • Task: Implement hash computation for aggregation files 3218104
  • Task: Implement summary cache storage and retrieval 3218104
  • Task: Add cache invalidation when file content changes 3218104
  • Task: Write tests for hash computation and cache 3218104
  • Task: Conductor - User Manual Verification 'Phase 1: Hash-Based Summary Cache' e972cf4

Phase 2: Sub-Agent Summarization [checkpoint: 7efcc7c]

Focus: Implement sub-agent summarization during aggregation

  • Task: Audit current aggregate.py flow 3218104
  • Task: Define summarization prompt strategy for code vs text files 3218104
  • Task: Implement sub-agent invocation during aggregation 3218104
  • Task: Handle provider-specific differences in sub-agent calls 3218104
  • Task: Write tests for sub-agent summarization 3218104
  • Task: Conductor - User Manual Verification 'Phase 2: Sub-Agent Summarization' 7efcc7c

Phase 3: Tiered Aggregation Strategy [checkpoint: fa00a84]

Focus: Respect tier-level aggregation configuration

  • Task: Audit how tiers receive context currently 628b580
  • Task: Implement tier-level aggregation strategy selection 628b580
  • Task: Connect tier strategy to Persona configuration 628b580
  • Task: Write tests for tiered aggregation 628b580
  • Task: Conductor - User Manual Verification 'Phase 3: Tiered Aggregation Strategy' fa00a84

Phase 4: UI Integration

Focus: Expose cache status and controls in UI

  • [~] Task: Add cache status indicator to Files & Media panel
  • [~] Task: Add "Clear Summary Cache" button
  • [~] Task: Add aggregation configuration to Project Settings or AI Settings
  • [~] Task: Write tests for UI integration
  • Task: Conductor - User Manual Verification 'Phase 4: UI Integration'

Phase 5: Cache Persistence & Optimization

Focus: Ensure cache persists and is performant

  • Task: Implement persistent cache storage to disk
  • Task: Add cache size management (max entries, LRU)
  • Task: Performance testing with large codebases
  • Task: Write tests for persistence
  • Task: Conductor - User Manual Verification 'Phase 5: Cache Persistence & Optimization'