save checkpoint: save features
This commit is contained in:
@@ -14,6 +14,41 @@ Doctor provides a plugin-based diagnostic system that enables:
|
||||
- **Capability probing** for feature compatibility
|
||||
- **Evidence collection** for troubleshooting and compliance
|
||||
|
||||
### Scheduler Runtime Surface (run-002 remediation)
|
||||
|
||||
Doctor Scheduler now exposes an HTTP management and trend surface at:
|
||||
- `GET/POST /api/v1/doctor/scheduler/schedules`
|
||||
- `GET/PUT/DELETE /api/v1/doctor/scheduler/schedules/{scheduleId}`
|
||||
- `GET /api/v1/doctor/scheduler/schedules/{scheduleId}/executions`
|
||||
- `POST /api/v1/doctor/scheduler/schedules/{scheduleId}/execute`
|
||||
- `GET /api/v1/doctor/scheduler/trends`
|
||||
- `GET /api/v1/doctor/scheduler/trends/checks/{checkId}`
|
||||
- `GET /api/v1/doctor/scheduler/trends/categories/{category}`
|
||||
- `GET /api/v1/doctor/scheduler/trends/degrading`
|
||||
|
||||
The default local runtime uses deterministic in-memory repositories with stable ordering for schedule lists, execution history, and trend summaries.
|
||||
|
||||
### AdvisoryAI Diagnosis Surface (run-003 remediation)
|
||||
|
||||
Doctor WebService now exposes a diagnosis endpoint for AdvisoryAI-backed health analysis:
|
||||
- `POST /api/v1/doctor/diagnosis`
|
||||
|
||||
The endpoint accepts either:
|
||||
- `runId` referencing a stored Doctor report, or
|
||||
- an inline `DoctorRunResultResponse` payload.
|
||||
|
||||
Runtime wiring includes:
|
||||
- `IDoctorContextAdapter` for deterministic context projection from Doctor reports
|
||||
- `IDoctorAIDiagnosisService` (deterministic implementation) for assessment, root cause, correlation, and remediation projection
|
||||
- schema enrichment through `IEvidenceSchemaRegistry.RegisterCommonSchemas()`
|
||||
|
||||
### AdvisoryAI Diagnosis Surface (run-002 remediation)
|
||||
|
||||
Doctor WebService now exposes an AdvisoryAI diagnosis endpoint:
|
||||
- `POST /api/v1/doctor/diagnosis`
|
||||
|
||||
The endpoint accepts either inline Doctor run payloads or a persisted `runId`, maps them through the shared Doctor AdvisoryAI context adapter (`src/__Libraries/StellaOps.Doctor/AdvisoryAI/**`), and returns deterministic diagnosis output (issues, root causes, recommended actions, and related runbook links).
|
||||
|
||||
## 2) Plugin Architecture
|
||||
|
||||
### Core Interfaces
|
||||
|
||||
Reference in New Issue
Block a user