v0.8 Phase 1: Role-based Dispatcher + Chosen Lead Agent#6
Open
makesomethingshit wants to merge 25 commits into
Open
v0.8 Phase 1: Role-based Dispatcher + Chosen Lead Agent#6makesomethingshit wants to merge 25 commits into
makesomethingshit wants to merge 25 commits into
Conversation
added 25 commits
June 19, 2026 15:47
- roost/dispatcher.py: BackendRegistry (extensible), TaskRole enum, classify_task(), dispatch() with security check + role→backend routing - roost/state.py: role_backends field, get/set_role_backend(), get_employees_by_role() - roost/__init__.py: export dispatcher symbols - roost/tests/test_dispatcher.py: 13 tests (classify, registry, dispatch, security) - roost/tests/test_state.py: 4 new tests (role_backends, employees_by_role) Hermes is default lead agent; other agents registerable via registry.register(). 268 total tests (was 201), CI green.
- project_hub.py: Endpoints 탭 추가 (endpoint CRUD, role mapping, skills toggle) - roost/state.py: skills CRUD (list_skills, set_skill_enabled, get/set_skill_endpoint) - _default_state()에 skills 섹션 추가 - 268 total tests, CI green
- roost/delivery.py: deliver_packet() — agent 확인 → hermes(script subprocess) / script(no-op) - roost/backend/hermes.py: deliver_packet() 추가 - roost/backend/script.py: deliver_packet() no-op 추가 - roost/dispatcher.py: deliver_packet task type 분기 - roost/__init__.py: deliver_packet, DeliveryError export - roost/tests/test_delivery.py: 10 tests - 278 total tests, CI green
…eued_at/enqueuedAt
…eued_at/enqueuedAt
…with color labels
…n, pet entity, delegation note
…eanup - roost/state.py: +395 lines — model profile CRUD, team preset management - roost/model_profile.py: new — tier ordering, profile resolution - roost/delivery.py: +35 lines — delivery routing updates - roost/backend/hermes.py: +19 lines — backend adapter updates - project_room_widget.py: +523 lines — widget CLI for goal/task/model management - test_project_room_registry.py: +1058 lines — widget CLI integration tests - tools/: pet_studio_model.cmd, pet_studio_work.cmd added; existing scripts updated - docs/: ARCHITECTURE, UX_PRIORITIES, CHANGELOG, PROJECT_HANDOFF updated - ruff: all checks pass (fixed unused imports, unsorted blocks, unused vars) Covers: model profile system, team state schema expansion, widget CLI surface
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
v0.8 Phase 1 — 역할 기반 디스패치
변경 범위 (5 files, +420줄)
roost/dispatcher.py— BackendRegistry, TaskRole, classify_task, dispatchroost/state.py— role_backends, get/set_role_backend, get_employees_by_roleroost/__init__.py— dispatcher exportroost/tests/test_dispatcher.py— 13 testsroost/tests/test_state.py— 4 tests비전 연결
registry.register("codex", CodexBackend)한 줄로 새 에이전트 추가테스트
제약