npm install
npm run reproOutput with @mastra/core@1.73.0:
sendSignal(...).accepted declares a MastraModelOutput for an idle wake.
The ordinary Agent returns that shape. DurableAgent instead returns a nested durable stream result.
Consequently, await accepted.output.text evaluates to undefined, although the model completes and a thread subscriber receives the answer.
Use Node.js 24 or later and npm. Copy this directory outside any application workspace, then run:
Mastra can manage working memory through its observer with a configured Zod schema. This reproduction shows that the native extractor persists values that violate that schema. It uses published packages, real in-memory libSQL storage, and scripted model responses. No API key, external database, application code, or paid model call is needed.
const schema = z.strictObject({
preferredColor: z.enum(['blue', 'green']),Isolated component-integration reproduction for @mastra/factory@0.14.0,
@mastra/code-sdk@1.7.1, and @mastra/core@1.66.0.
Expected: with Auto-approve plans OFF, asking Factory to start Planning should not also approve the plan the agent subsequently writes.
Actual: following the shipped factory-plan handoff instruction lets the agent
move Planning -> Building (execute) and queue a build without a human approval
Standalone, synthetic public-API reproductions using PostgreSQL 17, Redis 7, official Mastra adapters, separate Node processes, and a deterministic AI SDK mock model. No provider keys, private repository, application env, or business logic is needed. Only the model is mocked; storage, leases, network partitions, process death, recovery, and shutdown are real.
name: final-shape-review description: Re-examine a nearly merge-ready implementation after review comments are addressed to ask whether the final data shapes, contracts, types, transitions, interfaces, ownership boundaries, and abstractions can be materially simplified before merge. Use when the code works and feedback is resolved, but the implementation may still carry discovery scars from trial and error and you want a bounded late-stage zoom-out pass that pushes the merged shape toward obvious, boring, future-maintainable code.
| { | |
| "name": "field_notes_validated_array", | |
| "schema": { | |
| "type": "object", | |
| "properties": { | |
| "items": { | |
| "type": "array", | |
| "items": { | |
| "type": "object", | |
| "properties": { |
| filepath | AGENTS.md |
|---|
.instructions/general.instructions.md and any relevant instructions inside .instructions/apps or .instructions/packages for the files you plan to modify.@ts-ignore or ESLint disable comments.pnpm typecheck to ensure your code is working. This also builds any needed deps. So do this anytime you cross a package boundary.pnpm lint to check for linting errors and code style.pnpm format -w to format all packages before committing.