Skip to content

squad doctor falsely reports decisions.md missing for two-layer state backend #1433

Description

@serbrech

Symptom

After initializing Squad with stateBackend: "two-layer", squad doctor reports decisions.md missing from the working tree.

Expected behavior

For two-layer/orphan state backends, decisions.md is intentionally stored on the squad-state branch, so doctor should validate it through the configured state backend instead of requiring .squad/decisions.md in the working tree.

Actual behavior

Doctor checks for .squad/decisions.md as a filesystem file and fails even when decisions.md exists in squad-state.

Notes

This also affects the legacy stateBackend: "git-notes" alias, which the SDK normalizes to two-layer.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions