Skip to content

fix(daemon): a sidecar shuts down when its daemon is killed - #8306

Merged
kovtcharov-amd merged 10 commits into
amd:mainfrom
kovtcharov:fix/sidecar-dies-with-daemon
Nov 16, 2026
Merged

kovtcharov-amd merged 10 commits into
amd:mainfrom
kovtcharov:fix/sidecar-dies-with-daemon

Conversation

@kovtcharov

Copy link
Copy Markdown
Contributor

When GAIA's background service was killed outright (a crash, or End task in Task Manager), its agent kept running indefinitely, holding memory, a port and any MCP servers it had started. It was cleaned up only if another service later started for the same profile. In stress testing, a flagship agent held 176 MB and its port after its daemon was killed, until I stopped it by hand. Now the daemon passes its pid to each agent, and the agent shuts itself down within seconds of the daemon disappearing, through its normal shutdown so its own cleanup still runs.

I chose a pid watch over a Windows Job Object with kill-on-close. Anything the agent starts (a browser it opens, an app it launches) joins the job, and would be killed every time the daemon exits. A watch is also cross-platform.

Live, with a real flagship sidecar started from source under a stand-in daemon process:

sidecar up on 58910 after 11s
still running with the daemon alive: True
sidecar exited 2.4s after the daemon died (code 0)
  log: The GAIA daemon (pid 42908) that started this agent is gone; shutting down so nothing is left running without it.
  log: INFO: Shutting down / Application shutdown complete.

Closes #8303

Test plan

  • New test_sidecar_parent_watch.py: no pid means no watch, and a malformed pid is an error rather than a silent skip. The watch fires once the daemon dies, and at once when it is already gone. The daemon's spawn environment carries its own pid.
  • pytest daemon sidecar suites (shipped-core PATH, custody, keychain, hidden console): 118 passed. Email package tests: 111 passed. Flagship server/entry tests: 263 passed. The one error, test_starter_skill_build, fails to import on main too in this checkout.
  • Live: a sidecar shut down 2.4 s after its daemon process was killed, as above.
  • On the packaged app: end the GAIA daemon in Task Manager mid-chat and confirm gaia-agent.exe exits within ~10 s.

A daemon killed outright (a crash, or End task) left its sidecars running
until the next daemon started and reaped them; with none after it, the
agent kept its memory, port and MCP servers indefinitely. The daemon now
passes its pid in GAIA_DAEMON_PID, and the flagship and email sidecars
watch it and shut down through their normal SIGINT path when it's gone.

Closes amd#8303
@github-actions github-actions Bot added tests Test changes agent::email Email agent changes daemon Daemon supervisor / sidecar control plane sidecar Agent sidecar contract / harness labels Nov 15, 2026
@github-actions

Copy link
Copy Markdown
Contributor

Verdict: Approve with suggestions

When the GAIA daemon is killed outright, its agents now notice within seconds and shut down normally instead of holding memory and a port until the next daemon starts. The fix is small, works on both agents, and is tested, including a live run. One gap is worth closing: a sidecar run from source (dev mode) never starts the watch, so developers still get the orphan this PR fixes. Users on the packaged binaries are covered.

Real-world evidence

N/A: no evidence bundle was produced for this run. The PR description includes the author's own live run: a flagship sidecar started from source exited 2.4 s after its stand-in daemon was killed, and its normal shutdown log appeared. The packaged-app check (end the daemon in Task Manager, confirm gaia-agent.exe exits) is still unchecked in the test plan. Apart from the author's run, this verdict rests on reading the code.

🔍 Technical details

Issues found

🟢 Dev-mode sidecars never start the watch (src/gaia/daemon/sidecars/manager.py:449). Dev mode spawns python -m uvicorn server:app --app-dir …. That imports packaging/server.py as a module and never reaches main() / serve_http(), which is where parent_watch.start() now lives. The daemon sets GAIA_DAEMON_PID, but nothing reads it, so a dev-mode email or flagship sidecar still outlives a killed daemon. The keychain-file code in the same file already notes this (manager.py:643). The packaged binaries call main(), so users are covered. Possible fixes: start the watch from both packaging/server.py modules when they are imported as server (not __main__), or from an app startup hook. Then add a test that spawns the dev argv. The new manager test runs in dev mode, the one mode where the pid is currently ignored.

