feat(docs): publish generated news and per-version release notes
Derive a public news page and one release-notes page per component version from CHANGELOG.archied.md and CHANGELOG.archie.md, the notes the release process already freezes. - tools/newsgen writes docs/news/releases.json, the canonical artifact a host renders from, plus the MkDocs pages. Check mode fails when the committed files lag a changelog edit, and runs in task check; tools/release.sh --tag regenerates and stages them in the release commit, skipping files already current. - mkdocs.yml keeps the version pages out of the derived navigation without excluding them from the site.
This commit is contained in:
1 parent
0198724f14
commit
eaa53df4d8
103 files changed
+3552
-2
No files matched your search
@@ -101,6 +101,36 @@ tasks:
|
||||
cmds:
|
||||
- go -C tools run -mod=readonly ./prdlint --repo-root ..
|
||||
|
||||
news:
|
||||
desc: Regenerate the news page and per-version release notes from the changelogs
|
||||
summary: |
|
||||
Writes docs/news/releases.json and docs/news/. The JSON is the
|
||||
canonical, host-neutral fact set every renderer reads; the markdown is
|
||||
the MkDocs adapter. Both come from CHANGELOG.archied.md and
|
||||
CHANGELOG.archie.md, so cutting a release adds no writing here.
|
||||
|
||||
The files are committed, so this dirties the tree deliberately: review
|
||||
the diff and commit it with the changelog that produced it. Never
|
||||
hand-edit a generated release page.
|
||||
|
||||
tools/release.sh --tag runs this before the release commit, and it skips
|
||||
any file whose bytes already match, so a re-run leaves the tree clean.
|
||||
cmds:
|
||||
- go -C tools run -mod=readonly ./newsgen --repo-root ..
|
||||
|
||||
news:check:
|
||||
desc: Verify the committed release notes match the changelogs
|
||||
summary: |
|
||||
Derives the release notes in memory and fails when the committed files
|
||||
differ, without modifying the working tree. Runs in `task check`, so a
|
||||
changelog edit cannot land without its regeneration.
|
||||
|
||||
A file inside docs/news/<component>/ that the generator does not produce
|
||||
is a finding too: that directory is generated, and a hand-written page
|
||||
belongs at the docs/news root instead.
|
||||
cmds:
|
||||
- go -C tools run -mod=readonly ./newsgen check --repo-root ..
|
||||
|
||||
vet:
|
||||
desc: Run go vet
|
||||
cmds:
|
||||
@@ -420,6 +450,10 @@ tasks:
|
||||
- task: proto:check
|
||||
- task: docs:check
|
||||
- task: docs:prds
|
||||
# Release notes are generated from the changelogs the release process
|
||||
# already freezes. Left out of the gate, a changelog edit would land
|
||||
# while the published notes silently lag behind it.
|
||||
- task: news:check
|
||||
- task: vet
|
||||
- task: lint
|
||||
- task: build
|
||||
|
||||
@@ -0,0 +1,6 @@
|
||||
# archie-agent 1.0.0
|
||||
|
||||
Released 2026-07-22. [All news](../index.md)
|
||||
|
||||
- feat: ship the isolated agent runtime, NATS RPC boundary, workflow execution, skills, and plugin support
|
||||
- feat: publish the `archie-agent` container image to the Gitea registry
|
||||
@@ -0,0 +1,12 @@
|
||||
# archie-agent 1.1.0
|
||||
|
||||
Released 2026-07-27. [All news](../index.md)
|
||||
|
||||
- feat: add streamed agent execution with typed message events
|
||||
- feat: add MCP client transports and managed tool-provider discovery
|
||||
- feat: add memory context scrubbing and normalized memory tool schemas
|
||||
- feat: add plugin metadata extraction from `metadata.archie.plugins`
|
||||
- feat: add configurable container networking for daemon-launched runtimes
|
||||
- fix: preserve valid UTF-8 when clipping runtime output
|
||||
- fix: make MCP stdio lifecycle, retries, and timeout handling race-safe
|
||||
- fix: enforce a zero-finding lint and vet baseline
|
||||
@@ -0,0 +1,47 @@
|
||||
# archie-agent 1.16.0
|
||||
|
||||
Released 2026-08-25. [All news](../index.md)
|
||||
|
||||
**Version realigned with `archied`.** This release jumps from 1.9.9 to 1.16.0
|
||||
to put the two components on matching numbers; there are no 1.10-1.15 agent
|
||||
releases. It clears the accumulated runtime backlog in one cut rather than
|
||||
bundling it as a rider on a later change, so the list below spans several
|
||||
weeks of work rather than one session's.
|
||||
|
||||
Highlights:
|
||||
|
||||
- feat(nats): run an embedded server when no external NATS is configured, and
|
||||
expose the embedded broker to managed task workers
|
||||
- feat(deployment): default to managed NATS workers; the daemon requires a
|
||||
full-task worker handoff and the legacy in-process, subprocess and
|
||||
single-stage execution paths are gone
|
||||
- feat(forge): GitHub webhook receiver for immediate issue dispatch, with
|
||||
dedup regression proof; unbound webhook events are stored retention-bounded
|
||||
- feat(webui): payload field mapping -- bind JSON paths to named fields and
|
||||
preview before saving
|
||||
- feat(scheduling): ticker engine with configurable interval and pools
|
||||
- feat(storage): persist agent project state
|
||||
- feat(agent): stamp archie-agent's build and report it back to the daemon
|
||||
- feat(tools): `generate_video` via MiniMax, gated behind config, and
|
||||
`MultimodalResult.URLs` for remote-hosted media
|
||||
- feat(workflow): define the adversarial-review findings contract
|
||||
|
||||
Fixes:
|
||||
|
||||
- fix(worktree): bind publication to dispatch grants; reset retries to a
|
||||
pristine base; reject diffs without a merge base; clean untracked files when
|
||||
`.git` is a gitdir file; post-push metadata resilience, cancellation and
|
||||
branch naming
|
||||
- fix(container): persist the npm cache for per-task MCP servers
|
||||
- fix(agentexec): recover omitted finish calls
|
||||
- fix(agentworker): move JSONL decode into storage, unblocking CI
|
||||
- fix(telegram): compact tool output and drop turn caps
|
||||
- fix(webui): give dashboard-initiated updates a phase-2 report; restore the
|
||||
provider gate and dashboard token accounting
|
||||
- refactor: remove dead `BasePlatformAdapter` code and legacy execution paths
|
||||
|
||||
Shared with archied 1.16.0 (these packages are in both closures):
|
||||
|
||||
- feat(telegram): send local files as uploads, not fetchable URLs
|
||||
- fix(webui,sendfile): close three holes the adversarial review found
|
||||
- fix(webui): validate mutation Origin against the effective external scheme
|
||||
@@ -0,0 +1,5 @@
|
||||
# archie-agent 1.16.1
|
||||
|
||||
Released 2026-08-25. [All news](../index.md)
|
||||
|
||||
- fix(agentworker): reconcile task clone ownership after commits
|
||||
@@ -0,0 +1,8 @@
|
||||
# archie-agent 1.17.0
|
||||
|
||||
Released 2026-08-25. [All news](../index.md)
|
||||
|
||||
- Compact task history against the selected model's real context capacity without imposing a token cap.
|
||||
- Preserve completed steps and billed usage when a later provider call fails; failed compaction now keeps the original history and continues.
|
||||
- Persist detailed agent-stage usage through the daemon-owned store before lossy live event fan-out.
|
||||
- Apply configured or forge-derived author and committer identity to sandboxed task commits.
|
||||
@@ -0,0 +1,6 @@
|
||||
# archie-agent 1.18.0
|
||||
|
||||
Released 2026-08-28. [All news](../index.md)
|
||||
|
||||
- feat(logging): cursor pagination and filtering for task_logs
|
||||
- build(deps): upgrade github.com/samcharles93/ai-sdk to v0.1.29
|
||||
@@ -0,0 +1,19 @@
|
||||
# archie-agent 1.19.5
|
||||
|
||||
Released 2026-09-01. [All news](../index.md)
|
||||
|
||||
- feat(tasks): allow rejecting a task from any non-terminal state
|
||||
- feat(tasks): serve the lifecycle presentation catalog from /api/task-meta
|
||||
- fix: go.mod bumped to 1.27.0 and stupid tests removed
|
||||
- refactor: go modernisation fixes
|
||||
- refactor: remove unused Operator param.
|
||||
- fix(plugin): add missing CLAUDE.md reference to plugin engine rule
|
||||
- fix(app): repoint archied wiring contract test at internal/app/archied
|
||||
- refactor(agentexec): use ai-sdk NewTypedTool for pluginToolSet and scriptToolSet
|
||||
- refactor(lint): reduce cyclomatic/cognitive complexity in tools, workflow, webui
|
||||
- fix(app): repoint capability-host wiring contract test at internal/app/archied
|
||||
- refactor(lint): extract more helpers to clear nestif/gocyclo findings
|
||||
- refactor(lint): split AgentStage.Stage into resolveModel/buildRequest/handleResult
|
||||
- refactor(lint): extract Apply/findWalkVisitor helpers; go fix modernization
|
||||
- fix(lint): noctx fixes and dead-code cleanup
|
||||
- feat(workflow): adversarial self-review stage before PR open
|
||||
@@ -0,0 +1,5 @@
|
||||
# archie-agent 1.19.7
|
||||
|
||||
Released 2026-09-02. [All news](../index.md)
|
||||
|
||||
- fix(logging): make Tail/Page allocation bound explicit for CodeQL
|
||||
@@ -0,0 +1,5 @@
|
||||
# archie-agent 1.19.9
|
||||
|
||||
Released 2026-09-02. [All news](../index.md)
|
||||
|
||||
- feat(config): config surface for memory engine selection
|
||||
@@ -0,0 +1,25 @@
|
||||
# archie-agent 1.2.0
|
||||
|
||||
Released 2026-07-31. [All news](../index.md)
|
||||
|
||||
- feat: add MCP client capabilities to archied and archie-agent
|
||||
- fix: Transition() ignores `from` status guard, allowing lost updates
|
||||
- fix: skillscript.Run ignores context, cannot be canceled/timed out
|
||||
- fix: LoadDir: no timeout around Yaegi Eval can hang daemon startup
|
||||
- fix(indexing): surface index config properly and stop silent degradation
|
||||
- refactor(worktree): replace git shell-out with go-git v6
|
||||
- fix(worktreerpc): bound handler contexts and drop the git binary from tests
|
||||
- refactor(nats): rebuild as infrastructure/eventbus/nats with real boundaries
|
||||
- refactor: route tasks on a typed kind, not forge labels
|
||||
- fix(natsrpc): make RegisterAll wait for the server to see subscriptions
|
||||
- refactor(config): move loading into infrastructure/configuration
|
||||
- refactor: add internal/eventbus as the broker-neutral messaging contract
|
||||
- feat(tools): lift tau's file and shell tools into the tool registry
|
||||
- feat: make /stop cancel the running chat turn
|
||||
- fix: kill the whole process group when a shell command is cancelled
|
||||
- feat: refuse unrecoverable shell commands
|
||||
- feat: make /stop reach running agent tasks
|
||||
- fix: use errors.Is/As for context errors and cleanup
|
||||
- fix(grep): distinguish ripgrep exit 1 from a failed search
|
||||
- fix(docker): slim both images and repair unreachable Go tooling
|
||||
- fix(container): write the task boot brief under .git
|
||||
@@ -0,0 +1,13 @@
|
||||
# archie-agent 1.20.0
|
||||
|
||||
Released 2026-09-03. [All news](../index.md)
|
||||
|
||||
- fix: baseline gate repair (go test ./... -count=1)
|
||||
- fix(logging): propagate bound slog attrs to wrapped handler in FeedHandler
|
||||
- feat(image): define provider-neutral image capability contract and config
|
||||
- fix(workflow): stop discarding baseline-fix commits as 'no changes'
|
||||
- fix(workflow): net cache hits from token totals, trim gate-retry output
|
||||
- feat(workflow): dynamic triage instead of defaulting every task to implement
|
||||
- feat(webui): playbook bindings -- matcher + mapping + workflow, HMAC-gated
|
||||
- feat(store): encrypt playbook binding secrets at rest
|
||||
- fix(store): satisfy makezero when building cipher payload
|
||||
@@ -0,0 +1,14 @@
|
||||
# archie-agent 1.21.0
|
||||
|
||||
Released 2026-09-03. [All news](../index.md)
|
||||
|
||||
- feat(workflow): make kind-to-workflow routing YAML-overridable
|
||||
- feat(workflow): route arbitrary forge labels to workflows via playbook YAML
|
||||
- feat(workflow): load kind/label bindings from multiple playbook directories
|
||||
- fix(extract): regenerate stale Yaegi symbol tables; fix wfextract directive
|
||||
- feat(eda): Module position first slice -- registry + side-effect-free log kind
|
||||
- feat(eda): playbook document + event coordinator, single-action workflow-kind dispatch
|
||||
- fix(binding): add Owner/Repo pin, fixing multi-repo dispatch
|
||||
- fix(binding): split ValidateForUpdate so edits can preserve the secret
|
||||
- refactor(eda): extract helpers to satisfy cyclop/gocognit gates
|
||||
- fix(eda): make playbook key collision reporting deterministic
|
||||
@@ -0,0 +1,35 @@
|
||||
# archie-agent 1.23.0
|
||||
|
||||
Released 2026-09-12. [All news](../index.md)
|
||||
|
||||
The agent runtime now reaches task state through the State Store gRPC contract
|
||||
(`STATE_STORE_URL`/`STATE_STORE_TOKEN`, injected by the daemon) instead of the
|
||||
NATS `storerpc` transport, which is deleted. Credentials handed to a task
|
||||
container are scoped to that task rather than being the daemon's own token.
|
||||
Running a 1.23.0 daemon against an older agent image will not work; rebuild or
|
||||
pull the `archie-agent` image with this release.
|
||||
|
||||
- feat(state-store): generalize storerpc as the State Store gRPC contract (#770)
|
||||
- feat(state-store): stand up archie-state-store binary and own archie.db (#771)
|
||||
- refactor(state-store): cut daemon/Gateway over to the remote State Store (#774)
|
||||
- fix(state-store): task-scope container credentials, stream large capture lists, validate Update
|
||||
- fix(staterpc): attach the bearer token to State Store streams
|
||||
- feat(staterpc): carry the dashboard's configuration snapshot
|
||||
- refactor(workflow): relocate Task/Status/Source and define workflow.Store (#754)
|
||||
- refactor(store): move the producer-owned contracts to internal/contracts/store/v1
|
||||
- feat(contracts): add gateway service seams and protobuf toolchain
|
||||
- fix(gateway): drop services.gateway.mode, remote is the only transport
|
||||
- feat(forge): pull request review read surface (ListReviews/ListReviewComments/ReplyToReview)
|
||||
- feat(gateway): operator-triggered PR review with selectable reviewer model
|
||||
- feat(workflow): surface adversarial review findings on the PR body
|
||||
- feat(workflow): review calibration, checked properties and style nits out of contract
|
||||
- fix(workflow): order findings before footer; test the report stash
|
||||
- fix(archied): share one PR reviewer across channels; harden forge and worktree
|
||||
- feat(worktree): Resume re-syncs a worktree onto its branch tip
|
||||
- feat(telegram): support secret refs for bot tokens (#705)
|
||||
- feat(gateway): wire progressive tool disclosure (bridge tools)
|
||||
- feat(archied): serve the daemon's own health endpoint
|
||||
- feat(archieui): standalone UI process over remote Gateway and State Store
|
||||
- refactor(archied): move webhook capture intake to the process that owns work intake
|
||||
- refactor(ui): sever the archie-ui binary from every daemon runtime package
|
||||
- fix(archieui): resolve service tokens from env, without requiring a config file
|
||||
@@ -0,0 +1,6 @@
|
||||
# archie-agent 1.25.0
|
||||
|
||||
Released 2026-09-15. [All news](../index.md)
|
||||
|
||||
- chore: no user-facing changes; versioned so the 1.25.0 release tags both
|
||||
components at the same commit
|
||||
@@ -0,0 +1,47 @@
|
||||
# archie-agent 1.26.0
|
||||
|
||||
Released 2026-09-17. [All news](../index.md)
|
||||
|
||||
- feat(config): add [scheduling] config block
|
||||
- fix(webui): count every chat front-end in the published projection
|
||||
- fix(scheduling): respect configuration ownership
|
||||
- feat(ratelimit): wire per-identity inbound rate limiting into the gateway
|
||||
- fix(tools): judge the rm guard by base name so absolute paths cannot bypass it
|
||||
- fix(daemon): carry kind/label routing bindings to the process that routes
|
||||
- fix(config): deep-copy Image.Hosted/Image.Local in Config.Clone
|
||||
- fix(logging): keep the live descriptor open across a failed rotation
|
||||
- fix(agentworker): wire configured tool-result policy into worker's LoopRunner
|
||||
- refactor(staterpc): delete the superseded single-token auth interceptor
|
||||
- refactor(tools): delete unreachable dispatch/gating engine
|
||||
- feat(channels): wire chat.webhook route config through to the gateway
|
||||
- refactor(tools): delete unreachable AST-based tool discovery
|
||||
- refactor(tools): delete unused plugin-tool registration API from builtin.Registry
|
||||
- refactor(state): delete the dead IncrementRetryCount RPC (breaking change, accepted)
|
||||
- fix(staterpc): preserve marshal_error marker in eventDataJSON
|
||||
- fix(gate): validate finding level and share the blocking threshold
|
||||
- fix(tools/provider/mcp): preserve MCP binary tool results for delivery
|
||||
- refactor(tools/mcp): delete unreachable MCP adaptation path
|
||||
- refactor(skill): delete dead Discover/DiscoverPlugins/Skill path
|
||||
- refactor(skillbuild): delete dead AugmentRegistry path
|
||||
- fix(builtin): bound read/edit filesystem work by DefaultToolTimeout
|
||||
- refactor(binding): delete dead Matcher.Overlaps method
|
||||
- refactor(forge): delete dead CreateIssue surface
|
||||
- fix(mcp): cancel in-flight SSE reconnect on Stop
|
||||
- fix(container): enforce MaxUptime lifetime cap with a timer
|
||||
- refactor(forge): delete the unwired RepliesAfter surface
|
||||
- refactor(config): delete the two decoded-but-unread policy fields
|
||||
|
||||
The runtime carries a smaller, more focused set of changes than the same
|
||||
version's archied entry: agent-side tool-result policy is now wired into the
|
||||
worker's loop, MCP binary tool results survive to delivery, the container
|
||||
`MaxUptime` lifetime cap is enforced with a timer, and a scheduled run records
|
||||
completion so it does not re-fire each tick.
|
||||
|
||||
Note that several bullets above name config, webui and ratelimit packages. Those
|
||||
are attributed here by the release tool's package-closure rule (`go list -deps`
|
||||
over the agent binary), not because the agent owns them; the substantive
|
||||
runtime changes are the worker, MCP, container and scheduling fixes.
|
||||
|
||||
This entry also confirms the removal of the dead `IncrementRetryCount` State
|
||||
Store RPC, which the agent reaches through `staterpc` rather than by calling it
|
||||
directly.
|
||||
@@ -0,0 +1,7 @@
|
||||
# archie-agent 1.27.0
|
||||
|
||||
Released 2026-09-17. [All news](../index.md)
|
||||
|
||||
- The per-task runtime picks up the new State Store task-log read contract, so
|
||||
the sandboxed agents share one log-reading path with the daemon and the
|
||||
dashboard.
|
||||
@@ -0,0 +1,20 @@
|
||||
# archie-agent 1.28.0
|
||||
|
||||
Released 2026-09-19. [All news](../index.md)
|
||||
|
||||
- The sandboxed runtime picks up the attempt-attribution contract, so the events
|
||||
and changes an agent produces are recorded against the attempt that produced
|
||||
them.
|
||||
- `grep` can use the workspace codesearch index.
|
||||
- A worktree is handed back on every sandbox exit, and container teardown is
|
||||
claimed once — a released container's reaper is cancelled rather than
|
||||
re-firing during the grace period.
|
||||
- Retries recover from worktree path-type conflicts instead of failing
|
||||
opaquely.
|
||||
- A parked workflow run records its park reason in its own log.
|
||||
- Triage criteria distinguish the workflows, and a workflow is required when a
|
||||
code change is needed.
|
||||
- Namespaced forge labels match when routing by kind.
|
||||
- The `ARCHIE_REACTIONS` fan-out stream is provisioned.
|
||||
- Collection fields decoded over the State Store gRPC contract are never nil
|
||||
slices, so an empty collection marshals as `[]` rather than `null`.
|
||||
@@ -0,0 +1,11 @@
|
||||
# archie-agent 1.29.0
|
||||
|
||||
Released 2026-09-19. [All news](../index.md)
|
||||
|
||||
- The sandboxed runtime picks up the review-reaction envelope and its
|
||||
owned-PR authorization, so an agent can only react to reviews on pull
|
||||
requests it opened itself.
|
||||
- `google.golang.org/grpc` bumped past `v1.84.0` to patch
|
||||
[GO-2026-6443](https://pkg.go.dev/vuln/GO-2026-6443) (shared dependency
|
||||
with `archied`; the pre-release commit is pinned pending a stable
|
||||
`v1.85.0`).
|
||||
@@ -0,0 +1,17 @@
|
||||
# archie-agent 1.3.0
|
||||
|
||||
Released 2026-08-08. [All news](../index.md)
|
||||
|
||||
- feat(curator): engine family contract, registry, and runtime
|
||||
- feat(curator): trigger accounting — primary-input wake path
|
||||
- feat(logging): optional rotating log file
|
||||
- feat(daemon): identity-scoped isolation
|
||||
- fix(secrets): wire provider credentials through engines
|
||||
- fix(store): surface task timestamps and tag the summary structs
|
||||
- fix(tools): let an optional provider fail without taking the daemon down
|
||||
- fix(tools): report a cancelled find walk as an error, not empty results
|
||||
- fix(worktree): name the missing forge credential when a push fails
|
||||
- fix: close the duplicate-work loop and the dead paths around it
|
||||
- perf(tools): drop the embedded ripgrep binaries
|
||||
- refactor: one definition of what approving or declining a task means
|
||||
- refactor: move workflow into its own domain
|
||||
@@ -0,0 +1,20 @@
|
||||
# archie-agent 1.30.0
|
||||
|
||||
Released 2026-09-20. [All news](../index.md)
|
||||
|
||||
- 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).
|
||||
@@ -0,0 +1,29 @@
|
||||
# archie-agent 1.31.0
|
||||
|
||||
Released 2026-09-22. [All news](../index.md)
|
||||
|
||||
The sandboxed runtime links the same shared packages as archied, so this
|
||||
release carries the control-plane and workflow changes alongside it:
|
||||
|
||||
- Runtime administration over the State Store's gRPC server, resource history,
|
||||
and control-plane apply status on the store contract.
|
||||
- The shared step vocabulary, owned by a family manager registered at each
|
||||
composition root, and `gate.diff-rules` in place of `.archie/gate.go`
|
||||
(fails closed on a change it never read).
|
||||
- The workflow pin crosses the wire.
|
||||
|
||||
Runtime-specific changes:
|
||||
|
||||
- `refactor(plugin)`: the unused `Registry` type is deleted.
|
||||
- `yaegiutil` refuses incomplete Yaegi interface wrappers at load rather than
|
||||
running them.
|
||||
- The runtime config overlay is deleted.
|
||||
- The state store dial installs client keepalive, and the server policy accepts
|
||||
the dialer's pings.
|
||||
- The MCP client supports per-server `parallel_tool_calls`.
|
||||
- A late max-uptime callback no longer resurrects teardown state.
|
||||
- A webhook route path no longer becomes a sender identity.
|
||||
|
||||
Note: the `archie-agent` image is rebuilt by this tag through CI
|
||||
(`.github/workflows/deploy.yml`); a gateway-only release would not have rebuilt
|
||||
it. `docker compose pull agent` is required to pick it up.
|
||||
@@ -0,0 +1,13 @@
|
||||
# archie-agent 1.32.0
|
||||
|
||||
Released 2026-09-22. [All news](../index.md)
|
||||
|
||||
The sandboxed runtime links `storecontract` and `staterpc`, so it carries the dispatch-ledger
|
||||
contract alongside archied:
|
||||
|
||||
- The shared `store.ErrAlreadyDispatched` sentinel now describes both dedup ledgers --
|
||||
`binding_dispatches` per `(binding_id, capture_id)`, and `playbook_dispatches` per
|
||||
`(playbook_id, playbook_version, event_id, action_id)`. Each is an at-most-once guarantee.
|
||||
- `RecordPlaybookDispatch` is part of the store contract the runtime builds against.
|
||||
|
||||
archied and archie-agent move together in this release.
|
||||
@@ -0,0 +1,22 @@
|
||||
# archie-agent 1.4.0
|
||||
|
||||
Released 2026-08-10. [All news](../index.md)
|
||||
|
||||
- feat(gateway): tool-approval gate, session tools for chat, and /delete command
|
||||
- feat(gateway): make chat turns durable and idempotent
|
||||
- feat(webui): lifecycle-safe task controls with atomic retry and archive
|
||||
- feat(logging,workflow): daemon log feed and executable workflow registry
|
||||
- fix(store,gateway): taskstate constants and mobile jump-to search
|
||||
- feat(webui,gateway): wire config, channel, log-feed, and work-intake seams
|
||||
- fix(build): install ripgrep where grep.go actually needs it on PATH
|
||||
- fix(workflow): carry gate output into the baseline park error
|
||||
- feat(logging): add a per-task log sink
|
||||
- feat(agentexec): publish agent-side logs to the task's system subject
|
||||
- feat(daemon): consume agent system logs into per-task sinks and the dashboard feed
|
||||
- feat(webui,gateway): add /api/tasks/{id}/logs endpoint and task_logs chat tool
|
||||
- refactor(store): replace legacy persistence with SQLite
|
||||
- refactor(daemon,webui): make Daemon.Cfg and webui.Server.Cfg reload-safe
|
||||
- feat(config): SIGHUP-triggered reload with requires-restart warnings
|
||||
- feat(config): surface overlay state, shadowed keys, and per-row reset
|
||||
- fix(config): close review blocker on the PATCH path; deep-copy snapshots; atomics for shared state
|
||||
- fix(config): preserve nil slices in Clone to avoid spurious reload warnings
|
||||
@@ -0,0 +1,10 @@
|
||||
# archie-agent 1.9.0
|
||||
|
||||
Released 2026-08-15. [All news](../index.md)
|
||||
|
||||
- fix(agent): resolve git dubious-ownership in sandbox containers
|
||||
- feat(agent): mark the mounted worktree as a git safe directory
|
||||
- fix(agent): route git safe.directory setup through markWorktreeSafe
|
||||
- feat(chat): show tool calls inline and stream replies into one message
|
||||
- refactor(agent): move worker runtime into application layer
|
||||
- fix(config,webui): make show_tool_calls one cross-channel setting
|
||||
@@ -0,0 +1,5 @@
|
||||
# archie-agent 1.9.1
|
||||
|
||||
Released 2026-08-15. [All news](../index.md)
|
||||
|
||||
- fix(agentworker): forward workflow events across the NATS worker boundary
|
||||
@@ -0,0 +1,5 @@
|
||||
# archie-agent 1.9.2
|
||||
|
||||
Released 2026-08-15. [All news](../index.md)
|
||||
|
||||
- fix(worktree): force checkout so retry recovers from a dirty worktree
|
||||
@@ -0,0 +1,7 @@
|
||||
# archie-agent 1.9.3
|
||||
|
||||
Released 2026-08-15. [All news](../index.md)
|
||||
|
||||
- fix(logging): resolve error attrs to their message string, not {}
|
||||
- fix(agentworker): back off before refetching a nak'd stage message
|
||||
- feat(agentexec,workflow): surface tool calls on the task timeline
|
||||
@@ -0,0 +1,5 @@
|
||||
# archie-agent 1.9.4
|
||||
|
||||
Released 2026-08-15. [All news](../index.md)
|
||||
|
||||
- chore: no user-facing changes
|
||||
@@ -0,0 +1,7 @@
|
||||
# archie-agent 1.9.5
|
||||
|
||||
Released 2026-08-16. [All news](../index.md)
|
||||
|
||||
- refactor: decompose the daemon bootstrap into phased wiring (no behaviour change; complexity-driven restructure)
|
||||
- refactor(tools): split the read executor and flatten nested config/tool fallback logic to lower complexity
|
||||
- fix(tools): avoid predeclared `max` names
|
||||
@@ -0,0 +1,5 @@
|
||||
# archie-agent 1.9.6
|
||||
|
||||
Released 2026-08-16. [All news](../index.md)
|
||||
|
||||
- chore: no user-facing changes
|
||||
@@ -0,0 +1,5 @@
|
||||
# archie-agent 1.9.7
|
||||
|
||||
Released 2026-08-17. [All news](../index.md)
|
||||
|
||||
- chore: no user-facing changes
|
||||
@@ -0,0 +1,5 @@
|
||||
# archie-agent 1.9.8
|
||||
|
||||
Released 2026-08-17. [All news](../index.md)
|
||||
|
||||
- chore: no user-facing changes
|
||||
@@ -0,0 +1,5 @@
|
||||
# archie-agent 1.9.9
|
||||
|
||||
Released 2026-08-18. [All news](../index.md)
|
||||
|
||||
- chore: no user-facing changes
|
||||
@@ -0,0 +1,6 @@
|
||||
# archied 1.0.0
|
||||
|
||||
Released 2026-07-22. [All news](../index.md)
|
||||
|
||||
- feat: ship the resident forge-polling daemon, deterministic workflow engine, isolated worktrees, quality gates, Gitea integration, Docker/NATS worker split, plugin loading, and skills support
|
||||
- feat: publish `archied` and `archie-agent` container images to the Gitea registry
|
||||
@@ -0,0 +1,26 @@
|
||||
# archied 1.1.0
|
||||
|
||||
Released 2026-07-27. [All news](../index.md)
|
||||
|
||||
- feat: add the Telegram gateway with persistent sessions, topic-thread support, streamed rich replies, typing indicators, and Markdown rendering
|
||||
- feat: add `/spawn`, `/approve`, and `/cancel` for chat-driven task control
|
||||
- feat: provide a comprehensive `/help` guide whose command list stays aligned with Telegram's published menu and Archie's executable command surface
|
||||
- feat: add `/provider` and provider-filtered `/model` selectors that switch the provider and model used by subsequent live chat turns
|
||||
- feat: include the active provider and full model reference in `/status`
|
||||
- feat: notify authorized Telegram users once when a newly tagged component release is installed
|
||||
- feat: add `/restart` to reload and relaunch the Telegram gateway without interrupting in-flight daemon tasks
|
||||
- feat: add deny-by-default Telegram sender authorization and native command-menu publication
|
||||
- feat: connect Desktop Commander through Archie's managed MCP client so chat can use workspace file and process tools
|
||||
- feat: add multi-identity daemon configuration, persona routing, an email channel, and webhook platform support
|
||||
- feat: add durable task, session, message, and memory persistence
|
||||
- feat: add memory synchronization, prefetch, context scrubbing, threat scanning, and built-in memory tools
|
||||
- feat: add tool guardrails, classification, budgets, availability filtering, and disclosure controls
|
||||
- feat: add feature-based YAML configuration with `conf.d` overlay loading
|
||||
- feat: add typed secret-engine registration and Yaegi extension support
|
||||
- fix: reject unknown slash commands locally instead of allowing the LLM to fabricate command behavior
|
||||
- fix: publish Telegram commands to default, private-chat, and group-chat scopes so stale commands inherited with the bot token cannot shadow Archie's menu
|
||||
- fix: drain the SDK's full event stream so streamed Telegram replies cannot deadlock
|
||||
- fix: use standard newline-delimited JSON framing for MCP stdio clients
|
||||
- fix: make MCP stdio shutdown and timeout handling race-safe
|
||||
- fix: restore legacy `[forge].token_env` compatibility and required container environment passthrough
|
||||
- fix: make the agent-container Docker network explicitly configurable
|
||||
@@ -0,0 +1,17 @@
|
||||
# archied 1.10.0
|
||||
|
||||
Released 2026-08-22. [All news](../index.md)
|
||||
|
||||
- feat(forge): GitHub webhook receiver for immediate issue dispatch
|
||||
- feat(webhookguard): shared HMAC, rate-limit, and redaction mechanics
|
||||
- feat(nats): run an embedded server when no external NATS is configured
|
||||
- feat(capture): store unbound webhook events, retention-bounded
|
||||
- feat(webui): event inspector -- see captured payloads in the dashboard
|
||||
- feat(webui): payload field mapping -- bind JSON paths to named fields, preview before saving
|
||||
- fix(webui): stop the capture live-event notification duplicating payloads into the unbounded events table
|
||||
- fix(update): verify an update took effect instead of trusting the report (#530)
|
||||
- fix(daemon): refuse to poll on an empty label-trigger match (#529)
|
||||
- fix(gateway): stop persona from asserting unverified claims as fact (#528)
|
||||
- fix(gateway): stop ClaimTurn's insert-race branch losing its own retry read
|
||||
- fix: restore provider gate and dashboard token accounting
|
||||
- fix: address simple findings from a repo-wide golangci-lint sweep
|
||||
@@ -0,0 +1,12 @@
|
||||
# archied 1.11.0
|
||||
|
||||
Released 2026-08-23. [All news](../index.md)
|
||||
|
||||
- feat(forge): make webhook intake observable and deduplicate concurrent delivery
|
||||
- fix(telegram): preserve code fences across message splits
|
||||
- fix(gateway): replay completed-duplicate turns with their tool activity
|
||||
- feat(storage): persist agent project state across sessions
|
||||
- fix(container): persist npm cache for per-task MCP servers
|
||||
- fix(worktree): bind publication to dispatch grants, reset retries to a pristine base, and reject diffs without a merge base
|
||||
- feat(media): deliver generated media through Telegram with link fallback in the dashboard
|
||||
- feat(tools): generate videos through MiniMax, gated by provider configuration
|
||||
@@ -0,0 +1,6 @@
|
||||
# archied 1.11.1
|
||||
|
||||
Released 2026-08-23. [All news](../index.md)
|
||||
|
||||
- fix(update): wire Telegram personas and survive callback cancellation
|
||||
- fix(webui): theme the Workflows 'Start work' form controls
|
||||
@@ -0,0 +1,8 @@
|
||||
# archied 1.12.0
|
||||
|
||||
Released 2026-08-23. [All news](../index.md)
|
||||
|
||||
- fix(webui): give dashboard-initiated updates a phase-2 report
|
||||
- feat(agent): stamp archie-agent's build and report it back to the daemon
|
||||
- feat(releaseupdate): enrich components with install type and reference
|
||||
- feat(webui): surface per-component update status on /api/version and Configuration
|
||||
@@ -0,0 +1,5 @@
|
||||
# archied 1.13.0
|
||||
|
||||
Released 2026-08-23. [All news](../index.md)
|
||||
|
||||
- fix(telegram): render tool progress as bounded code blocks
|
||||
@@ -0,0 +1,6 @@
|
||||
# archied 1.14.0
|
||||
|
||||
Released 2026-08-23. [All news](../index.md)
|
||||
|
||||
- fix(telegram): compact tool output and drop turn caps
|
||||
- fix(update): install only approved components
|
||||
@@ -0,0 +1,39 @@
|
||||
# archied 1.15.0
|
||||
|
||||
Released 2026-08-24. [All news](../index.md)
|
||||
|
||||
**Autonomous workflows now have exactly one production execution path.** Every
|
||||
task is handed complete to a scoped `archie-agent` container over core NATS;
|
||||
`archied` no longer runs an agent loop in-process. Embedded NATS is the
|
||||
default and generates a per-start token, binding to the resolved Docker bridge
|
||||
so managed workers can reach it; external NATS changes only broker placement.
|
||||
The legacy `[agent]` section and `containers.enabled` still decode for
|
||||
migration but can no longer select an execution path, and a reloaded
|
||||
`nats.url` is logged as requiring a restart. Operators upgrading from a
|
||||
`agent.mode = inprocess` configuration get the managed-worker topology
|
||||
automatically; see `deployments/` for the supported profiles.
|
||||
|
||||
- feat(nats): expose the embedded broker to managed task containers behind a
|
||||
generated per-start credential
|
||||
- fix(daemon): park before worktree access when the container pool or task
|
||||
transport is unavailable, rather than silently executing locally
|
||||
- refactor(agentexec): remove the in-process, subprocess and single-stage
|
||||
execution paths
|
||||
- fix(worktree): report a successful push as successful even when writing
|
||||
local upstream tracking metadata afterwards fails, so a published branch no
|
||||
longer parks the task as failed
|
||||
- fix(worktree): honour context cancellation in `CommitAll`, so a cancelled
|
||||
task can no longer stage or commit
|
||||
- fix(daemon): remove the worktree when a task completes with no changes,
|
||||
which previously leaked a full clone per no-change task; parked worktrees
|
||||
are still retained for post-mortems
|
||||
- fix(worktree): derive the branch prefix from the issue title before falling
|
||||
back to labels, matching the documented contract
|
||||
- fix(worktree): clean untracked files when `.git` is a gitdir file
|
||||
- fix(agentexec): recover agents that end a turn without the required finish
|
||||
call
|
||||
- feat(scheduling): ticker engine with a configurable interval and pools
|
||||
- fix(telegram): keep tool-call context when compacting tool output (#609)
|
||||
- feat(workflow): add the adversarial-review findings contract, where only a
|
||||
confirmed finding blocks and "review found nothing" is distinct from
|
||||
"review did not run" (contract only; no review stage runs yet)
|
||||
@@ -0,0 +1,30 @@
|
||||
# archied 1.16.0
|
||||
|
||||
Released 2026-08-25. [All news](../index.md)
|
||||
|
||||
**The agent can hand you a file, and the dashboard works behind a reverse
|
||||
proxy.** Media delivery was fetch-by-URL only, so a file the agent produced
|
||||
locally — a transcript, a log dump, a screenshot — was passed to Telegram as
|
||||
a URL it could not fetch: the send did nothing and reported success. The new
|
||||
`send_file` tool plus upload-by-reader delivery closes that, and every layer
|
||||
that cannot deliver now says so rather than staying silent. Dashboard
|
||||
mutations behind a TLS-terminating proxy were refused as cross-origin;
|
||||
forwarded headers are now honoured, but only under an explicit opt-in that is
|
||||
off by default.
|
||||
|
||||
- feat(telegram): deliver a local file as an uploaded attachment, choosing
|
||||
upload-by-reader or fetch-by-URL per attachment; `send_file` resolves paths
|
||||
under the same confinement policy the read tool applies, so sending cannot
|
||||
reach what reading cannot
|
||||
- feat(gateway): `task_action` chat tool for operator task management —
|
||||
abandon, archive, retry, stop, cancel, approve and reject from chat, on the
|
||||
same action path and state machine as the dashboard
|
||||
- fix(webui): validate mutation `Origin` against the effective external
|
||||
scheme and host. `X-Forwarded-Proto`/`-Host` are honoured only when
|
||||
`web.trust_forwarded_headers` is set, which is off by default and safe only
|
||||
behind a proxy that overwrites or strips untrusted forwarded headers
|
||||
- fix(webui): report a local file the dashboard chat cannot upload as
|
||||
undelivered instead of dropping the event, which had reproduced the exact
|
||||
silent non-delivery `send_file` was built to end
|
||||
- fix(daemon): detach terminal state transitions and cleanup from a cancelled
|
||||
context, so a stopped task still records its outcome
|
||||
@@ -0,0 +1,6 @@
|
||||
# archied 1.17.0
|
||||
|
||||
Released 2026-08-25. [All news](../index.md)
|
||||
|
||||
- fix(webui): add nil receiver guard to Server.trustForwardedHeaders
|
||||
- fix(chat): restore transcript and update replay
|
||||
@@ -0,0 +1,6 @@
|
||||
# archied 1.17.1
|
||||
|
||||
Released 2026-08-25. [All news](../index.md)
|
||||
|
||||
- fix(update): remove source checkout dependency
|
||||
- fix(gateway): make UUIDv7 session references unambiguous
|
||||
@@ -0,0 +1,8 @@
|
||||
# archied 1.18.0
|
||||
|
||||
Released 2026-08-25. [All news](../index.md)
|
||||
|
||||
- Fix concurrent chat-turn claims so SQLite writer contention no longer leaks as `SQLITE_BUSY`.
|
||||
- Make task timelines operationally useful with stage outcomes, durations, retry context, and durable per-stage token economics.
|
||||
- Return canonical repository, issue, and pull-request URLs for each task's owning GitHub or Gitea identity.
|
||||
- Preserve per-identity commit attribution and real model context limits across daemon-to-worker dispatch.
|
||||
@@ -0,0 +1,6 @@
|
||||
# archied 1.19.0
|
||||
|
||||
Released 2026-08-28. [All news](../index.md)
|
||||
|
||||
- feat(logging): cursor pagination and filtering for task_logs
|
||||
- build(deps): upgrade github.com/samcharles93/ai-sdk to v0.1.29
|
||||
@@ -0,0 +1,5 @@
|
||||
# archied 1.19.1
|
||||
|
||||
Released 2026-08-27. [All news](../index.md)
|
||||
|
||||
- fix(telegram): keep Markdown headings/lists as blocks and strip Markdown on plain fallback
|
||||
@@ -0,0 +1,5 @@
|
||||
# archied 1.19.10
|
||||
|
||||
Released 2026-09-02. [All news](../index.md)
|
||||
|
||||
- feat(curator): session-memory curator reference implementation
|
||||
@@ -0,0 +1,5 @@
|
||||
# archied 1.19.2
|
||||
|
||||
Released 2026-08-28. [All news](../index.md)
|
||||
|
||||
- feat(tasks): allow rejecting a task from any non-terminal state
|
||||
@@ -0,0 +1,6 @@
|
||||
# archied 1.19.3
|
||||
|
||||
Released 2026-08-28. [All news](../index.md)
|
||||
|
||||
- feat(tasks): serve the lifecycle presentation catalog from /api/task-meta
|
||||
- feat(dashboard): render task actions, statuses and filters from the server catalog
|
||||
@@ -0,0 +1,5 @@
|
||||
# archied 1.19.4
|
||||
|
||||
Released 2026-08-28. [All news](../index.md)
|
||||
|
||||
- refactor(telegram): render replies as structured rich blocks
|
||||
@@ -0,0 +1,25 @@
|
||||
# archied 1.19.5
|
||||
|
||||
Released 2026-09-01. [All news](../index.md)
|
||||
|
||||
- feat(webui): dashboard-aware chat — Archie sees the page, points you there
|
||||
- fix(telegram): drop retry_after bandaid, bump go-telegram/bot to v1.24.0
|
||||
- feat(curator): track and expose recent activity per curator
|
||||
- fix: go.mod bumped to 1.27.0 and stupid tests removed
|
||||
- refactor: remove unnecessary AI-generated scaffolding
|
||||
- refactor: go modernisation fixes
|
||||
- refactor: remove unused Operator param.
|
||||
- fix(gateway): fix broken system prompt template and scrub real telegram ID from tests
|
||||
- fix(plugin): add missing CLAUDE.md reference to plugin engine rule
|
||||
- fix(app): repoint archied wiring contract test at internal/app/archied
|
||||
- refactor(agentexec): use ai-sdk NewTypedTool for pluginToolSet and scriptToolSet
|
||||
- fix(config): standardize Provenance to pointer receivers (recvcheck)
|
||||
- refactor(lint): reduce cyclomatic/cognitive complexity in tools, workflow, webui
|
||||
- fix(app): repoint capability-host wiring contract test at internal/app/archied
|
||||
- refactor(lint): extract more helpers to clear nestif/gocyclo findings
|
||||
- refactor(lint): split AgentStage.Stage into resolveModel/buildRequest/handleResult
|
||||
- refactor(lint): split TurnRunner.Run and dispatchLocal further
|
||||
- refactor(lint): extract markdownBlockParser and list/quote helpers in richblocks.go
|
||||
- refactor(lint): extract Apply/findWalkVisitor helpers; go fix modernization
|
||||
- fix(lint): noctx fixes and dead-code cleanup
|
||||
- feat(workflow): adversarial self-review stage before PR open
|
||||
@@ -0,0 +1,5 @@
|
||||
# archied 1.19.6
|
||||
|
||||
Released 2026-09-02. [All news](../index.md)
|
||||
|
||||
- fix(build): stamp gatewayVersion/runtimeVersion in the right package
|
||||
@@ -0,0 +1,5 @@
|
||||
# archied 1.19.7
|
||||
|
||||
Released 2026-09-02. [All news](../index.md)
|
||||
|
||||
- fix(logging): make Tail/Page allocation bound explicit for CodeQL
|
||||
@@ -0,0 +1,7 @@
|
||||
# archied 1.19.8
|
||||
|
||||
Released 2026-09-02. [All news](../index.md)
|
||||
|
||||
- fix(update): drop dev-facing wording from the unconfirmed-update message
|
||||
- fix(telegram): stop adjacent rich blocks from rendering glued together
|
||||
- fix(telegram): send undelivered-media fallback after finalize as its own message
|
||||
@@ -0,0 +1,11 @@
|
||||
# archied 1.19.9
|
||||
|
||||
Released 2026-09-02. [All news](../index.md)
|
||||
|
||||
- feat(memory): typed memory engine contract, registry, and registrar
|
||||
- feat(memory): builtin engine implementing the domain/memory contract
|
||||
- feat(config): config surface for memory engine selection
|
||||
- feat(daemon): wire the domain/memory engine registry at boot
|
||||
- feat(curator): bind curators to memory engines
|
||||
- fix(config): reject memory.provider instead of silently ignoring it
|
||||
- feat(curator): skill curator reference implementation
|
||||
@@ -0,0 +1,42 @@
|
||||
# archied 1.2.0
|
||||
|
||||
Released 2026-07-31. [All news](../index.md)
|
||||
|
||||
- feat: add MCP client capabilities to archied and archie-agent
|
||||
- fix: handleSummary ignores errors from WorkflowStats/StageStats/TokensByDay
|
||||
- feat: establish Archie identity and use stable callback tokens
|
||||
- refactor(telegram): keep one model selector command
|
||||
- fix: handleSSE silently swallows EventsSince backlog fetch errors
|
||||
- fix: Transition() ignores `from` status guard, allowing lost updates
|
||||
- fix: skillscript.Run ignores context, cannot be canceled/timed out
|
||||
- feat(telegram): report installed component versions
|
||||
- feat(telegram): add approved component updates
|
||||
- fix: LoadDir: no timeout around Yaegi Eval can hang daemon startup
|
||||
- feat(chat): real system prompt for Archie — identity, tools, env
|
||||
- feat(indexing): port tau's codesearch workspace index
|
||||
- fix(indexing): surface index config properly and stop silent degradation
|
||||
- refactor(worktree): replace git shell-out with go-git v6
|
||||
- fix(worktreerpc): bound handler contexts and drop the git binary from tests
|
||||
- refactor(nats): rebuild as infrastructure/eventbus/nats with real boundaries
|
||||
- refactor: route tasks on a typed kind, not forge labels
|
||||
- fix(natsrpc): make RegisterAll wait for the server to see subscriptions
|
||||
- refactor(config): move loading into infrastructure/configuration
|
||||
- fix(telegram): publish all executable session commands in menu and help
|
||||
- fix(telegram): publish the restored gateway commands
|
||||
- refactor: add internal/eventbus as the broker-neutral messaging contract
|
||||
- fix(chat): operator name from config, session wiring, prompt rules
|
||||
- feat(tools): lift tau's file and shell tools into the tool registry
|
||||
- feat: make /stop cancel the running chat turn
|
||||
- fix: kill the whole process group when a shell command is cancelled
|
||||
- feat: refuse unrecoverable shell commands
|
||||
- feat: make /stop reach running agent tasks
|
||||
- fix(chat): temper prompt brevity rules with warmth
|
||||
- fix: use errors.Is/As for context errors and cleanup
|
||||
- fix(grep): distinguish ripgrep exit 1 from a failed search
|
||||
- fix(archied): disable the forge on a missing credential, not the daemon
|
||||
- fix: restore /model parsing and close the 6d4e0be autofix audit
|
||||
- feat: embed config.example.toml and add comment-preserving TOML writer
|
||||
- fix(docker): install unzip and Node 24 so MCP servers can start
|
||||
- fix(docker): slim both images and repair unreachable Go tooling
|
||||
- fix(container): write the task boot brief under .git
|
||||
- fix(telegram): drop pending updates before long polling
|
||||
@@ -0,0 +1,25 @@
|
||||
# archied 1.20.0
|
||||
|
||||
Released 2026-09-03. [All news](../index.md)
|
||||
|
||||
- fix: baseline gate repair (go test ./... -count=1)
|
||||
- fix(logging): propagate bound slog attrs to wrapped handler in FeedHandler
|
||||
- feat(image): define provider-neutral image capability contract and config
|
||||
- fix(channels): call MarkRunning once a channel is actually up
|
||||
- fix(workflow): stop discarding baseline-fix commits as 'no changes'
|
||||
- fix(webui): wire the Logs page to per-task attempt-log detail
|
||||
- fix(workflow): net cache hits from token totals, trim gate-retry output
|
||||
- feat(workflow): dynamic triage instead of defaulting every task to implement
|
||||
- fix(gateway): stop SOUL from forging the prompt invariant tags
|
||||
- fix(curator): stop curator actions from serializing a zero timestamp
|
||||
- feat(webui): hand-author the configuration field descriptor catalog
|
||||
- feat(webui): attach the config field schema to GET /api/config
|
||||
- feat(webui): render scalar config sections generically from the schema
|
||||
- feat(webui): surface allow_concurrent/max_retries/review_enabled on the repositories card
|
||||
- feat(webui): inline editing for per-repo allow_concurrent/max_retries/review_enabled
|
||||
- feat(webui): playbook bindings -- matcher + mapping + workflow, HMAC-gated
|
||||
- fix: resolve golangci-lint funlen, nilerr, and empty branch issues
|
||||
- feat(store): encrypt playbook binding secrets at rest
|
||||
- feat(webhook): harden captured payload redaction
|
||||
- fix(store): satisfy makezero when building cipher payload
|
||||
- feat(webui): refactor chat module to Preact component and add unit tests
|
||||
@@ -0,0 +1,20 @@
|
||||
# archied 1.21.0
|
||||
|
||||
Released 2026-09-03. [All news](../index.md)
|
||||
|
||||
- feat(workflow): make kind-to-workflow routing YAML-overridable
|
||||
- feat(workflow): route arbitrary forge labels to workflows via playbook YAML
|
||||
- feat(workflow): load kind/label bindings from multiple playbook directories
|
||||
- fix(extract): regenerate stale Yaegi symbol tables; fix wfextract directive
|
||||
- feat(eda): Module position first slice -- registry + side-effect-free log kind
|
||||
- feat(eda): CEL expression environment (compile/validate at load, evaluate at dispatch)
|
||||
- feat(eda): playbook document + event coordinator, single-action workflow-kind dispatch
|
||||
- fix(skillcurator): document and scope the intentional nilerr in reviewOne
|
||||
- fix(binding): add Owner/Repo pin, fixing multi-repo dispatch
|
||||
- feat(webui): bindings dashboard UI; fix app-wide Preact render regression
|
||||
- fix(binding): split ValidateForUpdate so edits can preserve the secret
|
||||
- refactor(ui): extract Pill to ui/src/base/, closing archie-core-mlro
|
||||
- refactor(eda): extract helpers to satisfy cyclop/gocognit gates
|
||||
- fix(webui): stretch HEALTH row cards to equal height
|
||||
- fix(eda): make playbook key collision reporting deterministic
|
||||
- fix(gateway): split /status (health) and /tasks (work) apart
|
||||
@@ -0,0 +1,9 @@
|
||||
# archied 1.22.0
|
||||
|
||||
Released 2026-09-03. [All news](../index.md)
|
||||
|
||||
- feat(telegram): support secret refs for bot tokens (#705)
|
||||
- fix(update): make daemon rollback schema-safe (#704)
|
||||
- fix(archied): preserve ephemeral gateway ports (#707)
|
||||
- fix(webui): bound log limit parsing and add endpoint regression coverage (#706)
|
||||
- fix(deps): upgrade x/crypto to v0.56.0 for security fixes (#708)
|
||||
@@ -0,0 +1,74 @@
|
||||
# archied 1.23.0
|
||||
|
||||
Released 2026-09-12. [All news](../index.md)
|
||||
|
||||
Archied is no longer a single process. The State Store (`archie-state-store`)
|
||||
now owns `archie.db` outright, the Gateway serves its contract over
|
||||
authenticated gRPC, and the dashboard ships as a standalone UI Service
|
||||
(`archie-ui`). Upgrading is not a binary swap: these processes must be running
|
||||
and addressable before `archied` will start clean. See `deployments/` for the
|
||||
supported profiles.
|
||||
|
||||
### Service decomposition
|
||||
|
||||
- feat(contracts): add gateway service seams and protobuf toolchain
|
||||
- feat(gateway): extract ChatContract service
|
||||
- feat(gateway): delete in-process ChatContract path, make remote the only mode
|
||||
- feat(gateway): authenticate the gRPC contract and allow off-loopback listeners
|
||||
- fix(gateway): drop services.gateway.mode, remote is the only transport
|
||||
- feat(state-store): generalize storerpc as the State Store gRPC contract (#770)
|
||||
- feat(state-store): stand up archie-state-store binary and own archie.db (#771)
|
||||
- refactor(state-store): migrate capture/mapping/binding consumers to State Store (#772)
|
||||
- refactor(state-store): migrate workflow/intake/task lifecycle consumers to State Store (#773)
|
||||
- refactor(state-store): cut daemon/Gateway over to the remote State Store (#774)
|
||||
- fix(state-store): task-scope container credentials, stream large capture lists, validate Update
|
||||
- feat(archieui): standalone UI process over remote Gateway and State Store
|
||||
- refactor(archied): cut the dashboard over to the archie-ui process
|
||||
- refactor(ui): sever the archie-ui binary from every daemon runtime package
|
||||
- refactor(archied): move the update relay to the process that owns updates
|
||||
- refactor(archied): move webhook capture intake to the process that owns work intake
|
||||
- feat(archieui): mount the capture intake receiver over the State Store
|
||||
- refactor(workflow): relocate Task/Status/Source and define workflow.Store (#754)
|
||||
- refactor(store): move the producer-owned contracts to internal/contracts/store/v1
|
||||
- feat(messaging): migrate gateway session persistence onto domain types
|
||||
- feat(gateway): flip channel boundary onto messaging.Message
|
||||
|
||||
### Pull request review
|
||||
|
||||
- feat(gateway): operator-triggered PR review with selectable reviewer model
|
||||
- feat(forge): pull request review read surface (ListReviews/ListReviewComments/ReplyToReview)
|
||||
- feat(workflow): surface adversarial review findings on the PR body
|
||||
- feat(workflow): review calibration, checked properties and style nits out of contract
|
||||
- fix(archied): share one PR reviewer across channels; harden forge and worktree
|
||||
- fix(workflow): order findings before footer; test the report stash
|
||||
|
||||
### Dashboard
|
||||
|
||||
- feat(webui): render configuration from a published snapshot
|
||||
- feat(staterpc): carry the dashboard's configuration snapshot
|
||||
- refactor(webui): take configuration off the dashboard server
|
||||
- feat(webui): report which dashboard sections a process can serve
|
||||
- feat(webui): deliver live dashboard events by polling the State Store cursor
|
||||
- feat(webui): route dashboard task actions through the Gateway contract
|
||||
- feat(gateway): give the dashboard operator its own task-action contract
|
||||
- feat(webui): add /health and /health/detailed readiness endpoints (#717)
|
||||
- fix(webui): distinguish refused vs broken task actions, handle 401 (#753)
|
||||
|
||||
### Daemon, gateway and workflow
|
||||
|
||||
- feat(archied): add shutdown watchdog that force-exits a hung graceful shutdown (#716)
|
||||
- feat(archied): serve the daemon's own health endpoint
|
||||
- feat(drain): honour external drain marker with instantiation epoch (#718)
|
||||
- feat(gateway): wire progressive tool disclosure (bridge tools)
|
||||
- feat(gateway): render workspace, managed repos and operator into chat env
|
||||
- feat(gateway): add session_transcript tool for full JSON export
|
||||
- feat(gateway): consolidate task actions and repair daemon default path
|
||||
- feat(eda): thread Playbook ID/Version and DispatchInput task identity
|
||||
- feat(worktree): Resume re-syncs a worktree onto its branch tip
|
||||
- fix(staterpc): attach the bearer token to State Store streams
|
||||
- fix(archieui): resolve service tokens from env, without requiring a config file
|
||||
- fix(archied): initialize conversation persistence on daemon startup
|
||||
- fix(archied): preserve channel turn ledger with remote gateway
|
||||
- fix(gateway): share NATS and session ownership
|
||||
- fix(update): probe the dashboard's real address after a self-update
|
||||
- fix(store): migrate binding owner and repo columns
|
||||
@@ -0,0 +1,23 @@
|
||||
# archied 1.24.0
|
||||
|
||||
Released 2026-09-12. [All news](../index.md)
|
||||
|
||||
Makes 1.23.0 deployable. That release split archied into separate processes,
|
||||
but the self-updater still installed only the `archied` binary and restarted
|
||||
only `archied.service`, so updating to it left the State Store, Gateway and UI
|
||||
on the previous release. archied cannot boot without a reachable State Store,
|
||||
so the update failed its health check and rolled back. Update to this release
|
||||
rather than to 1.23.0.
|
||||
|
||||
If your host does not yet run the four units in
|
||||
`deployments/systemd-user-service.md`, create them first: the updater now
|
||||
refuses, naming what is missing, instead of installing binaries onto a host it
|
||||
would leave broken.
|
||||
|
||||
- fix(update): install and cycle every process in the release
|
||||
- fix(telegram): stop the relay corrupting identifiers and code
|
||||
|
||||
Also in this release, though outside the version-stamped package closure:
|
||||
|
||||
- ci(deploy): produce a complete distribution zip on every release. No zip was
|
||||
built for v1.23.0 at all, and the zip omitted `archie-ui`.
|
||||
@@ -0,0 +1,14 @@
|
||||
# archied 1.25.0
|
||||
|
||||
Released 2026-09-15. [All news](../index.md)
|
||||
|
||||
- fix(update): resolve releases without a checkout, and fail loudly when it cannot
|
||||
- fix(update): back up the task store the daemon actually uses, or refuse
|
||||
- fix(update): build each component from its own approved release tag
|
||||
|
||||
Components are independently versioned, so the newest `archied/v*` and
|
||||
`archie/v*` tags usually sit on different commits. The installer required both
|
||||
tags to resolve to one commit whenever both components changed, which refused
|
||||
every update once the two newest releases diverged -- a deployment stuck on
|
||||
1.22.0 could not take any update. Each component now builds from its own
|
||||
approved tag.
|
||||
@@ -0,0 +1,85 @@
|
||||
# archied 1.26.0
|
||||
|
||||
Released 2026-09-17. [All news](../index.md)
|
||||
|
||||
- fix(webui): publish per-identity forges so multi-identity task rows keep their links
|
||||
- feat(config): add [scheduling] config block
|
||||
- feat(configuration): translate [scheduling] into scheduling.EngineConfig
|
||||
- feat(cronevents): adapt the events bus to scheduling.Sink
|
||||
- fix(webui): count every chat front-end in the published projection
|
||||
- fix(scheduling): respect configuration ownership
|
||||
- feat(ratelimit): wire per-identity inbound rate limiting into the gateway
|
||||
- fix(tools): judge the rm guard by base name so absolute paths cannot bypass it
|
||||
- fix(store): keep an empty binding secret empty so a partial edit cannot erase it
|
||||
- fix(archied): stop advertising review_pr when no reviewer can run
|
||||
- fix(daemon): carry kind/label routing bindings to the process that routes
|
||||
- feat(configuration): add archied setup, the caller the first-run flow was built for
|
||||
- fix(configuration): stop letting a secret value be set from the command line
|
||||
- feat(configuration): let setup reference a secret without carrying its value
|
||||
- fix(archied): disable a provider whose credential is missing instead of refusing to boot
|
||||
- refactor(install): install.sh delegates config generation, and tests stop reading hand-written configs
|
||||
- fix(daemon): guard binding dispatch loop against nil dispatcher/creator
|
||||
- fix(webui): enforce CSRF/origin gate on binding and mapping mutations
|
||||
- fix(secret): recover a panicking secret engine instead of crashing
|
||||
- fix(config): deep-copy Image.Hosted/Image.Local in Config.Clone
|
||||
- fix(email): stop dropping the first paragraph of plain-text bodies
|
||||
- fix(logging): keep the live descriptor open across a failed rotation
|
||||
- feat(configuration): report config keys no decode target consumed
|
||||
- feat(archied): warn at boot when the config file has unrecognised keys
|
||||
- feat(archied): wire the scheduling ticker engine at boot
|
||||
- fix(agentworker): wire configured tool-result policy into worker's LoopRunner
|
||||
- refactor(staterpc): delete the superseded single-token auth interceptor
|
||||
- refactor(memory): delete the unreachable <memory> fence scrubber
|
||||
- fix(channels): delete unreachable Telegram webhook delivery mode
|
||||
- fix(gateway): delete unwired Router.Dangerous approval path
|
||||
- refactor(gateway): delete orphaned SessionState goal/steer/queue machinery
|
||||
- refactor(archied): delete the daemon's unused webui.Server and UI adapters
|
||||
- refactor(tools): delete unreachable dispatch/gating engine
|
||||
- feat(channels): wire chat.webhook route config through to the gateway
|
||||
- refactor(tools): delete unreachable AST-based tool discovery
|
||||
- refactor(tools): delete unused plugin-tool registration API from builtin.Registry
|
||||
- feat(channels): wire ConfigSchema/ValidateConfig into a startup validation loop
|
||||
- refactor(state): delete the dead IncrementRetryCount RPC (breaking change, accepted)
|
||||
- fix(curator): populate PassInput.Since with the prior pass time
|
||||
- fix(memory): install the threat scanner the composition root never wired
|
||||
- fix(staterpc): preserve marshal_error marker in eventDataJSON
|
||||
- fix(gate): validate finding level and share the blocking threshold
|
||||
- fix(scheduling): record a completed run so a recurring job stops re-firing every tick
|
||||
- fix(releaseupdate): don't treat empty available as deferred
|
||||
- fix(tools/provider/mcp): preserve MCP binary tool results for delivery
|
||||
- refactor(gateway): share sensitive-key markers with webhookguard
|
||||
- refactor(daemon): remove unreachable SQLite poll/drain path
|
||||
- refactor(tools/mcp): delete unreachable MCP adaptation path
|
||||
- fix(taskactions): resolve max_retries from the task's owning identity
|
||||
- fix(daemon): forward configured MCP servers to task agents
|
||||
- refactor(skill): delete dead Discover/DiscoverPlugins/Skill path
|
||||
- refactor(skillbuild): delete dead AugmentRegistry path
|
||||
- fix(builtin): bound read/edit filesystem work by DefaultToolTimeout
|
||||
- refactor(binding): delete dead Matcher.Overlaps method
|
||||
- refactor(forge): delete dead CreateIssue surface
|
||||
- fix(mcp): cancel in-flight SSE reconnect on Stop
|
||||
- fix(container): enforce MaxUptime lifetime cap with a timer
|
||||
- refactor(store): use taskstate status constants in SQL
|
||||
- fix(ui): unbreak binding approve and the two deletes, and centralise the client
|
||||
- fix(tools): stop testing on the text of other files, and ungate contractaudit
|
||||
- refactor(forge): delete the unwired RepliesAfter surface
|
||||
- refactor(config): delete the two decoded-but-unread policy fields
|
||||
|
||||
This release is dominated by dead-code removal and the completion of the
|
||||
scheduling capability. Roughly half the commits delete surfaces that no longer
|
||||
had a caller: the unreachable SQLite poll/drain path, the unwired MCP
|
||||
adaptation path, the AST-based tool discovery, the superseded single-token auth
|
||||
interceptor, and several dead forge and binding methods. The
|
||||
`IncrementRetryCount` State Store RPC is gone with them -- a breaking change to
|
||||
the wire contract, accepted because nothing called it.
|
||||
|
||||
The cron/scheduling epic lands its remaining slices: the `[scheduling]` config
|
||||
block, its translation into the engine's own settings, the events-bus sink
|
||||
adapter, and the boot wiring that starts the ticker. A recurring job now records
|
||||
a completed run, so it stops re-firing on every tick.
|
||||
|
||||
Operator-facing work: `archied setup` gives the first-run flow the caller it was
|
||||
built for, configuration no longer accepts a secret value from the command line,
|
||||
and a provider whose credential is missing is disabled rather than refusing to
|
||||
boot. A secret engine that panics is now recovered instead of crashing the
|
||||
daemon.
|
||||
@@ -0,0 +1,44 @@
|
||||
# archied 1.27.0
|
||||
|
||||
Released 2026-09-17. [All news](../index.md)
|
||||
|
||||
### Dashboard task logs
|
||||
|
||||
- Task logs are readable from the dashboard again, through a new State Store
|
||||
read contract (`ReadTaskLog`, `StreamTaskLogContent`) rather than the UI
|
||||
process reaching into the daemon's log files. Wired server-side by the
|
||||
standalone state-store process.
|
||||
- Added `GET /api/tasks/{id}/logs/download`, serving an attempt's raw log as a
|
||||
`task-<id>-attempt-<n>.log` attachment.
|
||||
- A process that cannot read logs and an attempt that recorded no log are now
|
||||
distinguishable ("cannot read" answers 503, "no log" answers 404) instead of
|
||||
both rendering as a claim about a configuration setting.
|
||||
|
||||
### Telegram output
|
||||
|
||||
- Tool results are summarised rather than quoted: a search reports how many
|
||||
matches came back, a truncated result reports the tool's own total. The
|
||||
renderer no longer states a count it computed from its own truncated sample.
|
||||
- Repeated successful tool calls collapse into one counted entry.
|
||||
- The tool-activity block is capped to a third of the live frame, keeps the
|
||||
newest lines, and marks what it dropped with a `+N earlier` indicator. Every
|
||||
line that fits is kept.
|
||||
- Every clamped answer marks its cut with an ellipsis, including the opening
|
||||
frame, which previously appeared to begin mid-sentence.
|
||||
- An error response from the log download no longer ships as a `.log` file.
|
||||
|
||||
### Readiness and shutdown
|
||||
|
||||
- The disk probe reports per-filesystem results and checks the root filesystem
|
||||
as well as the work directory, so a full root is no longer invisible.
|
||||
- A path shared by several disk targets keeps the strictest requirement any
|
||||
target places on it, so an optional target can no longer mask a required one.
|
||||
- The shutdown-watchdog test no longer races the Go scheduler, which was
|
||||
intermittently failing the quality gate and parking work unrelated to it.
|
||||
|
||||
### Other
|
||||
|
||||
- Messages persist the channel-native sender id.
|
||||
- go-telegram/bot bumped to v1.27.0, fixing a streaming bug where the multipart
|
||||
body could not be replayed and `sendMessage`/`editMessageText` failed until
|
||||
the connection dropped.
|
||||
@@ -0,0 +1,60 @@
|
||||
# archied 1.28.0
|
||||
|
||||
Released 2026-09-19. [All news](../index.md)
|
||||
|
||||
### Task detail and attempt attribution
|
||||
|
||||
- New per-run task detail page, showing each attempt's own events, changes and
|
||||
configuration rather than a single merged view.
|
||||
- Events, changes and config are attributed to the attempt that produced them;
|
||||
`Event` carries `attempt` and `ReadTaskLogRequest` carries `stage`.
|
||||
- The task detail page remounts when the task id changes, so switching tasks
|
||||
does not leave the previous one's data on screen.
|
||||
|
||||
### Configuration
|
||||
|
||||
- Services are keyed by name through a registry, so the State Store and Gateway
|
||||
listen addresses are configurable rather than fixed.
|
||||
- A partial overlay no longer clears the fields it omits — an overlay that set
|
||||
one key was wiping the rest.
|
||||
- The Services map is cloned on publish, so an overlay can no longer mutate the
|
||||
snapshot other readers are holding.
|
||||
- The service context is enforced at registration.
|
||||
|
||||
### Logging and park reasons
|
||||
|
||||
- A parked run's reason is recorded in its own attempt log, in both the daemon
|
||||
and the workflow, so "why did this park?" is answerable from the task itself.
|
||||
- `TaskRegistry.Write` takes the caller's context.
|
||||
|
||||
### Worktrees and containers
|
||||
|
||||
- Retries recover from path-type conflicts instead of failing opaquely, and the
|
||||
underlying cause is no longer masked.
|
||||
- The worktree is handed back on every sandbox exit.
|
||||
- A container's max-uptime reaper is cancelled on release, the cap stays active
|
||||
through the grace period, and teardown is claimed once rather than by
|
||||
cancelling a timer.
|
||||
|
||||
### Daemon and startup
|
||||
|
||||
- Every identity's forge and repos are swept at startup, including the root
|
||||
forge.
|
||||
- A cancelled startup is no longer reported as an exhausted sweep budget; an
|
||||
exhausted budget names itself as the cause.
|
||||
|
||||
### Other
|
||||
|
||||
- `grep` can use the workspace codesearch index.
|
||||
- Forge labels are matched when namespaced, so label-driven routing works for
|
||||
namespaced labels.
|
||||
- Triage is given criteria for choosing between workflows, and a workflow is
|
||||
required when a code change is needed.
|
||||
- The Telegram adapter restart callback is wired into the chat router.
|
||||
- The `ARCHIE_REACTIONS` fan-out stream is provisioned and bounded by age.
|
||||
- `archie-ui` exits cleanly when graceful shutdown overruns its deadline.
|
||||
- The dashboard's event pump retries priming until the State Store answers.
|
||||
- The update writer emits the agent version sidecar with a real newline.
|
||||
- The UI finishes its Preact port; the imperative DOM layer is deleted.
|
||||
- Collection fields decoded over the State Store gRPC contract are never nil
|
||||
slices, so an empty collection marshals as `[]` rather than `null`.
|
||||
@@ -0,0 +1,55 @@
|
||||
# archied 1.29.0
|
||||
|
||||
Released 2026-09-19. [All news](../index.md)
|
||||
|
||||
### Security
|
||||
|
||||
- `google.golang.org/grpc` bumped past `v1.84.0` to patch
|
||||
[GO-2026-6443](https://pkg.go.dev/vuln/GO-2026-6443), a server panic via a
|
||||
missing `:authority`/`Host` header reachable through `archied`'s gRPC
|
||||
gateway server. No stable release carries the fix yet, so this pins the
|
||||
pre-release commit that does (`v1.85.0-dev.0.20260825072537-93e31b48545e`)
|
||||
until `grpc-go` cuts `v1.85.0`.
|
||||
|
||||
### Memory engine unification
|
||||
|
||||
One memory engine, addressed by four typed scopes (global, agent, user,
|
||||
agent-user), replaces the two disconnected stores that previously existed:
|
||||
a chat-tool-written store nothing ever read back, and a curator-written store
|
||||
with no scope model.
|
||||
|
||||
- `internal/domain/memory` is a CRUD contract (`Create`/`Get`/`Query`/`List`/
|
||||
`Update`/`Forget`/`Revisions`) with retained revisions; updates supersede
|
||||
rather than overwrite, so a crash mid-write leaves a recoverable extra
|
||||
history entry, never a lost prior state (#886).
|
||||
- The chat turn reads its subject's scopes synchronously before the prompt is
|
||||
built, rendering recalled records into a `<memory>` block; a failing or
|
||||
panicking engine degrades to no memory block rather than failing the turn
|
||||
(#887).
|
||||
- The model writes memory through four id-addressed tools
|
||||
(`memory_create`/`update`/`delete`/`list`), scoped to the turn's own
|
||||
resolved identity -- the model chooses the scope kind, never the ids, so it
|
||||
has no path to write into another user's memory (#888).
|
||||
- The session curator now derives the agent-user scope from the session's own
|
||||
user-role messages, instead of keying facts by a session id that stops
|
||||
meaning anything once the session ends.
|
||||
- A channel with no resolvable user (dashboard, webhook) reads and writes only
|
||||
global and agent scope; a webhook's route path is never treated as a user
|
||||
identity.
|
||||
- Fixed a review finding on the read path: the per-scope record limit was
|
||||
being applied as one shared total across all scopes rather than per scope,
|
||||
and the rendered block's byte cap was checked before template escaping
|
||||
rather than after, letting the escaped block exceed it.
|
||||
|
||||
### Work intake
|
||||
|
||||
- feat(workintake): define review reaction envelope
|
||||
- feat(workintake): authorize review reactions by owned PR
|
||||
|
||||
### Cleanup
|
||||
|
||||
- Deleted the unwired plugin capability-host health surface
|
||||
(`Host.Health`/`Host.Manifests`/`ModuleStatus`) and the `Module.Health`
|
||||
chain it fed -- including the `mcp`/`builtin` tool-provider health
|
||||
implementations and their aggregation in `tools/provider.Registry` -- none
|
||||
of which had ever had a production caller (#882).
|
||||
@@ -0,0 +1,6 @@
|
||||
# archied 1.3.0
|
||||
|
||||
Released 2026-07-31. [All news](../index.md)
|
||||
|
||||
- fix(memory): replace framework-specific names with generic equivalents
|
||||
- feat: unify provider and model selection
|
||||
@@ -0,0 +1,5 @@
|
||||
# archied 1.3.1
|
||||
|
||||
Released 2026-07-31. [All news](../index.md)
|
||||
|
||||
- fix(telegram): omit empty model picker markup
|
||||
@@ -0,0 +1,112 @@
|
||||
# archied 1.30.0
|
||||
|
||||
Released 2026-09-20. [All news](../index.md)
|
||||
|
||||
### 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`.
|
||||
|
||||
### 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.
|
||||
|
||||
### 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.
|
||||
|
||||
### 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.
|
||||
|
||||
### /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.
|
||||
|
||||
### 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).
|
||||
|
||||
### 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.
|
||||
|
||||
### 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.
|
||||
@@ -0,0 +1,121 @@
|
||||
# archied 1.31.0
|
||||
|
||||
Released 2026-09-22. [All news](../index.md)
|
||||
|
||||
### Dashboard replaced: Preact -> Vue 3 + shadcn-vue
|
||||
|
||||
The dashboard is now a Vue 3 application built on shadcn-vue. This is the
|
||||
large piece of this release; it touches every page.
|
||||
|
||||
- History routing, a grouped topbar built from components, the violet palette
|
||||
with self-hosted Geist, and a command palette with live tasks.
|
||||
- Chat is a FAB-opened panel that behaves like a chat window and scrolls its
|
||||
transcript with `MessageScroller`.
|
||||
- Task actions and dangerous approvals are deliberate; the task detail page is
|
||||
a single head strip with honest states; the run page settles its head around
|
||||
an attempts pager, which is hidden for zero or one attempt.
|
||||
- Appearance and System navigation were refined, with a four-column appearance
|
||||
grid on wide screens.
|
||||
- A copy pass removed redundant tails and restating descriptions, empty states
|
||||
derive their own titles, and a stuck log read surfaces as an error rather
|
||||
than eternal loading.
|
||||
- The capture pane is bound to the list it sits beside and reads beside it,
|
||||
not over it.
|
||||
|
||||
### Events is one page with three tabs
|
||||
|
||||
- Inspector, Bindings and Mappings are now tabs of a single **Events** page.
|
||||
- The nav entry is always live, the tabs prune by capability, and the three old
|
||||
paths survive as bookmarks that redirect to their tab.
|
||||
- Tab selection lives in one module (`ui/src/events/tab-selection.ts`) that the
|
||||
page uses, rather than a copy of it.
|
||||
- `feat(tools)`: a capture-intake sender exists for exercising the Events
|
||||
surfaces.
|
||||
|
||||
### The channel travels with the message
|
||||
|
||||
`SessionSource.Platform` -- the first component of the session natural key, and
|
||||
the column `GetByChannel` filters on -- was a constant `"web"`, because one
|
||||
Router serves every channel and named itself after its own. Two things followed:
|
||||
the per-user identity policy was real code that no production call site reached
|
||||
with a real channel name, and a curator pass's write to agent-user memory could
|
||||
not be read back by the turn that wrote it, because that turn resolved no
|
||||
`UserID`.
|
||||
|
||||
- The frontends now name the channel they carry (`telegram`, `email`,
|
||||
`webhook`, `web`), the channel rides the message, and the Gateway stamps the
|
||||
session from it -- falling back to its own name when a sender names none,
|
||||
which is what every existing row holds.
|
||||
- Identity resolution reads the platform off the inbound, so `carriesPersonIdentity`
|
||||
decides something in production: telegram and email resolve a person, the
|
||||
dashboard and a webhook resolve nothing, and an unknown platform fails closed.
|
||||
- **Behaviour change:** a chat whose active session came from `/new` or
|
||||
`/branch` re-resolves once, because session lookup now filters on the
|
||||
channel's real name. A chat without `/new` re-resolves onto the same
|
||||
deterministic id and heals silently.
|
||||
- Deliberately unchanged: `TurnRunnerConfig.Channel` still keys tool
|
||||
availability, so no channel gains or loses a tool in this release.
|
||||
|
||||
### Control plane: runtime administration, history, and derived schemas
|
||||
|
||||
- The State Store's gRPC server now carries runtime administration, and each
|
||||
process reports which settings version it is running; the dashboard shows it.
|
||||
- Resource history is exposed so edits can be reviewed and rolled back, and
|
||||
resource schemas are derived from the documents they describe -- the document
|
||||
editor reads the derived schema (labels from `title`, `format: duration` ->
|
||||
`1m0s`, hints from `doc`), and the abandoned schema-driven card is deleted.
|
||||
- A live settings replacement is checked before it is switched to, the daemon's
|
||||
state surfaces are folded into one boot step, and a SIGHUP reload re-applies
|
||||
database-owned settings.
|
||||
- Forge intake settings that nothing reads are now rejected at load.
|
||||
|
||||
### Configuration: judged where it is owned
|
||||
|
||||
- The runtime config overlay is deleted; database-owned settings are judged at
|
||||
the layer that owns them rather than on the file load path.
|
||||
- A file overlay no longer drops the fields it omits inside a map entry, and a
|
||||
kind with no stored value leaves the file's value in force.
|
||||
- The default config path is resolved in one place, and the channel document
|
||||
has its own shape.
|
||||
|
||||
### State Store: offline backup, restore, validate and rollback
|
||||
|
||||
- New offline backup / restore / validate / rollback path.
|
||||
- `validate` runs boot's own gate; it no longer replaces the database, reads a
|
||||
kind the store does not hold as its seed, or touches the daemon's log.
|
||||
- The recovery control-plane server is built on the shared step vocabulary.
|
||||
|
||||
### Workflow: one step vocabulary and a `gate.diff-rules` replacement
|
||||
|
||||
- The step vocabulary is owned by a family manager registered at each
|
||||
composition root, replacing `.archie/gate.go` with `gate.diff-rules`, which
|
||||
fails closed on a change it never read.
|
||||
- Workflow roots are pinned and the dead vocabulary is removed; the workflow pin
|
||||
crosses the wire.
|
||||
- The schedules resource skips the legacy cron jobs it cannot hold, and the
|
||||
scheduling policy carries the label its trigger pairs with.
|
||||
|
||||
### EDA: the playbook coordinator reaches production selection
|
||||
|
||||
- The playbook coordinator is wired into production workflow selection, so a
|
||||
matching playbook decides a real task's workflow at the daemon's definition
|
||||
pin, inheriting idempotency from `TaskEnvelope`.
|
||||
|
||||
### Reliability and operations
|
||||
|
||||
- `cronstore` writes a schedule interval as a duration, not nanoseconds -- a
|
||||
persisted `1m` no longer round-trips as `60000000000`.
|
||||
- Worktrees are cut from the mapped base branch, and the Gateway's worktree
|
||||
manager is built so it serves `review_pr`.
|
||||
- A late max-uptime callback no longer resurrects teardown state.
|
||||
- The state store dial installs client keepalive, and its server policy accepts
|
||||
the dialer's pings; control-plane watch streams re-establish themselves after
|
||||
they end.
|
||||
- `/status` serves only the health facts a reply can carry; the daemon reports
|
||||
systemd readiness and loop-driven watchdog heartbeats.
|
||||
- A webhook route path no longer becomes a sender identity.
|
||||
- A chat session compresses when a turn crosses its context budget.
|
||||
- The MCP client supports per-server `parallel_tool_calls`, carried through the
|
||||
tool-settings projection.
|
||||
- Resource request-ID idempotency keys are scoped to their kind.
|
||||
- The session curator addresses memory by the deployment's bot user.
|
||||
@@ -0,0 +1,26 @@
|
||||
# archied 1.32.0
|
||||
|
||||
Released 2026-09-22. [All news](../index.md)
|
||||
|
||||
### EDA: playbook action ids, and a dispatch idempotency ledger
|
||||
|
||||
- **Action ids (J1).** Every action a later action references must now carry an `id`. Ids are
|
||||
validated at load -- unique and stable-identifier-shaped -- and a `when`/`args` expression
|
||||
naming an unknown `actions.<id>` is a **load failure**, not a runtime miss, the same
|
||||
reject-at-load rule already applied to a binding collision.
|
||||
- **Reference classification is strict at load.** A map-index reference (`actions[expr]`), a
|
||||
non-literal index, and a reference to an unknown prior id are all rejected when the playbook
|
||||
loads; references are classified by identifier versus static access, and the when-compilation
|
||||
helper is shared between the load-time and runtime paths.
|
||||
- **Dispatch idempotency ledger.** A `playbook_dispatches` row records a dispatch against
|
||||
`(playbook_id, playbook_version, event_id, action_id)`, written with `INSERT OR IGNORE` and
|
||||
surfaced through the shared `store.ErrAlreadyDispatched` sentinel. Module, channel and forge
|
||||
action positions are therefore at-most-once, which is what unblocks the side-effecting
|
||||
positions that were previously rejected at load.
|
||||
- **The ledger is wired into production.** `stateStoreDeps` constructs `Deps.PlaybookDispatcher`,
|
||||
so the ledger RPCs no longer answer `Unavailable` in a running daemon. This defect was found
|
||||
by the pre-release review of this change rather than by its tests.
|
||||
|
||||
**Behaviour change:** a playbook whose actions reference `actions.<id>` without declaring that
|
||||
id, declare a duplicate id, or index `actions` with a non-literal value now fails to load
|
||||
instead of failing at dispatch time.
|
||||
@@ -0,0 +1,5 @@
|
||||
# archied 1.4.0
|
||||
|
||||
Released 2026-07-31. [All news](../index.md)
|
||||
|
||||
- fix(secrets): wire provider credentials through engines
|
||||
@@ -0,0 +1,5 @@
|
||||
# archied 1.4.1
|
||||
|
||||
Released 2026-07-31. [All news](../index.md)
|
||||
|
||||
- fix(catalog): match SDK provider fallback
|
||||
@@ -0,0 +1,33 @@
|
||||
# archied 1.5.0
|
||||
|
||||
Released 2026-08-08. [All news](../index.md)
|
||||
|
||||
- feat(curator): engine family contract, registry, and runtime
|
||||
- feat(curator): trigger accounting — primary-input wake path
|
||||
- feat(setup): interactive setup steps with a TTY-gated prompter
|
||||
- feat(webui): rebuild the dashboard and add chat
|
||||
- feat(daemon): identity-scoped isolation plus gateway session titles and /delete
|
||||
- feat(logging): optional rotating log file
|
||||
- feat(configuration): export Validate for the setup flow
|
||||
- fix(gateway): durable message identity with a SQLite store
|
||||
- fix(gateway): consistent message ordering and paged search
|
||||
- fix(gateway): stop /compress destroying history it should have kept
|
||||
- fix(gateway): do not answer a redelivered message twice
|
||||
- fix(gateway): claim the session slot before writing it, not after
|
||||
- fix(gateway): keep /topic off from poisoning the session cache
|
||||
- fix(gateway): resolve the most recently active session, not an arbitrary one
|
||||
- fix(gateway): give branch-inherited messages their own identity
|
||||
- fix(gateway): make both backends agree on newest-first
|
||||
- fix(store): honour the transition guard in production persistence
|
||||
- fix(store): move ID counters away from the reserved metadata namespace
|
||||
- fix(store): surface task timestamps and tag the summary structs
|
||||
- fix(telegram): pause the update loop when rate limited
|
||||
- fix(memory): fail startup on an unusable memory directory
|
||||
- fix(tools): let an optional provider fail without taking the daemon down
|
||||
- fix(tools): report a cancelled find walk as an error, not empty results
|
||||
- fix(worktree): name the missing forge credential when a push fails
|
||||
- fix(tomlwrite): recognise table headers carrying a trailing comment
|
||||
- fix: close the duplicate-work loop and the dead paths around it
|
||||
- perf(tools): drop the embedded ripgrep binaries
|
||||
- refactor: one definition of what approving or declining a task means
|
||||
- refactor: move workflow into its own domain
|
||||
@@ -0,0 +1,13 @@
|
||||
# archied 1.6.0
|
||||
|
||||
Released 2026-08-09. [All news](../index.md)
|
||||
|
||||
- feat(gateway): tool-approval gate, session tools for chat, and /delete command
|
||||
- fix(webui): close open-redirect in dashboard token-exchange handler
|
||||
- feat(gateway): make chat turns durable and idempotent
|
||||
- feat(webui): lifecycle-safe task controls with atomic retry and archive
|
||||
- feat(config,channels): format-neutral config resolution and truthful channel state
|
||||
- feat(logging,workflow): daemon log feed and executable workflow registry
|
||||
- fix(store,gateway): taskstate constants and mobile jump-to search
|
||||
- feat(webui,gateway): wire config, channel, log-feed, and work-intake seams
|
||||
- fix(ui): hide inactive chat command menu
|
||||
@@ -0,0 +1,27 @@
|
||||
# archied 1.7.0
|
||||
|
||||
Released 2026-08-10. [All news](../index.md)
|
||||
|
||||
- fix(build): install ripgrep where grep.go actually needs it on PATH
|
||||
- fix(webui): Send button no longer passes its click event to sendMessage
|
||||
- feat(webui): Enter sends, Shift+Enter inserts a newline
|
||||
- fix(chat): stop showing raw 501 banner for unconfigured update-check
|
||||
- fix(chat): give chat page a real height budget instead of a floor
|
||||
- fix(workflow): carry gate output into the baseline park error
|
||||
- feat(logging): add a per-task log sink
|
||||
- feat(agentexec): publish agent-side logs to the task's system subject
|
||||
- feat(daemon): consume agent system logs into per-task sinks and the dashboard feed
|
||||
- feat(webui,gateway): add /api/tasks/{id}/logs endpoint and task_logs chat tool
|
||||
- refactor(gateway): persist conversations in sqlite
|
||||
- refactor(store): replace legacy persistence with SQLite
|
||||
- fix(webui): tighten configuration KV row spacing
|
||||
- fix(gateway): harden session recovery paths
|
||||
- refactor(daemon,webui): make Daemon.Cfg and webui.Server.Cfg reload-safe
|
||||
- feat(config): SIGHUP-triggered reload with requires-restart warnings
|
||||
- fix(config): share one config Holder between daemon and dashboard; re-apply model catalog on reload
|
||||
- fix(config): complete the reloadable allowlist and pin it against ForTask
|
||||
- feat(config): runtime config overlay store, PATCH /api/config, and the `--no-config-overlay` recovery flag
|
||||
- feat(webui): inline config editing on the Configuration page
|
||||
- feat(config): surface overlay state, shadowed keys, and per-row reset
|
||||
- fix(config): close review blocker on the PATCH path; deep-copy snapshots; atomics for shared state
|
||||
- fix(config): preserve nil slices in Clone to avoid spurious reload warnings
|
||||
@@ -0,0 +1,16 @@
|
||||
# archied 1.8.0
|
||||
|
||||
Released 2026-08-15. [All news](../index.md)
|
||||
|
||||
- feat(archied): add -version so the installed build can be read from a shell
|
||||
- fix(webui): rebuild the Configuration page layout so values stop colliding
|
||||
- fix(webui): size Configuration key/value lists to their own content
|
||||
- fix(webui): keep Configuration rows full width, hug only the label column
|
||||
- fix(webui): cap and centre the Configuration page instead of its lists
|
||||
- fix(webui): preserve encoded redirect path characters
|
||||
- feat(chat): show tool calls inline and stream replies into one message
|
||||
- fix(chat): harden inline tool call streaming
|
||||
- refactor(agent): move worker runtime into application layer
|
||||
- fix(telegram): harden live-reply delivery against /stop and multi-byte content
|
||||
- fix(telegram): keep tool activity visible and mark failed/empty turns
|
||||
- fix(config): de-duplicate disabled-forge predicate, export ForgeDisabled
|
||||
@@ -0,0 +1,9 @@
|
||||
# archied 1.9.0
|
||||
|
||||
Released 2026-08-15. [All news](../index.md)
|
||||
|
||||
- fix(webui): style tool-call failure from a structured field, not a string prefix
|
||||
- fix(config,webui): make show_tool_calls one cross-channel setting
|
||||
- fix(telegram): guarantee no message is stranded on gateway stop/restart
|
||||
- fix(telegram): use NewRequestWithContext to satisfy noctx
|
||||
- refactor(webui): decompose handleSSE to cut cognitive complexity
|
||||
@@ -0,0 +1,7 @@
|
||||
# archied 1.9.1
|
||||
|
||||
Released 2026-08-15. [All news](../index.md)
|
||||
|
||||
- fix(agentworker): forward workflow events across the NATS worker boundary
|
||||
- fix(webui): filter turn_completed noise from the Live Activity SSE feed
|
||||
- feat(releaseupdate): stamp install type at build time, fail closed on unknown
|
||||
@@ -0,0 +1,5 @@
|
||||
# archied 1.9.10
|
||||
|
||||
Released 2026-08-19. [All news](../index.md)
|
||||
|
||||
- feat(update): `/update` now streams live progress while an update installs, reports a clear version summary (previous/installed, daemon/agent) once the build succeeds, and automatically rolls back and reports the outcome if the restarted daemon fails its post-update health check
|
||||
@@ -0,0 +1,5 @@
|
||||
# archied 1.9.11
|
||||
|
||||
Released 2026-08-19. [All news](../index.md)
|
||||
|
||||
- fix(mcp): persist npx package cache across daemon restarts
|
||||
@@ -0,0 +1,5 @@
|
||||
# archied 1.9.2
|
||||
|
||||
Released 2026-08-15. [All news](../index.md)
|
||||
|
||||
- fix(worktree): force checkout so retry recovers from a dirty worktree
|
||||
@@ -0,0 +1,7 @@
|
||||
# archied 1.9.3
|
||||
|
||||
Released 2026-08-15. [All news](../index.md)
|
||||
|
||||
- fix(webui): scroll selected command into view on keyboard navigation
|
||||
- fix(logging): resolve error attrs to their message string, not {}
|
||||
- feat(agentexec,workflow): surface tool calls on the task timeline
|
||||
@@ -0,0 +1,6 @@
|
||||
# archied 1.9.4
|
||||
|
||||
Released 2026-08-15. [All news](../index.md)
|
||||
|
||||
- feat(gateway): polish /status command response format
|
||||
- fix(telegram): preserve URL boundaries in responses
|
||||
@@ -0,0 +1,12 @@
|
||||
# archied 1.9.5
|
||||
|
||||
Released 2026-08-16. [All news](../index.md)
|
||||
|
||||
- refactor(archied): decompose the daemon bootstrap into phased wiring (no behaviour change; splits the ~950-line run() into focused setup phases so complexity linting passes)
|
||||
- refactor(archied): extract the config overlay boot helper and thread context through chat gateway setup
|
||||
- refactor(tools): split the read executor and flatten nested config/tool fallback logic to lower complexity
|
||||
- fix(tools): avoid predeclared `max` names
|
||||
- fix(email): use context-aware test networking
|
||||
- fix(indexing): remove the unused code search test runner
|
||||
- fix(tests): use contexts and type assertions in overlay and gateway tests
|
||||
- docs(architecture): document the memory engine family
|
||||
@@ -0,0 +1,5 @@
|
||||
# archied 1.9.6
|
||||
|
||||
Released 2026-08-16. [All news](../index.md)
|
||||
|
||||
- fix(update): stamp install type and bound retry backoff
|
||||
@@ -0,0 +1,5 @@
|
||||
# archied 1.9.7
|
||||
|
||||
Released 2026-08-17. [All news](../index.md)
|
||||
|
||||
- chore: no user-facing changes
|
||||
@@ -0,0 +1,5 @@
|
||||
# archied 1.9.8
|
||||
|
||||
Released 2026-08-17. [All news](../index.md)
|
||||
|
||||
- chore: no user-facing changes
|
||||
@@ -0,0 +1,5 @@
|
||||
# archied 1.9.9
|
||||
|
||||
Released 2026-08-18. [All news](../index.md)
|
||||
|
||||
- fix(telegram): drain live renderer in concurrency test
|
||||
@@ -0,0 +1,172 @@
|
||||
# News
|
||||
|
||||
Release notes for archied and archie-agent, newest first.
|
||||
|
||||
## 2026-09-22
|
||||
|
||||
- [archied 1.32.0](archied/1.32.0.md)
|
||||
- [archied 1.31.0](archied/1.31.0.md)
|
||||
- [archie-agent 1.32.0](archie/1.32.0.md)
|
||||
- [archie-agent 1.31.0](archie/1.31.0.md)
|
||||
|
||||
## 2026-09-20
|
||||
|
||||
- [archied 1.30.0](archied/1.30.0.md)
|
||||
- [archie-agent 1.30.0](archie/1.30.0.md)
|
||||
|
||||
## 2026-09-19
|
||||
|
||||
- [archied 1.29.0](archied/1.29.0.md)
|
||||
- [archied 1.28.0](archied/1.28.0.md)
|
||||
- [archie-agent 1.29.0](archie/1.29.0.md)
|
||||
- [archie-agent 1.28.0](archie/1.28.0.md)
|
||||
|
||||
## 2026-09-17
|
||||
|
||||
- [archied 1.27.0](archied/1.27.0.md)
|
||||
- [archied 1.26.0](archied/1.26.0.md)
|
||||
- [archie-agent 1.27.0](archie/1.27.0.md)
|
||||
- [archie-agent 1.26.0](archie/1.26.0.md)
|
||||
|
||||
## 2026-09-15
|
||||
|
||||
- [archied 1.25.0](archied/1.25.0.md)
|
||||
- [archie-agent 1.25.0](archie/1.25.0.md)
|
||||
|
||||
## 2026-09-12
|
||||
|
||||
- [archied 1.24.0](archied/1.24.0.md)
|
||||
- [archied 1.23.0](archied/1.23.0.md)
|
||||
- [archie-agent 1.23.0](archie/1.23.0.md)
|
||||
|
||||
## 2026-09-03
|
||||
|
||||
- [archied 1.22.0](archied/1.22.0.md)
|
||||
- [archied 1.21.0](archied/1.21.0.md)
|
||||
- [archied 1.20.0](archied/1.20.0.md)
|
||||
- [archie-agent 1.21.0](archie/1.21.0.md)
|
||||
- [archie-agent 1.20.0](archie/1.20.0.md)
|
||||
|
||||
## 2026-09-02
|
||||
|
||||
- [archied 1.19.10](archied/1.19.10.md)
|
||||
- [archied 1.19.9](archied/1.19.9.md)
|
||||
- [archied 1.19.8](archied/1.19.8.md)
|
||||
- [archied 1.19.7](archied/1.19.7.md)
|
||||
- [archied 1.19.6](archied/1.19.6.md)
|
||||
- [archie-agent 1.19.9](archie/1.19.9.md)
|
||||
- [archie-agent 1.19.7](archie/1.19.7.md)
|
||||
|
||||
## 2026-09-01
|
||||
|
||||
- [archied 1.19.5](archied/1.19.5.md)
|
||||
- [archie-agent 1.19.5](archie/1.19.5.md)
|
||||
|
||||
## 2026-08-28
|
||||
|
||||
- [archied 1.19.4](archied/1.19.4.md)
|
||||
- [archied 1.19.3](archied/1.19.3.md)
|
||||
- [archied 1.19.2](archied/1.19.2.md)
|
||||
- [archied 1.19.0](archied/1.19.0.md)
|
||||
- [archie-agent 1.18.0](archie/1.18.0.md)
|
||||
|
||||
## 2026-08-27
|
||||
|
||||
- [archied 1.19.1](archied/1.19.1.md)
|
||||
|
||||
## 2026-08-25
|
||||
|
||||
- [archied 1.18.0](archied/1.18.0.md)
|
||||
- [archied 1.17.1](archied/1.17.1.md)
|
||||
- [archied 1.17.0](archied/1.17.0.md)
|
||||
- [archied 1.16.0](archied/1.16.0.md)
|
||||
- [archie-agent 1.17.0](archie/1.17.0.md)
|
||||
- [archie-agent 1.16.1](archie/1.16.1.md)
|
||||
- [archie-agent 1.16.0](archie/1.16.0.md)
|
||||
|
||||
## 2026-08-24
|
||||
|
||||
- [archied 1.15.0](archied/1.15.0.md)
|
||||
|
||||
## 2026-08-23
|
||||
|
||||
- [archied 1.14.0](archied/1.14.0.md)
|
||||
- [archied 1.13.0](archied/1.13.0.md)
|
||||
- [archied 1.12.0](archied/1.12.0.md)
|
||||
- [archied 1.11.1](archied/1.11.1.md)
|
||||
- [archied 1.11.0](archied/1.11.0.md)
|
||||
|
||||
## 2026-08-22
|
||||
|
||||
- [archied 1.10.0](archied/1.10.0.md)
|
||||
|
||||
## 2026-08-19
|
||||
|
||||
- [archied 1.9.11](archied/1.9.11.md)
|
||||
- [archied 1.9.10](archied/1.9.10.md)
|
||||
|
||||
## 2026-08-18
|
||||
|
||||
- [archied 1.9.9](archied/1.9.9.md)
|
||||
- [archie-agent 1.9.9](archie/1.9.9.md)
|
||||
|
||||
## 2026-08-17
|
||||
|
||||
- [archied 1.9.8](archied/1.9.8.md)
|
||||
- [archied 1.9.7](archied/1.9.7.md)
|
||||
- [archie-agent 1.9.8](archie/1.9.8.md)
|
||||
- [archie-agent 1.9.7](archie/1.9.7.md)
|
||||
|
||||
## 2026-08-16
|
||||
|
||||
- [archied 1.9.6](archied/1.9.6.md)
|
||||
- [archied 1.9.5](archied/1.9.5.md)
|
||||
- [archie-agent 1.9.6](archie/1.9.6.md)
|
||||
- [archie-agent 1.9.5](archie/1.9.5.md)
|
||||
|
||||
## 2026-08-15
|
||||
|
||||
- [archied 1.9.4](archied/1.9.4.md)
|
||||
- [archied 1.9.3](archied/1.9.3.md)
|
||||
- [archied 1.9.2](archied/1.9.2.md)
|
||||
- [archied 1.9.1](archied/1.9.1.md)
|
||||
- [archied 1.9.0](archied/1.9.0.md)
|
||||
- [archied 1.8.0](archied/1.8.0.md)
|
||||
- [archie-agent 1.9.4](archie/1.9.4.md)
|
||||
- [archie-agent 1.9.3](archie/1.9.3.md)
|
||||
- [archie-agent 1.9.2](archie/1.9.2.md)
|
||||
- [archie-agent 1.9.1](archie/1.9.1.md)
|
||||
- [archie-agent 1.9.0](archie/1.9.0.md)
|
||||
|
||||
## 2026-08-10
|
||||
|
||||
- [archied 1.7.0](archied/1.7.0.md)
|
||||
- [archie-agent 1.4.0](archie/1.4.0.md)
|
||||
|
||||
## 2026-08-09
|
||||
|
||||
- [archied 1.6.0](archied/1.6.0.md)
|
||||
|
||||
## 2026-08-08
|
||||
|
||||
- [archied 1.5.0](archied/1.5.0.md)
|
||||
- [archie-agent 1.3.0](archie/1.3.0.md)
|
||||
|
||||
## 2026-07-31
|
||||
|
||||
- [archied 1.4.1](archied/1.4.1.md)
|
||||
- [archied 1.4.0](archied/1.4.0.md)
|
||||
- [archied 1.3.1](archied/1.3.1.md)
|
||||
- [archied 1.3.0](archied/1.3.0.md)
|
||||
- [archied 1.2.0](archied/1.2.0.md)
|
||||
- [archie-agent 1.2.0](archie/1.2.0.md)
|
||||
|
||||
## 2026-07-27
|
||||
|
||||
- [archied 1.1.0](archied/1.1.0.md)
|
||||
- [archie-agent 1.1.0](archie/1.1.0.md)
|
||||
|
||||
## 2026-07-22
|
||||
|
||||
- [archied 1.0.0](archied/1.0.0.md)
|
||||
- [archie-agent 1.0.0](archie/1.0.0.md)
|
||||
@@ -0,0 +1,639 @@
|
||||
[
|
||||
{
|
||||
"component": "archied",
|
||||
"name": "archied",
|
||||
"version": "1.32.0",
|
||||
"date": "2026-09-22",
|
||||
"body": "### EDA: playbook action ids, and a dispatch idempotency ledger\n\n- **Action ids (J1).** Every action a later action references must now carry an `id`. Ids are\n validated at load -- unique and stable-identifier-shaped -- and a `when`/`args` expression\n naming an unknown `actions.<id>` is a **load failure**, not a runtime miss, the same\n reject-at-load rule already applied to a binding collision.\n- **Reference classification is strict at load.** A map-index reference (`actions[expr]`), a\n non-literal index, and a reference to an unknown prior id are all rejected when the playbook\n loads; references are classified by identifier versus static access, and the when-compilation\n helper is shared between the load-time and runtime paths.\n- **Dispatch idempotency ledger.** A `playbook_dispatches` row records a dispatch against\n `(playbook_id, playbook_version, event_id, action_id)`, written with `INSERT OR IGNORE` and\n surfaced through the shared `store.ErrAlreadyDispatched` sentinel. Module, channel and forge\n action positions are therefore at-most-once, which is what unblocks the side-effecting\n positions that were previously rejected at load.\n- **The ledger is wired into production.** `stateStoreDeps` constructs `Deps.PlaybookDispatcher`,\n so the ledger RPCs no longer answer `Unavailable` in a running daemon. This defect was found\n by the pre-release review of this change rather than by its tests.\n\n**Behaviour change:** a playbook whose actions reference `actions.<id>` without declaring that\nid, declare a duplicate id, or index `actions` with a non-literal value now fails to load\ninstead of failing at dispatch time."
|
||||
},
|
||||
{
|
||||
"component": "archied",
|
||||
"name": "archied",
|
||||
"version": "1.31.0",
|
||||
"date": "2026-09-22",
|
||||
"body": "### Dashboard replaced: Preact -> Vue 3 + shadcn-vue\n\nThe dashboard is now a Vue 3 application built on shadcn-vue. This is the\nlarge piece of this release; it touches every page.\n\n- History routing, a grouped topbar built from components, the violet palette\n with self-hosted Geist, and a command palette with live tasks.\n- Chat is a FAB-opened panel that behaves like a chat window and scrolls its\n transcript with `MessageScroller`.\n- Task actions and dangerous approvals are deliberate; the task detail page is\n a single head strip with honest states; the run page settles its head around\n an attempts pager, which is hidden for zero or one attempt.\n- Appearance and System navigation were refined, with a four-column appearance\n grid on wide screens.\n- A copy pass removed redundant tails and restating descriptions, empty states\n derive their own titles, and a stuck log read surfaces as an error rather\n than eternal loading.\n- The capture pane is bound to the list it sits beside and reads beside it,\n not over it.\n\n### Events is one page with three tabs\n\n- Inspector, Bindings and Mappings are now tabs of a single **Events** page.\n- The nav entry is always live, the tabs prune by capability, and the three old\n paths survive as bookmarks that redirect to their tab.\n- Tab selection lives in one module (`ui/src/events/tab-selection.ts`) that the\n page uses, rather than a copy of it.\n- `feat(tools)`: a capture-intake sender exists for exercising the Events\n surfaces.\n\n### The channel travels with the message\n\n`SessionSource.Platform` -- the first component of the session natural key, and\nthe column `GetByChannel` filters on -- was a constant `\"web\"`, because one\nRouter serves every channel and named itself after its own. Two things followed:\nthe per-user identity policy was real code that no production call site reached\nwith a real channel name, and a curator pass's write to agent-user memory could\nnot be read back by the turn that wrote it, because that turn resolved no\n`UserID`.\n\n- The frontends now name the channel they carry (`telegram`, `email`,\n `webhook`, `web`), the channel rides the message, and the Gateway stamps the\n session from it -- falling back to its own name when a sender names none,\n which is what every existing row holds.\n- Identity resolution reads the platform off the inbound, so `carriesPersonIdentity`\n decides something in production: telegram and email resolve a person, the\n dashboard and a webhook resolve nothing, and an unknown platform fails closed.\n- **Behaviour change:** a chat whose active session came from `/new` or\n `/branch` re-resolves once, because session lookup now filters on the\n channel's real name. A chat without `/new` re-resolves onto the same\n deterministic id and heals silently.\n- Deliberately unchanged: `TurnRunnerConfig.Channel` still keys tool\n availability, so no channel gains or loses a tool in this release.\n\n### Control plane: runtime administration, history, and derived schemas\n\n- The State Store's gRPC server now carries runtime administration, and each\n process reports which settings version it is running; the dashboard shows it.\n- Resource history is exposed so edits can be reviewed and rolled back, and\n resource schemas are derived from the documents they describe -- the document\n editor reads the derived schema (labels from `title`, `format: duration` ->\n `1m0s`, hints from `doc`), and the abandoned schema-driven card is deleted.\n- A live settings replacement is checked before it is switched to, the daemon's\n state surfaces are folded into one boot step, and a SIGHUP reload re-applies\n database-owned settings.\n- Forge intake settings that nothing reads are now rejected at load.\n\n### Configuration: judged where it is owned\n\n- The runtime config overlay is deleted; database-owned settings are judged at\n the layer that owns them rather than on the file load path.\n- A file overlay no longer drops the fields it omits inside a map entry, and a\n kind with no stored value leaves the file's value in force.\n- The default config path is resolved in one place, and the channel document\n has its own shape.\n\n### State Store: offline backup, restore, validate and rollback\n\n- New offline backup / restore / validate / rollback path.\n- `validate` runs boot's own gate; it no longer replaces the database, reads a\n kind the store does not hold as its seed, or touches the daemon's log.\n- The recovery control-plane server is built on the shared step vocabulary.\n\n### Workflow: one step vocabulary and a `gate.diff-rules` replacement\n\n- The step vocabulary is owned by a family manager registered at each\n composition root, replacing `.archie/gate.go` with `gate.diff-rules`, which\n fails closed on a change it never read.\n- Workflow roots are pinned and the dead vocabulary is removed; the workflow pin\n crosses the wire.\n- The schedules resource skips the leLine truncated
|
||||
},
|
||||
{
|
||||
"component": "archie",
|
||||
"name": "archie-agent",
|
||||
"version": "1.32.0",
|
||||
"date": "2026-09-22",
|
||||
"body": "The sandboxed runtime links `storecontract` and `staterpc`, so it carries the dispatch-ledger\ncontract alongside archied:\n\n- The shared `store.ErrAlreadyDispatched` sentinel now describes both dedup ledgers --\n `binding_dispatches` per `(binding_id, capture_id)`, and `playbook_dispatches` per\n `(playbook_id, playbook_version, event_id, action_id)`. Each is an at-most-once guarantee.\n- `RecordPlaybookDispatch` is part of the store contract the runtime builds against.\n\narchied and archie-agent move together in this release."
|
||||
},
|
||||
{
|
||||
"component": "archie",
|
||||
"name": "archie-agent",
|
||||
"version": "1.31.0",
|
||||
"date": "2026-09-22",
|
||||
"body": "The sandboxed runtime links the same shared packages as archied, so this\nrelease carries the control-plane and workflow changes alongside it:\n\n- Runtime administration over the State Store's gRPC server, resource history,\n and control-plane apply status on the store contract.\n- The shared step vocabulary, owned by a family manager registered at each\n composition root, and `gate.diff-rules` in place of `.archie/gate.go`\n (fails closed on a change it never read).\n- The workflow pin crosses the wire.\n\nRuntime-specific changes:\n\n- `refactor(plugin)`: the unused `Registry` type is deleted.\n- `yaegiutil` refuses incomplete Yaegi interface wrappers at load rather than\n running them.\n- The runtime config overlay is deleted.\n- The state store dial installs client keepalive, and the server policy accepts\n the dialer's pings.\n- The MCP client supports per-server `parallel_tool_calls`.\n- A late max-uptime callback no longer resurrects teardown state.\n- A webhook route path no longer becomes a sender identity.\n\nNote: the `archie-agent` image is rebuilt by this tag through CI\n(`.github/workflows/deploy.yml`); a gateway-only release would not have rebuilt\nit. `docker compose pull agent` is required to pick it up."
|
||||
},
|
||||
{
|
||||
"component": "archied",
|
||||
"name": "archied",
|
||||
"version": "1.30.0",
|
||||
"date": "2026-09-20",
|
||||
"body": "### Messaging Service extraction completed\n\nTelegram, email and webhook no longer run inside the daemon. They run in\n`archie-messaging` and reach the daemon through the Gateway's `ChatContract`\nover gRPC; the daemon builds no channel and no `gateway.Router` (#899).\n\n- The operator surface is re-wired in the extracted service: `/update` (built\n from its own `[chat.telegram]` commands), the update-report relay, the\n `show_tool_calls` projection, and `/restart`'s config reload, which\n re-resolves the token and allowlist from this service's own file and refuses\n a reload that resolves to an empty token.\n- `/version` is sourced from the Gateway through a new `ChatSnapshot.Version`\n field. `cmd/archie-messaging` deliberately takes no version ldflags, so it\n cannot report a partial upgrade as a matched one.\n- Channel configuration is validated at composition, so a configured-but-\n invalid front-end fails the service instead of being silently dropped.\n- The inbound rate limiter moves to the Gateway, which now owns the only\n Router and is therefore the one place a per-sender budget can apply to every\n channel's turns.\n\n`RunningVersions` and `ReleaseAnnouncements` are deliberately left unwired:\nboth need a component's real running version, and the only versions this\nprocess can obtain are another binary's stamps. See\n`docs/architecture/migration-decisions.md`.\n\n### Configuration\n\n- `diff_cap_lines = 0` now switches the cap off, as the dashboard and the\n workflow step have always documented. It was a plain `int`, so the defaults\n pass could not tell an absent key from an explicit `0` and rewrote both to\n 400 -- the documented way to disable the cap was unreachable. **Behaviour\n change:** a config that set `0` was silently getting 400 and will now get no\n cap.\n- The same ambiguity was failing open per identity: `configForIdentity`\n assigned the identity's value unconditionally, so an identity that merely\n omitted `diff_cap_lines` overwrote the shared cap with the zero value and\n disabled the safety rail entirely. An identity now overrides only when it\n sets the key.\n- A diff-cap park no longer tells the operator to \"approve manually\". A parked\n task's actions are retry, abandon and reject, so there is no approve path out\n of diff-cap; it now names the two things that work.\n- `[health].dependency_timeout` makes the daemon's readiness probe timeout\n configurable, matching the extracted services.\n\n### Chat rendering\n\n- `/status` and `/tasks` are line-oriented reports but separated lines with a\n plain newline, which is CommonMark's soft wrap: the Telegram renderer joined\n them into one run-on paragraph. The renderer implements CommonMark's hard\n line break and the reports use it. Ordinary prose still soft-wraps.\n- A park reason is capped to its first line in the `/tasks` list. It carries\n whatever the failing stage reported, which for a lint gate is a whole tool\n log; unbounded, one parked task pushed every other task out of the reply. The\n full reason is unchanged on the task, in `task_list` and on the dashboard.\n\n### Review\n\n- Review findings are posted as line-anchored PR comments with suggested fixes,\n and a suggestion must be single-line -- GitHub applies a multi-line suggestion\n only up to its first line, silently corrupting the file (#891).\n- The remediate workflow handles PR review comments and requested changes.\n\n### /status health surface\n\n`/status` reports the live broker connection and the last-known outcome of this\nprocess's chat-model calls, alongside the queue depth and runtime block (#892).\n\n- A provider error is flattened and capped, so a multiline or oversized error\n cannot break the one-line-per-fact layout.\n- Concurrent model calls no longer reorder: the completion time is taken before\n the lock, so the newer outcome wins rather than whichever goroutine stored\n last.\n- Curator model calls are recorded too. They bypass the chat path, so a daemon\n whose only recent model traffic was curator work reported \"no calls attempted\n yet\" while the provider was demonstrably reachable.\n- Title generation does not record health. It runs detached under its own\n bound and its error is swallowed, so a cosmetic timeout was overwriting the\n line with \"failed\".\n\n**Known limitation:** the container, poll and channel sections cannot render.\nThose facts live in the daemon, but the only Router lives in the Gateway\nprocess, which has no container pool and no poll loop. The command description\nsays what actually appears; restoring the rest needs a cross-process health\ncontract.\n\n### Dashboard and containers\n\n- The served lifecycle vocabulary reaches an already-painted page, the page\n registry matches the routes, and the build verifies `ui/dist` is fresh\n instead of never looking at it (#890, #898).\n- The container reaper no longer deletes teardown bookkeeping early, so a\n releasedLine truncated
|
||||
},
|
||||
{
|
||||
"component": "archie",
|
||||
"name": "archie-agent",
|
||||
"version": "1.30.0",
|
||||
"date": "2026-09-20",
|
||||
"body": "- The sandboxed runtime picks up line-anchored review comments: a finding is\n posted against the line it is about, with a suggested fix where it has one,\n and a suggestion is rejected unless it is single-line -- GitHub applies a\n multi-line suggestion only up to its first line, silently corrupting the\n file (#891).\n- `diff_cap_lines` is an optional value in the shared config the runtime\n reconstructs, so an explicit `0` means \"no cap\" rather than being rewritten\n to the default. **Behaviour change** for a repo that set `0` expecting\n unlimited and was silently getting 400 (#899).\n- A diff-cap park names a remedy that exists: a parked task's actions are\n retry, abandon and reject, so the reason no longer says \"approve manually\".\n- A released container is not torn down twice -- the reaper no longer deletes\n teardown bookkeeping before `Release` is finished with it (#893).\n- Build toolchain: `gofumpt` and `golangci-lint` are pinned as one matched\n pair, and `task fmt` uses the same engine the gate checks with, so the\n runtime's own gate is satisfiable (#901)."
|
||||
},
|
||||
{
|
||||
"component": "archied",
|
||||
"name": "archied",
|
||||
"version": "1.29.0",
|
||||
"date": "2026-09-19",
|
||||
"body": "### Security\n\n- `google.golang.org/grpc` bumped past `v1.84.0` to patch\n [GO-2026-6443](https://pkg.go.dev/vuln/GO-2026-6443), a server panic via a\n missing `:authority`/`Host` header reachable through `archied`'s gRPC\n gateway server. No stable release carries the fix yet, so this pins the\n pre-release commit that does (`v1.85.0-dev.0.20260825072537-93e31b48545e`)\n until `grpc-go` cuts `v1.85.0`.\n\n### Memory engine unification\n\nOne memory engine, addressed by four typed scopes (global, agent, user,\nagent-user), replaces the two disconnected stores that previously existed:\na chat-tool-written store nothing ever read back, and a curator-written store\nwith no scope model.\n\n- `internal/domain/memory` is a CRUD contract (`Create`/`Get`/`Query`/`List`/\n `Update`/`Forget`/`Revisions`) with retained revisions; updates supersede\n rather than overwrite, so a crash mid-write leaves a recoverable extra\n history entry, never a lost prior state (#886).\n- The chat turn reads its subject's scopes synchronously before the prompt is\n built, rendering recalled records into a `<memory>` block; a failing or\n panicking engine degrades to no memory block rather than failing the turn\n (#887).\n- The model writes memory through four id-addressed tools\n (`memory_create`/`update`/`delete`/`list`), scoped to the turn's own\n resolved identity -- the model chooses the scope kind, never the ids, so it\n has no path to write into another user's memory (#888).\n- The session curator now derives the agent-user scope from the session's own\n user-role messages, instead of keying facts by a session id that stops\n meaning anything once the session ends.\n- A channel with no resolvable user (dashboard, webhook) reads and writes only\n global and agent scope; a webhook's route path is never treated as a user\n identity.\n- Fixed a review finding on the read path: the per-scope record limit was\n being applied as one shared total across all scopes rather than per scope,\n and the rendered block's byte cap was checked before template escaping\n rather than after, letting the escaped block exceed it.\n\n### Work intake\n\n- feat(workintake): define review reaction envelope\n- feat(workintake): authorize review reactions by owned PR\n\n### Cleanup\n\n- Deleted the unwired plugin capability-host health surface\n (`Host.Health`/`Host.Manifests`/`ModuleStatus`) and the `Module.Health`\n chain it fed -- including the `mcp`/`builtin` tool-provider health\n implementations and their aggregation in `tools/provider.Registry` -- none\n of which had ever had a production caller (#882)."
|
||||
},
|
||||
{
|
||||
"component": "archied",
|
||||
"name": "archied",
|
||||
"version": "1.28.0",
|
||||
"date": "2026-09-19",
|
||||
"body": "### Task detail and attempt attribution\n\n- New per-run task detail page, showing each attempt's own events, changes and\n configuration rather than a single merged view.\n- Events, changes and config are attributed to the attempt that produced them;\n `Event` carries `attempt` and `ReadTaskLogRequest` carries `stage`.\n- The task detail page remounts when the task id changes, so switching tasks\n does not leave the previous one's data on screen.\n\n### Configuration\n\n- Services are keyed by name through a registry, so the State Store and Gateway\n listen addresses are configurable rather than fixed.\n- A partial overlay no longer clears the fields it omits — an overlay that set\n one key was wiping the rest.\n- The Services map is cloned on publish, so an overlay can no longer mutate the\n snapshot other readers are holding.\n- The service context is enforced at registration.\n\n### Logging and park reasons\n\n- A parked run's reason is recorded in its own attempt log, in both the daemon\n and the workflow, so \"why did this park?\" is answerable from the task itself.\n- `TaskRegistry.Write` takes the caller's context.\n\n### Worktrees and containers\n\n- Retries recover from path-type conflicts instead of failing opaquely, and the\n underlying cause is no longer masked.\n- The worktree is handed back on every sandbox exit.\n- A container's max-uptime reaper is cancelled on release, the cap stays active\n through the grace period, and teardown is claimed once rather than by\n cancelling a timer.\n\n### Daemon and startup\n\n- Every identity's forge and repos are swept at startup, including the root\n forge.\n- A cancelled startup is no longer reported as an exhausted sweep budget; an\n exhausted budget names itself as the cause.\n\n### Other\n\n- `grep` can use the workspace codesearch index.\n- Forge labels are matched when namespaced, so label-driven routing works for\n namespaced labels.\n- Triage is given criteria for choosing between workflows, and a workflow is\n required when a code change is needed.\n- The Telegram adapter restart callback is wired into the chat router.\n- The `ARCHIE_REACTIONS` fan-out stream is provisioned and bounded by age.\n- `archie-ui` exits cleanly when graceful shutdown overruns its deadline.\n- The dashboard's event pump retries priming until the State Store answers.\n- The update writer emits the agent version sidecar with a real newline.\n- The UI finishes its Preact port; the imperative DOM layer is deleted.\n- Collection fields decoded over the State Store gRPC contract are never nil\n slices, so an empty collection marshals as `[]` rather than `null`."
|
||||
},
|
||||
{
|
||||
"component": "archie",
|
||||
"name": "archie-agent",
|
||||
"version": "1.29.0",
|
||||
"date": "2026-09-19",
|
||||
"body": "- The sandboxed runtime picks up the review-reaction envelope and its\n owned-PR authorization, so an agent can only react to reviews on pull\n requests it opened itself.\n- `google.golang.org/grpc` bumped past `v1.84.0` to patch\n [GO-2026-6443](https://pkg.go.dev/vuln/GO-2026-6443) (shared dependency\n with `archied`; the pre-release commit is pinned pending a stable\n `v1.85.0`)."
|
||||
},
|
||||
{
|
||||
"component": "archie",
|
||||
"name": "archie-agent",
|
||||
"version": "1.28.0",
|
||||
"date": "2026-09-19",
|
||||
"body": "- The sandboxed runtime picks up the attempt-attribution contract, so the events\n and changes an agent produces are recorded against the attempt that produced\n them.\n- `grep` can use the workspace codesearch index.\n- A worktree is handed back on every sandbox exit, and container teardown is\n claimed once — a released container's reaper is cancelled rather than\n re-firing during the grace period.\n- Retries recover from worktree path-type conflicts instead of failing\n opaquely.\n- A parked workflow run records its park reason in its own log.\n- Triage criteria distinguish the workflows, and a workflow is required when a\n code change is needed.\n- Namespaced forge labels match when routing by kind.\n- The `ARCHIE_REACTIONS` fan-out stream is provisioned.\n- Collection fields decoded over the State Store gRPC contract are never nil\n slices, so an empty collection marshals as `[]` rather than `null`."
|
||||
},
|
||||
{
|
||||
"component": "archied",
|
||||
"name": "archied",
|
||||
"version": "1.27.0",
|
||||
"date": "2026-09-17",
|
||||
"body": "### Dashboard task logs\n\n- Task logs are readable from the dashboard again, through a new State Store\n read contract (`ReadTaskLog`, `StreamTaskLogContent`) rather than the UI\n process reaching into the daemon's log files. Wired server-side by the\n standalone state-store process.\n- Added `GET /api/tasks/{id}/logs/download`, serving an attempt's raw log as a\n `task-<id>-attempt-<n>.log` attachment.\n- A process that cannot read logs and an attempt that recorded no log are now\n distinguishable (\"cannot read\" answers 503, \"no log\" answers 404) instead of\n both rendering as a claim about a configuration setting.\n\n### Telegram output\n\n- Tool results are summarised rather than quoted: a search reports how many\n matches came back, a truncated result reports the tool's own total. The\n renderer no longer states a count it computed from its own truncated sample.\n- Repeated successful tool calls collapse into one counted entry.\n- The tool-activity block is capped to a third of the live frame, keeps the\n newest lines, and marks what it dropped with a `+N earlier` indicator. Every\n line that fits is kept.\n- Every clamped answer marks its cut with an ellipsis, including the opening\n frame, which previously appeared to begin mid-sentence.\n- An error response from the log download no longer ships as a `.log` file.\n\n### Readiness and shutdown\n\n- The disk probe reports per-filesystem results and checks the root filesystem\n as well as the work directory, so a full root is no longer invisible.\n- A path shared by several disk targets keeps the strictest requirement any\n target places on it, so an optional target can no longer mask a required one.\n- The shutdown-watchdog test no longer races the Go scheduler, which was\n intermittently failing the quality gate and parking work unrelated to it.\n\n### Other\n\n- Messages persist the channel-native sender id.\n- go-telegram/bot bumped to v1.27.0, fixing a streaming bug where the multipart\n body could not be replayed and `sendMessage`/`editMessageText` failed until\n the connection dropped."
|
||||
},
|
||||
{
|
||||
"component": "archied",
|
||||
"name": "archied",
|
||||
"version": "1.26.0",
|
||||
"date": "2026-09-17",
|
||||
"body": "- fix(webui): publish per-identity forges so multi-identity task rows keep their links\n- feat(config): add [scheduling] config block\n- feat(configuration): translate [scheduling] into scheduling.EngineConfig\n- feat(cronevents): adapt the events bus to scheduling.Sink\n- fix(webui): count every chat front-end in the published projection\n- fix(scheduling): respect configuration ownership\n- feat(ratelimit): wire per-identity inbound rate limiting into the gateway\n- fix(tools): judge the rm guard by base name so absolute paths cannot bypass it\n- fix(store): keep an empty binding secret empty so a partial edit cannot erase it\n- fix(archied): stop advertising review_pr when no reviewer can run\n- fix(daemon): carry kind/label routing bindings to the process that routes\n- feat(configuration): add archied setup, the caller the first-run flow was built for\n- fix(configuration): stop letting a secret value be set from the command line\n- feat(configuration): let setup reference a secret without carrying its value\n- fix(archied): disable a provider whose credential is missing instead of refusing to boot\n- refactor(install): install.sh delegates config generation, and tests stop reading hand-written configs\n- fix(daemon): guard binding dispatch loop against nil dispatcher/creator\n- fix(webui): enforce CSRF/origin gate on binding and mapping mutations\n- fix(secret): recover a panicking secret engine instead of crashing\n- fix(config): deep-copy Image.Hosted/Image.Local in Config.Clone\n- fix(email): stop dropping the first paragraph of plain-text bodies\n- fix(logging): keep the live descriptor open across a failed rotation\n- feat(configuration): report config keys no decode target consumed\n- feat(archied): warn at boot when the config file has unrecognised keys\n- feat(archied): wire the scheduling ticker engine at boot\n- fix(agentworker): wire configured tool-result policy into worker's LoopRunner\n- refactor(staterpc): delete the superseded single-token auth interceptor\n- refactor(memory): delete the unreachable <memory> fence scrubber\n- fix(channels): delete unreachable Telegram webhook delivery mode\n- fix(gateway): delete unwired Router.Dangerous approval path\n- refactor(gateway): delete orphaned SessionState goal/steer/queue machinery\n- refactor(archied): delete the daemon's unused webui.Server and UI adapters\n- refactor(tools): delete unreachable dispatch/gating engine\n- feat(channels): wire chat.webhook route config through to the gateway\n- refactor(tools): delete unreachable AST-based tool discovery\n- refactor(tools): delete unused plugin-tool registration API from builtin.Registry\n- feat(channels): wire ConfigSchema/ValidateConfig into a startup validation loop\n- refactor(state): delete the dead IncrementRetryCount RPC (breaking change, accepted)\n- fix(curator): populate PassInput.Since with the prior pass time\n- fix(memory): install the threat scanner the composition root never wired\n- fix(staterpc): preserve marshal_error marker in eventDataJSON\n- fix(gate): validate finding level and share the blocking threshold\n- fix(scheduling): record a completed run so a recurring job stops re-firing every tick\n- fix(releaseupdate): don't treat empty available as deferred\n- fix(tools/provider/mcp): preserve MCP binary tool results for delivery\n- refactor(gateway): share sensitive-key markers with webhookguard\n- refactor(daemon): remove unreachable SQLite poll/drain path\n- refactor(tools/mcp): delete unreachable MCP adaptation path\n- fix(taskactions): resolve max_retries from the task's owning identity\n- fix(daemon): forward configured MCP servers to task agents\n- refactor(skill): delete dead Discover/DiscoverPlugins/Skill path\n- refactor(skillbuild): delete dead AugmentRegistry path\n- fix(builtin): bound read/edit filesystem work by DefaultToolTimeout\n- refactor(binding): delete dead Matcher.Overlaps method\n- refactor(forge): delete dead CreateIssue surface\n- fix(mcp): cancel in-flight SSE reconnect on Stop\n- fix(container): enforce MaxUptime lifetime cap with a timer\n- refactor(store): use taskstate status constants in SQL\n- fix(ui): unbreak binding approve and the two deletes, and centralise the client\n- fix(tools): stop testing on the text of other files, and ungate contractaudit\n- refactor(forge): delete the unwired RepliesAfter surface\n- refactor(config): delete the two decoded-but-unread policy fields\n\nThis release is dominated by dead-code removal and the completion of the\nscheduling capability. Roughly half the commits delete surfaces that no longer\nhad a caller: the unreachable SQLite poll/drain path, the unwired MCP\nadaptation path, the AST-based tool discovery, the superseded single-token auth\ninterceptor, and several dead forge and binding methods. The\n`IncrementRetryCount` State Store RPC is gone with them -- a breaking change to\nthe wire contract, accepted because nothing called it.\n\nThe cron/scheduling epic lands its remaining slLine truncated
|
||||
},
|
||||
{
|
||||
"component": "archie",
|
||||
"name": "archie-agent",
|
||||
"version": "1.27.0",
|
||||
"date": "2026-09-17",
|
||||
"body": "- The per-task runtime picks up the new State Store task-log read contract, so\n the sandboxed agents share one log-reading path with the daemon and the\n dashboard."
|
||||
},
|
||||
{
|
||||
"component": "archie",
|
||||
"name": "archie-agent",
|
||||
"version": "1.26.0",
|
||||
"date": "2026-09-17",
|
||||
"body": "- feat(config): add [scheduling] config block\n- fix(webui): count every chat front-end in the published projection\n- fix(scheduling): respect configuration ownership\n- feat(ratelimit): wire per-identity inbound rate limiting into the gateway\n- fix(tools): judge the rm guard by base name so absolute paths cannot bypass it\n- fix(daemon): carry kind/label routing bindings to the process that routes\n- fix(config): deep-copy Image.Hosted/Image.Local in Config.Clone\n- fix(logging): keep the live descriptor open across a failed rotation\n- fix(agentworker): wire configured tool-result policy into worker's LoopRunner\n- refactor(staterpc): delete the superseded single-token auth interceptor\n- refactor(tools): delete unreachable dispatch/gating engine\n- feat(channels): wire chat.webhook route config through to the gateway\n- refactor(tools): delete unreachable AST-based tool discovery\n- refactor(tools): delete unused plugin-tool registration API from builtin.Registry\n- refactor(state): delete the dead IncrementRetryCount RPC (breaking change, accepted)\n- fix(staterpc): preserve marshal_error marker in eventDataJSON\n- fix(gate): validate finding level and share the blocking threshold\n- fix(tools/provider/mcp): preserve MCP binary tool results for delivery\n- refactor(tools/mcp): delete unreachable MCP adaptation path\n- refactor(skill): delete dead Discover/DiscoverPlugins/Skill path\n- refactor(skillbuild): delete dead AugmentRegistry path\n- fix(builtin): bound read/edit filesystem work by DefaultToolTimeout\n- refactor(binding): delete dead Matcher.Overlaps method\n- refactor(forge): delete dead CreateIssue surface\n- fix(mcp): cancel in-flight SSE reconnect on Stop\n- fix(container): enforce MaxUptime lifetime cap with a timer\n- refactor(forge): delete the unwired RepliesAfter surface\n- refactor(config): delete the two decoded-but-unread policy fields\n\nThe runtime carries a smaller, more focused set of changes than the same\nversion's archied entry: agent-side tool-result policy is now wired into the\nworker's loop, MCP binary tool results survive to delivery, the container\n`MaxUptime` lifetime cap is enforced with a timer, and a scheduled run records\ncompletion so it does not re-fire each tick.\n\nNote that several bullets above name config, webui and ratelimit packages. Those\nare attributed here by the release tool's package-closure rule (`go list -deps`\nover the agent binary), not because the agent owns them; the substantive\nruntime changes are the worker, MCP, container and scheduling fixes.\n\nThis entry also confirms the removal of the dead `IncrementRetryCount` State\nStore RPC, which the agent reaches through `staterpc` rather than by calling it\ndirectly."
|
||||
},
|
||||
{
|
||||
"component": "archied",
|
||||
"name": "archied",
|
||||
"version": "1.25.0",
|
||||
"date": "2026-09-15",
|
||||
"body": "- fix(update): resolve releases without a checkout, and fail loudly when it cannot\n- fix(update): back up the task store the daemon actually uses, or refuse\n- fix(update): build each component from its own approved release tag\n\nComponents are independently versioned, so the newest `archied/v*` and\n`archie/v*` tags usually sit on different commits. The installer required both\ntags to resolve to one commit whenever both components changed, which refused\nevery update once the two newest releases diverged -- a deployment stuck on\n1.22.0 could not take any update. Each component now builds from its own\napproved tag."
|
||||
},
|
||||
{
|
||||
"component": "archie",
|
||||
"name": "archie-agent",
|
||||
"version": "1.25.0",
|
||||
"date": "2026-09-15",
|
||||
"body": "- chore: no user-facing changes; versioned so the 1.25.0 release tags both\n components at the same commit"
|
||||
},
|
||||
{
|
||||
"component": "archied",
|
||||
"name": "archied",
|
||||
"version": "1.24.0",
|
||||
"date": "2026-09-12",
|
||||
"body": "Makes 1.23.0 deployable. That release split archied into separate processes,\nbut the self-updater still installed only the `archied` binary and restarted\nonly `archied.service`, so updating to it left the State Store, Gateway and UI\non the previous release. archied cannot boot without a reachable State Store,\nso the update failed its health check and rolled back. Update to this release\nrather than to 1.23.0.\n\nIf your host does not yet run the four units in\n`deployments/systemd-user-service.md`, create them first: the updater now\nrefuses, naming what is missing, instead of installing binaries onto a host it\nwould leave broken.\n\n- fix(update): install and cycle every process in the release\n- fix(telegram): stop the relay corrupting identifiers and code\n\nAlso in this release, though outside the version-stamped package closure:\n\n- ci(deploy): produce a complete distribution zip on every release. No zip was\n built for v1.23.0 at all, and the zip omitted `archie-ui`."
|
||||
},
|
||||
{
|
||||
"component": "archied",
|
||||
"name": "archied",
|
||||
"version": "1.23.0",
|
||||
"date": "2026-09-12",
|
||||
"body": "Archied is no longer a single process. The State Store (`archie-state-store`)\nnow owns `archie.db` outright, the Gateway serves its contract over\nauthenticated gRPC, and the dashboard ships as a standalone UI Service\n(`archie-ui`). Upgrading is not a binary swap: these processes must be running\nand addressable before `archied` will start clean. See `deployments/` for the\nsupported profiles.\n\n### Service decomposition\n\n- feat(contracts): add gateway service seams and protobuf toolchain\n- feat(gateway): extract ChatContract service\n- feat(gateway): delete in-process ChatContract path, make remote the only mode\n- feat(gateway): authenticate the gRPC contract and allow off-loopback listeners\n- fix(gateway): drop services.gateway.mode, remote is the only transport\n- feat(state-store): generalize storerpc as the State Store gRPC contract (#770)\n- feat(state-store): stand up archie-state-store binary and own archie.db (#771)\n- refactor(state-store): migrate capture/mapping/binding consumers to State Store (#772)\n- refactor(state-store): migrate workflow/intake/task lifecycle consumers to State Store (#773)\n- refactor(state-store): cut daemon/Gateway over to the remote State Store (#774)\n- fix(state-store): task-scope container credentials, stream large capture lists, validate Update\n- feat(archieui): standalone UI process over remote Gateway and State Store\n- refactor(archied): cut the dashboard over to the archie-ui process\n- refactor(ui): sever the archie-ui binary from every daemon runtime package\n- refactor(archied): move the update relay to the process that owns updates\n- refactor(archied): move webhook capture intake to the process that owns work intake\n- feat(archieui): mount the capture intake receiver over the State Store\n- refactor(workflow): relocate Task/Status/Source and define workflow.Store (#754)\n- refactor(store): move the producer-owned contracts to internal/contracts/store/v1\n- feat(messaging): migrate gateway session persistence onto domain types\n- feat(gateway): flip channel boundary onto messaging.Message\n\n### Pull request review\n\n- feat(gateway): operator-triggered PR review with selectable reviewer model\n- feat(forge): pull request review read surface (ListReviews/ListReviewComments/ReplyToReview)\n- feat(workflow): surface adversarial review findings on the PR body\n- feat(workflow): review calibration, checked properties and style nits out of contract\n- fix(archied): share one PR reviewer across channels; harden forge and worktree\n- fix(workflow): order findings before footer; test the report stash\n\n### Dashboard\n\n- feat(webui): render configuration from a published snapshot\n- feat(staterpc): carry the dashboard's configuration snapshot\n- refactor(webui): take configuration off the dashboard server\n- feat(webui): report which dashboard sections a process can serve\n- feat(webui): deliver live dashboard events by polling the State Store cursor\n- feat(webui): route dashboard task actions through the Gateway contract\n- feat(gateway): give the dashboard operator its own task-action contract\n- feat(webui): add /health and /health/detailed readiness endpoints (#717)\n- fix(webui): distinguish refused vs broken task actions, handle 401 (#753)\n\n### Daemon, gateway and workflow\n\n- feat(archied): add shutdown watchdog that force-exits a hung graceful shutdown (#716)\n- feat(archied): serve the daemon's own health endpoint\n- feat(drain): honour external drain marker with instantiation epoch (#718)\n- feat(gateway): wire progressive tool disclosure (bridge tools)\n- feat(gateway): render workspace, managed repos and operator into chat env\n- feat(gateway): add session_transcript tool for full JSON export\n- feat(gateway): consolidate task actions and repair daemon default path\n- feat(eda): thread Playbook ID/Version and DispatchInput task identity\n- feat(worktree): Resume re-syncs a worktree onto its branch tip\n- fix(staterpc): attach the bearer token to State Store streams\n- fix(archieui): resolve service tokens from env, without requiring a config file\n- fix(archied): initialize conversation persistence on daemon startup\n- fix(archied): preserve channel turn ledger with remote gateway\n- fix(gateway): share NATS and session ownership\n- fix(update): probe the dashboard's real address after a self-update\n- fix(store): migrate binding owner and repo columns"
|
||||
},
|
||||
{
|
||||
"component": "archie",
|
||||
"name": "archie-agent",
|
||||
"version": "1.23.0",
|
||||
"date": "2026-09-12",
|
||||
"body": "The agent runtime now reaches task state through the State Store gRPC contract\n(`STATE_STORE_URL`/`STATE_STORE_TOKEN`, injected by the daemon) instead of the\nNATS `storerpc` transport, which is deleted. Credentials handed to a task\ncontainer are scoped to that task rather than being the daemon's own token.\nRunning a 1.23.0 daemon against an older agent image will not work; rebuild or\npull the `archie-agent` image with this release.\n\n- feat(state-store): generalize storerpc as the State Store gRPC contract (#770)\n- feat(state-store): stand up archie-state-store binary and own archie.db (#771)\n- refactor(state-store): cut daemon/Gateway over to the remote State Store (#774)\n- fix(state-store): task-scope container credentials, stream large capture lists, validate Update\n- fix(staterpc): attach the bearer token to State Store streams\n- feat(staterpc): carry the dashboard's configuration snapshot\n- refactor(workflow): relocate Task/Status/Source and define workflow.Store (#754)\n- refactor(store): move the producer-owned contracts to internal/contracts/store/v1\n- feat(contracts): add gateway service seams and protobuf toolchain\n- fix(gateway): drop services.gateway.mode, remote is the only transport\n- feat(forge): pull request review read surface (ListReviews/ListReviewComments/ReplyToReview)\n- feat(gateway): operator-triggered PR review with selectable reviewer model\n- feat(workflow): surface adversarial review findings on the PR body\n- feat(workflow): review calibration, checked properties and style nits out of contract\n- fix(workflow): order findings before footer; test the report stash\n- fix(archied): share one PR reviewer across channels; harden forge and worktree\n- feat(worktree): Resume re-syncs a worktree onto its branch tip\n- feat(telegram): support secret refs for bot tokens (#705)\n- feat(gateway): wire progressive tool disclosure (bridge tools)\n- feat(archied): serve the daemon's own health endpoint\n- feat(archieui): standalone UI process over remote Gateway and State Store\n- refactor(archied): move webhook capture intake to the process that owns work intake\n- refactor(ui): sever the archie-ui binary from every daemon runtime package\n- fix(archieui): resolve service tokens from env, without requiring a config file"
|
||||
},
|
||||
{
|
||||
"component": "archied",
|
||||
"name": "archied",
|
||||
"version": "1.22.0",
|
||||
"date": "2026-09-03",
|
||||
"body": "- feat(telegram): support secret refs for bot tokens (#705)\n- fix(update): make daemon rollback schema-safe (#704)\n- fix(archied): preserve ephemeral gateway ports (#707)\n- fix(webui): bound log limit parsing and add endpoint regression coverage (#706)\n- fix(deps): upgrade x/crypto to v0.56.0 for security fixes (#708)"
|
||||
},
|
||||
{
|
||||
"component": "archied",
|
||||
"name": "archied",
|
||||
"version": "1.21.0",
|
||||
"date": "2026-09-03",
|
||||
"body": "- feat(workflow): make kind-to-workflow routing YAML-overridable\n- feat(workflow): route arbitrary forge labels to workflows via playbook YAML\n- feat(workflow): load kind/label bindings from multiple playbook directories\n- fix(extract): regenerate stale Yaegi symbol tables; fix wfextract directive\n- feat(eda): Module position first slice -- registry + side-effect-free log kind\n- feat(eda): CEL expression environment (compile/validate at load, evaluate at dispatch)\n- feat(eda): playbook document + event coordinator, single-action workflow-kind dispatch\n- fix(skillcurator): document and scope the intentional nilerr in reviewOne\n- fix(binding): add Owner/Repo pin, fixing multi-repo dispatch\n- feat(webui): bindings dashboard UI; fix app-wide Preact render regression\n- fix(binding): split ValidateForUpdate so edits can preserve the secret\n- refactor(ui): extract Pill to ui/src/base/, closing archie-core-mlro\n- refactor(eda): extract helpers to satisfy cyclop/gocognit gates\n- fix(webui): stretch HEALTH row cards to equal height\n- fix(eda): make playbook key collision reporting deterministic\n- fix(gateway): split /status (health) and /tasks (work) apart"
|
||||
},
|
||||
{
|
||||
"component": "archied",
|
||||
"name": "archied",
|
||||
"version": "1.20.0",
|
||||
"date": "2026-09-03",
|
||||
"body": "- fix: baseline gate repair (go test ./... -count=1)\n- fix(logging): propagate bound slog attrs to wrapped handler in FeedHandler\n- feat(image): define provider-neutral image capability contract and config\n- fix(channels): call MarkRunning once a channel is actually up\n- fix(workflow): stop discarding baseline-fix commits as 'no changes'\n- fix(webui): wire the Logs page to per-task attempt-log detail\n- fix(workflow): net cache hits from token totals, trim gate-retry output\n- feat(workflow): dynamic triage instead of defaulting every task to implement\n- fix(gateway): stop SOUL from forging the prompt invariant tags\n- fix(curator): stop curator actions from serializing a zero timestamp\n- feat(webui): hand-author the configuration field descriptor catalog\n- feat(webui): attach the config field schema to GET /api/config\n- feat(webui): render scalar config sections generically from the schema\n- feat(webui): surface allow_concurrent/max_retries/review_enabled on the repositories card\n- feat(webui): inline editing for per-repo allow_concurrent/max_retries/review_enabled\n- feat(webui): playbook bindings -- matcher + mapping + workflow, HMAC-gated\n- fix: resolve golangci-lint funlen, nilerr, and empty branch issues\n- feat(store): encrypt playbook binding secrets at rest\n- feat(webhook): harden captured payload redaction\n- fix(store): satisfy makezero when building cipher payload\n- feat(webui): refactor chat module to Preact component and add unit tests"
|
||||
},
|
||||
{
|
||||
"component": "archie",
|
||||
"name": "archie-agent",
|
||||
"version": "1.21.0",
|
||||
"date": "2026-09-03",
|
||||
"body": "- feat(workflow): make kind-to-workflow routing YAML-overridable\n- feat(workflow): route arbitrary forge labels to workflows via playbook YAML\n- feat(workflow): load kind/label bindings from multiple playbook directories\n- fix(extract): regenerate stale Yaegi symbol tables; fix wfextract directive\n- feat(eda): Module position first slice -- registry + side-effect-free log kind\n- feat(eda): playbook document + event coordinator, single-action workflow-kind dispatch\n- fix(binding): add Owner/Repo pin, fixing multi-repo dispatch\n- fix(binding): split ValidateForUpdate so edits can preserve the secret\n- refactor(eda): extract helpers to satisfy cyclop/gocognit gates\n- fix(eda): make playbook key collision reporting deterministic"
|
||||
},
|
||||
{
|
||||
"component": "archie",
|
||||
"name": "archie-agent",
|
||||
"version": "1.20.0",
|
||||
"date": "2026-09-03",
|
||||
"body": "- fix: baseline gate repair (go test ./... -count=1)\n- fix(logging): propagate bound slog attrs to wrapped handler in FeedHandler\n- feat(image): define provider-neutral image capability contract and config\n- fix(workflow): stop discarding baseline-fix commits as 'no changes'\n- fix(workflow): net cache hits from token totals, trim gate-retry output\n- feat(workflow): dynamic triage instead of defaulting every task to implement\n- feat(webui): playbook bindings -- matcher + mapping + workflow, HMAC-gated\n- feat(store): encrypt playbook binding secrets at rest\n- fix(store): satisfy makezero when building cipher payload"
|
||||
},
|
||||
{
|
||||
"component": "archied",
|
||||
"name": "archied",
|
||||
"version": "1.19.10",
|
||||
"date": "2026-09-02",
|
||||
"body": "- feat(curator): session-memory curator reference implementation"
|
||||
},
|
||||
{
|
||||
"component": "archied",
|
||||
"name": "archied",
|
||||
"version": "1.19.9",
|
||||
"date": "2026-09-02",
|
||||
"body": "- feat(memory): typed memory engine contract, registry, and registrar\n- feat(memory): builtin engine implementing the domain/memory contract\n- feat(config): config surface for memory engine selection\n- feat(daemon): wire the domain/memory engine registry at boot\n- feat(curator): bind curators to memory engines\n- fix(config): reject memory.provider instead of silently ignoring it\n- feat(curator): skill curator reference implementation"
|
||||
},
|
||||
{
|
||||
"component": "archied",
|
||||
"name": "archied",
|
||||
"version": "1.19.8",
|
||||
"date": "2026-09-02",
|
||||
"body": "- fix(update): drop dev-facing wording from the unconfirmed-update message\n- fix(telegram): stop adjacent rich blocks from rendering glued together\n- fix(telegram): send undelivered-media fallback after finalize as its own message"
|
||||
},
|
||||
{
|
||||
"component": "archied",
|
||||
"name": "archied",
|
||||
"version": "1.19.7",
|
||||
"date": "2026-09-02",
|
||||
"body": "- fix(logging): make Tail/Page allocation bound explicit for CodeQL"
|
||||
},
|
||||
{
|
||||
"component": "archied",
|
||||
"name": "archied",
|
||||
"version": "1.19.6",
|
||||
"date": "2026-09-02",
|
||||
"body": "- fix(build): stamp gatewayVersion/runtimeVersion in the right package"
|
||||
},
|
||||
{
|
||||
"component": "archie",
|
||||
"name": "archie-agent",
|
||||
"version": "1.19.9",
|
||||
"date": "2026-09-02",
|
||||
"body": "- feat(config): config surface for memory engine selection"
|
||||
},
|
||||
{
|
||||
"component": "archie",
|
||||
"name": "archie-agent",
|
||||
"version": "1.19.7",
|
||||
"date": "2026-09-02",
|
||||
"body": "- fix(logging): make Tail/Page allocation bound explicit for CodeQL"
|
||||
},
|
||||
{
|
||||
"component": "archied",
|
||||
"name": "archied",
|
||||
"version": "1.19.5",
|
||||
"date": "2026-09-01",
|
||||
"body": "- feat(webui): dashboard-aware chat — Archie sees the page, points you there\n- fix(telegram): drop retry_after bandaid, bump go-telegram/bot to v1.24.0\n- feat(curator): track and expose recent activity per curator\n- fix: go.mod bumped to 1.27.0 and stupid tests removed\n- refactor: remove unnecessary AI-generated scaffolding\n- refactor: go modernisation fixes\n- refactor: remove unused Operator param.\n- fix(gateway): fix broken system prompt template and scrub real telegram ID from tests\n- fix(plugin): add missing CLAUDE.md reference to plugin engine rule\n- fix(app): repoint archied wiring contract test at internal/app/archied\n- refactor(agentexec): use ai-sdk NewTypedTool for pluginToolSet and scriptToolSet\n- fix(config): standardize Provenance to pointer receivers (recvcheck)\n- refactor(lint): reduce cyclomatic/cognitive complexity in tools, workflow, webui\n- fix(app): repoint capability-host wiring contract test at internal/app/archied\n- refactor(lint): extract more helpers to clear nestif/gocyclo findings\n- refactor(lint): split AgentStage.Stage into resolveModel/buildRequest/handleResult\n- refactor(lint): split TurnRunner.Run and dispatchLocal further\n- refactor(lint): extract markdownBlockParser and list/quote helpers in richblocks.go\n- refactor(lint): extract Apply/findWalkVisitor helpers; go fix modernization\n- fix(lint): noctx fixes and dead-code cleanup\n- feat(workflow): adversarial self-review stage before PR open"
|
||||
},
|
||||
{
|
||||
"component": "archie",
|
||||
"name": "archie-agent",
|
||||
"version": "1.19.5",
|
||||
"date": "2026-09-01",
|
||||
"body": "- feat(tasks): allow rejecting a task from any non-terminal state\n- feat(tasks): serve the lifecycle presentation catalog from /api/task-meta\n- fix: go.mod bumped to 1.27.0 and stupid tests removed\n- refactor: go modernisation fixes\n- refactor: remove unused Operator param.\n- fix(plugin): add missing CLAUDE.md reference to plugin engine rule\n- fix(app): repoint archied wiring contract test at internal/app/archied\n- refactor(agentexec): use ai-sdk NewTypedTool for pluginToolSet and scriptToolSet\n- refactor(lint): reduce cyclomatic/cognitive complexity in tools, workflow, webui\n- fix(app): repoint capability-host wiring contract test at internal/app/archied\n- refactor(lint): extract more helpers to clear nestif/gocyclo findings\n- refactor(lint): split AgentStage.Stage into resolveModel/buildRequest/handleResult\n- refactor(lint): extract Apply/findWalkVisitor helpers; go fix modernization\n- fix(lint): noctx fixes and dead-code cleanup\n- feat(workflow): adversarial self-review stage before PR open"
|
||||
},
|
||||
{
|
||||
"component": "archied",
|
||||
"name": "archied",
|
||||
"version": "1.19.4",
|
||||
"date": "2026-08-28",
|
||||
"body": "- refactor(telegram): render replies as structured rich blocks"
|
||||
},
|
||||
{
|
||||
"component": "archied",
|
||||
"name": "archied",
|
||||
"version": "1.19.3",
|
||||
"date": "2026-08-28",
|
||||
"body": "- feat(tasks): serve the lifecycle presentation catalog from /api/task-meta\n- feat(dashboard): render task actions, statuses and filters from the server catalog"
|
||||
},
|
||||
{
|
||||
"component": "archied",
|
||||
"name": "archied",
|
||||
"version": "1.19.2",
|
||||
"date": "2026-08-28",
|
||||
"body": "- feat(tasks): allow rejecting a task from any non-terminal state"
|
||||
},
|
||||
{
|
||||
"component": "archied",
|
||||
"name": "archied",
|
||||
"version": "1.19.0",
|
||||
"date": "2026-08-28",
|
||||
"body": "- feat(logging): cursor pagination and filtering for task_logs\n- build(deps): upgrade github.com/samcharles93/ai-sdk to v0.1.29"
|
||||
},
|
||||
{
|
||||
"component": "archie",
|
||||
"name": "archie-agent",
|
||||
"version": "1.18.0",
|
||||
"date": "2026-08-28",
|
||||
"body": "- feat(logging): cursor pagination and filtering for task_logs\n- build(deps): upgrade github.com/samcharles93/ai-sdk to v0.1.29"
|
||||
},
|
||||
{
|
||||
"component": "archied",
|
||||
"name": "archied",
|
||||
"version": "1.19.1",
|
||||
"date": "2026-08-27",
|
||||
"body": "- fix(telegram): keep Markdown headings/lists as blocks and strip Markdown on plain fallback"
|
||||
},
|
||||
{
|
||||
"component": "archied",
|
||||
"name": "archied",
|
||||
"version": "1.18.0",
|
||||
"date": "2026-08-25",
|
||||
"body": "- Fix concurrent chat-turn claims so SQLite writer contention no longer leaks as `SQLITE_BUSY`.\n- Make task timelines operationally useful with stage outcomes, durations, retry context, and durable per-stage token economics.\n- Return canonical repository, issue, and pull-request URLs for each task's owning GitHub or Gitea identity.\n- Preserve per-identity commit attribution and real model context limits across daemon-to-worker dispatch."
|
||||
},
|
||||
{
|
||||
"component": "archied",
|
||||
"name": "archied",
|
||||
"version": "1.17.1",
|
||||
"date": "2026-08-25",
|
||||
"body": "- fix(update): remove source checkout dependency\n- fix(gateway): make UUIDv7 session references unambiguous"
|
||||
},
|
||||
{
|
||||
"component": "archied",
|
||||
"name": "archied",
|
||||
"version": "1.17.0",
|
||||
"date": "2026-08-25",
|
||||
"body": "- fix(webui): add nil receiver guard to Server.trustForwardedHeaders\n- fix(chat): restore transcript and update replay"
|
||||
},
|
||||
{
|
||||
"component": "archied",
|
||||
"name": "archied",
|
||||
"version": "1.16.0",
|
||||
"date": "2026-08-25",
|
||||
"body": "**The agent can hand you a file, and the dashboard works behind a reverse\nproxy.** Media delivery was fetch-by-URL only, so a file the agent produced\nlocally — a transcript, a log dump, a screenshot — was passed to Telegram as\na URL it could not fetch: the send did nothing and reported success. The new\n`send_file` tool plus upload-by-reader delivery closes that, and every layer\nthat cannot deliver now says so rather than staying silent. Dashboard\nmutations behind a TLS-terminating proxy were refused as cross-origin;\nforwarded headers are now honoured, but only under an explicit opt-in that is\noff by default.\n\n- feat(telegram): deliver a local file as an uploaded attachment, choosing\n upload-by-reader or fetch-by-URL per attachment; `send_file` resolves paths\n under the same confinement policy the read tool applies, so sending cannot\n reach what reading cannot\n- feat(gateway): `task_action` chat tool for operator task management —\n abandon, archive, retry, stop, cancel, approve and reject from chat, on the\n same action path and state machine as the dashboard\n- fix(webui): validate mutation `Origin` against the effective external\n scheme and host. `X-Forwarded-Proto`/`-Host` are honoured only when\n `web.trust_forwarded_headers` is set, which is off by default and safe only\n behind a proxy that overwrites or strips untrusted forwarded headers\n- fix(webui): report a local file the dashboard chat cannot upload as\n undelivered instead of dropping the event, which had reproduced the exact\n silent non-delivery `send_file` was built to end\n- fix(daemon): detach terminal state transitions and cleanup from a cancelled\n context, so a stopped task still records its outcome"
|
||||
},
|
||||
{
|
||||
"component": "archie",
|
||||
"name": "archie-agent",
|
||||
"version": "1.17.0",
|
||||
"date": "2026-08-25",
|
||||
"body": "- Compact task history against the selected model's real context capacity without imposing a token cap.\n- Preserve completed steps and billed usage when a later provider call fails; failed compaction now keeps the original history and continues.\n- Persist detailed agent-stage usage through the daemon-owned store before lossy live event fan-out.\n- Apply configured or forge-derived author and committer identity to sandboxed task commits."
|
||||
},
|
||||
{
|
||||
"component": "archie",
|
||||
"name": "archie-agent",
|
||||
"version": "1.16.1",
|
||||
"date": "2026-08-25",
|
||||
"body": "- fix(agentworker): reconcile task clone ownership after commits"
|
||||
},
|
||||
{
|
||||
"component": "archie",
|
||||
"name": "archie-agent",
|
||||
"version": "1.16.0",
|
||||
"date": "2026-08-25",
|
||||
"body": "**Version realigned with `archied`.** This release jumps from 1.9.9 to 1.16.0\nto put the two components on matching numbers; there are no 1.10-1.15 agent\nreleases. It clears the accumulated runtime backlog in one cut rather than\nbundling it as a rider on a later change, so the list below spans several\nweeks of work rather than one session's.\n\nHighlights:\n\n- feat(nats): run an embedded server when no external NATS is configured, and\n expose the embedded broker to managed task workers\n- feat(deployment): default to managed NATS workers; the daemon requires a\n full-task worker handoff and the legacy in-process, subprocess and\n single-stage execution paths are gone\n- feat(forge): GitHub webhook receiver for immediate issue dispatch, with\n dedup regression proof; unbound webhook events are stored retention-bounded\n- feat(webui): payload field mapping -- bind JSON paths to named fields and\n preview before saving\n- feat(scheduling): ticker engine with configurable interval and pools\n- feat(storage): persist agent project state\n- feat(agent): stamp archie-agent's build and report it back to the daemon\n- feat(tools): `generate_video` via MiniMax, gated behind config, and\n `MultimodalResult.URLs` for remote-hosted media\n- feat(workflow): define the adversarial-review findings contract\n\nFixes:\n\n- fix(worktree): bind publication to dispatch grants; reset retries to a\n pristine base; reject diffs without a merge base; clean untracked files when\n `.git` is a gitdir file; post-push metadata resilience, cancellation and\n branch naming\n- fix(container): persist the npm cache for per-task MCP servers\n- fix(agentexec): recover omitted finish calls\n- fix(agentworker): move JSONL decode into storage, unblocking CI\n- fix(telegram): compact tool output and drop turn caps\n- fix(webui): give dashboard-initiated updates a phase-2 report; restore the\n provider gate and dashboard token accounting\n- refactor: remove dead `BasePlatformAdapter` code and legacy execution paths\n\nShared with archied 1.16.0 (these packages are in both closures):\n\n- feat(telegram): send local files as uploads, not fetchable URLs\n- fix(webui,sendfile): close three holes the adversarial review found\n- fix(webui): validate mutation Origin against the effective external scheme"
|
||||
},
|
||||
{
|
||||
"component": "archied",
|
||||
"name": "archied",
|
||||
"version": "1.15.0",
|
||||
"date": "2026-08-24",
|
||||
"body": "**Autonomous workflows now have exactly one production execution path.** Every\ntask is handed complete to a scoped `archie-agent` container over core NATS;\n`archied` no longer runs an agent loop in-process. Embedded NATS is the\ndefault and generates a per-start token, binding to the resolved Docker bridge\nso managed workers can reach it; external NATS changes only broker placement.\nThe legacy `[agent]` section and `containers.enabled` still decode for\nmigration but can no longer select an execution path, and a reloaded\n`nats.url` is logged as requiring a restart. Operators upgrading from a\n`agent.mode = inprocess` configuration get the managed-worker topology\nautomatically; see `deployments/` for the supported profiles.\n\n- feat(nats): expose the embedded broker to managed task containers behind a\n generated per-start credential\n- fix(daemon): park before worktree access when the container pool or task\n transport is unavailable, rather than silently executing locally\n- refactor(agentexec): remove the in-process, subprocess and single-stage\n execution paths\n- fix(worktree): report a successful push as successful even when writing\n local upstream tracking metadata afterwards fails, so a published branch no\n longer parks the task as failed\n- fix(worktree): honour context cancellation in `CommitAll`, so a cancelled\n task can no longer stage or commit\n- fix(daemon): remove the worktree when a task completes with no changes,\n which previously leaked a full clone per no-change task; parked worktrees\n are still retained for post-mortems\n- fix(worktree): derive the branch prefix from the issue title before falling\n back to labels, matching the documented contract\n- fix(worktree): clean untracked files when `.git` is a gitdir file\n- fix(agentexec): recover agents that end a turn without the required finish\n call\n- feat(scheduling): ticker engine with a configurable interval and pools\n- fix(telegram): keep tool-call context when compacting tool output (#609)\n- feat(workflow): add the adversarial-review findings contract, where only a\n confirmed finding blocks and \"review found nothing\" is distinct from\n \"review did not run\" (contract only; no review stage runs yet)"
|
||||
},
|
||||
{
|
||||
"component": "archied",
|
||||
"name": "archied",
|
||||
"version": "1.14.0",
|
||||
"date": "2026-08-23",
|
||||
"body": "- fix(telegram): compact tool output and drop turn caps\n- fix(update): install only approved components"
|
||||
},
|
||||
{
|
||||
"component": "archied",
|
||||
"name": "archied",
|
||||
"version": "1.13.0",
|
||||
"date": "2026-08-23",
|
||||
"body": "- fix(telegram): render tool progress as bounded code blocks"
|
||||
},
|
||||
{
|
||||
"component": "archied",
|
||||
"name": "archied",
|
||||
"version": "1.12.0",
|
||||
"date": "2026-08-23",
|
||||
"body": "- fix(webui): give dashboard-initiated updates a phase-2 report\n- feat(agent): stamp archie-agent's build and report it back to the daemon\n- feat(releaseupdate): enrich components with install type and reference\n- feat(webui): surface per-component update status on /api/version and Configuration"
|
||||
},
|
||||
{
|
||||
"component": "archied",
|
||||
"name": "archied",
|
||||
"version": "1.11.1",
|
||||
"date": "2026-08-23",
|
||||
"body": "- fix(update): wire Telegram personas and survive callback cancellation\n- fix(webui): theme the Workflows 'Start work' form controls"
|
||||
},
|
||||
{
|
||||
"component": "archied",
|
||||
"name": "archied",
|
||||
"version": "1.11.0",
|
||||
"date": "2026-08-23",
|
||||
"body": "- feat(forge): make webhook intake observable and deduplicate concurrent delivery\n- fix(telegram): preserve code fences across message splits\n- fix(gateway): replay completed-duplicate turns with their tool activity\n- feat(storage): persist agent project state across sessions\n- fix(container): persist npm cache for per-task MCP servers\n- fix(worktree): bind publication to dispatch grants, reset retries to a pristine base, and reject diffs without a merge base\n- feat(media): deliver generated media through Telegram with link fallback in the dashboard\n- feat(tools): generate videos through MiniMax, gated by provider configuration"
|
||||
},
|
||||
{
|
||||
"component": "archied",
|
||||
"name": "archied",
|
||||
"version": "1.10.0",
|
||||
"date": "2026-08-22",
|
||||
"body": "- feat(forge): GitHub webhook receiver for immediate issue dispatch\n- feat(webhookguard): shared HMAC, rate-limit, and redaction mechanics\n- feat(nats): run an embedded server when no external NATS is configured\n- feat(capture): store unbound webhook events, retention-bounded\n- feat(webui): event inspector -- see captured payloads in the dashboard\n- feat(webui): payload field mapping -- bind JSON paths to named fields, preview before saving\n- fix(webui): stop the capture live-event notification duplicating payloads into the unbounded events table\n- fix(update): verify an update took effect instead of trusting the report (#530)\n- fix(daemon): refuse to poll on an empty label-trigger match (#529)\n- fix(gateway): stop persona from asserting unverified claims as fact (#528)\n- fix(gateway): stop ClaimTurn's insert-race branch losing its own retry read\n- fix: restore provider gate and dashboard token accounting\n- fix: address simple findings from a repo-wide golangci-lint sweep"
|
||||
},
|
||||
{
|
||||
"component": "archied",
|
||||
"name": "archied",
|
||||
"version": "1.9.11",
|
||||
"date": "2026-08-19",
|
||||
"body": "- fix(mcp): persist npx package cache across daemon restarts"
|
||||
},
|
||||
{
|
||||
"component": "archied",
|
||||
"name": "archied",
|
||||
"version": "1.9.10",
|
||||
"date": "2026-08-19",
|
||||
"body": "- feat(update): `/update` now streams live progress while an update installs, reports a clear version summary (previous/installed, daemon/agent) once the build succeeds, and automatically rolls back and reports the outcome if the restarted daemon fails its post-update health check"
|
||||
},
|
||||
{
|
||||
"component": "archied",
|
||||
"name": "archied",
|
||||
"version": "1.9.9",
|
||||
"date": "2026-08-18",
|
||||
"body": "- fix(telegram): drain live renderer in concurrency test"
|
||||
},
|
||||
{
|
||||
"component": "archie",
|
||||
"name": "archie-agent",
|
||||
"version": "1.9.9",
|
||||
"date": "2026-08-18",
|
||||
"body": "- chore: no user-facing changes"
|
||||
},
|
||||
{
|
||||
"component": "archied",
|
||||
"name": "archied",
|
||||
"version": "1.9.8",
|
||||
"date": "2026-08-17",
|
||||
"body": "- chore: no user-facing changes"
|
||||
},
|
||||
{
|
||||
"component": "archied",
|
||||
"name": "archied",
|
||||
"version": "1.9.7",
|
||||
"date": "2026-08-17",
|
||||
"body": "- chore: no user-facing changes"
|
||||
},
|
||||
{
|
||||
"component": "archie",
|
||||
"name": "archie-agent",
|
||||
"version": "1.9.8",
|
||||
"date": "2026-08-17",
|
||||
"body": "- chore: no user-facing changes"
|
||||
},
|
||||
{
|
||||
"component": "archie",
|
||||
"name": "archie-agent",
|
||||
"version": "1.9.7",
|
||||
"date": "2026-08-17",
|
||||
"body": "- chore: no user-facing changes"
|
||||
},
|
||||
{
|
||||
"component": "archied",
|
||||
"name": "archied",
|
||||
"version": "1.9.6",
|
||||
"date": "2026-08-16",
|
||||
"body": "- fix(update): stamp install type and bound retry backoff"
|
||||
},
|
||||
{
|
||||
"component": "archied",
|
||||
"name": "archied",
|
||||
"version": "1.9.5",
|
||||
"date": "2026-08-16",
|
||||
"body": "- refactor(archied): decompose the daemon bootstrap into phased wiring (no behaviour change; splits the ~950-line run() into focused setup phases so complexity linting passes)\n- refactor(archied): extract the config overlay boot helper and thread context through chat gateway setup\n- refactor(tools): split the read executor and flatten nested config/tool fallback logic to lower complexity\n- fix(tools): avoid predeclared `max` names\n- fix(email): use context-aware test networking\n- fix(indexing): remove the unused code search test runner\n- fix(tests): use contexts and type assertions in overlay and gateway tests\n- docs(architecture): document the memory engine family"
|
||||
},
|
||||
{
|
||||
"component": "archie",
|
||||
"name": "archie-agent",
|
||||
"version": "1.9.6",
|
||||
"date": "2026-08-16",
|
||||
"body": "- chore: no user-facing changes"
|
||||
},
|
||||
{
|
||||
"component": "archie",
|
||||
"name": "archie-agent",
|
||||
"version": "1.9.5",
|
||||
"date": "2026-08-16",
|
||||
"body": "- refactor: decompose the daemon bootstrap into phased wiring (no behaviour change; complexity-driven restructure)\n- refactor(tools): split the read executor and flatten nested config/tool fallback logic to lower complexity\n- fix(tools): avoid predeclared `max` names"
|
||||
},
|
||||
{
|
||||
"component": "archied",
|
||||
"name": "archied",
|
||||
"version": "1.9.4",
|
||||
"date": "2026-08-15",
|
||||
"body": "- feat(gateway): polish /status command response format\n- fix(telegram): preserve URL boundaries in responses"
|
||||
},
|
||||
{
|
||||
"component": "archied",
|
||||
"name": "archied",
|
||||
"version": "1.9.3",
|
||||
"date": "2026-08-15",
|
||||
"body": "- fix(webui): scroll selected command into view on keyboard navigation\n- fix(logging): resolve error attrs to their message string, not {}\n- feat(agentexec,workflow): surface tool calls on the task timeline"
|
||||
},
|
||||
{
|
||||
"component": "archied",
|
||||
"name": "archied",
|
||||
"version": "1.9.2",
|
||||
"date": "2026-08-15",
|
||||
"body": "- fix(worktree): force checkout so retry recovers from a dirty worktree"
|
||||
},
|
||||
{
|
||||
"component": "archied",
|
||||
"name": "archied",
|
||||
"version": "1.9.1",
|
||||
"date": "2026-08-15",
|
||||
"body": "- fix(agentworker): forward workflow events across the NATS worker boundary\n- fix(webui): filter turn_completed noise from the Live Activity SSE feed\n- feat(releaseupdate): stamp install type at build time, fail closed on unknown"
|
||||
},
|
||||
{
|
||||
"component": "archied",
|
||||
"name": "archied",
|
||||
"version": "1.9.0",
|
||||
"date": "2026-08-15",
|
||||
"body": "- fix(webui): style tool-call failure from a structured field, not a string prefix\n- fix(config,webui): make show_tool_calls one cross-channel setting\n- fix(telegram): guarantee no message is stranded on gateway stop/restart\n- fix(telegram): use NewRequestWithContext to satisfy noctx\n- refactor(webui): decompose handleSSE to cut cognitive complexity"
|
||||
},
|
||||
{
|
||||
"component": "archied",
|
||||
"name": "archied",
|
||||
"version": "1.8.0",
|
||||
"date": "2026-08-15",
|
||||
"body": "- feat(archied): add -version so the installed build can be read from a shell\n- fix(webui): rebuild the Configuration page layout so values stop colliding\n- fix(webui): size Configuration key/value lists to their own content\n- fix(webui): keep Configuration rows full width, hug only the label column\n- fix(webui): cap and centre the Configuration page instead of its lists\n- fix(webui): preserve encoded redirect path characters\n- feat(chat): show tool calls inline and stream replies into one message\n- fix(chat): harden inline tool call streaming\n- refactor(agent): move worker runtime into application layer\n- fix(telegram): harden live-reply delivery against /stop and multi-byte content\n- fix(telegram): keep tool activity visible and mark failed/empty turns\n- fix(config): de-duplicate disabled-forge predicate, export ForgeDisabled"
|
||||
},
|
||||
{
|
||||
"component": "archie",
|
||||
"name": "archie-agent",
|
||||
"version": "1.9.4",
|
||||
"date": "2026-08-15",
|
||||
"body": "- chore: no user-facing changes"
|
||||
},
|
||||
{
|
||||
"component": "archie",
|
||||
"name": "archie-agent",
|
||||
"version": "1.9.3",
|
||||
"date": "2026-08-15",
|
||||
"body": "- fix(logging): resolve error attrs to their message string, not {}\n- fix(agentworker): back off before refetching a nak'd stage message\n- feat(agentexec,workflow): surface tool calls on the task timeline"
|
||||
},
|
||||
{
|
||||
"component": "archie",
|
||||
"name": "archie-agent",
|
||||
"version": "1.9.2",
|
||||
"date": "2026-08-15",
|
||||
"body": "- fix(worktree): force checkout so retry recovers from a dirty worktree"
|
||||
},
|
||||
{
|
||||
"component": "archie",
|
||||
"name": "archie-agent",
|
||||
"version": "1.9.1",
|
||||
"date": "2026-08-15",
|
||||
"body": "- fix(agentworker): forward workflow events across the NATS worker boundary"
|
||||
},
|
||||
{
|
||||
"component": "archie",
|
||||
"name": "archie-agent",
|
||||
"version": "1.9.0",
|
||||
"date": "2026-08-15",
|
||||
"body": "- fix(agent): resolve git dubious-ownership in sandbox containers\n- feat(agent): mark the mounted worktree as a git safe directory\n- fix(agent): route git safe.directory setup through markWorktreeSafe\n- feat(chat): show tool calls inline and stream replies into one message\n- refactor(agent): move worker runtime into application layer\n- fix(config,webui): make show_tool_calls one cross-channel setting"
|
||||
},
|
||||
{
|
||||
"component": "archied",
|
||||
"name": "archied",
|
||||
"version": "1.7.0",
|
||||
"date": "2026-08-10",
|
||||
"body": "- fix(build): install ripgrep where grep.go actually needs it on PATH\n- fix(webui): Send button no longer passes its click event to sendMessage\n- feat(webui): Enter sends, Shift+Enter inserts a newline\n- fix(chat): stop showing raw 501 banner for unconfigured update-check\n- fix(chat): give chat page a real height budget instead of a floor\n- fix(workflow): carry gate output into the baseline park error\n- feat(logging): add a per-task log sink\n- feat(agentexec): publish agent-side logs to the task's system subject\n- feat(daemon): consume agent system logs into per-task sinks and the dashboard feed\n- feat(webui,gateway): add /api/tasks/{id}/logs endpoint and task_logs chat tool\n- refactor(gateway): persist conversations in sqlite\n- refactor(store): replace legacy persistence with SQLite\n- fix(webui): tighten configuration KV row spacing\n- fix(gateway): harden session recovery paths\n- refactor(daemon,webui): make Daemon.Cfg and webui.Server.Cfg reload-safe\n- feat(config): SIGHUP-triggered reload with requires-restart warnings\n- fix(config): share one config Holder between daemon and dashboard; re-apply model catalog on reload\n- fix(config): complete the reloadable allowlist and pin it against ForTask\n- feat(config): runtime config overlay store, PATCH /api/config, and the `--no-config-overlay` recovery flag\n- feat(webui): inline config editing on the Configuration page\n- feat(config): surface overlay state, shadowed keys, and per-row reset\n- fix(config): close review blocker on the PATCH path; deep-copy snapshots; atomics for shared state\n- fix(config): preserve nil slices in Clone to avoid spurious reload warnings"
|
||||
},
|
||||
{
|
||||
"component": "archie",
|
||||
"name": "archie-agent",
|
||||
"version": "1.4.0",
|
||||
"date": "2026-08-10",
|
||||
"body": "- feat(gateway): tool-approval gate, session tools for chat, and /delete command\n- feat(gateway): make chat turns durable and idempotent\n- feat(webui): lifecycle-safe task controls with atomic retry and archive\n- feat(logging,workflow): daemon log feed and executable workflow registry\n- fix(store,gateway): taskstate constants and mobile jump-to search\n- feat(webui,gateway): wire config, channel, log-feed, and work-intake seams\n- fix(build): install ripgrep where grep.go actually needs it on PATH\n- fix(workflow): carry gate output into the baseline park error\n- feat(logging): add a per-task log sink\n- feat(agentexec): publish agent-side logs to the task's system subject\n- feat(daemon): consume agent system logs into per-task sinks and the dashboard feed\n- feat(webui,gateway): add /api/tasks/{id}/logs endpoint and task_logs chat tool\n- refactor(store): replace legacy persistence with SQLite\n- refactor(daemon,webui): make Daemon.Cfg and webui.Server.Cfg reload-safe\n- feat(config): SIGHUP-triggered reload with requires-restart warnings\n- feat(config): surface overlay state, shadowed keys, and per-row reset\n- fix(config): close review blocker on the PATCH path; deep-copy snapshots; atomics for shared state\n- fix(config): preserve nil slices in Clone to avoid spurious reload warnings"
|
||||
},
|
||||
{
|
||||
"component": "archied",
|
||||
"name": "archied",
|
||||
"version": "1.6.0",
|
||||
"date": "2026-08-09",
|
||||
"body": "- feat(gateway): tool-approval gate, session tools for chat, and /delete command\n- fix(webui): close open-redirect in dashboard token-exchange handler\n- feat(gateway): make chat turns durable and idempotent\n- feat(webui): lifecycle-safe task controls with atomic retry and archive\n- feat(config,channels): format-neutral config resolution and truthful channel state\n- feat(logging,workflow): daemon log feed and executable workflow registry\n- fix(store,gateway): taskstate constants and mobile jump-to search\n- feat(webui,gateway): wire config, channel, log-feed, and work-intake seams\n- fix(ui): hide inactive chat command menu"
|
||||
},
|
||||
{
|
||||
"component": "archied",
|
||||
"name": "archied",
|
||||
"version": "1.5.0",
|
||||
"date": "2026-08-08",
|
||||
"body": "- feat(curator): engine family contract, registry, and runtime\n- feat(curator): trigger accounting — primary-input wake path\n- feat(setup): interactive setup steps with a TTY-gated prompter\n- feat(webui): rebuild the dashboard and add chat\n- feat(daemon): identity-scoped isolation plus gateway session titles and /delete\n- feat(logging): optional rotating log file\n- feat(configuration): export Validate for the setup flow\n- fix(gateway): durable message identity with a SQLite store\n- fix(gateway): consistent message ordering and paged search\n- fix(gateway): stop /compress destroying history it should have kept\n- fix(gateway): do not answer a redelivered message twice\n- fix(gateway): claim the session slot before writing it, not after\n- fix(gateway): keep /topic off from poisoning the session cache\n- fix(gateway): resolve the most recently active session, not an arbitrary one\n- fix(gateway): give branch-inherited messages their own identity\n- fix(gateway): make both backends agree on newest-first\n- fix(store): honour the transition guard in production persistence\n- fix(store): move ID counters away from the reserved metadata namespace\n- fix(store): surface task timestamps and tag the summary structs\n- fix(telegram): pause the update loop when rate limited\n- fix(memory): fail startup on an unusable memory directory\n- fix(tools): let an optional provider fail without taking the daemon down\n- fix(tools): report a cancelled find walk as an error, not empty results\n- fix(worktree): name the missing forge credential when a push fails\n- fix(tomlwrite): recognise table headers carrying a trailing comment\n- fix: close the duplicate-work loop and the dead paths around it\n- perf(tools): drop the embedded ripgrep binaries\n- refactor: one definition of what approving or declining a task means\n- refactor: move workflow into its own domain"
|
||||
},
|
||||
{
|
||||
"component": "archie",
|
||||
"name": "archie-agent",
|
||||
"version": "1.3.0",
|
||||
"date": "2026-08-08",
|
||||
"body": "- feat(curator): engine family contract, registry, and runtime\n- feat(curator): trigger accounting — primary-input wake path\n- feat(logging): optional rotating log file\n- feat(daemon): identity-scoped isolation\n- fix(secrets): wire provider credentials through engines\n- fix(store): surface task timestamps and tag the summary structs\n- fix(tools): let an optional provider fail without taking the daemon down\n- fix(tools): report a cancelled find walk as an error, not empty results\n- fix(worktree): name the missing forge credential when a push fails\n- fix: close the duplicate-work loop and the dead paths around it\n- perf(tools): drop the embedded ripgrep binaries\n- refactor: one definition of what approving or declining a task means\n- refactor: move workflow into its own domain"
|
||||
},
|
||||
{
|
||||
"component": "archied",
|
||||
"name": "archied",
|
||||
"version": "1.4.1",
|
||||
"date": "2026-07-31",
|
||||
"body": "- fix(catalog): match SDK provider fallback"
|
||||
},
|
||||
{
|
||||
"component": "archied",
|
||||
"name": "archied",
|
||||
"version": "1.4.0",
|
||||
"date": "2026-07-31",
|
||||
"body": "- fix(secrets): wire provider credentials through engines"
|
||||
},
|
||||
{
|
||||
"component": "archied",
|
||||
"name": "archied",
|
||||
"version": "1.3.1",
|
||||
"date": "2026-07-31",
|
||||
"body": "- fix(telegram): omit empty model picker markup"
|
||||
},
|
||||
{
|
||||
"component": "archied",
|
||||
"name": "archied",
|
||||
"version": "1.3.0",
|
||||
"date": "2026-07-31",
|
||||
"body": "- fix(memory): replace framework-specific names with generic equivalents\n- feat: unify provider and model selection"
|
||||
},
|
||||
{
|
||||
"component": "archied",
|
||||
"name": "archied",
|
||||
"version": "1.2.0",
|
||||
"date": "2026-07-31",
|
||||
"body": "- feat: add MCP client capabilities to archied and archie-agent\n- fix: handleSummary ignores errors from WorkflowStats/StageStats/TokensByDay\n- feat: establish Archie identity and use stable callback tokens\n- refactor(telegram): keep one model selector command\n- fix: handleSSE silently swallows EventsSince backlog fetch errors\n- fix: Transition() ignores `from` status guard, allowing lost updates\n- fix: skillscript.Run ignores context, cannot be canceled/timed out\n- feat(telegram): report installed component versions\n- feat(telegram): add approved component updates\n- fix: LoadDir: no timeout around Yaegi Eval can hang daemon startup\n- feat(chat): real system prompt for Archie — identity, tools, env\n- feat(indexing): port tau's codesearch workspace index\n- fix(indexing): surface index config properly and stop silent degradation\n- refactor(worktree): replace git shell-out with go-git v6\n- fix(worktreerpc): bound handler contexts and drop the git binary from tests\n- refactor(nats): rebuild as infrastructure/eventbus/nats with real boundaries\n- refactor: route tasks on a typed kind, not forge labels\n- fix(natsrpc): make RegisterAll wait for the server to see subscriptions\n- refactor(config): move loading into infrastructure/configuration\n- fix(telegram): publish all executable session commands in menu and help\n- fix(telegram): publish the restored gateway commands\n- refactor: add internal/eventbus as the broker-neutral messaging contract\n- fix(chat): operator name from config, session wiring, prompt rules\n- feat(tools): lift tau's file and shell tools into the tool registry\n- feat: make /stop cancel the running chat turn\n- fix: kill the whole process group when a shell command is cancelled\n- feat: refuse unrecoverable shell commands\n- feat: make /stop reach running agent tasks\n- fix(chat): temper prompt brevity rules with warmth\n- fix: use errors.Is/As for context errors and cleanup\n- fix(grep): distinguish ripgrep exit 1 from a failed search\n- fix(archied): disable the forge on a missing credential, not the daemon\n- fix: restore /model parsing and close the 6d4e0be autofix audit\n- feat: embed config.example.toml and add comment-preserving TOML writer\n- fix(docker): install unzip and Node 24 so MCP servers can start\n- fix(docker): slim both images and repair unreachable Go tooling\n- fix(container): write the task boot brief under .git\n- fix(telegram): drop pending updates before long polling"
|
||||
},
|
||||
{
|
||||
"component": "archie",
|
||||
"name": "archie-agent",
|
||||
"version": "1.2.0",
|
||||
"date": "2026-07-31",
|
||||
"body": "- feat: add MCP client capabilities to archied and archie-agent\n- fix: Transition() ignores `from` status guard, allowing lost updates\n- fix: skillscript.Run ignores context, cannot be canceled/timed out\n- fix: LoadDir: no timeout around Yaegi Eval can hang daemon startup\n- fix(indexing): surface index config properly and stop silent degradation\n- refactor(worktree): replace git shell-out with go-git v6\n- fix(worktreerpc): bound handler contexts and drop the git binary from tests\n- refactor(nats): rebuild as infrastructure/eventbus/nats with real boundaries\n- refactor: route tasks on a typed kind, not forge labels\n- fix(natsrpc): make RegisterAll wait for the server to see subscriptions\n- refactor(config): move loading into infrastructure/configuration\n- refactor: add internal/eventbus as the broker-neutral messaging contract\n- feat(tools): lift tau's file and shell tools into the tool registry\n- feat: make /stop cancel the running chat turn\n- fix: kill the whole process group when a shell command is cancelled\n- feat: refuse unrecoverable shell commands\n- feat: make /stop reach running agent tasks\n- fix: use errors.Is/As for context errors and cleanup\n- fix(grep): distinguish ripgrep exit 1 from a failed search\n- fix(docker): slim both images and repair unreachable Go tooling\n- fix(container): write the task boot brief under .git"
|
||||
},
|
||||
{
|
||||
"component": "archied",
|
||||
"name": "archied",
|
||||
"version": "1.1.0",
|
||||
"date": "2026-07-27",
|
||||
"body": "- feat: add the Telegram gateway with persistent sessions, topic-thread support, streamed rich replies, typing indicators, and Markdown rendering\n- feat: add `/spawn`, `/approve`, and `/cancel` for chat-driven task control\n- feat: provide a comprehensive `/help` guide whose command list stays aligned with Telegram's published menu and Archie's executable command surface\n- feat: add `/provider` and provider-filtered `/model` selectors that switch the provider and model used by subsequent live chat turns\n- feat: include the active provider and full model reference in `/status`\n- feat: notify authorized Telegram users once when a newly tagged component release is installed\n- feat: add `/restart` to reload and relaunch the Telegram gateway without interrupting in-flight daemon tasks\n- feat: add deny-by-default Telegram sender authorization and native command-menu publication\n- feat: connect Desktop Commander through Archie's managed MCP client so chat can use workspace file and process tools\n- feat: add multi-identity daemon configuration, persona routing, an email channel, and webhook platform support\n- feat: add durable task, session, message, and memory persistence\n- feat: add memory synchronization, prefetch, context scrubbing, threat scanning, and built-in memory tools\n- feat: add tool guardrails, classification, budgets, availability filtering, and disclosure controls\n- feat: add feature-based YAML configuration with `conf.d` overlay loading\n- feat: add typed secret-engine registration and Yaegi extension support\n- fix: reject unknown slash commands locally instead of allowing the LLM to fabricate command behavior\n- fix: publish Telegram commands to default, private-chat, and group-chat scopes so stale commands inherited with the bot token cannot shadow Archie's menu\n- fix: drain the SDK's full event stream so streamed Telegram replies cannot deadlock\n- fix: use standard newline-delimited JSON framing for MCP stdio clients\n- fix: make MCP stdio shutdown and timeout handling race-safe\n- fix: restore legacy `[forge].token_env` compatibility and required container environment passthrough\n- fix: make the agent-container Docker network explicitly configurable"
|
||||
},
|
||||
{
|
||||
"component": "archie",
|
||||
"name": "archie-agent",
|
||||
"version": "1.1.0",
|
||||
"date": "2026-07-27",
|
||||
"body": "- feat: add streamed agent execution with typed message events\n- feat: add MCP client transports and managed tool-provider discovery\n- feat: add memory context scrubbing and normalized memory tool schemas\n- feat: add plugin metadata extraction from `metadata.archie.plugins`\n- feat: add configurable container networking for daemon-launched runtimes\n- fix: preserve valid UTF-8 when clipping runtime output\n- fix: make MCP stdio lifecycle, retries, and timeout handling race-safe\n- fix: enforce a zero-finding lint and vet baseline"
|
||||
},
|
||||
{
|
||||
"component": "archied",
|
||||
"name": "archied",
|
||||
"version": "1.0.0",
|
||||
"date": "2026-07-22",
|
||||
"body": "- feat: ship the resident forge-polling daemon, deterministic workflow engine, isolated worktrees, quality gates, Gitea integration, Docker/NATS worker split, plugin loading, and skills support\n- feat: publish `archied` and `archie-agent` container images to the Gitea registry"
|
||||
},
|
||||
{
|
||||
"component": "archie",
|
||||
"name": "archie-agent",
|
||||
"version": "1.0.0",
|
||||
"date": "2026-07-22",
|
||||
"body": "- feat: ship the isolated agent runtime, NATS RPC boundary, workflow execution, skills, and plugin support\n- feat: publish the `archie-agent` container image to the Gitea registry"
|
||||
}
|
||||
]
|
||||
@@ -0,0 +1,104 @@
|
||||
# Public news and per-version release notes -- decision
|
||||
|
||||
**Status:** Approved
|
||||
**Date:** 2026-09-21
|
||||
**Beads issue:** `archie-core-2ncm.2`
|
||||
|
||||
A public news page and a release-notes page for every version. Both are derived
|
||||
from the changelogs the release process already produces, so publishing a
|
||||
release adds no writing. Part A is the derivation and the artifact any renderer
|
||||
consumes; it is not tied to MkDocs. Part B is the MkDocs rendering that
|
||||
publishes them at `offloaded.dev/news/`.
|
||||
|
||||
## Part A -- release facts and their derivation
|
||||
|
||||
### Source of truth
|
||||
|
||||
Release notes come from `CHANGELOG.archied.md` and `CHANGELOG.archie.md`. Those
|
||||
are the release process's frozen notes: `tools/release.sh --prepare` writes a
|
||||
section, the maintainer edits it, and `--tag` refuses to tag a version without
|
||||
its section. A page exists exactly for a release the process cut, and no second
|
||||
copy of release prose can drift from the changelog.
|
||||
|
||||
Tags are not the source. CI and deployment check out shallow, so tags are absent
|
||||
from a site build; the changelogs are always present and their
|
||||
`## [<version>] - <date>` headings carry the same version and date the tags
|
||||
carry. Raw commits are not the source either: the changelog is the edited text,
|
||||
not the commit list.
|
||||
|
||||
### What a version's notes contain
|
||||
|
||||
The version and date parsed from the section heading, and the section body
|
||||
unchanged. The body keeps the maintainer's headings and bullets; the generator
|
||||
does not regroup them into feature and fix categories, because those categories
|
||||
exist only on commits the edited changelog does not preserve.
|
||||
|
||||
`## [Unreleased]` is skipped. Any other `## [` heading that is not
|
||||
`[version] - date` stops generation, so a malformed heading cannot silently drop
|
||||
a release. A relative Markdown link in a body stops generation too: a rendered
|
||||
page sits at a different depth from the changelog, and a host's link checking
|
||||
would fail on the dead link. Absolute links pass through.
|
||||
|
||||
### Two components
|
||||
|
||||
`archied` and `archie-agent` version independently and either can be held back,
|
||||
so the data carries the tag prefix (`archied`, `archie`), the product name
|
||||
(`archied`, `archie-agent`), and the version as separate fields. A release that
|
||||
moved one component is one entry. The generator never pairs two component
|
||||
versions or invents a combined product version.
|
||||
|
||||
### The canonical artifact
|
||||
|
||||
`docs/news/releases.json` is the host hand-off: a committed, generated,
|
||||
newest-first array of `{component, name, version, date, body}`. Every adapter
|
||||
renders from this file rather than re-parsing a changelog. The JSON is the
|
||||
contract; a host adapter may add markup, but not facts.
|
||||
|
||||
### Zero per-release maintenance
|
||||
|
||||
`task news` regenerates the JSON and the MkDocs pages from the changelogs.
|
||||
`task news:check` regenerates them in a temporary directory and fails when the
|
||||
committed files differ; it runs in `task check`, so a changelog edit cannot land
|
||||
without its regeneration. `tools/release.sh --tag` regenerates and stages them
|
||||
in the release commit, so a tag's tree carries its own facts.
|
||||
|
||||
The generator owns `docs/news/releases.json`, `docs/news/index.md` and the two
|
||||
component directories end-to-end: it rewrites expected files and reports an
|
||||
unexpected file in a component directory as drift. It leaves every other file
|
||||
under `docs/news/` alone, so a future hand-written announcement is not its
|
||||
business.
|
||||
|
||||
## Part B -- publishing
|
||||
|
||||
MkDocs is the host. `docs/news/index.md` is the news page: date-grouped, newest
|
||||
first, one entry per release carrying the component, the version, and a link to
|
||||
its notes. `docs/news/archied/<version>.md` and `docs/news/archie/<version>.md`
|
||||
hold the notes. `site_url` is `https://offloaded.dev/`, so the pages are served
|
||||
at `offloaded.dev/news/`.
|
||||
|
||||
The version pages stay out of the derived navigation (`not_in_nav` in
|
||||
`mkdocs.yml`) while remaining published; the news page is their entry point, so
|
||||
a version list that grows with every release cannot push the architecture tree
|
||||
off the screen.
|
||||
|
||||
A different renderer would read `docs/news/releases.json` instead of these
|
||||
Markdown files. That is a separate change in that renderer's repository and
|
||||
does not alter Part A; the JSON, not the Markdown, is the reusable half.
|
||||
|
||||
## Not in scope
|
||||
|
||||
- Generated summaries, categories, or section headings; the changelog has no
|
||||
structured summary field to derive one from.
|
||||
- Per-release download or install links; where to get the artifacts is
|
||||
documented once, not restated for every version.
|
||||
- Hand-written news items. The generated page lists releases.
|
||||
- Changes to `infra/ansible`. Serving the site at a hostname other than
|
||||
`offloaded.dev` is an infrastructure decision.
|
||||
|
||||
## Verification
|
||||
|
||||
- `go test ./tools/newsgen/...` covers parsing, ordering, rendering, the link
|
||||
and heading refusals, and check-mode drift.
|
||||
- `task news:check` passes inside `task check`.
|
||||
- `task docs:site` builds the MkDocs adapter under `--strict`, which fails on a
|
||||
dead internal link.
|
||||
+9
-1
@@ -1,6 +1,6 @@
|
||||
site_name: Archie
|
||||
site_description: Event Driven Agentic Automation
|
||||
site_url: https://docs.offloaded.dev/
|
||||
site_url: https://offloaded.dev/
|
||||
repo_url: https://github.com/samcharles93/archie-core
|
||||
edit_uri: edit/main/docs/
|
||||
copyright: Vectis Labs
|
||||
@@ -23,6 +23,14 @@ exclude_docs: |
|
||||
!prds/config-schema.md
|
||||
github-token.md
|
||||
|
||||
# The generated release-notes pages are linked from docs/news/index.md and stay
|
||||
# published, but they are kept out of the derived navigation: a version list
|
||||
# that grows with every release would push the architecture tree off the screen.
|
||||
# This is not exclude_docs -- the pages are wanted, just not as nav entries.
|
||||
not_in_nav: |
|
||||
news/archied/*
|
||||
news/archie/*
|
||||
|
||||
theme:
|
||||
name: material
|
||||
favicon: public/favicon.svg
|
||||
|
||||
@@ -0,0 +1,231 @@
|
||||
package main
|
||||
|
||||
import (
|
||||
"fmt"
|
||||
"regexp"
|
||||
"sort"
|
||||
"strconv"
|
||||
"strings"
|
||||
)
|
||||
|
||||
// component is one independently versioned binary and the changelog that
|
||||
// carries its release notes. key is the tag prefix and the output directory;
|
||||
// name is how the component is written for a reader.
|
||||
type component struct {
|
||||
key string
|
||||
name string
|
||||
changelog string
|
||||
}
|
||||
|
||||
// components is the fixed publishing order. Archied leads because it is the
|
||||
// user-facing entry point; the order only breaks ties between releases that
|
||||
// share a date.
|
||||
var components = []component{
|
||||
{key: "archied", name: "archied", changelog: "CHANGELOG.archied.md"},
|
||||
{key: "archie", name: "archie-agent", changelog: "CHANGELOG.archie.md"},
|
||||
}
|
||||
|
||||
// release is one changelog section: the facts a host needs to render a version.
|
||||
type release struct {
|
||||
Component string `json:"component"`
|
||||
Name string `json:"name"`
|
||||
Version string `json:"version"`
|
||||
Date string `json:"date"`
|
||||
Body string `json:"body"`
|
||||
}
|
||||
|
||||
// releaseHeading matches a changelog release heading. The date is optional in
|
||||
// the pattern so `## [Unreleased]` is recognised and skipped rather than read as
|
||||
// a release with an invented date.
|
||||
var releaseHeading = regexp.MustCompile(`^## \[([^\]]+)\](?:\s*-\s*(\d{4}-\d{2}-\d{2}))?$`)
|
||||
|
||||
// inlineLink matches the target of a Markdown link or image.
|
||||
var inlineLink = regexp.MustCompile(`\]\(([^)]+)\)`)
|
||||
|
||||
// linkScheme matches an absolute link target: a URL scheme, a site-root path or
|
||||
// an in-page anchor. Everything else is relative to the changelog's directory.
|
||||
var linkScheme = regexp.MustCompile(`^[a-zA-Z][a-zA-Z0-9+.-]*:`)
|
||||
|
||||
// parseChangelog reads the release sections out of one component's changelog.
|
||||
func parseChangelog(c component, source string) ([]release, error) {
|
||||
var releases []release
|
||||
for _, section := range splitSections(source) {
|
||||
if !strings.HasPrefix(section.heading, "## [") {
|
||||
continue
|
||||
}
|
||||
match := releaseHeading.FindStringSubmatch(section.heading)
|
||||
if match == nil {
|
||||
return nil, fmt.Errorf("%s: %q is not a release heading; write `## [<version>] - <date>`", c.changelog, section.heading)
|
||||
}
|
||||
version, date := match[1], match[2]
|
||||
if version == "Unreleased" {
|
||||
continue
|
||||
}
|
||||
if date == "" {
|
||||
return nil, fmt.Errorf("%s: release %s has no date; write `## [<version>] - <date>`", c.changelog, version)
|
||||
}
|
||||
if section.body == "" {
|
||||
return nil, fmt.Errorf("%s: release %s has no notes", c.changelog, version)
|
||||
}
|
||||
if target, ok := relativeLink(section.body); ok {
|
||||
return nil, fmt.Errorf("%s: release %s has a relative link %q; release-notes links must be absolute", c.changelog, version, target)
|
||||
}
|
||||
releases = append(releases, release{
|
||||
Component: c.key,
|
||||
Name: c.name,
|
||||
Version: version,
|
||||
Date: date,
|
||||
Body: section.body,
|
||||
})
|
||||
}
|
||||
return releases, nil
|
||||
}
|
||||
|
||||
// section is a level-two block: its heading line and the body that follows it.
|
||||
type section struct {
|
||||
heading string
|
||||
body string
|
||||
}
|
||||
|
||||
// splitSections divides a changelog at every level-two heading. Level-three
|
||||
// headings stay inside their section's body, and a `##` line inside a fenced
|
||||
// code block is prose about markdown rather than a heading.
|
||||
func splitSections(source string) []section {
|
||||
var sections []section
|
||||
current := section{}
|
||||
started := false
|
||||
inFence := false
|
||||
for _, raw := range strings.Split(source, "\n") {
|
||||
line := strings.TrimRight(raw, " \t")
|
||||
if isFence(line) {
|
||||
inFence = !inFence
|
||||
}
|
||||
if !inFence && strings.HasPrefix(line, "## ") {
|
||||
if started {
|
||||
current.body = strings.Trim(current.body, "\n")
|
||||
sections = append(sections, current)
|
||||
}
|
||||
current = section{heading: line}
|
||||
started = true
|
||||
continue
|
||||
}
|
||||
if started {
|
||||
current.body += line + "\n"
|
||||
}
|
||||
}
|
||||
if started {
|
||||
current.body = strings.Trim(current.body, "\n")
|
||||
sections = append(sections, current)
|
||||
}
|
||||
return sections
|
||||
}
|
||||
|
||||
// isFence reports whether a line opens or closes a fenced code block.
|
||||
func isFence(line string) bool {
|
||||
trimmed := strings.TrimSpace(line)
|
||||
return strings.HasPrefix(trimmed, "```") || strings.HasPrefix(trimmed, "~~~")
|
||||
}
|
||||
|
||||
// relativeLink returns the first link target in the body that is not absolute.
|
||||
func relativeLink(body string) (string, bool) {
|
||||
for _, match := range inlineLink.FindAllStringSubmatch(body, -1) {
|
||||
target := strings.TrimSpace(match[1])
|
||||
if i := strings.IndexAny(target, " \t"); i >= 0 {
|
||||
target = strings.TrimSpace(target[:i]) // drop an optional link title
|
||||
}
|
||||
target = strings.Trim(target, "<>")
|
||||
if target == "" || strings.HasPrefix(target, "#") || strings.HasPrefix(target, "/") {
|
||||
continue
|
||||
}
|
||||
if linkScheme.MatchString(target) {
|
||||
continue
|
||||
}
|
||||
return target, true
|
||||
}
|
||||
return "", false
|
||||
}
|
||||
|
||||
// sortReleases orders releases newest first, then by component, then by
|
||||
// descending version. Every host renders this order, so the canonical artifact
|
||||
// is also the ordering contract.
|
||||
func sortReleases(releases []release) {
|
||||
sort.SliceStable(releases, func(i, j int) bool {
|
||||
a, b := releases[i], releases[j]
|
||||
if a.Date != b.Date {
|
||||
return a.Date > b.Date
|
||||
}
|
||||
if ai, bi := componentIndex(a.Component), componentIndex(b.Component); ai != bi {
|
||||
return ai < bi
|
||||
}
|
||||
return compareVersions(a.Version, b.Version) > 0
|
||||
})
|
||||
}
|
||||
|
||||
func componentIndex(key string) int {
|
||||
for i, c := range components {
|
||||
if c.key == key {
|
||||
return i
|
||||
}
|
||||
}
|
||||
return len(components)
|
||||
}
|
||||
|
||||
// compareVersions orders dotted versions by their numeric parts, so 1.9.10 is
|
||||
// newer than 1.9.9. A version carrying a prerelease is older than the same
|
||||
// version without one.
|
||||
func compareVersions(a, b string) int {
|
||||
aCore, aPre := splitPrerelease(a)
|
||||
bCore, bPre := splitPrerelease(b)
|
||||
if c := compareDotted(aCore, bCore); c != 0 {
|
||||
return c
|
||||
}
|
||||
switch {
|
||||
case aPre == bPre:
|
||||
return 0
|
||||
case aPre == "":
|
||||
return 1
|
||||
case bPre == "":
|
||||
return -1
|
||||
case aPre < bPre:
|
||||
return -1
|
||||
default:
|
||||
return 1
|
||||
}
|
||||
}
|
||||
|
||||
func splitPrerelease(version string) (core, prerelease string) {
|
||||
if i := strings.IndexAny(version, "-+"); i >= 0 {
|
||||
return version[:i], version[i+1:]
|
||||
}
|
||||
return version, ""
|
||||
}
|
||||
|
||||
func compareDotted(a, b string) int {
|
||||
as, bs := strings.Split(a, "."), strings.Split(b, ".")
|
||||
for i := 0; i < len(as) || i < len(bs); i++ {
|
||||
var av, bv string
|
||||
if i < len(as) {
|
||||
av = as[i]
|
||||
}
|
||||
if i < len(bs) {
|
||||
bv = bs[i]
|
||||
}
|
||||
an, aerr := strconv.Atoi(av)
|
||||
bn, berr := strconv.Atoi(bv)
|
||||
switch {
|
||||
case aerr == nil && berr == nil:
|
||||
if an != bn {
|
||||
if an < bn {
|
||||
return -1
|
||||
}
|
||||
return 1
|
||||
}
|
||||
case av != bv:
|
||||
if av < bv {
|
||||
return -1
|
||||
}
|
||||
return 1
|
||||
}
|
||||
}
|
||||
return 0
|
||||
}
|
||||
@@ -0,0 +1,170 @@
|
||||
package main
|
||||
|
||||
import (
|
||||
"strings"
|
||||
"testing"
|
||||
)
|
||||
|
||||
const sampleChangelog = `# archied changelog
|
||||
|
||||
## [1.31.0] - 2026-09-22
|
||||
|
||||
### A heading
|
||||
|
||||
- one bullet
|
||||
|
||||
## [1.30.0] - 2026-09-20
|
||||
|
||||
Just prose.
|
||||
|
||||
## [Unreleased]
|
||||
|
||||
Future work.
|
||||
|
||||
## Licence
|
||||
|
||||
Not a release section.
|
||||
`
|
||||
|
||||
func TestParseChangelogReadsReleaseSections(t *testing.T) {
|
||||
got, err := parseChangelog(components[0], sampleChangelog)
|
||||
if err != nil {
|
||||
t.Fatalf("parseChangelog error = %v", err)
|
||||
}
|
||||
if len(got) != 2 {
|
||||
t.Fatalf("got %d releases, want 2: %+v", len(got), got)
|
||||
}
|
||||
first := got[0]
|
||||
if first.Component != "archied" || first.Name != "archied" {
|
||||
t.Fatalf("first release component/name = %q/%q, want archied/archied", first.Component, first.Name)
|
||||
}
|
||||
if first.Version != "1.31.0" || first.Date != "2026-09-22" {
|
||||
t.Fatalf("first release version/date = %q/%q", first.Version, first.Date)
|
||||
}
|
||||
if first.Body != "### A heading\n\n- one bullet" {
|
||||
t.Fatalf("first release body = %q", first.Body)
|
||||
}
|
||||
if got[1].Version != "1.30.0" || got[1].Body != "Just prose." {
|
||||
t.Fatalf("second release = %+v", got[1])
|
||||
}
|
||||
}
|
||||
|
||||
func TestParseChangelogSkipsUnreleased(t *testing.T) {
|
||||
got, err := parseChangelog(components[0], sampleChangelog)
|
||||
if err != nil {
|
||||
t.Fatalf("parseChangelog error = %v", err)
|
||||
}
|
||||
for _, r := range got {
|
||||
if r.Version == "Unreleased" {
|
||||
t.Fatal("Unreleased was published as a release")
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
func TestParseChangelogRejectsMalformedInput(t *testing.T) {
|
||||
tests := []struct {
|
||||
name string
|
||||
source string
|
||||
wantSub string
|
||||
}{
|
||||
{
|
||||
name: "release heading without a date",
|
||||
source: "## [1.2.0]\n\nNotes.\n",
|
||||
wantSub: "no date",
|
||||
},
|
||||
{
|
||||
name: "release heading with an invalid date",
|
||||
source: "## [1.2.0] - 2026-9-2\n\nNotes.\n",
|
||||
wantSub: "not a release heading",
|
||||
},
|
||||
{
|
||||
name: "release without notes",
|
||||
source: "## [1.2.0] - 2026-01-01\n",
|
||||
wantSub: "no notes",
|
||||
},
|
||||
{
|
||||
name: "relative markdown link",
|
||||
source: "## [1.2.0] - 2026-01-01\n\nSee [the guide](guides/first-playbook.md).\n",
|
||||
wantSub: "relative link",
|
||||
},
|
||||
{
|
||||
name: "relative image link",
|
||||
source: "## [1.2.0] - 2026-01-01\n\n\n",
|
||||
wantSub: "relative link",
|
||||
},
|
||||
}
|
||||
for _, tt := range tests {
|
||||
t.Run(tt.name, func(t *testing.T) {
|
||||
_, err := parseChangelog(components[0], tt.source)
|
||||
if err == nil {
|
||||
t.Fatal("expected an error")
|
||||
}
|
||||
if !strings.Contains(err.Error(), tt.wantSub) {
|
||||
t.Fatalf("error = %q, want it to mention %q", err, tt.wantSub)
|
||||
}
|
||||
})
|
||||
}
|
||||
}
|
||||
|
||||
func TestParseChangelogAllowsAbsoluteLinks(t *testing.T) {
|
||||
source := `## [1.2.0] - 2026-01-01
|
||||
|
||||
- [vulnerability](https://pkg.go.dev/vuln/GO-2026-6443), [anchor](#section),
|
||||
[root](/absolute), [angle](<https://example.com>), [mail](mailto:a@b.c).
|
||||
`
|
||||
if _, err := parseChangelog(components[0], source); err != nil {
|
||||
t.Fatalf("parseChangelog error = %v", err)
|
||||
}
|
||||
}
|
||||
|
||||
func TestParseChangelogKeepsFencedHeadingsInTheBody(t *testing.T) {
|
||||
source := "## [1.2.0] - 2026-01-01\n\n```sh\n## not a heading\n```\n\n- after the fence\n"
|
||||
got, err := parseChangelog(components[0], source)
|
||||
if err != nil {
|
||||
t.Fatalf("parseChangelog error = %v", err)
|
||||
}
|
||||
if len(got) != 1 {
|
||||
t.Fatalf("got %d releases, want 1", len(got))
|
||||
}
|
||||
want := "```sh\n## not a heading\n```\n\n- after the fence"
|
||||
if got[0].Body != want {
|
||||
t.Fatalf("body = %q, want %q", got[0].Body, want)
|
||||
}
|
||||
}
|
||||
|
||||
func TestCompareVersions(t *testing.T) {
|
||||
tests := []struct {
|
||||
a, b string
|
||||
want int
|
||||
}{
|
||||
{"1.9.10", "1.9.9", 1},
|
||||
{"1.10.0", "1.9.0", 1},
|
||||
{"2.0.0", "1.99.99", 1},
|
||||
{"1.0.0", "2.0.0", -1},
|
||||
{"1.9.0", "1.9.0", 0},
|
||||
{"1.2.3", "1.2.3-rc1", 1},
|
||||
}
|
||||
for _, tt := range tests {
|
||||
if got := compareVersions(tt.a, tt.b); got != tt.want {
|
||||
t.Fatalf("compareVersions(%q, %q) = %d, want %d", tt.a, tt.b, got, tt.want)
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
func TestSortReleasesNewestFirstThenComponentThenVersion(t *testing.T) {
|
||||
releases := []release{
|
||||
{Component: "archie", Name: "archie-agent", Version: "1.31.0", Date: "2026-09-22"},
|
||||
{Component: "archied", Name: "archied", Version: "1.9.9", Date: "2026-09-22"},
|
||||
{Component: "archied", Name: "archied", Version: "1.30.0", Date: "2026-09-20"},
|
||||
{Component: "archied", Name: "archied", Version: "1.9.10", Date: "2026-09-22"},
|
||||
{Component: "archied", Name: "archied", Version: "1.31.0", Date: "2026-09-22"},
|
||||
}
|
||||
sortReleases(releases)
|
||||
want := []string{"archied/1.31.0", "archied/1.9.10", "archied/1.9.9", "archie/1.31.0", "archied/1.30.0"}
|
||||
for i, w := range want {
|
||||
got := releases[i].Component + "/" + releases[i].Version
|
||||
if got != w {
|
||||
t.Fatalf("position %d = %s, want %s (all: %+v)", i, got, w, releases)
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,203 @@
|
||||
// Command newsgen derives every published release fact from the component
|
||||
// changelogs.
|
||||
//
|
||||
// CHANGELOG.archied.md and CHANGELOG.archie.md are the release process's frozen
|
||||
// notes: tools/release.sh --prepare writes a section, the maintainer edits it,
|
||||
// and --tag refuses to tag a version without its section. Tags are deliberately
|
||||
// not a source, because CI and deployment check out shallow and a site build has
|
||||
// no tags to read.
|
||||
//
|
||||
// Output is generated and committed:
|
||||
//
|
||||
// docs/data/generated/releases.json the canonical, host-neutral fact set
|
||||
// docs/news/index.md the news page
|
||||
// docs/news/<component>/<version>.md one page per release
|
||||
//
|
||||
// `newsgen check` reproduces the output in memory and fails when the committed
|
||||
// files differ, which keeps a changelog edit from landing without its pages.
|
||||
// `newsgen` rewrites only files it owns and leaves every other file in
|
||||
// docs/news alone.
|
||||
package main
|
||||
|
||||
import (
|
||||
"bytes"
|
||||
"errors"
|
||||
"flag"
|
||||
"fmt"
|
||||
"io"
|
||||
"io/fs"
|
||||
"log"
|
||||
"os"
|
||||
"path/filepath"
|
||||
"sort"
|
||||
"strings"
|
||||
)
|
||||
|
||||
type mode int
|
||||
|
||||
const (
|
||||
modeWrite mode = iota
|
||||
modeCheck
|
||||
)
|
||||
|
||||
// options is a parsed command line.
|
||||
type options struct {
|
||||
mode mode
|
||||
repoRoot string
|
||||
}
|
||||
|
||||
func main() {
|
||||
parsed, err := parseOptions(os.Args[1:])
|
||||
if err != nil {
|
||||
log.Fatalf("newsgen: %v", err)
|
||||
}
|
||||
if parsed.mode == modeCheck {
|
||||
err = check(parsed.repoRoot)
|
||||
} else {
|
||||
err = write(parsed.repoRoot)
|
||||
}
|
||||
if err != nil {
|
||||
log.Fatalf("newsgen: %v", err)
|
||||
}
|
||||
}
|
||||
|
||||
// parseOptions resolves the optional `check` subcommand and the flags that
|
||||
// follow it. A leftover positional argument is an error rather than something
|
||||
// to ignore: `newsgen --repo-root .. check` would otherwise fall through to the
|
||||
// write path and rewrite the files that check promises not to touch.
|
||||
func parseOptions(args []string) (options, error) {
|
||||
selected := modeWrite
|
||||
if len(args) > 0 && args[0] == "check" {
|
||||
selected = modeCheck
|
||||
args = args[1:]
|
||||
}
|
||||
flags := flag.NewFlagSet("newsgen", flag.ContinueOnError)
|
||||
flags.SetOutput(io.Discard)
|
||||
repoRoot := flags.String("repo-root", "..", "path to the repository root")
|
||||
if err := flags.Parse(args); err != nil {
|
||||
return options{}, err
|
||||
}
|
||||
if extra := flags.Args(); len(extra) > 0 {
|
||||
return options{}, fmt.Errorf("unexpected argument %q", extra[0])
|
||||
}
|
||||
return options{mode: selected, repoRoot: *repoRoot}, nil
|
||||
}
|
||||
|
||||
// load parses every component changelog and returns the releases newest first.
|
||||
func load(repoRoot string) ([]release, error) {
|
||||
releases := []release{}
|
||||
for _, c := range components {
|
||||
source, err := os.ReadFile(filepath.Join(repoRoot, c.changelog))
|
||||
if err != nil {
|
||||
return nil, fmt.Errorf("read %s: %w", c.changelog, err)
|
||||
}
|
||||
parsed, err := parseChangelog(c, string(source))
|
||||
if err != nil {
|
||||
return nil, err
|
||||
}
|
||||
releases = append(releases, parsed...)
|
||||
}
|
||||
sortReleases(releases)
|
||||
return releases, nil
|
||||
}
|
||||
|
||||
// write regenerates the owned files, skipping any whose bytes already match so
|
||||
// a re-run cannot dirty a release commit.
|
||||
func write(repoRoot string) error {
|
||||
releases, err := load(repoRoot)
|
||||
if err != nil {
|
||||
return err
|
||||
}
|
||||
files, err := render(releases)
|
||||
if err != nil {
|
||||
return err
|
||||
}
|
||||
updated := 0
|
||||
for path, body := range files {
|
||||
abs := filepath.Join(repoRoot, filepath.FromSlash(path))
|
||||
current, err := os.ReadFile(abs)
|
||||
switch {
|
||||
case err == nil && bytes.Equal(current, body):
|
||||
continue
|
||||
case err != nil && !errors.Is(err, fs.ErrNotExist):
|
||||
return fmt.Errorf("read %s: %w", path, err)
|
||||
}
|
||||
if err := os.MkdirAll(filepath.Dir(abs), 0o755); err != nil {
|
||||
return fmt.Errorf("create %s: %w", filepath.Dir(path), err)
|
||||
}
|
||||
if err := os.WriteFile(abs, body, 0o644); err != nil {
|
||||
return fmt.Errorf("write %s: %w", path, err)
|
||||
}
|
||||
updated++
|
||||
}
|
||||
fmt.Printf("newsgen: %d releases, %d files updated\n", len(releases), updated)
|
||||
return nil
|
||||
}
|
||||
|
||||
// check reports every difference between the committed files and a fresh
|
||||
// derivation, without touching the working tree.
|
||||
func check(repoRoot string) error {
|
||||
releases, err := load(repoRoot)
|
||||
if err != nil {
|
||||
return err
|
||||
}
|
||||
files, err := render(releases)
|
||||
if err != nil {
|
||||
return err
|
||||
}
|
||||
var problems []string
|
||||
for path, expected := range files {
|
||||
current, err := os.ReadFile(filepath.Join(repoRoot, filepath.FromSlash(path)))
|
||||
switch {
|
||||
case errors.Is(err, fs.ErrNotExist):
|
||||
problems = append(problems, path+" is missing")
|
||||
continue
|
||||
case err != nil:
|
||||
return fmt.Errorf("read %s: %w", path, err)
|
||||
}
|
||||
if !bytes.Equal(current, expected) {
|
||||
problems = append(problems, path+" does not match the changelogs")
|
||||
}
|
||||
}
|
||||
for _, path := range unownedPages(repoRoot, files) {
|
||||
problems = append(problems, path+" is not generated; move it out of the generated directory")
|
||||
}
|
||||
if len(problems) > 0 {
|
||||
sort.Strings(problems)
|
||||
return fmt.Errorf("release notes are stale:\n %s\n fix with `task news`, then commit the result",
|
||||
strings.Join(problems, "\n "))
|
||||
}
|
||||
fmt.Printf("newsgen: %d release notes match the changelogs\n", len(releases))
|
||||
return nil
|
||||
}
|
||||
|
||||
// unownedPages lists files inside a generated component directory that this
|
||||
// tool does not produce. The news directory's own root is not a generated
|
||||
// directory, so a hand-written announcement there is left alone.
|
||||
func unownedPages(repoRoot string, files map[string][]byte) []string {
|
||||
var unowned []string
|
||||
for _, c := range components {
|
||||
dir := filepath.Join(repoRoot, newsDir, c.key)
|
||||
err := filepath.WalkDir(dir, func(path string, entry fs.DirEntry, err error) error {
|
||||
if err != nil {
|
||||
return err
|
||||
}
|
||||
if entry.IsDir() {
|
||||
return nil
|
||||
}
|
||||
relative, err := filepath.Rel(repoRoot, path)
|
||||
if err != nil {
|
||||
return err
|
||||
}
|
||||
slash := filepath.ToSlash(relative)
|
||||
if _, generated := files[slash]; !generated {
|
||||
unowned = append(unowned, slash)
|
||||
}
|
||||
return nil
|
||||
})
|
||||
if err != nil && !errors.Is(err, fs.ErrNotExist) {
|
||||
unowned = append(unowned, fmt.Sprintf("%s is unreadable: %v", c.key, err))
|
||||
}
|
||||
}
|
||||
return unowned
|
||||
}
|
||||
@@ -0,0 +1,153 @@
|
||||
package main
|
||||
|
||||
import (
|
||||
"os"
|
||||
"path/filepath"
|
||||
"strings"
|
||||
"testing"
|
||||
)
|
||||
|
||||
const archiedFixture = `# archied changelog
|
||||
|
||||
## [1.31.0] - 2026-09-22
|
||||
|
||||
- gateway bullet
|
||||
`
|
||||
|
||||
const archieFixture = `# archie-agent changelog
|
||||
|
||||
## [1.31.0] - 2026-09-22
|
||||
|
||||
- runtime bullet
|
||||
`
|
||||
|
||||
func writeChangelogs(t *testing.T, root, archied, archie string) {
|
||||
t.Helper()
|
||||
for name, body := range map[string]string{
|
||||
"CHANGELOG.archied.md": archied,
|
||||
"CHANGELOG.archie.md": archie,
|
||||
} {
|
||||
if err := os.WriteFile(filepath.Join(root, name), []byte(body), 0o644); err != nil {
|
||||
t.Fatalf("write %s: %v", name, err)
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
func readFile(t *testing.T, root, name string) []byte {
|
||||
t.Helper()
|
||||
body, err := os.ReadFile(filepath.Join(root, name))
|
||||
if err != nil {
|
||||
t.Fatalf("read %s: %v", name, err)
|
||||
}
|
||||
return body
|
||||
}
|
||||
|
||||
func TestWriteThenCheckIsClean(t *testing.T) {
|
||||
root := t.TempDir()
|
||||
writeChangelogs(t, root, archiedFixture, archieFixture)
|
||||
|
||||
if err := write(root); err != nil {
|
||||
t.Fatalf("write error = %v", err)
|
||||
}
|
||||
if err := check(root); err != nil {
|
||||
t.Fatalf("check after write error = %v", err)
|
||||
}
|
||||
}
|
||||
|
||||
func TestWriteIsIdempotent(t *testing.T) {
|
||||
root := t.TempDir()
|
||||
writeChangelogs(t, root, archiedFixture, archieFixture)
|
||||
|
||||
if err := write(root); err != nil {
|
||||
t.Fatalf("first write error = %v", err)
|
||||
}
|
||||
first := readFile(t, root, releasesJSONPath)
|
||||
if err := write(root); err != nil {
|
||||
t.Fatalf("second write error = %v", err)
|
||||
}
|
||||
if second := readFile(t, root, releasesJSONPath); string(second) != string(first) {
|
||||
t.Fatalf("second write changed %s", releasesJSONPath)
|
||||
}
|
||||
}
|
||||
|
||||
func TestCheckReportsAStaleChangelog(t *testing.T) {
|
||||
root := t.TempDir()
|
||||
writeChangelogs(t, root, archiedFixture, archieFixture)
|
||||
if err := write(root); err != nil {
|
||||
t.Fatalf("write error = %v", err)
|
||||
}
|
||||
|
||||
writeChangelogs(t, root, archiedFixture+"\n## [1.32.0] - 2026-09-23\n\n- newer bullet\n", archieFixture)
|
||||
|
||||
err := check(root)
|
||||
if err == nil {
|
||||
t.Fatal("check accepted a committed tree that lags the changelog")
|
||||
}
|
||||
for _, want := range []string{"task news", "docs/news/archied/1.32.0.md"} {
|
||||
if !strings.Contains(err.Error(), want) {
|
||||
t.Fatalf("error = %q, want it to mention %q", err, want)
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
func TestCheckReportsFilesItDoesNotOwn(t *testing.T) {
|
||||
root := t.TempDir()
|
||||
writeChangelogs(t, root, archiedFixture, archieFixture)
|
||||
if err := write(root); err != nil {
|
||||
t.Fatalf("write error = %v", err)
|
||||
}
|
||||
|
||||
handwritten := filepath.Join(root, "docs", "news", "archied", "handwritten.md")
|
||||
if err := os.WriteFile(handwritten, []byte("mine\n"), 0o644); err != nil {
|
||||
t.Fatalf("write handwritten page: %v", err)
|
||||
}
|
||||
|
||||
err := check(root)
|
||||
if err == nil {
|
||||
t.Fatal("check ignored a file in a generated directory")
|
||||
}
|
||||
if !strings.Contains(err.Error(), "handwritten.md") || !strings.Contains(err.Error(), "not generated") {
|
||||
t.Fatalf("error = %q, want it to name the unmanaged page", err)
|
||||
}
|
||||
}
|
||||
|
||||
func TestWriteLeavesOtherNewsFilesAlone(t *testing.T) {
|
||||
root := t.TempDir()
|
||||
writeChangelogs(t, root, archiedFixture, archieFixture)
|
||||
if err := write(root); err != nil {
|
||||
t.Fatalf("write error = %v", err)
|
||||
}
|
||||
|
||||
announcement := filepath.Join(root, "docs", "news", "announcement.md")
|
||||
if err := os.WriteFile(announcement, []byte("hand-written\n"), 0o644); err != nil {
|
||||
t.Fatalf("write announcement: %v", err)
|
||||
}
|
||||
if err := write(root); err != nil {
|
||||
t.Fatalf("second write error = %v", err)
|
||||
}
|
||||
if _, err := os.Stat(announcement); err != nil {
|
||||
t.Fatalf("write removed a hand-written news page: %v", err)
|
||||
}
|
||||
if err := check(root); err != nil {
|
||||
t.Fatalf("check rejected a hand-written news page it does not own: %v", err)
|
||||
}
|
||||
}
|
||||
|
||||
func TestRealChangelogsParse(t *testing.T) {
|
||||
releases, err := load(filepath.Join("..", ".."))
|
||||
if err != nil {
|
||||
t.Fatalf("load real changelogs: %v", err)
|
||||
}
|
||||
seen := map[string]int{}
|
||||
for _, r := range releases {
|
||||
seen[r.Component]++
|
||||
if r.Version == "" || r.Date == "" || r.Body == "" {
|
||||
t.Fatalf("incomplete release: %+v", r)
|
||||
}
|
||||
}
|
||||
for _, c := range components {
|
||||
if seen[c.key] == 0 {
|
||||
t.Fatalf("%s produced no releases", c.changelog)
|
||||
}
|
||||
}
|
||||
}
|
||||
Loaded 100 of 103 files, more files were not shown because too many files have changed in this diff.
Show more
Reference in new issue
Block a user