Appearance
another-agentic-platform ​
Architecture and Design Document
Status: Draft for architecture review
Project: another-agentic-platform
Audience: Architects, platform engineers, application developers, security engineers, SREs, AI/agent engineers
Document style: Architecture overview inspired by arc42, with concrete API, CRD, runtime, security, and operational design
Revision history:
| Date | Change |
|---|---|
| 2026-09-28 | Imported from the lightbridge-agents draft (renames only). |
| 2026-09-28 | Review edits: AgentRun/AgentLease become application records (§19–20, §56–59, AD-016); WorkflowProvider boundary with Restate as one implementation (§17a, AD-017); gateways are replaceable OpenAI-compatible endpoints (§41, AD-018); release channels projected onto A2A (§12a, AD-019); verified notes on ADK-Rust and opencode acp (§26) and on storage (§29). MVP cut in mvp.md. |
| 2026-09-28 | AD-020: swappable implementations selected at build time — provider traits + conformance testkits, separate implementation crates, binaries as compositions (§22, §63, §91–93). |
| 2026-10-01 | Agent registry: agent-registry/v1 contract (§12b, AD-021). |
| 2026-10-04 | Operator v0: the harness is adam-rs (AD-022, §8, §9, §26); the first operator runs adam-rs agents from AgentService + AgentConfig on native Kubernetes (AD-023, new §59a, decision notes in §7–§10, §12b, §21, §22, §56, §59); secrets are references (AD-024); P-002 not taken for v0, two §93 runtime questions decided, new open questions and owner questions. mvp.md and the registry contract updated. Documentation only. |
| 2026-10-05 | Operator v0 owner questions decided (§93): every recommendation taken; the coder cutover (M3) needs no fixed window and is made when no run is active; tag-bump pushes allowed (§59a risks). |
| 2026-10-05 | Admin dashboard v0, slice S0 (new §60a): an /admin area of another-agentic-system's chat web over a Platform API (bin/api) that writes AgentService and AgentConfig by server-side apply (AD-025); proposed: the area and its gates (P-007), the API as its own binary (P-008), access per agent as AgentService.spec.access.audience published in the registry and enforced by the consumer (P-009), ModelEndpoint and a v0 ToolProvider referenced by name and an operator default image (P-010), secrets picked from offered ExternalSecret keys (P-011), one owner per object between GitOps and the dashboard (P-012); notes in §56, §60 and §61, a proposed-attribute note in the registry contract, step 1e in mvp.md, owner questions in §93 (Dashboard v0). Documentation only. |
| 2026-10-05 | Operator v0, slice S4 (§59a): aap-runtime-kubernetes built; Owned objects amended: the field manager and the managed-by label are aap-operator, and every apply is forced. |
| 2026-10-05 | Operator v0, slice S5 (§59a): aap-controller, aap-store-secret and operator run built; Reconciliation gains a note of what the controller does where §59a is silent (the reasons of a condition that is not yet known, a spec a provider refuses, the timers and back-off, the deletion policy at delete time) and where it differs (see the crate's Deviations). |
| 2026-10-05 | Operator v0, slice S6 (§59a): aap-store-cnpg built, the StoreProvisioner for an operator-owned CloudNativePG Cluster; the status line of §59a says where it differs (no owner reference on the Cluster, a foreign Cluster of the name is ConfigInvalid, one provisioner type serves both store kinds). The cluster proof in CI is unverified until it has run. |
| 2026-10-05 | Operator v0, slice S7 (§59a): aap-registry built, the agent-registry/v1 document builder and its axum router, served by operator run on 8080 behind one static bearer from REGISTRY_TOKEN_FILE (no token, no registry). Registry in v0 gains an Amended note of what the built registry does where the section was silent, and corrects the agent token rule: no test of the registry crate can cover it. RegistryFull is now set by a flag the registry shares with the controller. The kind proof (a pod reading the registry and the card) is unverified until CI has run it. |
| 2026-10-05 | Operator v0, slice S8 (§59a): the operator's image (docker/operator), its Helm chart (deploy/operator) and the CRDs chart (deploy/operator-crds), and operator-image.yml (build, smoke test, push, tag bump). The operator chart gains an Amended note: the CRDs are their own chart (§93, so no crds.install), the workflow is its own file, and what the chart does where §59a is silent (the Role in the watched namespace, storeCnpg, the NetworkPolicy, the token as a file). Rollout on netcup M0 names the two charts. Rendered, linted and checked with kubeconform; the install on a cluster and the image build are unverified until CI has run them. |
| 2026-10-05 | Operator v0, slice S9 (§59a): the kind end-to-end of the coder (operator-coder-e2e, deploy/operator/tests/e2e): the operator, from its chart, runs the real adam-rs coder image (sha-9a1fd4e, by tag and digest) on a Postgres the job runs and dummy Secrets, and the card, the registry and a deletion under Retain are asserted. Testing gains an Amended note: a dummy GitHub token instead of a throwaway App key, no model and no GitHub call. Unverified until the job has run. |
| 2026-10-05 | Admin dashboard v0 decided by the owner (§93, Dashboard v0): P-007 to P-012 become AD-026 to AD-031, with AD-032 (permissions are Keycloak client roles, roles are composites, the API checks permissions, §60a Permissions and roles, §52 note) and AD-033 (one coder per GitHub owner, one GitHub App each; coder renamed coder-vymalo, coder-me added). Changed from the recommendations: who may configure agents (permissions, not one admin role), who may use an agent (use permissions agent.use:<agent-name> in the audience), and the dashboard takes over coder and chat at the cutover (§59a amended; §91 AD-031). New open questions: backup or export of dashboard-owned objects, the final permission names, who makes a new agent's use role, the coder's volume claim under the rename. The operator's default coder image applies when an agent names none. §60a, §52, §59a, the registry contract's header and mvp.md step 1e updated. Documentation only. |
| 2026-10-06 | The run pool (new §59b) and the credential broker with connections and user MCP servers (new §39a), decided by the owner: AD-034 to AD-042 (the operator makes and owns run pods under a RunEnvironment; pods pooled and leased with a RunLease; never shared across owners; RWX plus a clone on lease; both modes coexist, per-run stays the default; agent MCP servers fixed, users add their own with OAuth 2, API key, bearer or none; GitHub App, GitLab and Bitbucket connections; a broker over a vault trait). Proposed: P-013 to P-016 (pod per lease as the isolation default, ordinal pod names, git writes stay in the coder, the broker as its own service). Notes on AD-016 (RunLease is a CRD) and AD-024 (the gap is designed, not closed), §59a and §60a pointers, open questions in §93 (Run pool, Connections and the broker). Documentation only. |
| 2026-10-06 | Containers in run environments and clients without a web server, both owner-driven. §59b gains Containers in a run: RunEnvironment.containers.mode None | Build (BuildKit sidecar) | Engine (rootless Podman sidecar) in a user-namespaced pod, never the host's socket, one daemon per pod, cache on the claim or in a registry, image pushes by the coder with a broker grant (AD-043; P-018: a pod with a daemon is not reused, a short in-pod push grant is proposed); two CEL rules and a risk row. §60a gains Clients without a web server and AD-026 an Amended 2026-10-06 note: the web is a static export packed into Tauri, so the client calls the orchestrator and the Platform API directly with a bearer JWT, the API is on the edge with CORS and rate limits, PLATFORM_API_URL is public, and the two §60a sequence diagrams lose the web server (P-017: Refine for /admin). §52 gains a pointer to AD-044: every client is a public OAuth client with PKCE (RFC 8252), one Keycloak client per platform; details in the system's ADR 0047, to be added. New §93 questions: the cluster's facts for user namespaces, the registry and its credential, daemon-pod reuse, the clients' origins. Documentation only. |
| 2026-10-06 | The cluster probes (the owner's two scripts on netcup) and a second storage mode, owner-driven. §59b gains Cluster facts (Talos v1.13.6, Kubernetes v1.36.1, kernel 6.18.38, containerd 2.2.5, Cilium, no RuntimeClass; hostUsers: false works; a Longhorn RWX claim cannot be idmapped, an RWO ext4 volume can; BuildKit and Podman start privileged inside the user namespace; the longhorn class keeps 2 replicas) and Pod volume: files and git over exec: RunEnvironment.storage.mode SharedClaim (default) | PodVolume, one replicated ReadWriteOnce claim per run pod as a generic ephemeral volume, deleted with the pod (AD-045; P-019: files through pods/exec, git as bundles over exec with the coder's own mirror, no credential in the pod, parking as a bundle). New CEL rules (a user namespace and containers.mode require PodVolume; storage.mode immutable), the operator only reads claims; P-018 proposes a namespace of their own, guarded by an admission policy, for pods with a daemon (Pod Security privileged is namespace-wide), What adam-rs must change gains file access and git through the environment session. Isolation column B and P-013 now say UidPerLease needs PodVolume; AD-043 is amended (proven on netcup, mode != None requires PodVolume, the namespace must allow Pod Security privileged, Podman is privileged inside the user namespace, rootless unverified), AD-038 and P-018 get notes, risks and §29 are updated. §93: the cluster-facts question and the idmap question are answered; new questions on a PodVolume default and its size. Documentation only. |
| 2026-10-06 | Five more decisions of the owner on the run pool and the coder's name. P-019 is accepted as AD-046 (under a pod volume, files and git cross pods/exec, credentials stay in the coder). Pods with a container daemon live in a namespace of their own, <coder namespace>-run, at Pod Security privileged, behind a ValidatingAdmissionPolicy: AD-047, from P-018; the operator works in two namespaces, the coder's pods/exec and runleases are granted in both, and RunLease.status gains podNamespace. PodVolume becomes the default storage.mode (AD-045 amended; SharedClaim stays available; the §93 question is closed, the build measurement stays for SharedClaim's speed). Every run pod gets its own user namespace by default (AD-048: isolation.userNamespace defaults to true, SharedClaim requires false). The coder is renamed Adam (AD-033 amended: coder-vymalo and coder-me become adam-vymalo and adam-me, the old ids stay as aliases, the technical names move at the operator cutover; §59b's examples keep the old name, said once). §59b is updated throughout (the YAML, the CEL rules, What the operator makes, the lease diagram, Isolation, Pod volume, Containers in a run, the risks); AD-038 and AD-043 get notes, P-018 and P-019 their decisions. Documentation only. |
| 2026-10-06 | One GitHub App for every Adam (the owner): AD-033 amended, each Adam limited to its owners by GITHUB_APP_OWNERS, the second key dropped; the §60a AgentConfig example and §39a's comparison follow; the §93 question on the keys' property names is answered. Documentation only. |
| 2026-10-15 | Admin dashboard v0, slice D1 (§60a): aap-api gains AgentService.spec.access.audience, the kinds ModelEndpoint and ToolProvider (v0 subset), AgentConfig.spec.model.endpointRef and mcpServers.<n>.providerRef (exclusive with the inline forms by CEL), and an optional environment.image; four CRDs, examples/coder-me.yaml and one invalid example per new rule and bound; aap-domain refuses a reference or a missing image until D2. §60a gains a D1 built note with where it differs (visible ASCII, the schema bounds the rules need, two CEL rules that keep what required said, the BaseUrl message); §59a What v0 leaves out gains an amendment. No section is added or renumbered. |
| 2026-10-15 | Admin dashboard v0, slice D2 (§60a): aap-domain resolves a ModelEndpoint, the ToolProviders of a config and the operator's default image (Externals, read into the inline form first, so a reference and its inline equivalent give one digest; a missing referent is ConfigInvalid naming it; a referent is checked as the inline form is); the controller reads the referents and watches both kinds; operator run --default-agent-image; the operator chart's Role reads the two kinds and defaultAgentImage ships the coder image of the kind end-to-end by tag and digest. §60a gains a D2 built note with the decisions for the owner to confirm (the server is optional when either the agent or the provider says so; ToolProvider.mcp.tools is mapped to adam-rs's allow-list, verified 2026-10-15 at 0391809; the header-variable rule is the inline one; the default image is a chart value with a pin of its own), where it differs from the text (referents read with get, not a reflector; CI's bump does not move the default image) and what is unverified; D1's notes record the owner's confirmation of visible-ASCII audience values and of at most 32 extra MCP servers. §59a What v0 leaves out amended. No section is added or renumbered. |
| 2026-10-15 | Slice D2, after review (§60a, AD-029): the watches of ModelEndpoint and ToolProvider are isolated from the services' own triggers (kube puts one backoff around all of a controller's triggers, so a CRD that is not installed stalled every service); a kind that is not served says so in the issue and is ConfigInvalid, not a failed pass; the upgrade order is one rule in the READMEs and values (the CRDs first, always); a refused URL is never echoed whole in an issue; a name that is not an object's is refused before any request; a missing referent is read again in 15 s; the MCP server names adam-rs refuses are refused; AD-029 is amended (GitOps sets the default image, CI does not bump it); a missing referent delists the agents that use it, which is a question for the owner (§93); the tools allow-list is verified at 9a1fd4e. No section is added or renumbered. |
| 2026-10-15 | Admin dashboard v0, slice D3 (§60a, AD-028): the registry publishes AgentService.spec.access.audience as the optional item attribute audience (through DirectoryEntry.audience and the controller's directory; a sorted set, each value once; none and [] are no attribute; a list that breaks the shape is withheld and logged), and agent-registry-v1.md is amended, not versioned: the Item table, the limits, rule 5, the client-flow diagram, Serving, Versioning and a new Audience section with the consumer's rule (show and let invoke only when the audience holds * or one of the person's roles; none, empty or malformed is for administrators only; fail closed; listing is still not a grant). The reader vendored from the system (2026-10-05, before the attribute, not re-vendored) reads a document with audiences as one without, nothing skipped; a fleet with no audience is byte for byte unchanged. §60a gains a D3 built note with four decisions for the owner to confirm (sorted not stored order, the builder normalises, the contract defines "malformed", Vec in the neutral type), a question for the owner (does an administrator see every listed agent), where it differs and what is unverified. After review the consumer's rule is stated literally (the audience is a set, so ["*", "*"] is ["*"]; a roles claim that is missing or malformed means no roles; byte-for-byte comparison; the value grammar as bytes; no exception for administrators) and the 54-character limit of a conventional value is said, and §12b and §59a (Registry in v0 and its field table) name the attribute. No section is added or renumbered. |
| 2026-10-15 | Admin dashboard v0, slice D4 (§60a, AD-025, AD-027, AD-030, AD-032): aap-forms built (the agent form in two kinds, the model endpoint form and the tool server form, to and from the custom resources with the deployment's defaults filled in; validation by the screens' rules and aap-domain::validate with every error named by its form field; the YAML export as a whitelist), AgentObjects and Authenticator in aap-ports with Memory implementations and conformance macros (an agent is two objects with one ETag made of both resourceVersions; ownership by the label and Argo CD's annotation; a delete of a shared object that agents name is refused, naming them; every error has one status), and the permission constants in aap-api. §60a gains a D4 built note: how it is proven (round-trip and secret properties over arbitrary forms, the suites required to fail faulty stores, every property broken on purpose), nine decisions for the owner to confirm (the port speaks JSON; a save never moves the deployment part of an existing agent; a form mirrors the objects' optionality; the ETag is the resourceVersions, so status writes make it stale; a key no longer offered must be picked again; a create needs only the service to be absent; the GitHub MCP sidecar is a deployment default; the coder's tunables are in no form and in no default, so examples/coder.yaml is YAML only until the owner decides; the route table waits for D7), where it differs and what is unverified (everything that needs an API server or an issuer: D5, D6). No section is added or renumbered. |
| 2026-10-16 | Slice D4, after review (§60a, AD-025, AD-030, AD-031, AD-032): AgentObjects: a refused write changes neither object of an agent (and what D5 must do about it: read both, dry-run both applies with their resourceVersions, then apply), the ETag binds kind, name and version, a delete takes the token, an AgentConfig another service names is never written, taken over or deleted (Referenced, a delete refuses whole), a pair with one GitOps object is GitOps's, the takeover of an orphan config is tested, FieldError is typed, OfferedSecret.key is an Option (dataFrom: any valid key, typed by hand); Authenticator: the reason of an invalid token is a closed enum and the sentinel token is JWT-shaped; the suites that must fail faulty stores are one test per fault and per call. aap-forms: the agent's image needs a tag or digest, no credentials and an allowed registry (absent list: any registry, empty list: none), the export filters labels and annotations by an allow-list and writes YAML that a 1.1 reader reads as strings, a header prefix is a scheme and a space, the Debug of an address hides its credentials, an object that cannot be read is not said to be missing, dependents_after asks what a shared change does to its agents, and the property tests count what they accept. §60a gains an After review paragraph with five decisions and one question for the owner. No section is added or renumbered. |
| 2026-10-16 | Admin dashboard v0, slice D5 (§60a, AD-025, AD-030, AD-031): aap-objects-kubernetes built, AgentObjects on the API server: server-side apply under agents.vymalo.com/dashboard with force off, a replace that reads both objects, dry-runs both applies with the resourceVersion and uid it read and only then applies (the window left is a 412 with the config written), a create that names a version no object has, deletes bound to the version and the uid, GitOps objects never written or deleted, Stored::spec as written (read through managedFields, without the CRDs' defaults), and the offered keys read from labelled external-secrets.io/v1 ExternalSecrets with no Secret read. What a resourceVersion and a uid do in an apply is verified 2026-10-16 on a bare kube-apiserver v1.35.8 (not documented by Kubernetes); a body the schema refuses is a 500, read as Invalid from Status bodies captured from the real thing. §60a gains a D5 built note: how it is proven (a fake that copies the real behaviour; the suite on a real API server, 44 cases, as an administrator and as a user that holds only the Role; every property broken on purpose), seven decisions for the owner to confirm, a question (a service the operator is deleting has no state in the port), where it differs (a smaller Role: no watch, list only on externalsecrets; bodies read as JSON; the optimistic check is also the uid and the dry runs), and what is unverified (the CI job, a concurrent operator, a reconciling External Secrets Operator, Argo CD). D4's unverified list is verified: the operator's status makes a token stale, an unchanged apply keeps it, the CEL answers map to the forms' paths, the offers need list alone. No section is added or renumbered. |
| 2026-10-16 | Slice D5, after review (§60a, AD-025, AD-030, AD-031): a delete of an agent could lose data (it deleted the AgentConfig while the service was still terminating on the operator's finalizer, which reads the config to honour deletionPolicy; a config it cannot read leaves the remembered Delete standing) and no longer does: AgentObjects knows an agent that is being deleted (Stored::deleting, Agent::deleting(), ObjectsError::Deleting, 409), a delete returns once the service is gone or is being deleted and the config goes when the service is gone (a bounded wait of 5 s, the services listed again right before), and what a delete leaves, or a create that failed halfway, is an orphan config that list_orphans lists and a delete of its name removes (a GitOps config, or one a service names, never). A replace whose service moved only in its resourceVersion (the operator's status or finalizer) is repeated once and succeeds, every other way out of the half-write is told and logged. Admission denials and over-large bodies are Invalid, from bodies captured on a v1.35.8. The fake API server has finalizers, the real server runs the same scenarios, and each new test was shown to fail against its mutant. §60a gains an After review of D5 note with five decisions and two questions for the owner. No section is added or renumbered. |
| 2026-10-16 | Admin dashboard v0, slice D6 (§60a, AD-025, AD-027, AD-032): aap-auth-oidc built, the Authenticator of the Platform API: a bearer JWT checked against an OIDC issuer's keys as another-agentic-system's orchestrator checks one, ported with its tests and without DPoP (RS256, RS384, ES256 and EdDSA only; iss, one of the configured audiences, exp and sub required, nbf honoured, 60 s of leeway; the values of the configured roles claim, a dotted path, are the permissions and a bad roles claim never refuses a token; a key cache refreshed at 10 minutes, refetched for an unknown kid at most once in 30 s, kept an hour past its refresh while the issuer is down and then failing closed; no error, source or log holds a token, a claim or a kid), with OidcConfig for D7's YAML file and a testkit issuer on a local port. §60a gains a D6 built note: 76 tests over real HTTP, authenticator_conformance! among them, 41 checks each broken on purpose with a named test failing, one run by hand against Google's issuer (TLS with ring, HTTPS_PROXY, a real JWKS; a Keycloak's is unverified), the decisions for the owner to confirm (iat not required; a token with cnf is a plain bearer; nbf in the future is Expired, the doc of which in aap-ports says so; an unknown kid with the issuer down is Unavailable; JWS on aws-lc-rs beside TLS on ring, reqwest 0.12; the configuration has no default roles claim) and a question (should the API require DPoP?). The Authorization paragraph, the Keycloak composites note and Facts checked gain dated notes. No section is added or renumbered. |
| 2026-10-16 | Slice D6, after review (§60a, AD-025, AD-027, AD-032): aap-auth-oidc: the lock on the key cache was held across the fetch of the keys, so one token with an invented kid stalled every request (2.8 s for a good token behind a 3 s JWKS), and a request dropped during a fetch lost the refetch; a fetch now runs on a task of its own, one at a time, no lock is held across it, and a copy older than 10 minutes is served at once while it is refreshed (a decision for the owner: a withdrawn key may verify for the time of one refresh). Key octets: an Ed25519 key with a leading zero octet (about one in 256) was skipped, and zero-padded or sign-byte RSA and P-256 keys were admitted and never verified. The crate installs aws-lc-rs as jsonwebtoken's provider (two backends in a binary panicked). iss must be one text equal to the issuer (a list that holds it passed), a blank sub is MissingClaim, the word for several missing claims no longer depends on a hash set, the leeway is pinned at 55 and 65 s. Every key that shares a kid is tried, one terminating / of the issuer is removed for discovery, the URL of a jwksUrl is out of the debug log, an http issuer is warned about once, and the tests build no client that reads a proxy variable. §60a gains an After review of D6 paragraph and three decisions for the owner; each fix is proven by a test that failed on the previous code (101 tests in the crate, 76 before). No section is added or renumbered. |
| 2026-10-16 | Operator v0, S4 fix (§59a): the CrashLoop row of the issue table is amended. Between two restarts the kubelet can keep reporting the last exit (Terminated, Error, exit code 1, restart count 5 at the end of a 240 s wait on kind, kindest/node v1.35.8, verified 2026-10-16, CI run 38857024797 of operator.yml) and not CrashLoopBackOff, so a crashing agent's status flapped between CrashLoop and nothing; aap-runtime-kubernetes now reads a container that exited with a non-zero code other than 78 and 69 and was restarted at least once as CrashLoop (a first exit and exit code 0 are no issue). No section is added or renumbered. |
| 2026-10-16 | Admin dashboard v0, slice D7a (§60a, AD-025, AD-027, AD-030, AD-031, AD-032): aap-platform-api and aap-api-server (binary api) built, the Platform API's router and its composition root; D7 is split, D7b being the image, the chart's api component and the kind end-to-end. The router is generic over AgentObjects and Authenticator; every route of §60a's table is built from one table of routes and permissions, read by one layer over the whole router, applied last (a route outside it is a 500, however it was added); problem details (RFC 9457) with the form field of every 422; PUT with If-None-Match: * or If-Match, DELETE with If-Match, strong ETags; secrets.pick decided from the form; a shared change that would break agents is refused (409); CORS for exact origins only; a log with no token, body, name from the path or secret key. The binary reads one YAML file (unknown keys refused, validated at load, --check), serves /healthz and /readyz and drains on SIGTERM. §60a gains a D7a built note: 80 + 17 tests, the route-by-permission matrix, 33 checks each broken on purpose with a named test failing, what is unverified until D7b (the binary against a real API server and issuer), eleven decisions for the owner to confirm (428; 409 and not 412 for a second create; a 2 MiB body limit; application/yaml; dependents_after refuses; a form never replaces YAML-only objects; secret-keys needs only the pick; 202 while the operator releases an agent; the route template in the log; a URN as problem type; defaults.namespace) and a question (a force for breaks-agents); the slices table gains the D7 split. No section is added or renumbered. |
| 2026-10-16 | Slice D7a, after review (§60a, AD-025, AD-027, AD-032): aap-platform-api and aap-api-server: authorization was a route_layer, so a route, a service, a nested router or a fallback added after it was served with no token; it is one layer over the whole router, applied last, that answers 404 to nothing matched, 500 to a template the table lacks and 405 to a method it lacks before anything else runs. "Unknown keys refused at every level" was false for most of defaults (the CRD types below it deny nothing: a misspelt podSelectr made a NetworkPolicy peer broader); the file is now compared with what the defaults write back, and a member that does not come back is refused with its path. The lifecycle state and the members of a row are pinned by tests (tests/lifecycle.rs). A create asks no agent; a 409 names the agents it is about only to a holder of platform:agents.read; the hardening headers are on a preflight; /readyz keeps its answer 5 s and asks for one object; defaults.allowedImageRegistries is required and not empty (a pod of an agent's own image is handed the model's API key and the A2A bearer); a CORS origin with the default port is refused; two Content-Type headers are 400; keys that are down are one log line, and a 503 says Retry-After. §60a gains an After review of D7a paragraph with eight decisions and three questions for the owner (108 + 27 tests, each fix proven by a test that failed on the previous code, or a mutant it now kills); the crates table names aap-platform-api and aap-api-server. No section is added or renumbered. |
| 2026-10-16 | Admin dashboard v0, slice D7b1 (§60a, AD-025, AD-027): the Platform API's image (docker/api, the operator's Dockerfile with the package changed), its CI build, smoke test, push and tag bump (operator-image.yml builds both images and one bump job sets image.tag and api.image.tag in one commit, so two pushes to main cannot race), and the chart's api component in deploy/operator, off by default: a Deployment, a Service without the health port, its own ServiceAccount and a Role that is exactly crates/objects-kubernetes/tests/rbac.yaml (held equal by render-check.sh; no Secrets), a ConfigMap rendered from api.config, a NetworkPolicy (ingress from the edge's peers, egress to the API server, DNS and the issuer) and an optional Ingress whose annotations are where the edge's per-token rate limit is attached (the API implements none). The chart refuses what it can check at render time, and CI runs the image's api --check on the file the chart renders for four shapes of values (which finds a value the chart renders and the binary refuses, and does not prove there is none: the binary refuses the rest at start and fails closed). §60a gains a D7b1 built note (what is proven, what is unverified until D7b2, the kind end-to-end through the API, and seven decisions for the owner) and the Slices note splits D7b. |
| 2026-10-16 | Review of slice D7b1 (§60a, After review of D7b1): "the chart can never render a file the binary refuses" was false and is replaced by what is true (the chart refuses what it can check, CI runs the binary's --check on four shapes, one of which sets every value, and the binary refuses the rest at start and fails closed); _validate.tpl reads the issuer, the origins and the registries as the binary does; named checks for the ports, the egress peers and the pod's own securityContext; api.extraEnv, api.extraVolumes and api.extraVolumeMounts for a private CA or a proxy (what the binary reads, verified by reading its dependencies); the egress defaults said to be open on 443 and 6443; the grace floor is the sleep plus 32; and four decisions for the owner, among them that an API failure blocks the operator's release. |
| 2026-10-16 | Admin dashboard v0, slice D7b2 (§60a, AD-025, AD-027): the kind end-to-end through the deployed Platform API: deploy/operator/tests/e2e/api-e2e.sh and the job api-e2e of operator-image.yml (which push needs). The operator chart is installed with api.enabled and the images that passed, the testkit's issuer runs as a program on the runner (the example test-issuer of aap-auth-oidc, tokens on a loopback-only control port), and the script drives the API through a port-forward: 401, 403 naming the permission, a model by reference to an offered Secret key, a folder agent created with its preconditions (428, 422, 201, 409), the operator making it Ready, the list, the detail, the YAML, a replace and a delete with their ETags (200, 412, 428), the finalizer completing, and no secret value or token in any answer or log; the API's pod, its Role and its NetworkPolicy are checked as a pod, a service account and a policy. §60a gains a D7b2 built note (what it proves, what ran where it was written: the script against the real router over the Memory ports and a real issuer with a fake kubectl, and what stays unverified: the job itself, a real Keycloak, the edge, the API's policy under kind's enforcement, preStop.sleep), six decisions for the owner (among them that the end-to-end gates the push, so the API's flakes block the operator's release) and the finding that the binaries' log carries ANSI colour codes; the slices table gains the D7b2 amendment, the facts a line on kind's CNI (kindnet enforces NetworkPolicies, read in the log of a CI run). No section is added or renumbered. |
| 2026-10-16 | Admin dashboard v0, slice D7b2, after review (§60a): the kind end-to-end of the Platform API no longer runs against anything but a kind-* context, works in a labelled namespace of its own (aap-e2e-api) with Secrets of its own names, and undoes only what it made (the first version, armed before any check, would have run helm uninstall aap-operator and deleted agent-a2a-bearer in another-agentic-system for a missing tool); a 202 on the agent's delete leaves an orphan config, which it reports and removes; the NetworkPolicy step requires the refusal (the first run of the job, read in its log, shows kind's kindnet enforcing it); signals run the cleanup; the test issuer's command line is parsed and tested in the testkit (exit 2). §60a gains an After review of D7b2 paragraph with four decisions for the owner and what only CI can prove; decision (5) of the D7b2 note is amended. No section is added or renumbered. |
| 2026-10-17 | Admin dashboard v0, slice D8 built in another-agentic-system (§60a, AD-028): its orchestrator enforces audience (its ADR 0045, decision 1), and this repository re-vendors its reader of agent-registry/v1 at that commit (8df44c6) and refreshes the one fixture from there (its mock registry, four agents with audiences); the reader's changes from upstream are the inlined is_valid_agent_id (and a private MAX_AGENT_ID_LEN), AgentAudience, AudienceRoles and from_values with their tests, the //! comment, and a file-level #![allow]; a new round-trip test holds that the document the builder publishes reads through that reader as the same audiences (["*"] as everybody, values as a set, none, [] and a withheld malformed one as administrators only, never static), each property broken on purpose and failed. Two differences from the contract are recorded for the owner and not decided: the system's admin sees every listed agent (its decision 1.4, against the contract's consumer rule 4: the open question of D3) and its reader skips a non-string element of the roles claim (against rule 2). One sentence of the contract's Versioning section is corrected (the vendored reader is now the D8 one); its rules are unchanged. |
| 2026-10-17 | Admin dashboard v0, slice D13 (§60a, AD-025, AD-028): the kind end-to-end of the whole chain: deploy/operator/tests/e2e/chain-e2e.sh and the job chain-e2e of operator-image.yml, which push does not need (an owner decision). In one kind cluster the operator chart with the API and the registry on, the testkit's issuer as the one issuer of the API and of the orchestrator, and the system's orchestrator, its published image pinned by tag and digest in one file (chain-orchestrator.yaml, with a Postgres 16), configured by a file the script renders with the operator's registry as its only source of agents. The script makes a coder with audience: ["agent.use:e2e-coder"] through the deployed API (the stand-in image, a GitHub App by reference to an offered key), the operator makes it Ready and Listed, its registry lists it with the audience, and the orchestrator lists it to alice (the role), not to bob (another agent's role: [], the registry ok, the 404 of an agent that does not exist), to the administrator (the pinned system's decision 1.4, against the contract's rule 4: the open question of D3, asserted as built and said so in the script) and not to carol (the value alone: 403 no_access); then the coder is deleted and the listing empties; no secret value and no token in any answer or log. The stand-in's card becomes a valid A2A 1.0 card (the orchestrator parses it). §60a gains the D13 built note (verified 2026-10-17: the pins by anonymous manifest requests, and the configuration and the tokens accepted by the orchestrator built at 8df44c6; the whole script walked under dash against that orchestrator and the real router, registry and issuer with a fake kubectl and helm; the job passed on its first run, run 38994193619 at 4929e3c, verified 2026-10-17 in its log: the pulls, the orchestrator's pod, the policies, the operator's Ready and Listed, the four people's answers, the delete, no secret in any log; the changes of its review of the same day are unverified until CI has run them) and six decisions for the owner, the D13 row and an amendment under the slices table, and the risks row on the registry's audience; render-check.sh gains ten checks (316, 306 before), each broken on purpose. No section is added or renumbered. |
| 2026-10-17 | Slices D7b2 and D13, CI results and a port (§60a, the D7b2 built and D13 built notes): the changes of the two reviews passed in CI, verified 2026-10-17 with gh api and in the jobs' logs: the D7b2 review's changes to api-e2e.sh in run 38970194294 (the push to main at 2ca4454, job api-e2e 117207892113), the D13 review's (commit 8d45dab) in run 38996503582 (the pull request's head, job chain-e2e 117290340019); the notes that called them unverified (the two built notes and the D13 row of §60a, CLAUDE.md, the root README.md, deploy/operator/README.md, deploy/operator/tests/e2e/README.md) say so, and the two rows above stay as the record of what was known on their day. api-e2e.sh is then given the hardening the D13 review gave chain-e2e.sh, without changing what it asserts: printf and not echo for bodies, each log read by a kubectl logs that succeeded and holding a line of its own component (the API's route=/v1/agents, the operator's the caches are synced), diagnostics through redact, HELM_KUBECONTEXT, the panic check panicked at. That port is unverified until CI has run it (walked under dash with a fake kubectl, not on a cluster). No section is added or renumbered. |
| 2026-10-26 | Admin dashboard v0, slice D15a (§60a, §59a, AD-031): the operator sets up run pods for a coder, the half of D15 that needs no cluster. coder.runPods { sizeClass } in aap-api (the CRDs regenerated); RuntimeSpec.run_pods and Workload.service_account in aap-ports (absent from the JSON when absent); aap-domain makes the template, adam's variables and the rules, from settings the operator chart renders into RUN_PODS_FILE; aap-runtime-kubernetes makes the account, the quota, the network policy, the binding and the parameters of the policy, and removes them, pods included, when the service stops asking or goes; the operator chart gains runPods, runPodClasses, a PriorityClass, the Role of run pods, one admission policy for every agent (its values in a ConfigMap per agent) and a Role for the operator that holds bind on that one Role by name and no right to make a pod or exec; the form gains agent.runPodSizeClass and GET /v1/info the classes. Parity goldens move to adam-rs 3f714d0 (#131) with four cases of run pods; the quota, network policy, binding, Role, PriorityClass and admission policy (parameters substituted) are compared with the coder chart's. Tested on a bare kube-apiserver v1.35.8: 25 refusals of the policy with the message of the rule each breaks. The kind end-to-end is D15b. §60a gains the D15a built note (ten decisions for the owner to confirm, what only D15b can prove), §92 gains P-020 (the operator binds the Role of run pods, the chart owns the cluster-scoped guard, and what that costs), the D15 row is split, the Risks gain two rows, §59a's field table a row. |
| 2026-10-27 | Admin dashboard v0, slice D15b (§60a, AD-031): the kind end-to-end of run pods, the half of D15 that needs a cluster. deploy/operator/tests/e2e/run-pods-e2e.sh and the job run-pods-e2e of operator-image.yml (it does not gate push): the operator chart installed in kind twice, without run pods and then with them; the real adam-rs coder (sha-3f714d0, pinned by tag and digest in run-pods.yaml only, defaultAgentImage not moved) as a token coder with no run pods, which the upgrade leaves as it was, and a GitHub App coder with coder.runPods, on a scripted model that the coder's own image runs; shown: the operator's objects (none for the plain agent), run-pods-admission.sh in the cluster, kubectl auth can-i --as against both Roles, a command run in a run pod made from the operator's template that sees only its own run, the quota counting two pods and refusing a third while the coder waits, the network policy, a deletion that leaves nothing, no secret in any log. render-check.sh holds its fixtures, bin/operator/tests/e2e_run_pods_fixture.rs resolves its coders, the model has node --test tests. Walked against a bare kube-apiserver v1.35.8, the real operator as its own service account and the real coder, with a stand-in for the kubelet; the job is unverified until CI has run it. §60a gains the D15b built note (seven decisions for the owner to confirm, what only CI can prove), the D15 row and the D15a notes are amended, and D15 stays open until the job has run green. |
| 2026-10-27 | Slice D15b, the first full run of run-pods-e2e (§60a, the Amended 2026-10-27 note after the D15b built note): run 40432460348 found, in step 9, that a service that stops asking for run pods was left at 0 pods for good: the provider deleted the account before it applied the workloads, and a real API server keeps the deprecated serviceAccount of a pod template through a server-side apply, so the template named an account that was gone. aap-runtime-kubernetes now revokes the right and the pods, applies the workloads without the account, frees them of both names the server keeps with a merge patch (sent only when the answer still names one), and only then removes the quota, the network policy, the parameters, the template and, last, the account; the delete path is unchanged. Proven by the fake API server (which copies that rule of the real server and records an account deleted while named) and by one case of tests/cluster.rs on a bare kube-apiserver v1.35.8 (verified 2026-10-27), each guarantee mutated; the step in kind has not run since. |
| 2026-10-27 | Admin dashboard v0, slice D15c (§60a, §59a, AD-031, P-021): the operator makes the egress proxy of a run pod's network, as adam-rs did in its chart (its ADR 0042, ff10395 and 7598255). A run pod's NetworkPolicy is deny by default (DNS, the proxy's pods on 3128 and extraEgress; no rule names an address range) and adam-egress, from the agent's own coder image, is the one way out: per agent a Deployment, Service, ServiceAccount, PodDisruptionBudget, NetworkPolicy <svc>-egress and a ConfigMap <svc>-egress-allow, and the template carries HTTPS_PROXY, HTTP_PROXY (lower case too) and NO_PROXY. aap-ports gains EgressProxy and RunPods::network is required; aap-domain reads runPods.egressProxy (allow, extraAllow, extraNoProxy, replicas, ports, resources) with the coder chart's checks and drops networkPolicy.enabled; aap-runtime-kubernetes applies the proxy before the policy that names it and the binding, and clears it before the run pods' policy, which is the last policy to go; the operator chart gains the values and refuses enabled: false; the operator's Role does not change. The parity goldens move to adam-rs 7598255 (the env contract of a coder with run pods off did not move) with the proxy compared object by object in four cases. run-pods-e2e.sh gains the proxy's objects and a rewritten step 7 (the controls, the refusals of a direct connection, of the API server and of another pod, curl and npm through the proxy, example.com 403, the proxy's log, IPv6), and its coder pin moves to sha-7598255 (verified 2026-10-27 at ghcr.io). D15b's job has run green (run 40435825771, verified 2026-10-27). §60a gains the D15c built note (ten decisions for the owner to confirm: the allow-list is the deployment's, an image without adam-egress is documented and not refused, the proxy is no workload of the service, ...; what is proven and what only the job can prove), §93's egress question is answered for run pods, and §92 gains P-021. The new checks of the job are unverified until CI has run it. |
| 2026-10-27 | Admin dashboard v0, slice D15d (§60a, §59a, AD-031, P-022): the operator puts the coder's local git in a sidecar that holds no secret, as adam-rs did in its chart (issue #118; its ADR 0041 open decision 6, 05cda7f and 581aeed). With run pods the coder's pod gets a git-sandbox native sidecar of the agent's own image (the work volume at the coder's path, its socket's emptyDir and its own in-memory /tmp, nothing else: no Secret, no variable from a Secret, no token, a read-only root file system, a process namespace of its own), the account's token as a projected volume of the coder container alone (automountServiceAccountToken: false), and GIT_SANDBOX_SOCKET. aap-ports gains VolumeSource::Scratch, VolumeSource::AccountToken (which only the agent container may mount) and Container::read_only_root_filesystem; aap-domain reads runPods.gitSandbox (resources, tmpSize, maxCommands, with the coder chart's checks and no switch) and makes the sidecar, the volumes, the mounts and the variable for the workers alone; aap-runtime-kubernetes renders them and never automounts a token; the operator chart gains runPods.gitSandbox; the operator's Role does not change. The parity goldens move to adam-rs 581aeed (the three cases without run pods differ by the revision alone). run-pods-e2e.sh gains step 4b, adam-rs's sandbox checks applied to the pod the operator made (the sandbox holds no token, key, Secret or secret variable and sees none of the coder's processes; the coder container has them, as the control; a commit through the socket; the vendored vector run through the sandbox reads none of the five secrets and by plain git reads all five; the coder's own git worktree in the sandbox's log), and its coder pin moves to sha-581aeed (verified 2026-10-27 at ghcr.io). D15c's job has run green (run 40484065490, job 122121514621, verified 2026-10-27). §60a gains the D15d built note (eight decisions for the owner to confirm: no switch, the agent's image must contain adam-git-sandbox and is not refused, the pod never automounts a token, a size of zero refused, the roll, the work volume's path, the reserved names, the seccomp profile; what only CI can prove), §92 gains P-022, the D15 row, §59a's field table and the Risks gain D15d. The job ran green on the pull request (run 40520862547, verified 2026-10-27), and review refused a work volume mounted over /tmp. |
| 2026-11-14 | Slice K2, status on the shared kinds (§60a What the custom resources gain, §59a The operator chart, P-023): ModelEndpoint and ToolProvider get a status (SharedStatus: usedBy, at most 64 names sorted, usedByMore, and the conditions Accepted, InUse and AgentsReady) written by two new controllers only when it changes; aap-domain gains validate_endpoint and validate_provider, which share their rules with the inline forms; the operator's Role gains patch on modelendpoints/status and toolproviders/status and nothing wider (the four goldens move by that rule and its comment alone); the Platform API's GET /v1/models and GET /v1/tool-servers carry the status; the CRDs are regenerated. Proven by tests on the fake API server, the Memory and Kubernetes objects suites, the platform API and render-check.sh; api-e2e.sh gains a step that is unverified until CI has run it. |
| 2026-11-14 | Slice K2, review (§60a K2 review, §59a, P-023 amended): the token of a shared object is its kind, name, uid, generation and owner and no longer its resourceVersion (the operator's status writes made it stale: a save after any change was 412), held by a conformance case on the Memory port and the fake API server; a success answer of the Platform API names no agent to a person who may not read agents (usedByCount); the services' watches of the shared kinds ignore a change of the status alone; the two status controllers share one reflector pair (two watches and two caches more than the services' own), and a controller that does not stop in its grace is dropped with a warning; Accepted stands the object's name for the server's in a tool's name; a 404 on a status write is a warning with a back-off and says to install the CRDs chart first; a service being deleted counts as a user. The api-e2e.sh step that replaces a model with the token of its create is unverified until CI has run it. |
| 2026-11-14 | adam-rs removed its copy of this operator from main by its pull request 143 (its ADR 0046): this repository's operator is now the only one. crates/api/tests/vendored/UPSTREAM keeps the pin 4bc6742 and says the file is historical and never re-vendored; where the documents spoke of "adam-rs's operator" they say "adam-rs's former operator (removed, its ADR 0046)". Documentation and comments only. |
| 2026-11-15 | K14, gVisor, is back on the plan at the owner's request (§59c, new P-040): a sandboxed runtime class for run pods, named by the deployment and required by the admission policy, planned and not built; §59c is 8 of 16 increments, 50 %, where it was 8 of 15. The Talos extension's requirements are verified against its README; that user namespaces, BuildKit and Podman work under gVisor is unverified |
| 2026-11-15 | Slice K5, traces of the operator and the Platform API (new §48a, §48 and AD-015 amended, P-037 to P-039, §59c): two crates (aap-trace: a closed span API whose attributes are the variants of one enum, a bounded pipeline that never blocks, the SpanExporter seam with a testkit; aap-trace-otlp: OTLP/HTTP JSON on the workspace's reqwest 0.12, the OTEL_* settings, a test collector), one root span per reconcile pass with its steps as children and one SERVER span per request named by its route template with the two ports as children; no SDK, no tonic, no tracing bridge, no new third-party package (tools/check-dependencies.sh), no subject, no body, no header, no path, no agent name in the API's spans, no inbound traceparent; the chart's otel and api.otel, off by default with the five goldens unmoved, egress only to the named collector peers and the headers from a Secret file; 8 of 15 built, 53 %; the end-to-end step passed in CI (run 43732918179, job chain-e2e 132871058839, at cd225d2, verified 2026-11-15 in the job's log); the hand-mutation review of 2026-11-15 (150 mutations, 57 survived) was answered with tests that kill them, and pass::bounded is boxed on its own; the operator of a test build overflowed its stack on its first apply against a real API server (job operator-e2e, run 43729018894, at e1311b7), fixed by boxing the traced futures (cf3c794), and operator-e2e passed at cd225d2 (run 43732918096, job 132869222804, verified 2026-11-15); the DELETE span and the subjects check of step 6b/7 were added after that run (the pull request's own CI is their first run); a real backend other than the Collector and TLS to the collector are unverified. |
| 2026-11-14 | Slice K4, ServiceMonitors and metrics for the Platform API (§48, §59a The operator chart): aap_api_requests_total and aap_api_auth_failures_total on a metrics listener of the API (metricsListen), labels from closed sets; the chart's ServiceMonitors for the operator and the API, off by default (the goldens unmoved), with the API's metrics port opened only to api.metrics.allowFrom. |
| 2026-11-14 | Slice K1 (§59a, "K1: the CRDs are a superset of what adam-rs's former operator (removed, its ADR 0046) accepted"): the platform's CRDs read everything adam-rs's former operator (removed, its ADR 0046) accepted, so there can be one operator. AgentConfig gains model.extraBody (MODEL_EXTRA_BODY, the five members the runtime owns refused), model.echoReasoning (MODEL_ECHO_REASONING), model.contextWindow (MODEL_CONTEXT_WINDOW), coder.maxAccessTier (MAX_ACCESS_TIER; also a field of the coder form) and environment.cache.existingClaim (the user's claim at /cache); AgentService.interfaces.a2a gains adam-rs's CEL rule and its default of enabled. aap-ports gains VolumeSource::ExistingClaim (a new variant of a closed enum). Held by crd_reads_everything_adam_rs_accepts_except_the_listed_differences against adam-rs's CRD file vendored at bec3e32. The parity goldens move to adam-rs 4bc6742 and gain coder-cache, coder-tiers and coder-run-pods-cache (rendered with helm 3.16.3; the seven earlier cases differ by the revision alone); with run pods the run pod template mounts the cache and the admission policy admits its claim (claims, RunPodGuard::cache_claim). The new CEL has not been asked of an API server: unverified until run-pods-admission.sh has run with a cache. |
| 2026-11-14 | Slice K1, review (§59a K1, AD-049 to AD-051): the package cache is a claim the deployment lists (cache.allowedClaims, empty by default) and never one the operator makes; the access tier has a ceiling (maxAccessTier, auto by default; the API's defaults.maxAccessTier is the same); interfaces.a2a.enabled stays false when omitted; the admission policy falls back to claim for parameters written before K1; extraBody is bounded (64 members, 16 KiB) and its $ doubled; the CRD test compares every bound and lists its differences (maxProperties of mcpServers and extraBody, the default of a2a.enabled) and its vendored CRD is at the goldens' revision. Decisions for the owner to confirm are in §59a. |
| 2026-11-14 | Slice K0, the plan to a kagent-grade minimum (new §59c, P-024 to P-029): the increments K0 to K13 as a table with what a cluster operator gets from each, what it depends on, the proof it needs and its state (built: K1, K2, K4; void: K1b, because adam-rs removed its copy of this operator (its ADR 0046); on hold: K13, because the owner says the netcup cluster is down; the rest planned); what "kagent-grade" does not mean here, each line citing the decision it rests on (AD-009, AD-015, AD-016, AD-018, AD-020, AD-022, AD-024, AD-026, AD-032, AD-042, §59a); and six decisions for the owner as proposals, each with its alternative and what it blocks: the operator's egress to MCP servers (P-024, K3), a bring-your-own A2A image (P-025, K11), several namespaces with a Role in each (P-026, K6), a tool catalogue's images and licences (P-027, K10), aapctl (P-028, K9) and an OpenAPI document with an events route (P-029, K8). Documentation only. |
| 2026-11-14 | Slice K9, aapctl phase 1 (new §60b, P-028, §59c): a binary aapctl (bin/cli, package aap-cli) that needs no cluster and no network. validate -f reads AgentService, AgentConfig, ModelEndpoint and ToolProvider documents (files, directories, -) and judges each service as the operator does, with aap_domain::resolve and the operator's own flags and defaults (--default-agent-image, --run-pods-file, --activity-file since ANR-1030b, --max-access-tier, --cache-allowed-claims); one line per issue naming the file, the object and the field; exit 0, 1 for an issue, 2 for a usage or read error; --allow-missing-refs makes a referent that is not among the documents a warning. render -f prints what aap_runtime_kubernetes::render makes of each resolved service, the function the provider applies and its goldens are made with, as a YAML stream with the digest in a leading comment, and nothing when anything is invalid. A field the CRD's types do not have is an issue (what the types read back lacks what was written); CEL rules and the schema's bounds are the API server's and are not re-implemented. No Secret is read or printed. Proven by 30 tests of the built binary, render_matches_runtime_golden among them (byte for byte against the provider's goldens). The image and the charts do not change: aapctl ships in no image. Phase 2 (K9b) is planned and not built. |
| 2026-11-14 | Slice K8, an OpenAPI document and the Events of an agent's objects (§60a Events and the OpenAPI document, §59c, P-029): docs/api/platform-api-v1.openapi.json is OpenAPI 3.1, generated by aap_platform_api::openapi from the table of routes (paths, methods, x-permission) with the schemas written once by hand, and held equal to the code by a drift test; tests validate every answer of the router over the Memory ports, success and problem, against the schema of its route and status, require every documented status to be answered and every answer documented, and parse every request example with the real form type; GET /v1/openapi.json serves it and needs platform:agents.read; api openapi prints it; no dependency was added. GET /v1/agents/{name}/events answers the core/v1 Events about an agent's objects, newest first, at most 100, messages cleaned of control and bidirectional characters and cut at 1,024 characters, attributed by the names the operator gives an agent's objects (by uid for its own AgentService and AgentConfig; an event of another agent's object never appears, an unrelated object with the same name and shape can, and each event says by), with incomplete when the listing was cut; it is a new required method of the port, AgentObjects::agent_events (every implementer breaks), implemented by MemoryObjects and aap-objects-kubernetes, with four conformance cases, each broken on purpose in a faulty store; the API's Role gains list on the core events and nothing wider (rbac.yaml, the chart, the two goldens that render it); api-e2e.sh gains a step that is unverified until CI has run it, and the Event fixture is hand-written, unverified against a real API server. §59c's K8 row is built, §60a gains the section and its routes, §92's P-029 says what was built and the six choices for the owner to confirm. |
| 2026-11-15 | §59c gains a dated progress line and a table of what each remaining increment waits for: 6 of 15 built (K0, K1, K2, K4, K8, K9 phase 1), 40 % by count; K5 and K9b can start, K3, K6, K7, K10 and K11 wait for P-024 to P-027, K12 for adam-rs and the system, K13 for a cluster. Documentation only. |
| 2026-11-15 | Review of slice K9b-1 (§60b Phase 2, P-030 to P-035 amended): --if-match still reads the object and makes every check; every document's namespace is the API's and a service agrees with its config (exit 2); a server's form this release does not read whole is exit 5 before any write; the saved token goes only to its server; a plain-http loopback server is never reached through a proxy; any annotation and any label but the dashboard's is refused, and export leaves out what apply refuses; the terminal never receives a control (-o json escaped, export refuses); the config file is read through its descriptor (O_NOFOLLOW, owner, mode) and not read when not needed; delete --wait is bounded by its timeout and says what an orphan is; P-030's RFC 8252 §7.3 and RFC 7636 §4.2 claims verified 2026-11-15. 31 new tests of the binary and 6 of the client; no change to the API. |
| 2026-11-15 | Slice K9b-1, aapctl over the Platform API without the browser sign-in (§60b Phase 2, §59c, P-028 amended, P-030 to P-035): get agents, get models and get tool-servers (one name or the list; -o table, json, yaml or etag), apply -f, delete (--wait), export agent, whoami, logout and login --token-stdin, through a new crate aap-platform-client (crates/platform-client: a concrete reqwest 0.12 client with rustls and ring, the token in a type that cannot be printed, every write conditional, problem details read into a type, and a table of calls held to docs/api/platform-api-v1.openapi.json by a test that caught a status the client expected wrongly). apply reads each object first: a create compares the file's deployment part with the server's defaults (/v1/info) and refuses a difference, an object equal to the file's writes nothing, a replace sends the tag just read, a 412 is retried only when the form and the deployment are what was read (the operator's status writes move an agent's tag), a 409 already-exists is never a replace, and an object no form says (or a label, an annotation or a metadata member the API would drop) is refused whole before the first request. The token is AAPCTL_TOKEN or a 0600 file that others cannot read (refused otherwise), never an argument and never in any output. New exit codes 3 (stale or conflict), 4 (not allowed) and 5 (unreachable). Proven by 29 tests of the built binary against the real router over the Memory ports and 10 of the client, two rules broken on purpose; phase 1's tests pass untouched; api-e2e.sh step 6b passed in CI (run 43706119020, job api-e2e 132788532913, at 970afa0, verified 2026-11-15 in the job's log); its first run (run 43700696421) failed at the login sub-step for a fault of the script, a pipeline that ran the check in a subshell, fixed in 77d8e72. The browser sign-in is K9b-2, not built, and §59c says "6 of 15, and K9b in part". |
| 2026-11-15 | Slice K9b-2, aapctl login in the browser and the refresh token (§60b The browser sign-in and the refresh token, §59c, P-030 to P-032 amended to built, new P-036): OAuth 2.0 authorization code with PKCE (S256) for a public client on a loopback redirect (127.0.0.1 on a free port, bound before the URL is built; at most 64 requests, 8 KiB of head and no body), discovery that must name exactly the issuer asked for, a token request without a secret, the Platform API deciding whether the access token is good before it is kept; the refresh token in the 0600 file bound to its issuer, used once before a command when expiresAt is within 30 s and once after a 401 (never for a request that wrote), written only if the file is as it was read; logout forgets both tokens and revokes the refresh token once; whoami says how the token was obtained. aap_platform_client::oidc (concrete, no OIDC crate, reqwest 0.12), bin/cli/src/signin.rs, the testkit issuer's /authorize, /token and /revoke (nothing is issued until a test sets a login, so a pod cannot mint a token through them). 32 tests of the binary and 11 of the endpoints. §59c: 7 of 15 built, 47 %; K9b is built. Unverified: a real Keycloak, a real browser. |
| 2026-11-15 | Review of slice K9b-2 (§60b The browser sign-in and the refresh token, P-030, P-031 and P-036 amended; a blind read and 81 hand mutations, 24 of which survived): the browser is given a ticket link (/start/<ticket>, answered once with a 302, a second use ends the sign-in) and never the authorization URL, so no state is in a process list; login and whoami print who the token is; a token over 16 KiB is refused everywhere and save never writes what load refuses (a refresh could lock the person out), a file that is ours and unusable is replaced by login and removed by logout; discovery's endpoints follow the issuer's scheme, iss is held to RFC 9207 and a missing PKCE list is a note; refresh and logout and both logins are under an advisory lock on <file>.lock with the file read again under it (two processes spend one rotating token once), a failed refresh leaves the file and a token that has not expired is used; a refresh token a sign-in drops or replaces is revoked, best effort; the listener counts requests that were read, backs off a failing accept and is closed before the code is exchanged; the testkit's issuer for a pod mounts no sign-in route. 28 new tests of the binary (20 failed on the reviewed head), mutation survivors pinned. |
| 2026-11-15 | Round two of the review of PR 51 (§60b The browser sign-in and the refresh token, P-030, P-031 and P-036 amended): the ticket link protected only by timing, and the docs claimed more: another local user could read the link from the process list, request it first, sign in at the issuer and have the redirect reach the listener with the right state (PKCE does not stop a code bound to a leaked challenge), so on Linux the listener now serves only connections owned by the person's own uid (/proc/net/tcp; another uid gets a 403 that counts for nothing; fail closed; off, with a note, where the table cannot be read, and then the ticket is single use and --no-browser is the safe way) and the sentence that requiring PKCE makes a leaked state harmless is withdrawn; a file that is not aapctl's is never deleted or overwritten without --force (logout deleted a private key, login overwrote a kubeconfig), which renames it to <file>.unusable-<time>, and logout reads the file again under the lock; a second sign-in no longer revokes the earlier refresh token (RFC 7009 §2.1: it may end the new session; Keycloak unverified); one refresh attempt per command whatever its outcome; the lock is held while the issuer is asked, on purpose (stated with its cost); the 65th connection waits for a place; RFC 9207 §2.4 marked verified 2026-11-15. |
| 2026-11-16 | AD-052 (§92; §59c row K14): the owner decided P-040, gVisor for run pods and, by the owner's change, for the agents' own pods too (runPods.runtimeClassName and agent.runtimeClassName, each empty by default; required by the admission policy for run pods once named; image-build modes refused under a class until proven). Planned, not built |
| 2026-11-16 | AD-053 to AD-056 (§92; §59c rows K3, K6, K7, K10, K11): the owner accepted P-024 to P-027. The operator may reach listed MCP servers to list their tools (off by default, only the hosts the chart lists, no Secret read); a bring-your-own A2A image is a second harness type (amends AD-022 and AD-024); one operator may watch several namespaces with one Role in each, never a ClusterRole; a catalogue of read-only tool servers, each added only after the owner accepted its licence. Nothing is built: five slices can start. |
| 2026-11-18 | Slice K3a (§59c row K3, §59a The operator chart, AD-053; epic plat #344): the operator chart's toolProbe.to (NetworkPolicyPeers), .ports and .dns, and the operator's NetworkPolicy egress to exactly those peers on those ports, plus DNS. Empty, the default, and not a rule of it is rendered: the six goldens are byte for byte what they were. render-check.sh holds it (each new check broken on purpose); the probe, the status and the stub MCP server are K3b. |
| 2026-11-18 | Slice K3b, the MCP probe (§59c row K3, §60a The MCP probe of a ToolProvider, AD-053; epic plat #344): the new crate aap-tool-probe (initialize, notifications/initialized and tools/list over Streamable HTTP, a JSON or SSE answer, at most 5 pages, 1 MiB and 64 names; a stub server in its testkit and as an example for the kind end-to-end), the Reachable condition and probe in the SharedStatus (off by default, NeedsHeader when the provider names a header, no Secret read), the operator's TOOL_PROBE_ENABLED and TOOL_PROBE_TIMEOUT_SECS, the chart's toolProbe.timeoutSecs and its two variables, the regenerated CRDs, the API's schema and document, and api-e2e.sh step 6a (a stub on the runner probed through the chart's egress, read back through the deployed API). K3 is built: 9 of 16 increments. The api-e2e step passed in CI (run 44325222462, job api-e2e 134879022830, at 56fc23e, verified 2026-11-18 in its log: the stub at the runner's address, Reachable True with its three tools, and the header provider Unknown, NeedsHeader). |
| 2026-11-18 | Slice K6a (§59a The operator chart, §59c row K6, AD-055; epic plat #344): the chart's watchNamespaces (a list; watchNamespace is the one-namespace shorthand, not both), one Role and one RoleBinding per namespace with today's verbs, the run pods' Role in each, the admission policy's binding over all of them, and the run pods' settings, the admission policy and the PriorityClass once; the first namespace is the primary (the API's defaults.namespace, the run pods' cluster-scoped names and WATCH_NAMESPACE), and the operator binary watches it until K6b. Never a ClusterRole. render-check.sh holds it (each new check broken on purpose); the runpods golden moves by the policy binding's matchExpressions, the run pods' settings ConfigMap (now in the release's namespace, where the operator's pod mounts it) with its checksum, and the run-pods Role's header comment. Fixed in passing: the settings ConfigMap used to be rendered in the watched namespace, so a watchNamespace other than the release's left the operator's pod mounting a ConfigMap that did not exist in its own namespace (the run-pods shape could not start); it is in the release's namespace now, and no migration is needed because that shape never ran. |
| 2026-11-18 | Slice K6b (§59a The operator chart and Registry in v0, §59c row K6, AD-055; epic plat #344): WATCH_NAMESPACES, one controller and cache set per namespace (never a merged reflector), every cache synced before /readyz, a registry id shared by two namespaces listed for neither, and the namespaces-e2e kind end-to-end; the Listed condition still says True for both halves of a shared id (an owner decision). K6 is built: 10 of 16 increments. |
| 2026-11-19 | Slice K7a (§59a The operator chart, §59c row K7, AD-057; epic plat #344): the LeaderElection seam with its conformance macro, MemoryElection and aap-leader-kubernetes over a coordination.k8s.io/v1 Lease, the operator's passes gated on leadership (a follower writes nothing, keeps its caches and serves the registry), the chart's replicas (1 by default, six goldens unmoved), rolling update, PodDisruptionBudget, election variables and leases rule, and the seventh golden. K7a built; K7b (the kind e2e that kills the leader) is next. |
| 2026-11-19 | Slice K7b (§59a The operator chart, §59c row K7, AD-057; epic plat #344): the kind end-to-end of the leader election, deploy/operator/tests/e2e/leader-e2e.sh and the job leader-e2e of operator-image.yml (which push needs): two replicas elect a leader through a Lease; a holder SIGKILLed and its pod force-deleted (so it releases nothing) is replaced only after the lease expires (15 to 16 s, never before 10 s), leaseTransitions counted once, the survivor writes nothing in between (a new agent has no Deployment for 8 s) and its own registry still lists the fleet; the new holder reconciles what the follower parked (21 s); a holder stopped with SIGTERM passes the lease to another pod within 10 s (0 to 1 s); the leases rule asked of the real API server (resourceNames narrows get/update); no secret or token in the logs read or the answers. K7 is built: 11 of 16 increments; the end-to-end ran green on 2026-11-19 locally and in CI (job leader-e2e of runs 44458607529 and 44460925046, the second at the reviewed head). |
| 2026-11-19 | Slice K11a (§59a A bring-your-own A2A image, §59c row K11, AD-054): harness.type: a2a, an image that serves A2A itself, with image, port, cardPath, healthPath and env (each a value or a secretKeyRef); harness.adam and model become optional, model required of adam-rs by CEL, and the two harness blocks exclusive by CEL. resolve makes one workload (role All, the image's own entrypoint, the declared variables plus the service's A2A_BEARER_TOKENS, probes on the health path, no volume, no sidecar, no cache, no run pods) and keeps the store; Network::card_path carries the card's path so the registry's href is http://<svc>.<ns>.svc:<port><cardPath> (absent for adam, so no digest moves); validate refuses model, environment.image, environment.cache, environment.volumes, tools, extraEnv and split for a2a, naming the field. examples/a2a.yaml, the invalid examples of every new rule and bound, an a2a golden of the provider, and an a2a agent in namespaces-e2e.sh that becomes Ready and is listed. K11 is built: 12 of 16 increments, 75 %. The kind step is verified 2026-11-19 in job namespaces-e2e of run 44487393662 (job 135436059044): the a2a agent gamma became Ready in 6 s with its store, the registry listed it at http://gamma.aap-e2e-ns-a.svc:8080/.well-known/agent-card.json, its container ran the image's entrypoint with exactly its two variables (one literal, one secretKeyRef), no volume and no sidecar, and probed /healthz; the CRDs, with their CEL, were installed on that real API server; the model, the store's DATABASE_URL not reaching the pod, the uid and the probe path are decisions for the owner in the pull request. |
| 2026-11-19 | Slice K11b (§60a Screens, §59c row K11, AD-054; epic plat #344): the a2a harness is a form of the Platform API, so the dashboard and aapctl can make and edit an image that serves A2A itself instead of showing it as YAML only. aap-forms: AgentKindForm::A2a(A2aSettings) (image, port, card path, health path, variables as a value or a SecretPick, never both), AgentForm.model becomes Option<ModelChoice> (required of a coder and of a folder agent, absent on an A2A image, refused on one that carries it), A2aDefaults (defaults.a2a.resources) and an A2A sample in Defaults::check(), the read-back of harness.a2a, the field mapping of every new rule and spec.tools as a whole, and examples/a2a.yaml loses a publicUrl: "" that said the same as absent so that it is a form. aap-platform-api: kind: a2a in GET /v1/agents, the OpenAPI document's AgentForm (model nullable, A2aSettings and A2aEnvForm in the agent union, defaults.a2a in GET /v1/info), regenerated. Proven by cargo test (the round-trip property over arbitrary forms now draws A2A forms; an A2A form that names a model, the adam image, tools or the plain-http allowance still round-trips; each new rule of the A2A screen names its field; the secret-pick property counts every pick of every arm; the acceptance property still holds), the router's create of an A2A agent with kind: a2a and its 422 on a model, aapctl apply creating one and then writing nothing, and the OpenAPI tests. No section is added or renumbered. |
| 2026-11-19 | Slice K10a (§59a Tool providers, §59c row K10, AD-056; epic plat #344): the catalogue's first example, examples/toolproviders/kubernetes.yaml — containers/kubernetes_mcp_server pinned by tag and digest, read_only = true and the core toolset, the view account, a NetworkPolicy that admits the namespace on 8080 and reaches the API server, and a ToolProvider naming only the server's read-only tools; the three licences accepted by the owner, recorded in third-party-notices.md, and crates/domain/tests/tool_catalogue.rs holding the claims. K10b, K10c and the kind end-to-end remain. |
| 2026-11-19 | Slice K10b (§59a Tool providers, §59c row K10, AD-056; epic plat #344): the catalogue's second server, examples/toolproviders/prometheus.yaml — ghcr.io/pab1it0/prometheus-mcp-server:1.4.2 pinned by tag and digest (verified 2026-11-19 at ghcr.io), the HTTP transport on the image's own default bind (0.0.0.0:8080), the image's /health as its probe, PROMETHEUS_DISABLE_LINKS and a request timeout, automountServiceAccountToken: false and no Role or RoleBinding (the server reads a Prometheus and not the cluster), a read-only root file system with an emptyDir at /tmp, a NetworkPolicy whose ingress is the namespace on 8080 and whose egress is that Prometheus (monitoring on 9090) and DNS, and a ToolProvider whose allow-list is the server's five query and discovery tools and not health_check. crates/domain/tests/tool_catalogue.rs now keys its read-only claims by the image the file runs (SERVERS), so an allow-list is held to its own server's documented tools and a file whose image has no row fails; both guarantees shown to fail by mutation. third-party-notices.md records the MIT licence. K10c and the kind end-to-end remain. No section is added or renumbered. |
| 2026-11-19 | Slice K10c (§59a Tool providers, §59c row K10, AD-056; epic plat #344): the catalogue's third server, examples/toolproviders/github.yaml — ghcr.io/github/github-mcp-server:v2.2.0 pinned by tag and digest (verified 2026-11-19 at ghcr.io), the image's http subcommand with --read-only and --toolsets repos,issues,pull_requests, no credential in the pod at all (the server takes the caller's token from Authorization: Bearer and answers 401 without it), the token named by reference in the ToolProvider's header, no service account token, TCP probes (the server has no health route), egress to api.github.com on 443 and DNS, and sixteen read tools. crates/domain/tests/tool_catalogue.rs gains a second guarantee — every server is told to refuse its own writes (read_only = true, --read-only, or nothing where every tool reads) — and both new checks were shown to fail by mutation. third-party-notices.md records the MIT licence. The kind end-to-end remains. No section is added or renumbered. |
| 2026-11-19 | The owner's decision on K11b (§60a, the Amended 2026-11-19 (K11b) note): defaults.a2a.resources is accepted — an A2A image's resources come from a block of its own, and not from the folder agent's. The note no longer asks; there is no AD of its own, the shape being the dashboard's configuration. Documentation only. |
Contents ​
| File | Sections |
|---|---|
| Overview | §1, §2, §3, §4, §5 |
| Domain model and release channels | §6, §7, §8, §9, §10, §10a |
| Interfaces: APIs, discovery, routing and invocation | §11, §12, §12a, §12b, §13, §14, §43, §44, §45, §71, §72, §73, §74 |
| Multi-agent work, workflows, verification and budgets | §15, §16, §17, §17a, §69, §70, §84, §85 |
| Runtime, runs, leases and scale-to-zero | §18, §19, §20, §21, §21a, §22, §23, §24, §25, §26, §42, §64, §65, §80 |
| Environments, storage, caches and worktrees | §27, §28, §29, §30, §31, §54, §55, §81, §82 |
| Tools | §32, §33, §34, §35, §36 |
| Security, identity, credentials and tenancy | §37, §38, §39, §39a, §40, §41, §51, §52, §53, §68, §75, §76, §77, §83 |
| Artifacts, observability, lifecycle, reliability and quotas | §46, §47, §48, §48a, §49, §50, §66, §67, §78, §79, §86 |
| Control plane, CRDs, operator and UI (§59a K1, §59a Releases, §60a status of the shared kinds, §60a Events and the OpenAPI document, §60a Screens (the A2A form, K11b), §60b Phase 2) | §56, §57, §58, §59, §59a, §59b, §59c, §60, §60a, §60b, §61, §62, §63, §87, §88, §89, §90 |
| Decisions and open questions | §91, §92, §93 |
| Deployment, summary and success criteria | §94, §95, §96, §97, §98, §99, §100 |
Section index ​
Cross-references in the text use the original section numbers (§N).
| § | Section | File |
|---|---|---|
| 1 | Executive Summary | 01-overview.md |
| 2 | Goals | 01-overview.md |
| 3 | Non-Goals | 01-overview.md |
| 4 | Architectural Principles | 01-overview.md |
| 5 | High-Level Architecture | 01-overview.md |
| 6 | Core Domain Model | 02-domain-model.md |
| 7 | AgentService | 02-domain-model.md |
| 8 | AgentConfig | 02-domain-model.md |
| 9 | AgentRevision | 02-domain-model.md |
| 10 | Release Channels | 02-domain-model.md |
| 10a | Release channels and rolling upgrades: the plan | 02-domain-model.md |
| 11 | Agent API Surfaces | 03-interfaces.md |
| 12 | API Discovery | 03-interfaces.md |
| 12a | Release-Channels A2A Extension | 03-interfaces.md |
| 12b | Agent Registry | 03-interfaces.md |
| 13 | Metadata Plane vs Execution Plane | 03-interfaces.md |
| 14 | Responses API | 03-interfaces.md |
| 15 | A2A and Multi-Agent Work | 04-workflows.md |
| 16 | Durable Multi-Agent Workflow | 04-workflows.md |
| 17 | Restate Responsibilities | 04-workflows.md |
| 17a | WorkflowProvider | 04-workflows.md |
| 18 | Runtime Controller Responsibilities | 05-runtime.md |
| 19 | AgentRun | 05-runtime.md |
| 20 | AgentLease | 05-runtime.md |
| 21 | Scale-to-Zero | 05-runtime.md |
| 21a | Sleep when idle: the plan | 05-runtime.md |
| 22 | RuntimeProvider | 05-runtime.md |
| 23 | Native Kubernetes Runtime | 05-runtime.md |
| 24 | Coder Runtime | 05-runtime.md |
| 25 | Coder Architecture Trade-Off | 05-runtime.md |
| 26 | Agent Runtime | 05-runtime.md |
| 27 | AgentEnvironment | 06-environments-and-storage.md |
| 28 | Volumes | 06-environments-and-storage.md |
| 29 | Shared Project Storage | 06-environments-and-storage.md |
| 30 | Dev Containers | 06-environments-and-storage.md |
| 31 | Environment Builder | 06-environments-and-storage.md |
| 32 | ToolProvider | 07-tools.md |
| 33 | ToolUniverse | 07-tools.md |
| 34 | ToolUniverse Composition | 07-tools.md |
| 35 | Internal Tools vs Caller-Supplied Tools | 07-tools.md |
| 36 | MCP Exposure | 07-tools.md |
| 37 | SecurityProfile | 08-security.md |
| 38 | Secrets Model | 08-security.md |
| 39 | Credential Broker | 08-security.md |
| 39a | Connections, user MCP servers and the credential broker | 08-security.md |
| 40 | SPIFFE / SPIRE | 08-security.md |
| 41 | EAIG | 08-security.md |
| 42 | Scale-from-Zero Request | 05-runtime.md |
| 43 | Routing | 03-interfaces.md |
| 44 | Per-Agent Service Identity | 03-interfaces.md |
| 45 | OpenAPI and Documentation | 03-interfaces.md |
| 46 | Artifacts | 09-operations.md |
| 47 | Artifact Architecture | 09-operations.md |
| 48 | Observability | 09-operations.md |
| 48a | Traces of the operator and the Platform API (K5; P-037 to P-039) | 09-operations.md |
| 49 | End-to-End Trace | 09-operations.md |
| 50 | Logs | 09-operations.md |
| 51 | Human Authentication | 08-security.md |
| 52 | RBAC and ABAC | 08-security.md |
| 53 | Multi-Tenancy | 08-security.md |
| 54 | Project-Level Shared Runtime State | 06-environments-and-storage.md |
| 55 | Side Services | 06-environments-and-storage.md |
| 56 | CRD Inventory | 10-control-plane-and-crds.md |
| 57 | Things That Should Probably Not Be CRDs | 10-control-plane-and-crds.md |
| 58 | CRD Reference Model | 10-control-plane-and-crds.md |
| 59 | Operator Design | 10-control-plane-and-crds.md |
| 59a | Operator v0: adam-rs agents (K1: the CRDs read adam-rs's, the cache allow-list, the tier ceiling: AD-049 to AD-051; K2: P-023; Releases: AD-070, P-041) | 10-control-plane-and-crds.md |
| 59b | The run pool: pods where work runs | 10-control-plane-and-crds.md |
| 59c | Operator increments (kagent-grade minimum) (K0: the plan; P-024 to P-040; K1 to K11 built (K1b void), K14a built and K14b closed, K12 and K14c/d planned, K13 on hold; 13 of 16) | 10-control-plane-and-crds.md |
| 60 | UI Architecture | 10-control-plane-and-crds.md |
| 60a | Admin dashboard v0 (K2: status of the shared kinds, P-023; K8: the OpenAPI document and the Events of an agent, P-029; K11b: the A2A form) | 10-control-plane-and-crds.md |
| 60b | CLI (K9: aapctl validate and render, offline; K9b-1: get, apply, delete, export, whoami, login --token-stdin over the Platform API; K9b-2: login in the browser (PKCE) and the refresh token; P-028, P-030 to P-036) | 10-control-plane-and-crds.md |
| 61 | Draft → Revision → Promotion UX | 10-control-plane-and-crds.md |
| 62 | API / CRD Versioning | 10-control-plane-and-crds.md |
| 63 | Provider Interfaces | 10-control-plane-and-crds.md |
| 64 | Scheduling and Admission | 05-runtime.md |
| 65 | Resource Classes | 05-runtime.md |
| 66 | Lifecycle and Garbage Collection | 09-operations.md |
| 67 | Events | 09-operations.md |
| 68 | Agent-to-Agent Security | 08-security.md |
| 69 | Small-Model Agent Fleets | 04-workflows.md |
| 70 | Example Large Coding Task | 04-workflows.md |
| 71 | Conversation and Response State | 03-interfaces.md |
| 72 | Streaming | 03-interfaces.md |
| 73 | Canonical Invocation Model | 03-interfaces.md |
| 74 | Compatibility Policy | 03-interfaces.md |
| 75 | Security Boundaries | 08-security.md |
| 76 | Egress Policy | 08-security.md |
| 77 | Supply-Chain Security (the platform's releases: AD-070) | 08-security.md |
| 78 | Reliability Principles | 09-operations.md |
| 79 | Failure Example | 09-operations.md |
| 80 | Runtime Cold Starts | 05-runtime.md |
| 81 | Caches | 06-environments-and-storage.md |
| 82 | Project Worktrees | 06-environments-and-storage.md |
| 83 | Git Integration | 08-security.md |
| 84 | Verification | 04-workflows.md |
| 85 | Budgets | 04-workflows.md |
| 86 | Quotas | 09-operations.md |
| 87 | Suggested CRD Status Pattern | 10-control-plane-and-crds.md |
| 88 | Possible AgentService State | 10-control-plane-and-crds.md |
| 89 | Possible AgentRun State Machine | 10-control-plane-and-crds.md |
| 90 | Naming | 10-control-plane-and-crds.md |
| 91 | Architecture Decision Summary | 11-decisions.md |
| 92 | Proposed Decisions | 11-decisions.md |
| 93 | Open Architecture Questions | 11-decisions.md |
| 94 | Possible Deployment | 12-summary.md |
| 95 | Minimal System Explanation | 12-summary.md |
| 96 | Minimal Architecture Diagram | 12-summary.md |
| 97 | Example End-to-End Coding Flow | 12-summary.md |
| 98 | Design Philosophy | 12-summary.md |
| 99 | Success Criteria | 12-summary.md |
| 100 | Final Architecture Statement | 12-summary.md |
| 2026-11-19 | Slice K14a (§59a The operator chart, §59c row K14, AD-052): the half of K14 that needs no cluster — gVisor as a sandboxed RuntimeClass for run pods and for the agents' own pods, named by the deployment and empty by default, and then not a trace in any render (the seven goldens byte for byte what they were). The chart's agent.runtimeClassName and runPods.runtimeClassName with their refusals; AGENT_RUNTIME_CLASS and --agent-runtime-class; Externals::agent_runtime_class, Workload::runtime_class_name and RunPods::runtime_class_name, skipped when unnamed so no digest moves; the pod template of every workload (both harnesses) and the run pod template; and the admission policy's tenth rule, which requires the class once named (the parameter the operator writes, the chart's value as the fallback). The RuntimeClass object is the administrator's and is never rendered. Proven by the domain and runtime tests, render-check.sh (604 checks, each new check broken on purpose) and the admission script's new cases (unverified until a cluster runs it). AD-052 decision 3 (the build modes Build/Engine) has no field to read here and is not built; K14b — a kind node with runsc and a pod under it — remains. No section is added or renumbered. | |
| 2026-11-20 | Slice K14b, closed as the admission half by the owner's decision of 2026-11-20 (§59a The operator chart, §59c row K14, AD-052): the proof K14b carries is the rendering and the admission refusals — the two chart values, the pod templates that carry the class, the policy's tenth rule, and run-pods-admission.sh's refusals asked of a real API server and run in-cluster by run-pods-e2e.sh. A sandbox start under runsc is not proven, and the docs say so: measured on a throwaway kind cluster (kindest/node v1.37.0, containerd 2.3.4, a privileged node with every capability and /dev/kvm visible), gVisor release-20261116.0 installs and its handler registers, but a pod under the RuntimeClass fails with configuring device cgroup: loading device filter: operation not permitted — runsc attaches an eBPF device filter to a cgroup it creates, and a kind node's cgroup namespace root holds the node's own processes, so cgroup v2's "no internal processes" rule refuses a child there; the shim's options.Config did not deliver runsc's -ignore-cgroups in either spelling. K14 stays one of the sixteen (12 of 16, 75 %), its gVisor line partial in M10 (sys#406); K14c and K14d stay planned with the sandbox start to prove on a node that is not a container. Documentation only. No section is added or renumbered. | |
| 2026-11-21 | Slice K10's kind end-to-end (§59c row K10, AD-056): deploy/operator/tests/e2e/k10-e2e.sh, the job k10-e2e of operator-image.yml (which push does not need), the scripted model k10-model.js with five node --test tests, k10.yaml, k10-support.yaml, k10.values.yaml, three checks of render-check.sh (each broken on purpose) and the section of deploy/operator/tests/e2e/README.md. The script applies the catalogue's Kubernetes example as it stands (its namespace and its one cluster-scoped name made the run's), installs the chart with toolProbe on, and runs a folder agent (adam-agent, the coder's pin) whose model asks for kubernetes__pods_list_in_namespace: the provider is Accepted (Valid), Reachable: True (Probed) with the server's 14 tools, InUse with usedBy: [k10] and AgentsReady: AllReady; the operator's mcp.json holds the provider's URL and exactly its 11 tools, sorted; the tool's answer (the namespace's pods) reaches the model, which answers K10-PROBE <ns> found <pod>; the deletion leaves no object of the service and the provider names no agent; no secret and no panic is in any log. K10 is built: 13 of 16 increments, 81 %. Verified 2026-11-21 by the whole script on a throwaway kind cluster (kindest/node v1.35.8; the operator image made from this tree's binary — a debug build, the release image being CI's — and the coder's pin, the catalogue's image and Postgres pulled by the kubelet), and by the model's node --test and shellcheck; the job k10-e2e is unverified until CI has run it. No section is added or renumbered. | |
| 2026-11-25 | AD-058 accepted by the owner; row P1 built: scaling.idleTimeout, wakeAhead, wakeTimeout and the phase Sleeping, off by default. | |
| 2026-11-24 | New §21a, the plan for sleep when idle (an agent's workload scales to zero and wakes on the next request), and AD-058, with a slice table across plat and adam. Documentation only, nothing built. | |
| 2026-11-25 | New §10a, the plan for release channels and rolling upgrades (a run kept on the version that started it), and AD-059, with a slice table across plat and adam built on adam's ADR 0076. Documentation only, nothing built. | |
| 2026-11-25 | New AD-060 and docs/api/usage-ingest-v1.md, and the crate aap-usage (slice 1 of the usage ingest, ANR-728): the pod-minute CloudEvent, idempotent on (source, id), spend per account and node type by ingestion window with a lag and no rate; the UsageStore port, its conformance testkit (eight rules, each broken on purpose once) and an in-memory fake. The binary, the database adapter and the chart are not built. | |
| 2026-11-25 | New AD-061 (ANR-329): every run pod size class carries CPU and ephemeral-storage limits (the chart refuses a class without them), the run pods' admission policy gains a tenth rule requiring a memory, CPU and ephemeral-storage limit on every container, and the operator's template gives its tools init container the same; §59a and §65's size class text follow. The agents' own pods and the LimitRange are not in it. | |
| 2026-11-25 | AD-052 amended (ANR-402): a run pod size class may name its own RuntimeClass, replacing the deployment's for that class's pods; the operator writes the one value into the template and the guard's parameter, the policy's rule follows it, and Build/Engine are left alone with a test because coder.runPods has no build mode. §59c row K14 follows. Nothing moves when no class is named. | |
| 2026-11-26 | ANR-404 (§59c row K14, §60a nothing, AD-052 amended): deploy/operator/tests/e2e/gvisor-k3d.sh and gvisor-k3d.yaml (held by bin/operator/tests/e2e_gvisor_fixture.rs) and the non-gating workflow gvisor-k3d.yml (a workflow of its own; operator-image.yml is unchanged). Measured in a local k3d cluster on a rootless Docker, 2026-11-26 (saved log of one end-to-end run: gVisor release-20261116.0, k3s v1.35.5, containerd 2.2.3-k3s1): a run pod of the operator's template ran under runsc (dmesg: Starting gVisor..., the plain pod's: klogctl: Operation not permitted), admitted by the policy as the agent's account, and run-pods-admission.sh held on that API server; the volume and exec work; hostUsers: false with the class did not start on that setup (the runc control also failed: a real node is untested); rootless BuildKit and Podman fail under the template's own security context, BuildKit builds and Podman 5.8.9 builds (not run; Podman 6.2.0 fails on cgroup v1) under a relaxed pod the policy refuses to the account; one tiny build, in that nested setup, took 2.37 times as long under runsc as under runc (median of six); and under ignore-cgroups runsc did not enforce a pod's memory or CPU limits (runc did), so that start is not production-equivalent. On a hosted runner the workflow ran too (run 45889453084, verified 2026-11-26): sandbox start and admission verified, limits not enforced under ignore-cgroups. §59c row K14 and the paragraph after it carry the numbers and the failing steps; AD-052 gains an amendment and one question for the owner. No section is added or renumbered. | |
| 2026-11-26 | New AD-062 (ANR-843): the Platform API speaks application/cbor as a second media type of the same schemas (one negotiation layer, 406/415, Vary: Accept, equal values and ETag across encodings, the OpenAPI document lists both), aap-platform-client and aapctl --encoding cbor opt in; JSON stays the default. | |
| 2026-11-26 | New AD-063 (accepted 2026-11-26; documentation only, nothing built; the owner's direction of 2026-11-26, system ADR 0101): off by default, the operator renders a run's signer, in-process (adam) or a run-signer native sidecar, the agent's own service account and a projected token for the issuer's audience that only the signer mounts (a new VolumeSource variant), egress to the gateway and the broker, and two optional registry attributes (workload, signing); the operator holds no key, certificate or Secret (AD-024 holds); a2a harnesses are out of scope. AD-062 is claimed by an open pull request. | |
| 2026-11-26 | New AD-064 (ANR-962): operator run reads one configuration file (--config, default /etc/aap-operator/config.yaml) and every setting is a key of it — version 1, listen, watch.namespaces (the first is the primary), reconcile, registry.token (a { file } or { env } reference), defaults, runPods (the separate file is gone), toolProbe, retention, leaderElection, activity (AD-058 P2c, folded in from #109), log.filter and telemetry.otlp — with an unknown key refused at every level and POD_NAME/POD_NAMESPACE/HOSTNAME still the downward API's; run --check exits 0 or 78 (EX_CONFIG), a secret is a reference and a message never quotes one, aap-trace-otlp gains OtlpSection (from_env stays for the other two binaries), and the chart renders the file into a ConfigMap with one checksum/config, runs args: [run, --config, …], mounts the token and the trace headers, and has render-check.sh run operator run --check on every golden render. The file's JSON Schema is committed (bin/operator/config.schema.json, operator schema) with a drift test and a test that every object refuses unknown keys. §59a's operator settings follow; the seven goldens moved. The kind jobs are unverified until CI has run them. | |
| 2026-11-26 | AD-063 amended (the owner's answers of 2026-11-26 to the open questions of system ADR 0101): the PKI is one shared agents intermediate with the person and the run in each run's leaf (an intermediate per person is a rejected alternative: one issuer per mount, one CRL per issuer, no isolation since one service issues for all), and the orchestrator signs its own model calls with its own certificate; decisions 1 to 9 stand, nothing built. | |
| 2026-11-26 | New AD-065 (ANR-1010, part A of ANR-807; the owner's workload-certificate decision, accepted the same day): the Platform API gains a second, additive ClientAuthenticator seam for workload certificates — a chain to one configured CA bundle, the client-authentication EKU (required, not required-if-present), the validity window, and exactly one URI SAN mapped to platform:agents.own and nothing else (refused at load), with client_authenticator_conformance! and a checked-in test CA. The URI SAN is read with x509-parser (the owner's choice; rustls-webpki exposes none), which adds asn1-rs/oid-registry/time and no TLS stack. The mTLS listener and the chart are ANR-1011's; the CRL the workload-certificate decision asks for is not in this slice. | |
| 2026-11-26 | New AD-066 (ANR-660): a run pod size class has a size weight (the larger of requests.cpu / 1 vCPU and requests.memory / 2 GiB, exactly one of 0.25, 0.5, 1, 2, 4, 8, held as quarter-units; a class off the grid, or without requests.cpu or requests.memory, is refused, which reverses AD-061 decision 4's "no new required key"), shown as an annotation on the run pod template; and runPods.nodeType pins run pods to the node types the deployment admits (off by default and then not a trace; a required node affinity in every term, an eleventh admission rule, last). Run pods only (ANR-1045 is the agents' pods), the pod-minute event's unit untouched (ANR-1046); admission cannot read Node labels, so the rule proves a pod is pinned and honest labels are the administrator's. §59a/10's runPods.sizeClass bullet refers to it. | |
| 2026-11-27 | New AD-068 (ANR-1011, part B of ANR-807; the owner's workload-certificate decision (a workload certificate, only platform:agents.own, no fall-back between listeners)): the Platform API serves workloads on a second, mutual-TLS listener (workloadListener, workloadClients; off unless both are set) that mounts only the owner routes (platform:agents.own) behind the ClientAuthenticator of AD-065, with NoBearer in the bearer slot so neither listener falls back to the other; the handshake verifies against the same CA bundle (always required: the owner removed clientAuth: optional on 2026-11-27), the authenticator still requires the EKU and the exact URI SAN; the server certificate and the client CA bundle are re-read when their files change (no restart); the chart's api.workload is off by default with no golden moved. The CRL the workload-certificate decision asks for is not built. The kind end-to-end and a real PKI are unverified. | |
| 2026-11-27 | §21a: P3b built (ANR-762), the activator as a library crates/activator over the new ports Waker, Upstream and CardSource; two premises of the row corrected (the registry holds no card body; a scheduled wake needs a persisted nextDueAt, ANR-1067). No new AD: it implements AD-058. | |
| 2026-11-27 | §21a: the activator streams its answers (ANR-1069): the Upstream port returns the head and a BodyStream, stream_idle_timeout and a stream error end a stream with the connection, the max_in_flight permit is held until the stream ends. No new AD: it implements AD-058. | |
| 2026-11-27 | §21a: ANR-1030a (AD-058), the render half of the agent's activity listener: with Externals::activity set and scaling.idleTimeout on an adam-rs agent, the Service-selected workload's agent container gets ACTIVITY_LISTEN_ADDR, ACTIVITY_BEARER_TOKENS (a deployment-wide Secret reference, ANR-Q142 decided 2026-11-27) and a port activity, the Service a port, and the NetworkPolicy a second rule for the operator alone (one peer entry with both selectors; a policy even with an empty allowFrom). Inert until ANR-1030b and ANR-1200; every existing golden and digest unmoved. | |
| 2026-11-27 | §21a: ANR-1030b (AD-058), the operator's wiring of the activity listener: compose hands the HTTP source to Operator::with_activity and Options::activity sets the same listener on every spec; activity.port defaults to 8081 (8080 and below 1024 refused, ANR-Q143), one bearer without a comma, agentTokensSecret and operatorPod required while enabled (the chart renders them), an a2a agent with idleTimeout is skipped by the idle loop with one NeverSleeps Event, and the stale agent policy is kept until the rollout is done; RuntimeSpec::check refuses an activity port on any sidecar and any unselected workload; aapctl render --activity-file. Not proven: a CNI, a coder with the listener (ANR-1200). | |
| 2026-11-27 | New AD-067 (ANR-1074, the owner's ruling of the day): Helm 4 only and Kubernetes 1.37 minimum, a hard cutover. HELM_VERSION v4.3.2 everywhere, no Helm 3 path and no dual testing (render-check.sh refuses another major version; its seven goldens move by one trailing blank line per document, the ten parity goldens by source.helm alone); both charts say kubeVersion: ">=1.37.0-0" (the CRDs chart had none), asserted by render-check.sh (1.36.0 refused, 1.37.0 and v1.37.2-k3s1 accepted); kind kindest/node:v1.37.0 by digest with kubectl v1.37.2 at all twelve kind sites, kubeconform at 1.37.0, k3s v1.37.2 and kubectl v1.37.2 in gvisor-k3d; CloudNativePG moves to the preview v1.31.0-rc1 (the owner's ruling; ANR-1081 moves it to a GA); the deployment cluster's version is the owner's statement, not checked. §59a and §59c state the floor, the live docs follow, dated records are left as written. Every CI job of it is unverified until the pull request's CI has run. | |
| 2026-11-27 | New AD-069 (ANR-673 slice 1, the owner's three decisions of the day): the platform provides OpenTelemetry only. The usage ingest is removed (bin/usage-ingest, crates/usage-postgres, docker/usage-ingest, the chart's usageIngest, the usage-ingest mode of bump-tag.sh, and their CI jobs); aap-usage's UsageStore is gone and the port is UsageSink::send (never waits on a network) beside AccountSource (an opaque broker id, never an e-mail); the event carries weightQuarters, podKind run or agent and a minute; the pod-minute meter is built behind fakes (crates/controller/src/metering.rs pure, meter.rs, Operator::with_meter, off by default and not wired into operator run): a minute counts if the pod was Running at any instant in it, a pod finished while the operator was down ends at its last finishedAt, backfill is 24 h, the node type is read from the injected required node affinity when exactly one value is admitted, an agent pod has no weight yet and makes no line, and four counters say what was dropped; a review the same day added the close of a vanished pod, the skew margin (a minute not over is never sent), the start anchor, the retry of an unknown account and a fair share of the per-pass cap. The wire (OTLP/HTTP JSON logs) and the follow-up cards are in the AD; AD-060 and docs/api/usage-ingest-v1.md are amended, not deleted. | |
| 2026-11-27 | AD-069 amended (ANR-1102): the OTLP logs adapter crates/usage-otlp (aap-usage-otlp) is built. send queues (bounded, never waits), a transient failure keeps the batch and resends the same bytes with a capped jittered backoff, a permanent 4xx drops that batch and counts it, shutdown(deadline) flushes; not wired into operator run (ANR-1103), unverified against a real Collector (ANR-1101). | |
| 2026-11-27 | AD-069 amended (ANR-1160): the meter knows a run pod by its annotation adam.vymalo.com/run-id, the run's full id, and never by the label adam.vymalo.com/run, which is the id's 12-digit hash; a run pod without the annotation, or with one the line's text rule refuses, is no-identity. The note that waited on ANR-1099 is closed: the system's broker answers GET /internal/runs/{run}/account with the person's identity-provider sub, also for 24 h after the run ended (verified 2026-11-27 at another-agentic-system 4e942d20, #619). The broker's account source is still not built here. | |
| 2026-11-27 | AD-069 amended (ANR-1103): the meter is wired into operator run, off by default: the file's metering section, aap-usage-broker (the HTTP AccountSource of a run pod: one percent-encoded path segment, 400/404/422 no account, anything else held), the chart's metering (a ninth golden, the bearer as a mounted file, egress to the listed peers only). Agent pods still have no account source (ANR-1100); the meter is not to be enabled in a deployment before ANR-1198. | |
| 2026-11-27 | AD-069 amended (ANR-1151, part 1): the meter tracks the collector's acknowledgements. UsageSink::outcomes (additive, default None), the OTLP sink reports Delivered on a 2xx and Refused on a permanent refusal, the meter keeps each handed-over minute pending until then (Meter::acknowledged_through) and counts aap_meter_{delivered,refused,unacknowledged}_total. It does not hold back what is sent, and a crash or failover still loses the minutes of a pod that vanished with minutes queued: the durable part is ANR-1198 (the owner chose to persist the meter's facts); metering.enabled stays off until then. | |
| 2026-11-27 | AD-069 amended (ANR-1198, ANR-1151 part 2): the meter persists the facts of a vanished pod as a tombstone in a ConfigMap aap-meter-tombstones-<namespace> in the operator's own namespace (not the tenant's: forged or deleted records; refused unless the operator's own), written once before anything is sent, read again every pass (overlapping leaders), deleted on acknowledgement or after 24 h; failure is per namespace; at most 512 per namespace, then metered from memory and counted; records an older replica cannot read are kept. A finalizer on the pods was weighed and not chosen. No new Role verb. aap_usage::TombstoneStore (a new seam with a four-rule testkit). metering.enabled may be turned on once the collector's event_id dedupe spans 24 h (ANR-1101), with the residual list in the amendment. | |
| 2026-11-27 | §59c, rows K5, K6, K8 and K14: four unverified until CI has run it notes are now verified — the green main run 45973874969 at 36ca2e0 ran the DELETE span check of chain-e2e, the namespaces-e2e job, the Events step of api-e2e and run-pods-admission.sh in kind; the section index's §59c row said 12 of 16 and now says 13 of 16, as §59c does. The root README.md gains a features table with a status per row. Later the same day: §59c's lead line gains a dated note (13 of 16), row K6 names the setting as the file key watch.namespaces (since AD-064), and every mention of a private repository and its ADR numbers is gone from the public files: AD-065 and AD-068 (with this history's two rows of them) now say "the owner's workload-certificate decision" and cite AD-065 or AD-068 instead, the link to that repository and a private tracker reference in AD-065 are removed, and AD-060 says "a usage service of an operator's backend"; the code comments, READMEs and chart comments that cited that ADR cite AD-065 or AD-068. Documentation only. | |
| 2026-11-27 | New AD-070 and P-041 (ANR-1155, the owner's words of the day: "a similar flow for all of them. In prod we'll deploy only fixed versions like that"): releases, the release-please flow of vaam-apps/vpay. One version for the workspace and both charts (the manifest seeded at 0.1.0, never tagged; # x-release-please-version markers; tools/check-release-version.sh); release-please.yml with a GitHub App token (RELEASE_PLEASE_APP_CLIENT_ID, RELEASE_PLEASE_APP_PRIVATE_KEY); release.yml on vX.Y.Z copies the sha-<7> images operator-image.yml tested for the commit, by digest, to X.Y.Z and X.Y (never latest), signs them keyless with cosign and attests an SBOM and a provenance, and publishes both charts as signed OCI artifacts with the images pinned in the package only (deploy/operator/release-pin.sh); git keeps sha-<7> and main's bump commit is unchanged; the goldens are rendered at chart version 0.1.0. New §59a Releases, a note in §77. P-041: a tag should also build aapctl for linux and darwin on amd64 and arm64, with checksums (recommended, not built). Unverified until the first tag. | |
| 2026-11-27 | §21a, §42, AD-058 amended: P3a-1 built (ANR-1067), the operator's wake path. Sleep is stored in status.sleep (so a restart or failover keeps a sleeping agent asleep), the idle loop only proposes and the reconcile is the one writer (record first, scale second), a wake is the annotation agents.vymalo.com/wake-at (any value that differs from wakeAtSeen) or now >= nextDueAt - wakeAhead, runtime.phase gains Waking, and scaling.wakeTimeout is read (late is said, never back to sleep). Decided by the owner 2026-11-27: ANR-Q140 (the names) and ANR-Q141 (option A). No running operator sleeps an agent until ANR-1030, and nothing writes wake-at until ANR-1068. | |
| 2026-11-27 | §21a, AD-058 status line, guides: review of P3a-1 (PR #138). A mark carries its age and is ignored and dropped past sleep_poll + pass_timeout, and a non-leader drops every mark (a blocked pass or a leader flap could otherwise sleep a busy agent); a sleep that would be born waking is never recorded; wakeAtSeen is bounded at 64 bytes or sha256:<hex>; the P2b and P3b paragraphs are annotated as superseded; status.sleep is in the API's ServiceStatus. | |
| 2026-11-27 | §60a, The pin moves to adam-rs b5d1c7e (ANR-1200): the parity goldens and the coder pins move to adam-rs's ADR 0038, which ports its run pod. OPENCODE_MODEL leaves the coder's environment (coder.opencodeModel is read and renders nothing), a run pod reads no Secret at all (MODEL_API_KEY out of the template; the admission policy refuses any secretKeyRef and gains a rule that a run pod names no pull secret), the run image is workspace:1.98.1-8c297d3, the init container copies adam-exec alone, and a run waits 1020 s for a slot. RunPodGuard loses secret (a breaking field of the port), the policy's parameters lose secretName and secretKey, and the chart's defaultAgentImage, runPods.image and waitSecs move with the coder pin of tests/e2e/run-pods.yaml (sha-b5d1c7e). The goldens were re-rendered with Helm 4.3.2 (regen.sh --check at b5d1c7e passes) and the pins were read from ghcr.io anonymously, verified 2026-11-27; run-pods-admission.sh's rewritten cases and run-pods-e2e are unverified until CI has run them, and the aap-runtime-kubernetes goldens and CODER_DIGEST were regenerated (sha256:8a1a9417…). | |
| 2026-11-27 | AD-070 and §59a amended (ANR-1196): operator-image.yml's concurrency group gives the release commit and a dispatch a group of their own (a burst of merges could replace the release commit's pending run), the push job likewise, the bump job has none, a dispatch on a v* tag pushes, and release.yml's gate lists every run on the tag's commit and reads the registry, not a run's conclusion. |