Skip to content

Conversation

@mikesklar
Copy link
Collaborator

Summary

  • Adds task_scenario_id field to Task model and TaskRequest/TaskResponse
  • Adds verifier_runtime_version field to TaskRequest/TaskResponse and async Task
  • Enables proper round-trip of task data when downloading and re-uploading tasks

Context

These fields are now returned by the orchestrator API (see orchestrator PR #922). The task_scenario_id links tasks to their scenarios which contain the output_json_schema. The verifier_runtime_version is extracted from metadata for round-trip support.

Test plan

  • Existing SDK functionality continues to work (backward compatible - all new fields are optional)
  • Download task with scenario_id → fields populated correctly
  • Re-upload task → task_scenario_id preserved

🤖 Generated with Claude Code

Add support for new fields returned by the orchestrator API:
- task_scenario_id: Links tasks to their scenarios (which contain output_json_schema)
- verifier_runtime_version: The runtime version used for verifier execution

These fields enable proper round-trip of task data when downloading and re-uploading tasks.

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
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.

2 participants