Substratum: verified-or-refused code, with provenance. The terminal over the comprehension engine.
Project description
Substratum
Verified-or-refused code, with provenance. Substratum is a deterministic comprehension engine for code. It never streams tokens and hopes — it produces a change only when that change passes a gate, and otherwise returns an honest, actionable refusal. Every result carries a run id you can replay byte-for-byte.
pip install substratum-cli
Then, in any repository:
substratum # open the interactive session (warms, then drives)
What it does
summarize— describe the codebase in plain English, grounded in its real symbols (not a guess).failing— run the suite and list the failing tests; each becomes a ready fix target.verify— gate a diff (stdin,--staged,--commit): PASS / FAIL / per-hunk. The wedge — point it at any tool's diff and it tells you, deterministically, whether the change is real.fix— produce a verified fix for a failing test, or a named refusal.write— greenfield code from plain intent (derive-or-refuse; no test required).runs/show/replay/undo/apply/commit— a proof-carrying memory of every run.
summarize, failing, and verify run entirely on your machine — no account, no network, no code
leaves your repo. They work air-gapped.
The hosted engine (optional)
fix and write draw on a large mined library. During the demo that library is hosted:
substratum login # GitHub device flow; connects to the hosted engine
When logged in, write sends only your intent + signature, and fix receives a candidate that your
machine then gates locally — so your code and your tests never leave your machine. substratum logout
returns to fully-local operation.
The law
Never render unproven code. A refusal is a deliverable, not an error. Determinism is a button you
press to catch us: run the same request twice and get the same run id, or replay any run and get a
byte-identical result.
Coverage grows with data. Today the engine refuses more than it resolves, by design — the surface is built to feel complete at thin coverage, and the same commands silently resolve more as the library scales, with zero change on your end.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file substratum_cli-0.2.0.tar.gz.
File metadata
- Download URL: substratum_cli-0.2.0.tar.gz
- Upload date:
- Size: 185.8 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.12.3
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
7f3d31096adb20d7b7e7331081a2088dde2194602b39d7f7f3b363bbd207d68c
|
|
| MD5 |
8c2353447c8be4f2956b02d9c18831c6
|
|
| BLAKE2b-256 |
adf453015ede8ac4f8d5bc31c18e68ef7fc1931a6da82d29e0fdca3aaed14ec6
|
File details
Details for the file substratum_cli-0.2.0-py3-none-any.whl.
File metadata
- Download URL: substratum_cli-0.2.0-py3-none-any.whl
- Upload date:
- Size: 93.0 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.12.3
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
4e1d70ca6c6a94721ec337f7016973a4bee8697e7f09437f2c67755c3e047006
|
|
| MD5 |
b570600e2b1aba789abda7cad86f5339
|
|
| BLAKE2b-256 |
acb4119a433ed31297dfa0dcd8f78a7bc0d014e9549d5ebd4df44ae63bd785f6
|