Expand description
Workspace and source-discovery diagnostic data types
(WorkspaceDiagnostic, WorkspaceDiagnosticKind). Re-exported by
fallow-config for back-compat; embedded directly by fallow-output so
workspace_diagnostics[] keeps its typed JSON schema. The
schemars::JsonSchema derive is gated on the schema feature.
Workspace and source-discovery diagnostic data types.
The serializable WorkspaceDiagnostic / WorkspaceDiagnosticKind pair
lives here, upstream of both fallow-config (which owns the registry and
emission logic and re-exports these types for back-compat) and
fallow-output (which embeds Vec<WorkspaceDiagnostic> in its JSON
envelopes). Keeping the data types in fallow-types lets the output layer
reference the real, schema-bearing type instead of an opaque
serde_json::Value newtype, so workspace_diagnostics[] keeps its typed
kind/path/message shape (and the 7-variant kind oneOf) in
docs/output-schema.json without coupling output contracts to config
loading.
Structs§
- Workspace
Diagnostic - A diagnostic about a workspace-discovery candidate.
Enums§
- Workspace
Diagnostic Kind - Why a workspace-discovery candidate was rejected, or why a sibling directory looked workspace-like but was not declared.