Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
126 commits
Select commit Hold shift + click to select a range
c356ea9
docs(plans): add the Proactive Aiden plan
sambitcreate Nov 22, 2026
38cd79e
fix(proactive): worktrees keep the workspace's approval settings
sambitcreate Nov 22, 2026
af1aa22
feat(proactive): C4 tasks made in a chat post into that chat (main)
sambitcreate Nov 22, 2026
c832672
feat(proactive): C1 keep the computer awake while Aiden works
sambitcreate Nov 22, 2026
6675403
Merge Fix + C1 (pa/w1)
sambitcreate Nov 22, 2026
0d7042e
feat(proactive): C2 chats that check back
sambitcreate Nov 22, 2026
4eaaa31
refactor(proactive): E1 shared event core keyed by owner, shared even…
sambitcreate Nov 22, 2026
8ed0ad3
feat(proactive): C4 posts-in UI: approval row, editor, composer chip,…
sambitcreate Nov 22, 2026
948e78b
Merge branch 'claude/proactive-aiden-plan-f98bae' into pa/w2
sambitcreate Nov 22, 2026
6def144
test(proactive): C4 cover chat-posting tasks: tool, store, delivery, …
sambitcreate Nov 22, 2026
aa56dfd
refactor(proactive): D1 extract the chat-run core from the MCP runner
sambitcreate Nov 22, 2026
f21ad64
Merge E1 + D1 refactors (pa/w1)
sambitcreate Nov 22, 2026
eccc40d
feat(proactive): C3 stay awake for a check-back or Bot wake-up due soon
sambitcreate Nov 22, 2026
72313fe
Merge C2 + C3 (pa/w2)
sambitcreate Nov 22, 2026
6a12aee
feat(proactive): A1 goal core, prompts and verdicts
sambitcreate Nov 22, 2026
b91175b
feat(proactive): C4 docs, memory and harness ports for chat-posting t…
sambitcreate Nov 22, 2026
b25d43a
Merge branch 'claude/proactive-aiden-plan-f98bae' into pa/w3
sambitcreate Nov 22, 2026
571e93a
feat(proactive): A2 goal reviewer
sambitcreate Nov 22, 2026
d231154
Merge branch 'claude/proactive-aiden-plan-f98bae' into pa/w1
sambitcreate Nov 22, 2026
9a47a0e
docs(proactive): C4 memory note for chat-posting tasks
sambitcreate Nov 22, 2026
2fbf87d
feat(proactive): C5 Scheduled Automations onboarding tile shows a cha…
sambitcreate Nov 22, 2026
b023a6f
Merge C4 + C5 (pa/w3)
sambitcreate Nov 22, 2026
6ffe73d
feat(proactive): D2 lineage, link store, internal chat audience and c…
sambitcreate Nov 22, 2026
2c513fa
fix(proactive): C4 review fixes
sambitcreate Nov 22, 2026
ac5f427
docs(memory): keep-awake and worktree approval settings notes
sambitcreate Nov 22, 2026
72f2203
feat(proactive): A3 keep-going goal loop, rounds and IPC (switched off)
sambitcreate Nov 22, 2026
6d6940e
fix(proactive): C1–C3 review fixes
sambitcreate Nov 22, 2026
a362aeb
Merge Phase 1 review fixes (pa/w3)
sambitcreate Nov 22, 2026
e39ce5e
feat(proactive): D3 child_chats starts and runs chats in the lead's w…
sambitcreate Nov 22, 2026
92b3567
fix(proactive): in-chat task runs never change the chat's model
sambitcreate Nov 22, 2026
42bc18d
feat(proactive): D4 started chats wake their lead when they finish, a…
sambitcreate Nov 22, 2026
ad26161
Merge branch 'claude/proactive-aiden-plan-f98bae' into pa/w2
sambitcreate Nov 22, 2026
0029163
feat(proactive): A4 desktop goal bar and /goal, loop switched on
sambitcreate Nov 22, 2026
254f1d0
Merge branch 'claude/proactive-aiden-plan-f98bae' into pa/w1
sambitcreate Nov 22, 2026
655ced6
feat(proactive): D5 started chats can run in new worktrees
sambitcreate Nov 22, 2026
7e367d0
fix(proactive): /goal works as a new chat's first message
sambitcreate Nov 22, 2026
c7af46d
feat(proactive): E2 watch triggers (desktop)
sambitcreate Nov 22, 2026
e797d6c
feat(proactive): D6 structured results from started chats
sambitcreate Nov 22, 2026
f61472d
feat(proactive): A5 goal rounds wait 30 minutes for approvals, run re…
sambitcreate Nov 22, 2026
7ce162c
feat(proactive): E3 link triggers on the Remote listener
sambitcreate Nov 22, 2026
cfee57c
feat(proactive): E4 Aiden can propose triggers
sambitcreate Nov 22, 2026
74098ad
feat(proactive): A5 /until becomes a goal checked by its command, and…
sambitcreate Nov 22, 2026
def9c58
feat(proactive): E5 failure pause and the 12-hour rule
sambitcreate Nov 22, 2026
67739b8
Merge Phase 4 E2–E5 + Phase 1 leftovers (pa/w3)
sambitcreate Nov 22, 2026
e975c88
fix(proactive): a trigger run skipped for a busy chat keeps what it c…
sambitcreate Nov 22, 2026
7c43345
test(cli): the server refuses trigger tasks and saves nothing
sambitcreate Nov 22, 2026
25f784a
feat(proactive): D7 started chats on the desktop: lead chip, lineage …
sambitcreate Nov 22, 2026
72070c5
feat(proactive): A9 goal rounds start in a focused window showing the…
sambitcreate Nov 22, 2026
1f34a1e
Merge Phase 5 D2–D7 (pa/w2)
sambitcreate Nov 22, 2026
082b6ad
feat(proactive): A8 propose_goal card with Start and Not now, and the…
sambitcreate Nov 22, 2026
c10dbc2
feat(proactive): E7 tasks that run when a connected app has news
sambitcreate Nov 22, 2026
5446e16
Merge Phase 4 E7 + held-batch fix (pa/w3)
sambitcreate Nov 22, 2026
bd5dbd4
fix(proactive): Phase 5 review fixes (D4–D7)
sambitcreate Nov 22, 2026
da5210d
Merge branch 'claude/proactive-aiden-plan-f98bae' into pa/w1
sambitcreate Nov 22, 2026
389f523
fix(proactive): keep the composer off the goal bar's UI imports so it…
sambitcreate Nov 22, 2026
51e5d51
Merge Phase 2 goals A1–A5, A8, A9 (pa/w1)
sambitcreate Nov 22, 2026
ea94735
fix(proactive): Phase 2 review fixes (A1–A3)
sambitcreate Nov 22, 2026
d841501
fix(proactive): Phase 4 review fixes (E2–E4)
sambitcreate Nov 22, 2026
bb8bad1
fix(proactive): Phase 5 review fixes (D2–D3)
sambitcreate Nov 22, 2026
093aa73
Merge branch 'claude/proactive-aiden-plan-f98bae' into pa/w2
sambitcreate Nov 22, 2026
e5a2410
test: check where a failed start's outcome is saved by behaviour
sambitcreate Nov 22, 2026
f8f6359
Merge Phase 5 review fixes (pa/w2)
sambitcreate Nov 22, 2026
18a228b
fix(proactive): Phase 4 review fixes (E5, E7, model)
sambitcreate Nov 22, 2026
196cb79
Merge Phase 4 review fixes (pa/w3)
sambitcreate Nov 22, 2026
111f3a7
fix(proactive): Phase 2 review fixes (A4, A5, A8, A9)
sambitcreate Nov 22, 2026
47cccd6
Merge Phase 2 review fixes (pa/w1)
sambitcreate Nov 22, 2026
b4d725c
fix(proactive): Phase 5 loop-closing fixes
sambitcreate Nov 22, 2026
68d1505
Merge Phase 5 loop-closing fixes (pa/w2)
sambitcreate Nov 22, 2026
b5f8018
fix(proactive): notices never count as the person's words
sambitcreate Nov 22, 2026
2f68727
Merge notice taint fix (pa/w2)
sambitcreate Nov 22, 2026
d758f1c
fix(proactive): Phase 2 loop-closing fixes
sambitcreate Nov 22, 2026
a456e64
Merge Phase 2 loop-closing fixes (pa/w1)
sambitcreate Nov 22, 2026
212029c
fix(proactive): Phase 4 loop-closing fixes
sambitcreate Nov 22, 2026
0483ed3
Merge Phase 4 loop-closing fixes (pa/w3)
sambitcreate Nov 22, 2026
ada0486
Merge origin/main into proactive integration
sambitcreate Nov 22, 2026
fe3378f
fix(proactive): keep a revealed task link inside its panel
sambitcreate Nov 22, 2026
067f7e0
fix(proactive): final integration review fixes
sambitcreate Nov 22, 2026
12f089b
Merge final review fixes, Phases 1-2 (pa/w1)
sambitcreate Nov 22, 2026
a267ecc
fix(proactive): final review fixes (notice routing, scheduled runs)
sambitcreate Nov 22, 2026
04a1988
Merge final review fixes, notice routing (pa/w2)
sambitcreate Nov 22, 2026
cd76dc2
fix(proactive): final review fixes (schema cost, notice taint)
sambitcreate Nov 22, 2026
7900479
Merge final review fixes, schema cost and notice taint (pa/w3)
sambitcreate Nov 22, 2026
3cbadc9
fix(proactive): scheduled runs count as Aiden-started
sambitcreate Nov 22, 2026
302a66f
Merge scheduled runs count as Aiden-started (pa/w1)
sambitcreate Nov 22, 2026
36459c4
docs(plans): proactive phases 1, 2, 4 and 5 built, in review
sambitcreate Nov 22, 2026
1eab1bc
Merge notice routing and scheduled-run fixes (pa/w2)
sambitcreate Nov 22, 2026
28948bf
test(proactive): drop duplicate import after merge
sambitcreate Nov 22, 2026
0e492fe
fix(proactive): bound result checks by value size
sambitcreate Nov 22, 2026
3783250
Merge bound result checks by value size (pa/w3)
sambitcreate Nov 22, 2026
538b3b7
fix(proactive): re-look after a notice round that didn't start
sambitcreate Nov 22, 2026
016c4d0
Merge goal re-look after notice round (pa/w1)
sambitcreate Nov 22, 2026
5dd7b90
fix(proactive): child taint and notice waits
sambitcreate Nov 22, 2026
7aa2e8a
Merge child taint and notice waits (pa/w2)
sambitcreate Nov 22, 2026
ba80508
fix(proactive): cost enum and required sizes in result schemas
sambitcreate Nov 22, 2026
0ac9a3f
Merge result schema enum/required cost (pa/w3)
sambitcreate Nov 22, 2026
8ffedf4
fix(proactive): child_chats taints only on a tainted chat's words; no…
sambitcreate Nov 22, 2026
837de02
Merge child_chats taint scope and long-run notice waits (pa/w1)
sambitcreate Nov 22, 2026
1d680c4
fix(proactive): compile result schemas without inlined refs, once
sambitcreate Nov 22, 2026
010c9cf
Merge result schema compile without inlined refs (pa/w3)
sambitcreate Nov 22, 2026
269b8fe
fix(proactive): compacted chats start clean; cap the long notice wait
sambitcreate Nov 22, 2026
3e7edac
Merge compacted chats start clean; long notice wait cap (pa/w1)
sambitcreate Nov 22, 2026
cbf119f
fix(proactive): refuse non-finite numbers in result schemas
sambitcreate Nov 22, 2026
33ac32d
fix(proactive): one long wait per stuck run; log failed records
sambitcreate Nov 22, 2026
ad732ab
Merge last minor fixes (pa/w3)
sambitcreate Nov 22, 2026
af842f6
Merge last minor fixes (pa/w1)
sambitcreate Nov 22, 2026
8f72a56
test(telegram): wait for the outbox write before removing the temp fo…
sambitcreate Nov 22, 2026
070c04d
fix(proactive): refused 415 and 413 link calls give back their place …
sambitcreate Nov 22, 2026
0a3f1b8
fix(proactive): a lead cannot stop a started chat the person took over
sambitcreate Nov 22, 2026
f1213be
fix(proactive): check-backs settle on the notice outcome and the off …
sambitcreate Nov 22, 2026
e9676e0
fix(proactive): keep trigger events on operational run failures and r…
sambitcreate Nov 22, 2026
43d592d
test(goal): set a goal once and press again only after a refusal
sambitcreate Nov 22, 2026
1ce39af
fix(proactive): refunds give back their own link admission; hold-agai…
sambitcreate Nov 22, 2026
08011a7
test(goal): hold the model's answer so the round is still running whe…
sambitcreate Nov 22, 2026
7e5c28c
fix(proactive): a requeue reported failed reads what was saved and ca…
sambitcreate Nov 22, 2026
7957927
fix(proactive): reconcile replays the run's own receipt beside any he…
sambitcreate Nov 22, 2026
8e82cf9
fix(proactive): a drop notice clears only once its card and log line …
sambitcreate Nov 22, 2026
c8d341e
fix(proactive): a drop card counts as shown only once saved, and its …
sambitcreate Nov 22, 2026
faccddf
fix(proactive): drop log keys live apart from the visible log and lea…
sambitcreate Nov 22, 2026
330cc2c
Merge origin/main into claude/proactive-aiden-plan-f98bae
sambitcreate Nov 23, 2026
b061473
Merge remote-tracking branch 'origin/main' into claude/proactive-aide…
sambitcreate Nov 23, 2026
dc5b2ad
iOS tests: the stale-page fence test waits for its held requests, not…
sambitcreate Nov 23, 2026
437dca9
Merge remote-tracking branch 'origin/main' into claude/proactive-aide…
sambitcreate Nov 23, 2026
9ecb553
fix(proactive): a Temporary Quick Chat keeps no lasting proactive sta…
sambitcreate Nov 23, 2026
3d7e78f
Merge remote-tracking branch 'origin/main' into claude/proactive-aide…
sambitcreate Nov 23, 2026
7f003e5
Merge remote-tracking branch 'origin/main' into claude/proactive-aide…
sambitcreate Nov 23, 2026
e621966
fix(cli): disable headless GPU probe and background throttling for se…
sambitcreate Nov 23, 2026
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
25 changes: 25 additions & 0 deletions .memory/chat-check-backs.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
# Chats that check back (Proactive Aiden C2) — 2026-11-22

