Skip to content

Scope and recurrence guards for pet-window resizes and several open characters #2143

Done

Description

@yw0nam

Question

Which defects does each area fix, and what guard stops each kind from coming back? (Settled while charting the map.)

Activity

  1. yw0nam commented on Nov 26, 2026

    @yw0nam
    OwnerAuthor

    Resolution (owner, 2026-11-26)

    Pet-window size changes

    • Guard: one module owns every change of the pet window's size. Any other direct size write fails a check (lint or test). Today the Character menu, Ctrl+wheel resize, the settings-stage dock and the boot restore of a saved size each write the size themselves. A move without a resize is fine: the whole frame moves with the window.
    • Nothing is fixed before the measurement ticket reports; the menu's way (its own overlay window, or growing to the right only) and the Ctrl+wheel answer are decided from its numbers.

    Several characters open

    • Fix now, as small standalone changes: the delegation history kept under one device-wide key that every pet window overwrites (yui.delegation_history); user turns sent from the unified chat window never re-anchor the idle check-in clock (proactiveSource.noteInteraction is called only on a pet window's own submit and on voice).
    • Duplicate schedule greetings and first-activity greetings (device-wide "fired today" marks loaded once per window, every pet window running its own sources) are fixed by the admission point of the proactive redesign, which owns the fired marks (D-38, D-71); fixing the sources first would be thrown away. Recorded on that map as a requirement.
    • Device-wide cues (schedule greetings, idle check-ins, the first-activity greeting) go to the main character only, until per-character lists exist (out of scope here).
    • Also in scope: the tray's Show / Hide acting on the main window only; window_drop_release reaching every pet window. Whether the proactive gap and the hourly limits are device-wide or per character is its own ticket.
    • Guards: a storage-key registry (every localStorage key is declared device-wide or per character; an undeclared key fails a test) and a two-window test of device-wide sources (one fire across windows, no overwrite of another window's record).
  2. added
    wayfinder:grilling
    on Nov 26, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    wayfinder:grilling

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions