feat: auto-activate current persona subagent command

This commit is contained in:
冰朔 2026-09-08 14:33:29 +08:00
commit ccb7992090
8 changed files with 47 additions and 17 deletions

View file

@ -5,7 +5,7 @@ from unittest.mock import patch
S=Path(__file__).with_name('command_router.py'); spec=importlib.util.spec_from_file_location('router',S); M=importlib.util.module_from_spec(spec); spec.loader.exec_module(M)
def event(persona='ICE-P-ZY001', session='s1'):
return {"parent_persona_id":persona,"session_id":session,"channel_id":"ICE-CH-HB001","direct_event_sha256":"a"*64,"model_runtime":"codex"}
return {"parent_persona_id":persona,"session_id":session,"channel_id":"ICE-CH-HB001","current_intent_sha256":"a"*64,"model_runtime":"codex"}
class Tests(unittest.TestCase):
def test_every_slot_is_model_backed_and_owned_by_parent(self):