Skip to content

release: v0.13.5 — reviewer result block - #67

Merged
mai1015 merged 3 commits into
mainfrom
release/v0.13.5
Sep 27, 2026
Merged

mai1015 merged 3 commits into
mainfrom
release/v0.13.5

Conversation

@mai1015

@mai1015 mai1015 commented Sep 26, 2026

Copy link
Copy Markdown
Contributor

Summary

  • Reviewer reply is now Markdown ending in {"result": "pass|fail|blocked", "reason": "..."}, parsed leniently (last object with a result, unknown keys ignored, verdict alias, case-insensitive, fence allowed). Replaces the strict single-JSON assessment that live reviewers kept failing on (invented taxonomy/classification keys, a 39-char commit SHA).
  • New blocked result → conformance blocked, Review failed, Task parked with review_blocked (recovery: reexecute); the coder is not dispatched.
  • Forge-run setup steps and required checks stay the hard gate; reviewer citation verification is removed.
  • Coder feedback and the reviewer Task comment are the reason plus the Markdown review; the web panel renders the Markdown.
  • Embedded correction turn asks only for the missing block and keeps the first turn's review.
  • V145 migrates stored assessments to {result, reason, report} (original JSON kept in report); verified against a copy of a live database (10 assessments, 7 review copies, integration-guard equality preserved).
  • Breaking API-type change recorded in CHANGELOG; version bumped to 0.13.5.

Test plan

  • cargo test -p review --lib
  • focused services tests (review correction, reviewer comment, feedback, blocked routing, unusable reply retry, merge guard)
  • api tests: happy_path, follow_up_review_fail, review_rejection_clears_re_review_flag
  • db migration tests
  • clippy -D warnings, rustfmt, web tsc -b, ReviewConformancePanel test
  • full CI

🤖 Generated with Claude Code

mai1015 and others added 3 commits September 26, 2026 17:35
Reviewers now answer in free Markdown ending with one result block,
{"result": "pass|fail|blocked", "reason": "..."}, instead of a single
strict JSON object with per-requirement dispositions and file/commit
evidence. Live Codex reviewers lost three full reviews in a row on one
Task to an invented extra key and a truncated commit SHA; the lenient
block lets any model review. Forge's own setup steps and required
checks remain the hard gate.

A new `blocked` result (conformance `blocked`, failure kind
`review_blocked`) parks the Task for its owner when the reviewer's
environment, not the code, prevented a verdict, instead of sending the
coder to fix a missing toolchain. V145 migrates stored assessments to
{result, reason, report}, keeping the original JSON in `report`.

Co-Authored-By: Claude Opus 5.5 (1M context) <[email protected]>
The review runner read ci_steps only from the Task's own state config,
while the review contract required the effective config (workflow
state, then Project default_review_config, then Task overrides). A
Project that configured ci_steps therefore had them required but never
executed, and every review failed admission with "pre-review result for
required check ci:0 is unavailable". The runner now reads ci_steps and
the review prompt from the same effective config.

Co-Authored-By: Claude Opus 5.5 (1M context) <[email protected]>
Current Codex reports a missing thread as "no rollout found for thread
id"; the start-fresh fallback only matched "thread not found", so an
auditor fork or coder resume of a Task whose session file was gone failed
the execution instead of starting a new thread.

Co-Authored-By: Claude Opus 5.5 (1M context) <[email protected]>
@mai1015
mai1015 merged commit c32d006 into main Sep 27, 2026
10 checks passed
@mai1015
mai1015 deleted the release/v0.13.5 branch September 27, 2026 01:09
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