Repository navigation
docs: the proactive gap and the hourly caps are per character - #2170
Merged
Merged
Conversation
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
The proactive gap and the hourly caps are per character. The code already works this way; the docs said "device-wide". Each pet window builds its own pacer and guardrails (
src/app/turn/wire-dispatcher.ts:253,256), and both stores resolve to per-preset keys (yui.proactive-pacer-gapatsrc/settings/settings-stores.ts:92,yui.guardrails, throughlocalStorageStore→resolvePresetKey,src/settings/persisted-store.ts:25-29).Owner decision (2026-11-27), from scenarios with two characters open:
The wait after a conversation counts per character. A user conversation with one character, or one character's own line, does not hold the others. In the unified chat, a message to everyone gives every character a turn, so each one waits; the others overhear the content anyway.
The hourly caps (
tier2_max24,urgent_max120) count per character.GLOSSARY.md§ Proactive gap: says it is the wait in one character's pet window, started by her turns only, and stored per character.docs/reference/configuration.md: the gap field is a per-character setting;tier2_maxandurgent_maxcount for each character.Related issues
Closes #2147
Part of #2142
Related decisions / docs
Touched docs:
GLOSSARY.md,docs/reference/configuration.md.Runtime evidence (required for UI / DOM / runtime behavior)
N/A: no runtime behaviour change (docs only, which now describe what the code does).
Merge danger
Door: two-way. Blast radius: none (docs).
Verification
pnpm buildpasses (includes tsc typecheck): docs onlypnpm testpasses: docs onlypnpm lintpasses (biome format + lint): docs onlycargo test/cargo clippypass (Rust changes): no Rust changepnpm docs:checkexit 0.Checklist (YUI principles)
docs/agent-guide/architecture/map.jscarries every module, part, and exchange this PR adds, removes, or changes (or none changed)