Skip to content

fix: parse fenced docs review json - #260

Merged
beubax merged 2 commits into
mainfrom
codex/fix-docs-review-json
Aug 10, 2026
Merged

fix: parse fenced docs review json#260
beubax merged 2 commits into
mainfrom
codex/fix-docs-review-json

Conversation

@beubax

@beubax beubax commented Aug 10, 2026

Copy link
Copy Markdown
Collaborator

Fixes the docs review bot's OpenAI JSON parsing for the lighter review model. The model was returning JSON wrapped in markdown, which made the advisory review path report invalid JSON.\n\nThis keeps low reasoning, removes the rejected structured-output request for this model, adds an explicit JSON-only system instruction, and accepts fenced JSON output.\n\nVerification:\n- npx vitest run src/docs-sync-review-cli.test.ts src/generate-release-notes-cli.test.ts\n- npm run typecheck

@github-actions

Copy link
Copy Markdown
Contributor

🟠 Maintainer review suggested — low confidence

Automated semantic review could not be completed.

Limitations

  • A maintainer may need to review documentation requirements manually.

This review is advisory and does not block merging.

@beubax
beubax merged commit 0644de7 into main Aug 10, 2026
11 checks passed
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.

1 participant