Skip to main content

BHANUJ Governance Plugin API

bhanuj-governance-plugin-api is the small, versioned extension contract for external BHANUJ runtime plugins. It is not the BHANUJ application SDK: it does not contain a control plane, persistence, workers, settings, RBAC, or provider implementations.

Install

[project]
dependencies = ["bhanuj-governance-plugin-api>=1.0,<2"]

[project.entry-points."bhanuj.governance.plugins"]
my-runtime = "my_runtime.plugin:MyRuntimePlugin"

Boundary

The package supplies lifecycle metadata, the replay-adapter contribution, bounded replay context, and the governed intervention envelope. The host owns replay persistence, the canonical workflow execution record, and policy evaluation. Plugins return ReplayExecutionResult; the host materialises its own execution record.

The package has no dependency on ai-governance and must never import Core. SPI_VERSION is currently "1". Plugins declare the major version they implement with PluginMetadata(spi_version="1"); an unsupported major fails host startup explicitly.

Metadata

Release files for bhanuj-governance-plugin-api 1.0.0

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for bhanuj-governance-plugin-api 1.0.0
File Size Uploaded
bhanuj_governance_plugin_api-1.0.0.tar.gz 5.8 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for bhanuj-governance-plugin-api 1.0.0
File Interpreter ABI Platform
bhanuj_governance_plugin_api-1.0.0-py3-none-any.whl Python 3 none any Details

Total release size: 12.8 kB

Release files / bhanuj_governance_plugin_api-1.0.0.tar.gz

Download URL bhanuj_governance_plugin_api-1.0.0.tar.gz
Size 5.8 kB
Tags Source
SHA-256 checksum
How to use checksums
851c86ff001a880807102eccbfd0eb88dd87d786dcf6ab61aaf28839137185a0
BLAKE2b-256 checksum
How to use checksums
0ddd29941618860fec3cbc810a2ea5e37cb643afb6d4ca427b13f651ad51f22a
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via uv/0.11.23 {"installer":{"name":"uv","version":"0.11.23","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"macOS","version":null,"id":null,"libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":null}

Release files / bhanuj_governance_plugin_api-1.0.0-py3-none-any.whl

Download URL bhanuj_governance_plugin_api-1.0.0-py3-none-any.whl
Size 7.0 kB
Tags Python 3
SHA-256 checksum
How to use checksums
5691be95e3abed9b3819b0935e5e768575d2c577a50db3b9fb2963acdccafd6e
BLAKE2b-256 checksum
How to use checksums
a32843ba1f285fc8cbc1f825cd35b219398e045b05e49dd7e60c109014a6815b
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via uv/0.11.23 {"installer":{"name":"uv","version":"0.11.23","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"macOS","version":null,"id":null,"libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":null}

Release history Release notifications | RSS feed

This release

1.0.0 This release

2 release 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