100 Commits
Author SHA1 Message Date
sam 74928925c8 Merge commit '35e2a216a' 2026-11-21 15:20:36 +11:00
sam 35e2a216ab fix(runs): refuse a message.send step whose channel can't send to a chat (#2085) 2026-11-21 15:18:16 +11:00
sam b6907d8366 fix(runs): cancel the runs a cancelled run called (#2086) 2026-11-21 15:17:13 +11:00
sam 4b5c60330d docs(runs): plain the call wait comment (#2044) 2026-11-21 15:00:21 +11:00
sam 69b5b2aba6 Merge branch 'worktree-agent-aa1d52313cfc167e1' 2026-11-21 15:00:11 +11:00
sam d6f3a1a01d docs(connectors): describe the extension kinds table accurately (#2084) 2026-11-21 15:00:01 +11:00
sam ca279a200a Merge branch 'worktree-agent-a773715d74288076a' 2026-11-21 14:59:56 +11:00
sam 5d8c9303e0 feat(runs): workflow.call, workflow.handoff, workflow.approve and message.send (#2044) 2026-11-21 14:59:49 +11:00
sam 23f23a6cab fix(connectors): refuse to store a contract that has no group (#2084) 2026-11-21 14:59:48 +11:00
sam 64ef2c9af7 feat(connectors): group extensions as platform, integration or agent (#2084) 2026-11-21 14:58:53 +11:00
sam c091d33a44 Merge branch 'worktree-agent-aa841596124924756' 2026-11-21 14:53:51 +11:00
sam 96342c1564 Merge branch 'worktree-agent-ab17a07f2d3e45187' 2026-11-21 14:53:51 +11:00
sam a3132792ea build(wt:check): apply go fix and the formatters before checking 2026-11-21 14:53:45 +11:00
sam 1989948ab3 fix(runs): encode agent prompts and action input with sorted keys (#2083) 2026-11-21 14:53:36 +11:00
sam 2e48acfc92 fix(pg): hold one advisory lock across migration and grants (#2082) 2026-11-21 14:53:17 +11:00
sam 7b6154e7e8 docs(runs): plain the comments on run endings (#2042) 2026-11-21 13:55:46 +11:00
sam 3513dad609 Merge branch 'worktree-agent-a3fd604fba0fb36cc' 2026-11-21 13:55:00 +11:00
sam 84e9116877 build: add task wt:check for checking a worktree's changed packages 2026-11-21 13:55:00 +11:00
sam fb5f3ad472 refactor(runs): run the document's steps in their own function (#2042) 2026-11-21 13:54:34 +11:00
sam a88f5630fe feat(runs): the first step that sets an outcome ends the run (#2042)
Add workflow.finish (completed, parked, waiting_approval, declined). A failed
step parks the run unless it continues on failure, and a parked run retries
from a top-level step, replaying the earlier steps' recorded results. Adds the
retry-run operation and a Retry button on the run page.
2026-11-21 13:52:52 +11:00
sam f47e60db00 refactor(events,deliveries): split source saving and plain the new prose (#2021, #2016) 2026-11-21 13:52:33 +11:00
sam 29a06f7c54 Merge branch 'worktree-agent-a2d0eb6dd8a9d5b66' 2026-11-21 13:47:46 +11:00
sam 30b4c28e06 fix(events): a source save keeps its stored verification (#2021)
A PUT that names no verification keeps the stored scheme, token hash and
sealed secret, and an hmac save with a blank secret keeps the sealed one.
The sources page gains an Edit action that reuses the add dialog.
2026-11-21 13:47:37 +11:00
sam 01eb4aaf7c fix(events): verify webhook signatures before parsing (#2021)
A source now declares how its deliveries prove themselves: token (the
default, unchanged), hmac (HMAC-SHA256 over the raw body, per-source header
and prefix, secret sealed at rest and write-only) or none. The events module
verifies before the connector parses, answers 401 and logs the refusal.

The digest comparison is ported from internal/webhookguard/hmac.go and the
header-borne signature from internal/infrastructure/captureintake/receiver.go;
the old copies stay until their service goes. The seal package moves to
internal/platform/seal so events can seal the secret.
2026-11-21 13:46:48 +11:00
sam b48616798d fix(deliveries): stop retrying a delivery the channel rejects for good (#2016) 2026-11-21 13:45:31 +11:00
sam 073959b4f9 feat(memory): scope chat notes and preserve deletions on restore (#2069)
Keep personal notes private by default and require review before publishing shared notes. Restore backups and replay forgotten notes in one transaction, and retain the installed release when an unattended rollback could bring back forgotten notes.
2026-11-21 13:20:31 +11:00
sam 81bca2251e fix(app): retry startup and atomically seed policies (#2081) 2026-11-21 11:45:18 +11:00
sam 32fbf8b69c refactor(gateway,ui): the page catalogue is generated from the router (#2050)
The assistant's catalogue was a 33-entry literal in Go, hand-maintained beside
the dashboard's routes: eight real pages were missing from it, so page_index
could not name them, and descriptions had drifted where both copies existed.

The routes move to ui/src/router/routes.ts, free of component imports, and
ui/scripts/pages.ts writes the catalogue from them. The nav and page_index now
read the same generated file, and task pages:check fails when it is stale, the
way the proto, sqlc and OpenAPI outputs do.
2026-11-21 03:53:10 +11:00
sam ee66e4f0f3 refactor(prompts): the last three instructions written in Go are files (#2051)
AGENTS.md sends every instruction to a file in internal/prompts, and the
workspace scoping rule, the PR-review adversary mission and the model probe
were the three that still read as Go string literals. The text is unchanged:
the templates render the same bytes the concatenations built.
2026-11-21 03:48:42 +11:00
sam e70c27faf9 fix(configuration): one provider table, so OpenRouter gets an endpoint (#2048)
The provider step wrote class "openrouter", which no ai-sdk class serves and
which egress cannot resolve a host for, so a provider the wizard offered could
never build a model session. The table now names the class that serves each
provider and the base URL it needs where the class has no default, setup writes
base_url with it, and the flag help is built from the same list.
2026-11-21 03:48:28 +11:00
sam ae3bbc6cfe fix(app): serve only setup until the owner setup transaction commits
The binary started connectors, module routes, the starter workflow and the
worker loops at boot whatever the database said, so an instance with no owner
answered operational requests, the bootstrap admin token among them. The
governance module now signals once the bootstrap registration has committed,
and the composition root holds every operational route, connector and loop back
until it does. Liveness stays up and readiness reports the missing owner.
2026-11-21 03:40:02 +11:00
sam 98c0c11cbb feat(chat): track session taint and hold mutations in tainted conversations (#2068)
A conversation gets a persisted tainted flag (migration 00040), set the
first time output from a tool whose declaration trust level is not
"trusted" enters the turn, before that output reaches the model. The
flag is only ever set, never cleared, so later turns and resumed
processes inherit it. In a tainted conversation every non-read-only
action is raised to a floor of propose_and_wait, so the existing hold
path renders the approval card with the exact judged action; read-only
lookups still run, and a hard-rule refusal stays a refusal. An
unreadable taint state or a failed taint write fails closed. Trust
levels live on connectors.Declaration; unknown levels are untrusted.
2026-11-21 03:15:04 +11:00
sam 9af3b29342 fix(dashboard): drop remote images from chat Markdown and add an image-only CSP (#2073)
SAFE_SRC in ui/src/chat/markdown.ts now keeps only same-origin
root-relative paths and data:image/ URLs, rejecting http(s),
protocol-relative and backslash-after-slash forms that the browser
would read as a remote host. The shared parser also covers task
approvals, plans and run transcripts. modules/dashboard sets
Content-Security-Policy: img-src 'self' data: on every non-API
response (page, assets, errors, no-build fallback) as the browser
backstop; the /api/ JSON fallback is unchanged. No proxy, no
migration: stored replies re-render from their text.
2026-11-21 02:52:11 +11:00
sam 96fb0afcd9 feat(chat): offer the model only the tools its person may use (#2067)
Discovery now applies the same per-tool policy decision as invocation: a connector lookup needs read, an action needs run, and each builtin carries the action and resource kind it checks. The model's tool schemas and the system prompt's summaries come from that one filtered set. A name that two declarations, or a declaration and a builtin, both claim is withheld from all of them.

The stream client fixes the wire tools for the whole turn, so a guarded provider re-reads the owner's access and the running declarations before every model request. If an offered tool is no longer permitted or declared, the turn stops before the request instead of describing a stale set. A call to a declaration the registry no longer holds is refused before anything runs, naming nothing.

Memory notes are left out of the prompt when the person may not read settings, so the tool filter is not bypassed by prompt context.
2026-11-21 01:45:03 +11:00
sam 90637aa457 fix(runs): settle held actions a skipped or failed approval would leave
The end-of-run decision read the document's last approval step alone, so a conditional approval that was skipped, or one that continued past a failure, let a run finish without ever putting its held actions to people. Those approvals no longer count as settling. Resume still replays the agent and the request exactly once.

Triggers and dry runs now refuse a document that names an identity or profile, dry runs check required inputs, and step ids cannot contain dots that references read as separators.

The shipped investigate document gains a test that holds an action, suspends, resumes through the journal and reports one approved action.

Refs #2039
2026-11-21 01:20:21 +11:00
sam 0346bfef77 fix(configuration): require containers.image instead of a private-registry default (#2054)
applyContainerDefaults no longer fills containers.image with a hard-coded
private-registry reference. An unset image now fails configuration
validation with 'containers.image is required for autonomous workflow
workers', so a fresh instance is told at startup (and via the readiness
probe at runtime) instead of at the first failed container pull.

Configs that relied on the default now set it explicitly: dev.toml (the
local task image:agent build, which e2e also overlays), plus commented
[containers] blocks in config.example.toml and standalone.toml. The
deploy docs no longer describe a code-level default.
2026-11-21 01:16:41 +11:00
sam b868d450bd fix(ui): leave the older organisation page working without rename support
The dashboard is shared with the retired dashboard service, which reports neither a role nor a revision: the workspace form stays available there, and the rename control and name history appear only where the server serves them.

Refs #2077
2026-11-20 21:12:55 +11:00
sam 064eeab748 feat(governance): let owners rename the organisation and workspaces
Adds the organisation routes the single binary's dashboard needs (list, get, workspace list and create) plus owner-only renames of the organisation and its workspaces. A rename is guarded by the version the caller read, writes only the display label, and appends an actor-attributed event in governance.org_events in the same transaction. The Organisation page shows those name changes, and a deep link is no longer replaced by the landing page while the router is still resolving it.

Refs #2077
2026-11-20 21:10:34 +11:00
sam 904c510246 feat(ui/accounts): ask for setup one thing at a time
Organisation, first workspace and the admin account are separate steps. The
instance URL is no longer asked for: it is the address the operator already
reached, and Settings, authentication already edits it.
2026-11-20 19:32:24 +11:00
samandCopilot cf6108ad14 feat(chat): conversations belong to their person and act with their access (#2065)
Sessions carry an owner; every chat route serves only the caller's own
conversations (others are 404). Each turn and each approved held action
acts as its owner's principal, checked against the access rules before
judgement, so an operator's chat can't do what the operator can't. Chat is
open to any signed-in person, and the stream sends chat updates only to
the owner.

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
2026-11-20 19:05:20 +11:00
samandCopilot 010b964264 chore(ui): delete the binary's separate SPA in ui/src/archie
The Vue dashboard now serves the binary, so archie.html, ui/src/archie
and its client test go.

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
2026-11-20 01:47:20 +11:00
samandCopilot 731417ab48 feat(ui/chat): run the Vue chat on the archie binary (#2023)
Sessions, turns, streamed replies, thinking and tool cards, held-action
approvals and resume now use modules/chat; /api/stream forwards the chat
topic. Sub-features the binary can't back yet stay hidden.

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
2026-11-20 01:45:35 +11:00
samandCopilot 264062866c feat(ui): run events, workflows, runs, controls and settings pages on the archie binary (#2023)
Events (sources, triggers), workflows (list, document, YAML publish,
read-only canvas), runs with approvals and the decision trail, controls
(policies, guards, action classes), agent models, accepted extensions,
secret engines and credentials now read the binary's API. Capabilities
name every section, so pages the binary can't back yet (the visual
workflow editor, captures, mappings, bindings, the extension catalogue,
model aliases and the rest) stay in the tree, hidden. Adds
GET /api/credential-kinds for the credentials form.

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
2026-11-20 01:04:29 +11:00
samandCopilot 59b0ac03c9 feat(dashboard): serve the live stream the Vue dashboard connects to
Same frames as internal/webui/sse.go with a keepalive; signed-in only.
Topics are added as each page moves onto the binary.

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
2026-11-20 00:34:46 +11:00
samandCopilot c12f6b7947 feat(governance): sign in to the archie binary from the Vue dashboard (#2017)
The binary serves the account routes the Vue client already calls: status,
setup, password and passkey sign-in, recovery, sign-out, OIDC, account
passkeys, password and recovery codes, personal tokens and capabilities.
The API authenticates a session cookie, a personal token or the bootstrap
admin token, and unsafe requests pass cross-origin protection. The
dashboard serves the Vue app at /.

Copied from internal/webui/{accounts,passkeys,personal_tokens,
api_capabilities,auth}.go, internal/infrastructure/oidc/{flow,oidc}.go and
internal/app/archieui/account_oidc.go, which archie-ui still imports.

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
2026-11-20 00:30:11 +11:00
samandCopilot 7673e3a135 feat(ui/chat): render Markdown with remark and rehype; remove the React reference
Chat replies, approvals, plans and agent transcripts now parse GitHub
flavoured Markdown with unified (remark-parse, remark-gfm, remark-rehype)
and render the HTML tree as Vue nodes. Raw HTML is dropped, links and
images keep only safe URLs, and #N task references stay linked.

The Astryx React prototype, its dependencies, scripts, theme file and
agent notes are removed.

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
2026-11-19 23:35:31 +11:00
samandCopilot f47aac477a fix(ui/astryx-reference): show runs as short facts with one status indicator
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
2026-11-19 23:01:57 +11:00
samandCopilot 9e776f23ed fix(ui/astryx-reference): remove internal stage vocabulary from reference pages
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
2026-11-19 22:33:42 +11:00
samandCopilot 5642058fd0 feat(ui): make the composer the chat with Archie (#2018)
The composer is the chat again: the old dashboard's chat, copied from
ui/src/chat and moved onto the chat module's API. It is the full /composer
page and a dock on every other page, with the session list, session menu,
left, right and floating positions and a full-screen sheet at phone width.
A message carries the page it was asked from and the page's suggested
prompts; a reply streams its thinking, tool calls and text, Stop cancels it,
and a message sent meanwhile is queued by the server. Workflow notifications
and approval requests show in the conversation as cards, and an approval is
answered only with its card's Approve or Deny.

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
2026-11-19 19:43:21 +11:00
samandCopilot cbfcd43018 feat(chat): add the chat module to the archie binary (#2018)
Conversations are the chat module's own tables. A turn is stored before it
is acknowledged, runs after the turns before it in its session, and records
everything it streams, so a reader replays it from a cursor. The agent uses
the configured agent model, the same connector tools as a run and the
dashboard's own reads; every action is judged, and one judgement holds is
put to people through approvals and run once when approved. A restart fails
the turns it interrupted visibly and never restarts a started action.

Conversation memory is a set of notes in the memory module. The chat
prompts are copied from internal/prompts (chat-system.tmpl, soul.md,
session-title.md) into internal/platform/prompts while the gateway still
reads them; the tool parameter redaction is copied from
internal/domain/messaging/tool_parameters.go.

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
2026-11-19 19:40:44 +11:00
sam a0d14090ef feat: add astryx design reference prototype
- scaffold a React/Vite reference app under ui/astryx-reference with shell, composer, runs, and area pages
- wire @astryxdesign packages, a neutral-derived theme, and reference dev/build scripts
- document the astryx workflow in ui/AGENTS.md
2026-11-19 17:36:22 +11:00
samandCopilot 091d117459 feat(ui): use Archie components for activity and approvals
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
2026-11-19 11:23:15 +11:00
samandCopilot 0807fe6ad6 feat(ui): prioritise recent activity and pending approvals
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
2026-11-19 11:16:25 +11:00
sam 4db38e0d2a chore: add .codebase-memory plugin to .gitignore 2026-11-19 10:09:54 +11:00
samandCopilot 9e8f160f25 fix(ui): reject unsafe composer admin tokens (#2047)
Validate bearer tokens before header construction and return users to sign-in when a saved token contains unsupported characters.

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
2026-11-19 10:08:59 +11:00
samandCopilot 64dfad6d53 feat(runs): add typed results and model aliases (#2043)
Also fix repository-free message.send validation (#2046) and add a single-binary development smoke path (#1977).

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
2026-11-18 23:47:35 +11:00
sam 6a3bf5a71a refactor(governance): open role identifiers and guard policy lockout with Cedar (#2017)
deploy / plan (push) Successful in 3s
deploy / gate (push) Failing after 8m2s
deploy / archied-image (push) Skipped
deploy / agent-image (push) Skipped
deploy / dist-zip (push) Skipped
Carried policy lockout guard from internal/app/statestore/policy_guard.go.
2026-11-18 02:29:06 +11:00
sam 0218e4ec89 feat(governance): move identity, org and Cedar access engine into governance (#2017)
Copied from internal/domain/identity, internal/domain/org, internal/domain/access, internal/infrastructure/access and internal/infrastructure/postgres.
2026-11-18 02:09:29 +11:00
sam ce70d4f3ee feat(runs): workflow documents take today's step shape, references and when (#2039)
A step is id/type/settings with when and on_failure; the five kinds become
the types agent.run (inline mission), connector.action, approval.wait,
run.notify and workflow.sleep. Documents declare inputs, repository,
instructions, identity and profile; references are {{ task|inputs|steps }}
checked at save. Any number of approval steps, each asking only about what
was held since; actions still held at the end are put to people before the
run finishes. Triggers are refused for a workflow they can't start, and the
workflows API lists, reads and saves documents beside a step-type catalog.

Copied from internal/domain/workflow: definition.go, step_refs.go,
step_flow.go's checks, control_steps.go's when parser, vocabulary.go and
task/interface.go. stableid moves to internal/platform.
2026-11-17 18:43:45 +11:00
sam 83613d902a docs: format the docs 2026-11-17 17:53:58 +11:00
sam 1026d5e3b6 feat(httpapi): the API is described by an OpenAPI document generated with Huma (#2028)
Every /api operation is registered with Huma behind one admin-token
middleware, served at /api/openapi.json with a docs page at /api/docs,
and committed as api/openapi.yaml, which task check keeps current.
2026-11-16 20:05:05 +11:00
sam ee4c3f9c16 docs(agents): old code moves into its module; a rewrite or a deletion needs a verdict in the move map (#1977) 2026-11-16 15:52:21 +11:00
sam 21de660ae1 test(system): the rotation fixture uses a listen address without an IP (#2026) 2026-11-16 13:48:07 +11:00
sam 52b027955b feat(connectors): a secret setting is resolved through its engine before the extension starts (#2026) 2026-11-16 13:46:48 +11:00
sam e2917420fb feat(ui): the dashboard edits every control-plane setting (#2026) 2026-11-16 13:45:20 +11:00
sam c226c4f686 feat(system): bootstrap values are read-only and the admin token rotates into the config (#2026) 2026-11-16 13:45:18 +11:00
sam 9e2cf252ac feat(judgement): the Controls API reports each guard's judge, its standing and its eval date (#2026) 2026-11-16 13:45:18 +11:00
sam 9fe446a426 feat(governance): the agent model names a credential and answers a test call (#2026) 2026-11-16 13:45:15 +11:00
sam 20d81258ac feat(events): sources, triggers and filtered events are listed for the dashboard (#2026) 2026-11-16 13:45:15 +11:00
sam 053ed58c08 feat(connectors): an extension declares the settings it reads, and each accepted package is listed (#2026) 2026-11-16 13:45:12 +11:00
sam 546e5cd6ef refactor(ui): hard rules and change-request rules are Controls, not Policies, which stays the access model (archie #1977) 2026-11-16 13:23:09 +11:00
sam 2f802e04a4 Merge branch 'worktree-agent-a1bd90c329b751a72' 2026-11-16 12:06:07 +11:00
sam 124d2033fc feat(guard): a judge record keeps the request, response, path, status and latency of every model call 2026-11-16 12:06:05 +11:00
sam 46372b51d5 feat(runs,ui): the trail shows each model request and response, connector calls and delivery attempts
The run trail exposes the model request the journal recorded and its finish reason. Each model and tool step opens a Request and a Response, and each decision lists the connector calls behind it. The composer lists each delivery attempt with its outcome and response.
2026-11-16 12:06:05 +11:00
sam db36d853ce feat(deliveries): every attempt keeps its response, its error and how long it took
A delivery.attempts row is written with the success or failure the store already records. The composer API returns the connector attempts that carry each message, so the dashboard can show each attempt's outcome and response.
2026-11-16 12:06:05 +11:00
sam 4b97ac5841 feat(audit): a connector call keeps the request core sent and the response it received
Resolve, target facts, invoke, lookup, deliver and parse record the protobuf wire messages as JSON on the context recorder the owning module supplies. Credentials are redacted and a body over 1 MiB keeps its prefix, full length and SHA-256. Judgement stores the resolve and target facts in the decision body and appends the executed invoke to it.
2026-11-16 12:06:05 +11:00
sam e909aee155 refactor(ui): the Unmatched page lives at /unmatched, matching the nav label (#1994) 2026-11-16 12:06:04 +11:00
sam 564339e1aa feat(events,runs): an event keeps the payload it arrived in, and every model call records the request it sent via ai-sdk v0.8.1 (audit requirement) 2026-11-16 11:54:50 +11:00
sam e45fee9bc9 fix(runs): a held action is described to the agent as waiting for approval, not a person's 2026-11-16 11:48:05 +11:00
sam 4cdb5996c5 feat(guard): a model judge's answer, basis and eval standing are recorded in every verdict, clean answers included (audit requirement) 2026-11-16 11:12:15 +11:00
sam 4657ff2646 fix(runs): a workflow summary names approval, not a person, as what holds an action (#2008) 2026-11-16 10:09:59 +11:00
sam 703d5376bb feat(ui): the Unmatched page shows each group's draft with its summary, dry-run trail and publish (#2008) 2026-11-16 10:05:51 +11:00
sam dd80500e7a feat(drafts): a draft bundles trigger, workflow and policy with a summary and a dry run, and publishes them (#2008) 2026-11-16 10:05:51 +11:00
sam 1e21aa975d refactor(runs): a workflow is a stored document of agent, action, wait-for-approval, notify and sleep steps, and investigate ships as one; dry mode judges without executing (#2008) 2026-11-16 10:05:51 +11:00
sam 66b63260e9 feat(events): a group's stored events can be replayed, and a trigger saved, through the module's API (#2008) 2026-11-16 10:05:17 +11:00
sam 470015483e feat(judgement): a dry decision is recorded apart, counts toward nothing and never executes a changing action, and a draft's policy can overlay the set in force (#2008) 2026-11-16 10:05:17 +11:00
sam 42f0688f84 feat(pg): tables for stored workflow documents, dry runs and drafts (#2008) 2026-11-16 10:05:04 +11:00
sam b6f7059212 feat(storepkg,ui): a package can declare a multi-line text setting (#2006) 2026-11-16 09:56:10 +11:00
sam 88afd1ebc9 feat(guard,runs): a guard is shown the agent's diagnosis and the evidence it read before proposing an action (#2006) 2026-11-16 09:55:14 +11:00
sam a4a4e97f07 feat(judgement): a target's owner is looked up from the connectors at decision time, and an unknown owner is a finding that sends the request to the default owner (#1991) 2026-11-16 09:49:33 +11:00
sam 4bc0d54341 refactor(governance): check escalation deadlines in their own function, keeping validate under the complexity limit (#1985) 2026-11-16 09:44:30 +11:00
sam dabe0b4f7c refactor(approvals): judgement's change-request rules route an approval, and without a connector it goes to the channels (#1985) 2026-11-16 09:42:23 +11:00
sam 28733c8522 feat(approvals,runs): an unanswered approval escalates step by step and then expires, a discarded approval never counts, and a change-request seam routes and withdraws (#1985) 2026-11-16 09:42:23 +11:00
sam 4b1ae4babf feat(governance): each escalation step has its own deadline, and the path skips anyone below the authority an action needs (#1985) 2026-11-16 09:42:23 +11:00
sam 50b75f6987 feat(events): unmatched events are grouped by source, type and key fields, and Archie's own deliveries never group (#1994) 2026-11-16 09:42:23 +11:00
sam 0c8b673615 refactor(archie): build the policy sets in their own constructor so Run stays within its statement limit 2026-11-16 09:40:26 +11:00
sam ef62dcc97a feat(judgement): impact, provenance, timing and cost guards from data, with business hours, blackouts and action budgets as settings (#1988) 2026-11-16 09:38:34 +11:00
sam 82cfc1de5b feat(judgement): hard rules and change-request rules as versioned Cedar policy sets (#1989) 2026-11-16 09:38:07 +11:00
sam 983f462740 fix(governance): the settings and people responses no longer fail to encode on an unsupported json tag 2026-11-16 05:23:38 +11:00
sam 46edda9961 refactor(runs): one conclude step ends an investigation, keeping Investigate under the complexity limit 2026-11-16 05:21:48 +11:00