Skip to content

[v0.1 W4] klasp doctor + Windows audit + cross-platform CI #4

@liam-ai-reality

Description

@liam-ai-reality

Week 4 of v0.1 implementation. References: design.md §5, §10, §14.

  • klasp/src/cmd/doctor.rs — checks: config exists + parses, hook installed + has correct KLASP_GATE_SCHEMA, settings.json contains klasp entry, each check command resolves on PATH
  • klasp/src/cmd/init.rs — write example klasp.toml with --force flag
  • --dry-run flag wiring on install/uninstall (returns rendered script preview without writing files)
  • Windows path handling audit: shim runs under Git for Windows bash; settings.json paths use forward slashes; Rust binary handles platform paths internally; chmod 0o755 no-op on Windows
  • .github/workflows/test.yml matrix on the 5 target platforms (darwin-arm64, darwin-x64, linux-x64-gnu, linux-arm64-gnu, win-x64): green cargo check + cargo test + cargo fmt --check + cargo clippy

Metadata

Metadata

Assignees

No one assigned

    Labels

    v0.1klasp v0.1 milestone work

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions