Skip to main content

governance-commons

Alpha. Reference implementation of Governance Commons standards: machine-checkable naming rules, capability-contract discovery, and conformance reporting.

The Python v0.2.0 package validates ONS (Ontic Namespace Structure) and Capability Contract v0.1 declarations. The npm package remains ONS-only in this MVP. Agent Dossier, Agent Matrix, and Agent Project Orchestrator validation are planned but not implemented yet — --spec currently accepts ons only.

Install

pip install governance-commons
# or
npm install governance-commons

Quickstart

manifest.json:

{
  "checks": [
    { "domain": "python_identifier", "name": "run_intent" },
    { "domain": "governance_cluster", "name": "ONS" }
  ]
}
gc-validate --spec ons manifest.json
GC Conformance Report
  Spec:    ons 1.4.0 (standard profile)
  Subject: manifest.json
  Result:  PASS

  + [ONS-CASING-001] Python identifiers must be snake_case
  + [ONS-CASING-006] Cluster names must be 2–6 uppercase ASCII letters

  Summary: 2 passed, 0 failed, 0 skipped of 2 total

Add --output json to get the same report as structured JSON, or save it and inspect it later with gc-report <file>.

Validate and discover capability declarations:

gc-validate --spec capabilities .governance/contracts/capabilities.yaml
gc-discover --capability asset.palette.generate ../niji ../another-repo

Discovery validates every contract it reads and reports invalid declarations. It does not evaluate or grant execution authority.

Packages

  • Python package: governance-commons — CLI commands gc-validate, gc-report, gc-discover
  • npm package: governance-commons — CLI commands gc-validate, gc-report

Development

python -m pytest -q
npm test
python -m build
npm pack --dry-run

Project Shape

This directory is the SDK/reference-implementation repo. VS Code extensions should live in separate repos, such as agent-dossier-vscode or governance-commons-vscode.

Download files

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

Source Distribution

governance_commons-0.2.0.tar.gz (21.1 kB view details)

Uploaded Source

Built Distribution

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

governance_commons-0.2.0-py3-none-any.whl (16.3 kB view details)

Uploaded Python 3

File details

Details for the file governance_commons-0.2.0.tar.gz.

File metadata

  • Download URL: governance_commons-0.2.0.tar.gz
  • Upload date:
  • Size: 21.1 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/7.0.0 CPython/3.13.14

File hashes

Hashes for governance_commons-0.2.0.tar.gz
Algorithm Hash digest
SHA256 39687d2ed82e2228ebc1c3fc60a9330374c0ea017699462951fede543c4fd028
MD5 e65e469192924a55e9459b1e3c97568d
BLAKE2b-256 7034cb79b7434a3668592fad8e8e27ceea1e6fcea32cf42670c3587dcc7ea6d7

See more details on using hashes here.

Provenance

The following attestation bundles were made for governance_commons-0.2.0.tar.gz:

Publisher: main.yml on governancecommons/governance-commons-registry

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file governance_commons-0.2.0-py3-none-any.whl.

File metadata

File hashes

Hashes for governance_commons-0.2.0-py3-none-any.whl
Algorithm Hash digest
SHA256 a35e73759c0336fc434eb666258dac5074f54a8f6e199d6b9f259003f6f0a9ea
MD5 d0a1b6e04b8d6a8fb15e1c91a2e568ca
BLAKE2b-256 a258c227a8b71feac0627ea707f643fa4fc618cacb8c5e419195963b6c509646

See more details on using hashes here.

Provenance

The following attestation bundles were made for governance_commons-0.2.0-py3-none-any.whl:

Publisher: main.yml on governancecommons/governance-commons-registry

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

Release history Release notifications | RSS feed

This release

0.2.0 This release

2 files

0.1.1

2 files

0.1.0

2 files

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