* Kaos used by session-internal bootstrap (AGENTS.md context, cwd listing) * and metadata persistence. Always backed by the persistence sink (typically * the local filesystem) so a transient ACP-side failure on system files like * `AGENTS.md` never blocks `bootstrapAgentProfile` — tool call
(cwd: string)
| 286 | * through `agent.kaos` and continue to honor the ACP bridge. |
| 287 | */ |
| 288 | systemContextKaos(cwd: string): Kaos { |
| 289 | return this.persistenceKaos.withCwd(cwd); |
| 290 | } |
| 291 | |
| 292 | async createMain() { |
| 293 | const { agent } = await this.createAgent({ type: 'main' }, { |
no test coverage detected