trajectory-logging
CommunityCapture agent trajectories for debugging and QA.
Software Engineering#debugging#regression-detection#trajectory-logging#atif#ring-buffer#eval-dataset#trajectory-search
AuthorCheggin
Version1.0.0
Installs0
System Documentation
What problem does it solve?
Log every agent action as structured JSON using the ATIF (Agent Trajectory and Interaction Format) schema. Use a ring buffer to prevent disk exhaustion and enable post-hoc debugging, eval dataset construction, and regression detection.
Core Features & Use Cases
- Structured trajectory entries: capture tool name, parameters, results, rationale, timestamp, agent ID, and session ID.
- Ring-buffer storage: capped at 50K entries per file to bound disk usage.
- Session metadata and lifecycle: record start/end times plus summary statistics for each session.
- Eval-framework export: provide an export tool to convert trajectories for eval-framework compatibility.
- Regression detection and search: compare runs for the same task and search across trajectories for patterns or errors.
Quick Start
Enable trajectory logging by enabling the PostToolUse hook, then run a sample session to generate a trajectory file at .harness/trajectories/{agent-id}-{session-id}.jsonl.
Dependency Matrix
Required Modules
None requiredComponents
Standard package💻 Claude Code Installation
Recommended: Let Claude install automatically. Simply copy and paste the text below to Claude Code.
Please help me install this Skill: Name: trajectory-logging Download link: https://github.com/Cheggin/request-for-startups/archive/main.zip#trajectory-logging Please download this .zip file, extract it, and install it in the .claude/skills/ directory.
Agent Skills Search Helper
Install a tiny helper to your Agent, search and equip skill from 471,000+ vetted skills library on demand.