Skip to content

fix(agent): enforce managed app contracts - #264

Merged
iamjr15 merged 1 commit into
mainfrom
fix/managed-tool-exposure
Aug 12, 2026
Merged

fix(agent): enforce managed app contracts#264
iamjr15 merged 1 commit into
mainfrom
fix/managed-tool-exposure

Conversation

@iamjr15

@iamjr15 iamjr15 commented Aug 12, 2026

Copy link
Copy Markdown
Contributor

Why

Production app-builder QA showed that managed runs still advertised code_start_dev_server through Mastra client tools, models attempted to replace the prepared Next.js template with Vite, and otherwise valid browser actions failed because placeholder null fields were mandatory. These behaviors wasted run time and could leave verification incomplete.

What changed

  • filter the provider-facing clientTools registry itself for managed and skill-creator runs
  • use one method-specific browser action schema for provider and driver boundaries
  • reject Vite entrypoints, framework manifest replacement, alternate package managers, redundant installs, and direct server starts only for managed templates
  • retain source editing, explicit pnpm add/pnpm remove, builds, and all imported-repository capabilities
  • align agent instructions and architecture documentation with the enforced contract

Verification

  • pnpm lint
  • pnpm typecheck
  • pnpm turbo build --force
  • pnpm deadcode
  • pnpm architecture:check
  • pnpm turbo skills:build
  • generated-schema checks: click/fill accepted; timeout-only and missing-value calls rejected
  • production browser QA will be repeated against the exact merged/deployed SHA before handoff

@vercel

vercel Bot commented Aug 12, 2026

Copy link
Copy Markdown

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

1 Skipped Deployment
Project Deployment Actions Updated (UTC)
cheatcode Skipped Skipped Aug 12, 2026 8:53pm

@iamjr15
iamjr15 merged commit afb3195 into main Aug 12, 2026
6 checks passed
@iamjr15
iamjr15 deleted the fix/managed-tool-exposure branch August 12, 2026 20:55
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