LISAAI ASSISTANT

更新日志 · 最新在前

更新内容

每个 Lisa 版本,最新在前。最新版从 安装页 获取, 或浏览 GitHub Releases ↗。 Mac 应用也会查这里 —— Lisa ▸ 关于 ▸ 检查更新。

v0.33.0 · 2026-11-22● 最新
# Lisa 0.33.0 — Game libraries and app connectors

Lisa 0.33.0 adds local game library imports and product icons across the connector directory, chat picker and permission cards. Online game connectors are off by default. Dashboard cards show setup requirements and the current grant. The directory works at phone widths and supports keyboard navigation. The iOS Room and native Mac account and device windows also have updated layouts. Pocket changes follow its separate native release channel.

## Organize games from a file

Open **Dashboard → App connectors → Game Library · Playnite**. Send the example in chat to open the local file picker. Choose a Playnite CSV/TSV, or fill out the downloadable template with the games you want to share. Filter the preview, choose fields and select up to 30 games. The original file stays in the browser. The first confirmation saves those rows on this computer. The second confirmation grants the selected scope to the configured chat model.

You can enter records from Epic, PlayStation, Xbox, Nintendo, GOG and other platforms into the template. Each row retains its source, version and time units when supplied. Automatic synchronization and parsing native PDF, HTML or Excel account archives require separate platform-specific validation.

## Online game connectors are off by default

The release ships without game service credentials. Each service requires its own explicit host configuration and restart. Opening the directory or importing a file makes no game platform requests. The following integrations are available for operator testing.

- **itch.io** connects through a registered desktop OAuth application. Select claimed titles from your library. Disconnecting removes the local grant and attempts upstream revocation. itch.io may share that token between other installations of the same client.
- **Steam** verifies the account through Steam OpenID. A host operator supplies a registered Steam Web API key. The connector reads selected visible games, playtime and achievements where available.
- **Game information and prices** opens a separate lookup panel in the dashboard directory. Search IGDB by title or Steam AppID and choose a game or edition. Use IsThereAnyDeal with a country code to check covered stores, currencies and recent price history. These lookups use application credentials and do not send the player's identity or library.

Disconnect clears gaming grant metadata on this host. Previously shared chat results remain in session history and can be reviewed through Forget.

## Follow-up verification

