Skip to content

feat: DM GAIA from Discord, and reminders, alerts and triggers it runs on its own - #6786

Merged
kovtcharov-amd merged 42 commits into
amd:mainfrom
kovtcharov:claude/discord-scope-gaia-integration-bf4a53
Nov 12, 2026
Merged

kovtcharov-amd merged 42 commits into
amd:mainfrom
kovtcharov:claude/discord-scope-gaia-integration-bf4a53

Conversation

@kovtcharov

@kovtcharov kovtcharov commented Nov 6, 2026 •

Copy link
Copy Markdown
Contributor

You couldn't message GAIA from Discord, and GAIA couldn't do anything later on its own: no "remind me at 5pm", no "alert me if main breaks". Now you DM your own bot from any device and the flagship agent answers from your PC, and in plain words it sets up reminders, summaries, change-triggered alerts and a heartbeat that stays silent until something needs you. Everything that changes the PC, or sets something up, waits for an Allow button.

  • Discord DMs: setup is a token paste in Settings → Messaging or /discord setup; only the account that DMs a one-time code can use the bot. Quick follow-ups are answered together, a Stop button (or "stop") ends a run, approvals show the exact command, and "Always allow" survives restarts for the paired account only.
  • Automations (core, not Discord-only): gaia.automations and gaia automation list|add|edit|pause|resume|run|remove, driven by the new automations skill in any app. Reminders (--at 10m, 5pm, tomorrow 9am), summaries (--every 1d --at 8am --days mon-fri), triggers (a read-only GitHub check every interval, the agent woken only on change) and alerts (the agent judges each interval and never repeats news). Discord delivers them today; the daemon clock is their eventual home.
  • Reads no longer prompt — gh reads and GAIA listing its own automations or a branch's CI, with or without a skill; writes still do. The gh policy now refuses bundled short flags, URL operands and HOST/OWNER/REPO, so a read can't hide a write or reach another server.
  • Answer in words: a bare "yes", "no" or "always" answers the one approval waiting, instead of queuing behind it until it expires.
  • Novice-first guides: the Discord and Automations pages walk setup click by click, explain approvals, privacy and disconnecting, and troubleshoot by symptom, with no terminal commands.
  • Edits don't run: editing a sent DM never re-runs it (an approved message must not run twice); GAIA now says so once, instead of staying silent.
  • Survives crashes: state is fsynced; a damaged file is set aside and reported once; a bridge restarted after a crash closes the "Thinking…" and prompts the dead one left open.
