Skip to main content

governance-commons

Alpha — ONS validation only. Reference implementation of Governance Commons standards: machine-checkable naming rules and conformance reporting, with matching Python and TypeScript implementations.

v0.1.0 validates the ONS (Ontic Namespace Structure) naming spec. 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>.

Packages

  • Python package: governance-commons — CLI commands gc-validate, gc-report
  • 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.1.1.tar.gz (14.3 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.1.1-py3-none-any.whl (11.0 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: governance_commons-0.1.1.tar.gz
  • Upload date:
  • Size: 14.3 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.1.1.tar.gz
Algorithm Hash digest
SHA256 87e9c39e4db01d2483caaf02913814946b5be5c8a40a9de0adaf3b9a293caea5
MD5 7793c6d0fbab54e61161e7d892dcf5dc
BLAKE2b-256 a1a0ec6d23cadc14b03a57af55e20f2814aadbf01f17cb13ca88dc26435f9af3

See more details on using hashes here.

Provenance

The following attestation bundles were made for governance_commons-0.1.1.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.1.1-py3-none-any.whl.

File metadata

File hashes

Hashes for governance_commons-0.1.1-py3-none-any.whl
Algorithm Hash digest
SHA256 d647e4d96f5c284caa3904a9c680e908084959222b004b034ea92ad9a801469d
MD5 917403f6d2a7dd30abe04e2f62611cff
BLAKE2b-256 af7d627b7b58265b92d1ce7504391c51ef8daa734f724cca6b66a0d8a4dc10a7

See more details on using hashes here.

Provenance

The following attestation bundles were made for governance_commons-0.1.1-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

0.2.0

2 files

This release

0.1.1 This release

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