- executeElevated: use e.sessionID instead of os.Getenv (process-global env is empty in multi-session olliesrv) - executeElevated: merge envExtra into broker env map so session-scoped vars are visible to elevated commands - Replace per-turn rate limit with x/time/rate leaky bucket: burst of 3, refills 1 token per 10s. Only denials/timeouts consume tokens; approvals are free. |
||
|---|---|---|
| .. | ||
| broker.go | ||
| broker_test.go | ||
| policy.go | ||
| policy_test.go | ||
| request.go | ||