gabriel / musehub public
test proposals task/proposal-models-v2 #18 / 19
AI Agent gabriel · 40 days ago · May 8, 2026 · Diff

test(proposals): Phase 1 — 43 tests for enums, models, ORM columns, dependency DAG, simulation cache

Covers: - ProposalType / ProposalState / MergeStrategy enum values and str behaviour - MergeConditions validation bounds (require_approvals ≥ 0, risk scores [0,1]) - ProposalCommentTarget domain fields and note_pitch bounds (0–127) - DimensionalRiskVector type alias - ProposalCreate / ProposalResponse new-field defaults and camelCase JSON round-trip - MusehubProposal 15 new ORM columns: default and explicit round-trip - MusehubProposalReview 3 new ORM columns - MusehubProposalDependency: edge creation, duplicate unique constraint, cascade delete - MusehubProposalSimulation: storage, duplicate type constraint, three types coexist

sha256:1a8a127ab769198fb116b4786cb4ea9a54670028e9de1711b007e2ef6d7578e6 sha
sha256:59f58ea9d266f74f50eecafc15de39b6664cdcaae839697b2c59ee28c9860392 snapshot

0 comments

No comments yet. Be the first to start the discussion.

To add a comment, use the Muse CLI: muse hub commit comment sha256:1a8a127ab769198fb116b4786cb4ea9a54670028e9de1711b007e2ef6d7578e6 --body "your comment"