Skip to main content
← Back to list
01Issue
FeatureShippedSwamp Club
Assigneesstack72

#353 Docs: update doctor extensions JSON reference to include warnings[] field

Opened by stack72 · 5/14/2026· Shipped 5/14/2026

Context

PR fixing #351 adds a warnings[] field to the swamp doctor extensions --json output. The doctor reference page at content/manual/reference/doctor.md documents the JSON output shape and needs updating.

What changed

The doctor extensions --json output now includes a warnings array alongside existing fields (orphanFiles, aggregateState, loaderErrors, recentTransitions). Each entry has the shape:

{ "sourcePath": "extensions/models/foo/bar.ts", "category": "TypeExtractionFailed", "message": "type field could not be extracted..." }

Warnings are advisory — they do NOT affect overallStatus or the exit code. The category field is extensible for future warning types.

What to update

  1. Add warnings to the JSON example in the doctor extensions section of content/manual/reference/doctor.md
  2. Add a brief explanation of warning semantics (advisory, does not flip exit code)
  3. Document the TypeExtractionFailed category as the first supported warning type
02Bog Flow
OPENTRIAGEDIN PROGRESSSHIPPED+ 1 MOREASSIGNED+ 2 MOREREVIEW+ 3 MOREPR_MERGEDSHIPPED

Shipped

5/14/2026, 4:50:35 PM

Click a lifecycle step above to view its details.

03Sludge Pulse
stack72 assigned stack725/14/2026, 3:08:54 PM

Sign in to post a ripple.