Skip to content

Mensor 0.2.0

Choose a tag to compare

@0disoft 0disoft released this 22 Jul 14:34

Mensor 0.2.0 adds opt-in Check Output v2 while keeping DiagnosticReport v1 as the default for existing consumers.

Highlights

  • Adds a machine-readable inspection object for file placement, forms, handlers, module boundaries, ownership, routes, and deliberately excluded runtime semantics.
  • Exposes public DiagnosticReportV1, DiagnosticReportV2, CheckOutputV2, parseDiagnosticReportV2, and parseCheckOutputV2 contract surfaces.
  • Adds typed compiler reportVersion: 2 overloads and CLI --report-version 2 selection.
  • Keeps invalid, stale, or incomplete evidence fail-closed.

Compatibility

Existing automation remains unchanged:

pnpm exec mensor check . --json

Select revision 2 explicitly:

pnpm exec mensor check . --json --report-version 2

Omitting the option continues to emit revision 1. Exit statuses retain their existing meanings. Remove --report-version 2 to return to revision-1 output without downgrading packages.

Install

pnpm add --save-dev @0disoft/mensor-cli@0.2.0
pnpm exec mensor check . --json

Packages

Verification

This release was built from commit 9a08dc5. The CI matrix and stage-only npm release workflow passed. All three npm packages carry GitHub Actions provenance linked to this commit and workflow.

See Migrating to 0.2.0 for the complete compatibility contract.