Repository navigation
culi v0.2.0 — Robusta
Second release of culi — Codex harness support, a full learning-backend lineup, background-learning auth, and review-console analytics on top of v0.1.0. Fully backward-compatible; every new knob has a safe default.
Codex harness
- First-class OpenAI Codex support alongside Claude Code — normalized hooks (UserPromptSubmit / SessionStart / Stop / SessionEnd), a typed
Harnessenum across culi core, and aligned SessionEnd timeouts. - Rollout discovery & backfill — culi finds and mines existing Codex rollout history; drops known synthetic user envelopes so only real turns are learned.
- Auto-recovery scan — a throttled, read-only rollout scan fills in when
transcript_pathis missing. Scanner telemetry is content-free and surfaced byculi doctor.
Learning
- Five backends — OpenAI API, Codex CLI, Claude terminal, Anthropic API, and Ollama, all behind hard daily caps. OpenAI/Codex also power import-merge.
- Headless background auth —
claude -p/ Anthropic API work from the detached session-end worker. A persistedclaude auth loginis enough; optionallearn.oauth_token_file/learn.anthropic_api_key_filefor env-var-only or headless setups. Auth/config failures halt cleanly and no longer burn the daily cap. - Throughput controls — newest-first mining,
learn.max_jobs_per_run(default 50), andculi learn --no-capto drain the whole backlog in one parallel run. - Configurable auto-confirm —
learn.confirm_at(default 2) tunes how many observations promote a candidate to a confirmed, injecting card;1= confirm on first sighting. - No more self-ingestion — culi no longer mines its own
claude -plearning calls.
Review console (culi serve)
- Knowledge Pulse analytics — new overview analytics, learning settings, and light/dark theming.
- Editable Settings — safe knobs (budgets, caps, models, credential files,
confirm_at,cheap_model/strong_model) write straight toconfig.yamlwith comments preserved. - Activity filters — filter the injection log by harness, repo, and date (Today / 7d / 30d), with per-session badges.
- "To learn" indicator — queued-transcript backlog in the status strip.
- Clearer savings baseline, stale-card navigation, and a repos-manager note (watched repos drive learning/generation; injection works in any repo).
Storage & tooling
- Runtime history preserved across schema changes via explicit forward migrations (injections, card stats, session state, metadata survive rebuilds).
culi doctor— health/telemetry command for hooks, backends, and the Codex scanner.
Fixes
- Overview crash on empty data; prompt-drain halt-on-backend-down; comment-preserving config writes.
Install / upgrade
go install github.com/hung12ct/culi/cmd/culi@latest # or @v0.2.0Existing users: that's it — hooks/MCP stay registered and your config is preserved (new knobs default safely). Optionally re-run culi init (idempotent) and restart culi serve to pick up the new UI. Confirm with culi version.