🔍 cocapn-explain
Agent explainability — decision traces, oversight queue, P0/P1/P2 review gates.
Install
pip install cocapn-explain
What It Does
Makes agent decisions inspectable and auditable. Every tile submission gets a trace that records the reasoning chain, confidence score, and gate outcome.
Key Features
- ExplainTrace — Records every step of an agent decision
- Oversight Queue — P0/P1/P2 priority review for sensitive operations
- Decision Audit — Replay any past decision with full context
- Gate Compliance — Verifies decisions meet deadband protocol gates
Usage
from cocapn_explain import ExplainTrace, OversightQueue
trace = ExplainTrace(agent_id="oracle1", task="tile_submit")
trace.add_step("check_confidence", value=0.92)
trace.add_step("p0_gate", outcome="accepted")
queue = OversightQueue()
queue.submit(trace)
Part of the Cocapn Fleet
- deadband-protocol — P0/P1/P2 safety gates
- plato-provenance — Zero-trust tile provenance
- plato-tile-spec — Tile specification
License
MIT
Metadata
Release files for cocapn-explain 0.2.1
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 | Actions |
|---|---|---|---|---|
| cocapn_explain-0.2.1.tar.gz | 4.9 kB | Without provenance | Details for cocapn_explain-0.2.1.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| cocapn_explain-0.2.1-py3-none-any.whl | Python 3 | none | any | Details for cocapn_explain-0.2.1-py3-none-any.whl |
Total release size: 10.0 kB
Release files / cocapn_explain-0.2.1.tar.gz
| Download URL | cocapn_explain-0.2.1.tar.gz |
|---|---|
| Size | 4.9 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
894d78cf967ec80ec3de517a90edd22f52a3f9efb36551b2472660f472720742
|
|
BLAKE2b-256 checksum How to use checksums |
18175a044b92d771a086d47ec1dd63ad3d0db56f7eafb3730c4ea97a4de1c96c
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.2.0 CPython/3.10.12
|
Release files / cocapn_explain-0.2.1-py3-none-any.whl
| Download URL | cocapn_explain-0.2.1-py3-none-any.whl |
|---|---|
| Size | 5.1 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
62b2983709ced7b01fbadc0c3d654ad8d79c0334bca04a72027b5e1dcaca0248
|
|
BLAKE2b-256 checksum How to use checksums |
0679b6bf4c650e4c4a383f8b53a0cf379c130b72de763a9685f395f9a4e3b60e
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.2.0 CPython/3.10.12
|
Security for cocapn-explain 0.2.1
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.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A 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.
To learn more about protecting yourself from malicious actors, visit our package security documentation.