Skip to content

feat: enforce schema-backed agent outputs - #332

Open
eshulman2 wants to merge 9 commits into
phase8-compatibility-removalfrom
issue252-structured-output
Open

feat: enforce schema-backed agent outputs#332
eshulman2 wants to merge 9 commits into
phase8-compatibility-removalfrom
issue252-structured-output

Conversation

@eshulman2

Copy link
Copy Markdown
Collaborator

Summary

  • add typed Pydantic response contracts for data-shaped agent stages
  • preserve the Deep Agent tool loop while preferring provider-native structured output
  • retry once with LangChain structured-output tool strategy when native output is unavailable or invalid
  • route model selection through an explicit structured_output capability
  • migrate epic/task generation and triage stages away from ad hoc model-text parsing
  • document backend behavior, limitations, and narrative-output exclusions

Stack

Verification

  • 79 passed in the focused structured-output/provider/workflow suite
  • ruff check passes for every changed Python file
  • git diff --check passes
  • full suite: 3092 passed, 39 skipped; 13 pre-existing failures remain in unchanged tests/integration/orchestrator/test_workflow_execution.py, which imports the legacy forge.orchestrator modules already removed by the Phase 8 base

Closes #252

@eshulman2
eshulman2 force-pushed the phase8-compatibility-removal branch from 5a41a61 to f063ec5 Compare August 31, 2026 09:34
@eshulman2
eshulman2 force-pushed the issue252-structured-output branch from a6c5445 to 39ae05e Compare August 31, 2026 09:44
@eshulman2
eshulman2 force-pushed the phase8-compatibility-removal branch from f063ec5 to f83afa1 Compare August 31, 2026 10:23
@eshulman2
eshulman2 force-pushed the issue252-structured-output branch from 39ae05e to 8e9231f Compare August 31, 2026 10:24
@eshulman2
eshulman2 force-pushed the phase8-compatibility-removal branch 2 times, most recently from 631e298 to 8948d31 Compare August 31, 2026 11:35
@eshulman2
eshulman2 force-pushed the issue252-structured-output branch from 8e9231f to 9bb815e Compare August 31, 2026 11:37
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