Commit Graph
1606 Commits
Author SHA1 Message Date
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
sam e1a7481bc6 fix(controlplane): resolve the default org's providers with its aliases 2026-10-20 03:44:21 +11:00
sam 5ab15319e2 Merge pull request #1811 from samcharles93/fix/container-state-store-reachability
fix(daemon): give a task container a reachable State Store endpoint
2026-10-20 03:25:36 +11:00
sam 5067aa15d7 Merge pull request #1810 from samcharles93/fix/agent-empty-status-parks
fix(daemon): park a task whose agent reported no status
2026-10-20 03:24:38 +11:00
sam 320c990352 fix(gateway): save a messaging session instead of requiring web visibility 2026-10-20 03:12:40 +11:00
sam ad3ded2535 fix(daemon): give a task container a reachable State Store endpoint 2026-10-20 03:12:21 +11:00
sam 16e96937d6 fix(daemon): park a task whose agent reported no status
runViaAgent logged the agent's reply status and returned, so a task whose
agent could not persist its own outcome (empty status, State Store down)
stayed running with no park reason while the run read as complete.

A status the task cannot reach from running now parks it, quoting the
status and naming the condition.
2026-10-20 03:10:33 +11:00
sam 66b796a9d2 fix(egress): name the denied target when refusing a tunnel CONNECT (#1808) 2026-10-19 07:50:58 +00:00
sam eea1743119 fix(archiegateway): create the chat workspace before enabling its tools 2026-10-19 11:15:20 +11:00
sam 6c74e1849f fix(gateway): chat acts as the control-plane operator and sees every task 2026-10-19 11:12:34 +11:00
sam fb1099c973 feat(webui): scope cookies to the instance and show non-default instance names 2026-10-19 10:17:05 +11:00
sam ce0d50a451 feat(install): install and update a named instance side by side 2026-10-19 10:16:49 +11:00
sam e3ca6c536c fix(container): scope agent containers, volumes and the egress relay to the instance 2026-10-19 10:15:47 +11:00
sam 1a9b84614e feat(configuration): name the instance with ARCHIE_INSTANCE and scope default paths by it 2026-10-19 10:12:48 +11:00
sam 5c47ebd05b feat(chat): ask several questions in one interaction with ask_questions
A turn can pose a questionnaire (single and multiple choice, free text,
skippable) and read the answers back, rendered in the chat with the
shadcn-vue questionnaire. The gateway contract gains a questionnaire ask and a
can_question capability; answers travel as a JSON object keyed by question name
and are checked against the questions that were asked.
2026-10-19 03:30:47 +11:00
sam 808551aeb0 feat(ui): Build with Archie runs on the chat system, floats over the canvas and keeps its conversation
Each workflow has its own persisted conversation, rendered like the chat panel.
The canvas and YAML go read-only while Archie works instead of inert. The code
block highlighter loads Go and TOML and drops jsx, tsx and vue.
2026-10-19 02:43:54 +11:00
sam 4ce349cd15 fix(webui): return an interrupted stage's cause and show it in a warning tone 2026-10-19 02:05:45 +11:00
sam dba0b278e8 fix(postgres): repin parked and queued tasks that still name the root identity 2026-10-19 01:45:48 +11:00
sam 39b6deba4c fix(archied): stop flagging embedding and transcription aliases as retired models 2026-10-19 01:07:39 +11:00
sam bde67cc438 fix(postgres): task alert body carries the truncated task title, not a restated title 2026-10-18 23:46:48 +11:00
sam b3e055245b fix(ui): Instructions replaces SOUL in routes and agent pages; terse alerts; missing-key hint 2026-10-18 19:27:11 +11:00
sam 53db182e97 feat(gateway): read instructions and access policies from the workflow tools
settings_get now reads three more kinds:
- soul, the instruction text layered into a workflow run;
- task-policy, the diff cap and alert delivery settings;
- org-model-policy, which models an org may use.

None of them holds a secret value: task-policy's notify_secret and the
secrets elsewhere in the readable kinds are SecretRef references (engine and
key), never the resolved value.

access_policies_list is new: the caller org's Cedar policies (id, level,
scope, text), and the instance policies when the caller owns the instance,
which is what the dashboard lists for the same read. It is guarded as
access.ActionRead on access.KindPolicy, the check the dashboard makes.
IntegrationSource gained Policies, implemented over the State Store's
ListPolicies.

workflow_get now says how its instructions field layers: after the
instance's and the organisation's, before the repository's.
2026-10-18 02:39:25 +11:00