Skip to content

Implement top-level qw doctor as a toolchain/workspace health check #53

Description

@flyingrobots

qw doctor (top-level) is referenced as planned product surface but is not implemented (only qw warpspace doctor exists). Now that qw init resolves Wesley from a crate install source, there is a clear, useful first scope for it.

Idea: implement qw doctor as a toolchain/workspace health check that reports:

  • whether the resolved Wesley binary (crate source) is on PATH, its path, and wesley --version vs the manifest's declared version (with the cargo install wesley-cli hint when missing),
  • whether declared family schemas + materialized contracts exist,
  • whether warpspace.lock.json is consistent with warpspace.toml / the manifest,
  • the resolved runner/command set and which projections it can actually emit.

It gives users a one-command answer to "is my stack toolchain set up correctly?" and is the natural home for the new crate-source resolution diagnostics. Pairs well with the manifest-validation idea.

Activity

  1. coderabbitai commented on Jun 26, 2026

    @coderabbitai
    🔗 Related PRs

    #20 - Rewrite README around witnessed causal history [merged]
    #27 - Feat: add qw warpspace locate [merged]


    📝 Issue Planner

    Check the box below or use the @coderabbitai plan command to generate an implementation plan and prompts that you can use with your favorite coding assistant.

    • Create Plan

    🧪 Issue enrichment is currently in open beta.

    You can configure auto-planning by selecting labels in the issue_enrichment configuration.

    To disable automatic issue enrichment, add the following to your .coderabbit.yaml:

    issue_enrichment:
      auto_enrich:
        enabled: false

    💬 Have feedback or questions? Drop into our discord!

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

    cool ideasSalvaged or speculative idea worth exploring

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions