Directories
¶
| Path | Synopsis |
|---|---|
|
Package cli implements the non-hook subcommands.
|
Package cli implements the non-hook subcommands. |
|
Package config loads ~/.culi/config.yaml with defaults.
|
Package config loads ~/.culi/config.yaml with defaults. |
|
Package embed provides the local-embedding arm of the hybrid funnel: an Ollama-backed Embedder plus the f32 vector codec and similarity helper.
|
Package embed provides the local-embedding arm of the hybrid funnel: an Ollama-backed Embedder plus the f32 vector codec and similarity helper. |
|
Package export regenerates ~/.claude/agents and ~/.claude/skills from canonical cards, so Claude Code merges them into every repo natively and per-repo copies can be deleted.
|
Package export regenerates ~/.claude/agents and ~/.claude/skills from canonical cards, so Claude Code merges them into every repo natively and per-repo copies can be deleted. |
|
Package harness names the coding agents culi integrates with (Claude Code, Codex CLI) and owns their identity: the typed enum, its validation, and the session-id encoding shared by the hook, learn, and serve layers.
|
Package harness names the coding agents culi integrates with (Claude Code, Codex CLI) and owns their identity: the typed enum, its validation, and the session-id encoding shared by the hook, learn, and serve layers. |
|
Package hook implements normalized Claude Code and Codex hook handlers.
|
Package hook implements normalized Claude Code and Codex hook handlers. |
|
Package importer reconciles drifted .claude directories and CLAUDE.md files from the user's repos into the canonical knowledge store.
|
Package importer reconciles drifted .claude directories and CLAUDE.md files from the user's repos into the canonical knowledge store. |
|
Package indexer syncs the knowledge file store into the SQLite index.
|
Package indexer syncs the knowledge file store into the SQLite index. |
|
Package knowledge defines the card model and parses the canonical file store.
|
Package knowledge defines the card model and parses the canonical file store. |
|
Package learn is the background learning worker: it drains the SessionEnd inbox through the mining pipeline under a lockfile, per-transcript cursors, and the llmtier spend caps.
|
Package learn is the background learning worker: it drains the SessionEnd inbox through the mining pipeline under a lockfile, per-transcript cursors, and the llmtier spend caps. |
|
branchgen
Package branchgen implements learning pipeline C (`culi gen`): repository git facts → two one-shot structured calls (Strong drafts CLAUDE.md sections, Cheap extracts repo-scoped cards) → idempotent writes.
|
Package branchgen implements learning pipeline C (`culi gen`): repository git facts → two one-shot structured calls (Strong drafts CLAUDE.md sections, Cheap extracts repo-scoped cards) → idempotent writes. |
|
codexroll
Package codexroll normalizes Codex rollout JSONL into the conversation entries consumed by the learning miner.
|
Package codexroll normalizes Codex rollout JSONL into the conversation entries consumed by the learning miner. |
|
codexscan
Package codexscan discovers Codex rollout transcripts from Codex's local state databases.
|
Package codexscan discovers Codex rollout transcripts from Codex's local state databases. |
|
gitfacts
Package gitfacts renders a deterministic, zero-LLM analysis of a git repository: modules and churn, commit conventions, dependencies, build/test layout, branch-unique work, and the existing CLAUDE.md as a prior.
|
Package gitfacts renders a deterministic, zero-LLM analysis of a git repository: modules and churn, commit conventions, dependencies, build/test layout, branch-unique work, and the existing CLAUDE.md as a prior. |
|
llmtier
Package llmtier gives the learning pipelines their model access: an explicit Cheap/Strong generator pair (plan §cost control) behind the multi-backend llmgen seam, gated by a persistent daily spend ledger.
|
Package llmtier gives the learning pipelines their model access: an explicit Cheap/Strong generator pair (plan §cost control) behind the multi-backend llmgen seam, gated by a persistent daily spend ledger. |
|
mine
Package mine implements learning pipeline A: deterministic signal windows from one session's transcript → a single cheap structured call (escalated once on failure) → deduplicated candidate cards with a reinforcement lifecycle.
|
Package mine implements learning pipeline A: deterministic signal windows from one session's transcript → a single cheap structured call (escalated once on failure) → deduplicated candidate cards with a reinforcement lifecycle. |
|
patterns
Package patterns implements learning pipeline D: an offline cross-branch pattern index.
|
Package patterns implements learning pipeline D: an offline cross-branch pattern index. |
|
queue
Package queue manages the learn inbox: job files written by the SessionEnd hook, a lockfile so only one worker mines at a time, and per-transcript byte cursors.
|
Package queue manages the learn inbox: job files written by the SessionEnd hook, a lockfile so only one worker mines at a time, and per-transcript byte cursors. |
|
style
Package style implements learning pipeline B: periodic synthesis of the per-session style observations that the miner appends to state/style_observations.jsonl.
|
Package style implements learning pipeline B: periodic synthesis of the per-session style observations that the miner appends to state/style_observations.jsonl. |
|
transcript
Package transcript reads Claude Code session transcripts (JSONL) and extracts deterministic signal windows for the learning miner — the zero-LLM stage 0 that decides whether a session is worth any model call at all.
|
Package transcript reads Claude Code session transcripts (JSONL) and extracts deterministic signal windows for the learning miner — the zero-LLM stage 0 that decides whether a session is worth any model call at all. |
|
Package llmgen is the multi-backend seam for one-shot structured LLM calls: system + user prompt in, schema-validated JSON out.
|
Package llmgen is the multi-backend seam for one-shot structured LLM calls: system + user prompt in, schema-validated JSON out. |
|
Package mcpserver exposes the card store to Claude Code as an MCP stdio server — the pull side of culi.
|
Package mcpserver exposes the card store to Claude Code as an MCP stdio server — the pull side of culi. |
|
Package pack turns ranked candidates into a budgeted injection envelope.
|
Package pack turns ranked candidates into a budgeted injection envelope. |
|
Package retrieve implements the token-minimal retrieval funnel: gate → scope filter + shadowing → trigger pinning → (BM25 ‖ embed+cosine) → RRF fuse × utility → floor.
|
Package retrieve implements the token-minimal retrieval funnel: gate → scope filter + shadowing → trigger pinning → (BM25 ‖ embed+cosine) → RRF fuse × utility → floor. |
|
Package serve hosts the culi review console: a local, single-user web UI over the knowledge store (candidate triage, KB browse, token-savings and job-health dashboards).
|
Package serve hosts the culi review console: a local, single-user web UI over the knowledge store (candidate triage, KB browse, token-savings and job-health dashboards). |
|
Package store owns the SQLite index.
|
Package store owns the SQLite index. |
Click to show internal directories.
Click to hide internal directories.