Consiliency cross-repo contract package: shared JSON contract data, conformance vectors, and thin npm/PyPI readers.
Project description
@consiliency/contract
The Consiliency cross-repo contract package — the single, neutral rulebook that
agent-harness and governed-pipeline vendor (owned by neither). It defines:
- the
.consiliency/layout + manifest schema - the archetype registry —
product/service/library/infra/tooling-meta/experiment/document, plus modifiers (data-bearing/public/regulated/user-facing), withbaseline-onlyas a legal declaration - the required-document sets per archetype (the 7 document classes)
- the interface-declaration schema (realized + promised cross-repo edges)
- the loop-gate protocol (presence / freshness / integrity / version-skew)
- the
canonical_html.v1display schema - the version-skew protocol
Dual-published: npm @consiliency/contract + PyPI consiliency-contract, from shared JSON data + conformance vectors so the two language readers stay byte-identical.
Status —
0.1.0carries the first normative Phase-0 L0 contract content. The shared JSON data lives undercore/andconformance/; npm and PyPI readers are intentionally thin loaders over those same bytes.
Reader API
JavaScript:
import {
CONTRACT,
CONTRACT_VERSION,
listVectors,
loadContract,
loadRegistry,
loadSchema,
loadVector,
} from "@consiliency/contract";
Python:
from consiliency_contract import (
CONTRACT,
CONTRACT_VERSION,
list_vectors,
load_contract,
load_registry,
load_schema,
load_vector,
)
Verification
npm test
python -m unittest discover -s tests -p 'test_*.py'
python -m build
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
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 consiliency_contract-0.1.0.tar.gz.
File metadata
- Download URL: consiliency_contract-0.1.0.tar.gz
- Upload date:
- Size: 21.1 kB
- Tags: Source
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.12
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
af36dc37e38eec1e79cb52b11a9aadb040f280bbf33b49eb47a15c75de1e343f
|
|
| MD5 |
3310daca4fa646f2b641fbc9f6153733
|
|
| BLAKE2b-256 |
6916a7f1fb51450a83bd60bc910f2212088b3a06007cbdbff281b79cc99aad44
|
Provenance
The following attestation bundles were made for consiliency_contract-0.1.0.tar.gz:
Publisher:
publish.yml on Consiliency/consiliency-contract
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
consiliency_contract-0.1.0.tar.gz -
Subject digest:
af36dc37e38eec1e79cb52b11a9aadb040f280bbf33b49eb47a15c75de1e343f - Sigstore transparency entry: 2043387280
- Sigstore integration time:
-
Permalink:
Consiliency/consiliency-contract@99039c7dff9b84709e560afafd370c85c201e147 -
Branch / Tag:
refs/tags/v0.1.0 - Owner: https://github.com/Consiliency
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
publish.yml@99039c7dff9b84709e560afafd370c85c201e147 -
Trigger Event:
release
-
Statement type:
File details
Details for the file consiliency_contract-0.1.0-py3-none-any.whl.
File metadata
- Download URL: consiliency_contract-0.1.0-py3-none-any.whl
- Upload date:
- Size: 26.9 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.12
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
4c440f3c351d23274990d654cc8250ca0a4803df343146f7be8eb566d2cb4982
|
|
| MD5 |
5fe8e017a5e7361b7f0762813156c8c2
|
|
| BLAKE2b-256 |
25f703468b88107fd833d4dd6f7ae0779a1a9a110005a4f79a145d30b9934f3d
|
Provenance
The following attestation bundles were made for consiliency_contract-0.1.0-py3-none-any.whl:
Publisher:
publish.yml on Consiliency/consiliency-contract
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
consiliency_contract-0.1.0-py3-none-any.whl -
Subject digest:
4c440f3c351d23274990d654cc8250ca0a4803df343146f7be8eb566d2cb4982 - Sigstore transparency entry: 2043387385
- Sigstore integration time:
-
Permalink:
Consiliency/consiliency-contract@99039c7dff9b84709e560afafd370c85c201e147 -
Branch / Tag:
refs/tags/v0.1.0 - Owner: https://github.com/Consiliency
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
publish.yml@99039c7dff9b84709e560afafd370c85c201e147 -
Trigger Event:
release
-
Statement type: