Contractiles is a file-first contract system for operating, verifying, recovering, and evolving gateways. It centers on five artifacts you can copy into any repo to make runtime behavior and change control explicit and testable.
Version: v1.0.0
-
Canonical contract format is now A2ML:
-
contractiles/must/Mustfile.a2ml -
contractiles/trust/Trustfile.a2ml -
contractiles/dust/Dustfile.a2ml -
contractiles/lust/Intentfile.a2ml
-
-
Legacy mixed-format files (
Mustfile,Trustfile.hs,Dustfile,Intentfile) are deprecated and retained only as compatibility shims. -
New repositories should copy and edit the
.a2mlfiles as the source of truth.
-
Defines a minimal operational surface (
Justfile). -
Makes invariants explicit (
Mustfile.a2ml). -
Verifies integrity and provenance (
Trustfile.a2ml). -
Encodes recovery and rollback (
Dustfile.a2ml). -
Records future intent (
Intentfile.a2ml).
Operational failures usually come from missing or implicit contracts. Contractiles makes those contracts explicit, portable, and reviewable.
-
Wire real validators and signatures into the trust spine.
-
Provide language/runtime templates for gateways.
-
Offer profile presets for common environments.
just setup just run-gateway just validate-policy just compile-nickel just gen-mustfile
-
Justfile (repo root) - operational commands for day-to-day actions.
-
Mustfile.a2ml (contractiles/must/Mustfile.a2ml) - canonical state contract.
-
Trustfile.a2ml (contractiles/trust/Trustfile.a2ml) - canonical integrity/provenance contract.
-
Dustfile.a2ml (contractiles/dust/Dustfile.a2ml) - canonical rollback/recovery contract.
-
Intentfile.a2ml (contractiles/lust/Intentfile.a2ml) - canonical intent/roadmap contract.
-
Legacy mirrors remain present but are deprecated.
contractiles/
├── Justfile
├── Mustfile
├── README.adoc
├── ROADMAP.adoc
├── contractiles/
│ ├── must/Mustfile.a2ml
│ ├── trust/Trustfile.a2ml
│ ├── dust/Dustfile.a2ml
│ └── lust/Intentfile.a2ml
└── docs/
└── CITATIONS.adoc-
Keep the Justfile commands as the operational surface.
-
Treat
*.a2mlfiles as the authoritative contracts. -
Use legacy non-A2ML files only for temporary compatibility.
-
Run trust verification in CI/CD from the A2ML contract definitions.
-
Track future shape in
Intentfile.a2mland keep it current.