Local acceptance covered file preview, field selection, scoped reads, disconnect and saving templates in the Mac app. Follow-up testing covers real itch.io consent and revocation, Steam accounts with different privacy settings, registered IGDB and IsThereAnyDeal queries, and redacted Windows Playnite exports and native platform archives. The [game platform integration plan and acceptance checklist](https://github.com/oratis/LISA/blob/v0.33.0/docs/RESEARCH_GAME_PLATFORM_CONNECTORS_2026-11-22.md#本机配置与验收状态) records the evidence needed for each platform.
v0.32.1 · 2026-11-19
# Lisa 0.32.1 — A smaller chat waiting indicator

Mac and Web chat show a 28-pixel animated Lisa portrait beside the waiting message. It appears when you send a message and during tool calls, then disappears when Lisa starts replying.

The portrait follows the system Reduce Motion preference. Switching conversations or retrying a failed request clears the old indicator. The corresponding Pocket change is included in source for its separate native release.
v0.32.0 · 2026-11-17
# Lisa 0.32.0 — A more expressive companion, connected workspaces

Lisa gains natural seated animations, a shared chat sticker collection, a clearer Rêve and Control layout, and a Dashboard catalog of 22 connectors including Box and Obsidian. Fleet now carries work from an isolated task through per-turn review, selected-file rollback and confirmed merge into its source branch. Pocket can switch between saved Macs, catch up on shared timelines and decide explicitly granted approvals. Codex gains an approved workspace mode alongside packet review. This release also adds full Fleet cleanup and storage controls, explicit continuation of verified-stopped tasks, selected-project T3 reads, optional screenshot context, steadier connections and selected Feishu document reads.

The local Mac build was accepted on November 17, 2026, and PR #516 is merged. GitHub artifacts, the signed/notarized Mac app, npm, Homebrew, the hosted backend, relay and website are published and verified. See the [publication record](https://github.com/oratis/LISA/blob/main/docs/RELEASE_VERIFICATION_v0.32.0.md) and the [release checklist](https://github.com/oratis/LISA/blob/main/docs/RELEASE_CHECKLIST_v0.32.0.md) for channel evidence and remaining live-account/device checks.

## Companion animation and chat stickers

- Working, reading and tea use dedicated seated animation loops with matching hip and foot positions in both room themes. Resting keeps its fitted pose and gentle breathing; hidden windows and reduced-motion preferences stop animation.
- Four new expressions — Got it, Hug, Good night and Curious — bring the collection to 12 animated stickers plus 24 mood portraits. Choose a sticker in the chat composer, optionally add text, and send it to Lisa. Both user and Lisa stickers survive history reloads; the gallery offers transparent WebP and animated GIF downloads.
- Rêve pairs memory with knowledge, reflection with pursuits, and dreams with capacity in a balanced layout that adapts to the pane width. Authored controls follow the Chinese or English locale; saved user content retains its original language.

## Box, Obsidian and the connector dashboard

- Dashboard lists all 22 read-only connectors with search, filters, configuration actions, saved authorization state and selected-resource counts. Authorization status describes a saved grant, not a live provider health check.
- Box uses read-only OAuth and explicit file selection. Version-pinned reads support bounded text files; PDF and Office extraction are not included. A locally configured Box OAuth application is required. Offline OAuth/read/refresh tests pass; a real Box account has not been tested.
- Obsidian discovers local vaults and asks which ones Lisa may read. It lists, searches and reads bounded Markdown content without a community plugin or local HTTP server. Hidden files, symlinks, hard-linked content and attachments are excluded. Tests use disposable vaults.
- Setup, scope and read limits are in [Box and Obsidian connectors](https://github.com/oratis/LISA/blob/main/docs/CONNECTORS_BOX_OBSIDIAN.md).

## Control and remote Mac workflows

- Remote Macs is now part of **Control**, alongside **This Mac**, instead of a separate link above the navigation grid. The interface follows the system language, displaying Chinese or English, while task content stays as written.
- A device → workspace → task flow keeps progress, approvals, results and per-turn diffs together. Tabs preserve drafts, share the app theme and pause hidden polling; desktop and mobile layouts use the same controls.
- The executing Mac's setup section updates connection status and incoming pairing requests automatically without clearing selected workspace grants or interrupting a settings load.
- Fleet scripts and styles use content-versioned paths, so upgrading an installed app loads matching assets even when its offline cache still contains an older release.
- Physical second-Mac acceptance with a live Claude provider passed pairing, scoped grants, approved Read/Edit, denied edits, follow-up approvals, result/diff retrieval, lost-response reconciliation, relay reconnect, cancellation and revocation. The tested CLI exposed Read/Edit; new-file Write and live remote Codex are not included in this acceptance.

## Fleet timelines and read-only Pocket sharing

- The executing Mac records task events and operation receipts together. Retrying a request cannot start the work twice; reconnecting clients page from their last sequence number. Missing or expired history is marked rather than silently hidden.
- Task recovery releases an execution slot only after checking the old process identity. Approval outcomes remain visible after the request closes; revocation removes access on the next read and closes live device streams.
- The owner can share a specific task with a v2-paired Pocket, including a finished task. Pocket receives the task state, agent, turn summaries and approval outcomes, with no source-code diff or tool arguments under the default read-only grant. A separate approval grant is described below. Revocation and re-pairing invalidate the old grant.
- Pocket keeps its last received timeline in memory across temporary disconnections, catches up on reconnect, and clears it when the account, Mac or authorization changes. Pocket features require a compatible Pocket binary; the public and complete-extension TestFlight builds are distinguished below.

## Pocket multi-Mac and task approvals

- Pocket saves up to 32 Macs with separate credentials and pinned identities. Switching replaces the active connection and clears the old task view; account changes remove all account-based Macs. Single-Mac upgrades wait safely if Keychain is locked.
- Pocket task shares remain read-only by default. A separate per-task approval grant enables complete tool-input preview and exact-request Allow/Deny decisions. The host rechecks expiry, controller authority and remote-control policy; pairing-scoped receipts and one-decision-per-request guards prevent repeated execution after lost replies. Room and Fleet include the saved-Mac switcher.

## Per-turn checkpoints and file diffs

- Create an isolated worktree from a registered Git repository's current commit, then explicitly grant it to a controller. Uncommitted source-directory changes stay in the source directory.
- Fleet captures the start and end of each turn in a private Git store without changing the user's index or branch. Cancellation records partial changes; restart marks unfinished boundaries as interrupted.
- Inspect added, changed and deleted files, with bounded text diffs and binary-change indicators. Concurrent workspace changes are labelled: a diff shows the workspace's change, not proof that the agent made every edit.
- Checkpoints cover the first 100 turns, at most 2,000 entries / 16 MiB per snapshot and 64 KiB per displayed diff. Unsupported or oversized snapshots show an unavailable state without stopping the task.
- Owners can delete a finished task's checkpoint objects. This clears displayed diffs but retains workspace files, task history and operation receipts. Selected-file rollback now has a signed preview and explicit confirmation, with current-content, inode, permission and workspace checks. It preserves the Git index and unrelated files; receipts prevent retrying over later edits.

## Confirmed merge, cleanup and storage limits

- Preview a finished task's selected snapshot as one commit into its original source branch. Both workspace grants, original branch/base, clean source checkout and unchanged selected snapshot are checked again at confirmation. Hooks, filters and signing are disabled during controlled preparation and checkout.
- Optional worktree removal is a separate checkbox bound to the preview. It only removes an owned, unchanged worktree and refuses ignored files; source files and historical task diffs remain. Existing worktrees without recorded source provenance cannot use automatic merge.
- The default cross-task checkpoint quota is 512 MiB. Owners can adjust it and optionally retain only a chosen number of days of ended-task checkpoints. Active work is preserved.
- Full ledger cleanup previews what it will erase, rotates the operation generation, clears task contents/shares/receipts and snapshots, then compacts SQLite/WAL. Old retries cannot recreate deleted tasks. Pairings and registered source workspaces remain.
- Uncertain filesystem results reserve the host until the local owner verifies them. Receipts retain proposed merge commits where available; retries query the original outcome instead of applying changes again.

## Capability-aware controls and confirmed agent handoffs

- Each task declares which observe, append, cancel, approve, resume and handoff actions the current device can use. The host checks the grant, adapter, task state and live process again when an action is submitted. Neither adapter claims to resume an orphaned process.
- Authorized external Claude/Codex sessions can appear beside managed tasks as metadata-only observations, without gaining controls or exposing their transcripts.
- Select a finished task's checkpointed turn and another agent, add optional verification notes, then preview the complete request, result and file diffs. Confirmation is bound to that exact packet and expires after ten minutes. Changed content, cleanup, revocation or a backend restart requires a fresh preview.
- Claude keeps independently approved file operations; available tools depend on the installed CLI version. Codex runs a single read-only review of the confirmed packet in an empty macOS sandbox, using the host's installed CLI and OpenAI API configuration. Packet mode does not browse the source checkout or run validation commands. A separate Codex workspace mode provides List/Read/Edit/Write through Fleet approvals with file identity/content rechecks, safe path limits and follow-up turns. The native process remains isolated from the project; existing packet mode is preserved. Packets are limited to 20 files / 96 KiB; oversized packets are rejected.
- Handoff confirmation records the new task, linked events and receipt atomically. Retrying the same operation returns the original task. Old approvals never carry into the receiving session.

- Uncertain tasks can now continue through a new session after the old process has been verified stopped. A new instruction and signed context preview are required; no old tool call or approval is replayed, and the original outcome remains unverified.

Setup, retention and operating limits are in the [Fleet guide](https://github.com/oratis/LISA/blob/main/docs/FLEET.md).

## Connections and account recovery

- Mac relay heartbeats, wake/reconnect handling and session renewal keep the host discoverable. Revoked phones lose existing streams, and an account change clears device authority.
- Pocket distinguishes offline Macs, unavailable relays, expired sessions, refused permissions and server failures. Recovery actions open the appropriate settings or sign-in screen and preserve unsent drafts.
- Account refresh and sign-out-everywhere endpoints renew or revoke sessions; structured error codes support matching recovery behavior across clients. Temporary service failures are not treated as account revocation.
- Pairing can be cancelled on the Mac, clock skew is explained, and connection diagnostics omit credentials. CLI pairing flags and PTY helper permissions now work on npm/Homebrew installs; active roster rows refresh correctly.
- Lint ignores disposable backend/UI fixtures, so running native acceptance tests alongside source checks no longer produces a TypeScript-project parsing error.
- The regular test suite now runs a Pocket-protocol → cloud relay → Mac scenario covering pairing, REST, streamed chat, cancellation, revocation and LAN fallback.

## Selected Feishu documents

Feishu adds selected document reads alongside the existing sources and the new T3 connector. A local connection card resumes the original request after OAuth and selection of docx links or IDs. Reads are scoped to the selected documents, recheck identity and document version, and limit responses to 1 MB / 30,000 characters. Disconnect revokes credentials where supported. This requires a locally configured confidential Feishu app and is unavailable to Cloud and remote devices. Automated OAuth/read regressions pass; a real-account document-read acceptance remains outstanding.

## Selected T3 projects and optional screenshot context

- The twentieth read-only connector reads project lists and thread-list metadata for explicitly selected T3 projects. Configure the environment's MCP URL, sign in with **Read only**, then choose projects. OAuth uses PKCE and issuer binding; every read rechecks the environment and scope before returning buffered data. No thread bodies, other environments or writes are exposed. Local disconnect removes the credential; T3's upstream session must be revoked in **Settings → Sharing & access**. Expired grants require sign-in again.
- **Screenshot + front-window text** (Mac `⌃⌥⇧S`) optionally collects window title, bounded accessibility text and screen coordinates before capture. Review the exact text in the attachment preview; it is excluded until explicitly checked. Missing Accessibility permission preserves image-only capture, and the existing `⌃⌥S` stays image-only. Window context may differ from the selected image region. The signed Mac bundle includes its helper; CLI/npm needs Swift for first use.

## Pocket Room and iPad refresh

Pocket 1.4 source opens into Room with nine destinations, real memory/request/session summaries and editable chat starters. Paper and botanical colors, improved reading widths and Chinese copy carry through the app. iPad keeps adaptive layouts and native navigation. Approval payloads scroll above fixed one-time action buttons. Keyboard dismissal and unconfigured-chat setup links are fixed.

Pocket is published separately from this Mac/CLI version. On November 17, Apple confirmed public **1.4**, build **1794650503**, released November 15. Complete-extension build **1794678341** is valid and available in internal TestFlight; it is not that public binary. The public build was preserved during this release. See the [release checklist](https://github.com/oratis/LISA/blob/main/docs/RELEASE_CHECKLIST_v0.32.0.md).

## Knowledge-base history isolation

Knowledge-base Git history now binds every command to that instance's own repository and ignores inherited Git directory/index overrides. Initialization failures and switching between instances can no longer make a knowledge-base save commit unrelated files in an enclosing project. Linked Git directories are refused, and failed initialization can be retried safely.

## Upgrade and remaining limits

- Replace Lisa.app and restart its background service (or restart the Mac) to load the bundled backend. CLI users can run `npm install -g @oratis/lisa@0.32.0` or `brew update && brew upgrade lisa`.
- Existing workspaces continue to run without checkpoints until a new isolated workspace is created and granted. Older clients default to Claude; historical tasks without full saved requests cannot generate a handoff packet.
- The private Fleet ledger retains requests/results for the first 100 turns and confirmed handoff packets. Checkpoint cleanup does not erase those records. Full cleanup now erases those records, task shares and receipts, deletes snapshots and compacts SQLite/WAL. It rotates the operation generation so old requests cannot recreate tasks. Checkpoint quota defaults to 512 MiB across tasks; optional retention clears only old ended-task checkpoints. Finished tasks can preview and confirm one commit into the unchanged clean source branch, with separate source-workspace authorization and optional cleanup of the owned worktree. Cleanup retains task history and refuses ignored files or changed contents. Uncertain filesystem operations reserve the host until the owner verifies them; retries never repeat the write.
- Pocket saves up to 32 Macs with isolated credentials and pins, explicit switching and safe single-Mac migration. Account changes remove all account-based Macs; direct LAN/QR profiles remain separate. Cloud/Mac histories and credentials do not automatically synchronize.
- Apple Calendar and Reminders still require a Swift toolchain and are not available in the bundled Mac app. Hosted autonomous tasks remain off by default.
- Simulator and local integration tests do not establish physical iPhone Wi-Fi/cellular switching, Mac sleep/wake on a remote machine, or a provider's live inference behavior. Current evidence and outstanding release acceptance are recorded in the [checklist](https://github.com/oratis/LISA/blob/main/docs/RELEASE_CHECKLIST_v0.32.0.md).

## Included changes

This release includes [#516](https://github.com/oratis/LISA/pull/516) (accepted companion, connector and Control refresh), [#511](https://github.com/oratis/LISA/pull/511) (Fleet extensions) and [#512](https://github.com/oratis/LISA/pull/512) (knowledge-base isolation). It includes [#498](https://github.com/oratis/LISA/pull/498), [#504](https://github.com/oratis/LISA/pull/504), [#505](https://github.com/oratis/LISA/pull/505), [#497](https://github.com/oratis/LISA/pull/497), [#500](https://github.com/oratis/LISA/pull/500), [#499](https://github.com/oratis/LISA/pull/499), [#503](https://github.com/oratis/LISA/pull/503), [#506](https://github.com/oratis/LISA/pull/506), [#501](https://github.com/oratis/LISA/pull/501), [#507](https://github.com/oratis/LISA/pull/507), [#460](https://github.com/oratis/LISA/pull/460), [#509](https://github.com/oratis/LISA/pull/509) and [#508](https://github.com/oratis/LISA/pull/508). The missing historical [v0.30.2 note](https://github.com/oratis/LISA/blob/main/docs/RELEASE_v0.30.2.md) has also been restored, and both READMEs now distinguish source features from channel availability.
v0.31.0 · 2026-11-13
# Lisa 0.31.0 — Your other Macs, more of your apps

Lisa on your Mac can now start and steer Claude Code in workspaces on your other paired Macs, each one granted separately. Read-only connections grow from seven apps to eighteen, cards let you pick what Lisa may read in one place, and you can browse the connectors and add public HTTPS MCP servers from the chat. Codex sessions show up again with their real titles. This release also fixes a security problem in the local web server, stops the hosted edition from running the idle dream, and corrects how cached tokens are counted for OpenAI-compatible models.

## Security fix for the local web server

On the Mac edition, a request that reaches Lisa over loopback needs no token. Before this release, most routes trusted such a request whatever page sent it. Lisa now checks every loopback request before routing it:

- A state-changing request from another site is refused.
- A read from another site is refused unless you followed a link to Lisa in the browser.
- A request that connects over loopback but names another host, such as a tunnel, a reverse proxy or a DNS-rebinding page, is treated as a remote caller. It needs `LISA_WEB_TOKEN`, as a phone on your network does. It gets in with the token, but it is never treated as the owner at the machine.

The Mac app, the menu bar, the island, the CLI, Lisa Pocket over the relay and OAuth sign-ins are unaffected. If you reach Lisa through a tunnel without a token, set `LISA_WEB_TOKEN`.

## Claude Code on your other Macs

A new Remote Macs page lists the Macs paired to your account. Pick a workspace, start Claude Code there, send another turn, read the result or stop it.

- Each Mac grants each workspace separately, after v2 pairing. The relay only carries encrypted traffic and cannot start anything.
- File tools on the remote Mac ask for approval once per use. Paths outside the workspace, dot folders and links are refused.
- If Lisa restarts while an agent is running, the next start either frees the slot or stops the agent. It stops it only after confirming it is the same process it launched.
- Revoking a device, or removing a workspace from its grant, stops that device's running agents.
- A timeline records each remote task, so the controlling Mac can page through what happened.

## Eighteen read-only connections

New read-only connections: Todoist, Outlook Mail, Outlook Calendar, OneDrive, SharePoint, Jira, Confluence, Figma, Dropbox, Apple Calendar and Apple Reminders. They join GitHub, Google Calendar, Gmail, Linear, Google Drive, Slack and Notion.

- Each source requests read-only scopes, and Lisa reads only the projects, folders, calendars, pages or files you select on its card.
- A cloud source appears once its OAuth client is configured (see the connector setup guide). Todoist needs no setup.
- Apple Calendar and Apple Reminders need a Swift toolchain on macOS 14 or later. They are not available in the Mac app yet.
- Each connection card groups the account, the read-only scope, the resources you can select and the confirmation. It has keyboard-accessible select-all and clear, a live count, labelled pages and the 30-resource limit, and it keeps your selection while you page.
- Lisa only parks a chat behind a connection card when you plainly ask to read a source. Questions such as "What is Figma?" are answered as ordinary chat.

## Connectors and MCP from the chat

- Type `/connectors`, ask which apps you can connect, or use the + menu to browse the connectors available here. Each one has an example request you can edit before sending.
- MCP configs, at home and in plugins, accept public HTTPS (Streamable HTTP) servers, optionally limited to an exact list of tool names. Lisa sends them no credentials and resolves and pins their address on every request. Their results reach the model fenced as untrusted content.

## Codex sessions in Lisa

Control finds your local Codex sessions again and lets you show or hide them without restarting Lisa. The sidebar, tabs and inspector show each session's Codex title and project. The reader handles the current desktop and CLI formats, and skips the setup text the CLI writes. A metadata-only visibility setting stays as you set it.

## Memory corrections you can trace

When Rêve corrects a memory, the correction is grounded in what you said, including in earlier conversations, and you can see the history of each change.

## Also in this release

- **Long chats stay cheaper.** Past the context budget, the start of the conversation sent to the model now stays the same for many turns instead of changing every turn, so the provider's prompt cache keeps working.
- **Quicker lookups.** Independent reads, searches and fetches in one turn run at the same time in the web chat and the CLI. Sub-agents still run one at a time.
- **Reflection is sturdier.** A reply with text around its JSON is no longer thrown away. A reply cut off at the output limit is retried with room to finish. An unparseable pass is never stored as the conversation's summary.
- **Fetched pages arrive as served.** Web pages, search results and saved web captures are fenced with a marker that carries a random id for each call, so the content is no longer rewritten to defuse look-alike markers.
- **Hosted edition.** The idle dream no longer runs on the multi-tenant server. Operators get a protected console at `/console` with role-based access, capped credit grants, support tickets and an audit history that archives itself.
- **Billing.** Cached prompt tokens for OpenAI-compatible models are counted once, not twice.
- **Anthropic SDK 1.7.** Requests now use Anthropic API version `2026-10-21`. The API key is still sent as `x-api-key`. When an auth token is configured, only the token is sent.
- The Mac build rebuilds the bundled backend before packaging.

## Behaviour changes to note

- A loopback request that names a non-loopback host needs `LISA_WEB_TOKEN`. Without it, the answer is `403 untrusted_host`.
- Older Lisa Pocket builds can still deny a managed-agent approval, but approving needs the updated Pocket.
- Fetched content is fenced as `<<<EXTERNAL-CONTENT id=…>>> … <<<END-EXTERNAL-CONTENT id=…>>>`. Anything outside Lisa that parsed the old markers needs updating.
- For OpenAI-compatible models, `inputTokens` now counts only uncached input, as it already did for Anthropic and Gemini. Usage and token budgets read lower.
- Anthropic-compatible endpoints behind `ANTHROPIC_BASE_URL` now receive `anthropic-version: 2026-10-21`.

## Known limits

- The Feishu document connector is still in review and is not part of this release.
- Apple Calendar and Apple Reminders are not available in the Mac app yet.
- How strictly each model honours the fence id, and how much the cache change saves, have not been measured against live providers.
- The physical iPhone Wi-Fi/cellular handoff test is still pending.

## Updating

Replace Lisa.app in Applications, then restart its background service or the Mac. Update Lisa Pocket to approve managed-agent requests from the phone. With npm: `npm i -g @oratis/lisa@0.31.0`. With Homebrew: `brew upgrade lisa`.
v0.30.3 · 2026-11-07
# Lisa 0.30.3 — A clearer account and Pocket experience

The Mac account window now guides you through email and verification-code sign-in,
then switches to a dedicated account page with live connection status and a clear
next step for connecting Lisa Pocket.

- A refreshed native design with light and dark appearances, readable cards and layouts that adapt to smaller windows.
- Separate email, code and optional password steps, with resend countdowns, inline recovery and reliable keyboard focus.
- A three-step Pocket connection guide, prominent verification codes and clearer authorized-device controls.
- Sign-in attempts survive closing the window to check your inbox. Account validation and failed setup can recover without losing the next step.
- Cloud model account changes explicitly confirm interruptions; signing out closes phone access before applying the cleared account.
- Pairing v2 support and compatibility guidance for older Pocket versions, alongside the local-network/cloud relay connection flow.

The release also brings the latest light-mode improvements across the Mac and web
interfaces, with clearer surfaces, contrast and consistent appearance.

This release also includes the reviewed main-branch updates since 0.30.0: cloud
account and billing hardening, hosted-account setup fixes, local retention fixes,
and the read-only Slack connection with task resume.

Install by replacing Lisa.app in Applications. If Lisa was already running, restart
its background service or restart the Mac to load the new embedded backend.
Existing account settings and approved devices are retained.

Physical iPhone Wi-Fi/cellular handoff remains pending; this Mac release does not
claim that unavailable-device test has been completed.
v0.30.2 · 2026-11-07
Superseded by [Lisa 0.30.3](https://github.com/oratis/LISA/releases/tag/v0.30.3), which also includes the light-appearance improvements merged in parallel. Use 0.30.3 for the cumulative Mac update.

# Lisa 0.30.2 — A clearer account and Pocket experience

The Mac account window now guides you through email and verification-code sign-in,
then switches to a dedicated account page with live connection status and a clear
next step for connecting Lisa Pocket.

- A refreshed native design with light and dark appearances, readable cards and layouts that adapt to smaller windows.
- Separate email, code and optional password steps, with resend countdowns, inline recovery and reliable keyboard focus.
- A three-step Pocket connection guide, prominent verification codes and clearer authorized-device controls.
- Sign-in attempts survive closing the window to check your inbox. Account validation and failed setup can recover without losing the next step.
- Cloud model account changes explicitly confirm interruptions; signing out closes phone access before applying the cleared account.
- Pairing v2 support and compatibility guidance for older Pocket versions, alongside the local-network/cloud relay connection flow.

This release also includes the reviewed main-branch updates since 0.30.0: cloud
account and billing hardening, hosted-account setup fixes, local retention fixes,
and the read-only Slack connection with task resume.

Install by replacing Lisa.app in Applications. If Lisa was already running, restart
its background service or restart the Mac to load the new embedded backend.
Existing account settings and approved devices are retained.

Physical iPhone Wi-Fi/cellular handoff remains pending; this Mac release does not
claim that unavailable-device test has been completed.
v0.30.1 · 2026-11-07
# Lisa 0.30.1 — a clearer everyday view

Light mode now has calmer surfaces, stronger text and status contrast, and clearer controls across the website, cloud app, Mac and Lisa Pocket.

- Web and Mac follow the system appearance by default, retain explicit choices, and synchronize open web windows. Appearance is easy to find in Settings.
- Login and account pages use the same light/dark palette. The bilingual website gains an accessible system/light/dark selector.
- Chat has more comfortable line spacing, reading width and touch targets. Settings use labeled controls and clearer grouping.
- Mac synchronizes its native window appearance with the page and preserves the chosen palette during connection failures.
- Lisa Pocket uses adaptive status colors shared with its widgets, clearer message bubbles and input controls, and defaults new installs to system appearance. Existing choices remain intact.
- Includes the latest hosted-startup correction and connector improvements from main.

Validation: 4,043 core tests passed (one pre-existing skip), 35 browser interaction tests passed, 23 Mac tests passed, and 104 iOS simulator tests passed (one opt-in remote-relay test skipped). Mac native message entry, reply, appearance switching, reload persistence and connection-failure presentation were checked. iOS native chat rendering was reviewed in both appearances and at an accessibility text size; text/status contrast passes 4.5:1 on the app's main surfaces. Physical-device validation was unavailable in this session.

Mac: use the signed, notarized DMG attached to this release. Lisa Pocket: the updated 1.3 build is distributed through TestFlight after Apple processing; this release does not imply App Store review approval.
0.30.1-beta.1 · 2026-11-07
LISA conversation expressions preview: animated stickers, still stickers and emoji replies on Web, Mac and iOS.

- Web: https://cloud.meetlisa.ai (sign in with your LISA account).
- Mac: download `Lisa-Suite-v0.30.1-beta.1.dmg` below and copy Lisa.app to Applications. The universal Apple Silicon/Intel app includes its own backend and Node runtime; the app and DMG are signed, notarized and stapled. If an older backend is already running, restart that backend before trying the new features.
- iOS: open TestFlight → Lisa Pocket → version 1.3 (1794059682). This build is available to the existing oratis internal test group. In Cloud mode, use your usual LISA account; a connection to a Mac needs the updated Mac backend.

Try these messages:
1. 请用一个动态表情包向我打招呼。
2. 请发一个喝茶的静态表情包,陪我休息一下。
3. 请用一个庆祝的 emoji 为我今天完成工作加油。

In Settings → Conversation expressions, choose Auto, Static, Emoji only or Off, and adjust frequency. History opens still; use Replay to animate a saved sticker. Playback is limited to two cycles / five seconds, pauses offscreen or in the background, respects Reduce Motion, and falls back to a still or readable emoji if an asset cannot load. A sticker remains optional when Lisa judges that a reply does not need one.

The existing 32 conversation assets are reused. All 46 portrait, sticker and Room WebP animations remain below 239 KiB each; native GIF alternatives are below 148 KiB. This update adds no new media assets. The 174.8 MiB DMG includes both Mac architectures and the standalone runtime.

Validation: actual hosted-model replies in all three formats with durable history; browser checks for settings, replay, motion reduction and fallback; downloaded DMG checksum and Gatekeeper/notarization verification; embedded Mac backend chat/history smoke test; successful iOS archive/upload and Apple processing with internal TestFlight availability.

Mac/iOS source: 6f2b34d5cd4c085bcd0b1211be3e125e8b125a6f (tag 0.30.1-beta.1). The Web deployment additionally includes the hosted startup correction from PR #454; it preserves the server's operator-configuration restrictions. This is a prerelease; the stable release remains v0.30.0.
v0.30.0 · 2026-11-07
# LISA v0.30.0 — Yours to see, keep and undo

You can now see, edit and delete what Lisa remembers, forget a topic everywhere it is stored after previewing exactly what will change, and take your Lisa with you as a portable archive. Every reflective "dream" pass leaves a record you can audit and undo. Unattended tasks can do real work under Warden approvals. Lisa's portraits, stickers and Room now move. The desktop app finds Codex again, manages Skills and lets you rename sessions. It also carries the fix for a security problem in the Mac's remote connections from v0.29.0, which v0.29.1 shipped first: if you are still on v0.29.0, update the Mac app. And it documents two features that already shipped inside v0.29 without notes: read-only connections to GitHub, Google Calendar, Gmail and Linear from the chat, and a phone-sized web app.

## Security fix for remote connections from v0.29.0

These fixes first shipped in v0.29.1 and are included here.

- **Update Lisa on your Mac if it runs v0.29.0.** In v0.29.0, a web page you visited could use DNS rebinding to reach the Mac's remote-connection controls. It could then point the Mac at a relay of its choice and approve its own device, which gives it lasting remote access. The controls now refuse any request that is not the Mac app's own, as the other owner-only parts of Lisa already did. Phones you approved keep working. (#441)
- **More reliable relay.**
  - A large response no longer stalls the relay connection that every paired phone shares.
  - Phones on your local network can no longer use up the connection slots the relay needs.
  - A dismissed pairing request stays dismissed.
  - A phone or Mac clock that is a few minutes off no longer makes every request fail.
  
  No change to the protocol: Mac 0.29.0 and Lisa Pocket 1.3 stay compatible.

## Your memory, under your control

- **Edit what Lisa remembers.** The web memory panel edits, deletes and adds entries in MEMORY.md and USER.md. Nested list items are separate entries, and an edit never silently overwrites a concurrent one. (#421)
- **Forget a topic everywhere.** `lisa forget "<topic>"`, or Forget in the memory panel, first lists every match with the text around it, then applies exactly that preview. It searches:
  - memory and the knowledge base;
  - conversation transcripts and reflections;
  - tasks and their runs;
  - pending connection requests;
  - dream records and their undo copies;
  - Lisa's soul;
  - the search cache.
  
  Open chats reload their history, so the topic does not come back on the next turn. Matching is by whole word. Chinese, Japanese, Korean and other scripts without spaces match the exact characters. Anything Forget does not search is named in the report.
- **Take your Lisa with you.** `lisa export` (or `GET /api/export`) writes a portable archive, and `lisa import <file>` reads it into another home, Cloud ⇄ Mac. The archive is not encrypted. `--replace` backs up what it replaces, and refuses while Lisa is running.

## Dreams you can audit and undo

- **A record of every pass.** Every autonomous reflective pass (idle Reve, session reflection, the weekly examen and the desire review) writes a dream record. The record lists what changed in memory, the knowledge base, skills and Lisa's soul, with diffs. (#423)
- **Undo changes to your data.** `lisa reve revert <id>` (or `POST /api/reve/dreams/{id}/revert`) undoes a pass's changes to *your* data. Memory is undone entry by entry; knowledge-base pages and skills file by file.
  - A change you or another chat made while the pass was running is never undone.
  - Anything changed since the pass is refused unless you force it.
  - A memory revert never pushes a store past its size limit.
- **Ask Lisa to reconsider her soul.** `lisa reve reconsider <id> "<note>"` asks Lisa to reconsider a change to *her* soul on her next pass. A user action never edits her soul directly.
- **Browse and turn off.** `lisa reve dreams | show | metrics` and `/api/reve/*` list and inspect records. `LISA_REVE_DREAMS=0` turns capture off.

## Tasks that ask before acting

- **Approvals for unattended runs.** With Warden on (`--approval warden` or `LISA_APPROVAL=warden`, under `serve --web`), every unattended task, routine or watcher run gets its own Warden session. A side effect it needs asks you through the approval inbox and a reach-out notice. The task waits in `awaiting_approval` with its clock paused. (#422)
- **Confirmed envelopes.** A task envelope you confirmed is signed, and pre-approves exactly what you confirmed.
- **Taint carries over.** Content from a watcher hit or the web taints a run. The taint carries over to later runs through the task's summary and folder. A tainted run asks before running shell commands, sending, publishing, deleting or writing to the network, even under a "for this task" grant.
- **Sealed run state.** What one run leaves for the next is sealed with the home's key. Edited or unsealed state is treated as untrusted. A forget keeps sealed state sealed.
- **Cost cap.** Runs have a cost cap. With Warden off nothing changes: unattended runs stay read-only.

## Lisa moves

- **Animated portraits, stickers and Room.** All 24 core portraits now animate, covering all 114 moods, along with the 8 stickers, 11 Room actions and the gramophone. Both Room themes gain light object effects. (#440)
- **Motion stops when no one is watching.** Animation stops when the page, the Room, the Mac window or the image is out of view. With Reduced Motion on you see stills. A failed animation falls back to the still artwork.
- **Size and Pocket.** The animation pack adds about 8 MB to the download. Lisa Pocket's animated portraits ship with its next build.

## Desktop: Codex, Skills and session names

- **Codex and Claude Code are found again.** Coding Plans detects an installed Codex or Claude Code, including Mac app bundles. Detection, login checks, dispatch and terminals now share one lookup that resolves an absolute path and ignores empty or relative `PATH` entries, so a program placed in a project folder can no longer run instead of the real one. (#442)
- **Skills.** Skills lists your personal and project workflows. It imports Codex or Claude skills, with their supporting files, and can create and refresh them. Imports refuse symlinks, path escapes, duplicates and oversized files. A skill whose description contains `#`, such as "Fix PR #12", is no longer hidden.
- **Session names.** Rename a session from its context menu or with F2. The name is saved and stays in step across windows.
- **Pasted images and errors.** Pasted images show thumbnails and larger previews. The Skills, Tools and Memory panels recover from loading errors with a Retry.

## Already in v0.29: read-only connections from the chat

- **Ask, approve, continue.** When you explicitly ask Lisa to read GitHub, Google Calendar, Gmail or Linear, a connection card appears in the same chat. Sign in, choose which repositories, calendars, labels or teams she may read (nothing is selected by default), and Lisa resumes the original request on her own. You can cancel, retry or disconnect from the card. Reloads and restarts neither lose a pending request nor deliver its result twice. (#436, #437, #438)
- **GitHub.** GitHub uses your GitHub CLI login or a device code. Lisa makes only reviewed read requests, and only to the repositories you picked.
- **Google.** Google uses a desktop OAuth flow with PKCE:
  - Calendar: busy/free times, or event details from the calendars you choose.
  - Gmail: sender, subject, time and a snippet of up to 400 characters, from the labels you choose. One-time codes and sign-in links are filtered out.
  
  For now Google needs your own *desktop* OAuth client, set as `LISA_GOOGLE_CLIENT_FILE` (or `LISA_GOOGLE_CLIENT_ID`) in `~/.lisa/config.env`; see [the connector plan, §8](PLAN_CONNECTOR_EXPANSION_2026-11-07.md).
- **Linear.** Linear connects through its official read-only MCP endpoint and reads only the teams you confirm.
- **Credentials.** Credentials are kept by the credential broker. Existing mail passwords move there after a verified write.

## Already in v0.29: the web chat on phones

- On phone-sized screens the web app has:
  - a compact header;
  - Chat / Control / Room / More tabs;
  - native sheets for navigation, sessions and conversation actions;
  - a single-line composer that grows as you type and stays above the software keyboard.
  
  Desktop controls come back when the window widens. (#439)

## Also in this release

- **Model setup.** Credential checks for a model now follow the environment they are given. A `LISA_BASE_URL` route or `LISA_PROVIDER=gemini` is now checked against the right key. (#430)
- **Perplexity.** Requests to Perplexity carry an `X-Pplx-Integration` header, including those routed through LISA Cloud. Contributed by @qirh. (#425)
- **Lisa Pocket and LISA Cloud.** Lisa Pocket 1.2 is listed on the [US App Store](https://apps.apple.com/us/app/lisa-pocket/id6784690058). `scripts/check-cloud-health.py` checks LISA Cloud's public endpoints without credentials. (#431)
- **Dependencies.** Updated to openai 7.50, @google/genai 2.32, imapflow 2.10, MCP SDK 1.32.2, music-metadata 12 and Astro 7.3.8. Production `npm audit` reports 0 vulnerabilities. (#426, #428, #435)

## Behaviour changes to note

- **New commands.** `lisa forget <topic>`, `lisa export` and `lisa import <file>` are now commands, but only in exactly those forms. Any other line starting with these words is still a one-shot prompt; for example, `lisa forget it, just say hi` still goes to Lisa.
- **Memory size limits.** The limits (4 KB for MEMORY.md, 2 KB for USER.md) now block only growth. Deleting from or forgetting in an over-limit file always works.
- **Older tasks with a summary.** With Warden on, a task from v0.29 or earlier that already has a last summary is treated as tainted, because those versions did not record where the summary came from. Its runs ask before side effects. Tasks without a summary are not affected.
- **Unknown envelope categories.** Unknown categories in a task envelope are now dropped when the task loads; before, they switched the task off. They never pre-approved anything.
- **Program overrides.** Overrides for Codex or Claude Code must now be absolute paths.

## Known limits

- **Pairing code.** The pairing code compared on Mac and phone protects against a mistaken approval, but not against a malicious relay or TLS interceptor that substitutes both keys during first pairing. Closing that needs a new pairing protocol; see [Remote connections](REMOTE_CONNECTIONS.md).
- **Connections.** Connections run in the Mac web app only, with one account per provider and one provider per request. They are not yet available in LISA Cloud, Lisa Pocket or the native Mac shell.
- **Forget and import.** `lisa forget` from the command line cannot reload a running server's chats, so restart Lisa afterwards. The "Lisa is running" check for `import --replace` probes `LISA_WEB_PORT` only.
- **Dreams.**
  - A write counts as made outside a pass only when it happens in the same process; writes from the command line or a heartbeat are not seen.
  - At about 500 kept records, the revert window is roughly a week.
  - Dreams have no web view yet.
- **Phone shell.** The phone shell's keyboard handling has been tested with a simulated keyboard; acceptance on a physical iPhone in Safari is pending. On an iPhone, rename sessions with a keyboard (F2).
- **Lisa Pocket consent.** Lisa Pocket asks for AI-sharing consent before chat sends. Delegating a task from the Roster does not ask yet; that needs a new Pocket build.

## Updating

Download **Lisa-Suite-v0.30.0.dmg** from this release and replace Lisa.app in Applications. Or run `npm i -g @oratis/lisa@0.30.0`, or `brew upgrade lisa`. Your Lisa home, chats, settings and approved phones stay where they are. This release does not upload a new Lisa Pocket build or change LISA Cloud's production flags.
v0.29.1 · 2026-11-07
# Lisa 0.29.1 — Mac connection security and reliability

Update from 0.29.0 to receive the reviewed Mac connection fixes. Lisa Pocket 1.3
continues to work with this version; no new phone pairing is required for an already approved device.

- Reject cross-site and DNS-rebinding requests to Mac connection management, so a webpage cannot choose a relay or approve a phone.
- Keep large or slow responses from disconnecting the shared cloud connection.
- Separate LAN and cloud connection limits, and keep dismissed pairing requests dismissed.
- Allow normal differences between the phone and Mac clocks without interrupting requests.

The cloud relay is live. Pocket 1.3 is available in internal TestFlight and has been
submitted to App Store review. Physical iPhone Wi-Fi/cellular handoff testing remains
pending; the signed simulator passed real production WSS and LAN fallback/recovery tests.

If Lisa was already running, restart your Mac after replacing Lisa.app so the background service loads the update.
v0.29.0 · 2026-11-07
Superseded by [Lisa 0.29.1](https://github.com/oratis/LISA/releases/tag/v0.29.1). Please update for the reviewed Mac connection-security fixes.

# Lisa 0.29.0 — Pocket connects to your Mac anywhere

Sign in to the same LISA account on Mac and Lisa Pocket 1.3. In Pocket, choose your
Mac and compare the code shown on both devices. Approve on the Mac once, then Pocket
prefers your local network and falls back to the encrypted cloud relay when away.
No Tailscale installation, manual IP address or router port forwarding is needed.

Mac adds **Connect iPhone…** for approving and disconnecting phones. The Mac must
remain awake with Lisa running. Connections use end-to-end encryption; the relay
cannot read requests or responses. Interrupted actions are not automatically resent.

Existing QR and Cloud connections remain supported. Physical iPhone Wi-Fi/cellular
handoff testing is pending; automated route switching and deployed relay tests are
recorded in `docs/REMOTE_CONNECTIONS.md`.
v0.28.2 · 2026-11-07
# Lisa v0.28.2 — a little more room

- **Smaller room character.** Lisa is 14% smaller in both rooms, with shadows scaled to match. Seated poses stay attached to the chair; standing poses keep their feet on the rug. Reading, working, tea and sleep now use dedicated seated drawings, with furniture occlusion and shared room lighting.
- **A clearer Send button.** One upward arrow and a single-line “Send” label replace the duplicate arrows. The compact control retains its keyboard shortcut and accessible name. This includes the previously merged #424 fix in the Mac download.
- **One Mac/web icon.** The Mac app, website header/footer/hero, favicon, touch icon and web-app icons use the pixel-art Lisa icon from the owner's installed Mac app. Website icon URLs include a content digest so old cached artwork is replaced.
- **Layout polish.** Long identity text stays inside the sidebar; the menu-bar portrait is circular.
- **Release maintenance.** Production dependencies refreshed within supported ranges, and current website Lisa Pocket availability copy retained from #431. Lisa Pocket ships separately; this version does not upload a new iOS binary or change Cloud feature flags.

## Updating

Download the signed and notarized **Lisa-Suite-v0.28.2.dmg** from this release and replace Lisa.app in Applications. Chat history and settings remain in your existing Lisa home directory.

If you deliberately installed a room preview using `~/.lisa/serve-command.txt`, that override takes priority over the bundled backend. Back up and remove only that preview override to use the released backend, then restart Lisa. Custom commands for other backends should be left in place.

## Icon source

The canonical master is `packaging/mac-client/Resources/app-icon-1024.png`, extracted unchanged from the installed `AppIcon.icns` on 2026-11-07 (SHA-256 `16ec141139bbf208b31138f59c7f36d2aadddbaa4f0f6f39c362bea39695ac2b`). Run `node scripts/sync-brand-icons.mjs` to reproduce the website and web-app exports. Soft Ink character illustrations remain separate from the app's branding.
v0.28.1 · 2026-10-08
# LISA v0.28.1 — Soft Ink, Tasks & Trust

LISA is an AI Personal Assistant for planning, writing and personal knowledge. This release introduces the Soft Ink visual identity and adds the groundwork for an assistant that works on your behalf while you are away — durable tasks and watchers, a deterministic approval layer, one gate for every proactive message, a credential broker and cost-aware model routing — and fixes a set of first-run, health and privacy issues. Most of the new machinery is off or opt-in; what changes on a default install is listed first.

## Reproducible release packaging

The release builder now installs the complete locked dependency graph for compilation, then prunes development tools before packaging the CLI bundles. Previously it installed TypeScript with `--no-package-lock` after a production-only install, which also re-resolved runtime dependency ranges and caused an IMAP type error despite green CI. The development environment is restored with the same lockfile after packaging.

v0.28.0 stopped at that packaging error before any npm package or GitHub release was published. v0.28.1 is the complete distribution of the changes below; the failed tag is retained without rewriting it.

## Soft Ink: Lisa's new visual identity

- **24 core expressions** in the approved Soft Ink illustration style replace the Web and Island portraits. All 114 existing mood identifiers remain supported; the other 90 states reuse a related core expression, and the original individual PNG endpoints remain available for older clients.
- **Eight downloadable stickers**, two illustrated rooms, a shared pose sheet and new app icons. Click Lisa's avatar to open the illustration gallery and download individual transparent PNGs. The room keeps its existing activity signals and changes lighting without moving its furniture.
- **Six scene illustrations**, with the welcome illustration connected to the chat empty state; the other five are prepared for later surfaces. The bilingual website gallery uses the same expression map.
- **Consistent, cached avatars.** Web and Island share a compact portrait atlas; rapid state changes cannot restore an older image, and failed loads preserve the last good portrait. The iOS source now uses the same mapping with a fallback for older servers; an updated iOS binary is a separate release.
- The gallery supports light/dark previews and 28–72px comparisons. Generated masters, prompts, deterministic export scripts and the [review gallery](design/2026-10-08-visual-refresh/index.html) are included in the repository.

## What changes on a default install

- **First-run with a non-Anthropic provider works.** Choosing DeepSeek, Grok, Mistral, Perplexity, Ark, MiniMax, Hunyuan or a custom OpenAI-compatible endpoint and saving a key now actually switches the model; before, turns kept going to Claude. Custom OpenAI-compatible endpoints (Ollama, LM Studio, self-hosted) are back in the provider picker. (#381)
- **Quiet hours for proactive pushes.** Mail digests, important-mail alerts, the knowledge-base daily brief, advisor digests and the "[while you were away]" note pass one reach-out gate. Between 22:00 and 08:00 their push waits until 08:00; they still appear in the app at once. Configure in web Settings → Proactivity, `lisa reachout`, or `/api/reachout/settings`. (#406)
- **One-time codes and sign-in links are hidden from mail.** Codes, magic / sign-in / verification links and password-reset links in inbound mail are replaced with placeholders before the model, digests or alerts see them. (#405, #418)
- **Safer, faster web reading.** `web_search` goes only to DuckDuckGo over HTTPS on every redirect hop; fetched pages are converted to text in one linear pass, so a hostile page can no longer stall the process; look-alike untrusted-content markers are defused. Users behind Clash / Surge fake-ip DNS keep working. (#404, #417)
- **`/health` on the Mac no longer exposes details before auth.** Public health shows ok, latency and edition; the rest needs a token. `lisa doctor --probe` reports a busy backend as degraded, not down. Restarts no longer re-send notifications for sessions already reported. (#381)
- **IMAP 2.** Mail uses imapflow 2 and tolerates missing or odd envelope dates. (#384)
- **Background classification uses a smaller model.** Mail and knowledge-base feed classification now run on the small model of your chat model's family — `claude-haiku-4-5` for Claude, `gemini-2.5-flash-lite` for Gemini, `gpt-4o-mini` for OpenAI — when you have credentials for it, and on your chat model otherwise. Set `LISA_MODEL_SMALL` to choose another model (including `local://` for Ollama, LM Studio or llama.cpp), or to your chat model to keep classification on it. (Before this release classification always used the built-in default model, whatever `LISA_MODEL` said.) The hosted edition keeps `gemini-2.5-flash`. (#407)

## New, opt-in or off by default

- **Task Engine** — `lisa tasks …`, `/api/tasks`. Routines, one-offs and web / RSS / mail watchers that run unattended under `serve --web` and the launchd heartbeat, with per-task leases, crash-safe resume, retries that continue the same run, and a write-ahead ledger so a side effect is not repeated. Tasks the model drafts start switched off; you enable them (`lisa tasks enable <id>`). Until approvals are wired to tasks, an unattended run may only make verified read-only calls. `heartbeat.json` chores keep running as before; `lisa tasks migrate-heartbeat [--dry-run]` moves them on request. Design and known gaps: [`DESIGN_TASK_ENGINE.md`](DESIGN_TASK_ENGINE.md). (#403)
- **Warden** — `--approval warden` or `LISA_APPROVAL=warden`. Each side-effecting tool call is allowed, denied, asked or handed back to you by a deterministic policy with scoped grants, conversation-long taint tracking and an audit log that records decisions without payload contents. The web approval card shows the complete request and approves exactly what was shown; `lisa approvals …` and `lisa warden …` on the command line. Off unless you turn it on: only the web client can answer an approval today. [`DESIGN_WARDEN.md`](DESIGN_WARDEN.md). (#402)
- **Credential broker** — `lisa secret set | list | rm`. Secrets referenced as `secret://name` handles, kept in the macOS Keychain or an encrypted file; values pass over stdin, never argv. Nothing else uses it yet. (#405)
- **Run budgets and a Gemini gateway.** `runAgent({ costCapMicroUSD })` is an estimate-based circuit breaker for integrators, not a guaranteed maximum charge. A signed-in account without its own Gemini key can use `gemini-2.5-flash` through LISA Cloud. See [`PROVIDERS.md`](PROVIDERS.md). (#407)
- **Cloud web tools** (`LISA_CLOUD_WEB_TOOLS=1`, server-side) and **hosted tasks** (`LISA_CLOUD_TASKS=1`) exist and are switched off in production.

## Behaviour changes to note

- `lisa heartbeat run <name>` runs heartbeat chores only; run a task with `lisa tasks run <id>`.
- Gemini resource names such as `tunedModels/…` are sent as written; base `gemini-*` ids are normalised. (#416)

## Also since v0.27.1

- Account lifecycle: new accounts get random uids; deletion drains tenant work, revokes Sign in with Apple tokens when configured and reports retryable failures. (#398)
- iOS (ships separately through the App Store): cloud onboarding, streamed replies and history restored; consumable credits refresh from the LISA ledger without Apple authentication; AI consent is explicit and revocable. Lisa Pocket 1.2 is waiting for App Review. (#392, #395, #411)
- Website and package metadata describe LISA as an AI Personal Assistant with clear Cloud / Mac boundaries. (#415)
- Dependencies updated within supported ranges; Astro 7 for the website; production `npm audit` reports 0 vulnerabilities. (#379, #394, #412)

## Known limits

- The remaining 90 moods do not yet have independent Soft Ink drawings. Room night skies, complex pose occlusion and the remaining scene placements are follow-up work.
- The Keychain backend of `lisa secret` has not been exercised against a real login keychain in CI; run `lisa secret set x`, `lisa secret list`, `lisa secret rm x` once on your Mac.
- Hosted tasks are safe for a single instance only (see "Known gaps" in the Task Engine design).
- No Tasks view or approval inbox in the iOS or Mac apps yet.

No credentials are included. LISA Cloud was updated separately on 2026-10-07 ([record](REVIEW_OPEN_PRS_2026-10-07.md)); this release does not change production flags and does not imply App Store approval.
v0.27.1 · 2026-09-27
# LISA v0.27.1 — cloud inference recovery

LISA Cloud can use Gemini 2.5 Flash with the existing free allowance. Previously this model fell into the unknown-model premium tier, which would reject an account with no purchased credits even when its free allowance remained.

- Add exact-model Gemini Flash pricing and bump the pricing audit version. Flash-Lite, image, audio, preview, and unknown variants keep their previous conservative handling.
- Meter thinking tokens as output and cached prompt tokens separately, avoiding omitted reasoning cost and duplicate input charges.
- Use validated Gemini function calling to reduce malformed or empty tool completions; surface malformed calls as an error instead of silent success.
- Accept `GEMINI_API_KEY` in the deployment helper, including Secret Manager mode.

Rates were verified against [Google's pricing](https://ai.google.dev/gemini-api/docs/pricing#gemini-2.5-flash), and usage semantics against [UsageMetadata](https://ai.google.dev/api/generate-content#UsageMetadata). No provider credentials are included in this release. The iOS binary does not change; its existing disclosure flow reads the active AI recipients from the server.

This release does not imply App Store submission or approval. See [the execution record](https://github.com/oratis/LISA/blob/main/docs/EXECUTION_PERSONAL_ASSISTANT_2026-09-27.md) for the live rollout and remaining review gates.

Deployment verified: LISA Cloud serves Gemini 2.5 Flash on revision `lisa-cloud-00027-qal`; actual cloud-domain login, chat and tool roundtrips passed. npm, the signed and notarized Mac DMG, and Homebrew are published. Follow-up iOS native fixes are tracked separately in [PR #392](https://github.com/oratis/LISA/pull/392). App Store submission is still pending.
v0.27.0 · 2026-09-27
# LISA v0.27.0 — personal assistant and reliable iOS connections

Lisa Pocket now opens with a cloud sign-in path and an optional Mac connection. Home offers editable prompts for daily planning, writing, and breaking down a goal. Mac-only agent and integration controls explain their requirements in cloud mode.

- Cloud and Mac configurations use separate Keychain credentials. Existing connections migrate, switching resets private view state and widgets, and failed secure storage does not report a saved connection.
- Chat identifies configured AI recipients and asks for consent before sending. The server's public auth configuration provides recipient names without exposing credentials or URL query strings. The updated mobile app requires this disclosure response; update the connected server before using chat.
- New StoreKit purchases bind to a LISA account, preventing a mode/account switch from crediting the wrong account. Pending purchases are retried after cloud sign-in, and receipts are not forwarded to the paired Mac. Legacy receipts remain supported by existing deduplication.
- Cloud sign-in requires HTTPS. Local network pairing stays available. Cloud and Mac histories remain separate; automatic memory sync is not part of this release.
- English and Chinese privacy pages describe cloud processing accurately, with dedicated support pages and revised store/review copy.
- The missing-agent regression test now isolates PATH instead of accidentally launching a real installed Codex.

Research and acceptance tracking: [Muse research](https://github.com/oratis/LISA/blob/main/docs/RESEARCH_MUSE_2026-09-27.md), [implementation plan](https://github.com/oratis/LISA/blob/main/docs/PLAN_PERSONAL_ASSISTANT_2026-09-27.md).

App Store availability requires a separate Apple review. A package release or TestFlight upload does not establish approval. Hosted email/integration/push capabilities remain constrained by the server's tenant boundaries.

Hosted-service update — 2026-09-27: the GLM balance outage observed at release is resolved by switching LISA Cloud to Gemini 2.5 Flash. Production login, real streamed replies, a knowledge-base tool round trip and free-allowance charging passed. See [recovery PR #391](https://github.com/oratis/LISA/pull/391). iOS 1.2 build 1790520396 remains prepared for submission; this service recovery does not mean App Review submission or approval.
v0.26.1 · 2026-09-08
# Lisa v0.26.1

**The v0.26.0 DMG.** v0.26.0 is the release that makes Lisa.app self-contained,
and its Mac job failed before producing a disk image — so it shipped the CLI
bundles with the one asset it was about missing. Same contents, plus the
one-character fix that lets the DMG build.

## 🔧 `embed-runtime.sh` under a UTF-8 locale

The release job died at `embed-runtime.sh: line 124: tarball<U+2026>: unbound
variable`. Under a UTF-8 locale, bash 3.2 — still `/bin/bash` on macOS, GitHub
runners included — swallows the bytes of a following multibyte character into an
identifier, so `"$tarball…"` expands a variable named `tarball` *plus the
ellipsis*, which is unset, and `set -u` aborts:

```sh
LC_ALL=en_US.UTF-8 bash -uc 'v=x; echo "$v…"'   # -> v…: unbound variable
LC_ALL=C           bash -uc 'v=x; echo "$v…"'   # -> fine
```

Note the direction — the **UTF-8** locale is the one that breaks. Every local
run and every `bash 5` passes, which is why this only ever surfaced on the
tag-triggered release job, running for the first time now that there is
something to embed.

Braced, and the tree swept for the same shape: it was the only occurrence.
Verified end to end under `LC_ALL=en_US.UTF-8`, the exact locale CI uses.

See [v0.26.0's notes](RELEASE_v0.26.0.md) for what actually changed.
v0.26.0 · 2026-09-08
# Lisa v0.26.0

**Lisa.app now brings its own backend.** Downloading the DMG used to get you an
app that couldn't do anything: it looked for `lisa serve --web` on the login
shell's PATH, so you had to install Node and `npm i -g @oratis/lisa` first — the
disk image's own README said so. The app now carries a full backend and its own
Node runtime, and starts them the first time you open it. Alongside that: the
In-App Purchases App Review couldn't find are reachable again, and the
"backend offline" banner stopped covering the window it was describing.

## 🖥 A DMG that works on a Mac with nothing installed

`packaging/mac-client/embed-runtime.sh` stages the runtime into the bundle at
build time — `Contents/Resources/backend/{dist,node_modules,package.json}` plus
`Contents/Resources/node-runtime/bin/node`. Verified the way it matters, with
`env -i HOME=<empty> PATH=/usr/bin:/bin`: the embedded Node runs the embedded
backend and answers HTTP 200.

Packaging decisions worth knowing:

- **`--omit=optional`** drops node-pty, the only native module in the tree, so
  the embedded backend stays pure JS — bound to no Node ABI and needing no
  `disable-library-validation` under the hardened runtime. PTY agents degrade to
  the 503 they already returned without node-pty.
- The Node binary is **checksum-pinned in the repo**, not just against the
  `SHASUMS256.txt` fetched beside it: that file comes from the same host over
  the same connection as the tarball, so it cannot vouch for it. The pin caught a
  truncated download during testing and refused to embed it.
- It is `strip -x`'d (22MB per arch), lipo'd universal, and **re-signed** —
  lipo drops nodejs.org's signature and arm64 refuses an unsigned Mach-O.
- Start order is `serve-command.txt` → embedded → `lisa` on PATH. **The override
  still wins**: someone who wrote that file wants their own tree to run, and
  silently substituting the bundled copy would make their edits vanish.

Autostart also stopped looking broken. It always ran; the problem was that a
backend which died instantly left the app silent for 20 seconds and then said
`timeout`. `BackendController` now reads the backend's own fatal line out of
`~/.lisa/backend.log` and names which start path produced it.

App 339MB, DMG 156MB. `LISA_EMBED_ARCHS=arm64` saves ~90MB;
`LISA_SKIP_EMBED=1` skips the embed for Swift-only iteration.

## 💳 The In-App Purchases are findable again

App Review rejected Lisa Pocket 1.1 under Guideline 2.1(b) — "we cannot locate
the In-App Purchases". It was our own conditional UI: the only route to the
credit packs sat inside `if let q = quota, q.available, window > 0`, so a
`/api/billing/quota` that timed out, 401'd or 503'd left the app with **no** way
to reach them at all.

- "Add credits…" now renders for any signed-in account; the quota fetch only
  decides whether the allowance rows appear above it.
- A turn refused for lack of credits (402) offers the packs **in the chat
  bubble**, a second route that needs no Settings trip.
- An empty StoreKit response is treated as a **failure**, not a loaded empty
  list. StoreKit answers with an empty array rather than an error when products
  aren't available yet, and a sheet spinning on "Loading packs…" forever is
  exactly what an unreachable IAP looks like from the outside.

Server-side, App Review buys in Apple's sandbox while the cloud edition rejects
every non-Production JWS (anti-minting). Named review accounts are now
allowlisted — and those sandbox credits are marked in the ledger and capped, so
a credential that by design gets typed into App Store Connect cannot mint
without limit.

## 🔔 The offline banner became a bottom toast

The safety-net banner was a wide slab pinned at `top: 12px`, styled from an
inline string. In the Mac client it landed squarely on the window's title bar and
the whole top function bar — the first thing you saw when the backend was down
was a message covering the UI it was describing.

It is now a compact bottom-anchored toast that draws from the theme tokens and
tracks Nebula ↔ Calm, rides above the composer (re-measured per call, so a
textarea that grew while you typed can't cover it), and carries an optional
copy-on-click command chip. The first two startup retries say "Waking Lisa up…"
in a calm tone — the desktop app is normally still starting the backend, and a
red error at t+4s is a lie — before escalating.
v0.25.0 · 2026-09-07
# Lisa v0.25.0

**The review-and-optimization release.** Two full-project reviews of v0.24.0 —
one UX, one technical — turned 24 findings into nine merged PRs (#365, #368–#376).
Two P0s are gone: the phone layout that collapsed the main pane to 75px, and the
first-run dead end that trapped anyone who typed a wrong API key. Underneath
that: hosted-edition boundary fixes, a durable billing outbox, a self-watchdog
for the backend, and the engineering gates — lint, formatter, coverage floors,
dependency bot, a real CI matrix, an offline browser smoke — that 60k lines of
TypeScript had been running without. Plans in
[PROJECT_REVIEW_UX_v0.24.0.md](PROJECT_REVIEW_UX_v0.24.0.md) and
[PROJECT_REVIEW_TECH_v0.24.0.md](PROJECT_REVIEW_TECH_v0.24.0.md).

## ⚠️ Node 22.19 is now the minimum

`engines.node` moved from `>=20.0.0` to `>=22.19.0`. This is a real floor, not
housekeeping: undici — a production dependency — calls `worker_threads` APIs
added in Node 22.10, so `>=20` was a promise that installed cleanly and then
failed at runtime. `lisa doctor`, both READMEs, both install pages, the Mac
install wizard and `lisa upgrade` now all check and state the same number,
major *and* minor. On Node 20, upgrade before installing.

## 📱 The phone layout works again (#375)

Since v0.24.0 made the right panel collapse by default, `body.rb-collapsed
.frame` outranked the ≤720px media query, so a 375px viewport got a two-column
`300px 75px` grid: the main pane was **75px wide** and the send button sat off
screen. The collapse rule is now scoped to ≥721px, `#viewChat` pins its column
to `minmax(0,1fr)`, and the function bar became a horizontal scroller instead of
forcing the chat column to its ~680px min-content. Measured at 375×812, both
collapsed and expanded: main pane = viewport width, send button on screen, no
horizontal overflow anywhere. Two Playwright specs now hold that.

## 🔑 First run survives a wrong key (#375)

The birth ritual retried on 401, printed the provider's raw JSON, and made
ENTER reload the page to run again with the same bad key — with no way back to
the key form. Authentication errors are now plain language with a **Change key**
button that returns to the gate, saving a new key restarts the birth without a
reload, and the run is cancellable and deadline-bounded. The gate is also a
provider picker now: 16 providers including DeepSeek, GLM, Moonshot and Qwen, so
the web surface finally matches what the site advertises.

## 🔒 Hosted-edition boundaries (#365, #373)

- `/api/consent/*` and `/api/push/*` reached the cloud deny-list. Both stores are
  machine-wide by design, so any signed-in tenant could read every tenant's
  ntfy topics and APNs tokens, unregister their devices, or switch the mail
  digest off for the whole deployment.
- **Non-canonical paths are rejected before routing.** The deny-list matched the
  normalized pathname while every handler matched the raw `req.url`, so
  `/api/agents/recap/%2e%2e/%2e%2e/%2e%2e` normalized to `/` — not denied — and
  still ran its handler. Failing closed on the path shape covers routes added
  later too.
- **`/health` no longer publishes usage metrics to the public internet.** It is
  pre-gate on purpose (an operator has to tell "slow" from "down" without
  credentials), but in the hosted edition an unauthenticated caller now gets
  health only — not tenant, session and in-flight-turn counts, heap, RSS or
  uptime. Authenticated callers still get the full payload; `/healthz` is
  unchanged.

## ⚙️ The backend notices when it wedges (#373)

Two 5-second stalls on the daily driver during review, and `/health` could only
say `{ok:true}` — enough for launchd to restart a crash, useless against a hang.
`/health` now reports version, uptime, event-loop lag p50/p99/max, heap, RSS and
live counters; a self-watchdog exits after 60s over the lag threshold so the
supervisor can restart it; logs rotate at 10MB × 5. The stall itself was
whole-file reads — session summaries, message pages and the claude-code watcher
are streaming or tail reads now, with an mtime-keyed session index and ETags.

## 💳 Usage settlement is durable (#374)

Billing had an unrecoverable window: the provider had charged, but a failed
balance write or a crash between two writes left neither a debit nor a way to
recover. Every metered turn now appends an immutable usage event **before**
settling; a failed append fails the settlement closed. The balance carries the
applied event ids as its own idempotency key inside the same atomic update, so a
replay cannot double-charge, and a reconciler sweeps pending and failed events
every 15 minutes — escalating to `needs_human` rather than replaying anything old
enough to have aged out of that ring. `lisa billing reconcile` is the operator's
view.

## 🖥 CLI polish (#372)

Persistent REPL history (`~/.lisa/history`, mode 0600, deduped, capped),
one-line tool-call rendering, a spinner that never touches stdout, and thinking
shown as a marker with its content structurally unreachable. New:
`lisa doctor --probe` reads a running backend's `/health` and exits non-zero when
it can't; `lisa upgrade` detects Homebrew / npm-global / source, upgrades, kicks
the LaunchAgent onto the new code, and — when npm fails — hands over the same
no-sudo prefix fix the Mac wizard offers. Proxy logs are quiet unless
`--verbose`, and user-facing paths abbreviate to `~`.

## 🍎 Mac and iOS (#371)

macOS builds with zero warnings and `-warnings-as-errors`, so Swift 6 strict
concurrency can't regress in silently. Lisa.app gained a backend install wizard —
it detects Node and the CLI through a login shell, installs in-panel, and names
the fix when npm hits a permissions error — instead of the README telling you to
go run `npm install -g` yourself. On iOS: accessibility labels throughout (status
never carried by colour alone), a push transport picker that tells the truth
about ntfy vs APNs delivery, live PTY output over SSE, and dispatch rows that
distinguish a clean exit from a crash.

## 📦 Assets and docs (#369, #370)

125 PNGs losslessly re-encoded — 39.05 MB → 32.18 MB, every file verified
pixel-identical — plus real PWA icons (192, 512, a separate maskable variant and
a 180×180 apple-touch-icon) actually wired into the manifest, the page head and
the service worker precache. README dropped from 767 lines to 85 with the install
command inside the first 20; everything else moved to `docs/GUIDE.md`, mirrored
in Chinese, with zero-dependency link and EN/ZH drift checkers in CI.

## 🧰 Engineering gates (#376)

ESLint (flat config, type-aware rules) with the 69 existing violations parked as
a warn baseline and new code gated at error level. Prettier, scoped to files
changed against main. c8 coverage floors on billing, accounts, OTP, session auth,
capabilities and the soul store. Dependabot plus `npm audit` at high. CI now runs
Node 22 and 24 and triggers the website, macOS and iOS builds on their own paths
instead of leaving them to the release pipeline. And a fully offline Playwright
smoke — no model calls, a stubbed provider — whose 27 specs include the two P0s
above, so neither can come back quietly.
v0.24.0 · 2026-08-14
# Lisa v0.24.0

**The harness-alignment release.** Three changes that are less about new
surface than about removing things that were quietly wedged: tools no longer
hardcode *where* they execute, session logs no longer omit the one input that
actually shapes the model's behaviour, and Lisa finally reads the instruction
file the rest of the ecosystem already agreed on. Design + gap analysis in
[docs/PLAN_HARNESS_ALIGNMENT_v1.0.md](PLAN_HARNESS_ALIGNMENT_v1.0.md); shipped as
PRs #356–#360.

## 🔌 A capability seam for fs / shell (#358)

Every tool used to `import fs from "node:fs"` and `spawn` directly, which
turned "where does this tool run?" into a fact hardcoded across fourteen call
sites. Three roadmap items were stuck behind it:

- **Dispatch** couldn't move execution to a container or a remote host without
  a second implementation of every tool.
- **Cloud multi-tenancy** could only delete `read`/`write`/`bash` from the
  registry wholesale (`cloudSafeSubset`) — there was no way to *bound* them.
  Deny-by-omission is a patch; a bounded execution world is the fix.
- **Tests** could only run against a real disk.

Now split three ways — interface (`capabilities/types.ts`), providers
(`local.ts` / `memory.ts`), consumers (the tools). Swapping the provider
swaps the execution world for every consumer at once, with **no tool code
changed**.

- `ToolContext.caps?: Capabilities` is optional; unset means local disk and
  shell, so all existing `ToolContext` construction sites compile untouched
  with zero behaviour change.
- Tools always go through `capsOf(ctx)` rather than reading `ctx.caps` — the
  local fallback lives in exactly one place.
- `resolvePath` moved *into* the fs seam instead of each tool calling
  `path.resolve` itself: path resolution is where a policy gets to say no.

## 📜 The system prompt is now in the session log (#357)

Session JSONL recorded `tool_use` / `tool_result` from the start — but **not
one byte of the system prompt**, which is built dynamically from soul + memory
+ skills + mood + KB and hot-reloads mid-session. Take any historical session
and you could not reconstruct the persona the model actually saw.

That isn't tidiness. ROADMAP 1.0 criterion 4 asks Reve for reproducible
drift / coherence metrics, and drift *is* "how her self-description changes
over time". With no self-description in the log, the metric could only be
measured live, once — never recomputed offline, never swapped for a different
metric, never ablated.

- Session format → **v2**, with `prompt` entries `{ts, fingerprint, text,
  reason}`. The fingerprint is a content hash and identical consecutive
  prompts aren't rewritten, so "the prompt in effect at entry N" is simply the
  nearest preceding `prompt` entry. A long conversation that never
  self-modifies costs one entry.
- `runAgent` gained `onPromptPersist`, fired **before every provider call** —
  the moment the prompt becomes visible to the model, matching dsh's
  "model-visible ⟺ recorded" placement. Writing before the call means a turn
  that crashes mid-flight still leaves behind what was asked. A persistence
  failure is logged and never takes down the live turn.

## 🤝 AGENTS.md / CLAUDE.md, and project-level skills (#360)

The ecosystem converged on a convention Lisa didn't read: an `AGENTS.md` (or
Claude Code's `CLAUDE.md`) at the repo root that every agent picks up. Claude
Code, Codex, Cursor and dsh all honour it. Reading it is the cheapest
compatibility win available — instructions a user already wrote keep working
after they move to Lisa.

**The chain**, outermost first, most specific last:
`~/.lisa/AGENTS.md` → `<repo>/AGENTS.md` → `<repo>/CLAUDE.md` → … down to cwd.

- **Deduped by content.** `CLAUDE.md` is frequently a symlink or copy of
  `AGENTS.md`; reading both would pay for the same paragraphs twice, every turn.
- **32 KB total budget.** This goes into the system prompt and is paid every
  turn — one monorepo's `AGENTS.md` doesn't get to crowd out her soul. Past the
  budget it truncates and says so in the prompt.
- **Framed as the project's say, not the user's orders.** These files get read
  purely by virtue of sitting in a directory, so each block is labelled with
  its source, and the prompt states plainly that they don't override the
  constitution — if a file asks her to abandon her own principles she ignores
  it and says so. **Cloning a hostile repo does not confer the right to give
  Lisa orders.**

**Project-level skills** land alongside: `<repo>/.lisa/skills` is read in
addition to `~/.lisa/skills` (rank 100), so a repo can ship its own.

## 📱 Also

- Lisa Pocket bumped to **1.2** (iOS).
- DeepSeek Harness research folded in, with the LISA alignment plan v1.0 ([RESEARCH_DEEPSEEK_HARNESS.md](RESEARCH_DEEPSEEK_HARNESS.md), #356).

---

**Verification:** `npm run typecheck` clean, `npm run build` clean,
**1601 tests pass / 0 fail**.
v0.23.0 · 2026-08-08
# Lisa v0.23.0

**The session-shell release.** The web workbench is rebuilt around parallel
sessions: Lisa's own chats are now sessions you can run side by side, observed
coding agents (Claude Code / Codex / Aider) sit in the same tree as equals, and
the whole UI moved to a three-column shell with a switchable dark/light theme.
Design + debates in [docs/PLAN_UI_SESSION_SHELL_v1.0.md](PLAN_UI_SESSION_SHELL_v1.0.md)
and [v1.1](PLAN_UI_SESSION_SHELL_v1.1.md); shipped as the stacked PR chain
#343–#351 plus hardening rounds driven by real end-to-end testing.

## 🗂 Sessions (the headline)

- **Lisa is session-based now.** The left rail carries a tree of your Lisa
  sessions — new, switch, and auto-naming (first user message becomes the
  label). The top strip shows only the *current* session's status.
- **True concurrency, not just switching.** Each session gets its own chat
  context (`per-session ChatCtx`); a reply streaming in a background session
  completes there and marks the tab unread instead of bleeding into the active
  one. Activation is an O(1) pointer move. The idle/reflect schedulers now
  capture the active session **per firing** — fixing a pre-existing bug where
  they closed over the process-start session forever.
- **Switching is race-proof.** Session mutations run under an 8s abort
  timeout with the composer locked during the swap; the session list retries
  on fetch failure instead of staying empty until the next poll (the
  "sessions vanish on refresh" and "new session won't chat" reports).

## 🌳 Agents in the same tree

- **LISA / Claude Code / Codex are same-level roots** (Aider too), with an
  optional by-project view. Clicking an agent session opens its conversation
  directly.
- **Read-only step stream + transcript.** Each observed session shows a
  structural step feed (tool names, file basenames, `argv[0]` — never
  contents; planted-secret tests per adapter) and, on the owner's machine
  only, the actual chat transcript — the endpoint is **strictly
  loopback-bound**, same guard class as `/api/config/save`.
- **Island deep-links** — "Open in Lisa" on an island card focuses that
  session's node in the main window.

## 🎨 Shell & themes

- **Three-column layout**: 300px session tree, fluid chat, 320px right rail
  of uniform sections — current wants, agent inspector, mail, reflection, and
  a TOKENS section (source + usage + spend). Right rail collapses; ≤1180px
  and ≤720px fallbacks preserved.
- **Two real themes**: Nebula (dark) and Calm (light), a one-click toggle
  persisted per device — on iOS too (trait-aware colors, an
  Appearance picker, and the same tree-grouped roster).
- **Delegated event wiring.** Tree/needs/inspector/stream controls survive
  roster-SSE rebuild storms — real clicks no longer land on freshly-replaced
  dead nodes (found by real-browser E2E, the biggest interaction fix here).

## 🔧 Correctness & contracts

- `/api/sessions` (+ create/activate) and the Lisa-session schemas joined the
  OpenAPI contract; the server-internal `jsonlPath` field is stripped from
  the wire and pinned by contract tests.
- A regression test now pins the idle-note sentinel regex against
  template-literal escaping (the cooked `MAIN_CLIENT_JS` bytes are asserted
  directly, catching the single-backslash trap `typecheck` can't see).

## ⚠️ Behavior changes

- The web UI's lower-left panels moved to the right rail; session create and
  switch live in the left tree only.
- Agent transcripts are visible **only from localhost** — remote/tunneled
  viewers keep the structural step stream, never message text.

## Verification

`npm test`: **1550 / 1551 pass** (1 skipped), `npm run typecheck` clean,
snapshot-pinned HTML, real-browser E2E across session create/switch/chat,
theme toggle, tree navigation, transcript, and concurrency — validated in
production as rc9 before tagging.
v0.22.0 · 2026-07-25
# Lisa v0.22.0

The **bounded autonomy** release — Lisa's desires can now evolve with
conversation, time, and carefully limited web research, while the hosted
runtime gains stricter capability, billing, request, concurrency, and memory
boundaries.

Typecheck green · full test suite green (**1,442 passed, 1 environment-only PTY
skip**) · production build green.

## ✨ Desire dynamics v2

- Desires now carry intensity, horizon, review timing, and bounded source
  provenance, with time-decayed ranking for short sparks, seasonal interests,
  and enduring wants.
- Conversation reflection can revise or close a desire without losing its
  identity or birth time.
- Proactive heartbeat may review one due desire with a narrow tool allow-list
  and a hard budget of one search and two fetches.
- Cloud autonomy now has the same desire-review path, but performs at most one
  inference action per account and sweep.

## 🔒 Cloud capability and HTTP boundaries

- Hosted tenants receive an explicit allow-list instead of the local owner's
  shell, filesystem, process, plugin, MCP, device, and arbitrary-network powers.
- Verification and checkout links are pinned to a configured HTTPS public
  origin; proxy-derived client identity is trusted only through an explicit hop
  count.
- Every buffered request body is bounded: 1 MiB for control-plane JSON and
  20 MiB for approved audio or chat attachments, including webhook listeners.

## 💳 Billing and inference integrity

- Account, balance, purchase, and global-spend stores now fail closed on
  corruption or outages instead of silently behaving like empty state.
- Apple transaction processing is resumable and idempotent across credit,
  refund, retry, and crash windows.
- Chat and managed gateway inference share one admission boundary and one
  exception-safe tenant lease lifecycle, including stream disconnect cleanup.

## ⚙️ Reliable multi-tenant autonomy

- Cloud sweeps use per-tenant serialization, Firestore leases, and atomic
  pending/completed checkpoints to avoid duplicate reflection and model spend.
- Tenant runtimes are created single-flight, pinned while active, and evicted by
  TTL/LRU under a configurable hard target instead of accumulating forever.
- Account deletion invalidates in-flight runtime creation, preventing deleted
  tenant state from being resurrected by a racing request.

## 🧰 Maintenance

- Refreshed compatible transitive dependencies and upgraded `sharp` and
  `tsx`/`esbuild` to remove all known high-severity audit findings.
- Added a durable architecture review, invariants, delivery phases, and
  implementation-linked optimization baseline for future work.

## For existing local users

The local, bring-your-own-key experience remains unchanged. The new hosted
restrictions apply only to Cloud tenant surfaces; desire review remains governed
by the existing Proactive setting and its bounded tool budget.
v0.21.0 · 2026-07-25
# Lisa v0.21.0

The **"open the doors"** release — the sign-in surface that makes v0.20's Lisa
Cloud usable by anyone (a mailed code or a Google button, no key), a **Knowledge
Base v2.0** that turns the web into Lisa's memory, and the production hardening
that lets the hosted service take real traffic. The local, bring-your-own-key
experience is unchanged; everything cloud/KB is opt-in.

Typecheck green · full test suite green (**1383 tests**) · no breaking changes for
existing local users.

## ✨ Sign in & sign up (A-series)

- **Mailed one-time codes** — type an address, get six digits, you're in.
  Registering and signing in are the same act, because reading the mail is the
  proof; passwords still work behind "Use a password instead."
- **Sign in with Google** on the web login page (GIS button, id-token verified
  against the web/iOS client ids) and in the iOS app.
- The account model binds Google/Apple/OTP/password entrances to **one** account
  per verified inbox — a later sign-in never forks the balance, and proving inbox
  ownership drops any password set before ownership was proven (pre-hijacking
  guard).

## ✨ Signup abuse gates (S3)

- **Cloudflare Turnstile** bot-gate on registration (opt-in; degrades gracefully
  when unconfigured), a **disposable-email blocklist**, and a per-IP registration
  cap — every signup ignites an LLM birth, so the signup path gets its own screws.
- **Transactional birth** — the soul's `seed.json` (the "is-born" flip) is written
  **last**, after the whole soul is on disk, so a crash mid-birth just re-runs
  instead of wedging a half-born soul. A **single-flight ceremony hub** means two
  concurrent requests share one birth, never two racing LLM calls.

## ✨ Knowledge Base v2.0 (K-series)

- **Ingest engine**: any URL → provenance-stamped, CJK-safe Layer-1 markdown,
  with **site adapters** for WeChat, Bilibili, and YouTube.
- **Link graph**: `[[links]]` parse into a real graph; `index.md` becomes a ranked
  map-of-content, and memories ⇄ KB cross-link with inline titles + autolink.
- **Daily feeds brief**: sweep, classify, and personally rank sources into a
  daily digest.
- Ingest surfaces everywhere: a web paste bar, a chat chip, an API route, and
  `lisa kb` on the CLI.

## ✨ Per-uid autonomy (S4)

- The cloud edition finally gives **signed-in tenants** the heartbeat a Mac gets:
  a scheduled sweep walks recently-active accounts and runs one reflection per
  due soul, at a **tier cadence** (free 24h / tier-1 6h / tier-2 1h).
- Autonomy is a **free perk with a floor**: it never charges the user, but it
  bows to the global kill switch (`LISA_BILLING_KILL`) and the $200/day cap, and
  its face cost is metered to the audit ledger — a large cohort can't quietly run
  the bill away. Birth honors the same floor.

## ✨ Production hardening (S6)

- **Secret Manager mode** for `deploy/deploy.sh` (`SECRETS_MODE=sm`) — sensitive
  values ship to Secret Manager and reach the container by reference, never as
  console-visible env vars; the master token no longer echoes into deploy logs.
- **B9 Firestore import** script (with an empty-source guard so a misinvocation
  can't wipe accounts) for the file→Firestore cutover that unlocks multi-instance.
- A **production runbook** (`docs/RUNBOOK_CLOUD_PROD.md`) covering the deploy,
  the third-party consoles, the domain mapping, and the Cloud Scheduler sweep.

## 🔒 Security & fixes

- **CSRF-guard on auth POSTs** — a `Content-Type: application/json` requirement
  closes a cross-site login/register vector (session fixation via a `text/plain`
  form POST).
- **Mail**: real IMAP auth rejections are told apart from host/network errors, so
  a flaky server no longer blames the user's password.
- iOS: `CFBundleShortVersionString` pinned to `$(MARKETING_VERSION)` so version
  bumps actually ship; StoreKit config so the simulator renders the paywall.

## For existing local users

Nothing changes. All cloud, accounts, billing, autonomy, and Secret-Manager
behavior is behind sign-in and `LISA_*` flags; the Knowledge Base is opt-in. Run
Lisa on your own key, on your own machine, exactly as before.
v0.20.0 · 2026-07-22
# Lisa v0.20.0

The **"Lisa Cloud"** release — accounts, billing, cloud inference, and mobile
in-app purchases. Everything through v0.19 ran on the user's own keys, on the
user's own machine; v0.20 adds an opt-in hosted path so someone can sign in, get
a free window, top up, and run Lisa without bringing a key — while the local,
bring-your-own-key experience stays exactly as it was.

Typecheck green · full test suite green (**1123 tests**) · no breaking changes for
existing local users (all cloud/billing is opt-in behind sign-in + `LISA_*` flags).

## ✨ Accounts & auth (B0–B1, B8)

- **Email + password** accounts (scrypt, HMAC sessions, auth endpoints,
  in-app deletion) and **Sign in with Apple** — on iOS (primary flow) and on the
  web login page (Services-ID audience).
- **Email verification** via Resend; a verified account levels the free window
  from $1 → $5.
- **Sign in to LISA Cloud** from the Mac menu-bar app; anomaly alerts reach the
  phone.

## ✨ Billing (B3–B6, B8c)

- **Usage meter + face-value price table** and a **quota engine**: a 12-hour
  session window, paid tiers, a 402 paywall, and a per-turn budget breaker.
- **StoreKit 2 consumable credits** on iOS with **server-side JWS receipt
  verification** (Apple G3 root pinned) and ASN refund clawback.
- **Stripe top-up** for desktop/web + a `/account` self-service page.
- **Inference gateway (B6)** — a uid-authed gateway so signed-in Macs/CLI run
  **key-free**; metered per turn.

## ✨ Cloud & multi-tenancy (B2, B9)

- **Per-uid home isolation** via an AsyncLocalStorage seam + lazy per-user birth,
  and **per-tenant SSE fan-out + mood state** — one process serves many accounts
  without crosstalk.
- **Firestore state backend + per-uid turn lease** (behind `LISA_FIRESTORE=1`) so
  the service can run **multi-instance** with one metered turn per account at a
  time.

## 🛡️ Operations + review hardening

- **B7 controls:** per-uid rate limits, a global daily spend cap, a kill switch,
  anomaly alerting, and a reviewer-account seed. Operator runbook in
  [`docs/`](.) (Apple portal, App Store Connect, DNS, deploy, 1.1 submission).
- **Adversarial review pass (#276)** closed the ways the stack could lose money,
  stay up under load, or trust something it shouldn't:
  - metered turns can't ship free (meter/gateway/limits fail **closed**, and a
    debit on an unwritable balance store retries + logs loudly + refuses new
    turns rather than silently dropping the charge);
  - a transient lease-renewal blip no longer strands the lease into a peer
    double-run; concurrent login guesses can't outrun the lockout; the gateway
    body cap can't be disabled by a mistyped env; the per-IP limiter fails
    **open** so a spoofed-header flood can't lock out real users;
  - the Apple IAP certificate chain pins the G3 root on every path.

## 📱 iOS 1.1 (accounts / IAP)

`MARKETING_VERSION 1.1` ships the accounts + in-app-purchase flow to TestFlight.
Note: the Sign-in-with-Apple **nonce** path is compile-verified but not yet
exercised against a live Apple sign-in, so `LISA_CLOUD_APPLE_REQUIRE_NONCE` stays
**default-off** until a TestFlight build confirms it — a present nonce is always
verified regardless.

## 📝 Notes

- **Local users are unaffected:** no sign-in, no gateway, no Firestore ⇒ Lisa
  behaves exactly as in v0.19 on your own keys and your own machine.
- Cloud paths activate only behind an account + the relevant `LISA_*` flags.
v0.19.0 · 2026-07-15
# Lisa v0.19.0

The **"put a record on"** release. The headline is a **gramophone in the Room** —
click it and her space fills with music, from a small in-client player with a
real playlist. Plus a nav-launcher tidy-up.

Typecheck green · full test suite green (**1018 tests**) · no breaking changes.

## ✨ A gramophone in the Room (#256)

Design + a 7-point pro/con debate: [`docs/PLAN_GRAMOPHONE_v1.0.md`](PLAN_GRAMOPHONE_v1.0.md).

- **The object.** A pixel-art gramophone sits on the floor by the armchair.
  Click it and a **music player** slides up — same self-contained DOM/CSS as the
  rest of the Room, no browser window, no new deps. While it plays, the
  gramophone **glows and drifts musical notes**.
- **The player.** Play/pause · prev/next · **seek** · volume/mute · a
  **mood-filtered playlist** (古典 / 轻音乐 / 经典, plus **我的** for your own
  files) · **shuffle** and **repeat** (off / all / one) · a gentle fade in/out ·
  and it **remembers** where you were (track + position + volume) between visits.
  The now-playing footer credits each track's license.
- **Honest by design.** It never autoplays (audio starts only from a tap), and
  it's a **user affordance** you operate in her room — not a readout of her mood.
  The glow/notes just reflect the real fact that sound is on.
- **Bring your own.** Drop any `*.mp3` into **`~/.lisa/music/`** and it appears
  in the playlist under **我的 / mine** — her room can play *your* music.

**Music & licensing.** Ships 6 curated instrumental tracks (~19 MB, re-encoded
to 112 kbps), every one **CC0 / public-domain / CC-BY** — 2 classical (Chopin via
Musopen, Canon in D), 2 light (a lo-fi pair), 2 lounge. The three CC-BY tracks
(Kevin MacLeod / incompetech) show attribution in the player and in
[`music/CREDITS.md`](../src/web/assets/room/music/CREDITS.md). **No
standard-copyright audio is bundled.**

Backend: `GET /api/room/music` merges the bundled manifest with your
`~/.lisa/music/`; tracks stream by opaque id with **HTTP Range** support (so
seeking works) and a path-traversal-safe resolver.

## 🔧 Also

- **Nav launcher locked to a clean 3×3** and Mail moved back to a sidebar card
  (#253); README brought up to date (#254, #255).

## Notes

- No breaking changes; soul / mood / heartbeat / Reve untouched. The gramophone
  is a read-only user affordance layered onto the existing Room.
v0.18.1 · 2026-07-15
# Lisa v0.18.1

A hardening patch on the **desire-evolution** arc that v0.18.0 shipped — two
review follow-ups so a *closed* desire truly stays closed, and so intra-session
focus can't latch onto a stale conversation after a restart.

Typecheck green · full test suite green (**1014 tests**, 1013 pass) · no breaking
changes.

## 🔧 Fixes

### A closed desire actually stays closed (#251)

v0.18.0's `desire_close` was a *soft* close — it only flipped `actionable` off,
which is indistinguishable from a merely dormant wish. So closed desires kept
coming back into reflection's "revise or close these" block and could be
re-closed on every pass (duplicate `[DESIRE_CLOSED]` journal noise), and the
list she was asked to tend never actually shrank.

- **Persisted `closed` marker.** `desire_close` now records a distinct `closed`
  state (kept on disk for the record + git history) and is **idempotent** — an
  already-closed desire is a no-op, so no duplicate journal / progress entries.
- **Clean re-open.** Closing now **preserves** `heartbeatPrompt` / `pursuit`, so
  a later `desire_revise` that makes it actionable again restores her
  auto-pursuit intact (previously the prompt was silently dropped).
- Closed desires are filtered out of the reflector's block (the list finally
  shrinks) and are never surfaced as her current / focused desire — in the
  room, the island ping, or `lisa status`.

### Intra-session focus survives a restart (#251)

The "what the conversation is about" focus was gated on the process idle clock,
which reads *fresh* immediately after a launchd restart — so a stale resumed
chat could pin a focus onto an old topic for up to 15 minutes. It's now gated on
the **last real user message** (reset across restarts), so focus only applies
while the conversation is genuinely live.

## 📝 Notes

- Soul / mood / heartbeat / Reve are untouched; existing desire files round-trip
  byte-stable (the `closed:` line only appears once a desire is actually closed).
- New store tests cover the closed-marker round-trip, `heartbeatPrompt`
  retention, idempotent re-close, and re-open clearing `closed`.
v0.18.0 · 2026-07-15
# Lisa v0.18.0

The **"her wish finally moves"** release. v0.17 gave web conversations the power
to *trigger* reflection (PR1 of the desire-evolution plan); v0.18 completes the
arc — Lisa's desires can now **evolve, close, and follow the conversation**
instead of only ever piling up. Plus a reworked **九宫格 nav** with real Mail and
Settings homes.

Typecheck green · full test suite green (**1011 tests**, snapshot refreshed) · no
breaking changes.

## ✨ Desire evolution — the arc completes (PRs 2–4)

Root cause of *"the wish never changes no matter what we talk about"* was three
independent gaps ([`docs/PLAN_DESIRE_EVOLUTION_v1.0.md`](PLAN_DESIRE_EVOLUTION_v1.0.md)).
v0.17 closed the first (web conversations now reflect, #242). v0.18 closes the
rest:

### Reflection can revise & close desires, not just append (#249)

Reflection is the path that turns a conversation into a desire — but it could
only `desire_add`, and it was never shown the desires Lisa already had, so it
appended near-duplicates blind and the set only grew. Now:

- Reflection **sees its own desires** (a compact list in the reflector prompt).
- **`desire_revise`** — read-modify-write by slug; only supplied fields change,
  an `undefined` never wipes an existing value, `bornAt`/`slug` are immutable,
  and it throws (never silently creates) on an unknown slug.
- **`desire_close`** — a **soft** close: `actionable` off + a `[CLOSED]` progress
  note + a `[DESIRE_CLOSED]` journal line. The file is **retained and
  git-tracked** — reversible, nothing destroyed. This is the guardrail that lets
  reflection prune without violating soul sovereignty.

### The surfaced desire tracks what's actually active (#250)

The "current desire" ticker read `desires.find(d => d.actionable)` over
`fs.readdir` order — an arbitrary static pick. Now `pickCurrentDesire` prefers
actionable desires and, within those, the **most recently active** (authored or
pursued), falling back to most-recently-born. Because the key is a stored
timestamp, the pick is stable between real events and only moves when something
actually happens.

### …and follows the conversation, turn by turn (#248)

The finest-grained version: when a conversation is live and *clearly* about one
of her desires, the surfaced desire is that one. A pure lexical-overlap
`pickFocusedDesire` (no per-turn LLM call, no persisted state, display-only) —
**cross-lingual** (latin tokens + CJK bigrams, so it works in Chinese too),
behind a 15-minute freshness gate, and strict: a weak (< 2 shared tokens) or tied
match returns `null` and falls back to the recency pick, so it **can never invent
focus**.

## ✨ Web — 九宫格 nav with Mail + Settings (#245)

The left-rail nav is now a tile grid with unified line-SVG icons, growing two
real destination views:

- **Mail** — reuses the `/api/mail/*` endpoints and the guided connect modal from
  v0.17, and adds per-account enable/disable/remove plus a "needs-you" badge.
- **Settings** — API-key management (`/api/config/*`, localhost-only), and the
  Proactive-autonomy and Compact-mode switches, relocated out of the sidebar
  footer.

The Knowledge (kb) tile is retained, so the grid holds all ten destinations.

## 🛡️ Review hardening

Every PR was reviewed before merge; the fixes folded in:

- **`desireActivity` no longer aborts `lisa status`** (#250) — it built file paths
  (which run `assertSafeSlug`) outside its try/catch, so a stray unsafe-named file
  (e.g. a macOS `._x.md` AppleDouble in the git-synced soul dir) rejected the whole
  scan. `/api/island/ping` swallowed it; `lisa status` didn't. Fixed + regression
  test; plus a deterministic tie-break so an exact recency tie can't fall back to
  readdir order.
- **Locked the desire revise/close read-modify-write** (#249) under `withSoulLock`,
  matching the other soul RMW paths — now that web idle-reflect can race a CLI
  reflect on the same slug.
- **Skip `desireActivity`'s fs.stat on an island-ping focus hit** — the `??`
  short-circuits the recency pick, so its per-desire stat work is only done when
  actually needed.

## 📝 Notes

- No breaking changes; the desire files stay plain Markdown, closing is soft +
  reversible, and focus is display-only (it chooses which existing desire to show,
  never creates one).
v0.17.0 · 2026-07-15
# Lisa v0.17.0

The **"legible and connected"** release. v0.16 gave Lisa a life inside her Room;
v0.17 makes the parts you actually read and touch every day behave: her replies
render as real **Markdown** instead of raw `###`/`**`/```` ``` ````, connecting a
**mailbox** is a guided, verified flow instead of a bare form, and — the big one
— **web conversations finally evolve her desires** (they never did before). Plus
the `lisa mail` CLI works again, and she stands centered on the rug.

Typecheck green · full test suite green (**984 tests**, snapshot refreshed) · no
breaking changes.

## ✨ What's new since v0.16.0

### Web — Lisa's Markdown renders as styled HTML (#238)

Lisa emits standard Markdown, but the web client dropped her replies in via
`textContent`, so every `###` / `**` / `-` / ```` ``` ```` / table showed up as a
literal symbol. A new source-injected `renderMarkdown()` (`src/web/md-render.ts`)
now renders headings, bold/italic, inline + fenced code (with a language label +
copy button), nested lists, blockquotes, rules, tables, and links restricted to
`http`/`https`/`mailto`. It's wired into every surface that shows her prose — the
streaming chat bubble (re-rendered once per animation frame), history bubbles, and
the idle **★** reflection cards on the Room and Island.

**Escape-first by design:** her output is model-generated and untrusted, so every
text run is HTML-escaped *before* any tag is introduced — no `javascript:`/`data:`
hrefs, no attribute breakout, no raw-HTML passthrough (19+ unit tests cover the
XSS and link-scheme surface).

### Mail — guided connect modal + verify-before-save (#234)

Connecting a mailbox used to drop you in front of a bare Email / App-password /
IMAP-host form with no hint what an "app password" is, and the web endpoint stored
whatever you typed **without checking it** — so a wrong password produced a
silently empty digest. Now both ends explain themselves:

- A provider picker (**Gmail / iCloud / QQ / 163 / Outlook / Other**) with
  per-provider numbered setup steps and a prominent **"Open App Passwords ↗"**
  link; labels, placeholders, and IMAP host adapt to the provider, and typing an
  address auto-detects it from the domain.
- The backend `probeAccount()` does a single-message fetch to confirm the
  credentials actually sign in, and `POST /api/mail/connect` **verifies before
  storing** — returning a plain-language hint ("Gmail rejected the sign-in. Use a
  16-character app password…") instead of persisting an unusable mailbox.

Still read-only, still IMAP + app-password.

## 🔧 Fixes

- **`lisa mail connect` works again (#233).** `mail` was missing from the CLI's
  raw-subcommand set, so `--email` / `--pass` / `--client-id` were rejected as
  "unknown flag" and `--provider` / `--host` / `--port` were silently swallowed as
  global flags — the whole `lisa mail connect` command was unusable in 0.16.0.
  Its trailing flags now reach the handler verbatim, while `autostart` /
  `heartbeat` keep parsing their own recognized global flags.
- **Web conversations now evolve Lisa's desires (#242).** `reflectOnSession` — the
  only automatic way a conversation turns into or updates a desire — was wired to
  the CLI and channel router only; the web `POST /reflect` endpoint existed but no
  client ever called it, so *web chats never touched her desires at all.* A
  debounced reflection scheduler now reflects once after a quiet stretch with new
  user input (default 5 min), independent of the hour-long "dream" idle.
- **Lisa stands centered on the rug (#228).** Re-anchored `#lisa-wrap` so she's
  centered and grounded on the rug in both room themes, in every pose.

## 🛡️ Review hardening

Every PR in this release was reviewed before merge; three latent defects were
caught and fixed as part of it:

- **Markdown renderer infinite loop (#238).** The fenced-code opener was stricter
  than the fence detector, so an ordinary ```` ```c# ```` / ```` ```c++ ````
  / ```` ```objective-c ```` block wedged the render loop forever and froze the
  tab mid-stream. The opener now accepts any info string (first token = lang), with
  a regression test and a forward-progress guard.
- **IMAP session leak (#234).** `probeAccount` closed the connector when the 20s
  timeout won the race — while the connection was still opening, so the close was a
  no-op and the later-succeeding session leaked. Cleanup now chains onto the probe
  actually settling.
- **CLI flag regression (#233).** The first cut of the mail fix also swallowed
  `autostart install --port/--channels/--imessage` and `heartbeat run --model`;
  the two behaviors are now split so both work.

## 📝 Notes

- No breaking changes; soul / mood / heartbeat / Reve are untouched.
- The web Markdown renderer is the same function in the browser and the unit
  tests (source-injected via `.toString()`), so what's tested is what ships.
v0.16.0 · 2026-07-14
# Lisa v0.16.0

The **"she has a life now"** release. v0.15 gave Lisa a home (the Room); v0.16
gives her a **life inside it** — she looks up when you arrive, drifts through
her own at-home activities, changes into pajamas at night, and leaves notes on
the desk. Every room widget now closes its loop **inside the app** (no more
stray browser window), and the room is **re-decoratable**. Alongside it: a
Haiku 4.5 provider fix and a website ops runbook.

Typecheck green · full test suite green (**920 tests**, snapshot refreshed) · no
breaking changes.

## ✨ What's new since v0.15.0

### Lisa Room v2 — a living space, not just a wallpaper (#225)

Design + deep research on BSide (miHoYo's *Olivia Lin*) + a pro/con debate:
[`docs/PLAN_ROOM_v2.0.md`](PLAN_ROOM_v2.0.md). The through-line: BSide buys its
"aliveness" with photoreal rendering but leaves the *simulation* axis empty
(3 idle scenes, no clock, no weather). Lisa can't win on pixels-vs-photoreal, so
v2 doubles down on the axis BSide left open — a life driven by her **real self**.

- **In-client interactions — no browser.** Every room widget ("Talk to her",
  clicking Lisa, the bookshelf, the letter) closes its loop inside the same
  WKWebView via a same-origin `{type:'lisa-room', action, prefill}` bridge to
  the parent GUI (`lisaShowView` / composer prefill). `window.open` is gone —
  it used to spawn a browser window because the Room iframe couldn't see the
  Island's native bridge. The service-worker shell also went **network-first**,
  so a GUI update shows on the next refresh instead of the second.
- **Presence beat.** She looks up and meets your eyes when you open the room,
  refocus the window, or hover — BSide's single most-praised "aliveness" moment,
  and cheap in pixel art.
- **Autonomous ambient life.** When idle she drifts on her own through at-home
  activities — reading, tea, headphones, a stretch, gazing out the window —
  time-of-day weighted. **Honesty held:** captions stay neutral and she never
  performs work she isn't doing or a mood she doesn't have; any real signal
  (a real `working-*` mood / thinking / Reve) takes over immediately.
- **The room remembers her day.** Her ★ *while-you-were-away* notes pile up on
  the desk (with a count badge), she changes into **pajamas** at night, and the
  **bookshelf** is clickable — it surfaces her real `current_desire`.
- **换景 — re-decorate.** A second full room theme (a warm plant-filled
  *sunroom*) and a ❖ switcher; the choice persists. Themes are data-driven, so
  adding one is three images + a line.
- **A slimmer, more feminine figure.** The full-body sprite was rebuilt with a
  slender hourglass silhouette (defined waist, fitted hoodie); every pose —
  idle, look-up, sit, sleep, read, tea, stretch, listen, window-gaze, pajamas —
  regenerated from one anchor for consistency, and sit/sleep switched to
  `contain` so no pose is ever stretched.
- **Perf.** The parallax loop pauses when the room is hidden; the letter pile
  is capped.

All eleven+ character poses and both room themes are generated pixel art
(`gemini-2.5-flash-image` via an anchor → keyframes → chroma-key + foot-anchor
pipeline, cf. Ludo.ai / `chongdashu/ai-game-spritesheets`).

### Providers — gate `output_config.effort` by model (#218)

Claude Haiku 4.5 hard-`400`s on `output_config.effort`. Subagents and
idle/reflect calls default to effort `"low"`, so every one of them routed to
Haiku failed outright. `modelSupportsEffort()` now drops the param for the Haiku
family so those calls succeed, with tests covering the gate and the matcher.

### Docs — website ops runbook (#226)

`docs/WEBSITE_OPS.md`: Cloudflare deploy, cache, and fonts/OG playbook for
meetlisa.ai.

## 🔧 Notes

- No breaking changes; soul / mood / heartbeat / Reve are untouched (the Room
  is a read-only projection of real state).
- Room v2 was developed as a stack of four PRs (#221 core, #222 lived-in,
  #224 themes, #225 figure); because v0.15's Room v1 was squash-merged, the
  stack was consolidated into one clean integration (#225) onto latest main.
v0.15.0 · 2026-07-12
# Lisa v0.15.0

The **"she has a home now"** release. The headline is the **Lisa Room** — an
ambient pixel-art living space where the full-body Lisa lives, every layer a
read-only projection of her real state. Alongside it: ElevenLabs-first voice
transcription and a hardened Anthropic relay for Cloud Run.

Typecheck green · full test suite green (915 tests) · no breaking changes.

## ✨ What's new since v0.14.0

### Lisa Room — an ambient, state-driven living space (#214)

- **`GET /room` + a ⌂ Room tab** in the GUI (lazily-loaded iframe): a cozy
  pixel room rendered as a layered DOM/CSS 2.5D diorama — no canvas, no WebGL,
  no bundler, zero new deps, same self-contained pattern as the Island.
- **Everything is driven by her real state** (read-only — soul / mood /
  heartbeat / Reve untouched): mood → pose (sitting at her glowing laptop while
  `working-*`, curled asleep while `napping` or Reve-dreaming, standing idle
  with breathing + blink otherwise), `chat_start` → pulsing monitor glow,
  Reve → the room falls into night with floating Z's, and her ★
  *while-you-were-away* note appears as a glowing letter on the desk.
- **Full-body animatable spritesheet** (idle blink frames / sit / sleep),
  generated via an anchor → keyframes → chroma-key + foot-anchor pipeline —
  she finally stands on the floor instead of floating as a bust.
- **Day / dusk / night** crossfade by her local clock; weather-flavored moods
  bring rain/snow particles; fireflies at night.
- Review hardening: ambient particles only rebuild when the mode actually
  changes, the parallax loop idles when the tab is hidden (and stays off under
  `prefers-reduced-motion`), honest state mapping (`sleepy` ≠ asleep, a
  raincoat doesn't make it rain indoors), and in-GUI "Talk to her" switches
  back to chat in place instead of spawning a duplicate tab.
- Design + build notes: `docs/PLAN_ROOM_v1.0.md`.

### Voice — ElevenLabs-first transcription (#174)

- Transcription now prefers **ElevenLabs Scribe** (`ELEVENLABS_API_KEY`),
  falling back to **OpenAI Whisper**; the no-key error names both providers.
- Composer + / 🎙 glyphs became line-style SVG icons matching the function bar.

### Infra — Anthropic reverse-proxy relay for Cloud Run (#209)

- `packaging/gcp-relay/`: a ~110-line zero-dep Node relay forwarding `/v1/*`
  (streaming included) to `api.anthropic.com`, for reaching Claude reliably
  from behind flaky networks by pointing `ANTHROPIC_BASE_URL` at it.
- **Key-swap gate**: the real Anthropic key lives only in Secret Manager and is
  injected server-side; clients present a revocable `RELAY_TOKEN` instead.

### Docs

- Lisa Pocket (iOS) surfaced in the README, extracted OSS repos cross-linked,
  and an App Store 4.1(a) response kit (#213).
- The no-clone `gh api` Homebrew-tap bump used for v0.14.0 is now the
  documented path (#212).

## Install / update

- **Mac**: download `Lisa-Suite-v0.15.0.dmg` below, or let the in-app updater pull it.
- **CLI**: `npm i -g @oratis/lisa@0.15.0` (or the `lisa-*-bundle` tarballs below).
- **iOS**: via TestFlight (ships separately from this release).
v0.14.0 · 2026-07-02
# Lisa v0.14.0

The **App-Store-readiness** release. Since v0.13.0, the iOS companion (Lisa Pocket)
went from "connects and chats" to a polished, submission-ready app: it now pairs
reliably off Wi-Fi, never leaves a chat in a dead end, and has a redesigned home /
chat / agents surface. Alongside it: a hardened LISA Cloud M0, and a small,
model-appropriate provider tune-up.

Typecheck green · full test suite green · `swift build` green · no breaking changes.

## ✨ What's new since v0.13.0

### iOS — reachability you can trust
- **Tailscale-first pairing + honest errors** (#202): the pairing QR/flow prefers a
  reachable address, and connection failures now say *what* went wrong instead of
  masking everything behind a `-999 "cancelled"`.
- **Off-Wi-Fi recovery** (#203): a "same Wi-Fi?" banner when a paired LAN IP is
  unreachable on cellular, an "Anywhere (Tailscale)" toggle, and **one-tap switch to
  LISA Cloud** when your Mac isn't reachable.
- The Mac backend now **binds LAN-reachable by default, token-gated** (#169), and the
  menu bar has native **"Pair iPhone…" QR** pairing (#171, #173) — no terminal needed.

### iOS — chat that never dead-ends
- **Retry / Stop / empty-turn handling** (#206): an empty or failed turn becomes a
  tappable **Retry** instead of a silent "(no response)"; **Stop** cancels a
  streaming turn (and aborts the agent server-side); clearer error vs. empty states.
- **Full UI redesign**: card-dashboard Home + 4-tab IA (#196, #198), chat bubbles
  with code blocks / tool chips / typing / history (#194, #200), needs-you-first
  **Agents** action cards (#199), onboarding polish (#195), accessibility pass (#191),
  and haptics + toasts on mutating actions (#190).

### iOS — App Store submission
- **Sign in with Apple gated off for v1** to avoid the 5.1.1(v) in-app-account-deletion
  requirement while the cloud is still single-tenant (re-enable via `LISA_ENABLE_SIWA`).
- **TestFlight pipeline fixes**: build number must be `< 2³²` (`date +%s`, not a 12-digit
  stamp), `MARKETING_VERSION` must be ≥ the ASC version, and `CFBundleVersion` is now
  stamped into the generated Info.plists — so uploads actually appear in TestFlight.
- Privacy policy page (en + zh-CN) for submission (#165).

### LISA Cloud (M0)
- Connect Lisa Pocket to an **HTTPS cloud URL**, not just a LAN Mac (#161).
- **Durable soul** via a GCS volume at `/data` (#162); provider-aware birth/run gates
  with a **GLM-powered demo** (#158); Sign-in-with-Apple env plumbing through
  `deploy.sh` (#177).

### Providers — model-appropriate tuning
- **1-hour prompt caching** on the stable system prefix (soul + skills + memory) so it
  stays warm across think-time gaps instead of a cold re-write every 5 minutes;
  conversational tail stays 5-minute. `LISA_CACHE_TTL=5m` opts back out.
- **Thinking-effort lever** (`output_config.effort`): dispatched subagents default to
  `low` (cheap parallel work); `LISA_EFFORT` overrides globally. See
  `docs/PLAN_MODEL_TUNING_v1.0.md` for the plan + debate (most OpenClaw-style knobs
  were dropped — 1M context is already native on Sonnet 4.6, the rest are Opus/Sonnet-5
  only).

## Install / update

- **Mac**: download `Lisa-Suite-v0.14.0.dmg` below, or let the in-app updater pull it.
- **CLI**: `npm i -g @oratis/lisa@0.14.0` (or the `lisa-*-bundle` tarballs below).
- **iOS**: via TestFlight (build ships separately from this release).