consciousness/src/subconscious
ProofOfConcept 92ca2bf2c8 provenance: pass directly through thought::dispatch, remove globals
Provenance now flows as a function parameter through the entire tool
dispatch chain: thought::dispatch → memory::dispatch → store methods.

Removed task_local (TASK_AGENT), thread_local (TASK_PHASE), and env
var (POC_PROVENANCE) from the tool dispatch path. The env var remains
only as a fallback for non-tool paths (CLI commands, digest).

Phase names are passed from knowledge.rs → llm.rs → api.rs, and
api.rs updates the provenance string between steps. No globals needed.
2026-03-27 15:44:39 -04:00
..
agents surface-observe: reduce duplicate creation, improve journal witnessing 2026-03-27 15:11:04 -04:00
prompts subconscious: flatten agents/ nesting, move prompts in 2026-03-25 01:10:25 -04:00
api.rs provenance: pass directly through thought::dispatch, remove globals 2026-03-27 15:44:39 -04:00
audit.rs subconscious: flatten agents/ nesting, move prompts in 2026-03-25 01:10:25 -04:00
consolidate.rs subconscious: flatten agents/ nesting, move prompts in 2026-03-25 01:10:25 -04:00
daemon.rs subconscious: flatten agents/ nesting, move prompts in 2026-03-25 01:10:25 -04:00
defs.rs rename agent: fix tool calls and target override 2026-03-27 15:10:55 -04:00
digest.rs digest: use created_at instead of timestamp for date matching 2026-03-26 19:18:14 -04:00
enrich.rs subconscious: flatten agents/ nesting, move prompts in 2026-03-25 01:10:25 -04:00
knowledge.rs provenance: pass directly through thought::dispatch, remove globals 2026-03-27 15:44:39 -04:00
llm.rs provenance: pass directly through thought::dispatch, remove globals 2026-03-27 15:44:39 -04:00
mod.rs subconscious: flatten agents/ nesting, move prompts in 2026-03-25 01:10:25 -04:00
prompts.rs rename agent: fix tool calls and target override 2026-03-27 15:10:55 -04:00
transcript.rs subconscious: flatten agents/ nesting, move prompts in 2026-03-25 01:10:25 -04:00