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
-
Defines a minimal operational surface (
Justfile). -
Makes invariants explicit (
Mustfile). -
Verifies integrity and provenance (
Trustfile.hs). -
Encodes recovery and rollback (
Dustfile). -
Records future intent (
Intentfile).
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 (contractiles/must/Mustfile) - the state contract: what must be true.
-
Trustfile.hs (contractiles/trust/Trustfile.hs) - cryptographic and provenance checks.
-
Dustfile (contractiles/dust/Dustfile) - recovery and rollback semantics.
-
Intentfile (contractiles/lust/Intentfile) - declared future intent and roadmap direction.
contractiles/
├── Justfile
├── Mustfile
├── README.adoc
├── ROADMAP.adoc
├── contractiles/
│ ├── must/Mustfile
│ ├── trust/Trustfile.hs
│ ├── dust/Dustfile
│ └── lust/Intentfile
└── docs/
└── CITATIONS.adoc-
Keep the Justfile commands as the operational surface.
-
Treat Mustfile as the authoritative contract for validation.
-
Run Trustfile.hs in CI/CD or a controlled verification step.
-
Use Dustfile for deterministic recovery and rollback guidance.
-
Track future shape in Intentfile and keep it current.