JSPM

@morphism-systems/cli

0.2.0
  • ESM via JSPM
  • ES Module Entrypoint
  • Export Map
  • Keywords
  • License
  • Repository URL
  • TypeScript Types
  • README
  • Created
  • Published
  • Downloads 30
  • Score
    100M100P100Q75895F
  • License MIT

Morphism governance CLI — init, validate, score, doctor

Package Exports

  • @morphism-systems/cli
  • @morphism-systems/cli/dist/index.js

This package does not declare an exports field, so the exports above have been automatically detected and optimized by JSPM instead. If any package subpath is missing, it is recommended to post an issue to the original package (@morphism-systems/cli) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.

Readme

@morphism-systems/cli

npm License: MIT

Governance CLI for AI-assisted engineering. Validate repos, compute maturity scores, detect drift, and set up MCP integration.

About

The Morphism CLI gives you governance checks in your terminal. Initialize a repo with morphism init, validate against governance rules, compute maturity scores, and detect drift -- all without leaving your development workflow. Free tier includes all core commands; Team and Enterprise tiers unlock diff, proof, and auto-healing.

Installation

npm install -g @morphism-systems/cli

Quick Start

morphism setup              # Install MCP server and configure IDE integration
morphism init --tenets 10   # Scaffold .morphism/ with 10 governance tenets
morphism validate           # Run governance validation (kappa, delta, violations)
morphism doctor             # Check AGENTS.md, SSOT.md, Python, and scripts

Commands

Free tier

Command Description
setup Install MCP server and configure IDE integration
init Scaffold .morphism/config.json and governance files
validate Run governance validation pipeline
doctor Check environment and governance prerequisites
score Compute maturity score breakdown (0–125)
status Show current governance status
scaffold Generate governance file templates
entropy Measure, compare, and report entropy
policy Check and list policy violations
plugin List, install, remove, and search plugins
learn Summarize rules and pairs from the learning store
sync-registry Sync the unified governance registry

Team tier

Command Description
diff Diff governance state between two refs
proof Query proof witnesses from governance runs

Enterprise tier

Command Description
heal Preview auto-remediation actions
heal --apply Apply auto-remediation to detected drift

Example Output

$ morphism validate
κ = 0.0000 | δ = 0.0000
Maturity: converged | Converging: true
Violations: 0
Governance validation: PASS

$ morphism score
  governance_docs: 15/15
  ci_coverage: 15/15
  hook_coverage: 10/10
  ssot_atoms: 15/15
  security_gates: 15/15
  docs_completeness: 10/10
  adr_history: 5/5
  runbook_coverage: 5/5
  automation_bots: 10/10
  frontmatter_coverage: 5/5
  test_coverage: 10/10
  convergence_health: 10/10
  total: 125/125

Documentation

Full reference: https://morphism-systems.github.io/morphism/

License

MIT