nthlayer-override-adapter
Standalone HTTP sidecar that accepts human-override events and emits them as gen_ai.override OTel spans. Part of the NthLayer ecosystem; implements opensrm-jmy.7 — § 4 of NTHLAYER_MISSING_CAPABILITIES_SPEC.md.
Why
nthlayer-measure computes judgment SLOs from override metrics consumed via OTel. Operators reviewing AI decisions live in heterogeneous tools (Slack, Jira, internal review UIs, email). The override-adapter is the translation layer: HTTP in, canonical OTel gen_ai.override events out.
Endpoints
POST /api/v1/overrides— canonical OverrideEvent JSON in.POST /api/v1/overrides/batch—{overrides: [...]}with last-in-array-wins on duplicatedecision_id.POST /webhook/{source}— one route per configured adapter; runs a YAML-declared field mapping on the inbound webhook payload.GET /healthz— liveness probe.GET /metrics— Prometheus self-observability.
Run locally
uv sync --extra dev
uv run nthlayer-override-adapter serve --config override-adapter-config.yaml
See override-adapter-config.yaml.example for a Jira-shaped adapter declaration.
Tests
uv run pytest -q
uv run ruff check src/ tests/
Ecosystem testing conventions: ../nthlayer/docs/testing.md.
License
Apache 2.0.
Metadata
Release files for nthlayer-override-adapter 0.2.5
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | |
|---|---|---|---|---|
| nthlayer_override_adapter-0.2.5.tar.gz | 27.7 kB | With provenance | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| nthlayer_override_adapter-0.2.5-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 44.9 kB
Release files / nthlayer_override_adapter-0.2.5.tar.gz
| Download URL | nthlayer_override_adapter-0.2.5.tar.gz |
|---|---|
| Size | 27.7 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
159cb67d099f6897a2e465029f7c586f703dd4a30960d7b64b5664745820a3d4
|
|
BLAKE2b-256 checksum How to use checksums |
fbeba68ae332403c60ccf9ca9792afca4f597c39d85582a7cc776b1f9cf3ca3e
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/7.0.0 CPython/3.13.16
|
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Oct 21, 2026.
Transparency logRelease files / nthlayer_override_adapter-0.2.5-py3-none-any.whl
| Download URL | nthlayer_override_adapter-0.2.5-py3-none-any.whl |
|---|---|
| Size | 17.2 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
f07b7f1335f5c1efb9e6130ea12e9ba7a35cb5c1f6841ac84758fb4795e59c38
|
|
BLAKE2b-256 checksum How to use checksums |
c2907742dbd5531758fb25d6d9aaeb153c0795b39e5d237a6791018733570d7e
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/7.0.0 CPython/3.13.16
|
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Oct 21, 2026.
Transparency logSecurity for nthlayer-override-adapter 0.2.5
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
Full provenance
All 2 files in this release have been uploaded with provenance metadata.
Attestation for nthlayer_override_adapter-0.2.5.tar.gz
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Oct 21, 2026.
Transparency logA note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.