Plan: `docs/plans/proactive-aiden-plan.md` Phase 1, C2. Guide: `docs/coding-follow-through.md#checking-back-later`.

## Layout
- `main/services/wake-up-time.ts`: shared time rules (`resolveWakeUpTime`, `localClockParts`, `WAKE_UP_TIME_LIMITS`, `WAKE_UP_INVALID_TIME_MESSAGE`). Bot `wake_up` (`bot-wake-ups/wake-ups.ts` `resolveBotWakeUpTime`) layers its once-cron DST check on top; check-backs use it directly (own timer, no cron).
- `renderer/shared/check-backs.ts`: tool name `check_back`, limits (1–1440 min, 3 per chat, 20 total, note ≤ 500, 2 h late window), `CheckBackView`, `checkBackWhen`/`checkBackClock`.
- `main/services/follow-through/check-backs.ts`: `CheckBacks` (pure, fake-timer testable). Records `{id, chatId, fireAt, note, setAt, setByTurnId, state: pending|claimed|fired|cancelled, endedAt}` in follow-through `state.json` under `checkBacks` (absent in older files). One timer for the soonest; `rearm()` on startup (`restore`), `resume`, `unlock-screen` (`main/index.ts`). Fire: save `claimed`, await `flush`, re-read `enabled()` (off → `cancelAll`), post via `noticeDelivery` (`source: "check_back"`, `wake: true`), then settle on the `AgentNoticeOutcome`: queued/woke/recorded → `fired`; `dropped` + `gone` → `cancelled`; other drops → back to `pending` with `attempts` + `retryAt` (now + 60 s; `dueAt = max(fireAt, retryAt)`), and the 3rd drop logs and leaves a record-only "Check-back not delivered (due …)" card (`fired`). `cancelAll` also cancels `claimed` records not yet handed to `post` (`posting` set). Late ≤ 2 h → late text; older or a `claimed` record at launch → record-only "Missed check-back (due …)" card (`wake: false`). Finished records pruned after a day. Sets serialised per chat; caps checked with no await between check and push.
- `check-back-tool.ts`: `set | list | cancel`; codes `invalid_time`, `invalid_note`, `too_many_pending`, `not_found`, `off`. Result `details.checkBack.fireAt` feeds the activity row ("Will check back at 3:10 PM" via `ACTION_VERBS` in `renderer/lib/agent-steps.ts`). The tool re-checks the turn refusal itself (defence in depth).
- Offered (`llm-client.ts`): not Bot/Assistant, has chatId and a workspace folder, `usageSource === "chat"`, not Telegram, `hostPlatformCapabilities().chatCheckBacks` (macOS, Linux). Declared every turn for cache stability, read-only workspaces included.

