Doctor plugin checks: implement health check classes and documentation

Implement remediation-aware health checks across all Doctor plugin modules
(Agent, Attestor, Auth, BinaryAnalysis, Compliance, Crypto, Environment,
EvidenceLocker, Notify, Observability, Operations, Policy, Postgres, Release,
Scanner, Storage, Vex) and their backing library counterparts (AI, Attestation,
Authority, Core, Cryptography, Database, Docker, Integration, Notify,
Observability, Security, ServiceGraph, Sources, Verification).

Each check now emits structured remediation metadata (severity, category,
runbook links, and fix suggestions) consumed by the Doctor dashboard
remediation panel.

Also adds:
- docs/doctor/articles/ knowledge base for check explanations
- Advisory AI search seed and allowlist updates for doctor content
- Sprint plan for doctor checks documentation

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
This commit is contained in:
master
2026-03-27 12:28:00 +02:00
parent fbd24e71de
commit c58a236d70
326 changed files with 18500 additions and 463 deletions

View File

@@ -128,7 +128,8 @@ public sealed class NotifyChannelConfigurationCheck : IDoctorCheck
CommandType.FileEdit)
.AddStep(2, "Or run setup wizard",
"stella setup --step notify",
CommandType.Shell))
CommandType.Shell)
.WithRunbookUrl("docs/doctor/articles/notify/notify-channel-configured.md"))
.WithVerification($"stella doctor --check {CheckId}")
.Build());
}
@@ -145,7 +146,8 @@ public sealed class NotifyChannelConfigurationCheck : IDoctorCheck
.WithCauses(issues.ToArray())
.WithRemediation(r => r
.AddManualStep(1, "Review configuration", "Check Notify:Channels section for missing values")
.AddStep(2, "Run setup wizard", "stella setup --step notify", CommandType.Shell))
.AddStep(2, "Run setup wizard", "stella setup --step notify", CommandType.Shell)
.WithRunbookUrl("docs/doctor/articles/notify/notify-channel-configured.md"))
.WithVerification($"stella doctor --check {CheckId}")
.Build());
}
@@ -161,7 +163,8 @@ public sealed class NotifyChannelConfigurationCheck : IDoctorCheck
})
.WithCauses(issues.ToArray())
.WithRemediation(r => r
.AddManualStep(1, "Review configuration", "Check Notify:Channels section for missing values"))
.AddManualStep(1, "Review configuration", "Check Notify:Channels section for missing values")
.WithRunbookUrl("docs/doctor/articles/notify/notify-channel-configured.md"))
.WithVerification($"stella doctor --check {CheckId}")
.Build());
}

View File

@@ -123,6 +123,7 @@ public sealed class NotifyChannelConnectivityCheck : IDoctorCheck
{
r.AddManualStep(4, "Check webhook endpoint", "Verify webhook endpoint is accessible from this network");
}
r.WithRunbookUrl("docs/doctor/articles/notify/notify-channel-connectivity.md");
})
.WithVerification($"stella doctor --check {CheckId}")
.Build();

View File

@@ -111,7 +111,8 @@ public sealed class NotifyDeliveryTestCheck : IDoctorCheck
.WithCauses(issues.ToArray())
.WithRemediation(r => r
.AddManualStep(1, "Review delivery settings", "Check Notify:Delivery section for invalid values")
.AddStep(2, "Run setup wizard", "stella setup --step notify", CommandType.Shell))
.AddStep(2, "Run setup wizard", "stella setup --step notify", CommandType.Shell)
.WithRunbookUrl("docs/doctor/articles/notify/notify-delivery-test.md"))
.WithVerification($"stella doctor --check {CheckId}")
.Build());
}
@@ -139,7 +140,8 @@ public sealed class NotifyDeliveryTestCheck : IDoctorCheck
" \"Redis\": { \"ConnectionString\": \"localhost:6379\" }\n" +
" }\n" +
"}",
CommandType.FileEdit))
CommandType.FileEdit)
.WithRunbookUrl("docs/doctor/articles/notify/notify-delivery-test.md"))
.WithVerification($"stella doctor --check {CheckId}")
.Build());
}