Scope: internal/webserver and callers changing runtime activation or browser transport. Root and backend guidance apply; shared payload changes also require pkg/api/AGENTS.md.
SaveConfigdelegates runtime activation toRuntimeActivator. Read WebUI config/core/logger throughcurrentConfig(),requireRuntime()or snapshots; never readBackend.cfgdirectly outside helpers.Server.cfgis startup-only.- Keep
/api/app/*routes, typed requests and browser clients synchronized. Preserve CLI/WebUI parity and backend-owned workflow authority; do not derive tracker semantics in transport DTOs.
- Run
go test -race -v -timeout 20m ./internal/webserver/... ./pkg/apiplus the backend checks. - Request/response or browser-client changes also need frontend
typecheckand unit tests. Runtime-sensitive UI changes require embedded-web verification underwebui/e2e/AGENTS.md, not Vite-only validation.