refactor(prime): split 1833-line file into logical modules

Extract prime.go into focused files:
- prime_session.go: session ID handling, hooks, persistence
- prime_output.go: all output/rendering functions
- prime_molecule.go: molecule workflow context
- prime_state.go: handoff markers, session state detection

Main prime.go now ~730 lines with core flow visible as "table of contents".
No behavior changes - pure file organization following Go idioms.

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
This commit is contained in:
george
2026-01-10 18:28:03 -08:00
committed by Steve Yegge
parent 8219fd5abe
commit 21a88e2c18
5 changed files with 1143 additions and 1102 deletions

File diff suppressed because it is too large Load Diff