Conversation
Deploying allagents with
|
| Latest commit: |
77a36c9
|
| Status: | ✅ Deploy successful! |
| Preview URL: | https://4e1cc054.allagents.pages.dev |
| Branch Preview URL: | https://docs-execution-gateway-adr.allagents.pages.dev |
christso
force-pushed
the
docs/execution-gateway-adr
branch
from
September 18, 2026 07:57
be79c77 to
d3df7ba
Compare
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
AllAgents now has an implementation-ready, industry-aligned contract for a trusted-network coding-execution gateway. The decision and plan replace the earlier distributed gateway/worker design with one fail-closed service per project workspace, exact A2A 1.0 HTTP+JSON semantics, and enforceable execution, credential, storage, and recovery boundaries for Codex and Pi.
This remains the AllAgents half of a two-repository architecture. AI Evals is the first caller and continues to own evaluation commands, datasets, assertions, scoring, retries, durable evaluation Runs, and the Promptfoo custom provider that translates
callApiinto A2A.Design decisions
0.0.0.0binding is valid when Tailscale ACLs, firewalls, or equivalent controls provide the boundary.gateway.yaml,worker.yaml, a worker service, or a private dispatch protocol.gateway.enabled: true.ApiProvider. Static config owns source mode and logical names; bounded test variables may replace full commits or immutable digests. Secure examples disable sharing, cache, result writes, and concurrency above one.ghonly when the App is absent or proven ineligible; a selected-App failure never falls back.Session-settled decisions
ghfallback.Implementation contract
The plan at
docs/plans/2026-09-18-0837-feat-coding-execution-gateway-plan.mddefines 19 requirements, 6 flows, 21 acceptance examples, 12 key technical decisions, and 7 dependency-ordered implementation units.The accepted decision is
docs/decisions/0002-serve-coding-agent-execution-through-an-a2a-gateway.md. Supporting research records the A2A/AHP boundary, Harbor materialization lessons, and source-credential precedents.Audit basis
The contract was checked against the A2A 1.0 specification, Promptfoo configuration reference, OCI Image specification, OCI Distribution specification, Docker credential-helper behavior, and GitHub App token guidance.
Independent protocol, security, and feasibility re-reviews found no remaining P0/P1 contract issue after the corrections.
Related
Related: #487
Validation
bun run buildpassed.bun run docs:buildpassed after the final contract corrections; Astro built 13 pages.git diff --checkpassed.R1-R19,F1-F6,AE1-AE21,KTD1-KTD12, andU1-U7sequence, balanced code fences, and no stalegateway.exposespelling.No runtime implementation changed, so a coding-gateway E2E is not applicable to this PR. Implementation PRs own the red/green built-CLI E2E, real backend isolation probes, registry fixtures, and clean-registry helper-package install smoke defined by the plan.
Post-Deploy Monitoring & Validation
No additional operational monitoring is required for this documentation-only PR. Implementation PRs will own service telemetry, backend smoke tests, and rollout validation.
New concepts
Profile a standard instead of cloning it
An A2A profile keeps standard Agent Cards, Tasks, Artifacts, operations, errors, and capability behavior. The AllAgents extension adds only coding-specific evidence that A2A does not define, such as repository provenance, file changes, cleanup outcomes, structured-result integrity, and evidence completeness.
This preserves standard-client interoperability and gives coding evidence an explicit compatibility boundary. It should not rename standard operations or hide a parallel private lifecycle behind A2A-shaped types.
Durable Task truth is not durable provider execution
The gateway can durably preserve what was accepted, attempted, observed, and terminally decided without serializing a provider's live process or private session state. After an ambiguous start, gateway restart, or provider-process loss, the safe behavior is one truthful failed Task—not automatic replay that may duplicate side effects.