82 Commits
Author SHA1 Message Date
sam 3ee4977996 fix(age): read SSH keys and plugin identities, as the age CLI did
The switch to the age library read only native age keys, so an
AGE_IDENTITY holding an SSH private key or a plugin identity (a YubiKey)
stopped working. Both parse again; a plugin that asks for input fails with
a message saying so, and a passphrase-protected identity file is refused
by name.
2026-10-25 18:13:27 +11:00
sam 2d475e281f fix(secret-engines): report a missing key as not found; age and Vault need no CLI
The age, Vault and SOPS engines shelled out with stderr discarded, so a
missing key and a broken setup both surfaced as 'exit status 1' and were
reported as the engine being unavailable. age now decrypts with the age
library and Vault reads over its API (KV v1 or v2, detected as the CLI
does), so neither needs a CLI on the host. SOPS still uses the CLI, whose
library would pull in every cloud KMS SDK, but decrypts the whole file to
JSON and looks the key up itself, so the key never reaches the CLI.
2026-10-25 18:11:39 +11:00
sam 16b832be4c fix(bws): refresh secrets and retry a failed read instead of caching the first result forever
The engine listed secrets once per process. A failed first read made every
key unavailable until a restart, and a rotated or added secret never showed.
The list is now cached for five minutes, re-read sooner for a missing key,
never cached on failure, and a stale value is served while a refresh fails.
2026-10-25 18:11:39 +11:00
sam b1ee58c1b8 fix(email): retry mail after a transient failure, ignore automatic mail, thread replies
A gateway or SMTP failure skipped the message for the life of the process,
so mail sent during an outage was never answered. Only mail the channel
rejects is skipped now; the rest is retried on the next poll, and the
Message-ID as the source id makes the gateway replay a reply it already
produced instead of running the turn twice. Out-of-office replies, bulk and
list mail are ignored and replies are marked Auto-Submitted, so the channel
cannot loop with an auto-responder. Replies carry References for threading,
and port 465 uses implicit TLS.
2026-10-25 18:11:39 +11:00
sam 5f9eda24f5 fix(gitea): honour each call's context, SDK branch linking, real 404s, paginated labels
Every call shared one SDK client whose context was background, so no caller
could cancel a Gitea request; each call now binds its own. LinkBranch
hand-built JSON over raw HTTP and posted to an endpoint Gitea does not have;
it sets the issue's ref through the SDK. PRState and VerifyPush matched error
text instead of the status, label lookup stopped at the first 100 labels,
merges ignored the repository's merge style, and a review of the token's own
pull request requested changes Gitea refuses.
2026-10-25 18:11:39 +11:00
sam 45bd6c47ee fix(github): readable API errors, normalised webhook review states, no REQUEST_CHANGES on the token's own PR
Errors say what GitHub refused in its own words instead of the request URL
and an empty field list. Webhook review states arrive lower-case and were
never normalised, so a webhook-delivered change request did not read as one.
A review the token would post as REQUEST_CHANGES on its own pull request
comments instead, which GitHub accepts. Secondary rate limits wait up to two
minutes and retry.
2026-10-25 18:11:39 +11:00
sam ed82b6811e fix(forge): allow the GitHub extension to download archives from codeload (#1)
* fix(forge): keep the archive download token out of errors

* fix(forge): allow the GitHub extension to download archives from codeload
2026-10-19 15:48:22 +11:00
sam e1377fbe98 fix(packages): drop the surface word from display names 2026-10-17 22:41:11 +11:00
sam d8b23f61c0 fix(forge): name the forges GitHub and Gitea 2026-10-17 22:26:37 +11:00
sam eb676c7134 feat(forge): submit one review with event and body on GitHub and Gitea 2026-10-17 21:23:33 +11:00
sam 931622ce39 chore(sdk): regenerate gateway stubs with logging; stop buf clean wiping hand-written SDK 2026-10-17 21:23:33 +11:00
sam 35009a16e2 fix(bws): declare the Bitwarden API hosts the bws CLI reaches 2026-10-07 21:49:54 +11:00
sam 0a31a10449 docs: catalogue publishing and one-click install 2026-10-06 01:21:21 +11:00
sam 1fa1b2583c feat(scripts): publish every package to GHCR with a signed catalogue; reproducible package layers 2026-10-06 01:21:15 +11:00
sam ee9271e7cf feat(forge): MergePR on the SDK, GitHub and Gitea forges 2026-10-05 21:36:07 +11:00
sam ca1bd1de11 feat(forge): ClosePR on the SDK, GitHub and Gitea forges 2026-10-05 20:11:43 +11:00
sam 6c2f1b20dd test(secret-engines/vault): table-test key validation 2026-10-05 18:24:57 +11:00
sam 0c27e9b8a5 fix(secret-engines/vault): refuse keys that would become CLI flags; document extension safety rules 2026-10-05 18:24:47 +11:00
sam 6ecbc2f006 fix(channels/email): leave ignored mail unread; keep version 1.0.0 2026-10-05 18:22:29 +11:00
sam ea97517182 fix(channels/email): ignore the IMAP close error explicitly 2026-10-05 18:16:28 +11:00
sam c4f9c3580c fix(channels/email)!: poll IMAP and accept only allowed, authenticated senders
The channel ran a hand-written SMTP listener and trusted the From address,
so anyone reaching the port could act as any user. It now uses go-imap,
go-message, go-msgauth and go-smtp; settings change accordingly.
2026-10-05 18:16:23 +11:00
sam da8436de6c chore(sdk): regenerate gateway stubs without budget_key 2026-10-05 18:09:53 +11:00
sam 157586e025 refactor(channels): delete the webhook chat channel; inbound webhooks go through event capture 2026-10-05 18:09:16 +11:00
sam 87e950bb5b feat(channels): webhook answers 429 on rate limit; email carries its sender id 2026-10-04 17:18:47 +11:00
sam b7c821ea7a feat(skills): the archie-wf skills as packages 2026-10-04 17:08:50 +11:00
sam 964c470883 feat(channels): webhook and email channel extensions 2026-10-04 15:56:05 +11:00
sam 487a58e24b feat(forge): github and gitea forge extensions 2026-10-04 14:26:27 +11:00
sam 850b2019ad feat(sdk): forge surface stubs and Serve 2026-10-04 13:56:32 +11:00
sam 3fbf661859 feat(playbooks,profiles): playbook and agent profile packages 2026-10-04 13:49:06 +11:00
sam 6db3299f15 feat(workflows): firewall workflow package; pack.sh builds files-only packages 2026-10-04 03:10:06 +11:00
sam 7b34ada564 feat(secret-engines): port age, sops and vault as secretengine.v1 extensions 2026-10-04 01:51:00 +10:00
sam 22b4262b01 feat(secret-engines): bws as a secretengine.v1 extension 2026-10-04 00:43:02 +10:00