Skip to main content

contrecipe

Procedural DNA curator for the Cont Hive.

contrecipe is the recipe inspector, validator, compiler, and lifecycle keeper for the Cont Hive air-gapped AI coding stack. It does not chat with users and it does not solve tasks. It inspects, validates, compiles, quarantines, and evolves recipes — the procedural memory of Cont.

Identity

In the pDNA (Procedural DNA) philosophy, intelligence accumulates in recipes, not in the model. A recipe is a small, atomic, deterministically verifiable procedure. contrecipe is the gatekeeper for that procedural corpus:

Cont       → does the work (talks to user, calls tools)
Contmemo   → decides what enters memory (scribe + archivist)
Contrecipe → decides what enters the procedure corpus (master + compiler)

A recipe is valid only if:

  • every step is atomic
  • every tool exists in the live registry
  • every input is bound
  • every output is named
  • every validation point returns a deterministic bool
  • no LLM judgment is used as truth

Install

pip install contrecipe

Standalone, zero cloud, zero server, zero internet.

CLI

contrecipe --version
contrecipe inspect <path-to-recipes>     # corpus statistics + phantom-tool scan
contrecipe validate <recipe.yaml>        # canonical schema check
contrecipe compile  <recipe.yaml>        # source → executable plan (dry run)
contrecipe test     <recipe.yaml>        # golden test
contrecipe watch    <proposals-dir>      # background daemon (proposal inbox)
contrecipe quarantine list               # quarantine status

Status

Pre-alpha. See CHANGELOG.md for sprint progress.

License

MIT

Metadata

Release files for contrecipe 0.7.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 contrecipe 0.7.0
File Size Uploaded
contrecipe-0.7.0.tar.gz 64.5 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for contrecipe 0.7.0
File Interpreter ABI Platform
contrecipe-0.7.0-py3-none-any.whl Python 3 none any Details

Total release size: 116.2 kB

Release files / contrecipe-0.7.0.tar.gz

Download URL contrecipe-0.7.0.tar.gz
Size 64.5 kB
Tags Source
SHA-256 checksum
How to use checksums
09d5200f06cfbb09d23988fefb9f2b52d34f515656dc81cc3397785bef70584e
BLAKE2b-256 checksum
How to use checksums
919c60f4d6bf49ce3b458cd5c0a5758076e746dbaa2d183a44dac4af71c18c61
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.2.0 CPython/3.13.11

Release files / contrecipe-0.7.0-py3-none-any.whl

Download URL contrecipe-0.7.0-py3-none-any.whl
Size 51.8 kB
Tags Python 3
SHA-256 checksum
How to use checksums
17799d58cbe9f7e7752cd0ac137f2ecc935dce74037d58a641bb5748d448a2b8
BLAKE2b-256 checksum
How to use checksums
16e5363d4caaa46de7d04257a1d4fc813fb24c814fff5e3e51f5a4c4b81299b1
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.2.0 CPython/3.13.11

Release history Release notifications | RSS feed

This release

0.7.0 This release

2 release files

0.6.0

2 release files

0.5.0

2 release files

0.4.0

2 release files

0.3.0

2 release files

0.2.0

2 release files

0.1.0

2 release files

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