Constructs a live *session.Manager in main alongside the LCM, sharing the exact same SessionStore + LCM dependencies the lifecycle stack already holds. Refactor: storeAdapter moves from package main to a new internal package, wiring.Adapter, so the daemon's composition root and any in-process integration tests can share a single bridge. Stubbed for now: ports.Agent has no production adapter on main; a loud *noopAgent returns sentinel AO_AGENT_HARNESS_NOT_WIRED and logs a warning once on first call, so a future Spawn through this lane fails at the runtime layer with a clear breadcrumb rather than starting a broken session quietly. ports.Notifier and ports.AgentMessenger remain stubbed alongside the LCM. Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com> |
||
|---|---|---|
| .. | ||
| adapters | ||
| cdc | ||
| config | ||
| domain | ||
| httpd | ||
| lifecycle | ||
| observe/reaper | ||
| ports | ||
| runfile | ||
| session | ||
| storage/sqlite | ||