singularity-forge/packages
TÂCHES 60885610ac feat(gsd): unified rule registry, event journal, journal query tool, and tool naming convention (#1928)
Unify dispatch rules and hooks into a flat rule registry, add structured event journal with causal tracing, expose journal query as an LLM tool, and adopt gsd_concept_action tool naming.

- RuleRegistry class absorbs dispatch rules + hooks into UnifiedRule objects with common when/where/then shape
- post-unit-hooks.ts refactored from 524 lines → 90-line thin facade delegating to the registry
- Event journal emits structured JSONL events with per-iteration flowId grouping and causedBy chains
- gsd_journal_query LLM-callable tool for AI self-debugging of autonomous runs
- 4 DB tools renamed to gsd_concept_action pattern with backward-compatible aliases
- 164 new tests, zero regressions

Closes #1763, closes #1764, closes #1766

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
2026-03-21 18:47:41 -06:00
..
native feat(gsd): unified rule registry, event journal, journal query tool, and tool naming convention (#1928) 2026-03-21 18:47:41 -06:00
pi-agent-core fix: preserve user messages during abort with origin-aware queue clearing (#1439) (#1521) 2026-03-19 18:05:04 -06:00
pi-ai feat(web): browser-based web interface (#1717) 2026-03-21 12:16:54 -06:00
pi-coding-agent test: replace shape-only assertions with value checks (#1875) 2026-03-21 15:25:10 -06:00
pi-tui fix(tui): prevent freeze when using @ file finder (#1832) 2026-03-21 12:55:12 -06:00