## Args-aware refusal (reused by later units)
- `chat-turn-tool-policy.ts`: `ChatTurnAudience.goalRound?`, `TURN_ARGS_REFUSAL_RULES` rows `{tool, turns, args, reason}`, `argIs(key, ...values)`, `aidenStartedTurn(turn)` (unattended || windowless || goalRound), `chatTurnArgsToolRefusal(turn, rules?)`. llm-client pushes it into `turnToolRefusals` (run through `firstTurnToolRefusal`). Add a rule by adding a row (A5: `subagent` write roles/background in goal rounds; B3: `subagent` background launches; D3: `child_chats start` in woken turns).
- Phone-sent turns are person turns (`remoteAudience`, not windowless) and may set one.

## Settings
- `chatCheckBacks` in `ScheduledTaskSettings` / `AppSettings` (omitted = on), row "Let chats check back later" in the "While you're away" group after "Background execution" (C1 adds Keep awake to the same group). Off → `chatCheckBacksChanged` dep of the scheduled-task application service → `checkBacks.cancelAll()`. Remote settings strip it (`remoteScheduledSettings`; OpenAPI has `additionalProperties: false`).

## UI
- Composer chip `CheckBackChip` in `follow-through-chips.tsx` (AlarmClock, "Checking back at 3:10 PM +N", popover with notes and optimistic Cancel → `chats:followThroughCancelCheckBack`). Notice card icon AlarmClock, label "Check-back".

