Commit Graph
1364 Commits
Author SHA1 Message Date
sam bd0cd3c2ef refactor(workflow): keep the call key change inside the lint gate
golangci-lint failed on the change and had not before: gofumpt wants
StartCall's same-typed parameters grouped, and runWorkflowCall reached a
cyclomatic complexity of 16. The unwaited call's early close moves into
closeUnwaitedCall on *TaskContext -- it needs only the call step, the
callee and the settings -- which leaves runWorkflowCall below the limit
with its behaviour unchanged.

The walk's id-less call case is deleted: ParseDefinition now refuses that
definition before validateWorkflowCalls runs, so it passed for the wrong
reason. The refusal is pinned where it happens instead, by the compile
case in TestWorkflowCallKeyIsTheDeclaredPath, now asserting the whole
message so it still names the step it refused.
2026-10-08 22:31:07 +11:00
sam 592acf20de fix(workflow): key a call on its callee, and free a terminal child's key
A call's key was the step's declared path alone, so one task running a
second definition at a colliding path -- workflow.handoff, human.approve
and a definition re-pin all change it -- was handed the first callee's
child, waited on the wrong workflow and published its outputs. The key
now carries the callee too, while the step row and the call's events stay
named and staged for the call site, so a rail pairing an event with its
step still attaches them.

A child that reached dead or closed_wont_do can never do the work and
holds no result the caller can use, so it leaves the call key's index and
frees the key for the caller's retry to start a fresh child. parked and
rejected keep theirs: a parked child is recoverable by retrying it, and a
rejected child ran.

The id a call step must declare is now refused where the definition is
compiled, which is also the path a pinned definition takes, so an id that
spells a step type is accepted again and no stage needs a heuristic.
2026-10-08 22:31:07 +11:00
sam 0387e0226c fix(workflow): key a workflow.call on its declared step path
A call site had no durable identity, so any retry of it -- a lost
EnqueueCallTask reply, a failed call-step record, a requeued attempt that
re-runs the stage -- started a second child and its work happened twice.

The call step's declared path within the run is that identity: wrapStep
sets it (branch-qualified, restored on return), a workflow.call step must
declare an id so two call sites cannot share one, and the key crosses
EnqueueCallTaskRequest.call_key into tasks.call_key, which EnqueueCallTask
upserts on so the retry returns the child already started.
2026-10-08 22:31:07 +11:00
sam 3bbe7d1c72 fix(agentexec): enforce capture tool result schemas 2026-10-08 22:30:12 +11:00
sam 4188cb3199 fix(workflow): apply step retry and on_failure to command.run 2026-10-08 22:22:13 +11:00
sam 3d7aa337d5 fix(webhook): authorize delivery against the source's org 2026-10-08 21:43:28 +11:00
sam f94d386e29 test(postgres): derive the org fixture source from its insert 2026-10-08 21:40:24 +11:00
sam 53bd52fd8f fix(captures): keep count-retention inside the inserted capture's org 2026-10-08 21:27:54 +11:00
sam 6ac1107a3c fix(captures): scope the capture list to the acting org 2026-10-08 21:26:07 +11:00
sam e7c46d4414 fix(sources): store the acting org on source creation 2026-10-08 21:25:49 +11:00
sam 168247d9cc fix(capture): inherit source org on ingestion 2026-10-08 21:02:21 +11:00
sam f8dcef011c fix(workflow): resolve definitions in the owning org 2026-10-08 20:41:08 +11:00
sam 2ca594f4c6 feat(chat): the dashboard chat records voice, downloads files a turn sends, and offers /model and /personality choices 2026-10-08 01:37:21 +11:00
sam bcc72f833d fix(gateway): providers resolve again when a secret engine starts after boot 2026-10-08 01:34:55 +11:00
sam 051aae79ea feat(chat): the dashboard chat answers tool approvals and questions, and /update offers Install 2026-10-08 00:25:23 +11:00
sam 65fdbcd45d fix(gatewayrpc): carry tool approvals and ask_user questions between a channel and the gateway turn 2026-10-08 00:22:37 +11:00
sam 4aa98cfd57 fix(ui): tabbed Status and Extensions, one Add MCP server, repos page renders without repos, save bar rests at the viewport edge 2026-10-07 23:46:34 +11:00
sam 436f3a8a0c fix(archieui): the Versions card compares against the running daemon, so an available update can be installed 2026-10-07 23:29:03 +11:00
sam 6cce5ec907 fix(releaseupdate): read GitHub releases directly; drop go-selfupdate and its openpgp dependency 2026-10-07 23:18:03 +11:00
sam 51ce37f6be fix(extension): confine egress only for packages that declare egress hosts 2026-10-07 22:15:06 +11:00
sam 45675efeb6 fix(releaseupdate): reuse a found release for ten minutes to stay under GitHub's unauthenticated rate limit 2026-10-07 01:17:21 +11:00
sam 0b9769dbf2 feat(releaseupdate): archied update check finds releases through go-selfupdate; archie-update-check is deleted 2026-10-07 01:12:11 +11:00
sam 684678b626 fix(controlplane): update-settings selects a release channel; services run only the installed update scripts 2026-10-07 01:00:28 +11:00
sam 8a6be33a51 feat(controlplane): update commands are an update-settings kind edited on Status, defaulting to the installed scripts 2026-10-07 00:57:01 +11:00
sam 240ee00273 feat(install): bundled PostgreSQL has no network and is reached by Unix socket; print an AppArmor profile instead of disabling the userns restriction 2026-10-06 03:04:12 +11:00
sam 8ef0f40dc3 fix(setup): keep the generated database password out of config.toml 2026-10-06 01:55:37 +11:00
sam aea858ef9b feat(setup): one guided flow; ask for PostgreSQL and generate the bundled database's password 2026-10-06 01:49:34 +11:00
sam 172ba474b3 feat(storepkg): install packages from a signed default catalogue, listed on the Extensions page 2026-10-06 01:18:25 +11:00
sam c56344ea41 feat(telegram): /stop stops the chat agent, else the tasks it created, or one task; delete the dead approval actions 2026-10-06 01:12:28 +11:00
sam 27b16603ff fix(modelloop): mark reasoning models from the carried model limits, in the gateway and the agent worker 2026-10-06 00:57:20 +11:00
sam d7c21fb839 fix(eda): name a source's delivery header in the dashboard instead of a built-in sender list 2026-10-06 00:54:20 +11:00
sam 4b634d3676 fix(eda): dispatch each webhook delivery once, however often the sender retries it 2026-10-06 00:51:45 +11:00
sam 9878f51d56 fix(webui): list services with the State Store marked down when it is unreachable 2026-10-06 00:48:45 +11:00
sam d208416e96 fix(modelloop): feed the cached model catalog to the runtime so reasoning models get the right token parameter 2026-10-06 00:45:09 +11:00
sam d71f9ff3d8 fix(captureintake): decode any form-encoded webhook body to JSON 2026-10-06 00:37:20 +11:00
sam 674341dbe9 Reapply "fix(captureintake): unwrap form-encoded webhook payloads"
This reverts commit 26213c1889.
2026-10-06 00:36:52 +11:00
sam 26213c1889 Revert "fix(captureintake): unwrap form-encoded webhook payloads"
This reverts commit 01dd4bad09.
2026-10-06 00:35:50 +11:00
sam 01dd4bad09 fix(captureintake): unwrap form-encoded webhook payloads 2026-10-06 00:10:43 +11:00
sam 209ef6f71e fix(extension): confine each extension's network to its accepted egress hosts 2026-10-05 23:30:52 +11:00
sam 143209493a feat(ui): org switcher and new org for instance admins 2026-10-05 23:18:50 +11:00
sam c660857a91 fix(archiegateway,agentexec,agentworker): rely on ai-sdk reasoning token selection
Bump github.com/samcharles93/ai-sdk v0.1.40 -> v0.1.41. ai-sdk now sends
max_completion_tokens for reasoning models and omits temperature when the
model rejects it, so the max_tokens workarounds are no longer needed: the
chat-turn bound is set directly and MCP sampling loses its reasoning
branch. Classic models keep their existing bounds.
2026-10-05 22:56:48 +11:00
sam f966d07f04 feat(org): instance admins manage every org 2026-10-05 22:08:01 +11:00
sam 15905f4047 fix(daemon): withdraw only issues the same dispatch rule found eligible and then lost 2026-10-05 22:04:41 +11:00
sam 19d33d9f89 feat(taskactions): merge pull request action from the task 2026-10-05 21:40:25 +11:00
sam 361a2ca136 fix(controlplane): report watch outages and align live/restart kind labels 2026-10-05 21:39:07 +11:00
sam d295fa2680 feat(eda): name and delete capture sources; an armed binding blocks the delete 2026-10-05 21:05:58 +11:00
sam c8b9934f01 feat(webui): page through task logs 2026-10-05 21:03:08 +11:00
sam 4cfbcd696c feat(webui): run details show inputs, outputs and workflow.call links both ways 2026-10-05 21:01:39 +11:00
sam 8de61e718e feat(workflow): each remediation round names its number, cap and the review it answers 2026-10-05 20:58:05 +11:00
sam be553e6dad feat(daemon): record an approving review on the task's timeline 2026-10-05 20:56:13 +11:00