Skip to content

fix(orchestration): deadlock recovery, balance reporting, tests & meow skill#298

Open
wanikua wants to merge 1 commit intoConway-Research:mainfrom
wanikua:feat/orchestrator-deadlock-fix-and-tests
Open

fix(orchestration): deadlock recovery, balance reporting, tests & meow skill#298
wanikua wants to merge 1 commit intoConway-Research:mainfrom
wanikua:feat/orchestrator-deadlock-fix-and-tests

Conversation

@wanikua
Copy link
Copy Markdown

@wanikua wanikua commented Apr 3, 2026

Summary

Test plan

  • credits.test.ts — survival tier boundaries, formatting, financial state (14 tests)
  • budget.test.ts — per-call ceiling, hourly budget, cost recording/queries (10 tests)
  • config.test.ts — config creation, defaults merging, path resolution (12 tests)
  • orchestrator-deadlock.test.ts — dead worker marking, max recovery, recovery count (3 tests)
  • balance-report.test.ts — reported vs funded balance, staleness, fallback (5 tests)
  • meow-skill.test.ts — SKILL.md parsing, frontmatter, requirements (4 tests)
  • pnpm typecheck passes with zero errors

🤖 Generated with Claude Code

- Fix orchestrator deadlock where dead workers cause infinite stale
  task recovery loops (Conway-Research#266, Conway-Research#259). Add max recovery count per task,
  mark dead workers in agent tracker, and detect deadlock state.
- Add child agent balance reporting via status_report messages.
  SimpleFundingProtocol.getBalance() now prefers recent reported
  balance over funded_amount_cents upper-bound estimate.
- Add tests for credits, inference budget, config, orchestrator
  deadlock, and balance reporting (48 new tests).
- Add meow-protocol skill (SKILL.md) for token-efficient inter-agent
  communication using VQ-VAE discrete codebooks.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
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