Repository navigation
Daemon: a follow can name the event kinds it wants; the lookout leaves streamed text out - #407
Conversation
…s streamed text out `follow` takes an optional `kinds` list. The follow then receives only events of those kinds, in replay and live; `follow_live` and `pruned` still come, and an empty list or a bad name is `invalid_follow_kinds`. What it passes by still counts as seen, so no replay sends it later. The lookout follows only the kinds it reads, so the text models stream, most of all events, never reaches its session's queue. A quiet task is told from its model calls' `usage` instead of its deltas. PROTOCOL 24. Co-Authored-By: Claude Opus 5.5 <[email protected]> Claude-Session: https://claude.ai/code/session_013jkdGEHSaQA9KQfmqTB4MM
Codex Review SummaryThis comment shows the latest Codex review activity on this pull request.
ℹ️ About Codex in GitHubYour team has set up Codex to review pull requests in this repo. Reviews are triggered when you
Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings. |
There was a problem hiding this comment.
💡 Codex Review
Here are some automated review suggestions for this pull request.
Reviewed commit: 039b82866d
ℹ️ About Codex in GitHub
Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you
- Open a pull request for review
- Mark a draft as ready
- Comment "@codex review".
If Codex has suggestions, it will comment; otherwise it will react with 👍.
Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".
Co-Authored-By: Claude Opus 5.5 <[email protected]> Claude-Session: https://claude.ai/code/session_013jkdGEHSaQA9KQfmqTB4MM
Co-Authored-By: Claude Opus 5.5 <[email protected]> Claude-Session: https://claude.ai/code/session_013jkdGEHSaQA9KQfmqTB4MM
…-faied7 # Conflicts: # docs/DAEMON_MEASUREMENTS.md
…-faied7 # Conflicts: # sonny/FEATURES.md
|
The Generated by Claude Code |
Fix 5 from the lookout scale work, which George agreed to. A client that follows
*gets every event of every bot, and most of those are text deltas. The lookout reads none of them, yet they fill its session's queue. Past about 1,000 streaming bots, that queue was what got the lookout dropped.What changes
followtakes an optionalkindslist (protocol docs indocs/RUST_PROTOTYPE.md).follow_liveandprunedstill come.invalid_follow_kinds.followreply echoeskinds.KINDSinsonny/src/lookout/mod.rs).usageevents instead of its deltas.Numbers
bench/lookout_scale.py, 100 projects × 10 tasks (1,100 bots), 10 deltas/s per streaming task, 30 s load, 4-core container:With kinds, the daemon's per-session queue of 64 packets no longer needs to grow for the lookout. I raised that separately with George.
Tests
server::hub::tests::a_follow_that_names_kinds_gets_only_thosetests/test_daemon.py::test_a_follow_that_names_kinds_gets_only_those: replay and live, plus the refusal-D warningsandcargo testpass.tests.test_lookout,tests.test_daemonand the served lookout, goal and resolve tests pass against release builds.