feat(FN-4360): complete Step 6 — document reliability metrics surface
Fusion-Task-Id: FN-4360 Fusion-Task-Lineage: 50e17cef-29b0-4adc-aa1c-bffdebe4b43c
This commit is contained in:
@@ -965,10 +965,13 @@ The run-audit system records every mutation performed by the engine across three
|
||||
|
||||
Events are tied to specific run IDs for end-to-end traceability.
|
||||
|
||||
**Run audit endpoint:**
|
||||
**Run audit endpoints:**
|
||||
- `GET /api/agents/:id/runs/:runId/audit` — Returns audit trail for a specific agent run
|
||||
- Query params: `?domain=database|git|filesystem` for filtering
|
||||
- Requires agent ownership or admin access
|
||||
- `GET /api/health/reliability` — Aggregates rolling reliability metrics from run-audit and task activity signals.
|
||||
- Query params: `?windowDays=<1..30>` (default `7`)
|
||||
- Response shape: `{ windowDays, generatedAt, headline, perDay, duration, mergeAttempts }` where missing instrumentation/samples surface as `null` with a `reason` field.
|
||||
|
||||
---
|
||||
|
||||
|
||||
Reference in New Issue
Block a user