You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
id(comms): budgets — app-wide, per-IP, per-ID, and per-counterparty overrides (P1 of #2032) #2247
From the #2032 investigation (record). Blocked by #2244 (counters must exist before a budget can be evaluated).
Problem
The issue's requirement is "configurable budgets — max MB per window across the whole app, per IP, or per ID, and message/MB caps for a SPECIFIC counterparty, not just any counterparty". The last part is the one no existing limiter can express: world chat bounds lines per participant in a world, nothing can give one peer a smaller allowance than everyone else.
Work
Rolling-window byte budgets: app-wide inbound 32 MiB/s / 20 GiB/h, outbound 64 MiB/s / 40 GiB/h; per peer 100 MiB/h burst 8 MiB/min; per IP 250 MiB/h (direct connections only).
Per-counterparty override rows{peer, bytes_per_window, messages_per_window}, consulted before the default bucket — an operator can cap one peer at 1 MiB/day without touching the global budget.
Configuration in id-server-config.toml (server_config/parse.rs), defaults in code so an unchanged config behaves as today.
An operator can set a per-peer cap in config, observe the budget counters, and a peer exceeding it is refused with a retry value while the rest of the app is unaffected.
agent-note:v1
event: handed_off
task: 5936 (repo-health-code-pilot, openchamber scheduled lane)
state: queued; not_before=2026-11-01T22:30:00Z
next: revalidate #2244/#3882/PR #3960; park if P0-A integration is still open or blocked.
dedupe: repo-health:v1:fix:developing-today/code:issue:2247
Picked up by lane code-u as task 9172 (small_fix, issue #2247). Execution-lane assignment returned opencode: handed off to the opencode claimant, which launches a bound session for task 9172. Checkpoint stage handed_off recorded. Existing progress on task 9172 references PR #5096 (open, branch queue/8033-4918-abuse-counters) — the bound session owns the next step. Task 9172 is at attempts 29/32; lease until ~2026-11-06T03:27Z.
agent-note:v1
event: parked
task: 9172 (repo-health-code-pilot, repo-worker-code; openchamber-scheduled-lane 7b47536b-c162-444c-be8a-3a9538cc4cb5)
state: parked until 2026-11-06T05:17:43Z. Fresh checks confirm #2247 OPEN and Drew-authored PR #5096 OPEN; the PR changes pkgs/id/src/commands/serve.rs at the WorldProtocol construction site required by this task. Do not create a competing PR. No branch/worktree/code started. Resume after 30 minutes with fresh checks, and proceed only if #5096 merges/closes or ownership is explicitly released.
Activity
developing-today commentedon Oct 29, 2026
CODE-1113
dezren39 commentedon Nov 1, 2026
agent-note:v1
event: handed_off
task: 5936 (repo-health-code-pilot, openchamber scheduled lane)
state: queued; not_before=2026-11-01T22:30:00Z
next: revalidate #2244/#3882/PR #3960; park if P0-A integration is still open or blocked.
dedupe: repo-health:v1:fix:developing-today/code:issue:2247
dezren39 commentedon Nov 1, 2026
agent-note:v1 — picked up — OpenChamber scheduled lane
dezren39 commentedon Nov 1, 2026
agent-note:v1 — parked — OpenChamber scheduled lane
3993ac941e, Drew-authored. CodeRabbit passed, but the prerequisite integration is not merged.372 remaining items
developing-today commentedon Nov 6, 2026
Picked up by lane code-u as task 9172 (small_fix, issue #2247). Execution-lane assignment returned
opencode: handed off to the opencode claimant, which launches a bound session for task 9172. Checkpoint stagehanded_offrecorded. Existing progress on task 9172 references PR #5096 (open, branchqueue/8033-4918-abuse-counters) — the bound session owns the next step. Task 9172 is at attempts 29/32; lease until ~2026-11-06T03:27Z.dezren39 commentedon Nov 6, 2026
🤖 Agent note · handed off
opencode— handed off to the opencode claimant, which launches the bound opencode session; this lane does not work it directly.dezren39 commentedon Nov 6, 2026
🤖 Agent note · handed off
opencodedezren39 commentedon Nov 6, 2026
agent-note:v1
event: picked_up
task: 9172 (repo-health-code-pilot, repo-worker-code; openchamber-scheduled-lane 7b47536b-c162-444c-be8a-3a9538cc4cb5)
state: claimed; resuming from prior checkpoint handed_off. Queue checkpoint write timed out twice; revalidating issue #2247 and prior Drew-authored PR #5096 fresh before deciding whether to proceed or park. No branch/worktree started.
dezren39 commentedon Nov 6, 2026
agent-note:v1
event: parked
task: 9172 (repo-health-code-pilot, repo-worker-code; openchamber-scheduled-lane 7b47536b-c162-444c-be8a-3a9538cc4cb5)
state: parked until 2026-11-06T05:17:43Z. Fresh checks confirm #2247 OPEN and Drew-authored PR #5096 OPEN; the PR changes pkgs/id/src/commands/serve.rs at the WorldProtocol construction site required by this task. Do not create a competing PR. No branch/worktree/code started. Resume after 30 minutes with fresh checks, and proceed only if #5096 merges/closes or ownership is explicitly released.
dezren39 commentedon Nov 6, 2026
🤖 Agent note · handed off
opencodedezren39 commentedon Nov 6, 2026
🤖 Agent note · handed off