Skip to content

Add immutable turn-level training export v1 - #7

Open
Zeng-Weijun wants to merge 6 commits into
InternScience:mainfrom
Zeng-Weijun:feat/turn-training-export-v1-20260726
Open

Add immutable turn-level training export v1#7
Zeng-Weijun wants to merge 6 commits into
InternScience:mainfrom
Zeng-Weijun:feat/turn-training-export-v1-20260726

Conversation

@Zeng-Weijun

Copy link
Copy Markdown

Summary

  • add immutable turn-training-export-v1 bundles for main-agent turns and session-memory compaction tasks
  • preserve exact provider requests, raw responses, retry attempts, tool-result closure, termination metadata, and final patch references
  • expose run_id and training_export_path through Python and OpenAI-compatible entrypoints
  • reserve rollout targets before provider side effects and validate bundles with a standalone CLI
  • preserve interrupted, failed-provider, failed-compaction, and missing-patch trajectories without publishing incomplete clean rollouts

Validation

  • 39 turn export contract, API, and entrypoint tests passed
  • existing OpenAI helper, Python API/tool, edge-case, and extra-tool offline checks passed
  • compileall, YAML parse, git diff --check, and git show --check passed
  • two independent adversarial reviews accepted commit 4e330c6 with no remaining P0/P1 findings

Follow-up smoke

This change was validated entirely with offline fake providers. A real relay task plus downstream DataFactory ingest smoke should be run after merge; no live API or external dataset mutation was performed in this PR.

@gemini-code-assist

Copy link
Copy Markdown

Caution

The consumer version of Gemini Code Assist on GitHub has been sunset. All code review activity has officially ceased.

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