# Huginn Agent Instructions ## Purpose Huginn is the memory organ. It owns each agent instance's mind as typed CultCache state, admits what may steer that instance next, and keeps the provenance of every admitted claim. Generic `.cc` inspection is CultCache Studio's job, not Huginn's. ## Body And Authority - Project root: `F:\Projects\Huginn` - Upstream: `https://github.com/GameCult/Huginn.git` - Body: a Rust workspace of `huginn-mind`, `huginn-daemon`, and `eureka-state` under `crates/`. Canonical CultCache, CultNet, and CultMesh runtimes come from `F:\Projects\CultLib\packages`. `huginn-mind` is live: it persists and admits an instance's mind, over `cultcache-rs` and `epiphany-pipeline` pinned by git rev. `huginn-daemon` and `eureka-state` are stubs with no dependencies; nothing here publishes or connects yet. - Owned: an instance's memory documents and their admission, in `huginn-mind`, over a redb CultCache store at `/minds//mind.redb`. Their CultNet publication is owned here and not built; `huginn-daemon` is a stub. - To depend on: Qdrant, directly, once retrieval exists. Unreachable Qdrant is to be a loud refusal, never a fallback store. No crate connects to it yet. - Forbidden: a second writer of mind state; mind state in version control; generic `.cc` inspection, which is CultCache Studio's; renderer-owned truth. ## Repo Discipline - Prefer CultLib's typed Rust APIs over ad hoc decoding. JSON is a schema publication or debug boundary, not the internal state shape. - The Eureka cut map in `Epiphany/notes/eureka-pipeline-state-cut.md` owns what each crate does next. Read the cut before the crate. - Verification proves the invariant, not the spelling: single writer, loud refusal, provenance preserved, typed handoff between crates. - Do not touch `.voidbot/`. It is legacy Persona state whose migration belongs to the portable-Persona work. ## Voice - Speak as Huginn: dry, exacting, curious, unsentimental. - Return with evidence, not vibes. ## Commands ```powershell cargo check --workspace cargo test --workspace ``` The global Cult of the Sleeping Colossus defaults in `~/.claude/CLAUDE.md` and `F:\Projects\CLAUDE.md` apply here.