🟢 "Access denied" is reported as "the daemon is gone" (src/gaia/sidecar/parent_watch.py:37). _identity returns None for AccessDenied as well as NoSuchProcess. If the first lookup is denied, born is None and the sidecar shuts itself down at startup, logging that the daemon is gone when it is still running. That is unlikely for a child running as the same user, but it would fail with a misleading message. Treat AccessDenied at startup as a loud error rather than "gone":

def _identity(pid: int) -> Optional[float]:
    """The process's start time, so a reused pid isn't taken for the daemon."""
    try:
        return psutil.Process(pid).create_time()
    except (psutil.NoSuchProcess, psutil.ZombieProcess):
        return None

(An AccessDenied then propagates out of start() with psutil's message, naming the pid.)

🟢 thread.stop is never used (parent_watch.py:87). Nothing in the code or the tests sets it. Either drop it with its stop.wait / is_set branch (a plain time.sleep(poll_s) is enough), or use it in a test so it isn't dead API.

Checked and fine

  • Calling signal.raise_signal(SIGINT) from the watch thread is safe on both POSIX and Windows. CPython runs the handler on the main thread, and uvicorn's main loop checks every 0.1 s, so the graceful path runs. The 30 s os._exit(1) timer covers a shutdown that hangs on an in-flight stream.
  • Comparing create_time guards against pid reuse, matching daemon/lemonade.py and lemonade_clients.py.
  • psutil is a core install requirement. Both frozen entry points (packaging/server.py → entry.main / server.main) reach the new code, and the lazy import is covered by PyInstaller's import analysis.
  • The daemon never adopts a previous daemon's sidecars, so a sidecar exiting with its daemon can't break a handoff.
  • No doc drift: the "orphan" and "reap" wording in the npm SPEC.md / SKILL.md describes the npm package's autoCleanup, a separate path. CHANGELOGs are updated for both agents.

Strengths

  • A pid watch was a sound choice over a Windows Job Object: things the agent launches don't die with the daemon, and the same code works on every platform.
  • A malformed GAIA_DAEMON_PID is an actionable error rather than a silent skip, which follows the fail-loudly rule. An older amd-gaia without the module prints a warning with a fix instead of failing.
  • The tests cover the real lifecycle with real processes (alive, then killed, then already gone at start), not just mocks.

@kovtcharov

Copy link
Copy Markdown
Contributor Author

All three addressed:

  • Dev mode: both packaging/server.py modules now start the watch when uvicorn imports them (uvicorn server:app), and start() returns the running watcher on a second call, so the frozen path doesn't get two. Live, launched exactly as the daemon's dev mode does: the flagship sidecar exited 2.5 s after its daemon died, and the email sidecar 2.2 s, both through uvicorn's normal shutdown.
  • Access denied: a daemon whose process can't be inspected is now an error at start, not "gone". Mid-run, a denied check counts as still alive.
  • thread.stop: removed; the loop sleeps.
🔍 Technical details
  • New tests: test_a_second_start_returns_the_running_watcher and test_a_daemon_it_may_not_inspect_is_an_error_not_gone. An autouse fixture resets the singleton between tests.
  • test_sidecar_parent_watch.py: 7 passed. Flagship server, packaging and entry tests: 361 passed.
  • test_sdist_packaging_2934 fails identically on main in this checkout: the sdist build itself exits 1 here.

kovtcharov and others added 2 commits November 15, 2026 15:14
Dev mode serves packaging/server.py with 'uvicorn server:app', which
never reached main(), so a dev sidecar still outlived a killed daemon.
Both packaging modules now start the watch when imported that way, and
start() returns the running watcher on a second call. A daemon whose
process may not be inspected is an error at start, not 'gone'; the
unused stop event is gone.
@kovtcharov-amd kovtcharov-amd added the ready_for_ci Run CI workflows on draft PR without requesting review label Nov 16, 2026
@github-actions

Copy link
Copy Markdown
Contributor

Verdict: Approve with suggestions

Ready to merge. When the GAIA background service is killed outright, its agents (the flagship and email) now notice within about five seconds and shut down through their normal path, so they no longer hold memory and a port until the next service starts. The fix is small and tested: a malformed setting is a loud error, a process the agent can't inspect is not treated as gone, and a reused process id isn't mistaken for the service.

One optional hardening for Linux and macOS: if the killed service is never reaped by whatever started it, the check still sees it as alive and the agent keeps running. A one-line status check closes that gap. The packaged-app check in the test plan (end the service in Task Manager mid-chat) is still unticked. Worth doing before release, since the live run used a source build.

Real-world evidence

N/A: no evidence bundle was produced for this run, so this lane exercised nothing. The PR description has the author's live run: a flagship agent started from source under a stand-in daemon exited 2.4 s after the daemon was killed, with a clean Application shutdown complete. The packaged-binary path rests on static review and on the unticked Task Manager item.

🔍 Technical details

Issues

🟢 A zombie daemon still counts as alive on POSIX (src/gaia/sidecar/parent_watch.py:454). After a SIGKILL, psutil.Process(pid).create_time() still succeeds while the daemon is an unreaped zombie, because /proc/<pid>/stat survives until it is reaped. So _identity keeps returning the original start time and the watch never fires. gaia daemon start uses start_new_session=True and the launching CLI exits, so init normally reaps it. A long-lived parent that never wait()s (an Electron or Go launcher) would leave the sidecar running. Suggested fix:

    try:
        proc = psutil.Process(pid)
        if proc.status() == psutil.STATUS_ZOMBIE:
            return None
        return proc.create_time()
    except (psutil.NoSuchProcess, psutil.ZombieProcess):
        return None

Checks run (no findings)

  • Sibling paths: DAEMON_PID_ENV_VAR is set in the one sidecar spawn site (manager.py:612). Both agents start the watch in the frozen/CLI path (main() / serve_http) and in the dev uvicorn server:app path (the packaging/server.py import guard), so both launch modes are covered. Sidecars are never adopted across daemons (the ledger truncates with "no silent adoption"), so a sidecar exiting when its daemon dies can't break a handover.
  • Known bug classes: the watch loop has a fixed poll interval. Shutdown has a 30 s hard deadline (os._exit) behind the SIGINT, so a stuck graceful shutdown can't hang it. Start-time identity guards against pid reuse. The import-time ValueError and AccessDenied fail loudly instead of skipping the watch.
  • Doc drift: no docs page claims that a sidecar outlives a killed daemon. The cli.mdx "crashed daemon left behind" line is about the Lemonade server, which is a separate mechanism. All three CHANGELOGs name the change.

Strengths

  • Shutting down by raising SIGINT reuses uvicorn's own shutdown, so the agent's MCP-server teardown still runs. The 30 s fallback stops that from becoming a hang.
  • The tests use real child processes for the death and already-dead cases. They also assert the daemon's real spawn environment carries the pid, rather than mocking that contract away.
  • The PR explains why it uses a pid watch instead of a Job Object: kill-on-close would also kill browsers and apps the agent launched.

On Linux and macOS a SIGKILLed daemon whose parent never reaps it stays a
zombie with a readable start time, so the sidecar's watch kept seeing it
alive. A zombie now counts as gone.
@kovtcharov

Copy link
Copy Markdown
Contributor Author

Took the hardening: _identity now treats a zombie (status() == STATUS_ZOMBIE) as gone, so a killed daemon that a long-lived launcher never reaps no longer keeps its sidecar alive.

On the unticked packaged-app item: the installed app runs the agent binary that an RC build ships, so it can only be checked once an RC includes this PR. I'll leave it unticked until then rather than tick it on a source run.

🔍 Technical details
  • New test_a_killed_but_unreaped_daemon_counts_as_gone patches a process that reports STATUS_ZOMBIE with a start time. test_sidecar_parent_watch.py: 8 passed.
  • Live on Windows after the change: a dev-mode flagship sidecar exited 2.7 s after its stand-in daemon was killed, through the normal shutdown.

@kovtcharov-amd kovtcharov-amd added ready_for_ci Run CI workflows on draft PR without requesting review and removed ready_for_ci Run CI workflows on draft PR without requesting review labels Nov 16, 2026
@github-actions

Copy link
Copy Markdown
Contributor

Verdict: Approve

When the GAIA daemon is killed outright, its agents now shut themselves down within seconds instead of holding memory and a port until another daemon happens to start. The daemon passes its process id to each agent, and the agent watches it and stops through its normal Ctrl+C path, so its own cleanup still runs. The design is careful: a reused process id is not mistaken for the daemon, a killed but not-yet-reaped daemon counts as gone, and a malformed id is an error, never a silent skip. I found nothing blocking.

Real-world evidence

N/A: no evidence bundle was produced for this run. The verdict rests on static review plus the author's live run in the PR description, which showed a real flagship sidecar exit 2.4 s after its stand-in daemon was killed. The packaged-app check (ending the daemon in Task Manager) is still unchecked in the test plan and is worth doing before the next RC.

🔍 Technical details

Issues found: none blocking.

🟢 The variable is inherited by everything the agent starts (src/gaia/daemon/sidecars/manager.py:612). GAIA_DAEMON_PID sits in spawn_env, so MCP servers and shell commands the agent launches inherit it too. That is harmless today, because only the two sidecar entry points call parent_watch.start(). Any future GAIA process that calls it and is launched from inside an agent would also tie its lifetime to the daemon. One option is to pop the variable from os.environ after start() reads it. Otherwise, at least keep the call sites limited to sidecar entry points.

Checks done

  • Sibling entry points: the flagship (serve_http) and the email sidecar (main) start the watch. Both packaging/server.py files start it at import for dev mode (uvicorn server:app). The frozen __main__ path goes through main(), so the guard skips it correctly and the watch never starts twice.
  • signal.raise_signal(SIGINT) runs from the watcher thread. CPython sets the flag and the main thread acts on it at uvicorn's next 0.1 s tick, so uvicorn's handler runs the graceful shutdown. The 30 s os._exit backstop covers a hung shutdown.
  • Docs: docs/reference/cli.mdx ("stop … stops any sidecar a terminated or crashed daemon left running") is still accurate. The npm SPEC and SKILL "orphan" notes are about the npm host process, not the daemon, so there is no drift. The CHANGELOGs for both affected packages are updated.
  • The new test file sits in tests/unit/, so the unit lane collects it. No new dependencies, since psutil is already used by core.

Strengths

  • The identity check compares start times and treats zombies as gone (_identity), which closes both the pid-reuse and the unreaped-on-POSIX gaps.
  • Fails loudly: a malformed pid raises with a remedy, AccessDenied is never read as "gone", and an older amd-gaia without the module logs an actionable warning instead of skipping silently.
  • The tests use real child processes for the live and dead cases, and assert the daemon's actual spawn environment, not a mock that only proves a call happened.

The watch now removes GAIA_DAEMON_PID from the agent's environment once it
reads it, so MCP servers and shell commands the agent starts can't tie
themselves to the daemon. A second start() in the same process still
returns the running watcher.
@kovtcharov

Copy link
Copy Markdown
Contributor Author

Took the 🟢 note too: start() now pops GAIA_DAEMON_PID from os.environ when it reads it, so MCP servers and shell commands the agent launches don't inherit it. A second start() (the dev-mode import, then main()) still returns the running watcher.

🔍 Technical details
  • New test_reading_the_environment_removes_the_pid_from_it. test_sidecar_parent_watch.py and test_shipped_gaia_on_path.py: 18 passed.
  • Live, both dev-mode sidecars after the change: the flagship exited 2.2 s and the email sidecar 2.1 s after their stand-in daemon was killed.

The hint is printed only by a pip-installed agent whose amd-gaia predates the
daemon watch; the app's bundled agent always has it.
@kovtcharov-amd kovtcharov-amd added ready_for_ci Run CI workflows on draft PR without requesting review and removed ready_for_ci Run CI workflows on draft PR without requesting review labels Nov 16, 2026
@github-actions

Copy link
Copy Markdown
Contributor

Verdict: Approve with suggestions

This change fixes agents left running after their GAIA daemon is killed. The daemon now passes its process id to each agent it starts. The agent checks every 5 seconds that the daemon is still alive, and when it isn't, it shuts down through its normal Ctrl+C path. If that stalls, it exits outright after 30 seconds. The approach holds up:

  • A reused process id doesn't count as the daemon still running.
  • A killed daemon nobody has cleaned up yet counts as gone.
  • The id is removed from the agent's environment, so programs the agent starts don't tie themselves to the daemon.
  • The daemon never hands a running agent on to a new daemon, so an agent exiting with its daemon breaks no handover.

Nothing blocks the merge. One small suggestion: if the agent isn't allowed to inspect the daemon's process at startup, it crashes with a raw traceback instead of a one-line reason.

The packaged-app check (end the daemon in Task Manager and confirm gaia-agent.exe exits) is still unticked. That is the one place the Windows shutdown signal runs inside the frozen binary, so please run it before merging.

Real-world evidence

N/A: this job wrote no evidence bundle. The PR description shows a live run from source: the agent exited 2.4 s after its stand-in daemon was killed, and the log shows the shutdown message and a clean uvicorn shutdown. The packaged Windows path wasn't exercised here, so the verdict rests on static review for that path. I couldn't run the new tests on this runner because pytest isn't installed, so CI has to confirm them.

🔍 Technical details

Issues

🟢 psutil.AccessDenied at startup escapes as a traceback (hub/agents/gaia/python/gaia_agent/server.py, serve_http; same in the email main())

  • parent_watch.start() calls _identity(pid) synchronously, and its docstring says AccessDenied propagates. serve_http catches only ValueError, so the agent dies with a stack trace rather than the gaia-agent: … line and exit code 2 used for a bad pid.
  • A daemon and an agent running as the same user should never hit this. If they do, the error should still name what failed:
        except (ValueError, psutil.AccessDenied) as exc:
            print(f"gaia-agent: cannot watch the GAIA daemon: {exc}", file=sys.stderr)
            return 2

(import psutil is needed in that scope. The email main() can do the same through parser.error.)

Checked, no finding

  • Sibling spawn paths: AgentSidecarManager._spawn_process is the only Popen that launches a sidecar. Dev mode (uvicorn server:app) is covered by the import-time start() in both packaging/server.py files.
  • Adoption: ledger.py truncates the ledger and never adopts a live sidecar, so dying with the daemon is consistent with custody.
  • No-deadline check: the poll loop runs at a fixed interval, and the 30 s os._exit timer backs up the SIGINT path.
  • Dependencies: psutil is already in core install_requires.
  • Old-version case: an amd-gaia without the watch logs a warning with an upgrade hint rather than failing silently.
  • Docs: both CHANGELOGs for each agent are updated. No README, SPEC or SKILL doc claims the sidecar survives a killed daemon.
  • The email sidecar isn't in test_user_facing_text.py's scan roots, so its pip hint needs no allowlist entry.

Strengths

  • Comparing start times catches pid reuse, and the zombie check covers a POSIX daemon that was killed but not yet reaped. Both have targeted tests.
  • Popping GAIA_DAEMON_PID from os.environ stops MCP servers and shell commands from inheriting the tie, and the second start() from dev mode is idempotent.
  • The PR explains why a pid watch beats a Job Object with kill-on-close: a job would kill apps the agent launched for the user.

parent_watch.start() now raises ValueError for it, which both agents' entry
points already print as a single line with exit 2 instead of a traceback.
@kovtcharov-amd kovtcharov-amd added ready_for_ci Run CI workflows on draft PR without requesting review and removed ready_for_ci Run CI workflows on draft PR without requesting review labels Nov 16, 2026
@kovtcharov-amd

Copy link
Copy Markdown
Collaborator

Took the startup suggestion: a daemon the agent may not inspect now raises a ValueError naming the cause, so both agents print one line and exit 2 instead of a traceback. The red Linux unit check was the pip-upgrade hint in the agent server's stderr; it is now listed as developer-only text, since the app's bundled agent always has the watch.

@github-actions

Copy link
Copy Markdown
Contributor

Verdict: Approve

When the GAIA daemon was killed outright, its email or flagship agent kept running and holding memory and a port until another daemon happened to start. This PR fixes that: the daemon now passes its process id to each agent, and the agent shuts itself down through its normal Ctrl+C path within seconds of the daemon disappearing. I found no blocking issues. The watch tells a reused process id apart from the real daemon, treats an unreaped zombie as gone, fails loudly when the id is malformed or can't be checked, and removes the variable so processes the agent launches don't inherit the tie.

Real-world evidence

N/A here: the evidence stage produced no bundle for this PR, so this verdict rests on static review. The PR description shows a live run in which a real flagship sidecar exited 2.4 s after its stand-in daemon was killed, with exit code 0 and a clean uvicorn shutdown in its log. Before release, the unchecked packaged-app item (end the daemon in Task Manager mid-chat and confirm gaia-agent.exe exits) still needs doing.

🔍 Technical details

Issues found

🟢 Daemon already gone at startup raises SIGINT before uvicorn is listening (src/gaia/sidecar/parent_watch.py:613). When born is None, the watcher fires immediately. In serve_http and email main(), that can happen before uvicorn.run installs its signal handlers, so the main thread gets a bare KeyboardInterrupt traceback and a non-zero exit rather than the logged clean shutdown. The process still exits, and the 30 s os._exit backstop covers the rest, so this is cosmetic. Logging the "daemon is gone" line before the agent finishes starting is enough to make the cause obvious in the sidecar log.

🟢 Import-time hook in packaging/server.py has no test. The dev-mode uvicorn server:app path is what starts the watch for source-checkout daemons, but no test imports that module with GAIA_DAEMON_PID set. The function itself is well covered. A one-line import test would stop a future refactor from silently dropping the hook.

Checks run

  • Sibling paths: the daemon spawns sidecars only through AgentSidecarManager._spawn_process, and the PR sets the pid there. Nothing in the daemon adopts a live sidecar from a previous daemon, so a sidecar can't outlive the handoff and then kill itself. Email's --reload path skips the watch, but that is a dev flag the daemon never passes.
  • Known bug classes: polling has a fixed interval, and the shutdown has a 30 s hard deadline. AccessDenied mid-watch counts as "still alive" rather than "gone", which is the safe choice (no dishonest status). The pid is checked by start time, so a reused pid isn't mistaken for the daemon.
  • Doc drift: no doc describes a sidecar outliving a killed daemon. The "crashed daemon left behind" line in docs/reference/cli.mdx is about the Lemonade server, which this PR doesn't change. Both packages' CHANGELOGs carry the entry.

Strengths

  • Shutting down through SIGINT instead of os._exit lets the agent's own shutdown cleanup (such as stopping the MCP servers it started) run, and the timed backstop keeps that from hanging.
  • os.environ.pop stops the agent's child processes from tying themselves to the daemon. The test (test_reading_the_environment_removes_the_pid_from_it) covers both entry points calling start().
  • The PR explains why it chose a pid watch over a Job Object: with kill-on-close, any app the agent launches would die along with the daemon.

@kovtcharov-amd kovtcharov-amd added ready_for_ci Run CI workflows on draft PR without requesting review and removed ready_for_ci Run CI workflows on draft PR without requesting review labels Nov 16, 2026
@github-actions

Copy link
Copy Markdown
Contributor

Verdict: Approve with suggestions

If the GAIA daemon is killed (a crash, or End task), its email and flagship agents now shut down by themselves within seconds instead of staying alive, holding memory and a port. The design is sound. The daemon passes the agent its pid and the agent checks it every few seconds. Because the check compares the process's start time, a reused pid isn't mistaken for the daemon. A killed process that hasn't been cleaned up yet still counts as gone. Shutdown goes through the agent's normal Ctrl+C path, and the agent is forced to exit after 30 s if that hangs. Nothing blocks the merge.

  • The PR's own test plan still has the packaged-app check unticked: end the daemon in Task Manager and confirm gaia-agent.exe exits. The live run in the description was a from-source sidecar. The packaged app goes through a different launch path, and on Windows the Ctrl+C signal is delivered differently, so tick that box before release.

Real-world evidence

N/A here: no evidence bundle was produced for this run. The PR description includes the author's own live run: a from-source flagship sidecar exited 2.4 s after its stand-in daemon was killed, with exit code 0 and a clean Application shutdown complete. The frozen Windows binary path is unverified, so the verdict rests on static review for that surface. I couldn't run the new unit tests in this job (pytest isn't installed on the runner).

🔍 Technical details

Issues

🟢 Dev-mode import path has no friendly error (hub/agents/gaia/python/packaging/server.py:59, hub/agents/email/python/packaging/server.py:43). main()/serve_http() turn the ValueError from parent_watch.start() into one line. The uvicorn server:app import path lets it out as an import-time traceback. That path is dev-only and the message is still readable, so it's optional. Wrapping it the same way would keep the two paths consistent.

🟢 Tests patch psutil.Process module-wide while earlier tests' watcher threads are still polling (tests/unit/test_sidecar_parent_watch.py:100,122). The _fresh_watcher fixture resets _watcher but doesn't stop the previous thread. Today that's harmless: the leaked threads either hit on_gone=lambda: None or exit after their sleeper dies. If a later test ever passes the real _shut_down, a leaked thread could SIGINT the pytest process. Giving the watch loop a stop Event that the fixture sets would close that off.

Checked, no finding

  • The daemon has one spawn site (manager.py _spawn_process), and it now sets GAIA_DAEMON_PID next to GAIA_DAEMON_SUPERVISED. Sidecars started outside the daemon (npm wrapper, standalone) never see the var, so they get no watch, which is correct.
  • Calling start() twice in dev mode (module import plus main()) returns the same watcher, even though the env var was already popped. The test covers this.
  • psutil is a core amd-gaia dependency. The ImportError fallback covers agent wheels installed against an older amd-gaia, and the test_user_facing_text allowlist entry for its pip hint is justified.
  • Docs drift: no README/SPEC/SKILL says a sidecar outlives a killed daemon. The CHANGELOGs (email npm and python, flagship npm) name the change.

Strengths

  • Comparing the pid's start time and treating a zombie as gone covers the two classic pid-watch false negatives, and each has a test.
  • Removing GAIA_DAEMON_PID from os.environ stops MCP servers and shell children from inheriting the tie.
  • AccessDenied is treated as an error at startup and as "still alive" mid-run. That fails loudly where the user can act on it, and avoids a spurious shutdown.

…gone

A daemon gone before the agent's server was listening sent a SIGINT that
surfaced as a bare KeyboardInterrupt traceback; start() now raises the
same one-line ValueError the entry points print (exit 2). The dev-mode
import hook prints it in one line too. The watcher gets a stop event and
stop(), which the tests use so no leftover thread can SIGINT a later
test, and a test now imports both agents' packaging modules to pin the
dev-mode hook.
@kovtcharov

Copy link
Copy Markdown
Contributor Author

Took all four 🟢 notes from the last two reviews:

  • Daemon already gone at startup: start() now refuses with the same one-line ValueError the entry points print, instead of a SIGINT before uvicorn is listening. Live: gaia-agent: the GAIA daemon (pid 51396) that started this agent is already gone, so the agent is not starting. Start GAIA again., exit 2, no traceback.
  • Dev-mode import path: both packaging/server.py hooks turn that ValueError into a one-line SystemExit.
  • Import hook test: a new test imports each agent's packaging/server.py with GAIA_DAEMON_PID set and asserts the watch is running and the variable is gone. Another pins the one-line refusal of a bad pid.
  • Leaked watcher threads: each watcher has its own stop event, and a new stop() ends it. The fixture stops the watcher before and after every test, so no leftover thread can SIGINT a later one.
🔍 Technical details
  • The zombie test now kills the daemon after start: a zombie at startup is the already-gone case.
  • test_sidecar_parent_watch.py: 13 passed, including both agents' dev imports. Related daemon, flagship packaging and user-facing-text suites: 366 passed.
  • Live, after the change: dev-mode flagship and email sidecars exited 2.5 s and 2.4 s after their stand-in daemon was killed.
  • The packaged-app (Task Manager) item stays unticked until an RC ships this agent binary.

@kovtcharov-amd
kovtcharov-amd added this pull request to the merge queue Nov 16, 2026
Merged via the queue into amd:main with commit cce3ac8 Nov 16, 2026
108 checks passed
@kovtcharov-amd
kovtcharov-amd deleted the fix/sidecar-dies-with-daemon branch November 16, 2026 03:18
@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

agent::email Email agent changes daemon Daemon supervisor / sidecar control plane ready_for_ci Run CI workflows on draft PR without requesting review sidecar Agent sidecar contract / harness tests Test changes

Projects

None yet

Development

Successfully merging this pull request may close these issues.

A killed daemon leaves its agent running until the next daemon starts

2 participants