Files
archie/docs/news/1.30.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

132 lines
6.7 KiB
Markdown

# 1.30.0
Released 2026-09-20. [All news](index.md)
### archied — Messaging Service extraction completed
Telegram, email and webhook no longer run inside the daemon. They run in
`archie-messaging` and reach the daemon through the Gateway's `ChatContract`
over gRPC; the daemon builds no channel and no `gateway.Router` (#899).
- The operator surface is re-wired in the extracted service: `/update` (built
from its own `[chat.telegram]` commands), the update-report relay, the
`show_tool_calls` projection, and `/restart`'s config reload, which
re-resolves the token and allowlist from this service's own file and refuses
a reload that resolves to an empty token.
- `/version` is sourced from the Gateway through a new `ChatSnapshot.Version`
field. `cmd/archie-messaging` deliberately takes no version ldflags, so it
cannot report a partial upgrade as a matched one.
- Channel configuration is validated at composition, so a configured-but-
invalid front-end fails the service instead of being silently dropped.
- The inbound rate limiter moves to the Gateway, which now owns the only
Router and is therefore the one place a per-sender budget can apply to every
channel's turns.
`RunningVersions` and `ReleaseAnnouncements` are deliberately left unwired:
both need a component's real running version, and the only versions this
process can obtain are another binary's stamps. See
`docs/architecture/migration-decisions.md`.
### archied — Configuration
- `diff_cap_lines = 0` now switches the cap off, as the dashboard and the
workflow step have always documented. It was a plain `int`, so the defaults
pass could not tell an absent key from an explicit `0` and rewrote both to
400 -- the documented way to disable the cap was unreachable. **Behaviour
change:** a config that set `0` was silently getting 400 and will now get no
cap.
- The same ambiguity was failing open per identity: `configForIdentity`
assigned the identity's value unconditionally, so an identity that merely
omitted `diff_cap_lines` overwrote the shared cap with the zero value and
disabled the safety rail entirely. An identity now overrides only when it
sets the key.
- A diff-cap park no longer tells the operator to "approve manually". A parked
task's actions are retry, abandon and reject, so there is no approve path out
of diff-cap; it now names the two things that work.
- `[health].dependency_timeout` makes the daemon's readiness probe timeout
configurable, matching the extracted services.
### archied — Chat rendering
- `/status` and `/tasks` are line-oriented reports but separated lines with a
plain newline, which is CommonMark's soft wrap: the Telegram renderer joined
them into one run-on paragraph. The renderer implements CommonMark's hard
line break and the reports use it. Ordinary prose still soft-wraps.
- A park reason is capped to its first line in the `/tasks` list. It carries
whatever the failing stage reported, which for a lint gate is a whole tool
log; unbounded, one parked task pushed every other task out of the reply. The
full reason is unchanged on the task, in `task_list` and on the dashboard.
### archied — Review
- Review findings are posted as line-anchored PR comments with suggested fixes,
and a suggestion must be single-line -- GitHub applies a multi-line suggestion
only up to its first line, silently corrupting the file (#891).
- The remediate workflow handles PR review comments and requested changes.
### archied — /status health surface
`/status` reports the live broker connection and the last-known outcome of this
process's chat-model calls, alongside the queue depth and runtime block (#892).
- A provider error is flattened and capped, so a multiline or oversized error
cannot break the one-line-per-fact layout.
- Concurrent model calls no longer reorder: the completion time is taken before
the lock, so the newer outcome wins rather than whichever goroutine stored
last.
- Curator model calls are recorded too. They bypass the chat path, so a daemon
whose only recent model traffic was curator work reported "no calls attempted
yet" while the provider was demonstrably reachable.
- Title generation does not record health. It runs detached under its own
bound and its error is swallowed, so a cosmetic timeout was overwriting the
line with "failed".
**Known limitation:** the container, poll and channel sections cannot render.
Those facts live in the daemon, but the only Router lives in the Gateway
process, which has no container pool and no poll loop. The command description
says what actually appears; restoring the rest needs a cross-process health
contract.
### archied — Dashboard and containers
- The served lifecycle vocabulary reaches an already-painted page, the page
registry matches the routes, and the build verifies `ui/dist` is fresh
instead of never looking at it (#890, #898).
- The container reaper no longer deletes teardown bookkeeping early, so a
released container is not torn down twice (#893).
### archied — Build
- `task fmt` runs `golangci-lint fmt` -- the same engine and configuration the
gate checks with. Standalone `gofumpt` cannot reproduce gci's import
grouping, so formatting and linting could not converge and no command
satisfied the gate (#901).
- `goimports` is deliberately absent from the formatter set: it re-reads and
re-parses the module index once per file, ~135s across this tree.
### archied — Fixed
- `Config.Clone` left the new diff-cap pointers aliased, so a clone could write
through to the published snapshot (#902).
- A curator asking for a completion on a daemon with no configured provider
panicked the process; it now returns an error.
### archie-agent
- The sandboxed runtime picks up line-anchored review comments: a finding is
posted against the line it is about, with a suggested fix where it has one,
and a suggestion is rejected unless it is single-line -- GitHub applies a
multi-line suggestion only up to its first line, silently corrupting the
file (#891).
- `diff_cap_lines` is an optional value in the shared config the runtime
reconstructs, so an explicit `0` means "no cap" rather than being rewritten
to the default. **Behaviour change** for a repo that set `0` expecting
unlimited and was silently getting 400 (#899).
- A diff-cap park names a remedy that exists: a parked task's actions are
retry, abandon and reject, so the reason no longer says "approve manually".
- A released container is not torn down twice -- the reaper no longer deletes
teardown bookkeeping before `Release` is finished with it (#893).
- Build toolchain: `gofumpt` and `golangci-lint` are pinned as one matched
pair, and `task fmt` uses the same engine the gate checks with, so the
runtime's own gate is satisfiable (#901).