gabriel / muse public
refactor BREAKING dev
AI Agent gabriel · 152 days ago · Apr 22, 2026 · Diff

refactor: remove ENTITY_SERVICE, renumber ENTITY_ORG to 2

ENTITY_SERVICE was defined but never used outside hdkeys.py. An automated service or daemon is an agent at the key derivation level — the distinction is operational, not structural. The three canonical entity types are now: 0 = ENTITY_HUMAN 1 = ENTITY_AGENT 2 = ENTITY_ORG (was 3)

Updated: hdkeys.py, slip010.py, agent_slots.py, agent.py, test_core_hdkeys.py Validator range updated to 0–2. Test matrix updated: 7×3×5 = 105 keys.

sha256:7d759e15c12a43d7ac8bda83f499231756edacd170826104f6ed7890d0dbbd57 sha
+2 ~33 −4 symbols
sha256:5e76d1c24e3d837ba5a18a3b137118039650e705b45d888af2906ae18bce6631 snapshot
+2
symbols added
~33
symbols modified
−4
symbols removed
0
dead code introduced
Semantic Changes 39 symbols
~ muse/cli/commands/agent.py .py 1 symbol modified
~ muse/core/agent_slots.py .py 1 symbol modified
~ muse/core/hdkeys.py .py 1 symbol removed, 3 symbols modified
ENTITY_SERVICE variable variable ENTITY_SERVICE L278–278
~ tests/test_core_hdkeys.py .py 2 symbols added, 3 symbols removed, 28 symbols modified
test_140_key_matrix_under_100ms method method test_140_key_matrix_under_100ms L599–613
test_all_7_domains_x_4_entities_x_5_roles_unique method method test_all_7_domains_x_4_entities_x_5_roles_unique L453–467
ENTITY_SERVICE import import ENTITY_SERVICE L17–17
+ test_105_key_matrix_under_100ms method method test_105_key_matrix_under_100ms L597–611
+ test_all_7_domains_x_3_entities_x_5_roles_unique method method test_all_7_domains_x_3_entities_x_5_roles_unique L451–465
← Older Oldest on dev
All commits
Newer → Latest on dev

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