ward doctor should not require fleet defaults #1230

Merged
coilysiren merged 1 commit from issue-1197 into main 2026-07-14 06:58:11 +00:00
Owner

Relax fleet doctor validation so missing fleet defaults blocks fall back to the baked defaults instead of failing the run. This keeps ward doctor aligned with the fleet parser, which already accepts sparse agents blocks.

The regression test covers a bundle with the defaults child removed from the fleet fixture.

  • What changed: doctor now skips fleet-default validation when the block is absent.
  • Why: sparse bundles should stay valid for ward doctor.
  • Tests: ward exec test, pre-commit run --all-files.

closes #1197
ward.workflow: pull-request-and-merge

Relax fleet doctor validation so missing fleet defaults blocks fall back to the baked defaults instead of failing the run. This keeps `ward doctor` aligned with the fleet parser, which already accepts sparse `agents` blocks. The regression test covers a bundle with the `defaults` child removed from the fleet fixture. - What changed: `doctor` now skips fleet-default validation when the block is absent. - Why: sparse bundles should stay valid for `ward doctor`. - Tests: `ward exec test`, `pre-commit run --all-files`. closes #1197 ward.workflow: pull-request-and-merge
fix: allow missing fleet defaults in doctor
All checks were successful
test / test (pull_request) Successful in 44s
0050eb2a39
Commenting is not possible because the repository is archived.
No reviewers
No milestone
No project
No assignees
1 participant
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set

Reference
coilyco-flight-deck/ward!1230
No description provided.