Skip to content

docs: the proactive gap and the hourly caps are per character - #2170

Merged
yw0nam merged 1 commit into
mainfrom
docs/2147-per-character-gap
Nov 27, 2026
Merged

yw0nam merged 1 commit into
mainfrom
docs/2147-per-character-gap

Conversation

@yw0nam

@yw0nam yw0nam commented Nov 27, 2026

Copy link
Copy Markdown
Owner

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-gap at src/settings/settings-stores.ts:92, yui.guardrails, through localStorageStore → 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_max 24, urgent_max 120) 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_max and urgent_max count 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 build passes (includes tsc typecheck): docs only
  • pnpm test passes: docs only
  • pnpm lint passes (biome format + lint): docs only
  • cargo test / cargo clippy pass (Rust changes): no Rust change
  • Runtime evidence attached above, or N/A justified

pnpm docs:check exit 0.

Checklist (YUI principles)

  • docs/agent-guide/architecture/map.js carries every module, part, and exchange this PR adds, removes, or changes (or none changed)
  • No unverified assumptions (docs first; web/context7 cross-check)

@yw0nam
yw0nam merged commit 86446b7 into main Nov 27, 2026
12 checks passed
@yw0nam
yw0nam deleted the docs/2147-per-character-gap branch November 27, 2026 14:34
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Proactive gap and hourly limits: device-wide or per character

1 participant