Toolframe Audit
Audit stores bounded, durable event history from trusted Toolframe producers. It provides a filtered Dashboard page, a read-only MCP tool, JSONL page exports and explicit retention management. A reusable transactional outbox helper keeps a producer's business mutation and pending audit event in the same SQL transaction.
Quick start
Python 3.14 or later, Toolframe SDK 0.4.0 and a running Toolframe application with a SQL storage provider are required. Install from PyPI:
toolframe --home ./my-app plugin add pypi:toolframe-audit==0.2.1 --enable
toolframe --home ./my-app plugin status audit --check
An application with Dashboard, MCP and llms providers publishes the Audit page,
audit__list_events tool and usage document. Grant audit.read for read access and
the existing Manage plugins permission (system.plugins.manage) only to retention
operators. No client ingestion endpoint exists;
events arrive from a plugin declaring the audit.events dependency. Public
access policy still applies: configure authentication before exposing audit data.
For a complete local producer walkthrough, see the independently built example. Producer integration describes the reusable helper, transaction boundary and replay behavior.
Support limits
Version 0.1.0 uses only public SDK service and storage contracts. SQLite is tested with real managed stores and Core worker processes. PostgreSQL migration SQL is provided, but PostgreSQL runtime behavior requires separate verification. Producers are trusted Python plugins: this is traceable operational history, not tamper-proof storage or cryptographic proof of historical actor identity.
Events have a 16 KiB metadata limit and a 20 KiB total payload limit. The default
capacity is 100,000 retained events; max_events accepts 1–1,000,000. Full stores
reject new events while pending outbox items remain for retry. Reads and exports
contain at most 100 rows per page. Retention previews and explicit prune calls
handle at most 1,000 rows per batch; no automatic purge runs. Data survives plugin
reload, disable and application restart. Pruning permanently removes selected
history and advances a cutoff that rejects late older events.
See architecture and trust, usage and verification for contracts and reproducible checks.
For release validation and Trusted Publisher setup, see releasing.
For development hooks and contribution rules, see Contributing.
Plugin dependencies allow compatible SDK 0.x updates from the declared minimum. See the SDK compatibility policy for API guarantees and minimum/latest verification.
Metadata
Release files for toolframe-audit 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 |
|---|---|---|---|---|
| toolframe_audit-0.2.1.tar.gz | 125.8 kB | With provenance | Details for toolframe_audit-0.2.1.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| toolframe_audit-0.2.1-py3-none-any.whl | Python 3 | none | any | Details for toolframe_audit-0.2.1-py3-none-any.whl |
Total release size: 151.4 kB
Release files / toolframe_audit-0.2.1.tar.gz
| Download URL | toolframe_audit-0.2.1.tar.gz |
|---|---|
| Size | 125.8 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
6ec690d7b3e553527f689fd1ff3874340086d175bc03ba79c1fd0b83ddf7494e
|
|
BLAKE2b-256 checksum How to use checksums |
60be93b60d14495244aeb318df7ceb0f9472570d51a7b0481151f0d522d6cbc3
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/7.0.0 CPython/3.13.14
|
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 26, 2026.
Transparency logRelease files / toolframe_audit-0.2.1-py3-none-any.whl
| Download URL | toolframe_audit-0.2.1-py3-none-any.whl |
|---|---|
| Size | 25.6 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
494a727537c3eec4ce229c97af0ffad7d726877e894481deb1b994fc531b637f
|
|
BLAKE2b-256 checksum How to use checksums |
09ca822ec3dcc8fbfc41982338f1b3b6b9dacc0d0788349f87b2e9aad5319975
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/7.0.0 CPython/3.13.14
|
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 26, 2026.
Transparency logSecurity for toolframe-audit 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.
Full provenance
Both files in this release have been uploaded with provenance metadata.
Attestation for toolframe_audit-0.2.1.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 26, 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.
To learn more about protecting yourself from malicious actors, visit our package security documentation.