Skip to main content

Crate retro_core

Crate retro_core 

Source

Modules§

analysis
briefing
claude_settings
Non-destructive editing of Claude Code settings JSON (global ~/.claude/settings.json): ensure retro’s hook entries exist without touching anything else in the file.
config
doctor
End-to-end health verification for the v3 pipeline. Read-only: every check inspects state; none mutate. Consumed by retro doctor and the dashboard.
errors
health
Pipeline health: per-stage status records at <store>/health.json. Written by every v3 stage; read by retro doctor and the dashboard (Plan 3), and surfaced as warnings in the session briefing.
hook_event
Claude Code hook stdin event (SessionEnd / SessionStart payload).
ingest
lint
Store-wide lint: free (no-AI) checks for near-duplicate active nodes and stale low-confidence candidates. Findings are data; retro lint renders them and (non-dry-run) records them as briefing notifications.
lock
migrate
v2 -> v3 migration: read the v2 SQLite knowledge (read-only), import it into the markdown store, and clean up v1/v2 environment artifacts. Fully self-contained (raw rusqlite, own hook/launchd helpers) so deleting the v2 modules cannot break it. retro.db is NEVER modified — rollback is “keep using the 2.x binary”.
models
observer
projection
runner_v3
The v3 pipeline: drain the session queue into the knowledge store. No daemon — invoked by hooks (retro run --background) or manually.
scrub
store
Retro v3 file-based knowledge store.
util