Skip to main content

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


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

substratum_cli-0.2.8.tar.gz (224.3 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

substratum_cli-0.2.8-py3-none-any.whl (136.5 kB view details)

Uploaded Python 3

File details

Details for the file substratum_cli-0.2.8.tar.gz.

File metadata

  • Download URL: substratum_cli-0.2.8.tar.gz
  • Upload date:
  • Size: 224.3 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.12.3

File hashes

Hashes for substratum_cli-0.2.8.tar.gz
Algorithm Hash digest
SHA256 5611b8b11c8a11a4a31183a3c7236a8a6a57e9ebcc1df9b9eb466a82a8b945e5
MD5 318413ff1cea02316467e312cf874b70
BLAKE2b-256 f5c4853668329cfb27e1c6771f8401e10af4abe7742f4b4dbda7533fc2e5f4d6

See more details on using hashes here.

File details

Details for the file substratum_cli-0.2.8-py3-none-any.whl.

File metadata

  • Download URL: substratum_cli-0.2.8-py3-none-any.whl
  • Upload date:
  • Size: 136.5 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.12.3

File hashes

Hashes for substratum_cli-0.2.8-py3-none-any.whl
Algorithm Hash digest
SHA256 469f0108ddd7a7170da8f59f9e568b30b1e95f237be83086a5b32523a67af22a
MD5 5ae09bf39d153c1c2ac963c42bffb1f5
BLAKE2b-256 00b3a7e1b504dc3e9785fc3222534182bcd3e16f5e232619c1a926900596e58d

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page