Repository navigation
feat: add tracekit audit command to replay local transcripts - #491
Conversation
Implements the read-only audit command requested in Cygnux-Labs#490. Reuses transcript reading and the policy2 engine. Adds tests, docs/audit.md and a limits.md row. Signed-off-by: Harsh Raj Singhania <harshrajsinghania@proton.me>
Add the read-only audit command that replays Claude Code transcripts through the policy engine. Signed-off-by: Harsh Raj Singhania <harshrajsinghania@proton.me>
Cover held/denied/allowed calls, malformed lines, since filter and unreadable paths. Signed-off-by: Harsh Raj Singhania <harshrajsinghania@proton.me>
Signed-off-by: Harsh Raj Singhania <harshrajsinghania@proton.me>
Add the audit subcommand and its dispatch. Signed-off-by: Harsh Raj Singhania <harshrajsinghania@proton.me>
…--show redacts secrets; stronger tests; limits and support rows Signed-off-by: LoopGlitch26 <research@cygnuxlabs.com>
|
@HarshRajSinghania thanks for picking this up. I pushed one commit on top (5415c1f) so it can merge:
CI is running, and a second review reads it next. If you'd rather change any of this, say so here. |
…t, escaped output, unreadable folders counted, wiki sidebar, limits rows Signed-off-by: LoopGlitch26 <research@cygnuxlabs.com>
Signed-off-by: LoopGlitch26 <research@cygnuxlabs.com>
…st denied and held calls (--all for every call) Signed-off-by: LoopGlitch26 <research@cygnuxlabs.com>
Signed-off-by: LoopGlitch26 <research@cygnuxlabs.com>
|
Merged, thanks @HarshRajSinghania. It goes out in the next release. What I changed on top, so you know what's in main:
If you'd like a next one, #495 extends |
|
Thanks again for contributing to Tracekit. A request: if you use a coding agent (Claude Code, Codex, Cursor, Gemini CLI or OpenCode), would you run Tracekit on it for a week and tell us how it went? After a week, |
Implements the read-only tracekit audit command from issue #490.
Replays Claude Code tool calls through the policy engine and reports what would have been held or denied. Local only, no signer, no writes.
Includes tests and docs. DCO signed.
Fixes #490.