Skip to content

feat: add diagnostic descriptions and metadata generation script#10

Merged
lewisjared merged 1 commit intomainfrom
diagnostics-description
Feb 15, 2026
Merged

feat: add diagnostic descriptions and metadata generation script#10
lewisjared merged 1 commit intomainfrom
diagnostics-description

Conversation

@lewisjared
Copy link
Contributor

Summary

  • Add description field to DiagnosticMetadata model and apply it as an override in DiagnosticSummary
  • Add descriptions for all diagnostics in metadata.yaml so the frontend can display richer context
  • Add generate_metadata.py script and make generate-metadata target to regenerate metadata from the provider registry

Test plan

  • Verify make dev-backend starts without errors
  • Verify /api/v1/diagnostics responses include the new description overrides
  • Run make generate-metadata and confirm it produces valid output

Add description overrides to diagnostic metadata so the frontend can
display richer context for each diagnostic. Includes a generation
script to rebuild metadata.yaml from the provider registry.
@netlify
Copy link

netlify bot commented Feb 15, 2026

Deploy Preview for climate-ref canceled.

Name Link
🔨 Latest commit 42818f3
🔍 Latest deploy log https://app.netlify.com/projects/climate-ref/deploys/69924aa9c2dbcc0008ff293c

@lewisjared lewisjared merged commit b7c4b42 into main Feb 15, 2026
5 of 7 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant