Skip to content

fix(dev-workflow): #230 — JSON output overrides#231

Merged
Neftedollar merged 1 commit intomasterfrom
fix/230-agent-json-overrides
Apr 18, 2026
Merged

fix(dev-workflow): #230 — JSON output overrides#231
Neftedollar merged 1 commit intomasterfrom
fix/230-agent-json-overrides

Conversation

@Neftedollar
Copy link
Copy Markdown
Owner

Summary

Fixes #230. First-live-run blocker — two agents (seniorDeveloperAgent in feature.ts, realityCheckerAgent in bugfix.ts) had no JSON output override in their prompts, so they would follow the role's markdown instruction and return text that fails Zod validation.

Changes

  • feature.ts#seniorDeveloperAgent prompt — append Required output block
  • bugfix.ts#realityCheckerAgent prompt — append Required output block
  • @ageflow/dev-workflow 0.0.15 → 0.0.16

Test plan

  • typecheck/test/lint green
  • dry-run 194 works

Closes #230

…+ reality-checker

Both agents had Zod schemas expecting structured JSON but prompts that
inherited the role's markdown-output instruction. Live run would have
failed Zod validation on step 2 of any feature/bugfix pipeline.

Added "## Required output (JSON)" blocks matching their Zod schemas,
mirroring the pattern already used by architectAgent + codeReviewerAgent.

Bumps @ageflow/dev-workflow 0.0.15 → 0.0.16 (private).

Closes #230
@Neftedollar Neftedollar merged commit 52417fb into master Apr 18, 2026
3 checks passed
@Neftedollar Neftedollar deleted the fix/230-agent-json-overrides branch April 18, 2026 23:16
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.

dogfood: senior-developer agent has no JSON output override — first live run will fail

1 participant