Repo-local audit ledger for the agent-ops substrate.
auditctl records human, agent, git, sprintctl, and actionq events into a local sqlite index and a durable daily NDJSON shard:
<AUDITCTL_ARTIFACTS_ROOT>/_artifacts/<repo_id>/audit/events-YYYY-MM-DD.ndjson
The sqlite database is the fast local query index. The NDJSON shards are the portable recovery and cockpit-read artifact.
uv tool install /projects/dev/auditctl --python python3export AUDITCTL_DB="$PWD/.auditctl/auditctl.db"
export AUDITCTL_ARTIFACTS_ROOT="/projects/dev"auditctl add --type decision --actor bayleaf --summary "Chose sqlite plus NDJSON"
auditctl list --limit 10
auditctl render --format ndjson
auditctl rebuild --from-ndjson /projects/dev/_artifacts/homelab-analytics/auditauditctl add requires AUDITCTL_ARTIFACTS_ROOT. Read commands do not.
Example hook scripts live in hooks/. Repos may copy or symlink them. V1 does not manage hook installation globally.