gabriel / muse public
feat patch #143 feat/143-proposal-comment-delete-cli #1 / 1
AI Agent gabriel · 3 days ago · Sep 9, 2026 · Diff

feat(#143): CLI for proposal comment delete (soft/--hard) + list --include-deleted

Companion to the musehub server-side change (musehub#143). Mirrors 'muse hub issue comment-delete' plus two additions that didn't exist yet anywhere in the CLI: a --hard flag (actually removes the row, requires owner or admin collaborator server-side) and --include-deleted on 'proposal comment list' (surfaces soft-deleted comments, requires write/admin access server-side).

muse hub proposal comment delete <id> --comment-id <id> muse hub proposal comment delete <id> --comment-id <id> --hard muse hub proposal comment list <id> --include-deleted

Verified end-to-end against a local dev server: create -> soft-delete -> excluded from list -> shown with --include-deleted -> hard-delete -> gone even with --include-deleted -> re-delete returns 404. All exit codes and JSON envelope shapes match the issue-comment-delete reference implementation.

sha256:2f1671edb565f467884390e32b97756a4b38406a60d8097468217730aa0f0076 sha
+1 ~2 symbols
1 changed · 1156 in snapshot files
sha256:380971909ae348bd0f0578abf5a1762c7b7eb60fef79885d6bfdbba8c1889b64 snapshot
+1
symbol added
~2
symbols modified
1
file changed
1156
files in snapshot
0
dead code introduced
Semantic Changes 3 symbols
+ docs/
+ muse/
+ tests/
+ tools/
~ muse/cli/commands/hub/proposals.py .py 1 symbol added, 2 symbols modified
+ run_proposal_comment_delete function function run_proposal_comment_delete L608–661
Files Changed
~1
1156 in snapshot
← Older Oldest on feat/143-proposal-comment-delete-cli
All commits
Newer → Latest on feat/143-proposal-comment-delete-cli

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:2f1671edb565f467884390e32b97756a4b38406a60d8097468217730aa0f0076 --body "your comment"