Skip to content

fix(mcp): unify AgentStack schema — specialist_agents vs specialists drift (#1196)#1203

Merged
JeremyDev87 merged 1 commit into
masterfrom
taskmaestro/1775221347/pane-1
Apr 3, 2026
Merged

fix(mcp): unify AgentStack schema — specialist_agents vs specialists drift (#1196)#1203
JeremyDev87 merged 1 commit into
masterfrom
taskmaestro/1775221347/pane-1

Conversation

@JeremyDev87

Copy link
Copy Markdown
Owner

Summary

  • Add integration tests verifying all 6 preset JSON files conform to AgentStackSchema with canonical specialist_agents field
  • Add regression guard test that rejects specialists field (the wrong name from the schema drift)
  • The core schema unification was already applied in b86ae4e and d54a95a — this PR adds the missing integration test guard (TASK.md Step 7)

Closes #1196

Test plan

  • yarn typecheck passes
  • yarn build passes
  • yarn test — 5816 tests pass (8 new integration tests added)
  • All 6 preset JSONs validated against Zod schema
  • Regression test confirms specialists (wrong name) is rejected

…ma (#1196)

Verify all preset JSON files conform to Zod schema and use the canonical
specialist_agents field. Guard against schema drift regression.
@JeremyDev87 JeremyDev87 added the fix label Apr 3, 2026
@vercel

vercel Bot commented Apr 3, 2026

Copy link
Copy Markdown

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated (UTC)
codingbuddy-landing Ready Ready Preview, Comment Apr 3, 2026 1:16pm

@JeremyDev87 JeremyDev87 left a comment

Copy link
Copy Markdown
Owner Author

Choose a reason for hiding this comment

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

✅ Conductor Review — APPROVE

CI: 25/25 ALL PASS (type-check ✅, build ✅)

Review: APPROVE — 0 issues

Plan Verification (#1196 P0):

  • type-check passes (AgentStack interface conflict resolved)
  • build passes
  • Integration test: all 6 preset JSONs validated against Zod schema
  • Regression test: specialists field correctly rejected (only specialist_agents accepted)
  • Drift prevention: future presets auto-validated by CI

Note:

The type conflict itself was resolved in Wave 3 PR #1194 merge. This PR adds CI-enforced integration tests to prevent recurrence.

@JeremyDev87 JeremyDev87 self-assigned this Apr 3, 2026
@JeremyDev87 JeremyDev87 merged commit 1e83aaf into master Apr 3, 2026
25 checks passed
@JeremyDev87 JeremyDev87 deleted the taskmaestro/1775221347/pane-1 branch April 3, 2026 13:23
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

fix(mcp): unify AgentStack schema — specialist_agents vs specialists drift

1 participant