Revert "Merge PR #5886: fix(robomp): defer rate-limited submissions (@roboomp)"

This reverts commit 81102634c8, reversing
changes made to 5c9b5f7b64.
This commit is contained in:
can1357
2026-07-18 21:15:38 +02:00
parent c3b9e5415d
commit 8a57bcd4f0
13 changed files with 32 additions and 377 deletions
-7
View File
@@ -39,13 +39,6 @@ Flow: webhook → HMAC verify → `github_events.route` → sqlite `events`
→ `worker.run_task` spawns `omp --mode rpc` with `cwd=worktree`,
persistent `session_dir`, model randomly drawn from `ROBOMP_MODEL` (CSV).
Queue-worthy submissions use a per-login rolling admission window. Accounts
reported as `OWNER`, `MEMBER`, or `COLLABORATOR`, plus configured unlimited
logins, bypass it. When a capped login fills its window, roboomp retains up to
that cap again as a deferred backlog and re-admits those events oldest-first as
slots expire; further overflow remains skipped. Configure the window and tier
caps with the `ROBOMP_RATE_LIMIT_*` variables in `.env.example`.
The agent uses omp's built-in tools (`read`/`edit`/`bash`/`lsp`, scoped to
the worktree) plus the host tools in `src/host_tools.py` — the
exclusive surface for GitHub writes. Every host-tool invocation is audited