Skip to content

docs(lab): clarify pickforge-lab doctor exit status when required checks are missing #122

Closed

Description

@ElbertePlinio

Found in the 0.4.0-beta.1 soak (published-beta1/soak/REPORT.md, D3).

pickforge-lab doctor --json returns "ok":false with six missing checks and "errors":[], yet exits 0. Source (packages/cli/src/commands/doctor.ts) only sets a non-zero exit when --fix execution fails, so shell scripts that gate on exit status alone treat an unready lab as ready.

  • Decide the contract: exit non-zero when ok is false, or keep exit 0 as a pure report and state it in --help and the docs.
  • Add a test pinning the decision.

Refs #89

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions