consciousness/src/agent/tools
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
..
control.rs flatten: move poc-memory contents to workspace root 2026-03-25 00:54:12 -04:00
mod.rs provenance: pass directly through thought::dispatch, remove globals 2026-03-27 15:44:39 -04:00
vision.rs flatten: move poc-memory contents to workspace root 2026-03-25 00:54:12 -04:00
working_stack.rs flatten: move poc-memory contents to workspace root 2026-03-25 00:54:12 -04:00