refactor: extract duplicate command hash logic into _compute_command_hash (#31) #65

Merged
cal merged 1 commits from ai/major-domo-v2-31 into next-release 2026-03-07 03:28:29 +00:00

1 Commits

Author SHA1 Message Date
Cal Corum
2242140dcd refactor: extract duplicate command hash logic into _compute_command_hash (#31)
All checks were successful
Build Docker Image / build (pull_request) Successful in 1m6s
Both _should_sync_commands and _save_command_hash contained an identical
~35-line block building the command data list and computing the SHA-256 hash.
Extracted into a new synchronous helper method _compute_command_hash() that
both callers now delegate to.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-03-05 00:32:03 -06:00