Repository navigation
Conversation
These files were modified or added in the main working tree by other sessions before the stage 0-5 work began, and were not touched by it. They are committed separately so the following commits contain only the stage 0-5 changes where the files allow it. Not reviewed as part of this work; verify before merging. Co-Authored-By: Claude Opus 5.5 <[email protected]>
Carries the files of fix/voice-safety-step0 (0f7c01c, 339fb1c, 3632823, b07b6be) that were merged file-by-file into the working tree and not changed afterwards: approvals only through a human-answered confirmation (UserApproval proof), no voice-keyword task cancellation, lane fixes for how-to questions, and the verify-approval-boundary gate. The large WIP snapshot at the base of that branch (6a9ba14) is not included. Co-Authored-By: Claude Opus 5.5 <[email protected]>
Stage 1 - state separation
- Activity comes from events (confirmation, meeting, conversation, running
work), not from the Dock presentation.
- An utterance sent while a request is in flight is held and shown, not
dropped; the listening field gets it back.
- Voice generations: late finals after the microphone closed never send.
Stage 2 - "会話" (Genie conversation)
- Separate entry from one-shot "聞く"; fixed 5-minute session, warning 30 s
before the end, explicit extension up to 15 min; no inactivity expiry.
- Half-duplex turns via a pure ConversationLoop; one teardown for Esc, end
button, sleep/lock and microphone loss; background work is never cancelled.
- Work in progress is acknowledged as accepted only; reply drafts are not
read aloud; accepted work no longer blocks the next turn.
Stage 3 - audio
- Ready cue after the first real microphone frame; stop-speech separate from
ending the conversation; echo cancellation for conversation capture with
fallback. selfecho measurement is inconclusive on this Mac (output volume 6%).
Stage 4 - providers and Gemini Live
- ConversationProvider with declared capabilities; the current pipeline is
PipelineConversationProvider.
- GeminiLiveProvider behind explicit consent, the user's own key in the
Keychain (sent as a header), and a monthly minute limit; no silent fallback
to another paid provider. Live connection not yet verified (no key).
Stage 5 - follow-up instructions
- POST/GET /v1/tasks/:id/instructions; RECEIVED vs APPLIED (step) vs
NOT_APPLIED; applied before the next step's approval; 409 for finished
tasks. Contracts 0.47.0, migration task_instructions, Temporal signal
behind patched('task-instructions-v1'). Mac app routes "あと、…" to the
running task.
Weather and news
- info.lookup on the agent host (Open-Meteo, NHK, Google News) with a host
allowlist and privacy-egress gate; kind-specific Dock cards.
Some files here also contain other sessions' uncommitted edits that could not
be separated line by line (VoiceHUDState.swift, VoiceHUDView.swift, api.rs,
conversations.ts, SelfTest.swift, generated bindings and others).
verify-all.sh still fails on environment-only items (C ABI linker vs SDK 27,
golden/geometry baselines for this OS).
Co-Authored-By: Claude Opus 5.5 <[email protected]>
--selftest geminismoke connects with the user's own key only when Gemini Live is enabled with a key and a monthly limit, sends one text turn and expects setupComplete, audio and turnComplete. The privacy-egress gate allows this file only while it checks settings.active. Co-Authored-By: Claude Opus 5.5 <[email protected]>
xcrun returns the Command Line Tools macOS 27 SDK even when xcode-select points at Xcode, and its .tbd lists arm64e.x1, which the current linker rejects. Probe the default SDK first and fall back to Xcode's bundled SDK only when a trivial program cannot link. GENIE_MACOS_SDK overrides. The round trip itself is unchanged. Co-Authored-By: Claude Opus 5.5 <[email protected]>
ListeningDock took the held utterance in onAppear. DockContentMeasure builds the same view off-screen to measure the Dock, so onAppear ran on every measurement and the held utterance (and its "未送信" line) vanished right after it was held. The listening field is now prefilled from state (beginListening -> listeningPrefill); the view only reads it. dock8 05b, which takes a real window from listening, fails on the old code. Also: - voiceask waits for the recorded answer, not for requestInFlight, which now clears once the request is accepted. - dock8 reports the windows it actually saw when a capture fails. Co-Authored-By: Claude Opus 5.5 <[email protected]>
selfecho now measures the microphone peak during the control. When the process receives only silence (permission reported but no audio), it says so instead of blaming the speaker path. On this Mac the bare binary gets silence and the rebuilt app has no microphone grant yet, so the measurement needs the user to grant Genie microphone access. Co-Authored-By: Claude Opus 5.5 <[email protected]>
…rebuilds The user's weather question reached the gateway but waited forever for a host (PAUSED_HOST_OFFLINE): the local agent host had been signed in as the identity from the old desktop domain (com.astra.desktop), while the Mac app signs in with the identity in com.astra.mac. start-local-host.mjs now reads com.astra.mac first. Earlier checks passed only because they used the host's identity rather than the app's. Every ad-hoc rebuild also changed the cdhash, so macOS forgot the microphone and speech-recognition grants. build-macos-app.sh now signs with the local Apple Development identity when one exists (GENIE_SIGN_IDENTITY overrides; "-" keeps ad-hoc), so grants survive rebuilds. New end-to-end check before asking a person to try it: --selftest voicee2e <audio> [base] [--listen] injects a synthesized utterance where the microphone frames enter (RecordingRuntime .voiceInjection) and follows the production path with the app's identity: VAD, on-device STT, conversation, gateway, answer card, speech, next turn. --listen checks the one-shot input and reports its route without typing into another app (Dictation.dryRun). An on-device STT start failure is now recorded instead of only logged. Co-Authored-By: Claude Opus 5.5 <[email protected]>
voicee2e now puts the Dock on screen and, with --shots <dir>, captures the Dock window at listening, thinking, answer/speaking and listening again. Without this the check followed the logic but never looked at the screen. Co-Authored-By: Claude Opus 5.5 <[email protected]>
… screen "聞く" and "会話" both opened the microphone with different results: the one-shot input put the question into the frontmost app's field when there was one (the night-time weather question went into the terminal). Per the user's decision: - Genie is addressed only through "会話". The Home mic, the result's "ask" and the microphone practice start a conversation. - "聞く" becomes "音声入力": it inserts the text into the focused field and never sends it to Genie; with no field it points to "会話". - The meeting workspace mic keeps its ask behaviour (beginMeetingAsk). - In a conversation the answer card stays after it is read; the bar says what is happening (聞いています / 考えています / 読み上げ中) and speaking switches to the listening view. Verified with voicee2e --shots on screen, --listen (routes to the field, never sends), ConversationWiringTests, and the confirmation/permission tests extended to the conversation entry. Goldens 01b/04b/04c updated. Co-Authored-By: Claude Opus 5.5 <[email protected]>
…n work Implementation (each traced to a failure scenario): - A late failure from an earlier turn is no longer spoken as the current turn's answer; Work's refresh cannot follow a request that ask() is still following (duplicate approval cards). - Gemini Live always tears down and ends the conversation on disconnect or the monthly limit, even while a reply is pending; its non-audio notices are spoken locally. Mute stops the provider's microphone, and MicCapture removes a leftover tap before installing one. - A late reply no longer hides the listening view; a "working" reply in a conversation keeps the card and bar instead of collapsing to idle; closing the card during a conversation shows the listening view. - Voice request records are not restored as a running agent task at launch. - No conversation while recording (reason shown); the dictation mic is closed before a conversation starts. - Task instructions: a lost signal reply no longer marks NOT_APPLIED while the task runs; a resend re-signals and the workflow applies an instruction once; instructions are appended only to prompt arguments, never `message`. - Current-info classification needs a question/request form, excludes processing requests, strips leading time words from the place and looks up places in Japan first. UI (from the screenshot review): - The conversation bar has a hairline, says 聞いています / 考えています / 読み上げ中 with an accent dot while the mic is open, shows 残り m:ss, keeps the state near the end (warning tint only on the time) and says 5分延長. - One width (600) during a conversation so 会話を終了 stays put; the card's close button is hidden during a conversation. - 音声入力 uses a text-entry glyph with help text and a "前面のアプリに入力します" placeholder; clearer held-utterance note; 4-day weather says 降水 and every day carries its weekday. Verified: swift test 219, conversation/agent-host/task (DB + Temporal)/ gateway suites, voicee2e --shots on screen, dock8 (unrelated states pixel- identical), gates. Goldens 01b/04b/04c/05b/06e updated. Co-Authored-By: Claude Opus 5.5 <[email protected]>
A tenant without com.astra.general got "仕事を始められませんでした" for every ordinary question: tasks.create rejects the kind as "unknown task kind: plugin:...", which the notice mapping did not recognise. It now tells the user to add General Assistant. Also adds --selftest inputfocus (real key and click events into the Dock field and the Settings key field) and a second early listening shot in voicee2e. Co-Authored-By: Claude Opus 5.5 <[email protected]>
…answer by voice The conversation microphone requested AVAudioEngine voice processing. On this Mac that input returns pure silence (micprobe, as the app with the real microphone: quiet 0.046, speech 0.206, speech with voice processing 0.000), so nothing the user said was ever transcribed. The conversation mic no longer uses it; the loop is half-duplex, so Genie's voice is not captured. Per the user's request the conversation view is now a centred orb that reacts to the microphone level, with one state word and the session bar; no transcript and no answer text (the answer is spoken). Weather and news keep their cards as decided earlier. Dictation (音声入力) asks for Accessibility when pressed instead of later claiming there was no text field. New checks: --selftest micprobe, and voicee2e --mic (plays the utterance through the speaker and hears it with the real microphone, as the app) with --burst captures while listening. Real-mic run: heard 「明日の天気教えて」, sent 8.6 s, spoken 13.8 s, listening again 23.7 s; no blank frames. Co-Authored-By: Claude Opus 5.5 <[email protected]>
… words The user chose "shell only Liquid Glass" (a DS-04 exception) and "waveform + recognized text" while a conversation listens. - DockSurface: on macOS 26+ with Reduce Transparency off, glassEffect on the outer shell with a black 0.62 scrim for text. A tint alone measured luma 150-192/255 on light grounds (white text unreadable). With the scrim: light 60-79 / dark 21-31 / busy 55-66, and busy backgrounds blur instead of showing through. Otherwise flat black. - Conversation listening: remove ConversationOrbView; the listening surface gains an input-level waveform (last 14 levels, square-root display curve, measured with the real microphone). - Working view: "2/5 段" instead of a percentage that counted a running step as half. - Say "かしこまりました。" only when a task is accepted. - --selftest glassshots: the Dock over light/dark/busy backdrop windows, captured with what is behind it; before/after in compare/liquid-glass. - verify-ui-taste counts glassEffect as material (one reviewed entry). - surfacemotion names any extra window, and does not count a window from an Apple framework other than AppKit that draws no pixel (AutoFill's transparent SPRoundedWindow after the text field takes focus, ~1 in 10 runs). A real Genie window still fails (checked with Settings). - voiceask accepts ASTRA_SELFTEST_AGENT_EMAIL like aiaction, and prints what it saw when it fails. - task-dock goldens re-shot (light/dark). verify-all: all green except the shots golden for macOS 27.0.0, whose baselines the user chose not to record (run with the app identity via ASTRA_SELFTEST_AGENT_EMAIL). Co-Authored-By: Claude Opus 5.5 <[email protected]>
Seen on the real Mac (2026-09-28): the Dock showed Quick Actions while Genie still had the microphone running (CoreAudio IsRunningInput for this process), so the menu bar mic indicator stayed on with no way to stop it. - One rule where the Dock changes (GenieStateStore.applyDock -> VoiceHUDState.dockChanged): a conversation only continues on surfaces that show the conversation bar (listening/thinking/answer/info); otherwise it ends (.replaced). Dictation/meeting-ask mic closes when the Dock leaves the listening surface. Covers Dock click -> Quick Actions, "show controls" from the menu, the screenshot question, and late answers. - Late answers no longer replace the listening surface (the answer stays in `answer` and Work). - RecordingRuntime: a stale start no longer stops the newer capture after close-and-reopen (confirmed failing 2/2 with the old check). - Recording start closes voice listening first; starting dictation ends a conversation first; conversation does not reopen the mic while muted; Gemini clears its pending mic open on closeInput. - Esc on the thinking surface (leaveThinking); Quick Actions Esc also cancels listening. - Stop (止める) now cancels the backend task: genie-core api_cancel_task (POST /v1/tasks/:id/cancel), the meeting AI action cancels its wait, and the store ignores step/finish updates once a task is terminal, so a late success no longer turns "stopped" into ✓. The step reads 「取り消しました」. Stopping the voice and stopping a task stay separate operations. - Tests: TaskDockCancelTests (6). Selftests: micrelease (real mic, 12 paths) and aistop (real gateway: server=CANCELLED), both added to verify-macos-recording.sh. micrelease SKIPs there because the packaged com.astra.desktop has no microphone permission on this Mac; it passes on the com.astra.mac build. verify-all: green except the macOS 27.0.0 shots golden (baselines the user chose not to record). Co-Authored-By: Claude Opus 5.5 <[email protected]>
… icon From the design handoff "TaskDock — One Continuous Surface", stage 1: state. Voice and tasks are held separately and the Dock shows one surface computed by a pure function, instead of each caller writing setDock(.agent)/setDock(.result) over whatever was there. - Core/DockTaskBoard.swift: DockTask (rev, step name, status), DockTaskEvent, DockTaskBoard.apply (drops stale revs and events for finished tasks), DockComposer (own listening/submitting > confirmation > acknowledgement > requested surfaces > focused result > running tasks > idle; conversation re-listening never hides a card), DockResultPolicy (8 s, cancelled 3 s, failures kept; held on hover). - GenieStateStore keeps `requested`, the board, the focused result, the ack and hover, and recomposes. Several tasks can run; one result does not erase the others. Stop cancels one row. - Voice/text requests: a backend task becomes a row (stop = backend cancel), approvals show as 確認待ち, 「かしこまりました」 only after a task exists, a notice-only reply shows 「この依頼は実行できません」 with the reason, late results become a result card (open/copy), weather and news stay cards, following continues up to 30 minutes. - Result actions: copy copies the produced text, retry re-sends the same request (it used to copy the title / run a meeting action). - Explicit listening may come in front of a pending card and returns to it; the card keeps waiting (never auto-approved or rejected). - Journey JA hands the utterance over before starting the task (the old step relied on a task overwriting the listening surface). - Icon (the user's drawing): app icon from Resources/AppIcon.icns, menu bar template image, and the Dock idle mark. Tauri icons unchanged. Tests: ContinuousSurfaceTests (7), 234 total. verify-all: green except the macOS 27.0.0 shots golden (baselines the user chose not to record); micrelease skips in the gate (packaged app has no mic permission) and passes on the com.astra.mac build. Co-Authored-By: Claude Opus 5.5 <[email protected]>
From the handoff "Genie のアイコン・製品ページ・紹介映像を反映する" (part A): at 13pt (menu bar) and 12pt (Dock) the G swirl and the lid of the full mark collapse. GenieBrandMark.small (lamp and star, no G) is used automatically at heights <= 16pt; larger sizes keep the full mark. - Source: the handoff's genie-lamp-simple-mask.png, kept as Resources/GenieMark-small-source.png; embedded as a 96px template PNG (the handoff suggests going through SVG first; no SVG was provided). - BrandMarkTests: both marks decode as templates; 13/16pt use the simplified mark; menu bar size matches its aspect. - task-dock goldens: 01-idle light/dark re-shot (only those changed). - Not done: the layered macOS 26 .icon (Icon Composer is a GUI tool); the menu bar item could not be photographed on this Mac because the notch-crowded menu bar hides it (compare/continuous-surface/ marks-small.png shows the template tinted for light and dark). verify-all: green except the macOS 27.0.0 shots golden (baselines the user chose not to record). Co-Authored-By: Claude Opus 5.5 <[email protected]>
音声入力 recognised speech but never inserted it: the Dock made itself key when listening started, so the system-wide focused element was Genie's own field, which is excluded, and the user got 「文字を入れる欄が 見つかりませんでした」 while their app's field was focused. - Remember the frontmost app (not Genie) when 音声入力 starts and insert into that app's focused text element (AXUIElementCreateApplication), falling back to the system-wide focus. - 音声入力 no longer makes the Dock key (meeting-ask and conversation still do; they take text in the Dock). - --selftest dictationmic <audio> [--real] [--inject] [--dockkey]: starts 音声入力 through the real entry point and reports each surface; with a separate text-field app in front, the text arrived in that field (「明日の天気教えて」, 2/2), also when the Dock was key beforehand. verify-all: green except the macOS 27.0.0 shots golden (baselines the user chose not to record). Co-Authored-By: Claude Opus 5.5 <[email protected]>
The user asked whether 音声入力 should rewrite dictated text with AI (and turn it into a prompt when the target is an AI). Their choice: tidy only, on the Mac only, and offer 「元の文に戻す」 when something was removed. - The recognizer punctuates voice input (addsPunctuation; voice only, meeting transcription unchanged). - DictationCleanup removes only fillers that cannot mean anything else (えー・えっと・えーと・うーん…) at word starts; あの/その/まあ/ええ stay. - When something was removed, the Dock shows 「言い淀みを消して入れました · 元の文に戻す」 for 5 s; pressing it swaps the inserted text back in that field (if the field cannot be rewritten, it says to press ⌘Z). - The on-device model (FoundationModels) was measured and not adopted: it changed meaning (「追加してほしい」→「追加しました」), answered questions, and followed embedded instructions; with a character-diff guard, what passed did not help (compare/dictation-cleanup/ROUND.md). - voiceask accepts the acknowledgement/result surfaces that answers slower than 12 s now take (stage 1 behaviour). - Tests: DictationCleanupTests (3), 239 total. Real app: with a separate text-field app in front, the tidied text was typed in and 元の文に戻す restored the original; recognizer punctuation seen on injected audio. verify-all: green except the macOS 27.0.0 shots golden (baselines the user chose not to record). Co-Authored-By: Claude Opus 5.5 <[email protected]>
Transcription worked but nothing appeared in the visible app. The probe (--selftest axprobe, read-only) showed the front app (Terminal) focuses an AXTextArea whose value is not settable; 音声入力 only knew how to set AX values, so it gave up. Many web, chat and Electron editors behave the same way. - After an AX insert, read the value back and require the text to be there (a field may report success and ignore the change). - Otherwise, if the focused element takes text (text role, or it has a caret), type the text as Unicode key events to that app (CGEvent.keyboardSetUnicodeString, postToPid; bypasses IME conversion). 元の文に戻す for typed text sends backspaces for what was typed and types the original (only within the 5 s notice). - dictationmic --real now refuses to type unless the front app is the one named by --expect-front. While building this, a fixture failed to compile and the test typed into the user's real Terminal; the guard exists so that cannot happen again. - Tools/dictation-fixtures: fieldapp (settable field) and termapp (Terminal-like field that ignores AX writes). Both: the tidied text arrives, and 元の文に戻す restores the original. verify-all: green except the macOS 27.0.0 shots golden (baselines the user chose not to record). Co-Authored-By: Claude Opus 5.5 <[email protected]>
…looking 音声入力 now keeps the microphone open and inserts each phrase as soon as the recognizer finalises it (a pause), into the focused field of the app in front. If Genie's own window is in front, the phrase goes to the last other app the user was in (tracked from app activations). - Each phrase ends with 「。」 unless it already ends with punctuation, so consecutive phrases do not run together. - The listening Dock shows, per phrase, which app received it or why it could not be inserted, and 元の文に戻す for the last phrase when a filler was removed. - Stops on Esc / 音声入力 again, and after 30 s without speech (the microphone is never left open). - Every attempt is logged to ~/Library/Logs/Astra/dictation.log with app, field role, method and length (not the words) so a failure in a user's app can be diagnosed. - dictationmic: --segments, --genie-front. Two phrases with a 3 s pause arrived in order in a normal field (AX write), in a Terminal-like field (typed), and with Genie's window in front. verify-all: green except the macOS 27.0.0 shots golden (baselines the user chose not to record). Co-Authored-By: Claude Opus 5.5 <[email protected]>
In 音声入力 the Dock's ↑ button still sent the words to Genie as a question (the user got an unrelated 「回答」 card) and the Dock field kept text that had already been inserted. - In 音声入力, ↑ inserts any phrase not yet inserted, then presses Return only in the app that received text in this session, only if that app is in front and its focused element takes text; otherwise it says to press Return there. The microphone closes first so the same phrase is not inserted twice. - The Dock field mirrors only the current, not-yet-inserted phrase; ↑ stays available after phrases were inserted. - 「あぁ」 added to the fillers removed at word starts. - dictationmic re-checks before every insert/keypress that the test fixture is still in front and aborts otherwise. A run today did not: the front app changed to Chrome mid-test and the old send pressed Return there (no text field was focused). Not re-run in the real app after this change (the user was using the Mac); unit tests 240 pass, gates pass. Co-Authored-By: Claude Opus 5.5 <[email protected]>
Applies the user's patch "TaskDock 1b 形と動き" (patch-genie-app from ランディングページ全体改修案.zip), which was cut from c57f458; the VoiceHUDView diff contains only the patch's own changes. - New Components/GeniePresenceMark.swift: GeniePresenceMark (listening: outline follows input level; working: blue flows inside the mark; one stretch on call, one pulse on accept/complete; still otherwise) and DockFlowLine (a thin flow along the Dock's bottom edge while a task runs). Both stop under Reduce Motion and in --selftest. - Listening, Thinking and the Agent header use the mark instead of GenieOrb; waveform, progress bar and running step use the new presence colour. Success results add the mark before the checkmark. - Idle mark is text-coloured and still. - tokens: color.presence (#1C7FA8 / #48BCEC), animation.markStretchMs 220, markAckMs 320; GeneratedMetrics regenerated with pnpm gen:design-tokens. - dock8: return to idle after the held-utterance shot. Since stage 1, thinking outranks running tasks, so 06-agent had been capturing 「考えています…」; the goldens now show the working view again. - Confirmation, Home/Library purple and Dock sizes/timings unchanged. Round record: docs/ux-benchmark/compare/presence-mark/ROUND.md. Checks: build, swift test 240, UI-taste and other gates, dock8 light/ dark (16 goldens changed). Not run: verify-all and live motion on the real screen (the user was using the Mac); blind panel. Co-Authored-By: Claude Opus 5.5 <[email protected]>
Applies v2 of the user's patch (ランディングページ全体改修案.zip, patch-genie-app, "第2版:A〜F込み"), cut from the v1 commit. - A: VoiceTaskDockView draws one GeniePresenceMark outside the fading content; each Dock reserves its place with DockMarkSlot; stretch on idle→listening, pulse on accept and on success (store.dock changes). - B: the working view keeps task name, steps, stop and 作業画面; elapsed time, step count, progress bar, PLAN label, context and the 1 s timer are gone. - C/D: results read 「<種類>ができました / できませんでした / 止めました」, title, then where/why; failed or stopped task results add 「依頼は Work に残っています。」 (Facts.resultKept). - E: accent moves from purple to blue (#1C6FA0 / #3E95D0) across the app and the Windows metrics; white-text contrast is unchanged (3.25→3.27:1 dark, 5.62→5.48:1 light). - F: still forms under Reduce Motion and --selftest. - DESIGN.md §7 (from the patch) records the mark and colour roles. - Fixes while applying: the kept-in-Work text moved to UserFacingFacts; the result icon's hard-coded size 11 uses dockMetaSize (lint:type-literals). Checks: build, swift test 240, gates (UI taste, words, approval, egress, permission, type literals, conventions), dock8 light/dark with the mark position checked by eye; task-dock goldens re-shot. Not run: verify-all, --selftest geometry, blind panel, live motion; other golden sets (root, dark/, genie-rename/, notch-safe-area, outcome-workspace) not re-shot. Co-Authored-By: Claude Opus 5.5 <[email protected]>
… check - Working view: one step-based task keeps its steps; otherwise one row per running task (title, current step or 「確認待ち」, its own 止める). Voice/text request tasks used to show 「実行中」 with no steps and no stop. Header shows 「実行中 n件」. - Listening shows 「実行中 n件」 while tasks run; results show 「他 n 件 実行中」. - VoiceOver announces acknowledgement, rejection, results, entering the working view and confirmations (DockAnnouncer, unit-tested); listening, thinking and idle stay silent. - Removed the unused progress bar, elapsed time and context chips. - Listening outline uses the square root of the input level. - --selftest markmotion (GENIE_ANIMATE_IN_SELFTEST=1) captures the real Dock every 50 ms: listening 25/25, working mark 23/25, bottom flow 25/25 frames changed; idle 0/25 (no continuous drawing). Twice. - dock8 adds 06h/06i/06j (goldens added; existing Dock goldens unchanged to the pixel). - Preview: pass ASTRA_COMPUTER_STAGE_LOG to the host (default on) so a stopped background run records why (stage lines carry no screen content or typed text). Checks: swift test 241, gates, dock8 light/dark, node preview tests 19/19, verify-all green except the macOS 27.0.0 shots golden (the user's decision). Not measured: fps/idle CPU in Instruments, Reduce Motion/Transparency switched on for real, blind panel. Co-Authored-By: Claude Opus 5.5 <[email protected]>
A stopped background run only recorded the list position of the chosen window (alert-returned-1000-popup-5), so a wrong choice could not be told apart from the model giving up (planner_stopped). The helper now also records the chosen application's name (no window title or content). Co-Authored-By: Claude Opus 5.5 <[email protected]>
…rrupt, resume
Applies the user's pasted design ("Gemini native voice + device-side
audio control + async execution backend"), checked against Google's
documentation on 2026-09-29.
- Setup: automatic activity detection (silence 650 ms, prefix 200 ms,
END_SENSITIVITY_LOW), START_OF_ACTIVITY_INTERRUPTS, sessionResumption
(with a handle when resuming), contextWindowCompression slidingWindow,
delegate_task declared NON_BLOCKING, tool responses scheduled
WHEN_IDLE. No thinkingConfig / enableAffectiveDialog / proactivity /
languageCode (unit-tested).
- System instruction rewritten in Japanese: role, speaking style,
conversation rules, accuracy and execution.
- Answer audio plays as it arrives instead of after turnComplete;
speak() only waits for the queue to drain.
- interrupted clears playing and queued audio with a generation
counter; late chunks of the old generation are dropped.
- goAway / dropped connection resumes the same conversation with the
resume handle (up to 3 times); the mic is not sent until the new
setupComplete. Only without a handle does the conversation end.
- tools/gemini-fake/server.mjs + --selftest geminiresume (no real API,
no key, no cost): playback started 1.19 s before turnComplete, the
interrupt discarded 2 queued chunks, goAway resumed with handle h1
and the conversation continued, no forbidden settings.
- Privacy gate: the fake endpoint can only be set through
GeminiLiveProvider.forLocalFake (loopback only); the override is
private, and the gate now checks that (verified by breaking it).
Not done: full duplex (needs echo cancellation that worked on this
Mac; voice processing returned silence before), a real Gemini run (no
key in the Keychain yet), voice choice, latency measurements.
Round: docs/ux-benchmark/compare/gemini-live/ROUND.md.
Checks: swift test 243, gates, verify-all green except the macOS
27.0.0 shots golden (the user's decision).
Co-Authored-By: Claude Opus 5.5 <[email protected]>
- Buttons: height/padding (and the proceed fill) sat outside the label, so the background and the clickable area were only the text. Fixed on the result actions (開く・コピー looked cramped), both confirmation surfaces (the primary 送る looked big but only its text was clickable), the dictation-settings buttons and the meeting-note buttons. New scripts/lint-button-hit-area.mjs (in verify-all) finds the pattern: 0 now, 9 in the previous commit. - agent-host: when reporting a finished step failed transiently (the "fetch failed" right after a restart), the loop fell into its error path and reported the step as failed, turning a success into a failure. Reports are now retried on transient errors (up to 5, with backoff); a success that still cannot be reported is not converted into a failure (the lease expires and the cloud waits again). Work itself is not re-run. 3 new tests; host restarted on the new build and answered a real question (voiceask). - services/task verifier test: the fake queryAx parameter type now matches VerifierEnvironment under exactOptionalPropertyTypes; pnpm typecheck passes across the repo. - task-dock goldens: result shots re-shot (buttons at their real size); confirmation shots unchanged to the pixel. Checks: swift test 243, agent-host vitest 216, verifier 11, typecheck, gates, verify-all green except the macOS 27.0.0 shots golden (the user's decision). Co-Authored-By: Claude Opus 5.5 <[email protected]>
During a brief database outage the host logged 'initial profile could not finish' every 4 s with no reason. It now records the error, the failure count and the next retry, and waits 4 s doubling up to 5 min while failures continue (reset on success). Co-Authored-By: Claude Opus 5.5 <[email protected]>
Quick Actions (and the context shelf / expanded suggestions) could only be closed with Esc while the Dock held the key window. After clicking another app or taking a screenshot, focus moved away and Esc went to that app, so the menu stayed open (user report, 2026-09-29). - While one of these transient surfaces is shown, a global key monitor (Accessibility is granted) closes it on Esc; Esc still reaches the other app (not consumed). Removed as soon as the surface closes. - Opening Quick Actions by clicking makes the Dock key; leaving it hands the key back to the app that had it (conversation / meeting ask take the key again themselves; dictation does not). - --selftest quickesc [--other-app <fixture>]: click opens, Esc closes, key released; with the key moved to a fixture app, Esc still closes (fails with the monitor removed, passes with it, twice). Checks: swift test 243, gates, button hit area. verify-all not run (the user was using the Mac). Co-Authored-By: Claude Opus 5.5 <[email protected]>
…wice decideApproval read the approval, checked it was PENDING, then updated it without re-checking. Two decisions at the same moment (a double tap, or approve and reject together) both passed the check and both signalled the workflow. The update now requires status = PENDING and refuses with approval.already_decided when it changed nothing. A new test fires APPROVED and REJECTED together; it failed before the change and passes after (3/3). Co-Authored-By: Claude Opus 5.5 <[email protected]> Claude-Session: https://claude.ai/code/session_01Da8zskT4bTyi5Zru5H2hZY
…y-all run Co-Authored-By: Claude Opus 5.5 <[email protected]> Claude-Session: https://claude.ai/code/session_01Da8zskT4bTyi5Zru5H2hZY
… is not on PATH Checked a real read-only Codex review (codex-cli 0.166): it failed a hard-coded change and its write attempt was refused by the sandbox. Co-Authored-By: Claude Opus 5.5 <[email protected]> Claude-Session: https://claude.ai/code/session_01Da8zskT4bTyi5Zru5H2hZY
… each other's jobs Co-Authored-By: Claude Opus 5.5 <[email protected]> Claude-Session: https://claude.ai/code/session_01Da8zskT4bTyi5Zru5H2hZY
…r with Google Meet A mention like "明日15時から30分 打ち合わせ、Meet作って" is read with fixed wordings (no model), becomes a calendar.meeting task approved in the owner's 1:1 chat, and the Meet link goes back to the group once. The write permission (google-calendar-actions) can be granted from LINE through the reconnect page; the Mac app requests only that connection. Co-Authored-By: Claude Opus 5.5 <[email protected]> Claude-Session: https://claude.ai/code/session_01Da8zskT4bTyi5Zru5H2hZY
…fy-all run Co-Authored-By: Claude Opus 5.5 <[email protected]> Claude-Session: https://claude.ai/code/session_01Da8zskT4bTyi5Zru5H2hZY
…e listed addresses On a real phone the owner sent "明日15時から30分 打ち合わせ、Meet作って" in the 1:1 chat; it went to the model, which said a calendar connection was needed and stopped. - 1:1 messages are read with the same fixed meeting parser (an @genie prefix is ignored); the confirmation and the Meet link stay in that chat - email addresses in the request are shown on the approval card as 招待する人 and invitations are sent (sendUpdates=all) only then; otherwise still sendUpdates=none - the owner now gets the Meet link itself on completion, not "open the task list" - 「カレンダー連携して」 starts the calendar write permission flow Co-Authored-By: Claude Opus 5.5 <[email protected]> Claude-Session: https://claude.ai/code/session_01Da8zskT4bTyi5Zru5H2hZY
…y-all run Co-Authored-By: Claude Opus 5.5 <[email protected]> Claude-Session: https://claude.ai/code/session_01Da8zskT4bTyi5Zru5H2hZY
…calendar permission On a real phone (2026-11-05) "horio…@….comも招待して" right after a meeting was made went to the model, which wrongly said nothing had been created; and pressing 「予定を入れる」 before granting calendar permission failed the meeting. - "[email protected] も招待して" (1:1, or @genie in a group) is read with a fixed pattern and becomes calendar.invite on the last live meeting of that chat (that group only, from a group); the owner approves 「招待する」 in 1:1, then calendar.invite_attendees adds only new people with sendUpdates=all and returns the Meet link (to the group as well) - meetings now carry extendedProperties.private.genieMeetRequest; older ones are found by exact start/end/title and never guessed when several match - without calendar write permission no meeting task or confirmation is created; only the permission link is sent and the request is asked again - the pasted OAuth callback is picked out of surrounding text; https and other hosts are still refused; page wording no longer says it must start with http:// - full-width @ and letters in addresses are read Co-Authored-By: Claude Opus 5.5 <[email protected]> Claude-Session: https://claude.ai/code/session_01Da8zskT4bTyi5Zru5H2hZY
…rify-all run Co-Authored-By: Claude Opus 5.5 <[email protected]> Claude-Session: https://claude.ai/code/session_01Da8zskT4bTyi5Zru5H2hZY
From the virtual-browser design (P0 "LINE へ画面画像を送信", masking): - agent-host overlays dark boxes on password / card / security-code / one-time-code / PIN fields, card-provider iframes and Luhn-valid card numbers in text or values, captures, then removes the layer; a screen it cannot mask is not sent - after reading a page, and before asking the person to log in, the host leaves that masked screen with the gateway (POST /v1/browser-snapshots, only the host holding the browser.read_page step for the person's task; JPEG only) - the gateway keeps only the newest screen per person in memory for 30 minutes; LINE fetches it by a secret link (GET /v1/channels/snapshot/:token) that dies with the next one - 「画面を見せて」 in 1:1 answers with that image; the login request carries it too - outgoing LINE messages can carry an https image before the text - the local relay passes only the snapshot image path verify-all: VERIFY_ALL_PARTIAL, no reported failures (11 opt-in/TCC checks not run). Co-Authored-By: Claude Opus 5.5 <[email protected]> Claude-Session: https://claude.ai/code/session_01Da8zskT4bTyi5Zru5H2hZY
…fy-all run Co-Authored-By: Claude Opus 5.5 <[email protected]> Claude-Session: https://claude.ai/code/session_01Da8zskT4bTyi5Zru5H2hZY
- 「明日の15時に資料確認。1時間前に通知して」 now books one reminder 1 hour before 15:00 with the text 「資料確認(15:00から)」 (it used to fire at 15:00 with the lead phrase in the text). - A 1:1 meeting request with 「30分前に教えて」 no longer reads 30分 as the length or puts 「前に教えて」 in the title. When the meeting is in the calendar, Genie books the reminder (once, even if the milestone is pumped again) and says when it will tell the user. - ScheduleStore.addConfirmed / ScheduleService.remindBefore for reminders the user stated outright inside another request. Co-Authored-By: Claude Opus 5.5 <[email protected]> Claude-Session: https://claude.ai/code/session_01Da8zskT4bTyi5Zru5H2hZY
…-all run Co-Authored-By: Claude Opus 5.5 <[email protected]> Claude-Session: https://claude.ai/code/session_01Da8zskT4bTyi5Zru5H2hZY
Deadlines are kept apart from calendar events: an event has a time, a to-do has a day it must be done by. - 「金曜までに見積書を出す」「11/13までに請求書を送らないと」「やることに追加: 資料作成 来週水曜まで」 keep a to-do (new table todos, RLS) and book a reminder at 9:00 on the deadline day. Saying it again moves the deadline and rebooks the reminder instead of adding a second one. - 「やることは?」 lists open to-dos by deadline. 「見積書出した」 / 「やること 1 終わった」 close one and cancel its reminder. 「やること 2 を消して」 removes one. - Requests for Genie (「金曜までに調べてまとめて」), questions and 「これを…」 are left to the usual routing. - 「今の作業どうなってる?」/「止まっている仕事は?」 now put to-dos that are overdue, due today or due tomorrow among what needs the user. Co-Authored-By: Claude Opus 5.5 <[email protected]> Claude-Session: https://claude.ai/code/session_01Da8zskT4bTyi5Zru5H2hZY
…erify-all run Co-Authored-By: Claude Opus 5.5 <[email protected]> Claude-Session: https://claude.ai/code/session_01Da8zskT4bTyi5Zru5H2hZY
- 「やることは?」 showed only the undated TODOs: the personal list in service-understand read the phrase before the deadline to-dos did. The deadline to-dos are now read first, and the list puts dated items (earliest first, numbered) above the undated ones. - 「これを金曜までにやって」 / 「それ明日までにお願い」 become a to-do named after the user's previous message in the same conversation (within 30 minutes). If there is nothing to point at, Genie asks what it should be instead of inventing a name. Co-Authored-By: Claude Opus 5.5 <[email protected]> Claude-Session: https://claude.ai/code/session_01Da8zskT4bTyi5Zru5H2hZY
…g verify-all run Co-Authored-By: Claude Opus 5.5 <[email protected]> Claude-Session: https://claude.ai/code/session_01Da8zskT4bTyi5Zru5H2hZY
…全部入れて")
Genie Schedule Intelligence, first step: pick out candidates automatically,
register only what the user approves, and always keep the source line.
- extract.ts reads dated events ("来週水曜14時から15時に定例", "11/11(水) 14:00〜")
and deadlines ("金曜までに見積書提出") line by line. Questions, examples, times
with no day, and past dates are left out.
- Pasting minutes into LINE (first line 議事録 / 会議メモ …) or asking
"この中の予定と締切を拾って" lists numbered candidates and stores them in
schedule_candidates with the sentence each came from. Nothing is added yet.
- "2と3を入れて" / "全部入れて" adds the to-dos (with the 9:00 reminder on the
due day). A single event goes through the usual calendar confirmation;
several events are confirmed one at a time. "候補はいらない" drops the batch.
Answers count only for 24 hours.
- After a 1:1 call, the decisions and the user's next steps from the minutes
are checked the same way, and any candidates are proposed in the same chat.
Co-Authored-By: Claude Opus 5.5 <[email protected]>
Claude-Session: https://claude.ai/code/session_01Da8zskT4bTyi5Zru5H2hZY
…fy-all run Co-Authored-By: Claude Opus 5.5 <[email protected]> Claude-Session: https://claude.ai/code/session_01Da8zskT4bTyi5Zru5H2hZY
… copied Flex Message text cannot be selected in LINE, so structured answers could not be copied. Answers now go out as text messages (headings as 【】, bullets as ・ with indent, links as "name(URL)"), split at paragraph breaks into up to 4–5 messages. Cards (agenda, weather, places, approvals) are unchanged. Co-Authored-By: Claude Opus 5.5 <[email protected]> Claude-Session: https://claude.ai/code/session_01Da8zskT4bTyi5Zru5H2hZY
Co-Authored-By: Claude Opus 5.5 <[email protected]> Claude-Session: https://claude.ai/code/session_01Da8zskT4bTyi5Zru5H2hZY
…eds input or finishes - Claude Code: a Stop whose last_assistant_message asks the user (「〜ますか?」「選んでください」) becomes waiting_user(input) and is notified after a minute. The text is only classified, never kept. - A Stop after a turn the user asked for, or that changed files / ran tests, sends "作業を終えました(変更あり・テストは通っています…)" a minute later, unless the next prompt came first. Turns that only answered machine notices stay quiet; late tool events don't cancel the notice. - Codex rollouts: request_user_input (incl. _async) or a questioning last_agent_message → input wait; other task_complete → finished. Replays of records older than 5 min after a restart are quiet. Co-Authored-By: Claude Opus 5.5 <[email protected]> Claude-Session: https://claude.ai/code/session_01Da8zskT4bTyi5Zru5H2hZY
…fy-all run Co-Authored-By: Claude Opus 5.5 <[email protected]> Claude-Session: https://claude.ai/code/session_01Da8zskT4bTyi5Zru5H2hZY
…atabase
The opencode watcher's timer dropped a rejected tick ("timeout exceeded when
trying to connect") and Node ended the gateway on 2026-11-08. The agent
session watcher and the agent jobs runner had the same pattern. Each timer
now logs a tick_failed event and tries again on the next interval.
Co-Authored-By: Claude Opus 5.5 <[email protected]>
Claude-Session: https://claude.ai/code/session_01Da8zskT4bTyi5Zru5H2hZY
Co-Authored-By: Claude Opus 5.5 <[email protected]> Claude-Session: https://claude.ai/code/session_01Da8zskT4bTyi5Zru5H2hZY
…his Mac's Genie Asked for 2026-11-09: notices, questions and approval cards from Claude Code on a second computer should reach LINE too. - `claude-code-hooks.mjs remote --name X` prints a one-line command that works once within 10 minutes. On the other Mac it fetches an installer through the public tunnel, stores that computer's own key in its Keychain over `security -i`, and adds hooks to ~/.claude/settings.json (with .bak). `remote-revoke` takes the key back. - agent_connections.device names the computer. Notices read "Claude Code(genie・MacBook Air)が… MacBook Air のターミナルで…". - The relay passes only the three hook paths (with a Bearer key, up to 4 MB) and the one-time installer path. Key issuance, listing and jobs stay local. - Remote paths are never looked up in this Mac's git, and remote sessions do not become Genie jobs. Co-Authored-By: Claude Opus 5.5 <[email protected]> Claude-Session: https://claude.ai/code/session_01Da8zskT4bTyi5Zru5H2hZY
Co-Authored-By: Claude Opus 5.5 <[email protected]> Claude-Session: https://claude.ai/code/session_01Da8zskT4bTyi5Zru5H2hZY
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
41 commits from
feat/genie-stage0-5(2026-09-27 → 2026-10-03).CANCELLED(it used to becomeFAILEDafter a 5-minute timeout); device-model research no longer fails at the report step (the model was called inside a DB transaction).--allow-cloud, no fallback);scripts/memguard.pystops heavy verification before memory gets tight.Added after review request (2026-10-03)
3909fc2): questions that ask for a forecast/comparison get a follow-up search step on the subject found and a separate, sourced "見立て" section. Verified with Claude Code on the 10/4 毎日王冠 (entries, weights, 10-year trends).d21bd55): "~/…/報告.docx の売上を直して" writes a new copy "(Genie編集)" next to the original, never overwriting. Verified end to end through conversation; copies read back by python-docx, openpyxl, textutil and Quick Look.31ae8f3): trading hours, per-order value, trades per day, daily loss stop, holdings limit, no short selling; live trading always refused.Known decisions
990f475). The user chose to keep it;--selftest perfuses a 270 MB idle target only while glass is active, 180 MB otherwise.20261002020000_transaction_authorizations.sqladds two tables.Test plan
scripts/verify-all.shon the installed signed app with Codex, local and external translation, real STT, under the memory guard: no failures; 3 known not-run scopes accepted by the user (journey fps 46/50 on this machine,calendaraskAX tree). Log:docs/quality/evidence/2026-10-02-completion/memguard-gate/attempt-5-installed-codex.logpnpm test, agent-host, task, research with a disposable database), typecheckaiactionandaistop(terminalCANCELLED), research task completes🤖 Generated with Claude Code