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.20

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

Built distribution (wheel)

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

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

Download URL substratum_cli-0.2.20-py3-none-any.whl
Size 260.4 kB
Tags Python 3
SHA-256 checksum
How to use checksums
bb55115494315793da19ec352d72946889e15e25e03b0516f9745d2b272f6afd
BLAKE2b-256 checksum
How to use checksums
4306c666dfe5d19f3ba879925c7db1cd1e6f922f401adc6db820a561beccaed1
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.20

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