Skip to main content

spec_mdm — File-canonical MDM + governed marketplace

Spec / rule / _meta / backlog management platform for keeping agentic systems running on approved master data — now also a governed marketplace for Data SDLC → ADLC agents & skills.

New: Unified intent-driven CLI following dwarves-kit patterns. One command does what you need: spec-mdm <intent>.

Quickstart

pip install spec-mdm

# Validate everything
spec-mdm validate

# List approved skills
spec-mdm list skills --sdlc quality

# Approve an item
spec-mdm approve --kind skill --id SKILL-001 --approver alice

# Install from marketplace
spec-mdm install SKILL-001 --into ~/.codex/skills

# Run safety gates
spec-mdm gate

# Check status
spec-mdm status

Source-of-truth rule

  • Canonical MDM = version-controlled files in mdm/ inside the customer cluster.
  • runtime/mdm.db is a derived projection — deletable and rebuildable from mdm/. Never commit it.
  • Code holds schemas, validation, connectors, and the approval state machine. It never holds customer master rows, PII, or secrets.

Layout

mdm/
  spec/        # durable intent + solution contracts
  rule/        # executable governance / validation policies
  agent/       # governed Data SDLC -> ADLC agents (AGENT-*.yaml)
  skill/       # governed skills (SKILL-*.yaml, hash-pinned SKILL.md)
  _meta/       # provenance + sync records
  backlog/     # work items derived from / governed by specs & rules
  approvals/   # append-only approval decision events
  _incoming/   # staged candidates
schema/        # JSON Schemas (contracts, not data)
src/spec_mdm/  # validators, loader, connector, approval, monitor, marketplace, gates
scripts/       # unified CLI (spec-mdm.py) + legacy entry points
bin/           # npx shims
docs/          # privacy boundary, deployment, marketplace, decisions, architecture

Governance commands:

spec-mdm validate                    # Validate all canonical files
spec-mdm approve --kind skill --id SKILL-001 --approver alice
spec-mdm list skills --sdlc quality
spec-mdm install SKILL-001 --into ~/.codex/skills
spec-mdm gate                        # Run mechanical safety gates
spec-mdm status                      # Show current state

Execution commands (optional layer, future):

spec-mdm execute BG-001              # Execute backlog item
spec-mdm retro                       # Run retrospective/learning

Legacy CLI (Still Works)

All old commands remain available for backward compatibility:

spec-mdm-validate
spec-mdm-rebuild
spec-mdm-monitor
spec-mdm-pull
spec-mdm-approve
spec-mdm-marketplace
spec-mdm-promote

Or use scripts directly:

python3 scripts/validate.py
python3 scripts/approve.py --kind skill --id SKILL-001 ...
python3 scripts/marketplace.py list --sdlc quality

Mechanical Gates

The unified CLI includes mechanical safety gates that block dangerous operations:

  • Secret key detection in canonical files
  • Validation before status changes
  • Runtime files not committed to git
  • Approval required for status changes

Run spec-mdm gate to check all gates.

Lifecycle

Spec/Rule/Agent/Skill: draft → in_review → approved → deprecated | superseded Backlog: proposed → ready → in_progress → done | blocked Approval decisions: approved | rejected | changes_requested

Unapproved content is never presented as operational truth. Agents keep running on last-known-good approved content; new/unknown changes queue as pending and the system reports degraded mode explicitly.

Privacy

  • No data leaves the customer cluster. Connectors are read-only and local.
  • No credentials, tokens, API keys, PII, generated DBs, or model outputs are committed. See docs/privacy-boundary.md.
  • Marketplace stores manifests + hashes only; SKILL.md bodies are hashed, never copied into canonical records. See docs/marketplace.md.

Architecture

See ARCHITECTURE.md for the hybrid design combining solid MDM governance with optional execution layer inspired by dwarves-kit patterns.

Metadata

Release files for spec-mdm 0.3.0

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for spec-mdm 0.3.0
File Size Uploaded Provenance Actions
spec_mdm-0.3.0.tar.gz 42.2 kB With provenance Details for spec_mdm-0.3.0.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for spec-mdm 0.3.0
File Interpreter ABI Platform Actions
spec_mdm-0.3.0-py3-none-any.whl Python 3 none any Details for spec_mdm-0.3.0-py3-none-any.whl

Total release size: 67.3 kB

Release files / spec_mdm-0.3.0.tar.gz

Download URL spec_mdm-0.3.0.tar.gz
Size 42.2 kB
Tags Source
SHA-256 checksum
How to use checksums
faf28e92b2b4735fbe0c1bbf157d3341f9e6334f98784e643d9f7d9a582e08ee
BLAKE2b-256 checksum
How to use checksums
ea31f2ada42beafa2bac2cc9c41b24ea1f295f1ff9d4688360c6c82c3f80adf4
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.14

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Oct 18, 2026.

Transparency log

Release files / spec_mdm-0.3.0-py3-none-any.whl

Download URL spec_mdm-0.3.0-py3-none-any.whl
Size 25.1 kB
Tags Python 3
SHA-256 checksum
How to use checksums
41eff9ec8d75d598ffad3ab9f4fefc10e20145480296faf4d17032e1009dacf8
BLAKE2b-256 checksum
How to use checksums
49d0c6da7ddcd80648c1b43290e1f7165e6da14d49fe47265c1a9349c3b165f1
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.14

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Oct 18, 2026.

Transparency log

Security for spec-mdm 0.3.0

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

Full provenance

Both files in this release have been uploaded with provenance metadata.

Select from 2 files

Attestation for spec_mdm-0.3.0.tar.gz

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Oct 18, 2026.

Transparency log

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Release history Release notifications | RSS feed

This release

0.3.0 This release

2 release files Full provenance

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page