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
Commit d84bbc6
Browse filesBrowse the repository at this point in the historyBrowse files
fix: reduce session event-loop load under many concurrent agents
- cache compiled wildcard patterns (permission checks built a fresh RegExp per comparison)
- demote the per-pattern permission log, flatten rulesets once, dedupe approved rules
- skip diffFull for unchanged turn spans; memoize the last turn diff per session/message (non-empty only, bounded) with single-flight summarize
- reuse the step-finish tree for patch diffs via patch(hash, { to }) instead of re-staging the shared index
- skip the summarize fork when a step's snapshot tree is unchanged
- hoist the doom-loop input needle out of the per-event compare
- SSE: filter before enqueue, bounded dropping queue, server.desync marker when a client lags
- memoize and freeze the per-directory Location.Info payload
- merge part deltas by part key instead of adjacency; skip raw deltas for plugin hooks
- jitter the periodic WAL checkpoint so processes do not checkpoint in lockstep
0 commit comments