You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Currently, different tools output traces in wildly different formats.
We should:
Normalize agent traces from different tools (Claude Code, Codex, Copilot, Stratus, etc.) into a uniform format
Store them in a database
Index by problem type
This will simplify how we decide to use the agent traces without worrying about the format. Also, those who need more granular access to different things (reasoning traces, tool calls) can access them from the DB instead of writing another parser.
This would be useful if the normalized trace format separates three layers instead of making one flat event table:
Boundary facts: session/run id, agent/tool family, model/provider id if available, task/problem id, start/end time, exit status, and content hashes for files or artifacts the agent actually saw. No raw reasoning trace required.
Tool/action facts: command/tool name, normalized args hash, redacted preview, stdout/stderr size/hash, return code, and whether the action changed state.
Evaluation facts: claimed diagnosis/mitigation, evidence refs used, oracle verdict, and a replay status like MATCH, DRIFT, or UNVERIFIABLE.
Two failure cases I would test before locking the schema:
same incident, two tools, same tool-call semantics but different native trace shapes -> normalized rows should join to one comparable action sequence.
agent reports a correct final answer but the trace lacks evidence refs for the decisive observation -> final answer is stored, but marked evidence-missing rather than silently accepted.
For SREGym specifically, I would make problem_id, run_id, fault_id, oracle_result, and mitigation_attempt_id first-class keys. Reasoning traces can stay optional/private; tool calls, evidence refs, and oracle outcomes are enough for a lot of cross-agent comparison.
@HarperZ9 Thanks for the input. I think using a widely recognized format like ATIF would be helpful for users instead of coming up with something new right now. Eventually, we might want to do something more, but for now it seems like the safer choice in terms of usability.
ATIF as the trajectory interchange format makes sense to me. I would not make SREGym invent a competing trace schema if there is already a recognizable format users can inspect and convert.
The small thing I would keep around it is a thin SREGym run receipt / manifest, not a replacement format:
expected task/problem ids for the run, so omitted traces can become not_run instead of disappearing;
ATIF artifact URI plus digest, so the trajectory payload is content-addressed;
SREGym version / adapter version / corpus version, so conversion drift is visible;
redaction posture, so consumers know whether the ATIF payload is raw, redacted, or privacy-safe;
terminal status and verifier verdict, so infra failure, policy skip, scored failure, and unsupported trace remain separate.
That lets ATIF stay the portable trajectory payload while SREGym keeps the audit surface needed for benchmark aggregation.
Activity
HarperZ9 commentedon Jun 28, 2026
This would be useful if the normalized trace format separates three layers instead of making one flat event table:
MATCH,DRIFT, orUNVERIFIABLE.Two failure cases I would test before locking the schema:
For SREGym specifically, I would make
problem_id,run_id,fault_id,oracle_result, andmitigation_attempt_idfirst-class keys. Reasoning traces can stay optional/private; tool calls, evidence refs, and oracle outcomes are enough for a lot of cross-agent comparison.I maintain Project Telos, a local-first stack around agent/tool receipts, and this is the trace shape I keep dogfooding. Field-guide context if useful: https://harperz9.github.io/field-guide.html
Saadmrp1038 commentedon Jun 28, 2026
@HarperZ9 Thanks for the input. I think using a widely recognized format like ATIF would be helpful for users instead of coming up with something new right now. Eventually, we might want to do something more, but for now it seems like the safer choice in terms of usability.
HarperZ9 commentedon Jun 28, 2026
ATIF as the trajectory interchange format makes sense to me. I would not make SREGym invent a competing trace schema if there is already a recognizable format users can inspect and convert.
The small thing I would keep around it is a thin SREGym run receipt / manifest, not a replacement format:
not_runinstead of disappearing;That lets ATIF stay the portable trajectory payload while SREGym keeps the audit surface needed for benchmark aggregation.
Saadmrp1038 commentedon Jul 5, 2026
Closed by #918