Skip to content

fix: simplify hooks trust level change output#289

Merged
avihut merged 1 commit intomasterfrom
fix/hooks-trust-print
Mar 11, 2026
Merged

fix: simplify hooks trust level change output#289
avihut merged 1 commit intomasterfrom
fix/hooks-trust-print

Conversation

@avihut
Copy link
Owner

@avihut avihut commented Mar 11, 2026

Summary

  • Show repository path once instead of duplicating it before and after the change
  • Replace "Current:" header + separate status lines with a compact old -> new arrow format
  • Unify output for both interactive and --force modes across all trust commands (trust, deny, reset, reset --path)

Test plan

  • mise run fmt — clean
  • mise run clippy — zero warnings
  • mise run test:unit — all pass

🤖 Generated with Claude Code

Show path once, use "old -> new" arrow format for trust transitions,
and remove redundant "(repository)" labels and "Current:" headers.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
@avihut avihut added this to the v1.1.0 milestone Mar 11, 2026
@avihut avihut added the fix Bug fix label Mar 11, 2026
@avihut avihut self-assigned this Mar 11, 2026
@avihut avihut merged commit 8725193 into master Mar 11, 2026
6 checks passed
@avihut avihut deleted the fix/hooks-trust-print branch March 11, 2026 10:13
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

fix Bug fix

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant