Commit Graph
1558 Commits
Author SHA1 Message Date
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
sam 7ad1788235 fix(archiemessaging): announce READY after channels bind; run notifying units as Type=notify 2026-10-17 17:15:34 +11:00
sam 9045dd04e4 fix(config): treat a [[curators]] entry without enabled as on 2026-10-17 17:15:34 +11:00
sam 89d5342e4d fix(workflow): remove the pr-review snapshot when any phase ends the run 2026-10-17 17:14:31 +11:00
sam c0ae205bdf refactor(curator): rename SessionSummary to SessionRef 2026-10-17 17:12:52 +11:00
sam de70326e00 refactor(workflow): drop the root identity alias from workflow definitions 2026-10-17 17:09:37 +11:00
sam 721e43c5e4 feat(webui): link parked tasks to the page that fixes their blocker 2026-10-17 17:08:24 +11:00
sam 8785456e44 feat(identity): seed a narrow agent identity and run shipped workflows as it 2026-10-17 17:04:43 +11:00
sam 94cb569f01 feat(workflow): configure review precision and approval on the review.pr step 2026-10-17 17:00:55 +11:00
sam 846ed68c5b fix(releaseupdate): run the release's watchdog and bound control-plane calls 2026-10-17 17:00:04 +11:00
sam 96aaeec06b refactor(archied): discover issues through organisation connections 2026-10-17 13:38:46 +11:00
sam d6a2de6fd3 feat(taskactions): retry a parked task on the current workflow definition 2026-10-17 13:35:12 +11:00
sam a229c2b8df feat(archied): dispatch every organisation's schedules 2026-10-17 10:19:32 +11:00
sam 467453e4ff chore(postgres): delete unused queries 2026-10-17 10:17:14 +11:00
sam 078b7950e7 chore: delete code no binary or test reaches 2026-10-17 10:14:26 +11:00
sam 07466789bd fix(workflow): clip park details within the store cap and share the diff-rule blocking level 2026-10-17 10:11:07 +11:00
sam a6cc2e9532 refactor(postgres): split lifecycle exit side effects out of Apply 2026-10-17 10:10:02 +11:00
sam 1dd0e7496b fix(postgres): keep every organisation an active owner 2026-10-17 10:07:45 +11:00
sam 9379347e8d fix(daemon): open model egress only for workflows with a model step 2026-10-17 10:03:12 +11:00
sam 24ded57b4e feat(daemon): execute and verify organisation repository connections 2026-10-17 09:32:39 +11:00
sam 432cbf0846 feat(ui): give organisation, instance and account clear homes
The Access area mixed organisation, instance and personal settings under
one name. Split them: /org is the organisation's own area (members,
identities, connections, models, schedules, playbooks), /settings is
instance administration only, and personal security stays in the account
menu. Setup checklist steps now link to the page that fixes them.
2026-10-17 09:01:41 +11:00
sam d8569f26f5 fix(controlplane): name a migrated connection for its host
The seeded root connection was called "Instance forge", which names two
archie concepts an operator never chose. Name it for the host it points at
instead.
2026-10-17 08:59:57 +11:00
sam 1c56ab6228 fix(webui): bind task requester to authenticated principal 2026-10-17 08:42:08 +11:00
sam ecca842bfc feat(ui): configure forge connections in the dashboard
A Connections page under Settings lists the organisation's forge connections:
host, forge type, the reference to the credential (never its value), the
external account it belongs to, and the operations each execution identity may
perform through it. The chat agent's page registry names the page too.
2026-10-17 03:20:17 +11:00
sam 2181dd8a48 fix(daemon): execute dashboard identities with scoped authority 2026-10-17 03:13:30 +11:00
sam 6a6db5737a feat(archied): a rotated connection reaches the next operation
The connections kind joins the live resource watches. On a new revision
archied re-resolves the instance forge from the settings it just published and
replaces every holder of the client: the boot forge, the worktree token, the
daemon's root forge and the root task RPC servers, which are now returned from
registration so a task that is already connected asks the new credential
rather than the one the process booted with.

This commit also carries the execution-identity agent's concurrent edits to
these three files, which the shared working tree had not committed yet.
2026-10-17 03:09:43 +11:00
sam 6f1be765d6 feat(controlplane): the instance forge is its root connection
Layering reads forge-connections and takes the root connection for the
instance's own forge, keeping the file's webhook intake and secret, which are
instance infrastructure rather than an account. A document with no root
connection disables the forge instead of falling back to a credential the
operator may have withdrawn.
2026-10-17 03:07:09 +11:00
sam 52cffa21f7 feat(controlplane): organisation forge connections
A connection is an organisation's own resource: the forge host, the
credential reference and the external account it belongs to. It records a
reference, never a token value, and names per execution identity the
operations that identity may perform through it.

The file's [forge] sections seed it: the root's becomes the root connection
and each identity's own forge becomes a connection only that identity may
use, so the migration keeps exactly the grants the file expressed.
2026-10-17 03:05:01 +11:00
sam abb87b3b85 refactor(ui): move personal tokens and instance authentication out of Access
Personal API tokens are the signed-in operator's, and the instance URL and
OIDC providers are the instance's, so neither belongs under the organisation
Access area. Tokens render in the account page and Authentication moves to
Settings; the old paths redirect.
2026-10-17 02:41:24 +11:00
sam b3fa386ae0 fix(ui): repair settings editing and workflow diagnostics 2026-10-16 23:55:58 +11:00
sam ede967220e fix(e2e): recover reliable local stack startup 2026-10-16 22:25:49 +11:00
sam 619e5104f0 fix(tasks): limit titles and display descriptions 2026-10-16 21:50:13 +11:00
sam a067bd4198 feat(agent): frame the default SOUL around event-driven automation 2026-10-16 03:57:08 +11:00
sam ff5c27ba72 refactor: remove personas
Personas were a misread requirement: SOUL is the chat identity and
identities are per action. The selected persona's prompt never reached the
model. Drops the resource, /personality, the chat selector, the settings
page and ChatService.SetPersona, and deletes stored persona documents.
2026-10-16 03:57:08 +11:00