🔍 Technical details
  • Five schedulers exist (gaia schedule, the Agent UI's Scheduled tasks, the daemon clock, the email heartbeat, the Discord bridge). docs/plans/autonomy-engine.mdx names the daemon clock as the home; gaia.automations is front-end-agnostic (store, timing, checks, runner with a Sink) so moving the runner there is a wiring change, not a rewrite. An Agent UI panel for the list is a follow-up; listing and editing already work from every app's chat through the skill.
  • Checks are limited to gh reads that name --repo and gaia automation ci-status; on Windows only a real .exe runs (no .cmd through cmd.exe). Script checks GAIA writes itself are deferred until an approval can show the script, not just its path.
  • discord.py joins core install_requires (installers never add extras); its only dependency, aiohttp, is already core.

Evals to watch on the next RC: gaia_skills_lifecycle, gaia_shell. The skill catalog gains automations (was discord-automation), github-triage's description now covers any GitHub question, gh reads run unasked, and every Discord turn carries a short reply note.

Test plan

  • pytest tests/unit/test_automations.py tests/unit/messaging tests/unit/chat/ui/test_messaging_router.py
  • pytest tests/unit/test_skill_binary_grants.py tests/unit/test_shell_guardrails.py tests/unit/test_starter_skills.py tests/unit/cli/test_cli_docs_drift.py
  • Prompt golden regenerated: one skill line
  • go test ./internal/gaiadiscord/ ./internal/ui/chat/ ./internal/ui/components/ (in tui/); npx vitest run src/components/settings src/i18n and npx tsc --noEmit (in src/gaia/apps/webui)
  • Live on Windows, real bot, DeepSeek via Fireworks, driven from the Discord app like a user:
    • a reminder ("in 6 minutes … laundry") arrived on time as a fixed message
    • a price alert ran, found nothing, and stayed silent (logged "nothing to report")
    • "check every 12 hours, never 11pm–7am" edited it; "what are you watching?" listed it with the GitHub watch
    • a heartbeat was set up from one sentence, and GAIA flagged its overlap with the price alert
    • a PR trigger fired on a real push and named the new commit
    • three quick messages were answered together; "stop" and the Stop button ended a run; gh reads and file listings ran with no prompt (git reads still ask: a repository's own settings can run programs)
    • a typed "yes" / "always" answered the waiting approval; a file with hidden instructions was summarized and the injection flagged, nothing ran
    • a 300-line script write asked in one screen (path, size, the file attached as logtail.py), collapsed to one line once allowed, and the file arrived once; GAIA's own test log stayed on the PC
    • "clean up my Downloads" lists what it would delete and asks in the reply (before: the question never reached Discord and resolved to "cancel"); a delete names the exact files, offers no Always allow, and a Deny leaves them all in place
    • "what alerts do you have, and is main green?" ran both reads unasked, and "how do I turn one off" says to ask in chat, not a settings screen that doesn't exist
  • Linux (Ubuntu 26.04 in WSL, its own GAIA and Lemonade): gaia discord connect with no keyring explains itself, pairing by code, DM round trip, a reminder fired, and the two-PC lease handed over both ways with Windows
  • Packaged desktop app (0.25.4-rc.4): a new-tab link in Settings opened in the system browser (Chrome), not an app window — the same handler the Messaging page's links use
  • Not covered here: email scenarios (they need a Google or Microsoft OAuth client of the tester's own); left for a follow-up

Screenshots

Settings → Messaging → Discord, from the visual harness (npm run test:rtl).

State English Arabic
Not connected
Pairing
Answering
Token refused
Disconnect confirm

…and Agent UI

GAIA could post to Discord through the mcp-discord connector, but nobody could
message GAIA from Discord. Now a user DMs their own bot and the flagship agent
answers from their PC; shell commands and file writes arrive as Allow / Deny
buttons. Setup is a token paste in Settings → Messaging or /discord setup, with
every Discord page opened for the user.

- Only one person can use it: whoever DMs a one-time code shown on the PC. DMs
  only, nothing older than two minutes runs (Gateway resumes, PC sleep), a
  pinned lease keeps two PCs on one bot from both answering, and approval
  prompts show the exact command with nothing able to disguise it.
- Plain-English monitoring: the new discord-automation skill turns "summarize
  my PRs every few hours, tell me right away when someone else comments" into
  `gaia discord watch` / `schedule-add`. Watches are a deterministic GitHub
  poller (third-party activity only, once, with links); schedules run through
  the bridge's own agent with an exact time window. Answers are posted whole
  so the phone is notified and no model thinking leaks into the DM.
- Anything GAIA reports from online is a link: every Discord turn asks for
  Markdown links to each PR, issue or page, and the github-triage,
  recommendations and source-watch skills now require them everywhere.
- discord.py is a core dependency (its only dependency, aiohttp, already is),
  because the installers never add extras.
- The bridge now finds the Hub-installed gaia-agent before PATH, which fixes
  the same gap for Slack. Slack's onboarding state machine moved to a shared
  module.
@github-actions github-actions Bot added documentation Documentation changes dependencies Dependency updates cli CLI changes tests Test changes electron Electron app changes agents tui Go terminal UI (gaia-tui) daemon Daemon supervisor / sidecar control plane sidecar Agent sidecar contract / harness labels Nov 6, 2026
…gaia-integration-bf4a53

# Conflicts:
#	src/gaia/apps/webui/visual/fixtures.ts
@github-actions

github-actions Bot commented Nov 6, 2026

Copy link
Copy Markdown
Contributor

Verdict: Request changes

This lets you DM your own Discord bot and have the GAIA agent on your PC answer, with Allow/Deny buttons for anything that changes the PC. The safety design is careful: DMs only, pairing by a one-time code, nothing older than two minutes runs, a lease stops two PCs answering, approval prompts show the exact command, and the routes are local-only. One bug needs fixing before merge:

  • Disconnect can leave a live bridge running while the app says it's gone. If the bridge doesn't stop in time, Disconnect still deletes the token, the pairing and the status file, and reports success. The process keeps answering the paired account and showing Allow prompts that can run commands, but Settings now shows "not connected", and nothing on the PC can stop it short of killing the process. Stop, Restart and Pair already check whether the stop worked and refuse to go on; Disconnect should do the same.
  • Failure messages tell Linux and macOS users to use Task Manager, and Arabic users get those backend messages in English (follow-up is fine for the language part).
  • The new Settings → Messaging screen has no screenshot on the PR. The live test list is thorough, but this surface needs the before/after picture in English and Arabic.

Real-world evidence

N/A: no evidence bundle was produced for this run. The PR description lists a live Windows run with a real bot (pairing, Allow/Deny, a watch and a schedule, Agent UI connect/Stop/Start, TUI /discord), but none of that output is attached. The verdict rests on static review alone. Packaged-app link opening and the Linux round trip are still unchecked in the test plan.

🔍 Technical details

Issues found

🟡 disconnect() ignores a failed stop (src/gaia/messaging/discord/cli.py, disconnect; reached from POST /api/messaging/discord/disconnect in src/gaia/ui/routers/messaging.py)
stop() returns False when the bridge outlives STOP_WAIT_SECONDS and _kill_tree (for example if _kill_tree hits AccessDenied, or the pid in status.json isn't the bridge). disconnect() goes ahead anyway: credentials.clear(), state.clear_config(), status_path().unlink(). The running adapter already holds the token and its BridgeConfig in memory, so it keeps serving the paired owner. With status.json gone, read_status() returns the default stopped, so Settings shows a disconnected bot while is_running() is still True. The next Connect then hits start_detached → is_running() → returns 0 without restarting, so the old bot keeps running and the new token is never used. This is the "dishonest status" and "teardown" bug class. Match the other routes:

def disconnect() -> None:
    """Stop the bridge and forget the token, the pairing and the status.

    Raises:
        RuntimeError: the bridge did not stop, so nothing was forgotten.
    """
    if not stop():
        raise RuntimeError(
            "The Discord bridge did not stop, so it was not disconnected. "
            "End GAIA's Discord process, then try again."
        )
    credentials.clear()

In the router, map the RuntimeError to a 500 the same way discord_stop does. Add a router test that patches stop() to return False and checks the token and config are kept.

🟡 Remedies name Task Manager on every OS (src/gaia/ui/routers/messaging.py:85,97,110, src/gaia/messaging/discord/cli.py run_stop)
"Close GAIA's Discord process in Task Manager" is wrong on Linux and macOS, and the bridge runs there too. Either branch the hint by OS or say "end the gaia discord start process". Follow-up: these detail strings, and the adapter's status.detail that MessagingSettings.tsx:288 renders as-is, reach the Arabic UI in English. Per CLAUDE.md, backend strings shown in the UI should go through useT (for example as a code the UI translates).

🟡 Agent UI evidence — the new Messaging tab in Settings (MessagingSettings.tsx, SettingsDialog.tsx) needs embedded screenshots in English and Arabic, covering the not-connected, pairing (code shown), connected and error states, plus the disconnect confirmation modal. The added rtl.visual.ts case is good; attach its output.

🟢 Lease pins pile up (adapter.py, claim_lease) — every PC that ever answered leaves a pinned lease message, and nothing unpins stale foreign ones. Harmless until the DM's pin limit, at which point pin() fails and claim_lease raises. Consider unpinning foreign leases older than, say, a day when taking over.

Checked and fine: discord.py (MIT) and audioop-lts (PSF-2.0) are permissive. The transport's thread→loop calls carry CALL_TIMEOUT_SECONDS, and gh auth token and the GitHub/Discord HTTP calls have timeouts. Writes to status.json, the schedules and the watches are locked and atomic. Attachment fetch is pinned to the Discord CDN, follows no redirects and is size-capped. Uploads are confined to upload_roots. Clicks are checked against owner and channel, and the stale check uses the interaction snowflake. The token is read from stdin, never argv, and stripped from the agent's env. The sibling Slack path gains the same Hub gaia-agent lookup through resolve_agent_argv.

Strengths

  • Approval prompts are carefully done: confirmation_detail shows the real args rather than the shortened summary, neutralize defeats backtick/bidi tricks, and long commands show head and tail with the full text attached.
  • Running state comes from the OS lock, not the status file, so a crash can't leave a phantom "connected". STARTING with a live pid is handled during import.
  • The adapter is transport-agnostic and well tested with a fake transport (pairing rotation, stale messages, the lease, click authorization).

@github-actions

github-actions Bot commented Nov 6, 2026

Copy link
Copy Markdown
Contributor

Verdict: Request changes

🟡 Disconnect can still leave the bridge running while Settings says it's gone. This push merges main and doesn't touch the findings from the last review. If the bridge doesn't stop in time, Disconnect still deletes the token, the pairing and the status file, and reports success. The old process keeps answering the paired account and can still show Allow prompts. Make Disconnect refuse to continue when the stop fails, the same way Stop, Restart and Pair already do.

🟡 The failure hints still tell Linux and macOS users to use Task Manager. Branch the hint by OS, or name the gaia discord start process instead.

🔍 Technical details
  • src/gaia/messaging/discord/cli.py:514-522: disconnect() calls stop() and ignores its False return, then runs credentials.clear(), state.clear_config() and status_path().unlink(). Raise RuntimeError when stop() returns False, and map it to a 500 in discord_disconnect (src/gaia/ui/routers/messaging.py:118) the way discord_stop does. Add a router test that patches stop() to return False and checks the token and config are kept.
  • "Task Manager" wording: src/gaia/ui/routers/messaging.py:85,97,110 and src/gaia/messaging/discord/cli.py:484.

…ss the skill audit

Disconnect used to forget the token and pairing even when the bridge refused to
stop, so Settings showed "not connected" while the old bridge kept answering.
It now refuses, like Stop and Pair already did.

- Stop-failure remedies name the right tool per OS instead of Task Manager
  everywhere.
- A lease pinned by a PC gone for a day is unpinned when this PC writes its own,
  so pins cannot pile up to Discord's limit.
- The discord-automation skill passes the deterministic skill audit: two lines
  phrased as "don't tell the user..." read as concealment and are reworded.
@kovtcharov

Copy link
Copy Markdown
Contributor Author

Addressed in 2ea9a3d:

  • Disconnect no longer forgets a bridge that's still running. If the bridge won't stop, Disconnect now refuses and keeps the token, pairing and status, the same as Stop, Restart and Pair. A router test covers it.
  • Stop-failure messages name the right tool per OS (Task Manager, Activity Monitor or the system monitor) instead of Task Manager everywhere.
  • Screenshots are in the description: English and Arabic for not connected, pairing, answering, token refused and the disconnect confirmation.
  • Lease pins can't pile up: a lease from a PC that has been quiet for a day is unpinned when this PC writes its own.

The Skill Audit failure is fixed in the same commit. Two lines phrased as "don't tell the user …" read as concealment; they're reworded, and the skill now audits ALLOW.

Leaving for a follow-up, as you suggested: backend detail strings still reach the Arabic UI in English. They need status codes the UI translates.

The new starter skill's one-line description joins the skill catalog in the
system prompt; the golden was regenerated with GAIA_UPDATE_PROMPT_GOLDEN=1 and
differs by that single line.
… API types

The route-coverage, CLI-docs and OpenAPI drift checks caught that the new
/api/messaging/discord routes were missing from agent-ui.mdx, the CLI table
named subcommands without their full `gaia discord` path, and the generated
API types had not picked up the router's request models. The models are now
DiscordConnectRequest / DiscordStartRequest so they don't collide with the
providers router's ConnectRequest in the generated types.
…roken link

shields.io has been answering GitHub's runners with 408 Request Timeout, which
the external-link check reported as broken badges, failing the check on main
and on every open PR. 408 is a timeout like the 429s and 5xx the checker
already treats as unverified; a real 404 still fails.
…gaia-integration-bf4a53

# Conflicts:
#	util/check_doc_links.py
Driving the bot from a real DM like a developer would turned up a dozen
ways it broke or got in the way; this fixes them and adds triggers, so
"alert me if main breaks" wakes GAIA only when something changes.

- Triggers: `gaia discord schedule-add --check "<GitHub read>"` runs a
  read-only check every interval with no model in the loop and wakes the
  agent only when its output changes. `gaia discord ci-status` gives a
  stable one-line CI verdict for a branch to use as that check. Checks
  are limited to gh reads that name their repo and gaia's own reads.
- Stop: a Stop button under "Thinking…", and a bare "stop" or "cancel",
  end the running turn and drop anything queued behind it.
- Quick follow-ups sent while GAIA is busy are folded into the waiting
  message and answered together; DMs are handled in arrival order.
- gh reads (list, view, diff, checks, GET-only api) no longer prompt, with
  or without a skill; writes still do. The github-triage skill now covers
  any GitHub question, so it gets loaded for them.
- "Always allow" is remembered across restarts, by the agent's exact grant
  keys and only for the paired account; never offered for adding a
  trigger or watch.
- gh policy: bundled short flags, URL operands, HOST/OWNER/REPO and
  --hostname are refused, so a read cannot hide a write or reach another
  server.
- State files are fsynced before the rename; a damaged schedules, watches
  or status file is moved aside and reported once instead of stopping
  every tick. A bridge started after a crash closes the "Thinking…" and
  approval prompts the dead one left open.
- Formatting: plain tool names, one-line records of answered prompts, no
  "Used …" trail, scheduled runs as one message, Markdown tables turned
  into bullet lists.
…gaia-integration-bf4a53

# Conflicts:
#	src/gaia/apps/webui/visual/fixtures.ts
#	src/gaia/apps/webui/visual/rtl.visual.ts
…uns on its own

"Remind me in 10 minutes", "alert me if main breaks" and "tell me when a
good weather window opens" had no home: the Discord bridge could only
repeat a prompt on a timer, every app had its own scheduler, and none could
stay quiet until something changed. They now live in one core package any
app can run, with one CLI the agent drives by talking.

- gaia.automations: a store under ~/.gaia/automations with four kinds by
  when GAIA speaks — reminder (once; fixed text or a prompt), summary
  (always), trigger (a read-only check every interval, the agent woken only
  when its output changes) and alert (the agent judges every interval and
  stays silent unless something needs the user, never repeating the same
  news). The heartbeat is an alert over the user's checklist.
- Time phrases: "10m", "in 2 hours", "17:30", "5pm", "tomorrow 9am"; repeats
  can start at a set time ("every day at 8") and run only on some days
  ("mon-fri"); quiet hours hold a run until they end. Daily repeats keep
  their clock time across a daylight-saving change.
- gaia automation list|add|edit|pause|resume|run|remove|ci-status, replacing
  the Discord-only schedule commands. List shows the bridge's GitHub
  watches too. The automations skill (was discord-automation) turns plain
  requests into these; every change asks first, and "always" is never
  offered for one.
- The Discord bridge runs them from its upkeep tick and delivers to the DM:
  quiet runs show nothing until they have something to say, an approval
  from an automation names it, and one failing run never loses the others
  or an unsent reminder.
- Discord replies never tell a phone user to run a command.
@kovtcharov kovtcharov changed the title feat(messaging): DM the GAIA agent from Discord, set up from the TUI and Agent UI feat: DM GAIA from Discord, and reminders, alerts and triggers it runs on its own Nov 6, 2026
Replying "yes" to an Allow prompt queued the word behind the very turn
waiting for it, so both sat until the prompt expired as a deny, and then
"yes" ran as a question. A bare yes/no/always now answers the one
approval waiting; with several waiting it asks which, and a message queued
behind a prompt says GAIA is waiting on it.

A bridge that is closing also posts nothing more: a turn the closing
deny let continue used to leave a fresh "Working…" behind.
…gaia-integration-bf4a53

# Conflicts:
#	hub/agents/gaia/python/gaia_agent/chat_agent.py
…gaia-integration-bf4a53

# Conflicts:
#	hub/agents/gaia/python/tests/fixtures/non_claude_system_prompt.txt
#	tests/unit/test_starter_skills.py
A gh or gaia read runs with no skill loaded and nobody asked, so nothing on
its line may change what it runs or where its request goes. On Windows it
also went through cmd.exe, which reads a line differently from GAIA's checks.

- A lone gh or gaia read now runs as a plain argument list, never as a
  cmd.exe string, the same way a skill-granted CLI already did.
- A setting in front of one (PYTHONPATH=, a proxy, a config folder) asks.
- A repository named on another host (host/owner/repo, host:port) asks.
…gaia-integration-bf4a53

# Conflicts:
#	hub/agents/gaia/python/tests/fixtures/non_claude_system_prompt.txt
#	hub/skills/github-triage/SKILL.md
#	src/gaia/apps/webui/src/components/settings/SettingsDialog.tsx
#	src/gaia/apps/webui/visual/rtl.visual.ts
#	src/gaia/skills/binaries.py
#	tests/fixtures/profilespec_characterization/row02_chat_no_docs_enable_filesystem.json
#	tests/fixtures/profilespec_characterization/row11_file_no_docs_baseline.json
#	tests/fixtures/profilespec_characterization/row12_full_indexed_n1.json
#	tests/fixtures/profilespec_characterization/row13_full_no_docs_enable_sd_tools.json
#	tests/unit/eval/test_skill_scenario_coverage.py
#	tests/unit/test_skill_binary_grants.py
#	tests/unit/test_starter_skills.py
#	tui/internal/ui/chat/palette_test.go
#	tui/internal/ui/components/helpoverlay.go
…gaia-integration-bf4a53

Keeps both "no answer" behaviors in request_user_input: main's timeout
result that holds the next change for a person, and this branch's reply
for a channel nobody can answer mid-run (a Discord DM). A question asked
there now also holds the next change, so a default can't become the
go-ahead once Full access is on; a test pins it.

The Settings stylesheet, the TUI help overlay and the chat message switch
keep both sides (Discord and main's skill links, connectors and sessions).
With stdin closed (a pipe, CI, a service), getpass raised EOFError and
`gaia discord setup` ended in a traceback, which main's CLI contract test
and the frozen-binary smoke check now reject. It now says a terminal is
needed and points at `gaia discord connect`, which reads the token from
stdin.
… CLI

Adding or changing an automation is never offered "Always allow", since
each one runs on its own afterwards. The check only knew the `gaia`
binary, so `gaia-cli`, `python -m gaia.cli` and `uv run gaia` still got
the offer. It now recognises every name the CLI answers to.
@kovtcharov-amd
kovtcharov-amd added this pull request to the merge queue Nov 12, 2026
Merged via the queue into amd:main with commit 6d28de5 Nov 12, 2026
148 of 155 checks passed
@kovtcharov-amd
kovtcharov-amd deleted the claude/discord-scope-gaia-integration-bf4a53 branch November 12, 2026 21:52
kovtcharov-amd added a commit to kovtcharov/gaia that referenced this pull request Nov 12, 2026
main now carries amd#6786, which this branch builds on; the merge keeps this
branch's follow-ups on top of it and takes everything else from main.
kovtcharov-amd added a commit to kovtcharov/gaia that referenced this pull request Nov 12, 2026
Unit tests are red on main for every PR since amd#6786 landed: it added the
`automations` hub skill, and
`test_every_hub_skill_has_labelled_requests` requires each hub skill to
have labelled requests in the skill-suggestion set. This adds three
requests that should suggest `automations` and one near-miss that should
suggest nothing.

## Test plan
- [x] `python -m pytest tests/unit/test_skill_suggester.py` passes
(failed on main with "hub skill(s) automations have no request")
- [ ] `test_calibration_against_the_real_embedder` (real-model, not in
PR CI) still meets its precision/recall bar on the next run with an
embedder
kovtcharov-amd added a commit to kovtcharov/gaia that referenced this pull request Nov 13, 2026
…xt (amd#7144)

From a phone, GAIA on Discord could only return files it wrote with its
file tools, the DM was one endless conversation, and an approval that
expired while you were away lost the request. Now a screenshot or
generated image arrives in the DM, "send me my resume" sends the file,
*new chat* starts fresh, *help* lists what you can say, *retry* re-runs
a request whose approval expired, and Discord's Reply tells GAIA which
message you mean.

Stacked on amd#6786; only the last eight commits are new. Stop in either
app also now stays stopped: before, the bridge came back the next time a
GAIA app opened.

- **Files stay safe:** only files under the allowed folders are sent.
Key and password files, anything in a hidden or app-settings folder
(where apps keep sign-ins), files over 10 MB, and more than five per
reply are refused with a note in the DM.
- **GitHub reads run without asking in every chat, not only Discord**
(from amd#6786): read-only `gh` and `gaia` commands skip the approval
prompt in the terminal app and the Agent UI too, so "what's open on this
repo?" works with no skill loaded. Writes still ask; merge, close and
token commands never run unasked. The guide and the skill docs now say
so.
- **Housekeeping:** shared files older than 14 days are removed at
start, and a long line is split at a space instead of inside a link.
- **Evals to watch on the next RC:** `gaia_skills_lifecycle`,
`gaia_shell` (the Discord reply note gained one sentence on sending
files).

## Messaging card

| Answering, with what was always allowed | Stopped unexpectedly |
|---|---|
| <img
src="https://raw.githubusercontent.com/kovtcharov/gaia/pr-7144-screenshots/7144/messaging-en-connected.png"
width="420"> | <img
src="https://raw.githubusercontent.com/kovtcharov/gaia/pr-7144-screenshots/7144/messaging-en-crashed.png"
width="420"> |

## Test plan

- [x] `python -m pytest tests/unit/messaging
tests/unit/chat/ui/test_messaging_router.py` (456 pass)
- [x] `python util/lint.py --black --isort`
- [x] Live in the DM on Windows: "send me <file>" (a key file was
refused), a written file posted back, *new chat*, *help*, an approval
left to expire then *retry*, Reply to an older message, Allow and Always
allow buttons
- [x] Live: a screenshot of the desktop and a generated image both
arrived in the DM
- [x] Stop, then an app launch, leaves Discord off; Start brings it back
(real bridge, via the launch-time autostart path)
- [x] Live: after a bridge restart the first answer says the earlier
conversation is gone; a denied request ends with no command to run
- [x] `npm test -- MessagingSettings` and `npm run test:rtl` (468 pass);
the stopped-unexpectedly card checked in English and Arabic screenshots
- [x] Agent UI in a browser against a real backend: ended the bridge
process, the Messaging card changed to the stopped-unexpectedly notice
within seconds, Start recovered it, Stop showed the plain off state
- [x] Live, adversarial: a file hiding send lines for a system file and
a key was read without sending either; a file outside the allowed folder
was refused after the reply, and the allowed one arrived
- [x] Restart and "Ask me again for all of these" on the Agent UI card:
router and card tests, visual suite (470 pass), card checked in
screenshots; both pressed against a live bridge
- [x] Live with local Gemma-4-E4B as the Discord agent: a photo of an
invoice sent from Discord was read correctly (about 1 min); a voice clip
was transcribed and summarised correctly (about 3.5 min)
- [x] Live, adversarial, local Gemma: a receipt photo carrying
instructions to send a key file and delete a file was not obeyed
(nothing sent, nothing deleted). The model then failed to read the
total, so the answer was safe but wrong
- [x] Pairing by one-time code, re-run live after the test instance lost
its pairing
- [ ] The same in the packaged desktop app

---------

Co-authored-by: Kalin Ovtcharov <[email protected]>
kovtcharov pushed a commit to kovtcharov/gaia that referenced this pull request Nov 13, 2026
…md#7851)

`test_quiet_hours_hold_a_repeating_run` (from amd#6786) is failing on main
depending on what time CI runs. The cause is a real product bug: quiet
hours that end at `23:59` left the minute 23:59 itself loud, because the
end time is exclusive. The test checked "now + 1h" against
`00:00-23:59`, so it failed whenever that landed on 23:59. A user who
writes `-23:59` means "until midnight", so that end now runs to the end
of the day. The test also pins the clock now instead of reading the wall
clock. No linked issue: this broke on main for everyone and was never
filed.

## Test plan
- [x] `python -m pytest tests/unit/test_automations.py`: 107 passed
- [x] The repeating-run test is pinned at 22:30, 23:30, 23:59 and 00:05.
New edge cases cover windows that end at 23:59, windows that wrap
midnight (`23:00-00:30`), and exclusive ends (`17:00`, `00:30`)
- [x] Without the fix, the 23:59 cases fail (3 failures)
- [x] `python util/lint.py --black --isort`
kovtcharov-amd added a commit to kovtcharov/gaia that referenced this pull request Nov 13, 2026
…ve automations (amd#6886)

**Stacked on amd#6786 and amd#7144 — merge those first.** Until they land,
this diff also shows their commits.

People who set up reminders, alerts, triggers or a heartbeat could only
see or change them by asking GAIA in chat, and the docs said there was
no screen. Now **Settings → Automations** in the Agent UI and
`/automations` in the TUI list every one with its kind, repeat and next
run, and pause, resume or remove it in one step. Clicking or typing the
command is the user's own decision, so nothing asks again (removing from
the panel still confirms). Adding one or changing what it does still
happens in chat.

The new route is PC-only, like Settings → Messaging, because a trigger's
check runs a command on this PC. The Discord reply note now names the
screen. No eval scenario sends a Discord turn, so no category covers
that wording; nothing else LLM-facing changed.

`/automations` is in the TUI's `/` command palette but not the help
panel, which has no spare row.

## Test plan
- [x] `python -m pytest tests/unit/messaging tests/unit/chat/ui
tests/unit/test_automations.py`
- [x] `cd src/gaia/apps/webui && npx vitest run && npx tsc --noEmit`
(full suite)
- [x] `npm run test:rtl` (full suite): list, nothing delivers, delivery
not checked, empty, load failed, remove confirmation, phone width, in en
and ar. Screenshots reviewed (browser preview, not the packaged app)
- [x] `cd tui && go vet ./... && go test ./...`
- [x] Real backend from this checkout with a temp config dir: Settings →
Automations listed four automations made with `gaia automation add`;
pause, resume and remove-with-confirmation each checked on disk with
`gaia automation list`
- [x] TUI command handler against the real `gaia automation` CLI and the
same store: list, pause by number and by name, a reminder named `2`,
`remove --all` deletes nothing, out-of-range number. The terminal window
itself was not driven
- [ ] Open Settings → Automations on a PC with a paired Discord bot and
pause and resume a real heartbeat

---------

Co-authored-by: Kalin Ovtcharov <[email protected]>
kovtcharov added a commit to kovtcharov/gaia that referenced this pull request Nov 13, 2026
…d#6887)

Reminders, summaries, triggers and alerts only ran while the Discord
bridge was up. If the bridge was stopped, a 5pm reminder simply didn't
happen until it came back. Now `gaia daemon` runs them on its clock
whether or not the bridge is up. What comes due while the bridge is down
waits in a queue and reaches the DM, marked late, when it reconnects.
With both running, each one fires and arrives exactly once.

**Stacked on amd#6786**: review only the top commit. I'll rebase
onto main once amd#6786 merges.

- **One owner of the tick.** A lease file decides who runs automations.
The daemon takes it even from a running bridge. With no daemon running,
the bridge runs them as it does today.
- **The daemon queues, the bridge delivers.** The daemon has no Discord
connection and no agent that can show Allow/Deny. So it does the
model-free work (timing and trigger checks) and queues posts and agent
turns. The bridge drains the queue and removes each entry only after it
is sent, so a crash re-sends rather than loses. A repeating automation
waits as one entry, not one per missed run.
- **Fails loudly.** With no messaging app paired, nothing due is taken
and the daemon log says why. With Discord paired but the bridge stopped,
the daemon logs a warning and `gaia automation list` shows what is
waiting. A queued turn that can't start stays queued, and the user is
told once.

## Test plan
- [x] `python -m pytest tests/unit/messaging
tests/unit/test_automations.py tests/unit/test_daemon_clock_wiring.py`
- [x] Live, in an isolated `GAIA_HOME` with a real `python -m
gaia.daemon` and no bridge running: `gaia automation add --name Walk
--at 1m --say "Take a walk"`. The daemon takes it, logs the bridge
warning, and `gaia automation list --plain` shows it waiting. A bridge
reconnecting about 3 minutes later posts it once with the late note, and
a second reconnect sends nothing. Rerun on the branch with main merged
in, on Windows, with a fake Discord transport.
- [ ] On a PC with Discord paired: stop the bridge, set a reminder 1
minute out, wait, start the bridge. It should arrive once, marked late.
Not run: the test PC has no paired Discord bot.

<details>
<summary>🔍 Technical details</summary>

- New modules in `src/gaia/automations/`: `tick.py` (the lease),
`outbox.py` (the queue and `OutboxSink`) and `daemon_tick.py` (the
daemon pass). `DaemonClock` gains `on_pass` hooks. A hook with a
`stop()` hands the tick back when the clock stops.
- `store.take_due` was already file-locked, so even a handover mid-tick
cannot take an item twice. The lease keeps agent turns in one process.
- `AlertFilter` now stores only the automation id, so a queued alert can
rebuild it, and compares and records the headline in one locked step
(`store.record_news`).
- `conftest.py` now fails a test that writes automation state into the
real `~/.gaia`, because a test daemon's clock runs the pass.
- The full `tests/unit` run on this machine shows failures from missing
`amd-gaia` metadata, pywin32 and a `gaia.exe` launcher. A sample of them
fails identically on the base branch.
</details>

---------

Co-authored-by: Kalin Ovtcharov <[email protected]>
@kovtcharov-amd kovtcharov-amd mentioned this pull request Nov 17, 2026
kovtcharov-amd added a commit to tylerbea/gaia that referenced this pull request Nov 17, 2026
# GAIA v0.26.0 Release Notes

## Summary

- A new chat answers sooner, and follow-up turns stay cached.
- GAIA reads and sends Gmail, manages Google and Outlook calendars,
analyzes long recordings and video links, and answers Discord messages.
- A model server that is down or restarting is reported in one plain
sentence, and open chats keep working after a restart.
- Chats no longer leave MCP server processes behind, and credential
files stay closed to scripts.
- The terminal UI is now `gaia-cli`; see Breaking Changes.
- 23 contributors merged 812 PRs and closed 726 issues since v0.25.4.

## Breaking Changes

- **The terminal UI is now `gaia-cli`, and `gaia-cli` no longer means
the Python command** — its old name was `gaia-tui`. Updating installs
`gaia-cli`; the one-line installer keeps `gaia-tui` working, and the
Windows setup and macOS and Linux packages remove it. A script that ran
the Python CLI as `gaia-cli` should call `gaia`. (PRs
[amd#7492](amd#7492),
[amd#8367](amd#8367))
- **Dynamic tool loading is on by default, and its old settings are
gone** — `GAIA_DYNAMIC_TOOLS_TAU` and `GAIA_DYNAMIC_TOOLS_MAX` do
nothing, and a choice made under the old Beta toggle is not carried
over. Turn it off with `gaia config set dynamic_tools false`. (PR
[amd#6449](amd#6449))
- **The `use_chatgpt` and `use_openai` arguments are gone** — delete
them and pick the model through Lemonade. (Issue
[amd#7023](amd#7023))
- **The `gaia-agent-chat` package is gone** — import `ChatAgent` with
`from gaia_agent.chat_agent import ChatAgent, ChatAgentConfig`;
`ChatAgentLite` is removed, so use `gaia chat`. Old sessions still
reopen on GAIA. (Issue [amd#6103](amd#6103))

## What's New

- **Faster first replies** — chat starts on the most-used tools and
loads the rest once, and follow-up turns stay cached. (PRs
[amd#6449](amd#6449),
[amd#5039](amd#5039),
[amd#7150](amd#7150))
- **Gmail and calendar from the flagship** — draft, reply, forward and
send Gmail with approval, plus Google and Outlook calendar tools. (PRs
[amd#6479](amd#6479),
[amd#6485](amd#6485),
[amd#7164](amd#7164))
- **Analyze long recordings and video links** — a timestamped,
speaker-labelled transcript, report and subtitles, from the CLI or the
Agent UI. (PR [amd#6451](amd#6451))
- **Message GAIA from Discord** — DM your own bot, and set reminders,
alerts and triggers it runs on its own. (PRs
[amd#6786](amd#6786),
[amd#7144](amd#7144),
[amd#6887](amd#6887),
[amd#6886](amd#6886))
- **Hear replies read aloud** — a speaker button on every Agent UI
reply. (PR [amd#6489](amd#6489))
- **See what is happening** — a live CPU, memory, GPU, NPU and network
strip in every chat, cloud spend in the composer, and every log in the
Agent UI. (PRs [amd#6548](amd#6548),
[amd#6775](amd#6775),
[amd#6664](amd#6664))
- **Edit a sent message, try an answer again, continue a stopped one**,
and reopen past sessions in the TUI. (PRs
[amd#7459](amd#7459),
[amd#7465](amd#7465),
[amd#7165](amd#7165))
- **Skills** — add one by pasting a link, get suggestions for unloaded
skills, and use three new ones: report-from-sources, log-triage and
meeting-actions. (PRs [amd#5803](amd#5803),
[amd#5423](amd#5423),
[amd#5421](amd#5421))
- **Models** — a `hybrid` choice sends each turn to a cheaper or a
stronger model, and Muse Glimmer 30B is an opt-in local model. (PRs
[amd#8196](amd#8196),
[amd#7168](amd#7168))
- **Documents in more languages** — Arabic, Japanese, Chinese and
Cyrillic files read correctly, and a damaged UTF-8 file is refused
instead of garbled. (PRs [amd#8024](amd#8024),
[amd#8230](amd#8230),
[amd#8296](amd#8296))
- **Safer by default** — project guidance loads only after asking once
per folder, and Undo puts back files a script moved. (PRs
[amd#6965](amd#6965),
[amd#8128](amd#8128))

Upgrade with:

```bash
pip install --upgrade amd-gaia
```

## Bug Fixes

A reference list, most user-visible first. Every merged change is in the
changelog below.

### Model server and chats

- **Open chats keep working after the model server restarts** — GAIA
keeps its own server's key across a restart. (PRs
[amd#8366](amd#8366),
[amd#8162](amd#8162))
- **Deleting a chat stops its MCP servers, and never starts or restarts
the agent.** (PRs [amd#8364](amd#8364),
[amd#8380](amd#8380))
- **MCP server processes are no longer left behind on every new chat.**
(PR [amd#8298](amd#8298))
- **A failed MCP server no longer shows "Connected"**, and a missing
Node.js or uv is named instead of a transport error. (PRs
[amd#8273](amd#8273),
[amd#8365](amd#8365),
[amd#8163](amd#8163))
- **A document taken off a chat is no longer read** — its access is
revoked and searches skip it. (PRs
[amd#8375](amd#8375),
[amd#8025](amd#8025),
[amd#8160](amd#8160))
- **A model server that isn't answering gets one plain wording
everywhere**, appears without a reload, and is translated. (PRs
[amd#7576](amd#7576),
[amd#7789](amd#7789),
[amd#8259](amd#8259),
[amd#8235](amd#8235),
[amd#7833](amd#7833))
- **A document added at launch waits for GAIA's model server.** (PR
[amd#8304](amd#8304))
- **A failed turn names the cause and offers Settings, not a command**;
long errors are cut at a word. (PRs
[amd#7729](amd#7729),
[amd#8276](amd#8276))
- **An agent crash offers the agent's log**, not the model server's. (PR
[amd#8359](amd#8359))
- **A sidecar shuts down when its daemon is killed**, and the daemon
restarts if left on another model server. (PRs
[amd#8306](amd#8306),
[amd#8075](amd#8075))
- **An unreachable custom Lemonade URL is named**, not called "not
installed". (PRs [amd#8122](amd#8122),
[amd#8066](amd#8066))
- **A cloud turn that failed before any reply is not billed.** (PR
[amd#8321](amd#8321))
- **A model switch loads the model and carries the chat over.** (PR
[amd#7590](amd#7590))
- **The TUI says when GAIA stopped mid-answer.** (PR
[amd#8309](amd#8309))

### Safety and privacy

- **A hard link to a credential file is treated as that file** in shell
searches. (PR [amd#8330](amd#8330))
- **Credential folders are closed to scripts and linked files**,
recursive searches skip credential files, and credentials are masked in
file text and tool output. (PRs
[amd#8136](amd#8136),
[amd#8220](amd#8220),
[amd#8191](amd#8191),
[amd#8119](amd#8119))
- **The masked-secret write guard is re-checked after approval.** (PR
[amd#8260](amd#8260))
- **Links and Python file access stay inside allowed folders.** (PR
[amd#8204](amd#8204))
- **One folder grant covers writing, editing and renaming there.** (PR
[amd#7495](amd#7495))
- **A timed-out approval is not re-asked, and an unattended refusal is
not taken as the user's "no".** (PRs
[amd#8076](amd#8076),
[amd#8193](amd#8193),
[amd#8145](amd#8145))
- **Unattended refusals lead with the safe fallback.** (PR
[amd#8253](amd#8253))
- **Text handed over to translate is treated as text**, not as
instructions or a path to browse, so it no longer asks to run a command.
(PRs [amd#8233](amd#8233),
[amd#8266](amd#8266),
[amd#8168](amd#8168))
- **Look-alike Unicode letters are read as their plain forms** in checks
for planted instructions and fence markers. (PRs
[amd#8274](amd#8274),
[amd#8275](amd#8275),
[amd#8215](amd#8215),
[amd#6837](amd#6837))
- **Made-up command output is caught for more ways of asking.** (PR
[amd#8271](amd#8271))
- **A private chat changes nothing stored in memory.** (PRs
[amd#8069](amd#8069),
[amd#8174](amd#8174))
- **Sign-in codes stay out of logs.** (PR
[amd#8149](amd#8149))
- **A shell command that reaches a local address is called out.** (PR
[amd#8156](amd#8156))
- **Shell guardrails survive wrappers, multi-line commands and `gh issue
close`.** (PRs [amd#6964](amd#6964),
[amd#8065](amd#8065),
[amd#6877](amd#6877))

### Documents and files

- **Every document in a search gets its best passage.** (PR
[amd#8074](amd#8074))
- **Legacy-encoded Arabic, Japanese, Chinese and Cyrillic text files
read correctly**, short ones in this PC's code page. (PRs
[amd#8012](amd#8012),
[amd#8230](amd#8230),
[amd#8307](amd#8307))
- **Chinese, Japanese and Arabic text is searched, chunked and
summarized**, and Arabic PDF numbers read in order. (PRs
[amd#8024](amd#8024),
[amd#8053](amd#8053),
[amd#8070](amd#8070))
- **A damaged UTF-8 file is refused instead of garbled**, and Python
scripts write UTF-8. (PRs
[amd#8296](amd#8296),
[amd#8104](amd#8104))
- **A short file already read whole skips the extra extraction pass.**
(PR [amd#8241](amd#8241))
- **A saved web page is indexed as its text**, and PDFs with large
arrays read. (PRs [amd#8179](amd#8179),
[amd#8181](amd#8181))
- **After a one-file miss, every attached document is searched**, and a
document is re-searched before "not in it". (PRs
[amd#8153](amd#8153),
[amd#8106](amd#8106))
- **A document's text is treated as data when summarizing.** (PR
[amd#8132](amd#8132))
- **PDF table rows stay whole.** (PR
[amd#8116](amd#8116))
- **An edited document is re-indexed and no longer served stale.** (PRs
[amd#6906](amd#6906),
[amd#6947](amd#6947),
[amd#6917](amd#6917))
- **Parallel uploads no longer break each other's embedding.** (PR
[amd#8049](amd#8049))
- **Attachments are cited by their own name**, and previews stop showing
raw bytes. (PRs [amd#6896](amd#6896),
[amd#7753](amd#7753))
- **Undo puts back files a Python snippet moved or renamed.** (PR
[amd#8128](amd#8128))
- **A damaged .pptx is reported as damaged**, and a too-large file as
over the limit. (PRs [amd#7906](amd#7906),
[amd#7904](amd#7904))
- **Images left unread while the vision model was down are read later**,
and a broken vision model is named. (PRs
[amd#7133](amd#7133),
[amd#7154](amd#7154))

### Agent answers

- **Mail tools load for mail questions.** (PR
[amd#8222](amd#8222))
- **A skill suggestion is offered instead of an order to load.** (PR
[amd#8229](amd#8229))
- **Fewer wasted steps, stalls and empty answers in the agent loop.**
(PR [amd#8211](amd#8211))
- **Long plan-driven turns run to their step budget**, and the default
step limit is 1000. (PRs [amd#8110](amd#8110),
[amd#7325](amd#7325))
- **An answer that reports a failure gets no "not confirmed" note**, and
more ways of claiming a save are checked. (PRs
[amd#7735](amd#7735),
[amd#7539](amd#7539),
[amd#7579](amd#7579),
[amd#7540](amd#7540))
- **An answer that claims all files were read says how many were.** (PR
[amd#8109](amd#8109))
- **A turn stopped at a limit ends with the work done and a way on.**
(PRs [amd#8112](amd#8112),
[amd#6296](amd#6296))
- **A reply that turns into repeated noise is stopped**, and native
tool-call JSON stays out of the answer. (PRs
[amd#8173](amd#8173),
[amd#7248](amd#7248))
- **A thinking model's reasoning stays out of `gaia prompt` output**,
which prints the answer once. (PRs
[amd#8141](amd#8141),
[amd#8135](amd#8135),
[amd#7238](amd#7238))
- **Edits to a file owned by another process are stopped**, and an edit
sent twice is refused. (PRs
[amd#6434](amd#6434),
[amd#6844](amd#6844))
- **Relative outputs are found in the folder the request named.** (PR
[amd#8103](amd#8103))
- **Scratch folders no longer pile up in the temp folder.** (PR
[amd#8108](amd#8108))
- **Overflows from cloud and Claude models trigger trim-and-retry.** (PR
[amd#7758](amd#7758))
- **A memory GAIA is asked to keep is saved**, a forget goes through
after "never mind", and every copy of a forgotten memory goes. (PRs
[amd#7148](amd#7148),
[amd#6920](amd#6920),
[amd#6858](amd#6858))

### Goals, schedules and automations

- **A failing recurring schedule is recorded on the schedule itself.**
(PR [amd#8320](amd#8320))
- **A goal is marked stalled after 10 check-backs**, its retry count
resets when queued again, and one that can't be done stops retrying.
(PRs [amd#8223](amd#8223),
[amd#8198](amd#8198),
[amd#8081](amd#8081))
- **Deleting a schedule asks in a dialog**, and a deleted or paused
schedule closes its run's chat. (PRs
[amd#8237](amd#8237),
[amd#8157](amd#8157))
- **`gaia schedule run` uses the app's model and never downloads one.**
(PR [amd#8113](amd#8113))
- **A finished schedule notifies you**, and failures from while the app
was closed are announced. (PRs
[amd#7696](amd#7696),
[amd#7648](amd#7648))
- **`gaia schedule` says an unknown name is unknown**, and `add` prints
one line when it reuses a name. (PRs
[amd#7534](amd#7534),
[amd#8126](amd#8126))
- **Schedules whose name contains a slash can be managed.** (PR
[amd#6954](amd#6954))
- **Scheduled sends that fail are reported to the user.** (PR
[amd#6979](amd#6979))

### CLI

- **`gaia chat` and `-p` send every request to `--base-url`**, as do
talk indexing and API health. (PRs
[amd#8256](amd#8256),
[amd#7236](amd#7236))
- **`gaia download` and `gaia api start` fail when the server is
unreachable.** (PRs [amd#6872](amd#6872),
[amd#7237](amd#7237),
[amd#7346](amd#7346))
- **`gaia cache status` shows every cache folder and its size** and no
longer follows Windows junctions. (PRs
[amd#7132](amd#7132),
[amd#7239](amd#7239))
- **`gaia kill --lemonade` stops the Lemonade Server GAIA uses.** (PR
[amd#6991](amd#6991))
- **`gaia prompt --device` selects the matching model.** (PR
[amd#6894](amd#6894))
- **`gaia connectors connect` names the connectors it can use**, and
unhandled commands exit 1. (PRs
[amd#7535](amd#7535),
[amd#7051](amd#7051))
- **A search service error is one line, not a traceback.** (PRs
[amd#8310](amd#8310),
[amd#8311](amd#8311),
[amd#8315](amd#8315))
- **A relayed `gaia -p` reports steps, tool calls and tokens.** (PR
[amd#7234](amd#7234))

### Agent UI and TUI

- **A taken schedule name shows on the Name field**, and the New
schedule draft survives closing the dialog. (PRs
[amd#7675](amd#7675),
[amd#7798](amd#7798))
- **Chat search shows plain words and stays fast on huge messages.**
(PRs [amd#7772](amd#7772),
[amd#8206](amd#8206))
- **One size for a model and one free-space figure everywhere.** (PR
[amd#8231](amd#8231))
- **"Memory on" is a small menu**, and Remove on a document can be
undone. (PRs [amd#7498](amd#7498),
[amd#7512](amd#7512))
- **Setup offers this PC and a cloud model as two equal choices**, and
keeps the cloud model in use when run again. (PRs
[amd#7470](amd#7470),
[amd#7778](amd#7778))
- **One Connect card shows when several mail steps need an account.**
(PR [amd#8352](amd#8352))
- **The spend in the composer shows this chat and today to the same
decimals**, and leaves failed turns out. (PRs
[amd#8351](amd#8351),
[amd#7581](amd#7581))
- **A Mac update chip links to the release instead of installing.** (PR
[amd#7832](amd#7832))
- **The side panel, home and Settings get more room.** (PR
[amd#8277](amd#8277))
- **Arabic layout fixes** across answer tables, the file browser,
documents, setup and the network rate. (PRs
[amd#8238](amd#8238),
[amd#7898](amd#7898),
[amd#7666](amd#7666),
[amd#7821](amd#7821),
[amd#8372](amd#8372))
- **The TUI resolves bare file names in its start folder** and sends it
so the project map finds the project. (PRs
[amd#7246](amd#7246),
[amd#7766](amd#7766))
- **The TUI names GAIA's chat model in the status line on a shared
Lemonade.** (PR [amd#8224](amd#8224))
- **The robot head shows on notifications.** (PR
[amd#8341](amd#8341))

### Install, Linux and desktop

- **A running exe under either name no longer breaks the one-line
installer**, and the old name is refused when going back. (PR
[amd#8367](amd#8367))
- **A stock GNOME desktop keeps GAIA running without a tray extension.**
(PR [amd#6868](amd#6868))
- **The AppImage gets a launcher, and GAIA shows once in the app grid
and opens on Wayland.** (PRs
[amd#7078](amd#7078),
[amd#7149](amd#7149))
- **A missing system library or CA file is named** instead of dying
silently. (PRs [amd#7157](amd#7157),
[amd#7255](amd#7255))
- **An agent left running for days on macOS keeps answering.** (PR
[amd#6851](amd#6851))
- **A low-disk update no longer marks the install failed.** (PR
[amd#6916](amd#6916))
- **A crashed window offers a reload instead of quitting GAIA**, and a
clean renderer exit is not a crash. (PRs
[amd#7301](amd#7301),
[amd#7155](amd#7155))
- **Each process stops reserving 5 GB of OpenBLAS threads.** (PR
[amd#7324](amd#7324))
- **A second launch skips the install screen** for a new user. (PR
[amd#7994](amd#7994))
- **The macOS menu bar draws the GAIA logo.** (PR
[amd#6989](amd#6989))
- **Docs** for another computer's Lemonade, setup steps, memory
categories, privacy claims and eval examples. (PRs
[amd#6865](amd#6865),
[amd#6852](amd#6852),
[amd#6864](amd#6864),
[amd#7544](amd#7544),
[amd#6863](amd#6863))

### Email, connectors and tools

- **Outlook search queries Graph rejects are no longer taught.** (PR
[amd#8123](amd#8123))
- **Connectors Test starts an MCP server and says if it started.** (PR
[amd#6883](amd#6883))
- **Slack setup is one click**, and Slack and gateway auth say they need
a terminal. (PRs [amd#6855](amd#6855),
[amd#7537](amd#7537))
- **A cancelled sign-in is called cancelled, with an offer to retry.**
(PR [amd#7840](amd#7840))
- **`search_web` keeps working through a long research turn**, and
redirect rate waits no longer time out a fetch. (PRs
[amd#7859](amd#7859),
[amd#6857](amd#6857))
- **Invented figures are caught** when written like `2,708.95 USD`, and
averages worked by hand after a failed run are checked. (PRs
[amd#6817](amd#6817),
[amd#6831](amd#6831))

## Known Issues

- **NPU PCs: chat on the NPU profile returns an empty reply**, and the
embedder falls back to GGUF — use the GPU/CPU profile for now. Tracked
in [amd#6008](amd#6008).
- **Fedora 44: setup cannot reach any HTTPS site**, so it can neither
connect a cloud model nor download one — tracked in
[amd#7226](amd#7226).
- **Long sessions on Windows: Lemonade's bundled llama-server leaks
handles on every request** until the model server restarts — restart it
from time to time. An upstream Lemonade issue, tracked in
[amd#8312](amd#8312).
- **Coding: editing a requested config or data file, or a skill's
`SKILL.md`, does not mark an earlier "tests pass" as stale** — re-run
the tests after such an edit. Tracked in
[amd#8213](amd#8213).
- **Your own model server, stopped: the connection banner says it is
"not installed"** and suggests `gaia init` — start your server again.
Tracked in [amd#8313](amd#8313).
- **Summarizing a 1,000+ page document can time out** — ask about
sections or page ranges instead. Tracked in
[amd#8218](amd#8218).
- **Attached files lose the spaces in their names**, so `team meeting
notes.wav` becomes `team_meeting_notes.wav` — rename the file before
attaching if the name matters. Tracked in
[amd#8361](amd#8361).

## Contributors

Thanks to the community members who contributed to this release:

- [@tylerbea](https://github.com/tylerbea) — Gmail and calendar tools,
interactive cards, image thumbnails, Slack setup, and over a hundred
Agent UI fixes including Arabic translation and layout (PRs
[amd#6479](amd#6479),
[amd#6485](amd#6485),
[amd#6086](amd#6086),
[amd#7697](amd#7697),
[amd#6855](amd#6855),
[amd#6851](amd#6851))
- [@huong8373tt-beep](https://github.com/huong8373tt-beep) — per-agent
tool scopes, word-stem skill search, TUI media outputs, agent safety
checks, email, memory and RAG fixes (PRs
[amd#6558](amd#6558),
[amd#6523](amd#6523),
[amd#6254](amd#6254),
[amd#6821](amd#6821),
[amd#6964](amd#6964),
[amd#6985](amd#6985))
- [@ityashag](https://github.com/ityashag) — goal stalling,
failing-schedule records, document search and vision-indexing fixes, CLI
cache and kill fixes, and docs (PRs
[amd#8223](amd#8223),
[amd#8320](amd#8320),
[amd#7131](amd#7131),
[amd#7133](amd#7133),
[amd#7132](amd#7132),
[amd#6991](amd#6991))
- [@bniladridas](https://github.com/bniladridas) — NPU model checks in
the TUI, unattended refusals, mail tool loading, setup-problem wording,
and goal retry counts (PRs
[amd#7122](amd#7122),
[amd#8253](amd#8253),
[amd#8222](amd#8222),
[amd#8210](amd#8210),
[amd#8198](amd#8198),
[amd#6875](amd#6875))
- [@rezamuliawijaya](https://github.com/rezamuliawijaya) — eval corpus
checks, `gaia download` and `gaia prompt --device` fixes, document
re-index and forget fixes (PRs
[amd#6869](amd#6869),
[amd#6872](amd#6872),
[amd#6894](amd#6894),
[amd#6917](amd#6917),
[amd#6920](amd#6920))
- [@lakshyab20](https://github.com/lakshyab20) — CLI errors that print a
message instead of a traceback (PRs
[amd#7534](amd#7534),
[amd#7535](amd#7535),
[#7536](https://github.com/amd/gaia/pull/7536),
[amd#7537](amd#7537))
- [@KrBeTect2025](https://github.com/KrBeTect2025) — `--base-url` for
`gaia chat`, quiet `gaia prompt` output, and `gaia schedule add` on a
reused name (PRs [amd#8256](amd#8256),
[amd#8141](amd#8141),
[amd#8126](amd#8126),
[#8257](https://github.com/amd/gaia/pull/8257))
- [@Drchennnn](https://github.com/Drchennnn) — voice startup indexing,
live-catalog model status, and release tests (PRs
[#6638](https://github.com/amd/gaia/pull/6638),
[#7123](https://github.com/amd/gaia/pull/7123),
[#7152](https://github.com/amd/gaia/pull/7152))
- [@akshat-lakhera](https://github.com/akshat-lakhera) — the
once-per-folder project guidance prompt (PRs
[amd#6965](amd#6965),
[#6987](https://github.com/amd/gaia/pull/6987))
- [@iam-hk](https://github.com/iam-hk) — skill suggestions, the
masked-secret write guard, and accented-letter reading (PRs
[amd#8229](amd#8229),
[amd#8260](amd#8260),
[amd#8274](amd#8274))
- [@wasiulhaque](https://github.com/wasiulhaque) — email docs and API
contract checks (PRs [#6879](https://github.com/amd/gaia/pull/6879),
[#6910](https://github.com/amd/gaia/pull/6910),
[#6913](https://github.com/amd/gaia/pull/6913))
- [@tharunsridhar](https://github.com/tharunsridhar) — refusing to index
an unreadable document, and docs (PRs
[#6978](https://github.com/amd/gaia/pull/6978),
[#6933](https://github.com/amd/gaia/pull/6933),
[#7001](https://github.com/amd/gaia/pull/7001))
- [@swastiktawate](https://github.com/swastiktawate) — CI references,
file-io tests and email doc links (PRs
[#6922](https://github.com/amd/gaia/pull/6922),
[#6960](https://github.com/amd/gaia/pull/6960),
[#6961](https://github.com/amd/gaia/pull/6961))
- [@burgulvedant](https://github.com/burgulvedant) — a cloud model that
needs reconnecting, and guide fixes (PRs
[#8209](https://github.com/amd/gaia/pull/8209),
[#6900](https://github.com/amd/gaia/pull/6900),
[#6931](https://github.com/amd/gaia/pull/6931))
- [@DevShoaib78](https://github.com/DevShoaib78) — hub agent docs (PRs
[#6940](https://github.com/amd/gaia/pull/6940),
[#6941](https://github.com/amd/gaia/pull/6941))
- [@saruk-vedant](https://github.com/saruk-vedant) — refusing a router
model as the Custom model ID (PR
[#7548](https://github.com/amd/gaia/pull/7548))
- [@txltedxgod](https://github.com/txltedxgod) — tools used on unprinted
turns (PR [#7265](https://github.com/amd/gaia/pull/7265))
- [@recentbontipiece](https://github.com/recentbontipiece) — the macOS
menu bar logo (PR [amd#6989](amd#6989))
- [@kratos0718](https://github.com/kratos0718) — privacy wording (PR
[amd#7544](amd#7544))
- [@georgekhananaev](https://github.com/georgekhananaev) — the
`--save-baseline` warning (PR
[#6981](https://github.com/amd/gaia/pull/6981))
- [@SanketJadhav7d3](https://github.com/SanketJadhav7d3) — privacy
wording for cloud sessions (PR
[#6888](https://github.com/amd/gaia/pull/6888))
- [@cf3901646](https://github.com/cf3901646) — a midnight-UTC test fix
(PR [#7114](https://github.com/amd/gaia/pull/7114))

## Full Changelog

**812 commits** since v0.25.4. The PR links above are the changelog.

Full Changelog:
[v0.25.4...v0.26.0](amd/gaia@v0.25.4...v0.26.0)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

agents cli CLI changes daemon Daemon supervisor / sidecar control plane dependencies Dependency updates documentation Documentation changes electron Electron app changes llm LLM backend changes performance Performance-critical changes security Security-sensitive changes sidecar Agent sidecar contract / harness tests Test changes tui Go terminal UI (gaia-tui)

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants