Commit Graph
1591 Commits
Author SHA1 Message Date
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
sam c19889ac47 fix(gateway): workflow and integration tools ask the access policies as their caller 2026-10-18 02:35:59 +11:00
sam 0b12b5d387 feat(gateway): workflow and integration tools for chat and Kit harnesses alike 2026-10-18 02:32:30 +11:00
sam 1409193feb feat(workflows): iterate on a workflow's draft with Archie from the canvas 2026-10-18 02:27:41 +11:00
sam a97877e50b feat(workflows): edits save as a draft and reach the running workflow only on publish 2026-10-18 02:21:54 +11:00
sam 6f19c616a3 feat(credentials): grant credential services to dashboard identities, chosen from pickers 2026-10-18 00:43:31 +11:00
sam cf8071af1a fix(postgres): run stored workflows that name the root identity as the seeded agent 2026-10-18 00:29:14 +11:00
sam 10f7d462af feat(tasks): a work request's description is optional 2026-10-18 00:24:42 +11:00
sam a6eb136f66 feat(instructions): layer instance, organisation, workflow and repository instructions into every agent stage 2026-10-17 23:42:39 +11:00
sam 3ec7a60aa9 feat(kit): central tools for harnesses through the egress proxy and gateway task-tool RPCs 2026-10-17 23:42:37 +11:00
sam 27114e4a7b feat(repos): access check reports the operations the agent can perform 2026-10-17 22:58:01 +11:00
sam 18bde4dbb8 fix(postgres): allow the agent org upgrade phase 2026-10-17 21:55:42 +11:00
sam 27cb53005d fix(staterpc): derive harness secret org from caller grants 2026-10-17 21:44:08 +11:00
sam 98e7378f2d refactor(servicekit): stop linking the State Store and control plane into archie-messaging 2026-10-17 17:22:53 +11:00
sam 86b3cb4fa9 feat(workflow): pr-review submits REQUEST_CHANGES on blocking findings and lists unanchored ones in the review body 2026-10-17 17:17:48 +11:00
sam 6f4c03896a fix(identity): emit RFC 4122 shaped stable IDs and migrate stored ones 2026-10-17 17:16:20 +11:00