Commit Graph
2773 Commits
Author SHA1 Message Date
sam d7fc6d22b2 chore(proto): drop the one-off service-deletion exception 2026-10-25 19:54:47 +11:00
sam a2f4b8ef1b refactor(state)!: split StateStoreService into per-domain services
One gRPC service per domain in state.v1 (tasks, executions, accounts, identities, packages, captures, bindings, access, orgs, alerts and so on), each with its own server type in staterpc. RPC and message names and numbers are unchanged.
2026-10-25 19:54:27 +11:00
sam 7f08502d96 feat(ui): marketplace grouped by surface, searchable, with install state
The marketplace was one long list of filled Install buttons with the raw
surface name beside each version. Packages now group under Forges, Channels,
Secret engines and the rest, as cards in a two-column grid with a search
box. Installed packages stay listed, marked installed or offering their
update.
2026-10-25 19:45:28 +11:00
sam 958ca0a798 fix(ui): offer an extension update only when the catalogue has one
An installed extension showed its own version and an Update button whether
or not the catalogue pinned anything newer, so a published update was
invisible. The row now offers 'Update to <version>' when the catalogue's
digest differs from the installed one and no update is already pending.
2026-10-25 18:55:20 +11:00
sam 09981a6d0c docs: map the services and development commands in CLAUDE.md 2026-10-25 18:15:14 +11:00
sam 360da3058f fix(messaging): say what the inbound media check actually checks
The check compares two declarations; it never reads the bytes, so it cannot
tell whether a file is what its content type says. The comment and the test
row claiming otherwise have gone, and so has an allowance letting a video
carry an image type, which no producer emits.

A caller that named the attachment type itself -- a browser upload -- must now
also state a content type, since the previous empty-type escape made the check
optional there. The Telegram declared-size rule is deleted: the shared check
runs first with the same ceiling, so only the rule on the bytes actually
received can still fire.
2026-10-25 18:13:30 +11:00
sam 4038f03d83 chore: bump beads version to 1.3.2 2026-10-25 18:11:33 +11:00
sam 08c3225542 fix(messaging): refuse an inbound attachment whose type contradicts its content
A declared MIME type decides what the Gateway does with a file: a voice note is
transcribed, an image goes to a model. Both acceptance points took that claim
from the caller unchecked -- the dashboard's voice upload and every Telegram
attachment -- so a file could be used as something it is not.

ValidateInbound refuses a type outside the shared vocabulary, content over the
size ceiling, and a MIME type that contradicts the attachment type, with an
error the caller sees: a dashboard upload is a 400, a Telegram file gets a
chat reply instead of a silent drop.
2026-10-25 18:05:34 +11:00
sam 465c7184d1 fix(workflow): review a task's own pull request as a comment
GitHub refuses REQUEST_CHANGES from a pull request's author, so a blocking
finding on the PR a task opened lost every finding. The retry's identical
refusal is now reported once, and forge errors drop the gRPC framing.
2026-10-25 17:57:20 +11:00
sam f76f707dc6 feat(ui): task log opens newest first 2026-10-25 17:41:21 +11:00
sam 4de8b67ba8 refactor(workflow): stop assuming a human decides
An approval, ask or park can be resolved by an operator, a rule, a
classifier or automatically, so the vocabulary stops naming a person:

- step type human.approve -> workflow.approve
- park class needs_human -> needs_decision (ParkNeedsDecision)
- event kinds human_* -> operator_*
- alert kind task.needs_human -> task.needs_decision
- status grouping "needs you" -> "needs attention"

0061 rewrites the stored values, including the approval step type in the
workflow-definitions resource and each task's pinned definition, with the
digest recomputed so resumed tasks still match.
2026-10-25 17:31:16 +11:00
sam b72053a57e docs: clarify reviewer in implement finish summary 2026-10-25 17:20:13 +11:00
sam 6cb83c7c4c docs(workflow): name no human approver in the plan document 2026-10-25 17:19:06 +11:00
sam 3915441cdf feat(workflow): approve a PRD as one structured document
The prd step returns the PRD as structured fields and human.approve takes
them as its document. The plan text every surface reads and the approval
card's layout are both rendered from that one document, so what the human
approves is what the implement workflow is handed. Replaces the separately
generated OpenUI view, which could drift from the plan.
2026-10-25 16:53:17 +11:00
sam d59d554a66 docs(ui): drop the local deploy sequence from the shared rules 2026-10-25 16:53:17 +11:00
sam 9b97adc64b feat(modelloop): run a step's tool calls in parallel as each tool's classification allows 2026-10-25 16:45:34 +11:00
sam 541dca807d feat(curator): add and remove curators live; definition updates touch only changed curators 2026-10-25 16:45:34 +11:00
sam cdf87c2ade fix(webui): refuse change captures whose file entries have the wrong key set 2026-10-25 16:45:34 +11:00
sam db560fdb8b fix(builtin): send_file resolves symlinks before the confinement check 2026-10-25 16:45:34 +11:00
sam cf2942c97a feat(workflow): render a PRD's generated view on the plan approval card
agent.run gains views: the agent may return an OpenUI Lang view of its
answer through an optional view tool, read as steps.<id>.view. human.approve
stores it as the task's plan_view, and the approval card renders it with
the dashboard's own components, falling back to the plan text when there
is no view or it does not parse. The feasibility prd step uses it.
2026-10-25 16:33:04 +11:00
sam 4cf98905f0 fix(ui): name and link the identity a parked reason names 2026-10-25 16:24:03 +11:00
sam e2aa573c6c test(daemon): a task start parks transient when the policy chain is unavailable 2026-10-25 16:23:16 +11:00
sam cc7bc90ff3 fix(access): check the policy version before each decision
archied, archie-ui and the tool gateway re-read the stored policies on a 30s
ticker, so a forbid written seconds earlier did not stop a run. One
instance-wide revision now moves inside the transaction of every policy write,
and a decision reads it first and rebuilds the engine only when it moved.

A version read that fails, or a policy list that fails after a bump, refuses
with ErrChainUnavailable instead of standing on the last chain, so three call
sites now treat unavailable as availability rather than denial: dispatch leaves
the capture for the next cycle, a task start parks transient, and the tool
gateway reports the tool as unavailable.
2026-10-25 16:21:01 +11:00
sam 1cffc39f7f test(egress): a recording session performs no central tool call 2026-10-25 16:02:46 +11:00
sam 559ac3a00f feat(egress): record a test run's deliveries instead of sending them
A test run used to suppress only forge and push writes, which named one
destination among many. Deliveries now have one seam: TaskContext.Deliveries
records each as "would ..." and performs none, and a recording egress
session does the same for a Kit run's HTTP writes and central tool calls,
answering them synthetically. Provider hosts stay live, since model traffic
is how a test run reads. Native containers have no proxy (archie-core-n8d3).
2026-10-25 16:01:06 +11:00
sam 3c11d7609d feat(webui): add WebMCP task actions 2026-10-25 15:47:59 +11:00
sam 952187eb2c fix(store): post open chat task states once after the posted-status migration 2026-10-25 02:46:43 +11:00
sam cbef950e96 fix(daemon): archied --once drains until callees of a waiting call finish 2026-10-25 02:46:16 +11:00
sam 4e2edc911f fix(archied): post each reportable status a chat task reaches, recorded by status not by flag 2026-10-25 02:42:31 +11:00
sam 1a386dae7e feat(archied): tell the chat when its task opens a pull request 2026-10-25 02:39:34 +11:00
sam 68bba8258d fix(ui): long log messages wrap inside the table 2026-10-25 02:23:29 +11:00
sam 085f604a45 fix(ui): log table shows component on the Logs page and a bordered sticky header 2026-10-25 02:21:57 +11:00
sam 72d3242267 fix(ui): the log table header sticks to the log frame 2026-10-25 02:20:29 +11:00
sam 1ef1b70f2e fix(ui): sticky log table header and bounded stage and service columns 2026-10-25 02:19:05 +11:00
sam 3e59ce0701 feat(ui): the Logs page uses the task log's table 2026-10-25 02:17:35 +11:00
sam 4820c1b481 fix(ui): singular field count in the task log 2026-10-25 01:24:21 +11:00
sam cbf9875332 fix(ui): metadata labels size to their content and wrap in table details 2026-10-25 01:22:59 +11:00
sam 748fb3afc5 feat(ui): task logs as a table with expandable fields 2026-10-25 01:21:21 +11:00
sam d6c631e998 fix(ui): centre the plan in the approval card 2026-10-25 00:50:16 +11:00
sam 885c377863 fix(ui): put the approval card in the task page's main column 2026-10-25 00:46:18 +11:00
sam bda360a497 fix(ui): size the approval card to its text so the answers sit beside it 2026-10-25 00:38:02 +11:00
sam eb124a90ee fix(ui): hold the plan to a readable line length 2026-10-25 00:36:45 +11:00
sam 0195e58ac8 fix(ui): plain text for the plan's title on the approval card 2026-10-25 00:17:27 +11:00
sam 4b0cd45c00 fix(ui): approve a plan from a card that holds the plan and both answers 2026-10-25 00:16:10 +11:00
sam 348c08cebb feat(archied): post approval requests to the chat that started the task 2026-10-24 23:59:25 +11:00
sam 28033a25e9 refactor!: waiting_human becomes waiting_approval, with the approval kind on each task 2026-10-24 23:45:20 +11:00
sam 3bf1c850c2 fix(ui): show the plan and Approve/Reject on a task waiting for approval 2026-10-24 23:35:31 +11:00
sam 6f3ffd6303 fix(archied): post dashboard chat task outcomes into the conversation through the gateway 2026-10-24 23:22:11 +11:00
sam 185dbff387 fix(workflow): keep the failing lines when clipping gate output 2026-10-24 23:18:23 +11:00
sam 1c6281d098 feat(archied): update agent-image sets the image new tasks run 2026-10-24 23:16:13 +11:00