Skip to content

Route agent messages by current responsibility - #187

Merged
sreejithraman merged 2 commits into
mainfrom
fix/coordinator-heartbeat-fallback
Nov 16, 2026
Merged

sreejithraman merged 2 commits into
mainfrom
fix/coordinator-heartbeat-fallback

Conversation

@sreejithraman

Copy link
Copy Markdown
Owner

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.
  • Final skill/link and whitespace checks passed.
  • Show, Don't Tell and two-pass Review Fix Loop complete: Primary, Ponytail, Thermo, and Adversarial coverage; the resume-heartbeat finding is repaired and independently checked. Claude roles used approved Sol High fallbacks. Optional Gemini review was skipped after quota failure.

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.

@sreejithraman
sreejithraman merged commit 2d2de8b into main Nov 16, 2026
3 checks passed
@sreejithraman
sreejithraman deleted the fix/coordinator-heartbeat-fallback branch November 16, 2026 22:39
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant