Constitutional governance for AI-assisted development — enforce engineering standards as a merge gate
Project description
Governova Scripts
The build tooling for the constitutional database. Three executables, all installed via the uv workspace.
| Command | Module | Purpose |
|---|---|---|
governova-compile |
governova_compile |
Parse every markdown constitution into compiled/constitution.json |
governova-validate |
governova_validate |
Validate the compiled index — references, anti-patterns, hierarchy, links |
governova-codegen |
governova_codegen |
Emit TypeScript types and Python re-export package from the schema |
Quick start
# Bootstrap the workspace (from repo root)
uv sync
# Compile the constitutional database
uv run governova-compile
# Validate the compiled index
uv run governova-validate
# Validate strictly (fail on any warning)
uv run governova-validate --strict
# Regenerate TypeScript + Python types
uv run governova-codegen
Outputs
| Path | Description |
|---|---|
compiled/constitution.json |
The compiled index (committed) |
compiled/constitution.schema.json |
JSON Schema describing the index (committed) |
compiled/checksum.txt |
SHA-256 of the index for tamper detection (committed) |
platform/shared/types-ts/src/index.ts |
TypeScript type definitions (generated) |
platform/shared/types-py/governova_types/models.py |
Python Pydantic re-exports (generated) |
Exit codes
| Code | Meaning |
|---|---|
| 0 | Success |
| 1 | Compilation error (file not found, parse failure) |
| 2 | Validation error (strict mode triggered, integrity failure) |
| 3 | Codegen error (TS compilation, schema mismatch) |
Tests
uv run pytest scripts/tests/
Development
uv run ruff format .
uv run ruff check . --fix
uv run mypy scripts/
All scripts are Layer 1 tooling — they read constitutions, never write them.
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 governova-0.1.0.tar.gz.
File metadata
- Download URL: governova-0.1.0.tar.gz
- Upload date:
- Size: 288.4 kB
- Tags: Source
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/7.0.0 CPython/3.13.14
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
5dd75d95c1380be1111870fadd53707f68589b18b461771faca2ac9b848a366d
|
|
| MD5 |
97e025ec478789f96eb5bd62993d3b73
|
|
| BLAKE2b-256 |
bd1812ef9861337b1ac94a50d601089a6cdf0e707d6b5aa2dc9e6867fae2739b
|
Provenance
The following attestation bundles were made for governova-0.1.0.tar.gz:
Publisher:
release.yml on KSDRILL-SA/governova
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
governova-0.1.0.tar.gz -
Subject digest:
5dd75d95c1380be1111870fadd53707f68589b18b461771faca2ac9b848a366d - Sigstore transparency entry: 2291280542
- Sigstore integration time:
-
Permalink:
KSDRILL-SA/governova@80ded6b37bf9381189a0900112ff9605acfef001 -
Branch / Tag:
refs/tags/v0.1.0 - Owner: https://github.com/KSDRILL-SA
-
Access:
private
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
release.yml@80ded6b37bf9381189a0900112ff9605acfef001 -
Trigger Event:
push
-
Statement type:
File details
Details for the file governova-0.1.0-py3-none-any.whl.
File metadata
- Download URL: governova-0.1.0-py3-none-any.whl
- Upload date:
- Size: 281.9 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 |
eadc8e56523f44fffd05ba9e864720d8ae892aede5dc74866f6cbed1413a9834
|
|
| MD5 |
b0de4123fa8bb761d18808cb20c3da2f
|
|
| BLAKE2b-256 |
786ca9238b6d9989347c3cfd05912cd590b7519a32e95fd939115730e77032e2
|
Provenance
The following attestation bundles were made for governova-0.1.0-py3-none-any.whl:
Publisher:
release.yml on KSDRILL-SA/governova
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
governova-0.1.0-py3-none-any.whl -
Subject digest:
eadc8e56523f44fffd05ba9e864720d8ae892aede5dc74866f6cbed1413a9834 - Sigstore transparency entry: 2291280596
- Sigstore integration time:
-
Permalink:
KSDRILL-SA/governova@80ded6b37bf9381189a0900112ff9605acfef001 -
Branch / Tag:
refs/tags/v0.1.0 - Owner: https://github.com/KSDRILL-SA
-
Access:
private
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
release.yml@80ded6b37bf9381189a0900112ff9605acfef001 -
Trigger Event:
push
-
Statement type: