Commit Graph
90 Commits
Author SHA1 Message Date
sam 33890d3b52 fix(connector): declare operator settings in Describe
The contract has carried a settings list since the schema was added, but the
SDK never filled it, so a host received an empty declaration: every setting an
operator entered was refused as one the extension doesn't declare, and a
connector that needs any setting could not start at all.

Host, Telegram and Semaphore now declare the keys they already read.
2026-11-27 20:00:48 +11:00
sam 4400b6df6e fix(connectors): bump the three packages whose manifests changed to 0.1.1
publish / publish (push) Successful in 7m8s
A version is immutable, and 0.1.0 is already packed without the grants and
settings the manifests now declare, so an instance that accepted the old
0.1.0 cannot accept the new artefact under the same number.

archie-core #2151.
2026-11-27 19:50:59 +11:00
sam cd0b54b878 feat(connectors): declare the credential slots and settings the packages take
publish / publish (push) Successful in 2m12s
Host, Telegram and Semaphore read credentials and settings their manifests
never declared, so a packed artefact carried no grants and the catalogue could
not grant the slot an operator has to fill. It is why `host` and `telegram`
refused to install: archie-core #2151.

The catalogue still needs republishing for these to reach a deployment.
2026-11-27 19:47:00 +11:00
sam 6761b66bd0 feat(telegram): link a Telegram account to an Archie account with a /start code (archie-core #2095)
Declare links_accounts and the account.link event, return the bot's deep link
from LinkURL, and emit account.link when an allowed user sends /start with a
code. Approval answers carry chat_id so the host can reply to an unlinked
account.
2026-11-27 19:47:00 +11:00
sam 2ddcc28b1a feat(sdk): let a connector declare it links accounts and serve LinkURL (archie-core #2095)
Regenerate the connector SDK from the host contract, which adds links_accounts
and the LinkURL RPC. A connector that implements Linker declares it.
2026-11-27 19:47:00 +11:00
sam 094d41a6a9 Merge pull request 'fix(guards): publish the Business Hours settings schema' (#1) from fix/business-hours-settings into main
publish / publish (push) Successful in 3m18s
Reviewed-on: #1
2026-11-27 08:44:02 +00:00
sam 4ee15830f9 fix(guards): publish the Business Hours settings schema 2026-11-27 02:32:09 +11:00
sam 125457a391 feat(connector): declare privileged effects on every lookup and action (#2071)
publish / publish (push) Successful in 1m21s
Regenerate the connector SDK from the host contract, which adds the
effects_declared, privilege_change and secret_access fields. Every lookup and
action in this repository now states them, and a Semaphore template states
them in its effect settings or is unavailable in chat.
2026-11-21 21:29:49 +11:00
sam 87337522df docs(telegram): plain the deliver comment (#2085)
publish / publish (push) Successful in 1m17s
2026-11-21 15:21:51 +11:00
sam 6fec20896b feat(telegram): declare the chat_message delivery (#2085) 2026-11-21 15:18:07 +11:00
sam 554ec28709 docs: drop skills from the layout
publish / publish (push) Successful in 1m20s
2026-11-21 14:51:03 +11:00
sam d8be622429 chore(skills): delete the skills; curators are workflows now
publish / publish (push) Canceled after 0s
2026-11-21 14:50:58 +11:00
sam 6d2363cf11 docs(telegram): plain the permanent-failure comments (#2016)
publish / publish (push) Successful in 3m6s
2026-11-21 14:50:41 +11:00
sam a69f71363f fix(telegram): a message Telegram refuses is a permanent failure, not retried (#2016) 2026-11-21 13:45:59 +11:00
sam 48019ec868 fix(telegram): a long message goes out in parts instead of failing for ever
publish / publish (push) Successful in 1m22s
The connector sent title and body as one sendMessage, so any notification
over Telegram's 4096 UTF-16 unit limit was refused with 'message is too
long' and, because a delivery is retried until the channel confirms it,
retried every ten minutes for ever without ever arriving. The chat channel
had its own splitter; both now share one in sdk/telegramtext, which counts
UTF-16 units rather than runes so an emoji-heavy body isn't over the limit
either.
2026-11-18 00:36:44 +11:00
sam 554fe5891f feat(connectors/servicenow): declare the api credential slot and support bearer auth
The manifest now carries an authority block naming the api credential
service, so the marketplace view shows the slot instead of relying on
the description text. The client takes the full Authorization header:
the api slot accepts a basic username/password or a bearer token,
setting both is an error. Egress stays operator-supplied at accept time
because the instance host comes from the instance_url setting, which a
static egressHosts list cannot express.
2026-11-16 21:52:59 +11:00
sam 541b7a46e0 fix(connectors/servicenow): match the real Table API, verified against a PDI
Live testing against dev483891 surfaced four gaps the fake hid: write
responses wrap the row in result, reference fields come back as
display_value objects without display_value=true, the blackout table is
cmn_schedule_span (spans of schedule.type=blackout), not cmn_blackout,
and an approval updates sys_updated_on without moving sys_id, so the
poll cursor is now sys_updated_on|sys_id bounded above by the current
time. Approval values are compared case-insensitively. Adds a regression
test for the in-place approval. All lookups, deliveries and the
approved/rejected event path verified live; test rows cleaned up.
2026-11-16 21:15:25 +11:00
sam 110b28e62a feat(connectors): the ServiceNow connector, one file per area (archie #1983)
client.go holds the Table API client (instance URL setting, basic
credential in the api slot). incident.go delivers create/update with a
note and polls incident.updated. change.go raises and withdraws change
requests idempotently on correlation_id and turns approvals into
change.approved and change.rejected events. cmdb.go resolves owner,
delegate, support group, environment and data class through
cmdb_ci_server, cmdb_ci_appl then cmdb_ci. calendar.go answers active
blackouts for the Timing guard. listen.go polls both tables with a
chg/inc cursor. Built against a developer instance; tests fake the
Table API.
2026-11-16 19:49:51 +11:00
sam eeb00bbcc0 feat(guards): judge calls record their payload and response, and the OpenAI Decisions API is a judge backend
publish / publish (push) Successful in 1m18s
2026-11-16 12:04:37 +11:00
sam 3091e4f557 feat(guards): every model guard attaches a judge record to every verdict, clean answers and failed calls included (archie audit requirement: a guard's output is never discarded)
publish / publish (push) Successful in 1m19s
2026-11-16 11:14:55 +11:00
sam 54fe5028cb feat(judgegate): an eval writes every case's answer, confidence and reason beside its label for review
publish / publish (push) Successful in 1m19s
2026-11-16 11:11:45 +11:00
sam bd087e3e6d feat(guards): policy and confidence guards, advisory until their judge passes a recorded eval; shared judge gating moves to sdk/judgegate (archie #2006)
publish / publish (push) Successful in 1m19s
2026-11-16 10:02:10 +11:00
sam 3e507edd1f feat(guards): the auditor as the integrity guard, its System One judge advisory until a recorded eval passes (archie #1987)
publish / publish (push) Successful in 1m15s
2026-11-16 09:51:26 +11:00
sam 40121f6d10 feat(guard): the guard.v1 SDK and a business-hours guard (archie #1986)
publish / publish (push) Successful in 1m12s
2026-11-16 05:11:58 +11:00
sam af379c0532 feat(host): typed host actions: delete old files, enable and disable an allowed timer, set one config key (archie #1982)
publish / publish (push) Successful in 1m10s
2026-11-16 04:51:52 +11:00
sam 89ea431ea1 feat(semaphore,telegram): a template's summary fills in this action's values, and a tapped request loses its buttons (archie #1984, #2001)
publish / publish (push) Successful in 1m14s
2026-11-16 04:51:23 +11:00
sam 79047f9617 feat(incus): a connector that lists containers, runs allow-listed read-only commands, snapshots them and deletes confined caches (archie #1981)
publish / publish (push) Successful in 5m18s
2026-11-16 04:30:38 +11:00
sam 13f6c420d5 feat(sdk,telegram): Deliver and Listen in the connector contract, and a Telegram connector that delivers approval requests and listens for answers (archie #1984)
publish / publish (push) Successful in 1m11s
2026-11-16 04:22:48 +11:00
sam 53ba618b0b fix(sdk,semaphore): an action that may have run is an unknown outcome, not an error; retry a failed task status read (archie #2001)
publish / publish (push) Successful in 1m12s
2026-11-16 03:57:20 +11:00
sam 8df55d3225 fix(semaphore): refuse a template that would run on every host, and pass only declared variables (archie #2001)
publish / publish (push) Successful in 1m42s
2026-11-16 01:24:02 +11:00
sam f9234574bb feat(connectors): Semaphore connector, launching declared job templates once per idempotency key (archie #2001)
publish / publish (push) Successful in 1m6s
Each template the operator declares becomes an action with the effect declared
for it, so judgement decides on the declaration. A launch carries Archie's
idempotency key in the task message; invoking again finds that task instead of
launching another, so a resumed run never launches twice. A task that ends in
error is a known failure; one still running at the deadline is unknown.
2026-11-16 01:12:17 +11:00
sam 2928bdb682 fix(host): confine lookups to each host's configured path roots
publish / publish (push) Successful in 1m6s
Lookups run no guards and the helpers read as root, so an instruction injected
into an event could steer the agent into listing anywhere on the host. Each
host now names the roots its lookups may look under, and any other path is
refused before a command is built.
2026-11-16 00:42:48 +11:00
sam d74535c0d3 chore: use generic host names in test fixtures
publish / publish (push) Successful in 1m4s
2026-11-16 00:13:06 +11:00
sam b98620cc5b feat(host): root-owned read-only helpers behind a narrow sudo rule, and the target host's requirements
publish / publish (push) Successful in 1m4s
2026-11-15 23:11:18 +11:00
sam 645d514d11 fix(host): pin the host key's algorithm, so a host holding several keys matches its pin
publish / publish (push) Successful in 1m9s
2026-11-15 22:20:05 +11:00
sam 34bd70f1c1 feat(connectors): host connector with read-only SSH lookups; sops engine on the sops library
publish / publish (push) Successful in 2m53s
The host connector answers filesystem_usage, directory_sizes and old_files on
configured hosts over SSH with pinned host keys, dialling through the egress
tunnel when confined. The sops engine decrypts with the sops library instead
of the CLI, takes its file from settings and an age identity from its secrets.
2026-11-15 22:14:26 +11:00
sam 2c8bef237f refactor(connector): the SDK and Alertmanager connector use encoding/json/v2 and jsontext (archie #1980)
publish / publish (push) Successful in 56s
2026-11-15 18:11:38 +11:00
sam 7fd7a4104b feat(connector): the connector.v1 SDK and an Alertmanager connector (archie #1980)
publish / publish (push) Successful in 1m50s
2026-11-15 17:58:18 +11:00
sam 882a21596b feat(forge): report a close refused for open dependencies as a typed status (archie #1922)
publish / publish (push) Successful in 1m42s
2026-11-13 03:51:42 +11:00
sam a753d22e2b feat(forge): HasWriteAccess and issue author in the github and gitea extensions (archie #1830)
publish / publish (push) Successful in 2m1s
2026-11-09 12:39:12 +11:00
sam 186916d632 refactor(forge): drop ParseWebhook; forge webhooks arrive through archie's event capture (archie #1817)
publish / publish (push) Failing after 1s
2026-11-09 00:50:48 +11:00
sam 8f13cfe725 feat(forge/github): authenticate as a GitHub App and mint per-repository git credentials (archie #1817)
publish / publish (push) Failing after 1s
2026-11-09 00:14:02 +11:00
sam 4195ddc5bc ci: drop comments from workflow files
publish / publish (push) Successful in 46s
2026-11-08 16:55:04 +11:00
sam ea7e88d4b0 feat(channels): typed settings for email and telegram
publish / publish (push) Canceled after 13s
2026-11-08 16:16:50 +11:00
sam f55d78487d feat(channels): declare email and telegram settings for the dashboard form (archie #1796)
publish / publish (push) Successful in 1m14s
2026-11-08 15:50:34 +11:00
sam 9da3293592 ci(publish): name the missing DEPLOY_TOKEN instead of logging in with an empty password
publish / publish (push) Successful in 1m46s
Refs sam/archie#1785
2026-11-05 00:32:45 +11:00
sam 5864e725e4 fix(forge): empty label lists every open issue (archie #1770)
publish / publish (push) Successful in 1m21s
2026-11-03 08:12:06 +11:00
sam 6f28cf9013 feat(forge): bump gitea and github packages to 1.2.0 for CreateIssue
publish / publish (push) Successful in 1m6s
2026-11-03 02:43:25 +11:00
sam c722517353 feat(forge): add CreateIssue to the forge SDK, gitea and github plugins
publish / publish (push) Successful in 1m57s
Mirrors archie-core's proto/forge/v1 change: the SDK Forge interface and
server dispatch gain CreateIssue; gitea resolves label names to IDs
(creating missing labels) and github passes label names through.
2026-11-03 02:04:56 +11:00
sam d74c5f7421 docs(readme): tagline-first intro with verified entry-point links 2026-10-31 20:04:15 +11:00