Operations
Observability Priorities
- Retrieval path visibility for recall workflows.
- Fallback policy trigger visibility.
- Transform execution counters and failure reasons.
- Parser and validator error surface for malformed nodes.
Golden Signals
- Latency: recall and transform response times by percentile.
- Errors: parser, validator, retrieval, and transform failure rates.
- Throughput: query volume and transform batch throughput.
- Saturation: host and storage pressure indicators under load.
Runtime Health Signals
- Parse success ratio.
- Validation failure ratio.
- Recall latency percentiles.
- Transform batch success and failure counts.
- Embedding backfill throughput and error rates.
Alert Triggers
- Sudden rise in validation failures.
- Recall latency p95 breach sustained over multiple intervals.
- Unexpected shift in retrieval_path distribution.
- Transform failure ratio above configured threshold.
Incident Severity Model
- SEV-1: broad service impact or data integrity risk.
- SEV-2: degraded behavior with viable workaround.
- SEV-3: localized or non-critical workflow degradation.
Severity guides response urgency, escalation path, and communication cadence.
Suggested Starting Thresholds
These baseline thresholds are starting points and should be tuned per environment.
- Recall p95 latency: page at sustained breach over 15 minutes.
- Validation failure ratio: page when sustained above 2 percent.
- Transform failure ratio: page when sustained above 1 percent.
- Retrieval path drift: investigate when lexical fallback share doubles from baseline.
Severity-to-Response Mapping
- SEV-1: immediate incident bridge, continuous updates, executive and stakeholder notification.
- SEV-2: active triage with scheduled updates and rollback decision checkpoint.
- SEV-3: normal triage queue with documented mitigation and scheduled follow-up.
Logging Recommendations
- Log explicit policy settings for recall and transform requests.
- Log retrieval path and fallback reason for each recall request.
- Log session and tenant scope used for each operation.
- Keep request payload snapshots in redacted form for incident replay.
Incident Response Playbook
- Determine whether failure is parser, policy, or storage related.
- Reproduce with the same request payload and explicit limits.
- Use explain workflows to isolate ranking or fallback regressions.
- Run dry-run transforms before any broad mutation in recovery paths.
Runbooks
Runbook A: Parser/Validation Spike
- Capture representative failing payloads.
- Validate four-layer ordering and content confidence key format.
- Compare with last known-good release behavior.
- Roll back host version if failures are release-correlated.
Runbook B: Retrieval Regression
- Capture request payload, scoring settings, and retrieval_path.
- Execute explain workflow with same request.
- Compare channel scores and fallback behavior against baseline.
- Patch policy defaults only with regression test coverage.
Runbook C: Transform Job Instability
- Switch affected operations to dry-run mode.
- Validate selected node set and provider capabilities.
- Reduce batch_size and re-run with checkpoint controls.
- Resume full run only after zero-failure dry-run parity.
SLO Suggestions
- Recall p95 latency target per environment.
- Parse/validate success target for ingested nodes.
- Transform job success target and bounded failure budget.
Teams should define environment-specific numeric targets and review them at each release cycle.
Maintenance
- Keep crate versions aligned within workspace releases.
- Re-run examples as part of regression verification.
- Audit docs links and command validity each release cycle.
- Rehearse incident runbooks quarterly.