## Not done here
- C3 (done): `dueSoonKeepAwakeInput` in `keep-awake/keep-awake-inputs.ts` holds for check-backs (`checkBacks.pendingAll()`) and Bot wake-ups (enabled `wakeUp` tasks with `nextRunAt`, cached in `keep-awake-main.ts` and refreshed on `bots:changed` / `schedule:updated` / resume) due within 60 min, only when `!powerMonitor.isOnBatteryPower()`. Reason kinds `check-back` / `wake-up`; >1 h overdue stops holding; while anything is due it rechecks every 5 min (Linux has no on-ac/on-battery events). Goal-round turns (A3) must set `goalRound` in the audience options. Phones list/cancel later (C7).

2026-11-23: a Temporary Quick Chat (`chat.ephemeral`) is not offered this until saved or attached; details in `chat-posting-tasks.md` (Temporary Quick Chats).
32 changes: 32 additions & 0 deletions .memory/chat-posting-tasks.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,32 @@
# Tasks made in a chat post into that chat — 2026-11-22

Proactive Aiden plan, Phase 1 unit C4 (docs/plans/proactive-aiden-plan.md). A scheduled task created by Aiden's `schedule_task` tool from a workspace chat keeps `originChatId` and every run lands in that chat.

Design decisions worth keeping:

