Morphism

projectactive

Morphism

The control plane for AI-assisted engineering. A standalone, offline-first governance framework that enforces structure-preserving behavior using category-theoretic primitives and produces tamper-evident audit artifacts.

Entropy is the default. Governance is the override.

Overview

Morphism models agent behavior using morphisms, functors, and natural transformations from category theory. It turns "did this AI change break our invariants?" into a checkable, repeatable pipeline that produces verifiable Proof Witnesses — auditable without relying on external services.

Governance Pipeline

| Stage | What It Does | |-------|-------------| | READ | Load repo state, config, declared scope. Assemble candidate change set. | | VERIFY | Check invariants (schema, SSOT coupling, policy constraints, functor laws). Refuse if any check fails. | | EXECUTE | Apply the permitted transformation under verified constraints. | | EMIT | Produce audit trail — Proof Witness, kappa metrics, certificates. |

Product Tiers

| Tier | What | Price | |------|------|-------| | Free | CLI (morphism init/validate/score/doctor) | $0 | | Pro | MCP Server for Claude Code/Cursor + SDK | $29/seat/mo | | Team | SaaS governance dashboard (Next.js) | $79/seat/mo | | Enterprise | Unlimited agents, custom policy rollout | Custom |

Published Packages (npm)

| Package | Version | Purpose | |---------|---------|---------| | @morphism-systems/cli | 0.1.12 | Governance CLI | | @morphism-systems/mcp-server | 0.1.12 | MCP integration for AI editors | | @morphism-systems/sdk | 0.1.0 | Embeddable governance SDK | | @morphism-systems/plugin-bundle | 0.1.5 | Claude Code plugin pack | | @morphism-systems/design-tokens | 0.1.1 | Theme and brand tokens | | @morphism-systems/agentic-math | 0.1.6 | Category theory primitives |

Type System

  • AgentMorphism — structure-preserving mapping for permissible transformations
  • BehaviorFunctor — maps between behavior categories preserving composition/identity
  • NaturalTransformation — law-governed relation between two functors
  • ProofWitness — verifiable record of checks and results for a transformation
  • ConvergenceCertificate — evidence that governance iterations converged within kappa bounds

Non-Negotiables

  • Zero Dependencies — minimal, portable core. Reduce supply-chain risk.
  • Mathematical Rigor — correctness claims are explicit and checkable, not hand-wavy.
  • Offline-First — governance runs and verifies locally without external services.

Current Implementation Phase

See morphism-advanced-impl:

  • Proof Witness constraint compression via RLE
  • Zero-dependency CLI dashboard (ANSI)
  • Tamper-evident proof signatures (HMAC-SHA256)

Subpages

Notes

  • kappa is a distance-to-ideal compliance metric (0 = perfect compliance)
  • The pipeline refuses execution when VERIFY fails
  • Canonical repo: morphism-systems/morphism