Add draft review gate and freeze snapshot at vote-open (issues #10/#11) #26
Loading…
Reference in a new issue
No description provided.
Delete branch "feat/11-draft-lifecycle"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Summary
{ terra_height, bsc_block }is taken from indexer tips at open, not draft create. Client-supplied heights are ignored. A wallet that registers during draft and holds CL8Y is in the electorate; register-after-open is not.409on staleprev_body_hash), and committee independent analysis. UI hides vote CTAs untilstatus=open. Copy is “register before votes open.”Issue #11 depends on the #10 template. This MR implements both so comments are not attached to freeform HTML. If !23 (
feat/10-proposal-template) merges first, this branch will need a migration rebase.Closes #11. Related #10.
Skill for 3rd-party agents:
skills/AGENTS_DRAFT_REVIEW.md. Invariants: OV-S1–S6 indocs/OPERATOR_VOTING.md.Test plan
cargo test --workspace --libLEDGER_TEST_DATABASE_URL=… cargo test --workspace --tests(draft/open/vote, freeze-at-open, privilege +grants.sql)cd frontend && npm test && npm run test:e2e(5 workers; draft → comment → open → vote)VOTING_COMMITTEE_ADDRESSES; Legal → Terra and BSC register → draft → second wallet comments → committee open → both chains votegitleaks detect(no new secrets; committee/AI keys only as server env placeholders)mentioned in issue #11
added 14 commits
main83b8b26f- Merge origin/main into feat/11-draft-lifecycle after !21, !23, and !25.Compare with previous version
mentioned in commit
842ee1137cmentioned in issue #15
mentioned in issue #10
mentioned in issue #7