Skip to content

fix: enforce strict schema for debug workflow tester#476

Open
haosenwang1018 wants to merge 1 commit into
the-open-engine:mainfrom
haosenwang1018:fix/debug-workflow-tester-strict-schema
Open

fix: enforce strict schema for debug workflow tester#476
haosenwang1018 wants to merge 1 commit into
the-open-engine:mainfrom
haosenwang1018:fix/debug-workflow-tester-strict-schema

Conversation

@haosenwang1018

Copy link
Copy Markdown

Summary

  • enable strictSchema: true for the tester agent in debug-workflow
  • add a template resolver regression test that locks this behavior in

Related Issues

Fixes #458

Changes Made

  • update cluster-templates/base-templates/debug-workflow.json so the tester keeps native CLI schema enforcement instead of falling back to post-validation over stream-json
  • add coverage in tests/template-resolver.test.js to assert the resolved tester agent preserves strictSchema: true

Testing

  • ./node_modules/.bin/mocha tests/template-resolver.test.js tests/type-safety-validation.test.js

Checklist

  • Tests pass (npm test)
  • Documentation updated (if needed)
  • Follows commit guidelines

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.

tester agent JSON schema validation always fails in stream-json mode

1 participant