Repository navigation
Route agent messages by current responsibility - #187
Merged
Merged
Conversation
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.
Summary
Route agent messages to the current owner of an outstanding responsibility. Before waking a thread, establish the action the message enables and whether shared state suffices. Preserve original-owner reuse for repairs and follow-up after finished turns or UI settlement, and honor explicit handoff or closure. Orchestration owns this rule; Coordinator records and checks its concrete ownership and completion routes.
Let coordinators choose a finite next heartbeat from expected events, deadlines, and acceptable missed-event delay, with a recurring liveness backup. Resume re-enables a paused task or recreates a confirmed missing task. Apply exact listed model-table fallbacks with notice across sessions, preserving explicit pins and limits.
Evidence
python3 scripts/check.py: 448 tests, skill/link validation, and whitespace passed at d1525e2. The later repair changes only Resume prose and its source record; runtime coverage remains applicable.python3 scripts/check.py scripts/test_sync_hosts.py: 36 tests passed.Fresh host/model behavior trials and live scheduling effects remain untested. No context savings are claimed.
Merge Danger
Guidance affects future agent decisions. A revert plus normal host sync restores the prior instructions; it cannot undo actions already taken under them. This PR changes no executable files or live program state. Live skill sync and coordinator updates remain a separate parent-owned step after merge.