Matt Toohey 6ffcfe60fa feat(acp): persist client-authored session system prompts across restarts
Add a new SQLite column on the `sessions` table that stores client-set
system-prompt state (the `Set` override and any `Append` extras whose
key starts with `client_`). The ACP
`_goose/unstable/session/system-prompt/set` handler writes through to the
session record after each successful mutation; `spawn_agent_setup`
rehydrates the agent's PromptManager from that record before signalling
ProviderReady, so loaded sessions resume with the same persona / system
prompt the client last sent.

LoadSessionResponse._meta gains a `clientSystemPrompt` map of
key -> sha256-short fingerprints so clients can skip the redundant
`set` RPC on the first prompt of a loaded session when the value hasn't
changed.

Schema bumped to v14 with an idempotent ALTER TABLE migration; old
sessions without the column read as None. Server-managed Append keys
(recipe, final_output, additional, hints_*) are explicitly excluded
from persistence — they're rebuilt at agent-spawn time from other
session state.

Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
Signed-off-by: Matt Toohey <contact@matttoohey.com>
2026-05-29 15:42:41 +10:00
…
2026-05-11 16:02:44 +00:00
…
…
2026-05-26 16:09:03 +00:00
…
2026-05-22 16:24:47 +00:00

🦆 goose has moved! This project has moved from block/goose to the Agentic AI Foundation (AAIF) at the Linux Foundation. Some links and references are still being updated — please bear with us during the transition.

goose

your native open source AI agent — desktop app, CLI, and API — for code, workflows, and everything in between

Discord CI Packaging status

goose is a general-purpose AI agent that runs on your machine. Not just for code — use it for research, writing, automation, data analysis, or anything you need to get done.

A native desktop app for macOS, Linux, and Windows. A full CLI for terminal workflows. An API to embed it anywhere. Built in Rust for performance and portability.

goose works with 15+ providers — Anthropic, OpenAI, Google, Ollama, OpenRouter, Azure, Bedrock, and more. Use API keys or your existing Claude, ChatGPT, or Gemini subscriptions via ACP. Connect to 70+ extensions via the Model Context Protocol open standard.

goose is part of the Agentic AI Foundation (AAIF) at the Linux Foundation.

Get started

Download the desktop app for macOS, Linux, and Windows.

Or install the CLI:

curl -fsSL https://github.com/aaif-goose/goose/releases/download/stable/download_cli.sh | bash

Quick links

Need help?

a little goose humor 🪿

Why did the developer choose goose as their AI agent?

Because it always helps them "migrate" their code to production! 🚀

goose around with us

S
Description
No description provided
Readme Apache-2.0 1.5 GiB
Languages
Rust 63.6%
TypeScript 29.6%
JavaScript 1.7%
Shell 1.6%
Python 1.5%
Other 1.8%