diff --git a/CHANGELOG.md b/CHANGELOG.md index 6199091ea..b0e9e5eb9 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -5,6 +5,54 @@ release's per-component sections are labelled beneath its heading. ## [Unreleased] +## [1.41.0] - 2026-09-25 + +### archied + +- **Archie now stores everything in PostgreSQL 18, and `database_url` is + required.** Tasks, events, captures, bindings, settings and chat + conversations are served from the database `database_url` names; the State + Store, archied and the Gateway refuse to start without it, and refuse a + server older than PostgreSQL 18. `docker compose up -d postgres` starts a + matching local database with the default URL in `config.example.toml`. +- **Existing SQLite data is not carried over.** This release reads no SQLite + file and ships no importer, so an upgraded install starts with empty task, + event and conversation history. `db_path` is gone; `state_dir` (default + `~/.local/share/archie`) now holds the embedded NATS store and task logs. +- **Backups are whole-database snapshots.** `archie-state-store backup` and + `restore` work on the PostgreSQL database through `pg_dump`/`pg_restore`, + which must be on `PATH`. There is no automatic schema rollback: the way back + from an upgrade is restoring the snapshot taken before it. +- **Events carry a type, and bindings pick one.** Archie infers an event type + from captured payloads; the Inspector shows proposed and unidentified + events and lets you name them. Mappings are per event type and show how + many captures they match, a source can feed several bindings, and a binding + chooses an event type plus an optional filter. An unidentified event does + not dispatch. +- **Sources own webhook signing.** Each source gets a UUIDv7 path and its own + signing secret, or can be explicitly approved to accept unsigned events. A + new binding starts pending approval. +- **EDA playbooks can run module actions and take workflow inputs.** Action + playbooks run at most once per event through the dispatch ledger, a binding + can pass inputs to its workflow, the repository is optional, and a workflow + can name an agent profile. `archie-playbooks lint -eda-dir` checks a + directory, and `archie-playbooks serve` publishes the same findings to your + editor as a language server. +- **Config keys removed.** `[agent]`, `[oidc]`, `[image]`, + `containers.enabled`, `db_path`, and the `token_env` form of `[forge]`, + `[artifacts]` and `[chat.telegram]` no longer exist. Write each credential as + `token = { engine = "env", key = "NAME" }`. A leftover key is reported at + startup as unrecognised rather than failing the load. +- **Dashboard.** Old `#/path` links and the `/captures`, `/mappings` and + `/bindings` addresses no longer redirect; use the Events page tabs. The live + stream moved to `/api/stream`, so reloading `/events` serves the page. + +### archie-agent + +- The Postgres-backed wire formats, event types and workflow inputs are part + of this image; a host that runs the agent should `docker compose pull agent` + to pick it up. + ## [1.40.0] - 2026-09-23 ### archied diff --git a/docs/news/redirects.json b/docs/news/redirects.json index 0005f656c..59af911a3 100644 --- a/docs/news/redirects.json +++ b/docs/news/redirects.json @@ -52,6 +52,7 @@ "/news/archie/1.4.0/": "/news/1.4.0/", "/news/archie/1.4.1/": "/news/1.4.1/", "/news/archie/1.40.0/": "/news/1.40.0/", + "/news/archie/1.41.0/": "/news/1.41.0/", "/news/archie/1.5.0/": "/news/1.5.0/", "/news/archie/1.6.0/": "/news/1.6.0/", "/news/archie/1.7.0/": "/news/1.7.0/", @@ -121,6 +122,7 @@ "/news/archied/1.4.0/": "/news/1.4.0/", "/news/archied/1.4.1/": "/news/1.4.1/", "/news/archied/1.40.0/": "/news/1.40.0/", + "/news/archied/1.41.0/": "/news/1.41.0/", "/news/archied/1.5.0/": "/news/1.5.0/", "/news/archied/1.6.0/": "/news/1.6.0/", "/news/archied/1.7.0/": "/news/1.7.0/", diff --git a/docs/news/releases.json b/docs/news/releases.json index 2d09a4fa2..ee304bb21 100644 --- a/docs/news/releases.json +++ b/docs/news/releases.json @@ -1,4 +1,9 @@ [ + { + "version": "1.41.0", + "date": "2026-09-25", + "body": "### archied\n\n- **Archie now stores everything in PostgreSQL 18, and `database_url` is\n required.** Tasks, events, captures, bindings, settings and chat\n conversations are served from the database `database_url` names; the State\n Store, archied and the Gateway refuse to start without it, and refuse a\n server older than PostgreSQL 18. `docker compose up -d postgres` starts a\n matching local database with the default URL in `config.example.toml`.\n- **Existing SQLite data is not carried over.** This release reads no SQLite\n file and ships no importer, so an upgraded install starts with empty task,\n event and conversation history. `db_path` is gone; `state_dir` (default\n `~/.local/share/archie`) now holds the embedded NATS store and task logs.\n- **Backups are whole-database snapshots.** `archie-state-store backup` and\n `restore` work on the PostgreSQL database through `pg_dump`/`pg_restore`,\n which must be on `PATH`. There is no automatic schema rollback: the way back\n from an upgrade is restoring the snapshot taken before it.\n- **Events carry a type, and bindings pick one.** Archie infers an event type\n from captured payloads; the Inspector shows proposed and unidentified\n events and lets you name them. Mappings are per event type and show how\n many captures they match, a source can feed several bindings, and a binding\n chooses an event type plus an optional filter. An unidentified event does\n not dispatch.\n- **Sources own webhook signing.** Each source gets a UUIDv7 path and its own\n signing secret, or can be explicitly approved to accept unsigned events. A\n new binding starts pending approval.\n- **EDA playbooks can run module actions and take workflow inputs.** Action\n playbooks run at most once per event through the dispatch ledger, a binding\n can pass inputs to its workflow, the repository is optional, and a workflow\n can name an agent profile. `archie-playbooks lint -eda-dir` checks a\n directory, and `archie-playbooks serve` publishes the same findings to your\n editor as a language server.\n- **Config keys removed.** `[agent]`, `[oidc]`, `[image]`,\n `containers.enabled`, `db_path`, and the `token_env` form of `[forge]`,\n `[artifacts]` and `[chat.telegram]` no longer exist. Write each credential as\n `token = { engine = \"env\", key = \"NAME\" }`. A leftover key is reported at\n startup as unrecognised rather than failing the load.\n- **Dashboard.** Old `#/path` links and the `/captures`, `/mappings` and\n `/bindings` addresses no longer redirect; use the Events page tabs. The live\n stream moved to `/api/stream`, so reloading `/events` serves the page.\n\n### archie-agent\n\n- The Postgres-backed wire formats, event types and workflow inputs are part\n of this image; a host that runs the agent should `docker compose pull agent`\n to pick it up." + }, { "version": "1.40.0", "date": "2026-09-23",