Commit graph

2 commits

Author SHA1 Message Date
jeda
e00a98537d feat: add NEEDLE-FABRIC integration test suite
Comprehensive test coverage for NEEDLE log parsing:
- worker.started events with object and string worker formats
- bead lifecycle events (claimed, completed, agent_started, etc.)
- worker state events (idle, draining, shutdown_initiated)
- effort tracking events
- error level inference for fail/error events
- multi-line log parsing with mixed formats
- timestamp conversion from ISO to Unix milliseconds
- complete real-world log sequence validation

22 tests verifying FABRIC can correctly parse all NEEDLE event types.

Implements: bd-37v

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2026-03-04 23:47:44 +00:00
jeda
8002f002bf feat(bd-2st): Implement semantic narrative summarization
- Create SemanticNarrativeGenerator with event sequence analysis
- Implement pattern detection for 12 event types (bead lifecycle, file ops, testing, debugging, git, etc.)
- Add real-time narrative segmentation and updates
- Generate natural language summaries with multiple styles (brief, detailed, timeline, technical)
- Integrate with store for automatic event processing
- Add comprehensive unit tests (35 tests, all passing)
- Export semantic narrative from main index

Features:
- Event pattern detection and grouping
- Real-time narrative updates via callback system
- Multiple narrative styles (brief, detailed, timeline, technical)
- Accomplishment and challenge extraction
- Sentiment analysis (productive, struggling, mixed, idle)
- Timeline generation
- Aggregated narratives for multiple workers
- Filtering by time range and bead ID

Co-Authored-By: Claude Worker <noreply@anthropic.com>
2026-03-04 04:31:11 +00:00