diff --git a/apps/app/src/assistant/transcript.tsx b/apps/app/src/assistant/transcript.tsx index d7e6ef6162..6268b3cd57 100644 --- a/apps/app/src/assistant/transcript.tsx +++ b/apps/app/src/assistant/transcript.tsx @@ -13,7 +13,7 @@ import { useMachine as useConversation } from "../../gen/app__assistant.react.ts import { loading as pageLoading, sendResumesFollowing } from "../../gen/app__assistant__chats.ts"; import { useMachine as useChats } from "../../gen/app__assistant__chats.react.ts"; import { useMachine as useCards } from "../../gen/app__assistant__cards.react.ts"; -import { offerShown, reviewCardAnchor, reviewShown } from "../../gen/app__assistant__cards.ts"; +import { draftDrawnAtFoot, offerShown, reviewCardAnchor, reviewShown } from "../../gen/app__assistant__cards.ts"; import { type Composer as Writing, type Event as ComposerEvent, Machine as ComposerMachine } from "../../gen/app__assistant__composer.effect.vibe"; import { enabled as composerAllows, textLimit } from "../../gen/app__assistant__composer.ts"; import { useMachine as useComposer } from "../../gen/app__assistant__composer.react.ts"; @@ -461,7 +461,7 @@ export const LiveTranscript = memo(function LiveTranscript({ runtime, messageAct return [...(offer ? [row] : []), ...anchoredMedia, ...chips.map(receipt), ...emailCards, ...(row.id === endedUnder ? calendarCard : [])]; }); const unplacedMediaCards = activeMedia.filter(({ card }) => mediaAnchors.get(card.id) === undefined).map(mediaRow); - const unplacedEmailDrafts = emailOffers.filter((item) => emailAnchors.get(item.id) === undefined && item.status === "pending").map(emailRow); + const unplacedEmailDrafts = emailOffers.filter((item) => draftDrawnAtFoot(item.status === "pending", emailAnchors.get(item.id) !== undefined)).map(emailRow); const offer = seen.recordingSummary; const recordingSummary = offer !== undefined && !talking.context.sensitive && offer.conversation === shown.chosen && lines.some((line) => !line.mine && line.id === offer.message) diff --git a/apps/app/test/reminders.test.tsx b/apps/app/test/reminders.test.tsx index 481024273d..e6ca712551 100644 --- a/apps/app/test/reminders.test.tsx +++ b/apps/app/test/reminders.test.tsx @@ -633,9 +633,12 @@ describe("Reminders full journeys", () => { await later(alpha, 10 * 60_000 + 1_000); await until(alpha, runtime, AlertsMachine.Machine, (s) => s.bannerId > 0); await press("Complete"); - await until(alpha, runtime, AlertsMachine.Machine, (s) => s.bannerId === 0 && s.entries.every((entry) => entry.attempt.outcome !== "Sent")); + await until(alpha, runtime, AlertsMachine.Machine, (s) => s.bannerId === 0 + && s.entries.every((entry) => entry.attempt.outcome !== "Sent") + && recorder.snapshot.items.some((row) => row.id === item!.id && row.completed)); expect(storeView().snapshot.items.find((i) => i.id === item!.id)?.completed).toBe(true); - expect(recorder.calls.some((c) => c.method === "POST" && c.path.endsWith("/complete") && c.body.item !== undefined)).toBe(true); + expect(recorder.calls.filter((call) => call.method === "POST" && call.path === `/api/alpha/reminders/items/${item!.id}/complete`)) + .toMatchObject([{ body: { item: { id: item!.id, completed: true } } }]); // spec/app/reminders/index.md, "Refreshing fetches under the next ticket, only the newest answer settles, and a change from chat refreshes once free" const chatItem: ReminderItemRecord = { diff --git a/packages/ui/test/map.browser.test.tsx b/packages/ui/test/map.browser.test.tsx index b2ca1dd9ae..2f73cce07e 100644 --- a/packages/ui/test/map.browser.test.tsx +++ b/packages/ui/test/map.browser.test.tsx @@ -123,7 +123,12 @@ describe('Moving map (spec/app/maps/credits.md, "By the owner\'s choice, the map ahead: { frames: 20, limit: 8, ring: 1, tile: (z, x, y) => { asked.push({ z, x, y }); } }, }, ({ zoom }) => { settledZoom = zoom; }); await expect.poll(async () => (await shares(host)).sharp, { timeout: 10_000 }).toBeGreaterThan(0.95); - await expect.poll(() => asked.length, { timeout: 10_000 }).toBeGreaterThan(0); + let restingAsked = -1; + await expect.poll(() => { + const steady = asked.length > 0 && asked.length === restingAsked; + restingAsked = asked.length; + return steady; + }, { timeout: 10_000, interval: 250 }).toBe(true); const ring = asked.splice(0); const columns = (tiles: ReadonlyArray<{ x: number }>) => [...new Set(tiles.map((one) => one.x))].sort((a, b) => a - b); const startColumn = 2 ** sharpZoom / 2; diff --git a/spec/app/assistant/cards.md b/spec/app/assistant/cards.md index 33115fcf0d..9f2dba2167 100644 --- a/spec/app/assistant/cards.md +++ b/spec/app/assistant/cards.md @@ -101,6 +101,12 @@ pure def reviewCardAnchor(offerReplyDrawn: bool, requestDrawn: bool, requestRepl pure def lawADrawnTurnAlwaysAnchorsItsReviewCard(offerReplyDrawn: bool, requestDrawn: bool, requestReplyDrawn: bool): bool = (offerReplyDrawn or requestDrawn) implies reviewCardAnchor(offerReplyDrawn, requestDrawn, requestReplyDrawn) != TranscriptFoot + +pure def draftDrawnAtFoot(pending: bool, anchored: bool): bool = pending and not(anchored) + +pure def lawASettledDraftIsNeverDrawnAtTheFoot(anchored: bool): bool = not(draftDrawnAtFoot(false, anchored)) + +pure def lawAnAnchoredDraftIsNeverDrawnAtTheFoot(pending: bool): bool = not(draftDrawnAtFoot(pending, true)) ``` ### At most one pending open-page review waits in a conversation, and asking for the same page again keeps its card diff --git a/spec/app/image/index.md b/spec/app/image/index.md index 54c8b06cd0..b719d37f2f 100644 --- a/spec/app/image/index.md +++ b/spec/app/image/index.md @@ -220,9 +220,10 @@ pure def lawTheFirstBootGrantsFitAndroidsLimit(named: List[str]): bool = ### Every access the startup walkthrough offers is one the image grants Each is a first-boot grant, but all-files access, which Android grants a -preinstalled app that asks for it. Location and notifications are switched -on by Android's own defaults. A walkthrough step added without a grant -fails this rule. +preinstalled app that asks for it. The phone's own location setting and +notifications are on by Android's defaults; the image grants Alpha's +permission to use each. A walkthrough step added without a grant fails this +rule. ```quint import steps as Steps from "../startup/steps" diff --git a/spec/lock.json b/spec/lock.json index 5f6f804cb1..eca644dedc 100644 --- a/spec/lock.json +++ b/spec/lock.json @@ -1782,7 +1782,7 @@ }, "spec/app/account/provider.md": { "@document": [ - "505c6444710a" + "1c5408be20de" ], "## Story: See where my requests go": [ "d1d117e30806" @@ -2225,13 +2225,18 @@ "199819126c40" ], "## Story: Use Alpha before signing in": [ - "d1b1891e83d2" + "155332063113" ], "Story: Use Alpha before signing in / Alpha asks for a sign-in only when the phone has said none is saved and neither the owner's own key nor on-device AI is in use": [ "cd4ccdc0fc12", "33d9ecd58674", "199819126c40" ], + "Story: Use Alpha before signing in / Signed in to an account whose plan allows AI, a language model or voice the owner never chose runs on Alpha Cloud, and one the owner chose stays where they put it": [ + "a1865677f122", + "2c85b7f4d458", + "0831218fdeed" + ], "## Story: Keep my sign-in across a restart": [ "83741127cc93" ], @@ -2340,7 +2345,7 @@ "e21c815752fb" ], "Story: Sign in when Alpha needs it / Saving the owner's own key, or continuing without an account, ends a required sign-in, and drops any code on screen": [ - "d7bf3642ebb6", + "d57e02f037f4", "70a0872cd1d7", "ed925390c3f5" ], @@ -3402,8 +3407,8 @@ "cd8848d391cd" ], "Story: Keep a summary / A pending phone-step review card stays anchored to the turn that offered it": [ - "f22b53f435d5", - "4fce76ac2cad" + "19a87888c43d", + "ecdd7ea52ce4" ], "Story: Keep a summary / At most one pending open-page review waits in a conversation, and asking for the same page again keeps its card": [ "f514aea0c8ec", @@ -4291,7 +4296,7 @@ "e1b8a82e361b" ], "Story: Let my agent see the screen in front and work its controls / A turn describes the view in front by its labeled controls and visible text, never a sensitive or withheld view, a secret field, the assistant's own chat or a review card": [ - "ff01f2c3450d", + "5a8fd1dc7d46", "0f521049b52a", "e74ec73b2f8e" ], @@ -8752,7 +8757,7 @@ }, "spec/app/control/index.md": { "@document": [ - "a2380a3f0741" + "e1ebb5328890" ], "## Story: Control a third-party app within an owner-approved lease": [ "1d25cf78e90a" @@ -11556,6 +11561,43 @@ "c280a72677cb" ] }, + "spec/app/startup/steps.md": { + "@document": [ + "8e069115b83e" + ], + "## Story: Know each access by name": [ + "bb908cec59e8" + ], + "Story: Know each access by name / The accesses are notifications, the microphone, the camera and location, then on the phone the calendar, photos and files": [ + "e4fd9d16898d", + "cae25084159a" + ], + "Story: Know each access by name / Files has no prompt of Android's own": [ + "f6d69030915f", + "a0be2c91f128", + "662cdad23d13" + ], + "Story: Know each access by name / Each access is checking, can be requested, needs Android's Settings, is ready, or could not be checked": [ + "583ff047610b", + "95c69b07a33c", + "3e0cb8a14507" + ], + "Story: Know each access by name / Each row says Allowed, or how far, or Off, Ask, Checking or Couldn't check": [ + "d38c8351723b", + "1fb107dc1260", + "ea5314021c58" + ], + "Story: Know each access by name / A ready access never reads as off, one switched off never reads as allowed, and one not yet read never reads as allowed": [ + "e3b0c44298fc", + "23a524ccb4d8", + "44f44658a207" + ], + "Story: Know each access by name / An access is asked for at most once, and then sent to Settings": [ + "5d98c6a4d4ba", + "3efc71003cba", + "ea5314021c58" + ] + }, "spec/release/os.md": { "@document": [ "bafbf928b02c" @@ -12079,68 +12121,75 @@ }, "spec/app/image/index.md": { "@document": [ - "53c09bab82ae" + "d22d34fbf924" ], "## Story: Stage Alpha into an image": [ "0f02eed93a99" ], "Story: Stage Alpha into an image / A stage puts the launcher into the Cuttlefish phone or the Pixel 10a, as a development or a production build, with the listener and source patches it names": [ "2e5abcbeedae", - "4d0a01507471" + "9ef46b99b177" ], "Story: Stage Alpha into an image / A production stage, and every listener image, needs a reviewed launcher descriptor and a product with no field unset": [ "99a8865487e1", "ec13c54bbfd4", - "0820dd1d9919" - ], - "Story: Stage Alpha into an image / Owner telephony is for a development stage of either target, and never for a listener image": [ - "3d589c8b8678", - "b3b2c3ca4974", - "0820dd1d9919" + "daa44b228849" ], "Story: Stage Alpha into an image / A listener image is a Pixel 10a stage with the listener, its qualification record and the chip, ops, protected power and Sense policy patches": [ "c133ccbac491", "7947cdb3085f", - "0820dd1d9919" + "daa44b228849" ], "Story: Stage Alpha into an image / The Sense policy patch belongs only to a listener image, and the protected power and generic assist patches never come together": [ "a231cad02187", "c0dde6de2646", - "0820dd1d9919" + "daa44b228849" ], "Story: Stage Alpha into an image / The branding packet is staged only into a production Pixel 10a": [ "e3b0c44298fc", "0501aef7bc06", - "0820dd1d9919" + "daa44b228849" ], "Story: Stage Alpha into an image / A stage is admitted only when no rule above refuses it, and a refusal names every problem": [ "9e78aa913552", - "2ed71d024f07", - "b703b5dbab86" + "328d0b747c20", + "e36cb7cb94c8" ], "## Story: Keep the phone and messages on Alpha's phone": [ - "4c6ed6408fca" + "2621d86054c9" ], - "Story: Keep the phone and messages on Alpha's phone / Image telephony is staged for a production stage, a listener image and an owner telephony stage, and for no other": [ - "31376c13daef", - "24459258177b", - "0820dd1d9919" - ], - "Story: Keep the phone and messages on Alpha's phone / Home and Autofill defaults are staged only for a production stage or a listener image, so an owner's development phone keeps the owner's choices": [ - "e3b0c44298fc", - "a958dafd39a6", - "0820dd1d9919" + "Story: Keep the phone and messages on Alpha's phone / Every image gives the launcher Home, the assistant, dialer, SMS, Autofill, notification and Do Not Disturb access, and the power-save exemption": [ + "cbc7a8b5ea26", + "fbe4389b1678" ], "## Story: Let a handed-over phone update its launcher on its own": [ - "4924a5d72f8f" + "4debed8a00a9" + ], + "Story: Let a handed-over phone update its launcher on its own / On an image the launcher holds exactly three privileged permissions: its phone's own identifiers, the install of its own updates and the secure settings it switches on for itself": [ + "a61dd0b296ee", + "eabcd4693ee3" ], - "Story: Let a handed-over phone update its launcher on its own / On an image the launcher holds exactly two privileged permissions, its phone's own identifiers and the install of its own updates, or none": [ - "3e314ead6300", - "708771075ba9" + "## Story: Start a fresh phone with nothing to allow": [ + "19465ad3e97e" ], - "Story: Let a handed-over phone update its launcher on its own / The first-boot grants are exactly the startup walkthrough's, Contacts and phone state, each revocable, and never messages, calls or call history": [ - "e45f7e7f4291", - "24a757211679" + "Story: Start a fresh phone with nothing to allow / The launcher holds at first boot every runtime permission it asks for, each revocable": [ + "a8968a4044a3", + "4b49aadb15db" + ], + "Story: Start a fresh phone with nothing to allow / Every access the startup walkthrough offers is one the image grants": [ + "1a47a0b061d9", + "cd1d2c46902e", + "92bb3be7c935" + ], + "Story: Start a fresh phone with nothing to allow / Both staging commands stage the same launcher policy, and refuse a launcher that is not a product priv-app or misses a grant": [ + "f03c9579c800", + "b139b5f9508d", + "8b2fd8153ce3" + ], + "Story: Start a fresh phone with nothing to allow / The owner keeps the choice of installing other apps": [ + "7e830a2832cd", + "19f490fa912f", + "702cbbcc190b" ], "## Story: Update an Alpha Pixel by cable, and get back": [ "038886c633ba" @@ -13661,7 +13710,12 @@ ], "Story: See the map / Only the surface in place reports whether it was drawn": [ "e3b0c44298fc", - "70075d6ac1e6", + "e27d263053dd", + "e77300cbc3f8" + ], + "Story: See the map / A drawn map stays drawn until a new surface replaces it": [ + "5abbfe8da26b", + "6b4b1aa198c7", "e77300cbc3f8" ], "Story: See the map / Retry draws a broken map again on a new surface": [ @@ -13785,7 +13839,7 @@ "cdfab4b80716" ], "Story: See the map for what I am looking at / A failed tile never breaks a surface whose style has loaded, and a cancelled tile breaks nothing": [ - "99713da4b4c7", + "76e5354859d7", "0cfea0458464" ], "Story: See the map for what I am looking at / The compass shows only while the map is turned or tilted and guidance is not following, and puts north up": [ @@ -14246,7 +14300,7 @@ "Story: Connect through my cloud account / The map surface says whether it was drawn, and Retry draws it again": [ "e3b0c44298fc", "c103da6ecc97", - "fd37cdf6bfe2" + "f96dbc9d0d04" ], "Story: Connect through my cloud account / The map can be broken while guiding": [ "e3b0c44298fc", @@ -16739,8 +16793,8 @@ "6fe5fd4a4549", "8ee04cfd1feb" ], - "Story: Let Alpha see my notifications / Listener access is granted only in Android's Settings, which Alpha opens for the owner": [ - "e3b0c44298fc", + "Story: Let Alpha see my notifications / Alpha never grants listener access itself: Android grants it, by the image's default or in its Settings, which Alpha opens for the owner": [ + "10c8c574c9b6", "3ddd7c339af5", "baa3f13a592d" ], @@ -20291,7 +20345,7 @@ "e357e7bd949e" ], "Story: Change what only Android can change / Each Android page is offered on the Settings page it belongs to": [ - "8e9318191fce", + "129f869dd13c", "5c6be0e552e0", "e8587946a136" ], @@ -21528,43 +21582,6 @@ "e3f12c0735a9" ] }, - "spec/app/startup/steps.md": { - "@document": [ - "8e069115b83e" - ], - "## Story: Know each access by name": [ - "bb908cec59e8" - ], - "Story: Know each access by name / The accesses are notifications, the microphone, the camera and location, then on the phone the calendar, photos and files": [ - "e4fd9d16898d", - "cae25084159a" - ], - "Story: Know each access by name / Files has no prompt of Android's own": [ - "f6d69030915f", - "a0be2c91f128", - "662cdad23d13" - ], - "Story: Know each access by name / Each access is checking, can be requested, needs Android's Settings, is ready, or could not be checked": [ - "583ff047610b", - "95c69b07a33c", - "3e0cb8a14507" - ], - "Story: Know each access by name / Each row says Allowed, or how far, or Off, Ask, Checking or Couldn't check": [ - "d38c8351723b", - "1fb107dc1260", - "ea5314021c58" - ], - "Story: Know each access by name / A ready access never reads as off, one switched off never reads as allowed, and one not yet read never reads as allowed": [ - "e3b0c44298fc", - "23a524ccb4d8", - "44f44658a207" - ], - "Story: Know each access by name / An access is asked for at most once, and then sent to Settings": [ - "5d98c6a4d4ba", - "3efc71003cba", - "ea5314021c58" - ] - }, "spec/app/startup/actor.md": { "@document": [ "49275572c273" @@ -21637,7 +21654,7 @@ "6a77780cb52a" ], "Story: Walk through each access in order / The walkthrough holds each access as Android last reported it, the choices made, the choices last saved, and what is in flight": [ - "ebfc2309009d", + "86b42ef9d80e", "12f17315d0cc", "45e440352a66" ], @@ -21657,7 +21674,7 @@ "cf7dd6730050" ], "Story: Walk through each access in order / Alpha starts, or starts again, with the choices last saved and every asking Android showed, and reads every access again": [ - "5c1b64e64f71", + "4db1e54b92c2", "debd3736d39e", "1f6bb325b1da" ], @@ -21687,11 +21704,11 @@ "959348035aa0" ], "Story: Walk through each access in order / Skip passes a step whose state is known and that is not waiting on Android, or one stalled for twenty seconds": [ - "fdca82c9a2cd", + "a5582f9c556f", "09c6e4920fdc", "1b06320b78d6" ], - "Story: Walk through each access in order / A step still being read twenty seconds after it was shown stalls, even one the image granted ahead": [ + "Story: Walk through each access in order / A step still being read twenty seconds after it was shown stalls, even one that would pass by itself": [ "e3b0c44298fc", "f4f00ea1a261", "d744b861c305" @@ -21711,7 +21728,7 @@ "cb6ae50a13ab", "e118c8360803" ], - "Story: Walk through each access in order / Only the owner, an access the image granted ahead, or an earlier version's walkthrough moves the walkthrough; Android's answers never do": [ + "Story: Walk through each access in order / Only the owner, an access Android already allows, or an earlier version's walkthrough moves the walkthrough; Android's answers never do": [ "f513c7fd9298", "fafb533d75fd", "6cb34708b1fd" @@ -21873,22 +21890,22 @@ "f4b9aa5a113c" ], "Story: Be asked when Alpha is ready for it / The walkthrough shows only for an owner who is set up, with nothing over it, until its last step": [ - "183b888adcd8", + "19e5918be69a", "7a5b3940264a", "3b3acdec718a" ], - "Story: Be asked when Alpha is ready for it / An access the image granted ahead passes by itself, as continued, unless Android's prompt or a request is waiting": [ + "Story: Be asked when Alpha is ready for it / An access Android already allows passes by itself, as continued, unless Android's prompt or a request is waiting": [ "140fa936105b", "8a4201b7b7f0", "1b06320b78d6" ], - "Story: Be asked when Alpha is ready for it / A step the image granted ahead passes, unless the owner looks away first": [ + "Story: Be asked when Alpha is ready for it / A step Android already allows passes, unless the owner looks away first": [ "3721d798615c", "d58cb1fab835", - "ff5ab5c9dedf" + "9def209c5b69" ], "Story: Be asked when Alpha is ready for it / A walkthrough that is set up and uncovered shows a step or ends": [ - "84b78a381af6", + "1b2b1aa0eed9", "84a478bb8ac1", "de94d699c51c" ], @@ -21902,17 +21919,17 @@ "c2d7b7216f70", "6cb34708b1fd" ], - "Story: Be asked when Alpha is ready for it / An image can pass the accesses it granted": [ + "Story: Be asked when Alpha is ready for it / A phone can pass the accesses Android already allows": [ "e3b0c44298fc", "571fbe5ecb88", "6cb34708b1fd" ], - "Story: Be asked when Alpha is ready for it / An image stops at an access it did not grant": [ + "Story: Be asked when Alpha is ready for it / A phone stops at an access Android does not allow": [ "e3b0c44298fc", "bce7f6454843", "de94d699c51c" ], - "Story: Be asked when Alpha is ready for it / An image step Android never answers is shown, with Skip": [ + "Story: Be asked when Alpha is ready for it / A phone step Android never answers is shown, with Skip": [ "e3b0c44298fc", "31cd59677731", "d744b861c305" @@ -22049,74 +22066,74 @@ "a2f38b025bec" ], "Story: Come up knowing where Alpha runs / Alpha knows whether it runs on a phone and in a test build, reads the rest, and keeps what decides the surface": [ - "087abc3215ce", + "8198cd459229", "a32a5e7ad79e", - "165e4ce8d4c8" + "b3096b798545" ], "Story: Come up knowing where Alpha runs / The page starts once, by asking the phone for its facts": [ "e3b0c44298fc", "40e25438e35b", - "2f951b588223" + "e117e70c442b" ], "Story: Come up knowing where Alpha runs / The first answer decides the surface, tells Home which it is, and begins the walkthrough off the assistant-only surface; every answer says what the phone admits and how it writes times": [ - "9d755c0f9a7c", - "1c152d3448cb", + "ed1a46724afd", + "970ce173d782", "99aa36a48fd3" ], "Story: Come up knowing where Alpha runs / A read that fails, or is not answered within ten seconds, still lets Alpha start, and admits nothing it did not hear": [ "b7af309ef29b", - "0933c6b7f1c3", - "9b365c2d252b" + "0160823585e4", + "e65044a46bb4" ], "Story: Come up knowing where Alpha runs / Coming back to the front reads the facts again": [ "e3b0c44298fc", "5967bf1e0863", - "2f951b588223" + "e117e70c442b" ], "Story: Come up knowing where Alpha runs / Only a phone is the launcher, the assistant surface or an Alpha image": [ "e3b0c44298fc", "61453e125d8a", - "9b365c2d252b" + "e65044a46bb4" ], "Story: Come up knowing where Alpha runs / Nothing is taken as known before the first answer": [ "f14426d245dc", "c01265f0c6ce", - "9b365c2d252b" + "e65044a46bb4" ], "Story: Come up knowing where Alpha runs / Nothing is known before Alpha has asked": [ "9b48c1ecf226", "9018570b7b59", - "9b365c2d252b" + "e65044a46bb4" ], "Story: Come up knowing where Alpha runs / Once decided, the surface does not change while the page lives": [ "9642e6950554", "77d0f193daa2", - "9b365c2d252b" + "e65044a46bb4" ], "Story: Come up knowing where Alpha runs / Every answer about the phone is passed on: what it admits to the shell, and how it writes times to the areas that show them": [ "52fb7870454b", "17247de0e2cf", - "9b365c2d252b" + "e65044a46bb4" ], "Story: Come up knowing where Alpha runs / Home is told its surface, and the walkthrough begun, once, when Alpha first knows where it runs, and the walkthrough never on the assistant-only surface": [ - "6e9fbd9a7e99", - "f768e54b6a26", - "585aac07c47c" + "b9c4f951aa8e", + "62122159eeb1", + "fa3d134a90f0" ], "Story: Come up knowing where Alpha runs / Alpha comes to know the phone's facts once it has asked": [ "7e96232405be", "4ef08e52773c", - "9b365c2d252b" + "e65044a46bb4" ], "Story: Come up knowing where Alpha runs / A failed first read still starts Alpha": [ "e3b0c44298fc", "cdc5c90454f9", - "9b365c2d252b" + "e65044a46bb4" ], "Story: Come up knowing where Alpha runs / A read the phone never answers still starts Alpha": [ "e3b0c44298fc", "4a461e06fea2", - "9b365c2d252b" + "e65044a46bb4" ], "## Story: Start in mock mode only in a test build": [ "912b8a4c4f38" @@ -22124,22 +22141,22 @@ "Story: Start in mock mode only in a test build / Mock mode and fixtures are admitted only in a test build": [ "a427c767ceb2", "514665c8a337", - "9b365c2d252b" + "e65044a46bb4" ], "Story: Start in mock mode only in a test build / Mock mode shows its banner on every surface, and Exit mock mode leaves it": [ "cfbb7f376e8e", "577ab8ed8de5", - "a8faddd4bc66" + "b1f066dfe27a" ], "Story: Start in mock mode only in a test build / A test build can run in mock mode": [ "e3b0c44298fc", "132aa3b2bc91", - "9b365c2d252b" + "e65044a46bb4" ], "Story: Start in mock mode only in a test build / Mock mode can be left": [ "e3b0c44298fc", "83a0e98fe871", - "9b365c2d252b" + "e65044a46bb4" ], "## Story: Show the surface that fits": [ "851bff2a6fa4" @@ -22147,22 +22164,22 @@ "Story: Show the surface that fits / Alpha is the launcher's Home, the assistant-only surface, or a plain page": [ "a0ad1e723d5b", "d66ea2cefb31", - "9b365c2d252b" + "e65044a46bb4" ], "Story: Show the surface that fits / Alpha can run as a plain page in a browser": [ "e3b0c44298fc", "24afa040145f", - "9b365c2d252b" + "e65044a46bb4" ], "Story: Show the surface that fits / The assistant-only surface shows chat and close, and mock mode's banner, and nothing of Home": [ "18491c8a0283", "f561f9466a8d", - "8679384d06dd" + "2d3462efabd7" ], "Story: Show the surface that fits / Alpha can be the assistant-only surface": [ "e3b0c44298fc", "e224d1d686bf", - "a8faddd4bc66" + "b1f066dfe27a" ], "## Story: Wait for the agent": [ "e3d32a5b11d7" @@ -22170,57 +22187,57 @@ "Story: Wait for the agent / Until the connection has resolved, Home shows only the Alpha mark": [ "7ff04e815392", "9abe6b9bf856", - "ed41e0d5b5be" + "533d587d2da9" ], "Story: Wait for the agent / Home takes input only once the facts are known, the connection has resolved, and nothing shows over it": [ "e1a0c92f2e83", "f6dac88058e2", - "9b365c2d252b" + "e65044a46bb4" ], "Story: Wait for the agent / The connection resolves once: connected, unreachable, offline or being recovered, each said on Home": [ "e5ed0f39e806", "54f83dda2516", - "9b365c2d252b" + "e65044a46bb4" ], "Story: Wait for the agent / A connection that has not resolved thirty seconds after start counts as unreachable": [ "e3b0c44298fc", "cfed74640a03", - "9b365c2d252b" + "e65044a46bb4" ], "Story: Wait for the agent / The connection, once resolved, stays as it ended": [ "e3b0c44298fc", "75a358561302", - "9b365c2d252b" + "e65044a46bb4" ], "Story: Wait for the agent / Only the connection's report or its time running out ends the wait": [ "1116aae20005", "c67941359008", - "9b365c2d252b" + "e65044a46bb4" ], "Story: Wait for the agent / Home, once shown, is not put behind the mark again": [ "e3b0c44298fc", "a1a380140ef2", - "a8faddd4bc66" + "b1f066dfe27a" ], "Story: Wait for the agent / The mark ends once Alpha has started, whether or not the agent answers": [ "e3b0c44298fc", "318e41ec9b29", - "a8faddd4bc66" + "b1f066dfe27a" ], "Story: Wait for the agent / Home can take input": [ "e3b0c44298fc", "859a68d34391", - "870995326b8a" + "87a35901b3ab" ], "Story: Wait for the agent / The agent can be found offline": [ "e3b0c44298fc", "cc4119d0a93f", - "9b365c2d252b" + "e65044a46bb4" ], "Story: Wait for the agent / The agent can be found unreachable once thirty seconds have passed": [ "e3b0c44298fc", "9d27868b9def", - "a8faddd4bc66" + "b1f066dfe27a" ], "## Story: Be called up as the assistant": [ "d28d5f8e029c" @@ -22228,42 +22245,42 @@ "Story: Be called up as the assistant / The assistant surface notes each call when it arrives, and the newest replaces one not yet taken": [ "10b58bd498f2", "7e6b33deb8b0", - "9b365c2d252b" + "e65044a46bb4" ], "Story: Be called up as the assistant / A call is taken once Home takes input, and raises Ask Alpha listening only as Call says": [ "e3b0c44298fc", "3e7ec4dc78e7", - "bf91176287f5" + "332401a93db4" ], "Story: Be called up as the assistant / Close asks for the assistant surface to end, which Recovery ends once": [ "e3b0c44298fc", "58fc78fbdf96", - "9b365c2d252b" + "e65044a46bb4" ], "Story: Be called up as the assistant / Only the assistant surface, or a page not yet told which it is, holds a call": [ "e3b0c44298fc", "45ff9db87770", - "9b365c2d252b" + "e65044a46bb4" ], "Story: Be called up as the assistant / A call raises Ask Alpha exactly once, and only once the connection has resolved": [ "e3b0c44298fc", "d617cb9a16fa", - "9b365c2d252b" + "e65044a46bb4" ], "Story: Be called up as the assistant / Ask Alpha listens only for a fresh call from a trusted caller on an Alpha image, and keeps how the call came": [ "e3b0c44298fc", "4c7ebda1f7f9", - "9b365c2d252b" + "e65044a46bb4" ], "Story: Be called up as the assistant / The assistant surface can be called while Alpha is still starting": [ "e3b0c44298fc", "46ffc6f27990", - "9b365c2d252b" + "e65044a46bb4" ], "Story: Be called up as the assistant / A call can wait for the connection": [ "e3b0c44298fc", "a51edbe8d639", - "9b365c2d252b" + "e65044a46bb4" ], "Story: Be called up as the assistant / What the simulator tries": [ "89905ec87451",