/** * PRI-638 — Diagnostician capability authority: unified disabled semantics. * * History of this file: it started as a characterization suite that LOCKED IN * the divergent behaviour found on main (investigation evidence for the * two-switch matrix in `docs/plans/2026-09-pri638-diagnostician-kill-switch.md`). * Per the issue contract ("characterization tests first, then convert them into * the new canonical behaviour tests") the same probes now assert the CONVERGED * semantics: * * Capability authority (the only one): internalAgents.agents.diagnostician.enabled * Disabled representation: errorCategory 'capability_missing' + * FailureCategory 'capability_disabled' * Pain persistence: the durable diagnosis task is created * even when the capability is disabled * Retry budget: attemptCount untouched by a disabled run * Provider calls: 0 on every disabled path * Recovery: re-enable → executePendingDiagnosis / * `pd pain retry` resumes the same task * * Everything below runs real production wiring: computeEffectivePdConfig → * createPainSignalBridge → PainSignalBridge → RuntimeStateManager (real SQLite * on a temp workspace). The provider entry point * (OpenClawCliRuntimeAdapter.startRun) is stubbed so probes stay deterministic. */ export {}; //# sourceMappingURL=pri638-diagnostician-capability-characterization.test.d.ts.map