Skip to content

feat: add ATIF trajectory export - #29

Merged
minixalpha merged 7 commits into
mainfrom
codex/ATIF-trajectory
Aug 30, 2026
Merged

feat: add ATIF trajectory export#29
minixalpha merged 7 commits into
mainfrom
codex/ATIF-trajectory

Conversation

@minixalpha

@minixalpha minixalpha commented Aug 26, 2026

Copy link
Copy Markdown
Owner

Summary

  • add an opt-in --trajectory PATH interface for headless runs that exports one complete ATIF-v1.7 JSON document without changing text stdout
  • project user and model steps, tool calls and observations, token/cache metrics, timestamps, durations, model metadata, and terminal outcomes from the internal Event Journal
  • write trajectory files atomically with owner-only permissions, reject existing paths and stdout targets, and preserve partial failed runs
  • expose Event Journal truncation metadata on affected ATIF steps, tool calls, observations, and terminal data so shortened fields are never presented as complete
  • add Harbor 0.21.0 validator coverage and document the interface in both READMEs, the changelog, and synchronized Chinese/English development notes

Validation

  • uv run pytest — 174 passed
  • uv run --project benchmarks/harbor pytest benchmarks/harbor/tests/test_atif_compatibility.py — 1 passed
  • Harbor trajectory validator accepted a generated ATIF-v1.7 fixture trajectory
  • git diff --check

@minixalpha
minixalpha merged commit 51d7545 into main Aug 30, 2026
2 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant