Commit Graph
3592 Commits
Author SHA1 Message Date
sam 07d14c8d50 merge main into the workflow editor branch (#2061) 2026-11-22 11:48:30 +11:00
sam c1b4ba2b6b wip(ui/workflows): visual editor on the binary's API (#2061) 2026-11-22 11:48:13 +11:00
sam 84284d59c3 refactor(events): split trigger firing and target checks to keep complexity in bounds (#2062) 2026-11-22 11:47:32 +11:00
sam 5c8fb901f9 feat(ui/events): captures, mappings and bindings run on the binary's API (#2062, #2098)
The Capture, Map and Bind steps read the module's captures, event types,
mappings and triggers. A binding is a trigger bound to an event type; the
sources panel creates HMAC sources and shows each delivery's verification
result. The workspace filter is removed: the binary has one workspace per
organisation and the data carries none.
2026-11-22 11:46:02 +11:00
sam 501338ffbd fix(events): a delete blocked by a restricting reference answers 409 (#2062) 2026-11-22 11:46:02 +11:00
sam 61f576a25c feat(events): capture, event types, mappings and trigger approval on the binary (#2062, #2098)
Event types, field mappings and the stored-delivery inspector move into
modules/events: copied from internal/domain/eventtype and
internal/domain/mapping, which the old services still import. Each stored
event records how its delivery was verified; a source that checks nothing
refuses deliveries until approved; triggers gain approve, pause, resume,
event-type and mapping binding, dispatch history and delete. The captures,
mappings and bindings sections are reported as served.
2026-11-22 11:39:46 +11:00
sam a5826156a3 feat(runs): filter runs by workflow and name each tool call in a trail entry (#2061) 2026-11-22 11:36:08 +11:00
sam 682995bdf7 feat(runs): workflow drafts, publish with an expected version, delete, enabled flag, run on demand, run stages and statistics (#2061, #2113, #2098)
A disabled workflow is never started by a trigger, another workflow or a
person. Delete is refused while a trigger, another workflow or a run in
progress names it. A parked or ended run restarts from a step.
2026-11-22 11:34:49 +11:00
sam 9c0d043b57 fix(ui): list only organisation pages in the organisation sidebar (#2023) 2026-11-22 11:26:23 +11:00
sam aefe2b81e9 Merge branch 'main' into worktree-org-config
# Conflicts:
#	ui/src/schedules/SchedulesPage.vue
2026-11-22 11:24:30 +11:00
sam eadb88d3bf feat(governance): serve the organisation's instructions to every agent (#2023)
The organisation's standing instructions are stored per organisation and
join the system prompt of chat turns and workflow agent steps. The Org
configuration group is served: schedules, alert webhook, playbooks,
models, connections and credential bindings open the page that already
owns the concept.
2026-11-22 11:24:25 +11:00
sam 8b9f5b2c60 Merge branch 'worktree-agent-ac438bec8bd1f2684' 2026-11-22 11:21:44 +11:00
sam a420b742e8 fix(events): save token and none sources with an empty secret instead of NULL (#2112) 2026-11-22 11:21:28 +11:00
sam bc56b71539 Merge branch 'main' into worktree-agent-a6a4a1df2423fa389 2026-11-22 11:18:05 +11:00
sam a1347dbfc8 fix(ui/data-table): keep the growing column readable and hide secondary columns on narrow screens (#2023) 2026-11-22 11:18:04 +11:00
sam 34c97ce8e8 chore(ui): regenerate the page catalogue for the Status page (#2023) 2026-11-22 11:17:23 +11:00
sam bd212ec9ac Merge branch 'worktree-agent-a521e2c3ea8457fdc'
# Conflicts:
#	modules/governance/accounts_api.go
2026-11-22 11:16:42 +11:00
sam 037ab0623a feat(ui): serve Home and Status from the binary's health, approvals and runs (#2023) 2026-11-22 02:44:14 +11:00
sam 9aceaa15bc feat(system): report module, connector and runner health and what waits on a person (#2023) 2026-11-22 02:44:13 +11:00
sam 0a2aeb65ce feat(ui): members, policies and denials pages use the binary's access API (#2023) 2026-11-22 02:43:06 +11:00
sam 5004e8b40b feat(governance): serve members, access policies and denials (#2023) 2026-11-22 02:43:06 +11:00
sam 9c5af2c2d3 feat(ui/events,settings): give the event, source, trigger, model, credential and extension lists the original layout (#2023)
Tables use fixed column widths and the ghost add button. The models page
keeps the aliases section with one inline row per alias.
2026-11-22 02:36:13 +11:00
sam f8c572ebef feat(ui/controls): split the controls page into rules, guards and action classes (#2023) 2026-11-22 02:34:14 +11:00
sam e72d9313e2 feat(ui/runs): compose the runs list and run page from the workflow list patterns (#2023)
The list has a filter and a right-click menu, an error column and
fixed widths. The run page merges its details and where the run came from,
and leaves out sections that have nothing in them.
2026-11-22 02:33:37 +11:00
sam f4bfa59dec feat(ui/workflows): restore the workflow list and page on the archie binary (#2023)
The list and page keep the original layout and read the binary's API.
Duplicate triggers are grouped. Runs and run pages use the shared table.
The older editor stays on its hidden route as WorkflowEditorPage.
2026-11-22 02:32:12 +11:00
sam a54654b0c8 fix(ui/data-table): lay out columns at fixed widths with middle-aligned rows (#2023)
Columns take a width from their definition, the first one takes the rest,
and a column can hide below a breakpoint. Rows may carry a right-click menu.
2026-11-22 02:32:12 +11:00
sam 81dcc7d94e fix(ui): let a pending channel link code be cancelled (#2095) 2026-11-22 02:23:25 +11:00
sam e3130d53e7 Merge branch 'worktree-agent-a82ec64b6cc1a2809'
# Conflicts:
#	internal/app/archie/operations.go
#	modules/events/events.go
#	modules/governance/accounts_api.go
#	modules/governance/governance.go
2026-11-22 02:16:56 +11:00
sam 098d8cc328 feat(runs): authorize runs, deliveries and intake as the workload principal (#2078)
Trigger dispatch, run start, every run claim, every delivery attempt and
webhook intake now ask the policy chain. Background work acts as the
workload principal; a refusal is final and recorded on the run or the
delivery, and an undecidable chain leaves the work queued for another
attempt. Intake applies the per-source delivery policy after source
verification.
2026-11-22 02:15:05 +11:00
sam 6c59d6b742 feat(httpapi): refuse every API operation that does not declare its access (#2078)
Operations register through httpapi.Register with Public, Authorized or
AdminAuthorized, and the guard asks the policy chain for the declared
action and resource kind before the handler runs. An undeclared operation
and an undecidable chain are refused. The workload principal, its shipped
policy, a self-service policy and Recording for denials are added in
governance.
2026-11-22 02:15:02 +11:00
sam 1a0c697858 Merge branch 'worktree-agent-a124e124e24c6a56b' 2026-11-22 02:13:32 +11:00
sam 65a8b7cd47 Merge branch 'worktree-agent-a559cecce669715a6' 2026-11-22 02:13:32 +11:00
sam 970fb2ab84 feat(ui): link channel accounts from the account page and remove the People page (#2095) 2026-11-22 02:13:08 +11:00
sam e127b2b05d feat(approvals): gate answers by role and link channel accounts through single-use codes, replacing the people model (#2095) 2026-11-22 02:13:08 +11:00
sam 02227a0b22 feat(connectors): let a connector declare it links accounts and return the link URL for a code (#2095) 2026-11-22 02:13:08 +11:00
sam 9c0ea938b8 fix(chat): canonicalise a held action's stored input before comparing it (#2072, #2096)
The binding is read back from a jsonb column with a space after every colon,
so an unchanged approved action failed the byte comparison and never ran.
2026-11-22 02:09:32 +11:00
sam 763cd0e581 feat(governance): delete a model or alias from /settings/models (#2090) 2026-11-22 02:03:24 +11:00
sam 48d0212784 style: fix gofmt alignment for maxBackoff 2026-11-21 23:18:43 +11:00
sam f6e9d48da6 fix(chat): mount the model list only while it is open
reka-ui mounts every item of a closed Select to resolve the selected label, so opening the More menu rendered the whole model catalogue first. With 400 models the menu took about 400 ms to open; it now takes about 30 ms.
2026-11-21 22:36:30 +11:00
sam 46238afd62 chore(ui): regenerate the page catalogue for the People page (#2072) 2026-11-21 21:38:39 +11:00
sam 4b494bf75b feat(approvals): add a People page, leave channel approvals unchanged, make a binding's target optional (#2072) 2026-11-21 21:37:42 +11:00
sam b9a60e03a3 feat(chat): bind held-action approvals to the whole action and require fresh passkey confirmation for irreversible ones (#2072) 2026-11-21 21:35:27 +11:00
sam bc72655c8e feat(judgement): refuse privileged and undeclared actions in chat (#2071)
Connector actions and lookups now declare privilege change and secret access,
and an MCP server declares both per installation. Chat withholds and refuses
any tool that has either effect or declared nothing, in judgement and at
execution, so an approval cannot convert the refusal. Workflows and the
dashboard are unchanged.
2026-11-21 21:28:06 +11:00
sam 592d36e0d1 feat(connectors): re-check saved workflows on capability change; validate core delivery schemas (#2091, #2092)
When a connector loads with new declarations, the saved workflows that
reference it are re-checked against them (via a Recheck hook wired to
runs.Engine.RecheckConnector); if any would become invalid, the new
declarations are refused and the connector fails to start, so the breakage
surfaces at update time instead of mid-run. The previous declarations stay
in force.

A connector that declares the message or chat_message delivery now has its
declared input schema checked against every payload shape core sends on it
when it loads; a rejecting schema fails the connector. The delivery names
are exported from the connectors module and used by core's senders, so the
contract has one definition.
2026-11-21 18:34:47 +11:00
sam d318f912a8 fix(runs): cancel a run from the API and the dashboard (#2088)
POST /api/runs/{id}/cancel now reaches Engine.Cancel, which cancels the
run and the runs it started with workflow.call, and returns the run.
Cancelling a run that has already ended is refused with a 409, and a run
from another organisation is not found. The run page shows a Cancel
action for a run that has not ended.
2026-11-21 18:21:31 +11:00
sam 31b2827048 fix(connectors): read a connector's capabilities before it has ever loaded (#2087) 2026-11-21 17:32:20 +11:00
sam 01fd0fbf97 fix(pg): drop the runs state check by the name Postgres gave it 2026-11-21 17:26:02 +11:00
sam 9c0da07807 Merge branch 'worktree-agent-af2ebbb817db9f5f2' 2026-11-21 17:14:35 +11:00
sam 14060675cd feat(connectors): check workflow and trigger references against declared capabilities (#2087) 2026-11-21 17:14:00 +11:00
sam 74928925c8 Merge commit '35e2a216a' 2026-11-21 15:20:36 +11:00