- `originChatId` is main-owned. Only the schedule tool's create path sets it (`ScheduleToolAccess.standard.originChatId`, from `llm-client.ts` `scheduleOriginChatId`: not for Bot, Assistant-mode or owned chats). The IPC parser refuses the key, Remote's `exactKeys` refuses it, and `normalizeInput` always copies it from the existing task, so edits from the editor or a phone keep it. Bot routines never carry it.
- `post_in_chat` defaults to on when the task's workspace is the chat's workspace; `true` elsewhere is refused, `false` gives the task its own chat. It is refused on updates; moving out is **Use its own chat** (`schedule:use-own-chat`, revision-checked, `store.clearOriginChat`).
- The 15-minute floor (`assertChatTaskCadence`, gaps across the next 6 fires) is enforced in the tool and again in the store, so a later edit can't speed up a bound task.
- Bound tasks always have a project, and a project task can't have MCP servers (existing rule), so the run's policy is just the task's permission via `scheduledGenerationToolPolicy`.
- Core: `main/services/schedule-chat-delivery.ts` `createTaskRunChatDelivery(deps).deliverTaskRunToChat(task, {trigger, eventText?, signal})`. Outcomes: `ran`, `fell_back` (own chat), `skipped` with `chat_busy` / `chat_budget`. `eventText` is fenced as data under "What happened" for Phase 4 trigger runs; a `chat_budget` skip returns before anything runs, so a caller can keep its held batch.
- Budget: 6 task runs per chat per hour, in memory (`TaskRunBudget`), one budget card per hour; manual Run now is exempt. Separate from NoticeDelivery's 6 wakes an hour.
- Busy chat: `llmClient.waitForChatIdleWithin(chatId, 10 min)` (the plain `waitForChatIdle` only has a 5 s grace), then admission inside `noticeDelivery.inOrder(chatId, ...)`; a turn that grabs the chat at the last moment is waited out until the deadline. Still busy: record-only card plus a `chat_busy` run.
- Admission saves the prompt as a user message with `notice` (source `schedule`) and broadcasts `chats:follow-through-changed` with `transcript: true`, then generation runs in that chat. Script tasks hold no chat: their stdout lands as a record-only card (failure tone on error, nothing when silent).
- A missing chat clears the binding (`releaseOriginChat`) and falls back; a Bot, owned or other-workspace chat falls back without clearing. Deleting a chat calls `scheduleStore.releaseOriginChat(chatId)` from `chat-application-service` and broadcasts `schedule:updated`.
- Phones: the binding isn't projected; a skipped run still maps to `succeeded` with its summary text in the Remote run DTO (mapRun unchanged, no protocol revision).

