feat(kugetsu): increase MAX_CONCURRENT_AGENTS from 3 to 5 #43

Merged
shoko merged 3 commits from fix/issue-37-agent-limit-5 into main 2026-03-31 14:48:53 +02:00
Owner

Summary

  • Increase MAX_CONCURRENT_AGENTS from 3 to 5 based on testing
  • Parallel agent capacity limits already implemented via acquire_agent_slot/release_agent_slot
  • Integration in cmd_delegate, cmd_start, and cmd_continue prevents exceeding limit

Testing

The semaphore-based solution (flock + counter file) has been tested and works correctly.

Closes #37

## Summary - Increase MAX_CONCURRENT_AGENTS from 3 to 5 based on testing - Parallel agent capacity limits already implemented via acquire_agent_slot/release_agent_slot - Integration in cmd_delegate, cmd_start, and cmd_continue prevents exceeding limit ## Testing The semaphore-based solution (flock + counter file) has been tested and works correctly. Closes #37
shoko added 1 commit 2026-03-31 11:46:45 +02:00
Based on testing, 5 concurrent agents provides better throughput
without overwhelming system resources.
shoko added 1 commit 2026-03-31 12:03:23 +02:00
Issue #44: release_agent_slot function was not available in sh subshell.
Changed sh to bash and added 'source /home/shoko/.local/bin/kugetsu' before
calling release_agent_slot so the function is properly loaded.
shoko added 1 commit 2026-03-31 14:35:34 +02:00
# Conflicts:
#	skills/kugetsu/scripts/kugetsu
shoko merged commit a4915a1da8 into main 2026-03-31 14:48:53 +02:00
Sign in to join this conversation.