Require labeled proposal sections (issue #10) #23
Loading…
Reference in a new issue
No description provided.
Delete branch "feat/10-proposal-template"
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
problem, optionalcontext,solution,pros_cons,summary,success_criteria) so voters can scan TL;DR, trade-offs, and goalposts before signing.body_hashis SHA-256 of canonical JSON (sorted keys, ammonia-cleaned HTML per section). New creates reject freeformbody_html. Legacy rows still render viabody_html.Related to #10. Do not close #10 until staging Terra and BSC compose is verified. Draft/review lifecycle remains #13.
Test plan
cargo test --workspace --lib(section validation + golden hash85b0e398…)LEDGER_TEST_DATABASE_URL=… cargo test --workspace --tests(Terra/BSC create, empty sections, hash mismatch, XSS, legacy GET)cd frontend && npm test(gates, golden JSON, list text TL;DR, legacy fallback)cd frontend && npm run test:e2e -- --workers=5(template compose → detail headings → list TL;DR)GET /v1/proposalsincludessummaryon live operator API after migratechanged the description
mentioned in merge request !26
added 9 commits
main892330a7- Merge origin/main into feat/10-proposal-template after !21 and !25.Compare with previous version
mentioned in commit
ea426406camentioned in commit
83b8b26f92mentioned in issue #15
mentioned in issue #10
mentioned in issue #11
mentioned in issue #7