Track 2 of the enterprise readiness plan. Extensions now start through a
Runtime: RemoteGRPCRuntime dials an endpoint the operator mapped, over mTLS for
TCP, and LocalNamespaceRuntime runs the verified binary in its own user and
network namespace. A mapped endpoint is the only runtime that may serve that
extension, so a broken endpoint refuses instead of quietly falling back to a
subprocess.
Local availability is checked instead of assumed: user and network namespace
limits read from /proc/sys/user report a stage that disabled them, which is what
restricted Pod Security Standards and hardened kernels do. A host where the
chosen runtime cannot run refuses the extension and names why both runtimes
declined, so the operator learns to configure a remote endpoint.
Confining it was pointless: the relay the namespace exists for is only started
when egress is non-empty, so the package got loopback and a proxy address
nothing served. Any client honouring the proxy variables then reported a dial
refused at the relay rather than reaching the host it was configured for.
Fixes#2152.
Every view listing runs or approvals polled on a timer: the home page made
four requests every five seconds per open tab, two of them the same run list,
and the needs-attention card asked for 200 runs to render five.
A run or an approval request moving is now published on the hub and framed on
the dashboard stream, so those views re-read on the change. A reconnect still
re-reads everything, and the hub drops a reader that falls behind, which ends
its stream and reconnects it.
The engine reads AGE_FILE and AGE_IDENTITY from its environment, so the
compose file names both paths in the mounted state directory and the deploy
creates the identity when the host has age-keygen.
The organisations page could create one, and POST /api/orgs is not served: the
binary resolves a single organisation from the credential. The dialog and the
client method go, and the page lists what exists.
The gateway test missed it because it compared paths, not methods. It now reads
each request the client makes with the method it asks for, so a call to a path
the binary serves for another verb fails the gate.
The shell's attention badge counted the task board's summary, which the binary
does not serve, so #2121 removed the badge with the board and nothing said, on
every page, how much work waits on a person.
The count now comes from the two operations that answer it: pending approval
requests and parked runs. The rule lives in ui/src/lib/needs-attention.ts, so
the dashboard's list and the shell's badge agree on what waiting means, and the
count is read through a small store so both read it once.
#2121 removed the pages behind sixteen sections and both capability handlers
still named them, so GET /api/capabilities advertised sections nothing can
render and the old service probed for pages that are gone.
The single binary now reports an organisation as unavailable (its page exists,
its writes do not) and lists nothing else it has no page for; the old service
reports only the sections and probes its pages still make.
AGENTS.md forbids em dashes in prose, comments and user-facing strings, and
nothing checked it: Google.EmDash only flags a dash with a space on both sides,
so a bare U+2014 passed.
Archie.EmDash rejects U+2014 for Markdown, templates and Go, with a message
naming the alternatives. The 40 occurrences it finds are rewritten as a comma,
a colon, brackets or a second sentence, and scratch trees are out of scope so a
run over the repository reports on what the repository holds.
The delete refused only a missing alias, so removing the default model, or an
alias a saved workflow still names, succeeded and those workflows failed at
their agent step.
The runs module now reports the saved workflows that give an agent step a
model, treating a step that names none as the default, and the delete is
refused with a conflict that names them. The dashboard already shows a delete's
failure inline beside the alias, so the operator sees which workflows to move
first.
Cancelling a run moved it and the runs it called to cancelled and wrote nothing
to either trail, so a stopped run could not say when it stopped or who asked.
The stop now returns the runs it stopped and records one cancel entry on each,
in the same transaction, naming the principal that asked. The entry is a step
named cancel with the caller's identity, so the run detail shows it with the
rest of the trail.
Opening a page by URL showed "Page not found" in the tab while the router was
still at its start location, which carries no label, so the not-found copy
stood in for the page for as long as the resolution took.
The title is now written only once the router has resolved the address, and the
rule lives in ui/src/lib/page-title.ts so the start location's silence is
tested.
The payload was decoded into float64, so an integer id past 2^53 was rounded
before it reached the run: the event named one record and the run acted on the
one next to it.
The mapping now decodes with json.Number, which marshals back as the exact
digits the event carried, and the type check accepts it for a number field.
maxNotes bounds what a conversation is given, and it was also the only bound on
the inspection read a person makes and on the shared list, so past 200 notes of
one class the oldest ones were unreachable, with no total and no offset to say
the list had been cut.
The conversation read keeps the bound. The read of a person's own notes and the
shared list pass no bound, which the store reads as LIMIT NULL, so both reach
everything the caller may read.
Removing the old services' pages left their entries in the sidebar specs, and a
nav entry with no route threw during the first render, so the shell drew
nothing and every page was blank. The chat browser test caught it, which is
the failure #2148 recorded; it passes again.
The spec list moves to ui/src/lib/nav-specs.ts, which imports nothing, so a
test can check every address it names against the generated page catalogue.
That is the guard: deleting a page without updating the sidebars now fails
the gate instead of the browser.
propose_autonomy_after is part of the organisation settings but the approvals
page had no control for it, so the value could only be read and changed through
the API, against the rule that every setting is editable in the dashboard.
The page now edits it within the 1 to 100 the server accepts and shows the
saved value after saving. The draft and the save body live in a page-local
module so the shape of a save is tested without a browser.
Adding a member by email refused with a 409 whenever no OIDC issuer was set,
so an install with local accounts only could not invite anyone by address.
An address now reserves the identity under a local issuer instead, and a local
account made with that address adopts it: the invitation's roles carry over and
the organisation shows one member, not two. A provider subject still needs the
provider that asserts it, and the refusal says so.
The dashboard is embedded in the single binary, which serves api/openapi.yaml.
It was still calling the old services' routes, so pages that read them answered
with a not-found: the task board, its activity feed and setup panel, logs,
alerts, audit and its export, bindings, schedules, channels, repositories,
skills, curators, the control-plane settings pages, identities and org agents,
the org switcher, secret-reference checks, task metadata, and the audit, usage,
summary and version reads.
Each of those surfaces is removed, and a test compares every /api path in the
dashboard's source with api/openapi.yaml so the next one fails the gate
instead of the browser. Settings that the binary does serve (model providers,
instructions, policies, members) keep their pages.
The five module files that read prompts already use internal/platform/prompts, and modules may only reach internal/platform. The old internal/prompts serves the six services until they go.
The dashboard is served by both binaries, and internal/webui serves no
/api/memory route. Reporting the memory sections as unavailable drops both pages
from the navigation there instead of offering pages whose every read and write
answers not found.
A note saying "the deploy token is 1234567890abcdef" was neither redacted nor
refused, because the credential check only recognised a value after a colon or
an equals sign. The copula now counts as the separator, so a credential written
out in a sentence is refused the way an assignment is.
The version read is scoped to the organisation as every other note read is, so a
note id from another organisation answers nothing, and the doc comments on
Forget and Revoke describe the order the code actually commits in. The
deletion-recording schema constant had no consumer and is removed.
The fake's Notes filter modelled only the owner half of store.Notes, so a
regression that stopped sharing published notes would still pass. It now mirrors
the statement, and the test asserts a published note reaches both people, a
proposal reaches neither, and a disabled note is left out of a conversation read.
sys_query is conditions joined by ^, each field=value, field!=value or fieldLIKEtext. A bad condition or a field a list does not offer is a 400 naming the fields it accepts, so a typo never reads as an empty page. Runs, workflows, proposals, guards and action types take it, and the dashboard keeps the filter in the URL so a filtered list is a link.
The guard control API is list-guard-controls at /api/controls/guards: list-guards belongs to the connectors extension list, and the resource is a guard. JudgeStanding keeps its name, since it is the model judgement a guard recorded.
Apply reviewed edits through the module APIs one request at a time. Keep failed and untouched drafts for retry, and remove successful edits from the review.
(cherry picked from commit 952215e36325b76f6e3364d713263f502acf6d02)
Keep the conflict visible after reloading the resource so the draft rebases onto the latest version. Require another Save to submit it, and keep the draft against its original version if the refresh fails.
(cherry picked from commit 0d4b63c906363c4343e8f8a8f4163c96b0c3378f)
Adapt OCI reads from internal/infrastructure/signedoci and internal/infrastructure/storepkg. Keep the legacy readers while their callers still use them.