page:docs-harness-features-backlog-gaps-ecosystem-gap-eco-005
GAP-ECO-005: Plugin Validation and Diagnostics reference
Validate plugin manifests, check component loading, and provide clear diagnostics
GAP-ECO-005: Plugin Validation and Diagnostics
| Field | Value |
|---|---|
| Category | ecosystem |
| Priority | Medium |
| Effort | S |
| Status | Missing |
Description
Validate plugin manifests, check component loading, and provide clear diagnostics when plugins fail.
CC Implementation
mcp-config-invalid, hook-load-failed, etc.)
validatePlugin.ts-- comprehensive manifest validationValidatePlugin.tsx-- validation UI with detailed resultsPluginErrors.tsx-- structured error display per error typepluginStartupCheck.ts-- boot-time validation- 12+ discriminated error types (path-not-found, git-auth-failed, manifest-parse-error,
PluginOptionsDialog.tsx-- plugin configuration UI
Current State
Babysitter's readPluginPackage reads manifests but validation is minimal. No structured error types. No diagnostic UI. Plugin load failures produce generic errors.
Target State
Structured plugin error types with actionable messages. A plugin:validate command that checks manifest, components, dependencies, and compatibility. Clear error messages explaining what went wrong and how to fix it.
Dependencies
- GAP-ECO-001 -- needs to validate CC plugin format too
Key Files
| Component | Path |
|---|---|
| CC validator | src/utils/plugins/validatePlugin.ts |
| CC errors | src/commands/plugin/PluginErrors.tsx |
Recommendation
Phase 4 (M6). Start with structured error types matching CC's taxonomy. Then add plugin:validate command.