diff --git a/packages/dev-workflow/package.json b/packages/dev-workflow/package.json index 8b5b823..d5cd43e 100644 --- a/packages/dev-workflow/package.json +++ b/packages/dev-workflow/package.json @@ -1,6 +1,6 @@ { "name": "@ageflow/dev-workflow", - "version": "0.0.15", + "version": "0.0.16", "private": true, "type": "module", "scripts": { diff --git a/packages/dev-workflow/pipelines/bugfix.ts b/packages/dev-workflow/pipelines/bugfix.ts index b668757..5305b5e 100644 --- a/packages/dev-workflow/pipelines/bugfix.ts +++ b/packages/dev-workflow/pipelines/bugfix.ts @@ -211,6 +211,18 @@ const realityCheckerAgent = defineAgent({ "", "Reproduce the bug on master, then verify the fix on the worktree", "branch. Cite the test file + describe block that captures the bug.", + "", + "## Required output (JSON)", + "", + "```json", + "{", + ' "commandsRun": [{ "cmd": "", "result": "PASS" | "FAIL" | "SKIPPED" }],', + ' "regressionProof": "<1-2 sentence evidence the bug is gone>",', + ' "gate": "APPROVED" | "NEEDS_WORK"', + "}", + "```", + "", + "Wrap your response in this JSON object exactly. Do not add prose around it.", ].join("\n"); }, }); diff --git a/packages/dev-workflow/pipelines/feature.ts b/packages/dev-workflow/pipelines/feature.ts index bae28e9..391bf2b 100644 --- a/packages/dev-workflow/pipelines/feature.ts +++ b/packages/dev-workflow/pipelines/feature.ts @@ -96,6 +96,18 @@ const seniorDeveloperAgent = defineAgent({ "", "Implement per the plan. Run typecheck + tests locally before returning.", "Only commit reality: typecheckPassed must reflect actual exit code.", + "", + "## Required output (JSON)", + "", + "```json", + "{", + ' "filesChanged": ["", ...],', + ' "summary": "",', + ' "typecheckPassed": true | false', + "}", + "```", + "", + "Wrap your response in this JSON object exactly. Do not add prose around it.", ].join("\n"); }, });