Import and export trajectories¶
Use import and export at the interoperability boundary. Import creates a new Dataset; export reconstructs complete trajectories from one Catalog Snapshot. Import accepts ATIF, ACTF, and OpenAI Messages. Export supports those formats plus Storyline JSON.
Import into a new Dataset¶
The target is create-only. pChronicle refuses an existing target instead of silently appending or replacing it. Regular files can be auto-detected; stdin must be finite and explicit:
After import, inspect the new boundary:
Export complete trajectories¶
Narrow the export with Source-local identity when needed:
pchronicle export --from ./imported --output one.json --format actf \
--source source.json --session-id session-42 --strict
--strict fails when the target format cannot preserve the original exchange
document. Output files are create-only unless overwrite is requested explicitly.
Import/export is not a storage migration protocol and arbitrary SQL rows are not exportable trajectories. See Trajectory formats for contracts and Facts, projections, and revisions for the layer boundary.