Skip to content

Preserve complete agent-task workflow JSON outputs#1834

Merged
chubes4 merged 1 commit into
mainfrom
fix/issue-1832-wp-codebox
Jul 17, 2026
Merged

Preserve complete agent-task workflow JSON outputs#1834
chubes4 merged 1 commit into
mainfrom
fix/issue-1832-wp-codebox

Conversation

@chubes4

@chubes4 chubes4 commented Jul 17, 2026

Copy link
Copy Markdown
Collaborator

Summary

Prevent GitHub workflow outputs from silently truncating structured JSON.

What changed

  • Validate projection byte limits, emit typed artifact-relative references for oversized system outputs, and fail oversized user projections before success.

How to test

  1. Run npm run build; expect TypeScript packages compile..
  2. Run npm run test:agent-task-contracts; expect Agent-task workflow contract tests pass..

Compatibility

Small outputs are unchanged; oversized system outputs become typed references and oversized declared projections now fail explicitly.

Evidence

AI assistance

  • AI assistance: Yes
  • Tool(s): OpenCode general subagent
  • Model: openai/gpt-5.6-sol
  • Used for: Implemented bounded structured outputs, typed artifact references, and boundary tests; Chris reviews and owns the change.

Source relationships

@chubes4
chubes4 merged commit 486ea59 into main Jul 17, 2026
4 checks passed
@chubes4
chubes4 deleted the fix/issue-1832-wp-codebox branch July 17, 2026 11:20
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.

Reject oversized structured workflow outputs instead of truncating JSON

1 participant