UI: approval card **Posts in** row (`postsIn` on `ScheduledTaskApprovalDetails`, in the run-journal allowlist); editor **Posts in <chat>** field with **Use its own chat**; composer chip in `renderer/components/chat-task-chips.tsx` (kept out of follow-through-chips.tsx) linking to `/scheduled?task=<id>`; delete-chat dialogs name tasks that will move; a skipped run shows an info toast.

Onboarding (C5): the Scheduled Automations tile (`ScheduledAutomationsArt` in `onboarding-art/control-art.tsx`, `oa-schat-*` rules in `control-art.css`) now draws a workspace chat with the "Scheduled task" card, its answer, and the "Checking back at 3:10 PM" and task chips above the composer. The old `oa-sched-*` rules stay: Bot watches, routine models and Bot messaging art reuse them. Covered in `onboarding-feature-gallery.test.tsx`.

Tests: `schedule-chat-delivery.test.ts`, `schedule-tool.test.ts`, `schedule-store.test.ts`, `scheduled-tasks-parse.test.ts`, `scheduled-task-application-service.test.ts`, `schedule-execution-tool-policy.test.ts` (bound run), `aiden-remote-schedules.test.ts` (PATCH keeps the binding), `renderer/components/chat-task-chips.test.ts`, `scheduled-task-editor.test.tsx` (approval row). Lanes: `test:scheduled`, `test:assistant-automations`.

Open: native phone cards for `schedule` notices, phone display of skipped runs, screenshots.

## Follow-up (2026-11-22): the chat keeps its model

An in-chat task run answers on the task's model but never changes the chat's stored model. `admitTurnInChat` prepares the run with `keepChatModel` (`scheduledGenerationSurface` → `GenerationExecutionOptions.keepChatModel`), and llm-client's assistant, queued-guidance and initialization-terminal appends take their model fields from `generationModelMeta` (`main/services/chat-model-selection-meta.ts`), which gives none for such a run. The old after-the-fact `restoreChatModel` is gone (it raced the renderer and skipped chats with no stored model). Scheduled runs never open owed turns (`usageSource: "scheduled"`), so a message the person queues during the run is guidance in that run and also leaves the chat's model alone. Before admitting, delivery re-reads the task (`currentTask`), so choosing **Use its own chat** during the idle wait sends that run to the task's own chat. `screenedPromptAnswersPerson` (chat-turn-tool-policy.ts) is the extracted "queued turn answers the person" check. Tests: `chat-store-core.test.ts` (real store, chat with and without a stored model), `schedule-execution-tool-policy.test.ts`, `schedule-chat-delivery.test.ts`, `chat-turn-tool-policy.test.ts`.

## Temporary Quick Chats (2026-11-23)

After main brought in Floating Quick Chat (`chat.ephemeral === true`, swept at startup unless saved or attached), a Temporary chat gets no lasting proactive state. In `prepareGeneration` (`llm-client.ts`), `temporaryChat` keeps `scheduleOriginChatId` undefined, so a task made there gets its own chat. It also leaves out `check_back` and `propose_goal`, and passes `temporary` to `offersChildChats`. `goalChatRefusal` refuses ephemeral chats, which covers `/goal`, `/until`, phone sets and proposals. Saving or attaching deletes `ephemeral`, so the next turn's tool list gains the tools (one cache miss). Found by Pullfrog review 6016962955: the floating window renders only the live stream, with no goal, follow-through, started-chat or schedule cards.
Loading
Loading