Skip to main content

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.0 --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.

Metadata

Release files for toolframe-audit 0.2.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 toolframe-audit 0.2.0
File Size Uploaded Provenance Actions
toolframe_audit-0.2.0.tar.gz 125.4 kB With provenance Details for toolframe_audit-0.2.0.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for toolframe-audit 0.2.0
File Interpreter ABI Platform Actions
toolframe_audit-0.2.0-py3-none-any.whl Python 3 none any Details for toolframe_audit-0.2.0-py3-none-any.whl

Total release size: 150.8 kB

Release files / toolframe_audit-0.2.0.tar.gz

Download URL toolframe_audit-0.2.0.tar.gz
Size 125.4 kB
Tags Source
SHA-256 checksum
How to use checksums
522677431d49f9fd0a1298b9ee3404b6d39f65d6bcc5fadb2fe291b63ad6b4b5
BLAKE2b-256 checksum
How to use checksums
e94d97666e7d7dfb7fefc67ed1f13bf6491e668f64dc5033d2fe7c71e93c5340
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 19, 2026.

Transparency log

Release files / toolframe_audit-0.2.0-py3-none-any.whl

Download URL toolframe_audit-0.2.0-py3-none-any.whl
Size 25.5 kB
Tags Python 3
SHA-256 checksum
How to use checksums
2349e07a3073abe59372965a4738d418661e186867a2a342b4d1f14b68b3064f
BLAKE2b-256 checksum
How to use checksums
203b020734b7e0a50acf126791e58cd260a9b58c2857e4d6e0c9b0446b99d1e0
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 19, 2026.

Transparency log

Security for toolframe-audit 0.2.0

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.

Select from 2 files

Attestation for toolframe_audit-0.2.0.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 19, 2026.

Transparency log

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.

Release history Release notifications | RSS feed

This release

0.2.0 This release

2 release files Full provenance

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