Skip to main content

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.

Metadata

Release files for substratum-cli 0.2.23

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

Source distribution (sdist)

Source distribution for substratum-cli 0.2.23
File Size Uploaded Provenance Actions
substratum_cli-0.2.23.tar.gz 250.6 kB Without provenance Details for substratum_cli-0.2.23.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for substratum-cli 0.2.23
File Interpreter ABI Platform Actions
substratum_cli-0.2.23-py3-none-any.whl Python 3 none any Details for substratum_cli-0.2.23-py3-none-any.whl

Total release size: 531.5 kB

Release files / substratum_cli-0.2.23.tar.gz

Download URL substratum_cli-0.2.23.tar.gz
Size 250.6 kB
Tags Source
SHA-256 checksum
How to use checksums
1e73ea0cea02051e31ed2f021bf6180dec4b0ee822a27bb605450d6cc968ccde
BLAKE2b-256 checksum
How to use checksums
7fce5b5578c475b80c3ed044158a882a272ca67f972faae41e56d9ba32f473ff
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.2.0 CPython/3.12.3

Release files / substratum_cli-0.2.23-py3-none-any.whl

Download URL substratum_cli-0.2.23-py3-none-any.whl
Size 280.8 kB
Tags Python 3
SHA-256 checksum
How to use checksums
b8083f95090bd235729be863514efddedd8b65b55a0795798a1592c2f858914b
BLAKE2b-256 checksum
How to use checksums
71d178b0fc4364138cb024a4738425e3d8c0a4b7bbdaf375f000315ebe21857f
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.2.0 CPython/3.12.3

Security for substratum-cli 0.2.23

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.

No provenance found

None of the files in this release were uploaded with provenance metadata.

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.

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