Commit Graph
1627 Commits
Author SHA1 Message Date
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 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 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 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 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
sam ae7b4a2081 refactor!: remove the diff-size cap and its gate.diff-size step 2026-10-24 22:19:23 +11:00
sam 5c05381db2 test(secretengine): skip the host launch test where the kernel refuses namespaces 2026-10-24 21:54:04 +11:00
sam f2cbf48790 Revert "fix(messaging): mask secrets embedded in chat tool arguments"
This reverts commit 47638de231.
2026-10-24 20:56:31 +11:00
sam 47638de231 fix(messaging): mask secrets embedded in chat tool arguments 2026-10-24 20:53:27 +11:00
sam 9387cb1f5e feat(chat): show each tool call where it happened in the reply 2026-10-24 20:48:43 +11:00
sam 2bcfcf6ea8 fix(messaging): show tool argument values in chat, redacting only sensitive keys 2026-10-24 20:46:29 +11:00
sam e100b01c52 feat(gateway): record how long each chat tool call took and show it per row 2026-10-24 20:44:40 +11:00
sam 57202110d4 chore(workflow): say in a review post failure whether it carried inline comments 2026-10-24 18:27:17 +11:00
sam 367dfe661c chore(workflow): log where a review's comments are placed before posting 2026-10-24 18:18:54 +11:00
sam 41187c9189 fix(workflow): repost a review without inline comments when the forge refuses their placement 2026-10-24 18:07:14 +11:00
sam 55063a364a fix(workflow): post review findings outside the diff in the review body instead of inline 2026-10-24 17:27:35 +11:00
sam 4752e03c01 fix(daemon): park a pushing workflow before it runs when its identity may not push, with a link to the connection 2026-10-24 17:06:25 +11:00
sam e2c79d3f67 fix(archied): stop retrying task outcomes for a channel messaging does not have 2026-10-24 17:02:50 +11:00
sam 61d25447e6 fix(readiness): name only the filesystems over their limit 2026-10-24 11:41:48 +11:00
sam 422a877147 refactor(daemon): name a taskrun failure's cause in one place 2026-10-24 11:32:16 +11:00
sam 75d16cc2e3 fix(daemon): leave a task running when only the daemon is stopping 2026-10-24 11:30:45 +11:00
sam e99c49cee6 fix(archieui): reach the sandbox and setup terminal on the daemon's listener 2026-10-24 11:24:49 +11:00
sam d00b707c3f fix(container): keep agent output out of the exit reason 2026-10-24 02:28:01 +11:00
sam 539ffaea69 fix(releaseupdate): a development build names no release to compare 2026-10-24 02:25:25 +11:00
sam 615788af5f fix(daemon): say how an agent container ended when it dies mid-task 2026-10-24 02:25:25 +11:00
sam fde50803e8 fix(webui): compare a describe build's release, not its raw version, for drift 2026-10-24 02:17:53 +11:00
sam 899b9ef51f test(kitrun): drop the WorkerEnv wiring test 2026-10-22 17:39:37 +11:00
sam 898429bf03 fix(config): read a model alias's provider the way the resolver does 2026-10-22 17:39:13 +11:00
sam 01cd599ef7 fix(configuration): keep named instances under the archie- namespace 2026-10-22 17:38:40 +11:00
sam 5b2c4f9077 fix(workflow): require triage's workflow when a code change is needed 2026-10-22 17:37:33 +11:00
sam 7c7cb0cf62 fix(config): give a non-system org only the aliases its policy resolves 2026-10-22 17:36:24 +11:00
sam da9b8209c3 fix(daemon): relay a loopback State Store with external NATS, and only for the task's container 2026-10-22 17:35:24 +11:00
sam 095ccc58dc fix(archiegateway): confine non-operator chat identities to their own tasks 2026-10-22 17:32:55 +11:00
sam b30122309a fix(controlplane): keep an org's own provider credential reference 2026-10-22 17:31:54 +11:00
sam 82b80d188f fix(triage): let a task that needs no code change be classified
The classify result required a workflow, and the capture tool rejects an empty
required string on the agent's single allowed call. A task needing no code
change has no workflow to name, so the classification failed instead of
closing the task -- the non-code path could never complete.

Require only what every classification has: whether a change is needed and the
reasons. Name the workflow required-when-true in its description, guard the
handoff on needs_code_change rather than relying on the finish step having
ended the run first, and comment the reasons before closing so the reporter
sees why nothing was built.
2026-10-22 13:50:47 +11:00
sam cf13f60ee6 feat(workflow): install a repository's declared tooling before its gate 2026-10-21 23:11:16 +11:00
sam 6fa7c15398 fix(staterpc): carry each model provider's credential reference
The State Store wire described a provider's class, base URL and key variable
but never where its key lives, so every provider reached the daemon
credential-less. A task then built its runtime with no key: the egress session
had nothing to bind and the agent parked on 'APIKey is required'.

Carry api_key_engine and api_key_key alongside the provider. They are a
reference, not a secret; the key is still resolved daemon-side and never
travels to a container.
2026-10-20 07:10:58 +11:00
sam 4d4f30b719 fix(egress): bind a task's model providers from their api_key_ref
A container task parked when a provider carried an api_key_env but no
credential binding named after it, even though the task's models never
reached that provider. Egress pre-bound every provider the instance
configures and ignored api_key_ref, so the credentials an operator stores in
provider-settings were never used.

A task's config now carries only the providers its model aliases resolve to,
each with the variable its credential is read from: the operator's
api_key_env, or a name derived from the provider when its credential is a
secret reference. modelEgress resolves that reference once for the session
and the proxy substitutes the session's key for the sentinel, so the
container still holds no key. A provider that only declares an env var keeps
resolving through its org credential binding.
2026-10-20 06:56:38 +11:00
sam e6f766eb87 fix(config): keep the resolved aliases when an org supplies none 2026-10-20 03:44:21 +11:00