Block a user
Bug: MAX_CONCURRENT_AGENTS limit not enforced
Fix Implemented: Session-Counting Approach
PR created with session-counting implementation:
PR: https://git.fbrns.co/shoko/kugetsu/pulls/65
Changes Made
- **Added `count_active_dev_…
fix: implement session-counting for MAX_CONCURRENT_AGENTS limit (fixes #63)
Bug: MAX_CONCURRENT_AGENTS limit not enforced
Session-Counting Approach (Recommended Fix)
The slot mechanism doesn't work because opencode run --fork returns immediately after forking, not after child completes. We need a different…
Bug: MAX_CONCURRENT_AGENTS limit not enforced
Update: pgrep approach won't work
Tested pgrep opencode - it returns 0 even with active sessions. Reason:
opencode run --forkcreates session on opencode SERVER- Client process exits…
Bug: MAX_CONCURRENT_AGENTS limit not enforced
Issue with This Fix
The fix waits for opencode run --fork to complete, but opencode run --fork returns immediately after FORKING the child process - it does NOT wait for the agent session…
PM Agent: opencode external_directory permission fails for subdirectory paths
Fix Found
The PM agent session in SQLite has permission: NULL - no permissions stored at all. Adding external_directory permission via SQLite update fixes the issue.
UPDATE session…
fix: enforce MAX_CONCURRENT_AGENTS limit properly (fixes #63)
Bug: MAX_CONCURRENT_AGENTS limit not enforced
docs: add agent concurrency benchmark results