Skip to content

Add OpenCode config, throttling, and atomic file events#84

Merged
xnoto merged 7 commits into
mainfrom
add-opencode-config
Jun 8, 2026
Merged

Add OpenCode config, throttling, and atomic file events#84
xnoto merged 7 commits into
mainfrom
add-opencode-config

Conversation

@xnoto

@xnoto xnoto commented Apr 24, 2026

Copy link
Copy Markdown
Owner

Summary

  • Adds workspace OpenCode configuration for this repository with the MCP servers used in local development and review flows.
  • Adds route-specific chatty throttling that delays bursty sender-to-agent-thread traffic while preserving ordering and isolating cooldowns per route.
  • Adds throttle metrics plus targeted tests for helper logic, worker delivery timing, dropped-agent routing, session-agent behavior, and daemon integration.
  • Fixes daemon file event handling so message/session/agent files finalized via temp-file + atomic rename are queued from watchdog move events, preserving cross-platform POSIX behavior while keeping direct create handling.

Testing

  • uv run --extra dev ruff check .
  • uv run --extra dev ruff format --check .
  • uv run --extra dev pytest
  • Live daemon test on this branch:
    • started uv run --extra dev agent-hub-daemon
    • coordinator session created/registered as coordinator (ses_1580...)
    • attached OpenCode test session created/oriented (ses_157f...) and received AGENT HUB: orientation
    • test agent registered as assigned id clever-bear
    • agent -> coordinator delivered LIVE_TEST_PING from live-test-agent
    • coordinator -> agent delivered LIVE_TEST_COORDINATOR_TO_AGENT
    • agent -> coordinator replied LIVE_TEST_AGENT_RECEIVED

Notes

  • Coordinator bootstrap timed out waiting for an assistant READY response, then continued in best-effort mode; message injection/routing still worked both directions.

@xnoto xnoto self-assigned this Jun 8, 2026
@xnoto xnoto changed the title Add opencode.json workspace configuration Add OpenCode config, throttling, and atomic file events Jun 8, 2026
@xnoto xnoto merged commit 8086f87 into main Jun 8, 2026
14 checks passed
@xnoto xnoto deleted the add-opencode-config branch June 8, 2026 16:28
xnoto added a commit that referenced this pull request Jun 8, 2026
Adds a parseable conventional commit so Release Please can generate a release for the already-merged PR #84 changes.
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