Skip to content

Support runtime structured output with JSON Schema#8

Merged
Beckers26 merged 1 commit into
mainfrom
codex/issue-7-structured-output
Jul 7, 2026
Merged

Support runtime structured output with JSON Schema#8
Beckers26 merged 1 commit into
mainfrom
codex/issue-7-structured-output

Conversation

@Beckers26

Copy link
Copy Markdown
Contributor

Closes #7

Summary

  • add per-run JSON Schema structured-output API, typed schema helpers, decode helpers, capability metadata, and structured failure handling
  • wire OutputSchema through the existing Run/Start execution path with native vs prompt-validation preflight and validation
  • implement Codex and Claude native schema mappings, Cursor prompt-validation-only support, parser-owned native result extraction, and public docs/capability matrix

Verification

  • go test ./...
  • go vet ./...
  • git diff --cached --check
  • final code-review subagent confirmed the previous structured-output overpopulation and numeric precision findings are closed

@cbuthim-art cbuthim-art left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@Beckers26 Beckers26 merged commit 652092a into main Jul 7, 2026
1 check 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.

Support cross-agent runtime structured output with JSON Schema

2 participants