Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
39 commits
Select commit Hold shift + click to select a range
5689481
test: pin the trigger line for turns she starts
yw0nam Nov 27, 2026
ff08706
feat: the bubble names why she spoke on a turn she started
yw0nam Nov 27, 2026
ded4596
docs: client_context carries a do not disturb line, and pace.rest tak…
yw0nam Nov 27, 2026
56b6799
Merge Task C: the trigger line for turns she starts (#2113)
yw0nam Nov 27, 2026
58c70f5
test: Rest choices with an end, Focus, the Rest list, the tray and th…
yw0nam Nov 27, 2026
225b9c1
feat!: Rest gets an end, Focus joins it, and the backend is told whil…
yw0nam Nov 27, 2026
91a4b58
test: the off span names the backend line, pace.rest refuses tonight …
yw0nam Nov 27, 2026
c40fb1e
fix: a stored on/off flag is no Rest record and reads as off
yw0nam Nov 27, 2026
26f450c
docs: the logging convention lists rest_set in place of dnd_toggle
yw0nam Nov 27, 2026
ad6be9a
fix: the do not disturb line names an active-hours off span, as the g…
yw0nam Nov 27, 2026
ef21e5f
fix: pace.rest refuses tonight from 00:00 to 07:59, as the menu does
yw0nam Nov 27, 2026
1e3e568
fix: the tray sends its check only when it changes, and once more aft…
yw0nam Nov 27, 2026
aa9c6d3
fix: the Character menu measures Rest at its widest end times, 08:00 …
yw0nam Nov 27, 2026
d1450b2
refactor: one focus and running predicate, one minute constant, and t…
yw0nam Nov 27, 2026
844090e
Merge Task A: Rest with an end, Focus, and the do not disturb context…
yw0nam Nov 27, 2026
af21d4f
docs: client context carries waited members and a local signal stamp
yw0nam Nov 27, 2026
52fb922
test: cover the waited block, the local signal stamp, and the bundle …
yw0nam Nov 27, 2026
3095102
feat!: client context carries waited members and a local signal stamp
yw0nam Nov 27, 2026
d5625e1
test: self-started lines that cannot speak now wait in one ranked lis…
yw0nam Nov 27, 2026
7835992
docs: a waited turn names its open candidates and their past tense
yw0nam Nov 27, 2026
8aa0ef0
test: cover the open candidates block, the aged idle cue and the past…
yw0nam Nov 27, 2026
ab5f551
fix: say the waited candidates are open and keep their clauses true
yw0nam Nov 27, 2026
8050c2a
Merge #2166 Task F: what the backend and the bubble see for a waited …
yw0nam Nov 27, 2026
5b47782
feat!: self-started lines that cannot speak now wait in one ranked li…
yw0nam Nov 27, 2026
e5c766c
test: batched signals keep their batching window, and cancel leaves t…
yw0nam Nov 27, 2026
521fe34
feat: drained batched groups go out alone only on the edge into a fre…
yw0nam Nov 27, 2026
d607f9b
test: the chain cap holds across one release, a stop expires the on-a…
yw0nam Nov 27, 2026
40d32e6
fix: one release never takes the addressed chain past its cap, and a …
yw0nam Nov 27, 2026
5bedd46
test: failed and stopped turns return their signal groups, and a rest…
yw0nam Nov 27, 2026
2b5206d
fix: failed and stopped turns return their signal groups, and a fired…
yw0nam Nov 27, 2026
5b7d95c
refactor: the dispatcher's admission and release logic lives in core …
yw0nam Nov 27, 2026
2043ac4
Merge #2166 Task E: self-started lines wait in one ranked list and go…
yw0nam Nov 27, 2026
a6cb337
docs: yui.waiting lists what the character has not spoken to yet
yw0nam Nov 27, 2026
f8f7d85
test: cover yui.waiting's rows, read, peek and help block
yw0nam Nov 27, 2026
915f744
feat: yui.waiting lists and reads what the character has not spoken t…
yw0nam Nov 27, 2026
cf40fa4
fix: the yui_run lead stays inside Hermes's 80-character cut, and hel…
yw0nam Nov 27, 2026
17c4e9d
Merge #2166 F5: yui.waiting lists and reads what the character has no…
yw0nam Nov 27, 2026
e0382fd
docs: Rest's end and Focus, the trigger line and the waiting list in …
yw0nam Nov 27, 2026
9394fcd
Merge Task D: docs for Rest's end, Focus, the trigger line and the wa…
yw0nam Nov 27, 2026
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
17 changes: 13 additions & 4 deletions DESIGN.md

Large diffs are not rendered by default.

46 changes: 43 additions & 3 deletions GLOSSARY.md
Original file line number Diff line number Diff line change
Expand Up @@ -31,22 +31,54 @@ _Avoid_: request, exchange, interaction
The event that makes a turn a candidate — typed text, a voice segment, a physical poke, a schedule tick, another open character's reply naming this character through `address_character`. Carried as one of `user`, `schedule`, `proactive`, `signals`, `milestone`, `addressed`. Firing a trigger is not a decision to speak.
_Avoid_: intent, command, prompt

**Trigger headline**:
The one `trigger:` line of the client context that names what fired a turn. The backend reads it, so it is the words the backend sees.
_Avoid_: trigger line (for the bubble's line), headline

**Trigger line**:
The line in the bubble's quote slot that says why she spoke on a turn she started: a schedule cue's time and label, an idle cue's label, the first meeting, a screen switch, or another character's name. A waited turn adds `+N` for its other members and signal groups. The bubble draws it, and the reply after it is the backend's. A user turn quotes the user's message instead.
_Avoid_: reason, why line, trigger headline

**Handoff**:
An addressed turn whose sender passed the user's message on with `address_character` `handoff`; the receiver's trigger carries that message verbatim, and her reply answers the user.
_Avoid_: transfer, delegation, forward

**Guardrails**:
The gate a trigger passes before it becomes a turn: do-not-disturb, debounce, rate limit. It answers whether to _bother_ the brain, never what the brain should say.
The gate a trigger passes on arrival and before it takes a turn's slot: a debounce, then the rate limit. It answers whether to _bother_ the brain, never what the brain should say. A candidate that do-not-disturb or the proactive gap holds waits in the waiting list instead.
_Avoid_: filter, policy, throttle

**Do-not-disturb**:
The device-wide switch, set from the Character menu's Rest item or from the tray's Do Not Disturb item, that holds every self-fired trigger in every pet window: idle and schedule cues, screen watch, the once-a-day milestone, Thread reactions a count or a wait starts, the dropped cue of a fall she started herself, and signals, urgent ones included. Idle cues, screen watch and the once-a-day milestone are dropped, not delivered later, and the milestone's day is used up. A schedule cue fires late if it is still within 120 minutes of its time that day. A count or wait reaction waits until it is off. Held signals go out as catch-up turns, at most the 5 newest groups per buffer. User input, gestures and addressed turns still pass. A Threads-chip tap still starts its reaction, and the chips stay on screen without wiggle or pulse. A backend-started push turn is never held. An `off` span of a character's active hours holds the same triggers in that character's pet window only.
The device-wide hold a running Rest or Focus sets, started from the Character menu's Rest list or the tray's Do Not Disturb item, that holds every self-fired trigger in every pet window: idle and schedule cues, screen watch, the once-a-day milestone, Thread reactions a count or a wait starts, the dropped cue of a fall she started herself, and signals, urgent ones included. Held idle cues, screen watch, the once-a-day milestone and schedule cues wait in the dispatcher's waiting list and go out together once it is off, unless they expired first; a user message carries the ones that do not expire on user activity. A count or wait reaction waits until it is off. Held signals stay in their buffers, at most the 5 newest groups per buffer. User input, gestures and addressed turns still pass. A Threads-chip tap still starts its reaction, and the chips stay on screen without wiggle or pulse. A backend-started push turn is never held. An Active hours `off` span holds the same triggers in that character's pet window only, and is shown as Quiet.
_Avoid_: quiet mode, mute

**Rest**:
The hold on her own turns that a user starts from the Character menu's Rest list or the tray's Do Not Disturb item. It runs one Rest choice until that choice ends, until End now stops it, or until the user turns it off. While it runs, do-not-disturb holds her, and the status pill and the Rest pill show its end. Stored under `yui.dnd`.
_Avoid_: snooze, pause, break

**Rest choice**:
One of six choices a Rest starts: For 1 hour, Until tonight (00:00), Until tomorrow morning (08:00), Until I turn it off, and the two Focus choices. Until tonight is not offered from 00:00 to 07:59. The end of a choice is set when it starts.
_Avoid_: mode, option, setting

**Focus**:
A Rest choice of 25 or 50 minutes. It holds her own turns for that long, and the Rest pill and the status pill count its minutes left. Focus is not keyboard focus, which is the window or control that takes typed input.
_Avoid_: focus mode, pomodoro, session

**Waiting list**:
The dispatcher's one ranked list of self-started candidates that cannot speak now, because do-not-disturb, the proactive gap, absence, a running turn or the rate limit holds them. Entries rank by class (now, scheduled, room), then by age, and at most 10 wait. Each expires by its own rule: a first meeting or addressed line at the end of its day, a schedule cue after its grace window, an idle or screen reaction on the user's next activity. At a free slot the admissible entries go out together. Signal groups wait in their own buffers, not in this list.
_Avoid_: queue, backlog, pending list

**Waited turn**:
The turn a free slot sends for several waiting entries (the bundle): its trigger is the top-ranked entry, and the others ride with it as waited items, with the buffered signal groups. When the user speaks first, the entries that do not expire on activity ride on the user's turn. A waited turn counts once against the rate limit.
_Avoid_: batch, catch-up turn

**Active hours**:
A character's list of spans. Each span has a start time, an end time and a pace: More, Normal, Less or Off (stored `high`, `normal`, `low` or `off`). In a pet window, a span's pace multiplies the base pace, and the product scales both the proactive gap and the idle cue minutes: More halves it and Less triples it, while Normal and Off leave the span out of it. Off holds the same triggers as do-not-disturb, in that pet window only. An hour no span covers is Normal. A span whose end is before its start runs past midnight, and equal start and end cover the whole day. Where spans overlap, the span that started most recently before the minute wins; on a tie, the later span in the list wins. The card's `extensions.yui.active_hours` is the default, and the Persona page edits the spans per character.
_Avoid_: band, level, schedule, quiet hours

**Quiet**:
The label the status pill and the Rest pill show while an Active hours `off` span covers the current time, with its end: "Quiet · until 12:00" in the pill, "Quiet · 12:00" on the Rest pill. The span holds her own turns as a Rest does, but it is not a Rest: the Rest list does not end it, and it ends with the span. "Quiet hours" and "quiet mode" are not terms; name the span by its Active hours entry.
_Avoid_: quiet hours, quiet mode, Rest (for a span)

**Base pace**:
The device-wide pace (Less, Normal or More; stored `low`, `normal` or `high`, default Normal) set by "How often she speaks up" at the top of the Proactive page. Every pet window multiplies it by its character's span pace, so it scales the proactive gap and the idle cue minutes the same way a span does.

Expand Down Expand Up @@ -193,6 +225,10 @@ _Avoid_: prompt, approval dialog
A floating piece of chrome the character speaks or listens through (speech bubble, status pill, text input) that appears only when it has something to show, then recedes.
_Avoid_: widget, overlay, panel

**Status pill**:
The pill at the top of the character window that shows the capture, voice input, backend tool and Rest tells. Its Rest segment reads "Resting · until 08:00", "Resting" with no end, "Focus · 18 min left" or "Quiet · until 12:00".
_Avoid_: status bar, tell bar

**Unified chat window**:
The window `unified` that shows every open preset's lines one at a time in one dialogue box and routes the user's typed and spoken messages to the open presets. It shows while the Unified chat switch is on, two or more presets are open and a window can exist; while it shows it is the only chat path: no pet window shows its own bubble or input for chat, and every separate message window is hidden. Its own × turns the switch off.
_Avoid_: group chat, merged chat, lobby, multi chat
Expand All @@ -206,13 +242,17 @@ The unified chat window's chip for one open preset in its head row, the recipien
_Avoid_: avatar pill, presence badge, recipient chip

**Character menu**:
The pill menu around her, opened by a right-click on her in the pet window and drawn in the Character menu window: two columns of pills beside her, where a Body, Voice, Pace or More pill replaces its column in place with its own list.
The pill menu around her, opened by a right-click on her in the pet window and drawn in the Character menu window: two columns of pills beside her, where a Rest, Body, Voice, Pace or More pill replaces its column in place with its own list; Rest's list takes the right column, and while a Rest or Focus runs it opens with a status row.
_Avoid_: context menu, radial menu, pie menu, ring menu

**Character menu window**:
The app's one window `character-menu`, created hidden at main's boot. When the Character menu opens, it is shown with keyboard focus beside the right-clicked character, lets clicks outside its pills through, and is hidden on close.
_Avoid_: menu overlay, popup window

**Status row**:
The first row of the Rest list while a Rest or Focus runs, before End now: it names the running choice and its end, as "Resting until 08:00", "Resting", or "Focus · 18 min left". It is not a button, and the keyboard passes it by. Distinct from the Status pill, which sits at the top of the character window.
_Avoid_: status pill (for the list row), header

**Settings stage**:
The stage area on the left of the settings window. The character comes along onto it and is attached to the window as a native child. It holds her name, her state and a caption of what she is doing.
_Avoid_: stage window, stage panel, dock
Expand Down
3 changes: 1 addition & 2 deletions configs/screen.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
{
"prev_dwell_ms": 600000,
"settle_ms": 90000,
"long_session_ms": 2700000,
"recent_cap": 5
"long_session_ms": 2700000
}
Loading
Loading