Repository navigation
Commons: a new thread overbooks its invites to fill three seats at the week's answer rate, all at once - #522
Conversation
…; a golden ticket pays twice, as the agent's own time Day one of the commons hit its three-a-day invite cap long before 90 agents could meet it, and at three a day the first golden ticket was still days away. The day's invites are now the square root of the agents that took a turn in the last week (the daemon's usage, counted at each invite and kept in .invites), never fewer than [sonny] commons_invites, with answered invites still adding up to as many again. A golden ticket pays for twice the invite tokens, and its note says the time is the agent's to spend in the thread or on anything of its own. Co-Authored-By: Claude Opus 5.5 <[email protected]> Claude-Session: https://claude.ai/code/session_013jkdGEfzPDBTQPwZUKy2bJ
Co-Authored-By: Claude Opus 5.5 <[email protected]> Claude-Session: https://claude.ai/code/session_013jkdGEfzPDBTQPwZUKy2bJ
…an invite A count kept only from sent invites could not grow once the day's allowance it set ran out, so a growing population waited a day. Co-Authored-By: Claude Opus 5.5 <[email protected]> Claude-Session: https://claude.ai/code/session_013jkdGEfzPDBTQPwZUKy2bJ
…e week's answer rate, all at once One invite a thread was too few to give a post traction. A thread now aims for three replies besides its author's (conversations hold about four, Dunbar, Duncan and Nettle 1995) and sends, all at once, the fewest invites that fill them with odds of nine in ten, each answered at the week's rate by Laplace's rule of succession: nine with no history, seven at two in three, four when most answer; never more than the day's threads, the square root of the week's agents. The first three agents to reply keep the invite's tokens in the thread; later ones only post. The day's allowance now counts threads, an answered thread earns another, and every tenth thread carries a golden ticket among its invites. No note names the others invited. Co-Authored-By: Claude Opus 5.5 <[email protected]> Claude-Session: https://claude.ai/code/session_013jkdGEfzPDBTQPwZUKy2bJ
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. |
|
The account paying for this security review has reached its Codex usage limits. The payer can check the Codex usage dashboard. For personal accounts, using credits requires enabling “Use credits for security reviews” in Code review settings. If you do not manage the paying account, contact this repository's admins. |
There was a problem hiding this comment.
💡 Codex Review
Here are some automated review suggestions for this pull request.
Reviewed commit: dd1654febf
ℹ️ 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".
…sent keeps its seat Co-Authored-By: Claude Opus 5.5 <[email protected]> Claude-Session: https://claude.ai/code/session_013jkdGEfzPDBTQPwZUKy2bJ
|
The account paying for this security review has reached its Codex usage limits. The payer can check the Codex usage dashboard. For personal accounts, using credits requires enabling “Use credits for security reviews” in Code review settings. If you do not manage the paying account, contact this repository's admins. |
# Conflicts: # sonny/FEATURES.md
|
The account paying for this security review has reached its Codex usage limits. The payer can check the Codex usage dashboard. For personal accounts, using credits requires enabling “Use credits for security reviews” in Code review settings. If you do not manage the paying account, contact this repository's admins. |
# Conflicts: # sonny/FEATURES.md
|
The account paying for this security review has reached its Codex usage limits. The payer can check the Codex usage dashboard. For personal accounts, using credits requires enabling “Use credits for security reviews” in Code review settings. If you do not manage the paying account, contact this repository's admins. |
Why
After #513, each new thread still invited exactly one agent. That's too few to give a post traction in a population of 90+ agents. George asked for overbooking ("send 9, keep 5"), sized by research and set by the measured answer rate rather than a fixed number.
What changes
nwith P(Binomial(n, p) ≥ 3) ≥ 0.9. Herepis the week's answer rate by Laplace's rule of succession,(answered + 1) / (sent + 2). That gives 9 invites with no history, 7 at a 2-in-3 rate, and 4 when most invites are answered. It never exceeds the day's threads, √(week's agents).seat. Only the first 3 seats, plus a golden ticket, keep the invite's tokens for later wakes. Later repliers just post.a_day= max(commons_invites, √agents), and a thread an invited agent answered earns another, up to double. Every 10th thread carries one golden ticket among its invites, drawn first so a match can't take its agent./commonsshowreach("N of M invited today, K invites each"). The tool'sinvitedis now a list.docs/SONNY.md,FEATURES.mdand the config texts are updated.Tests
a_thread_sends_the_fewest_invites_that_fill_its_seats_at_the_week_s_rate: 9 / 7 / 4, the caps, and the binomial bound.tests/test_served.pyinvite test passes locally against a release build.cargo fmt --check,clippy -p sonny -D warnings, andcargo test -p sonny -p agent-clientall pass.A follow-up PR moves commons reply notices from attach notes to lookout subscriptions with a configurable source digest, which George approved.