Dashboard › opencode-lore › Gateway startup, process-boundary, and …
01a0620e-2b92-703e-9703-3b770767b07b| Project | Hits | Last recalled |
|---|---|---|
| opencode | 5 | 8d ago |
| craft | 1 | 8d ago |
CLI startup alone owns StartOptions.processBoundary because signals and shutdown affect the host process; embedded plugins never request lifecycle control. Quiet in-process callers use { quiet:true, local:true }, route notices through file logging, and must not write lifecycle text into full-screen TUIs. Local mode clears hosted and remote-gateway state before validation so process-wide defaults cannot disable local discovery, imports, configuration, or watching. Daemon records contain pid, processIdentity, and an owner-only token: PID reuse makes numeric ownership insufficient. Reuse, termination, and discovery cleanup require the exact recorded generation, and records are removed only while every identity field still matches.