Commit Graph
1703 Commits
Author SHA1 Message Date
sam 24f1174d9f chore(workflow): log where a review's comments are placed before posting 2026-10-24 18:18:54 +11:00
sam 7338ad0e14 fix(workflow): repost a review without inline comments when the forge refuses their placement 2026-10-24 18:07:14 +11:00
sam 57c025688a fix(workflow): post review findings outside the diff in the review body instead of inline 2026-10-24 17:27:35 +11:00
sam 7a8414765c 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 e65855ce26 fix(archied): stop retrying task outcomes for a channel messaging does not have 2026-10-24 17:02:50 +11:00
sam 09b0ad37f1 fix(readiness): name only the filesystems over their limit 2026-10-24 11:41:48 +11:00
sam 004177f0fb refactor(daemon): name a taskrun failure's cause in one place 2026-10-24 11:32:16 +11:00
sam ec616e3b2f fix(daemon): leave a task running when only the daemon is stopping 2026-10-24 11:30:45 +11:00
sam b2e1810bd6 fix(archieui): reach the sandbox and setup terminal on the daemon's listener 2026-10-24 11:24:49 +11:00
sam 61cbfd8271 fix(container): keep agent output out of the exit reason 2026-10-24 02:28:01 +11:00
sam 8a3e722ec7 fix(releaseupdate): a development build names no release to compare 2026-10-24 02:25:25 +11:00
sam 8ac1b3ab1c fix(daemon): say how an agent container ended when it dies mid-task 2026-10-24 02:25:25 +11:00
sam bc305ec161 fix(webui): compare a describe build's release, not its raw version, for drift 2026-10-24 02:17:53 +11:00
sam 36ff69a0de test(kitrun): drop the WorkerEnv wiring test 2026-10-22 17:39:37 +11:00
sam 5473574690 fix(config): read a model alias's provider the way the resolver does 2026-10-22 17:39:13 +11:00
sam dc8ddce89a fix(configuration): keep named instances under the archie- namespace 2026-10-22 17:38:40 +11:00
sam 9b3ade37d3 fix(workflow): require triage's workflow when a code change is needed 2026-10-22 17:37:33 +11:00
sam bc70fd7d66 fix(config): give a non-system org only the aliases its policy resolves 2026-10-22 17:36:24 +11:00
sam 1528b8d739 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 7140af08d8 fix(archiegateway): confine non-operator chat identities to their own tasks 2026-10-22 17:32:55 +11:00
sam 12cc06271d fix(controlplane): keep an org's own provider credential reference 2026-10-22 17:31:54 +11:00
sam 439fbeabc5 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 2b431c43de feat(workflow): install a repository's declared tooling before its gate 2026-10-21 23:11:16 +11:00
sam 854c371c2d 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 b4d8bb702e 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 fb8a2ae1ea fix(config): keep the resolved aliases when an org supplies none 2026-10-20 03:44:21 +11:00
sam 84560126c8 fix(controlplane): resolve the default org's providers with its aliases 2026-10-20 03:44:21 +11:00
sam 96449aa95c 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 be0a9388fc 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 9479952f27 fix(gateway): save a messaging session instead of requiring web visibility 2026-10-20 03:12:40 +11:00
sam 67952eee31 fix(daemon): give a task container a reachable State Store endpoint 2026-10-20 03:12:21 +11:00
sam 6ea5c21328 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 3a0c52dcb3 fix(egress): name the denied target when refusing a tunnel CONNECT (#1808) 2026-10-19 07:50:58 +00:00
sam 72929c36af fix(archiegateway): create the chat workspace before enabling its tools 2026-10-19 11:15:20 +11:00
sam b9e2855a56 fix(gateway): chat acts as the control-plane operator and sees every task 2026-10-19 11:12:34 +11:00
sam fafa0426be feat(webui): scope cookies to the instance and show non-default instance names 2026-10-19 10:17:05 +11:00
sam f72a3df413 feat(install): install and update a named instance side by side 2026-10-19 10:16:49 +11:00
sam a33776db82 fix(container): scope agent containers, volumes and the egress relay to the instance 2026-10-19 10:15:47 +11:00
sam ffdb1ce583 feat(configuration): name the instance with ARCHIE_INSTANCE and scope default paths by it 2026-10-19 10:12:48 +11:00
sam 166969cdfb 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 4e95b91122 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 3b6ea94d6b fix(webui): return an interrupted stage's cause and show it in a warning tone 2026-10-19 02:05:45 +11:00
sam a78690fb84 fix(postgres): repin parked and queued tasks that still name the root identity 2026-10-19 01:45:48 +11:00
sam cbba38cb3a fix(archied): stop flagging embedding and transcription aliases as retired models 2026-10-19 01:07:39 +11:00
sam e57a5fd689 fix(postgres): task alert body carries the truncated task title, not a restated title 2026-10-18 23:46:48 +11:00
sam 66ec3437fc fix(ui): Instructions replaces SOUL in routes and agent pages; terse alerts; missing-key hint 2026-10-18 19:27:11 +11:00
sam aadeac9221 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 aea236b60b fix(gateway): workflow and integration tools ask the access policies as their caller 2026-10-18 02:35:59 +11:00
sam 8b3d7864ba feat(gateway): workflow and integration tools for chat and Kit harnesses alike 2026-10-18 02:32:30 +11:00
sam 7725cf1c1f feat(workflows): iterate on a workflow's draft with Archie from the canvas 2026-10-18 02:27:41 +11:00