feat: add commit.sign config setting for default signing
- New [commit] section in config.toml with sign = true/false - get_config_value("commit.sign") reads boolean from TOML as string - set_config_value("commit.sign", "true"|"false") validates and writes - muse commit auto-signs when commit.sign = true, without --sign flag - --sign flag always overrides config (wins even when config = false) - signer_public_key included in muse commit --json output - TDD test suite covering all cases
sha256:37f8ecde5896a80df68aa39b87455933a0bc0905ccf87a0424450a806dbdb084
sha
+37
~8
symbols
sha256:b17e229ea568fc984fb9e361b267346c20093dd813abbe7c3c4cb3ce1144566b
snapshot
+37
symbols added
~8
symbols modified
0
dead code introduced
Semantic Changes
45 symbols
+
test_commit_not_signed_when_config_absent
method
method test_commit_not_signed_when_config_absent L186–193
+
test_commit_not_signed_when_config_false
method
method test_commit_not_signed_when_config_false L174–184
+
test_explicit_flag_overrides_config_false
method
method test_explicit_flag_overrides_config_false L195–206
+
test_returns_false_string_when_set_false
method
method test_returns_false_string_when_set_false L94–99
+
test_set_unknown_commit_subkey_raises
method
method test_set_unknown_commit_subkey_raises L124–128
~
run
0 comments
To add a comment, use the Muse CLI:
muse hub commit comment sha256:37f8ecde5896a80df68aa39b87455933a0bc0905ccf87a0424450a806dbdb084 --body "your comment"
No comments yet. Be the first to start the discussion.