Files
archie/docs/news/1.35.0.md
T
sam 83c06b6aff feat(release): one release stream, one version, one page per version
CHANGELOG.archied.md and CHANGELOG.archie.md were two version streams that
drifted: a release that moved both components had two numbers, two pages and
two tags, and a reader had to visit two files to learn what shipped.

The merged history holds 65 versions from 64 archied and 34 archie sections --
33 that both components released, 31 only archied, one only archie -- so 98
published pages become 65. A version's date is the newest of its sections'
dates, and a component whose own date differs carries it on its label, because
the history has two dates and the merge must not invent one. `## [Unreleased]`
is not a release: it gets no page, and it stays at the top of the file.

A level-two heading is where the merge could silently drop a section, so the
merge is verified by content rather than by the generator: section counts per
source, the merged version set against the exact union, and every source `###`
title present both as a substring and, after stripping the component prefix, as
an identical heading. Counting `##` headings rather than releases overcounts by
one here, which is how the empty `[Unreleased]` block was caught.

- newsgen reads one file and writes `docs/news/<version>.md`, the index, the
  canonical `releases.json`, and `docs/news/redirects.json`. The redirect table
  is what keeps the retired `/news/<component>/<version>/` URLs alive; it is
  generated beside the pages so it cannot drift from them.
- release.sh takes one `--version`, keeps commit and tag (the Woodpecker
  pipeline that will own them does not exist yet), and exits 3 when the commit
  set justifies no release, so a pipeline can finish green without tagging.
- The consumers of the two files follow: the deploy workflow's tag gate and
  release-notes extraction, the zip contents, the update check's changelog
  links, the packaged-path note, the docs skill, and newsgen's tests.

The per-component detail survives as labelled sections inside each release, so
a reader still learns whether archied or the agent changed; what goes away is
the separate numbers and the separate pages.
2026-09-22 17:18:06 +10:00

57 lines
3.4 KiB
Markdown

# 1.35.0
Released 2026-09-22. [All news](index.md)
### archied — The Messaging Service is severed from the store and workflow runtime
- `cmd/archie-messaging` no longer links `modernc.org/sqlite`, `internal/store`,
`internal/domain/workflow` or `internal/agentexec`. All four arrived through a single import of
`internal/app/controlplane`; the client half now lives in
`internal/infrastructure/controlplanerpc`, and the app package keeps the server, the registry, the
seeds, the validators and the schema derivation.
- The resource documents are type-aliased back into the app package, so there is one definition read
under two names rather than a copy per side.
### archied — Channel lifecycle reaches the dashboard
- The Messaging Service reports each channel's state, recorded **per channel**: one channel's failure
marks only itself, a channel that cannot start is marked failed **with its reason** rather than only
logged, and one that returns is marked stopped. `internal/channels/status.Manager` reports each channel's state.
- `PutChannelStatus`/`ListChannelStatus` carry that to the dashboard, following the config-snapshot
split. The store **replaces the reported set**, so a channel the reporter stops mentioning is
deleted rather than left as a stale `running`; an empty report clears the table, because hosting no
channels is a fact worth reporting; and an id-less row is refused, since it could never be replaced
or removed by a later report.
- `Service.ReloadChannel` routes to the channel's own seam and refuses a channel that cannot reload
with a reason rather than accepting and ignoring it. `ReloadSupported` was previously declared **by
name**, so a channel could advertise reload with nothing behind it; one function now decides both.
### archied — Action playbooks: a second playbook shape, with typed results
- A playbook is now one of two shapes: a **workflow playbook** (exactly one `workflow` action,
unchanged) or an **action playbook** (one or more `module` actions in order). A playbook does not
mix them.
- `args` and `when` share one compilation path and one evaluation context, and `actions.<id>` is typed
by the kind that action runs, so a misspelled result field, an unknown id, a map index, `in`, a
comprehension, or a shape-foreign key (`kind` on a `workflow` action, `workflow` on a `module`
action) is a **load failure** rather than a dispatch failure.
- **Action playbooks load but do not run yet.** Routing arrives with the first side-effecting
position; the daemon warns at load rather than accepting them silently.
- The CEL environment is built per playbook, because result typing depends on the ids a playbook
declares.
- `ModuleRegistry.DecodeResult` turns a kind's flat map result into its typed `Result` before a later
expression reads it. Without it a typed read evaluated against a shape the run never produces, and
so silently read null.
### archie-agent
The sandboxed runtime links the same shared packages as archied, so this release carries the
channel-lifecycle store contract and the stricter action-load errors with it:
- The channel-status store contract (`PutChannelStatus`/`ListChannelStatus`) and its replace-the-set
semantics.
- Authoritative module ids and stricter action load errors: a misspelled result field, an unknown id,
or a dynamic `actions` read now fails the playbook load rather than the dispatch.
archied and archie-agent move together in this release.