genesis-gates — the Genesis gate engine
The deterministic engine behind genesis-cli:
delivery gates, system-completeness analysis, readiness scoring, risk
classification, and the versioned JSON Schema contracts that make Genesis
artifacts portable between tools.
No API keys, no server, no network calls of its own — gates shell out to scanners you already have and skip cleanly when one isn't installed.
pip install genesis-gates
Most people want the CLI instead: pip install genesis-cli.
What's in it
Gate engine (genesis_gates.engine) — a Gate/Provider registry, a
GateRunner that turns a Delivery Manifest plus a repo into a linked
EvidencePackage, and the Finding/Severity/GateStatus vocabulary every
gate reports in.
Gates (genesis_gates.gates) — secret-scan, dependency-scan, unit-tests
(run in an isolated venv built from the app's own requirements), SAST, SBOM.
Analysis (genesis_gates.analysis) — the layer that catches what scanners
can't:
- System completeness profiles — detects the systems a repo implements (auth, payments, file upload) and checks their mandatory flows against the implementation surface (routes, files), not prose. This is what catches an app that ships signup with no sign-in, Stripe checkout with no webhook signature verification, or uploads with no size limit.
- Env reconciliation — the compose
${VAR}contract and direct env reads, diffed for unset and undocumented variables. - Readiness scoring — a 0–100 score with a grade, plus SARIF 2.1.0 output.
- Risk classification — deterministic: auth, payments, migrations, secrets, and infra changes are always high-risk. This is the substrate for bounded-autonomy policies ("low-risk changes flow, risky changes wait").
Contracts (genesis_gates/contracts/*.schema.json) — delivery manifests,
evidence packages, tasks, gate config, and readiness reports as JSON Schema
(Draft 2020-12), so any tool can produce or consume Genesis artifacts. The
schemas ship inside the wheel; genesis_gates.contracts.contracts_dir()
resolves them, and GENESIS_CONTRACTS_DIR overrides the location.
Using it directly
from genesis_gates import GateRunner, load_gate_config
runner = GateRunner(config=load_gate_config("."))
package = runner.run(repo=".")
for result in package.results:
print(result.gate, result.status, len(result.findings))
Importing genesis_gates.gates and genesis_gates.providers populates the
registries via decorator side-effects — which is also how you extend Genesis:
@register_gate / @register_provider in your own module.
License
Apache-2.0. Part of the Genesis Framework.
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 genesis_gates-0.1.0.tar.gz.
File metadata
- Download URL: genesis_gates-0.1.0.tar.gz
- Upload date:
- Size: 75.9 kB
- Tags: Source
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/7.0.0 CPython/3.13.14
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
91b4b3f96576c853faf070f79386259243f4366ecbb9a8bcbaf7485b25e1e96f
|
|
| MD5 |
f8cfd650faa941b5afdaf137c665dd5c
|
|
| BLAKE2b-256 |
07148dc753ec214f7f15aea8c8dff9ff6538dbb99b5e287d7ddd1e3c5eb0d90c
|
Provenance
The following attestation bundles were made for genesis_gates-0.1.0.tar.gz:
Publisher:
release.yml on Inceptium-ai/genesis-framework
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
genesis_gates-0.1.0.tar.gz -
Subject digest:
91b4b3f96576c853faf070f79386259243f4366ecbb9a8bcbaf7485b25e1e96f - Sigstore transparency entry: 2399575237
- Sigstore integration time:
-
Permalink:
Inceptium-ai/genesis-framework@aa287d7a19b6222598c020f1898f275dade78945 -
Branch / Tag:
refs/tags/v0.1.0 - Owner: https://github.com/Inceptium-ai
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
release.yml@aa287d7a19b6222598c020f1898f275dade78945 -
Trigger Event:
push
-
Statement type:
File details
Details for the file genesis_gates-0.1.0-py3-none-any.whl.
File metadata
- Download URL: genesis_gates-0.1.0-py3-none-any.whl
- Upload date:
- Size: 88.2 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/7.0.0 CPython/3.13.14
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
519778aced074975f448dfcc306f0832a3f22b9c4150e634763138b8691af7e4
|
|
| MD5 |
3655e0263d7cdfd9810b7437e8967cf2
|
|
| BLAKE2b-256 |
fcac1d80d40abf79b6348d06001a458f1b785410cd4e75e5bcc05a290f17d816
|
Provenance
The following attestation bundles were made for genesis_gates-0.1.0-py3-none-any.whl:
Publisher:
release.yml on Inceptium-ai/genesis-framework
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
genesis_gates-0.1.0-py3-none-any.whl -
Subject digest:
519778aced074975f448dfcc306f0832a3f22b9c4150e634763138b8691af7e4 - Sigstore transparency entry: 2399575401
- Sigstore integration time:
-
Permalink:
Inceptium-ai/genesis-framework@aa287d7a19b6222598c020f1898f275dade78945 -
Branch / Tag:
refs/tags/v0.1.0 - Owner: https://github.com/Inceptium-ai
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
release.yml@aa287d7a19b6222598c020f1898f275dade78945 -
Trigger Event:
push
-
Statement type: