feat
BREAKING
proposals
task/proposal-models-v2
#3 / 19
feat(proposals): PATCH endpoint for partial proposal updates
T10.1–T10.9 all pass: - ProposalUpdate model (title, body, proposal_type, merge_strategy — all optional, at least one required, extra fields forbidden) - update_proposal() service function (partial, only non-None fields written) - PATCH /api/repos/{repo_id}/proposals/{proposal_id} route (author-only via require_valid_token + handle check; 401/403/404 guarded) - Agent guidance: proposal titles must be plain English, not branch-name style
sha256:adf01087d7c78d79aea00d30d12abff941c2c60724bdb28aa322b6d4f464a7d4
sha
+32
~26
symbols
sha256:41262d6547de7b5a615e82cde641e8f4346313f0438ff03d9578457fd7d83b40
snapshot
+32
symbols added
~26
symbols modified
0
dead code introduced
Semantic Changes
58 symbols
+
test_T10_1_author_can_update_title
function
async_function test_T10_1_author_can_update_title L80–95
+
test_T10_2_author_can_update_body
function
async_function test_T10_2_author_can_update_body L103–117
+
test_T10_3_author_can_update_proposal_type
function
async_function test_T10_3_author_can_update_proposal_type L125–139
+
test_T10_4_author_can_update_merge_strategy
function
async_function test_T10_4_author_can_update_merge_strategy L147–161
+
test_T10_5_partial_update_only_changes_supplied_fields
function
async_function test_T10_5_partial_update_only_changes_supplied_fields L169–191
+
test_T10_6_non_author_cannot_update
function
async_function test_T10_6_non_author_cannot_update L199–213
+
test_T10_7_unauthenticated_update_returns_401
function
async_function test_T10_7_unauthenticated_update_returns_401 L221–232
+
test_T10_8_missing_proposal_returns_404
function
async_function test_T10_8_missing_proposal_returns_404 L240–253
+
test_T10_9_empty_patch_body_returns_422
function
async_function test_T10_9_empty_patch_body_returns_422 L261–274
~
Field
Older
feat(proposals): redesign list row to answer the 7 questions fro…
sha256:97bbe010ecc1cf125c581bd71182cdc13bde7f4a92464fc2cb9775e8de5f4605
All commits
Newer
feat: proposal list UX overhaul — prl-kv chip system, 3-row righ…
sha256:83d0034ce052598e2d83a28f9bb854b64c3aeb028adedabdc320dffe02f37d5c
0 comments
To add a comment, use the Muse CLI:
muse hub commit comment sha256:adf01087d7c78d79aea00d30d12abff941c2c60724bdb28aa322b6d4f464a7d4 --body "your comment"
No comments yet. Be the first to start the discussion.