Split hook.rs: core orchestration -> subconscious.rs

subconscious::subconscious — AgentCycleState, AgentInfo, AgentSnapshot,
  SavedAgentState, format_agent_output, cycle methods. Core agent
  lifecycle independent of Claude Code.

subconscious::hook — Claude Code hook: context loading, chunking,
  seen-set management, run_agent_cycles (serialized state entry point).

Co-Authored-By: Proof of Concept <poc@bcachefs.org>
This commit is contained in:
Kent Overstreet 2026-04-02 01:37:51 -04:00
parent fbc8572840
commit c814ed1345
6 changed files with 416 additions and 411 deletions

View file

@ -16,6 +16,7 @@
// hook — session hook: context injection, agent orchestration
// transcript — shared JSONL transcript parsing
pub mod subconscious;
pub mod hook;
pub mod transcript;
pub mod api;