evolve
Dry-run architectural changes by applying patches to see structural deltas before implementation.
Instructions
Dry-run architectural changes — apply a patch and see the structural delta.
Input Schema
TableJSON Schema
| Name | Required | Description | Default |
|---|---|---|---|
| source | Yes | EN source code describing the current system | |
| patch | Yes | EN source code patch to apply |
Implementation Reference
- src/index.ts:219-233 (handler)The 'evolve' tool registration and handler logic. It takes 'source' and 'patch' as input and calls the 'evolve' API endpoint.
server.tool( "evolve", "Dry-run architectural changes — apply a patch and see the structural delta.", { source: z.string().describe("EN source code describing the current system"), patch: z.string().describe("EN source code patch to apply"), }, async ({ source, patch }) => { const result = await callApi("evolve", { source, patch }); return { content: [{ type: "text" as const, text: result.text }], isError: result.isError, }; } );