Releases: varmabudharaju/agent-pd
Releases · varmabudharaju/agent-pd
v0.2.0
First release since 0.1.0 hit PyPI. Bundles the session-identity and live-feed work that landed after 0.1.0 packaging.
Added
- Session identity everywhere (#31) —
pd listis now a table (id · project · last activity · first user prompt);pd watchheaders name the session. Derived at read time from existing log data, so it works retroactively for every session. pd watchstreams only new activity by default (#29) —--replayshows the full backlog when you want it.- Full-width live feed (#30) — names the offense on each line, with clearer agent tags.
- Multi-session fleet demo (
examples/demo-sessions.sh) — the source of every README screenshot.
Fixed
pd watch --allno longer fuses agents across sessions — live records are now keyed per (session, agent), so the main agent (id"") no longer inherits the first session's project root.
Full changelog: v0.1.0...v0.2.0
v0.1.0
Changelog
All notable changes to agent-pd are documented here.
The format is based on Keep a Changelog,
and this project adheres to Semantic Versioning.
Unreleased
Nothing yet.
0.1.0 — 2026-06-08
First public release. A logging-only hook records every tool & permission event from
the main Claude Code agent and its subagents; the pd CLI replays that log through
deterministic detectors and reports rule offenses with quoted evidence. Catch-and-report
— it never blocks.
Added
- Logging hook — registered on PostToolUse / PermissionDenied / SubagentStart /
SubagentStop; appends one normalized, hash-chained line per event to a per-session
audit log and always exits 0 (never blocks, never loses an event). - Six deterministic detectors (zero token cost):
permission_bypass,out_of_scope
(project-boundary + sensitive paths),self_permission,tool_not_allowed,
redundant,off_task. pd judge— opt-in, cost-capped LLM pass to confirm/drop noisyoff_taskflags,
via theclaudeCLI (your subscription) or the Anthropic API (pip install "agent-pd[judge]").- CLI:
pd install-hook,list,report(md/json,--verbose,--agent),
watch(live "police scanner",--all,--crimes-only),verify,compact,
sink push|status, andpd --version. - Permission-aware severity — offenses matching your
permissions.allowrules are
downgraded toinfo, with faithful Claude Code matching semantics (see SYSTEM-DESIGN §9).
Sensitive-path access and categorically-catastrophic commands are never downgraded. - Tamper-evident audit log — per-session SHA-256 (or HMAC with
PD_AUDIT_KEY) hash
chain;pd verifydetects edits/reordering/truncation. Optional off-host append-only
sink (pd sink) closes the retroactive-deletion gap. - Configuration —
pd-rules.yamlis auto-discovered (cwd → project root →~/.claude;
--rulesoverrides); configurable audit-log location via--audit-dir/PD_AUDIT_DIR
(always resolved to an absolute path).