What problem does it solve?
Validating changes to the Mastra Agent Builder feature branch requires manually exercising dozens of API and UI surfaces (stored agents, skills, RBAC, registry, channels), which is slow and error-prone. This Skill automates end-to-end smoke testing of the builder EE surface against a hermetic project linked to the current worktree.
Core Features & Use Cases
- Hermetic project scaffolding: Scripts scaffold a throwaway project at a configurable directory with pnpm link overrides, so worktree changes take effect on the next dev server restart.
- Sectioned test coverage: Fifteen reference sections cover workspace reconciliation, stored agents/skills CRUD, model policy, picker allowlists, favorites, RBAC role gating, infrastructure, channels, auth toggling, and UI checks, runnable in full or via --test/--scope filters.
- Auth-on and auth-off modes: Supports WorkOS-based auth testing with role assertions, session cookie extraction for curl, and multi-user seeding for non-owner flows.
- Use Case: Before merging a PR touching packages/server or the agent-builder playground routes, run the full smoke suite to confirm stored entity CRUD, RBAC gating, and the Studio UI still behave correctly.
Quick Start
Run the builder smoke test against the current branch to validate the Agent Builder feature end to end.