What a Kubernetes runtime proof of concept, its extension to a platform with interactive coding agent sessions, and a reference concept still miss in the v1alpha3 draft: 47 gaps, each with what the draft says today on the left, a sketch of the proposal on the right, and what happened in the proof of concept.
These are proposals from one runtime, not accepted specification and not part of the draft. The classification, verdicts and targets are agreed between the runtime side and the spec side; the maintainer still decides. AEP-0023 to AEP-0025, the new drafts AEP-0026 (interactive execution) and AEP-0027 (agent engine, numbers to be confirmed) and amendments to AEP-0002, 0005, 0007, 0009, 0013, 0017 and 0021 are written and open for review in spec pull request #23 (not merged), which supersedes #19 and #20; the guide summarises what they add. Everything is compared against the v1alpha3 draft (formerly the v1alpha2 draft, b8a0ee8) as previewed on the spec branch docs/v1alpha3-runtime-feedback: main plus pull request #23, not merged text. Pull request #16 was merged as v1alpha3 by decision D20, v1alpha2 is now the step iteration draft (D19). Gaps the draft already resolves (G01, G07, G08, G40) are on the side-by-side page. Left snippets marked valid or rejected by checker were run through the reference checker; proposals are marked not checked, and their field names are sketches unless the source names them.
ABelongs in AWP: what a workflow needs and may do, and what its fields mean, portable across runtimes.
BAn AWP rule enforced by the platform: the spec says "MUST enforce or reject" in one sentence and names no mechanism, so the platform picks it (NetworkPolicy, Istio, an egress proxy, an operator).
CPlatform only: an implementation detail, at most an informative note.
A 28B 9C 2mixed 8
Decisions for the maintainer
Scope of the current draft for G44, for G47, G50 and G61, and for state (G03, G53).
Whether G55 waits until after the current draft.
The numbers AEP-0026 and AEP-0027, and whether G64, G67, G68 and G69 extend AEP-0023 (question 10 of the runtime feedback).
Which platform objects become AWP kinds: AgentSession new, Prompt and McpCatalog as proposed, tenants, sandbox profiles and bindings left to the runtime (question 11).
AEP-0023 to AEP-0025 are assigned numbers; the AEP drafts are open for review in the spec pull request below.
Now, in the current draft: apply AEP-0004 and amend AEP-0019 for its open question 1 (G48, G57). Small, and it unblocks event runs.
AEP-0023 "Step isolation: network, credentials and approvals" (G10, G47, G49, G50, G51, G61, and since PR #23 G64, G67, G68, G69). G50, G61 and G64 are security holes, so early.
AEP-0024 "Event triggers with CloudEvents" (G42 to G46, G54, G56), using AEP-0004 and AEP-0019; G52 through AEP-0021.
AEP-0025 "State" (G03, G53, G58), once state is wanted in the current draft.
Into existing AEPs: G52 into AEP-0021, G55 into AEP-0012, G59 and G60 into AEP-0008 (after the current draft), G34 earlier, in the current draft.
AEP-0026 "Interactive execution" (G62, G63, G73, G82) and AEP-0027 "Agent engine" (G65, G66, G81, G83): new drafts in PR #23, numbers to be confirmed.
Amendments in PR #23 to existing AEPs: G70 to G72 into AEP-0007, G74 into AEP-0002, G75 into AEP-0005, G76 into AEP-0009, G78 into AEP-0013, G84 into AEP-0017.
Fix now: the triggers[].source row in AEP-0021 B4 (G54), and state as untrusted input in spec 12 (G58).
Event triggers exist in spec 5.2, but the event itself does not reach the execution, and filters, duplicates, actors and run objects for events are undefined. The proof of concept starts runs from chat mentions, webhooks and MQTT through an event router.
G41
Event data cannot reach the execution
A
Verdict
must, decided (D7)
Target
apply AEP-0004 in the current draft
An event trigger starts an execution, but nothing in the run can read the event: section 3.9 knows only inputs, steps and execution. A chat message that starts a run cannot pass its text, author or thread to the agent.
v1alpha3 draft: rejected (no event root in 3.9)rejected by checker
Proposal: apply AEP-0004; the run carries the eventnot checked
triggers:- type: eventsource: chat.example.comeventType: message.mentionclassification: internaldataSchema:type: objectrequired: [message]properties:message: { type: string, maxLength: 4000 }workflow:- id: answeragent: assistanttask: "Answer: ${{ event.data.message }}"# No mapping to inputs (D7). The run object carries# the event (spec.event, G48 and G57).
Why: in the proof of concept
Chat mentions, webhook payloads and MQTT messages started executions in the proof of concept. With no event context, it maps event fields to workflow inputs, which hides that the value comes from an external sender.
Status against the draft
Decided by D7: events are not mapped to inputs. AEP-0004 (Review) replaces the input mapping but is not applied to the spec yet. The proof of concept still maps to inputs (concept E22).
G42
Filter semantics are undefined
A
Verdict
must
Target
new AEP-0024 event triggers, the current draft (equality plus AND as the portable floor)
filter is a map of string. The draft does not say which fields the keys name (event attributes or payload paths), whether values match by equality, or how several entries combine.
triggers:- type: eventsource: git.example.comeventType: pull_request.openedfilter: # keys: CloudEvents attribute names or data.<path> # values: equality; all entries must match (AND)data.repository: example-org/web-shop# Richer conditions (for example CEL) stay in a# runtime trigger object (G52) and may only narrow# this filter.
Why: in the proof of concept
The concept filters chat events with the key data.user. Because its meaning is open, the manifest filter is only descriptive there and the event router does the real filtering.
Status against the draft
Open. Equality and AND are the portable floor; richer conditions stay in a runtime trigger object (G52) and may only narrow the filter.
G43
No duplicate handling and no concurrency for events
A+B
Verdict
must
Target
AEP-0024: concurrencyPolicy and a rate limit on event triggers (A); MUST deduplicate by source and id within a stated window (B)
Webhook retries and at-least-once routers deliver the same event twice, and each delivery can start an execution; at-most-once routers lose events instead (G56). concurrencyPolicy exists only for schedule triggers.
Spec 5.2 (v1alpha3 draft)
concurrencyPolicy only considers executionsstarted by the same trigger entry of the sameworkflow (kind, metadata.namespace,metadata.name), regardless of their version.Manual and event-triggered executions are notconsidered.(Nothing on duplicate events.)
Proposalnot checked
triggers:- type: eventsource: mqtt.example.comeventType: sensor.alertconcurrencyPolicy: forbid # A: as for schedule # A: plus a rate limit (shape not sketched)# B: the runtime MUST deduplicate by CloudEvents# source + id within a window it states.
Why: in the proof of concept
The proof of concept rejected a real duplicate as DuplicateEvent. Concurrency control for event-triggered runs is still missing there.
Status against the draft
Open. The manifest fields are category A; deduplication is category B: the spec states the rule, the platform implements it.
G44
Who started an event-triggered execution
A
Verdict
must (raised from should)
Target
AEP-0024, plus amending spec 5.2 and 10.3
The draft takes the actor from an authenticated source. For an event that is the bridge that delivered it, not the person who wrote the message. This is a governance hole: initiatorCannotApprove and actorCannotApproveOwnAction (spec 7.6) depend on the initiator, and with actor type system a person who started a run through chat could approve their own request.
Spec 5.2 and 10.8 (v1alpha3 draft)
5.2: An execution started by schedule or eventhas the actor type system; an execution startedby manual has the actor type human.10.8: The runtime MUST take this identity from anauthenticated source [...], never from a fieldthe client wrote.7.6: initiatorCannotApprove: The actor who startedthe execution MUST NOT approve any request in it.
Proposalnot checked
# workflow.started, data (sketch)trigger:type: eventindex: 0source: chat-bridge # authenticated transport identityactor: # optional, attested by the sourcetype: humanid: slauger# Policies may require an attested actor, and# separation of duties (7.6) can refer to the# person instead of system.
Why: in the proof of concept
The trust chain in the proof of concept is only the broker ACLs: only the bridge may publish, and the event carries no signature. The bridge attests "message from slauger", but the run records the actor system.
Status against the draft
Open, raised from should to must. Spec 5.2 gives every event start the actor type system, which cannot hold together with an attested person.
G48
Event runs created by an event router
A
Verdict
into spec, merged with G57
Target
AEP-0019 open question 1, the current draft: spec.event plus an origin (ingress or replay)
A client-created WorkflowRun is a manual start, and runtime-created runs record the trigger only in status. A router such as Argo Events or Tekton Triggers that creates runs for event triggers fits neither role.
v1alpha3 draft: valid, but a manual startvalid
apiVersion: awp.agenticworkflowprotocol.org/v1alpha3kind: WorkflowRunmetadata:generateName: chat-answer-namespace: agentsspec:workflowRef:name: chat-answerinputs:question: What plays in Leipzig this week?
Proposalnot checked
apiVersion: awp.agenticworkflowprotocol.org/v1alpha3kind: WorkflowRunmetadata:generateName: chat-answer-namespace: agentsspec:workflowRef:name: chat-answerorigin: ingress # authenticated, configured identityevent:source: chat.example.comtype: message.mentiondata:message: What plays in Leipzig this week?# Validated against dataSchema. The runtime records# the ingress identity and rejects event fields from# any other creator. Shape of origin not decided.
Why: in the proof of concept
In the proof of concept an Argo Events sensor creates runs with spec.trigger.type: event, which is non-conforming; the runtime therefore keeps its own run kind instead of the AWP WorkflowRun.
Status against the draft
Open, merged with G57 as AEP-0019 open question 1. The runtime also plans to create event runs itself from a generated trigger object (G52); the ingress origin stays relevant for routers outside the runtime.
G52
Runtime trigger objects
B
Verdict
concept
Target
extension of AEP-0021 B6
AEP-0021 B6 attaches runtime bindings to a workflow, but not objects for event routing, CEL filters or rate limits. A hand-written Argo Events sensor has no reference to the workflow and no status.
apiVersion: runtime.example.com/v1kind: EventTrigger # runtime-specific kindmetadata:name: chat-answernamespace: agentsspec:targetRefs:- group: awp.agenticworkflowprotocol.orgkind: Workflowname: chat-answersectionName: "0" # index of the trigger entry # routing, CEL filter, rate limit: runtime-specific, # may only narrow the manifest triggerstatus:conditions:- type: Acceptedstatus: "True"
Why: in the proof of concept
The proof of concept routes events with an Argo Events sensor written by hand. Nothing ties it to the trigger entry it serves, and it reports no status.
Status against the draft
Concept. The object stays implementation-specific; the attachment rules (targetRefs with the trigger index, may only narrow, Accepted) are AWP rules.
G54
What triggers[].source means
A
Verdict
into spec
Target
AEP-0004 and AEP-0024; remove the row from AEP-0021 B4
In CloudEvents, source is the context in which an event happened (a URI reference). AEP-0021 B4 treats triggers[].source as the name of an event source, with a domain prefix for implementation values.
Spec 5.2 and AEP-0021 B4
5.2: The mapping of source and eventType toconcrete event sources is implementation-defined. source: git.example.comB4: triggers[].source (event): names listed byAWP; implementation value: source: events.example.com/github
Agreed: the CloudEvents source attributenot checked
triggers:- type: event # the CloudEvents source attribute of the eventsource: https://git.example.com/example-org/web-shopeventType: pull_request.opened# Which adapter receives the event is runtime# configuration, in the trigger object (G52).# AEP-0021 B4: remove the triggers[].source row.
Why: in the proof of concept
The proof of concept used source as the name of its event source adapter, while the events it receives carry a CloudEvents source of their own. Both readings are plausible from the draft.
Status against the draft
Contradiction confirmed in AEP-0021: B4 lists triggers[].source as a domain-prefixed name, while events carry a CloudEvents source. Agreed: source is the CloudEvents attribute, and the row leaves B4.
G56
Delivery guarantee per event source
B
Verdict
minor
Target
AEP-0021 B1 conformance statement
Whether an event can be lost or arrives more than once depends on the event source and the router in between. A router can silently weaken the guarantee.
Spec 11.3 (v1alpha3 draft)
implementation:name: example-runtimeversion: 0.4.0conformance:awp: v1alpha3profiles: - corelimitations:- "audit: integrity mode signed is not supported"
Proposalnot checked
implementation:name: example-runtimeversion: 0.4.0conformance:awp: v1alpha3profiles: - corelimitations:- "audit: integrity mode signed is not supported"eventSources: # field names illustrative- source: mqtt.example.comdelivery: atLeastOnce # or atMostOnce
Why: in the proof of concept
The Argo Events MQTT event source used by the proof of concept subscribes with QoS 0, which silently downgrades delivery to at most once.
Status against the draft
Open. The other side of G43: at-least-once delivery needs deduplication, at-most-once loses events.
G57
Testing event-only workflows
A
Verdict
into spec, merged with G48
Target
AEP-0019 open question 1
A workflow that reads event.* cannot be run conformingly without a real event: AEP-0004 makes event.* fail outside event runs, and a client-created run is always manual.
AEP-0004 and spec 10.8
AEP-0004: A reference to event.* in an executionthat was not started by an event trigger is anevaluation error (the step fails with reasonmissingEvent).10.8: A WorkflowRun created by a client is amanual start.
Proposalnot checked
apiVersion: awp.agenticworkflowprotocol.org/v1alpha3kind: WorkflowRunmetadata:generateName: chat-answer-test-namespace: agentsspec:workflowRef:name: chat-answerorigin: replay # marked as test; actor = creatorevent:type: message.mentiondata:message: What plays in Leipzig this week?# Same spec.event as G48, validated against# dataSchema.
Why: in the proof of concept
Found while writing the reference concept: an event-only workflow such as the chat workflow cannot be started with a sample event in a conforming way.
Status against the draft
Open, merged with G48: the same spec.event, with the origin replay.
Step isolation: network, credentials and approvals
What permissions.network means and how its host list is written, how a platform enforces it, where model credentials live, and since PR #23 who approves, which isolation class a step needs, and how ceilings combine. Covered by AEP-0023, together with G10. The common question: does something live inside or outside the execution environment?
G47
Manifest requirement versus deployment ceiling
B
Verdict
must
Target
new AEP-0023 step isolation, the current draft
Operators restrict egress outside the manifest (NetworkPolicy, egress proxy, firewall). The draft does not say how permissions.network relates to such limits, or what happens when a runtime cannot enforce a rule. Without a network block, a manifest claims full egress.
v1alpha3 draft: valid, egress defaults to allowvalid
permissions:default: denytools:shell.execute:allow: trueworkflow:- id: fetchtype: commandcommand: ./fetch.sh# no permissions.network: egress is allow (7.5.1)
Proposalnot checked
permissions:default: denytools:shell.execute:allow: truenetwork: # a requirement the runtime enforcesegress: deny # default under the security profile?allowHosts: - api.example.comworkflow:- id: fetchtype: commandcommand: ./fetch.sh# The deployment MAY restrict further. If its ceiling# is narrower, or the rule cannot be enforced for a# step type: reject before any execution.
Why: in the proof of concept
The proof of concept cannot restrict command-step egress by host name without a proxy and rejects such manifests. Namespaces that deny egress by default do not give what a manifest without network claims, so the concept writes network into every manifest.
Status against the draft
Open. The rule "reject if the platform cannot enforce it" from G51 belongs here.
G49
allowHosts has no syntax
A
Verdict
into spec
Target
AEP-0023
allowHosts is a list of "host names". Subdomain wildcards, ports, IP literals and CIDRs are not defined, so an allowlist cannot be carried from one runtime to another.
network:egress: denyallowHosts: - api.example.com # exact host - "*.example.org" # subdomains - api.example.com:8443 # optional port# Whether IP literals and CIDRs are allowed:# to be decided.
Why: in the proof of concept
The proof of concept enforces allowHosts with Squid and uses its notation .example.org and a CIDR mode. The concept marks both as runtime-specific until the spec defines a syntax.
Status against the draft
Open.
G50
Allowed hosts that resolve to private addresses
B
Verdict
must (security profile)
Target
AEP-0023: private destinations denied by default after resolution, unless allowed explicitly
An allowed host name can resolve to loopback, private, link-local (cloud metadata) or CGNAT addresses. That opens server-side request forgery and DNS rebinding through an allowlist that looks harmless.
v1alpha3 draft todayvalid
network:egress: denyallowHosts: - news.example.com# If news.example.com resolves to 169.254.169.254,# nothing in the draft forbids the connection.
Proposalnot checked
network:egress: denyallowHosts: - news.example.com # public: allowed - wiki.internal.example # internal service: allowed # explicitly, if the platform # ceiling (G47) permits it# Security profile: after DNS resolution, loopback,# private, link-local and CGNAT destinations are# denied by default, unless the manifest allows them# explicitly (address or host, syntax: G49) and the# platform ceiling permits it.
Why: in the proof of concept
The tool proxy of the proof of concept had exactly this hole. It now checks the resolved address at connect time, which covers DNS rebinding by construction.
Status against the draft
Open, for the security profile. Not a blanket ban: agents sometimes need internal services, so an explicit allow in the manifest, within the platform ceiling, still works.
G51
How network rules are enforced for command steps
C
Verdict
informative
Target
AEP-0023 informative section; G10 merges in
The draft requires runtimes to apply permissions.network to command steps but gives no guidance how. Kubernetes NetworkPolicy matches addresses, not host names (G10).
Spec 5.6.2 (v1alpha3 draft)
Implementations MUST execute command steps in anisolated environment (for example a container orsandbox) and MUST apply permissions.network andpermissions.filesystem to it.(No guidance on host-based rules.)
Proposalnot checked
# Informative: one conforming enforcement.# A per-workload egress proxy with an allowlist# derived from allowHosts, and a network policy# that allows only that proxy:apiVersion: networking.k8s.io/v1kind: NetworkPolicymetadata:name: fetch-egressspec:podSelector:matchLabels:app: fetch-steppolicyTypes: [Egress]egress:- to:- podSelector:matchLabels:app: egress-proxy# A runtime that cannot enforce a rule rejects# the workflow.
Why: in the proof of concept
The proof of concept runs an egress proxy per agent workload, fed from allowHosts, and a NetworkPolicy that only allows that proxy. Without the proxy it rejects host-based rules for command steps (G47).
Status against the draft
Open. Informative only; G10 merges in, and the rejection rule belongs to G47.
G61
Where model credentials live
B
Verdict
must (security profile)
Target
AEP-0023 or spec 9, the current draft (not AEP-0008)
The draft does not say where model credentials live. A runtime may hand the provider key to the agent step, where any command or injected instruction can read it.
Spec 5.4.3 and 7.9 (v1alpha3 draft)
5.4.3: Provider identifiers are opaque strings;their mapping to endpoints isimplementation-defined.7.9: Runtimes MUST NOT pass secret values tomodels [...].(Nothing on whether the step environment mayhold the provider key.)
Proposalnot checked
Security profile (proposed):- Model credentials MUST NOT be visible in the step environment.- The runtime calls the provider itself, or- a proxy authenticates the step with a short-lived, execution-bound credential.
Why: in the proof of concept
The proof of concept enforces budgets in a model proxy. Whether the key stays there or reaches the step is not covered by the draft, and the proof of concept already found a provider key leak through a model baseURL in its binding.
Status against the draft
Open, for the security profile. Not AEP-0008: its non-goals exclude credentials.
G64
Approval authority inside the execution environment
B
Verdict
must (security profile)
Target
AEP-0023, new section 7.6.1 (PR #23)
Confirmations and approvals are only worth something if the step cannot give them itself. The draft does not say where the component that asks for and records a decision runs.
Spec 7.6 and 7.8 (v1alpha3 draft)
7.6: approvers are identities of people;an agent can never approve.7.8: separation of duties between theinitiator and the approver.(Nothing on where the decision is taken,or whether the step can reach it.)
Proposalnot checked
AEP-0023 7.6.1 (proposed, security profile):- The component that decides whether an action may run, and records approvals and confirmations, runs OUTSIDE the execution environment.- It accepts a decision only from an authenticated identity, over a channel the environment cannot reach.- Nothing that carries or proves a decision (passwords, tokens, signing keys, pending requests) is readable or writable inside.- The engine's own permission system may enforce in addition, never alone.
Why: in the proof of concept
Shown in the proof of concept: the coding agent and its commands shared a user ID, a command read the agent server password from the process environment, and a process in the sandbox sent a prompt in autonomous mode and answered every permission request itself. The attack failed only after the decision moved to a separate container with its own process namespace and signed grants; the same command through the console asked once and ran after "allow once".
Status against the draft
Drafted in AEP-0023 (PR #23). Open question 4 there: here or its own AEP, since it also applies to approval steps without a sandbox.
G67
The manifest cannot require an isolation class
A + B
Verdict
should
Target
AEP-0023, agents[].isolation (PR #23)
An agent that runs commands on untrusted repositories needs more than a container (a user-space kernel or a virtual machine). The manifest cannot ask for it; the choice sits in a runtime binding that reviewers do not see.
Spec 5.6.2 (v1alpha3 draft)
Command steps run in an isolatedenvironment.(No field on an agent or step to requirea minimum isolation; how isolated isimplementation-defined.)
Proposalnot checked
agents:- id: reviewerisolation: sandbox # process < container < sandbox < vmmodel:provider: example-providername: example-model# A runtime that offers only containers rejects# this agent before any step runs. Which mechanism# provides "sandbox" (gVisor, ...) is platform# configuration; the conformance statement says.
Why: in the proof of concept
The proof of concept keeps the runtime class in a sandbox profile referenced from its binding, outside the reviewed manifest. The mapping is implemented; only container is deployed, so no stronger class is shown.
Status against the draft
Drafted in AEP-0023 (PR #23). Open question 3 there: four classes, and whether sandbox should be defined by a property instead of an example.
G68
Do ceilings reject or cap?
B
Verdict
should
Target
AEP-0023, new section 7.5.7 (PR #23)
AEP-0023 defines a network ceiling but not the rule for other ceilings. A platform limits models, tool servers, autonomy, isolation and cost per tenant; whether a manifest that asks for more is rejected or silently reduced is undefined.
AEP-0023 before PR #23
7.5.6: effective network = manifestintersected with the platform ceiling;reject if the manifest needs more.(Models, tool servers, autonomy,isolation and budgets: not covered.)
Proposalnot checked
AEP-0023 7.5.7 (proposed):- Permissions, models, tool servers, autonomy, isolation: intersection; if the manifest REQUIRES more than the ceiling allows -> reject before start, with a reason naming the rule.- Budgets: the ceiling CAPS the manifest; a manifest without a limit gets the ceiling; never rejected for a higher budget alone.- Report the effect where the author can see it (status, validation).
Why: in the proof of concept
Shown in the proof of concept: models, hosts and MCP servers outside the tenant ceiling make the agent invalid in that tenant, while a cost limit above the ceiling is lowered to it and an agent without a limit gets the tenant budget.
Status against the draft
Drafted in AEP-0023 (PR #23).
G69
MCP credentials reach the agent
B
Verdict
should (security profile)
Target
AEP-0023, changes to 5.5.1 (PR #23)
auth.secretRef of an MCP server hands the credential to the MCP client. When the client is a coding agent inside the sandbox, the agent and every command it runs can read the credential.
Spec 5.5.1 and 7.9 (v1alpha3 draft)
mcpServers: - name: code-scanner auth: secretRef: scanner-token# 7.9: the secret's scope may name the server;# the runtime gives it to whatever talks to# the server, possibly the step itself.
Proposalnot checked
AEP-0023 5.5.1 (proposed, security profile):- Tool server credentials MUST NOT be visible to the step (like model credentials, G61).- The step reaches the server through a component outside it that adds the credential and authenticates the step with a short-lived ticket per execution or attempt.- That component also enforces which tools are listed and which calls are allowed.- auth MAY be satisfied by the runtime (catalog, binding) instead of a secret.
Why: in the proof of concept
Shown in the proof of concept: a static analysis server over MCP is reachable only through the MCP gateway of the runtime (network policy); the gateway accepts a session ticket or a step ticket, adds the credential, hides uncatalogued tools, counts calls against the budget and audits arguments and results.
Status against the draft
Drafted in AEP-0023 (PR #23); answers its open question 2 (MCP over streamable-http).
People use agents interactively: a session with a coding agent, prompts over hours, confirmation of single tool calls, pause and resume. The draft knows only workflow runs. Found when the proof of concept became a platform with a browser console; mostly covered by the new AEP-0026.
G62
No interactive execution form
A
Verdict
must
Target
new AEP-0026 (PR #23, number to be confirmed)
A session has no task and no outputs: a person sends prompts for hours, the session pauses when idle, resumes, and ends when the person stops it. Its lifecycle, budget scope and audit events are undefined; spec 6 only allows a single agent as a workflow with one step.
Spec 6 (v1alpha3 draft)
An Agent manifest cannot be executed onits own. Runtimes MAY offer a way to run asingle agent; they MUST then treat it as aworkflow with one agent step and theagent's budget and permissions.
Proposalnot checked
apiVersion: awp.agenticworkflowprotocol.org/v1alpha3kind: AgentSession # sibling of WorkflowRunmetadata:generateName: security-review-spec:agentRef:name: security-reviewer # needs spec.sessions on the Agentautonomy: askinitialPrompt: Review the repository for injection flaws.paused: falsestatus:phase: waiting # a confirmation is pendingexecutionId: awp-exec-01J... # one id for the whole sessionusage: { costUsd: "0.54" } # summed across pauses
Why: in the proof of concept
Shown in the proof of concept: its own session object, treated as one execution for permissions, budget and audit; pause on idle, resume, stop; runtime events for created, ready, idle, resumed and "waiting for a person".
Status against the draft
Drafted as AEP-0026 (PR #23).
G63
Only allow or deny, no "ask"
A
Verdict
must
Target
AEP-0026: autonomy levels, maxAutonomy, confirm
In a session a person confirms single tool calls and switches between read-only, confirm-each-call and autonomous. The draft has neither a confirmation effect, nor a way for the author to forbid autonomy, nor audit events for confirmations and mode changes.
Spec 7.5.1 (v1alpha3 draft)
permissions: tools: git.push: allow: true # allow: true or false only# Approvals (7.6) are steps with approvers;# human input (5.8) is information, not a# decision.
Proposalnot checked
# Agent manifest (AEP-0026, proposed)spec:sessions:maxAutonomy: ask # a person choosing auto gets askpermissions:default: denytools:code-scanner.scan:allow: trueconfirm: never # runs without asking at ask and autogit.push:allow: trueconfirm: always # asks even at auto; denied in workflow runs
Why: in the proof of concept
Shown in the proof of concept: modes plan, ask and auto, switched in the console only by people who may control the session, each change audited; confirmations once, for the session, or refuse. The binding, not the author, decides whether auto exists; confirm per action and the author ceiling are not built.
Status against the draft
Drafted in AEP-0026 (PR #23).
G73
Tool sources per execution
A
Verdict
should
Target
spec 5.5, AEP-0026 toolSources
Every execution of an agent gets all of its tool sources. A person cannot enable only some of them for one session (reach the code host, not the ticket system) without a second reviewed manifest.
Spec 5.5 (v1alpha3 draft)
tools: the tool sources of the agent,fixed in the manifest. Every executiongets every source.
Proposalnot checked
kind: AgentSessionspec:agentRef: { name: assistant }toolSources: [code-host] # absent: all; []: none# A runtime MAY narrow, never widen. Calls to a# source that is not enabled are refused; the# narrowing is audited.
Why: in the proof of concept
Shown in the proof of concept: a session selects a subset of the agent MCP servers; the MCP gateway refuses the others; a name that is no tool source is ignored and reported; a change on a running session needs a restart and is reported as a condition.
Status against the draft
Drafted in AEP-0026 (PR #23).
G82
One model per agent
A
Verdict
should
Target
AEP-0026 sessions.models, spec 7.4
An agent has exactly one model. Sessions pick a small model for questions and a large one for refactoring, from alternatives that the agent and the platform allow.
Spec 5.4.3 (v1alpha3 draft)
model: one model object per agent.
Proposalnot checked
spec:model: { provider: example-provider, name: example-model }sessions:models: - { provider: example-provider, name: example-model-large }# AgentSession.spec.model picks model or one of# sessions.models; intersected with the ceiling.
Why: in the proof of concept
Implemented in the proof of concept: model alternatives per binding and tenant, a model per session.
Status against the draft
Drafted in AEP-0026 (PR #23).
G84
Questions of the agent during a session
A
Verdict
should
Target
AEP-0017 amendment (PR #23)
A coding agent asks the person questions while it works. Who may answer in a session, and what happens without a person, is undefined.
Spec 5.8.2 (v1alpha3 draft)
humanInput on an agent: answerers,timeout, onTimeout, maxRequests.(Written for workflow steps.)
Proposalnot checked
AEP-0017 item 9 (proposed):- In an AgentSession, requests go to the identities that may control the session.- Answered in the session UI, same audit events, session shows "waiting".- An answer is never a confirmation or an approval.- Without a person: declined.
Why: in the proof of concept
Implemented in the proof of concept: question cards with choices and free text, each answer audited; humanInput on session agents is rejected; MCP elicitation is declined at the gateway.
Status against the draft
Amendment in AEP-0017 (PR #23).
G85
History after a session ends
A
Verdict
should
Target
AEP-0009 rule 8, AEP-0026 open question 3
After a session ends, the engine is gone. What is kept of history, decisions and diff, for how long, and who may read it is undefined.
Spec 10.2 (v1alpha3 draft)
audit.payload: metadata or full;one retention for everything.
Proposalnot checked
AEP-0009 rule 8 (proposed):The history of an interactive execution iscontent: it follows contentRetention; readaccess is limited to identities that couldcontrol the session and documented auditors.
Why: in the proof of concept
In progress in the proof of concept: an archive of the transcript; people asked to see stopped sessions.
Status against the draft
Amendment in AEP-0009 (PR #23); open question 3 of AEP-0026.
G86
Actor of a session started by an event
A
Verdict
should
Target
AEP-0024 with G44 and G48
An event could start a session with an initial prompt. Who created it and who may control it: the bridge that sent the event, or the person who wrote the message?
Spec 5.2 (v1alpha3 draft)
Event starts have the actor type system.
Proposalnot checked
As G44: the attested person is the creatorand may control the session; the bridge isrecorded as the authenticated source.
Why: in the proof of concept
Concept only in the proof of concept; not built.
Status against the draft
Evidence paragraph in AEP-0024 (PR #23); open question 4 of AEP-0026.
A coding agent brings its own tool loop, file editing, shell and subagents. The draft assumes the runtime runs the loop. The proof of concept runs workflow agent steps and sessions with a coding agent as engine; covered by the new AEP-0027.
G65
No field for the engine of an agent
A
Verdict
must
Target
new AEP-0027 (PR #23, number to be confirmed)
A coding agent brings its own tool loop. No field says which engine runs an agent, what it receives and produces, how permissions map to it, or whether its subagents share permissions and budget. A runtime without the engine would run a different loop and still report success.
agents:- id: scannerengine: # AEP-0027, profile enginetype: opencode # unknown type -> rejectruntimeProfile: defaultworkspace:repositories:- url: https://git.example.com/app.gitref: mainpath: repopush:repository: repobranch: review/${{ execution.id }}# Unattended: allow or deny only; a refused call# fails the step; subagents share budget and# permissions.
Why: in the proof of concept
Shown in the proof of concept: a security scan workflow ran its review step with a coding agent as engine, started by hand and by a CloudEvent; the engine called a static analysis server through the MCP gateway with a step ticket, and the calls counted against the run budget.
Status against the draft
Drafted as AEP-0027 (PR #23). Until applied: extensionRef under AEP-0021 B3.
G66
Engine steps are dead ends
A
Verdict
should
Target
AEP-0027 with AEP-0003 and AEP-0018
The engine produces only a summary and a diff, so a step cannot declare critical and high for a following condition. Its repositories are fixed, so an event cannot say which repository to scan.
Proof of concept today
outputs: [summary, diff] only.A step declaring critical or high isrejected. Repositories fixed in theextension.
Shown in the proof of concept: validation rejects outputs report, critical and high of the scan step; the scanned repository is fixed.
Status against the draft
Drafted in AEP-0027 (PR #23).
G81
Repository content as instructions
A
Verdict
must
Target
AEP-0027 trustRepositoryConfig, spec 12
Repositories bring agent instruction files, skills, custom commands and tool manager configuration that sets environment variables. A coding agent loads them by default, so a pull request can change what the agent does and run code at start.
Spec 12 (v1alpha3 draft)
Tool results, web content and state areuntrusted input.(Configuration loaded from the workspaceis not mentioned.)
Proposalnot checked
engine:type: opencodeworkspace:trustRepositoryConfig: [] # default: none # allowed kinds: instructions, skills, # commands, toolchain; loaded kinds are # untrusted input and grant nothing
Why: in the proof of concept
Implemented in the proof of concept: project configuration and external skills of the coding agent are disabled for sessions and engine steps.
Status against the draft
Drafted in AEP-0027 (PR #23).
G83
Workspace repositories and their credentials
A + B
Verdict
should
Target
AEP-0027, with G12
A session or engine step clones several repositories, some private. If the clone credential stays in the workspace or the environment, the engine and every command can read it. Extends G12 (where command code comes from).
v1alpha3 draft
(No workspace field; where code comes fromis implementation-defined, G12.)
Proposalnot checked
AEP-0027 (proposed):- engine.workspace.repositories with url, ref, path; the start commit is recorded.- Clone and push credentials are workflow secrets; under security they MUST NOT be visible to the engine (clone and push outside, or remove before start).
Why: in the proof of concept
Implemented in the proof of concept: clone credentials per repository, deleted after the session is ready, push through the console. Private repositories are not shown on the test installation.
Status against the draft
Drafted in AEP-0027 (PR #23).
G87
Shared workspace of several steps
A
Verdict
should
Target
AEP-0025
Steps that plan, implement and review the same change need one workspace, as Tekton workspaces provide. Each engine step gets its own empty directory today.
v1alpha3 draft
(No shared workspace between steps.)
Proposalnot checked
A declared store with an access mode perstep (AEP-0025), and the trust boundary inspec 12: a later step reads what an earlieragent wrote.
Why: in the proof of concept
Concept: asked for during the proof of concept; not built.
What an MCP gateway outside the sandbox had to decide that the draft leaves open: server prompts and resources, tools added later, command allow lists, reusable prompts, where audit events come from, data sent to tool servers, budgets during streaming and secrets supplied at start. Mostly amendments to existing AEPs in PR #23.
G70
Resolving MCP servers from runtime configuration
A
Verdict
should
Target
AEP-0007 rule 11 (PR #23)
Spec 5.5.1 lets a runtime resolve a server from its own configuration, but not in which order, whether a declaration may be partial, or whether the runtime may substitute a different server of the same name.
Spec 5.5.1 (v1alpha3 draft)
A runtime MAY resolve servers that themanifest does not declare from its ownconfiguration.
Proposalnot checked
AEP-0007 rule 11 (proposed):order: declaration, binding, catalog;a declaration and the resolved server(transport, URL, catalog digest) MUST NOTcontradict -> reject, never substitute;a platform ceiling MAY restrict servers.
Why: in the proof of concept
Implemented in the proof of concept (integration tests): resolution by name against a cluster-wide catalog, name mapping in the binding, tenant ceiling.
Status against the draft
Amendment in AEP-0007 (PR #23).
G71
Tools a server adds after the review
A
Verdict
should
Target
AEP-0007 rule 12 (PR #23)
server.* also allows tools that the server adds after the manifest was reviewed. In an unattended step nobody sees them run, so a read-only use case grows into write access when the server ships a delete tool.
Spec 5.5.3 (v1alpha3 draft)
permissions: tools: code-host.*: allow: true # every tool, also future ones
Proposalnot checked
AEP-0007 (proposed):- unattended executions SHOULD list tools explicitly;- under security, <server>.* grants only catalogued tools (rule 3: uncatalogued tools are not exposed);- tool annotations are not authority.
Why: in the proof of concept
Shown in the proof of concept: the catalog entry of a static analysis server leaves out two of its tools; the MCP gateway neither lists them nor lets them be called.
Status against the draft
Amendment in AEP-0007 (PR #23).
G72
MCP prompts, resources and server requests
A
Verdict
should
Target
AEP-0007 rules 7, 9, 10 (PR #23); answers its open question 3
MCP servers also offer prompts and resources, and may send sampling, roots and elicitation requests. The draft restricts only tools. A coding agent shows every server prompt as a command, so content of the server operator reaches the model without any manifest rule.
Spec 5.5.2 and 5.8.2 (v1alpha3 draft)
tools: a tool source may restrict tools.Elicitation is declined withouthumanInput.(Prompts, resources, sampling, roots:not covered.)
Proposalnot checked
mcpServers:- name: code-scannercatalog:tools:scan: { access: read }prompts: # default: nonesecurity-check: {}resources: # default: none- uriTemplate: rules://{ruleset}# prompts/get = code-scanner.prompts.get; content is# untrusted input. Sampling and roots are not relayed# unless allowed; the runtime answers them itself.
Why: in the proof of concept
Shown in the proof of concept: the catalog allows one prompt and the rule resources of a static analysis server; the gateway filters the list operations, refuses everything else, and answers sampling, roots and elicitation itself.
Status against the draft
Amendment in AEP-0007 (PR #23).
G74
Resource scope of shell commands
A
Verdict
should
Target
AEP-0002, new section 7.5.7 (PR #23)
Spec 7.5.2 asks runtimes to document how they derive the resource of a call, but names no format for shell.execute. A command line chains, substitutes and nests commands, so echo * could also run echo a; id.
AEP-0002 7.5.7 (proposed):- resources of a line = its simple commands- every simple command must match a pattern- lines that cannot be split ($(...), subshells, compound commands, leading assignments) are denied- an allow list does not restrict what an allowed program runs (make, npm test)echo hello -> allowedgit --version -> allowedecho a; id -> denied (id)echo $(id) -> denied (substitution)curl https://... -> denied
Why: in the proof of concept
Shown in the proof of concept with exactly these patterns: echo and git --version ran; curl, echo a; id and echo $(id) were refused by a component outside the sandbox, and the model saw the reason.
Status against the draft
Amendment in AEP-0002 (PR #23).
G75
Reusable prompts outside workflow steps
A
Verdict
minor
Target
AEP-0005 amendment (PR #23)
People repeat the same requests (a security review, writing tests). The draft knows tasks only as workflow steps and agents only with standing instructions.
v1alpha3 draft
task: on a workflow stepinstructions / promptRef: on an agent(No prompt a person starts in a session.)
Implemented in the proof of concept: a namespaced prompt library offered to sessions as commands of the coding agent, tenant entries override platform entries; no versions or digests yet.
Status against the draft
Amendment in AEP-0005 (PR #23).
G76
Where audit events come from
A + B
Verdict
should
Target
AEP-0009 rules 5 and 6 (PR #23)
What an agent did can be recorded by the engine (inside, the agent can influence it), by the user interface (it sees only what the engine reports) or by a gateway outside that holds the credentials. The draft does not say which source counts.
Spec 10.3 and 10.4 (v1alpha3 draft)
Which audit events exist and what theycontain. (Not who produces them.)
Proposalnot checked
AEP-0009 (proposed):- every event carries origin: runtime or executionEnvironment;- under security, model calls, tool calls, approvals and confirmations MUST have origin runtime;- events from inside may be joined by tool call id; disagreements flagged;- document which events cannot be verified.
Why: in the proof of concept
Shown in the proof of concept: conversations recorded at the model gateway with a hash chain per conversation, tool calls at the MCP gateway, egress at the tenant proxy; events of the coding agent joined by tool call id; all visible in the audit tab of the console.
Status against the draft
Amendment in AEP-0009 (PR #23).
G77
Data sent to tool servers
A + C
Verdict
should
Target
open (5.5, 7.2); AEP-0009 rule 7 in part
A scan tool receives source code as an argument. Nothing says which data classes may go to which tool server (inside the cluster or external), and the tool server own egress is outside permissions.network.
AEP-0007 (catalog) and spec 7.2
catalog tool entry: classification =highest data class the tool may receive.(Only per tool; nothing about who operatesthe server or where its traffic goes.)
Proposalnot checked
Sketch:- allowed data classes per tool source, with the operator of the source;- passed content logged with its own retention (AEP-0009 rule 7);- the server's own egress limited by the runtime and stated in the conformance statement (informative).
Why: in the proof of concept
Shown in the proof of concept: a security review sends the scanned file to a static analysis server; the arguments are in the audit, and the server reaches the internet only through its own proxy with an allow list for the rule registry.
Status against the draft
Open; logging of passed content drafted in AEP-0009 (PR #23).
G78
Budgets during streaming
B
Verdict
should
Target
AEP-0013 item 1 (PR #23)
Providers report usage only at the end of a streamed call. A runtime that stops at the limit has to estimate, so an execution can end slightly above maxCostUsd. The draft does not say whether that is allowed.
Spec 5.7 (v1alpha3 draft)
The runtime MUST check limits before eachmodel invocation and each action.
Proposalnot checked
AEP-0013 (proposed):- estimates during a stream are allowed;- the stream may be ended when the estimate reaches the remaining budget;- charge the best known usage, mark it as an estimate;- budgets are hard limits the last allowed call may exceed by what it used before the runtime could stop it.
Why: in the proof of concept
Implemented in the proof of concept: the model gateway estimates output tokens from the streamed text and ends the stream with an error event; the overshoot is not measured.
Status against the draft
Amendment in AEP-0013 (PR #23).
G79
Secrets brought by a person at start
A
Verdict
should
Target
spec 7.9, with G05 and G36
In a session a person brings a credential of their own (a personal token, an API key for a test system) that no reviewer could list in the manifest. The draft can neither allow nor restrict this.
Spec 7.9 (v1alpha3 draft)
secrets: declared in the manifest, boundby the runtime. Values never reach models,audit or logs.
Proposalnot checked
Sketch:secretsPolicy: allowRuntimeSecrets: true allowedSources: [...]Secrets supplied at start fall under thesame MUSTs as declared ones.
Why: in the proof of concept
Shown in the proof of concept: a session adds usable secrets of its namespace as environment variables if template and tenant allow it; the model gateway replaces the value, so token=$TOKEN reaches the model as a placeholder.
Status against the draft
Open, no AEP yet.
G80
Secret scope in a standalone Agent
A
Verdict
minor
Target
spec 7.9
A secret scope lists MCP server names, agent ids or command. A standalone Agent has no agent id, and inside a workflow its id can differ from its name.
Spec 7.9 (v1alpha3 draft)
scope: MCP server names, agent ids orcommand.
Proposalnot checked
scope: [self] # the declaring agent, # wherever it is used(or: metadata.name is the agent id)
Why: in the proof of concept
Implemented in the proof of concept: metadata.name is used as the id for sessions.
Context that outlives one message or one execution: reply targets, chat threads, state shared between workflows, and the identity a workflow uses towards other systems.
G45
No reply path
C
Verdict
informative
Target
AEP-0024 informative section
A run started by a chat message should answer in the same thread. The manifest has no way to refer to where the event came from.
AEP-0004 (Review, not applied)
event.source, event.type, event.id, event.time:metadata of the event that started the execution;event.data and event.data.<path>: the eventpayload.(No reply target or correlation data.)
Proposalnot checked
workflow:- id: replytype: commandcommand: ./post-reply.shenv:THREAD: "${{ event.data.thread }}"# Correlation data in the event context; delivery# stays with steps. Optionally a standard replyTo# attribute (CloudEvents extension).
Why: in the proof of concept
The proof of concept delivers chat answers with a command step, which needs the thread of the triggering message from the event data.
Status against the draft
Open. Becomes category A if AWP standardizes interaction event types.
G46
Conversation context for event-triggered runs
C now, A later
Verdict
informative in the current draft
Target
AEP-0024 informative; a standard shape after the current draft
A reply in a thread (chat, ticket, mail) starts a run that sees only the triggering message. Follow-up questions lose the conversation.
AEP-0004 (Review, not applied)
event.data is an untrusted external input. Itsclassification enters the data classification ofevery operation in a step that references it.(event.data is the payload of one event; there isno shape for earlier messages.)
Proposalnot checked
# event.data, attached by the source adapter (sketch)message: And on Saturday?thread:truncated: true # capped, truncation flaggedmessages:- author: slaugerbot: falsetime: "2026-11-20T09:12:00Z"text: What plays in Leipzig this week?# Untrusted and classified like the rest of# event.data. Participants are personal data.
Why: in the proof of concept
In the proof of concept the chat bridge attaches the earlier messages of the thread to the event. Every source with conversations needs the same, so a common shape keeps workflows independent of the source.
Status against the draft
Informative in the current draft. Normative only: thread context belongs to event.data, is untrusted and classified, and contains personal data. A standard shape later, after the current draft.
G53
State shared by two workflows
A
Verdict
into spec
Target
new AEP-0025 state, with G03 and G58
Two workflows of one owner share state: a daily run writes what it reported, a chat run reads and writes preferences. AWP has no state at all (G03), let alone shared state.
v1alpha3 draft: valid, state invisiblevalid
permissions:filesystem:read: [/state]write: [/state]# The volume behind /state comes from the runtime# binding. AWP sees neither its class nor its# retention, nor that another workflow writes it.
Proposalnot checked
# workflow daily-scoutspec:state:- name: music-tasteaccess: readWrite---# workflow chat-answerspec:state:- name: music-tasteaccess: readWrite # or read# The state resource itself (G03): name,# classification, retention. Rules for concurrent# writers; the strictest classification applies to# every reader. Shape illustrative.
Why: in the proof of concept
Derived from the scenario, no conflict observed: the concert scout and the chat workflow of the proof of concept would share already reported concerts and taste preferences.
Status against the draft
Open. Together with G03 and G58 in a state AEP.
G55
The external identity a step acts as
A + C
Verdict
into spec
Target
AEP-0012, likely after the current draft
A workflow that posts as its own bot account acts under an external identity. The manifest shows only a secret, and governance sees shell.execute (G06).
v1alpha3 draft todayvalid
secrets:- name: BOT_TOKENsource: secret-managerscope: [command]workflow:- id: notifytype: commandcommand: ./post.sh# Governance sees shell.execute; the message goes# out as the bot account behind BOT_TOKEN.
Proposalnot checked
workflow:- id: notifytype: tool # AEP-0012 (Draft)agent: notifiertool:server: chatname: post_messageargs:text: "${{ steps.curate.outputs.summary }}" # plus the external identity the step acts as, # for audit events and policies (shape open)
Why: in the proof of concept
The notify step of the proof of concept sends a Telegram message as its own bot account (G06). Audit events show a shell command, not the account that spoke.
Status against the draft
Open. The declaration of the identity is category A; the token or bot account behind it is platform (C).
G58
State as untrusted input
B, later A
Verdict
editorial now
Target
spec 12 now; origin marking later in AEP-0025 (G11)
What one execution writes into state, the next reads as data. A chat message or a web page can become a persistent instruction (memory poisoning).
Spec 12 (v1alpha3 draft)
Prompt injection. Tool results and remote agentmessages are untrusted input.(State is not listed; there is no state.)
Proposalnot checked
spec:state:- name: music-tasteaccess: readWrite # origin marking as proposed in G11 # (outputs[].trust: external), applied to state: # state is untrusted input by default
Why: in the proof of concept
Seen in the chat workflow of the proof of concept: what a chat message put into state reached later runs as data.
Status against the draft
Editorial now: add state to the untrusted inputs in spec 12. Origin marking (G11) comes later with the state AEP.
AEP-0008 (Review) defines a ModelCatalog kind for prices, regions and limits. It names v1alpha3 as its target, written before D20; that now means after the current draft. G59 and G60 are offered as input to it, not as changes to the current draft.
G59
Catalog limits are binding
A
Verdict
into spec
Target
AEP-0008, after the current draft; with G34, which could come earlier, in the current draft
AEP-0008 treats contextTokens and maxOutputTokens as informative. A runtime may ask for more output tokens than the model allows, and the provider rejects the request.
providers:- id: on-premregion: on-premisemodels:- name: example-localprice: { inputPerMTok: 0, outputPerMTok: 0 } # known costmaxOutputTokens: 8192 # binding# The runtime caps requested output tokens at# maxOutputTokens and rejects a workflow whose# budget or settings cannot fit.
Why: in the proof of concept
A vLLM server rejected every request of the proof of concept until the runtime capped output tokens at the model limit. Its provider profiles confirm the split of AEP-0008: prices and limits in the catalog, endpoint, protocol and credentials in runtime configuration. Price 0 for local models counts as known (G35).
Status against the draft
Input to AEP-0008, after the current draft. G34 (model.parameters.maxOutputTokens) could come earlier, in the current draft.
G60
Model capabilities
A
Verdict
minor
Target
AEP-0008, after the current draft
An agent step needs a model that can call tools (complete_step and declared tools). Very small models call tools without arguments or not at all, and that shows only at run time.
AEP-0008 (Review, targets v1alpha3)
models:- name: example-tinyprice: { inputPerMTok: 0, outputPerMTok: 0 }contextTokens: 32768# No way to say whether the model supports tool calls.
Proposalnot checked
models:- name: example-tinyprice: { inputPerMTok: 0, outputPerMTok: 0 }contextTokens: 32768toolUse: false # optional capability flagsstructuredOutput: false# A runtime rejects an agent with tools on a model# without tool support, before the execution starts.
Why: in the proof of concept
A 0.6B local model in the proof of concept called complete_step without arguments or not at all; the failure showed only at run time. Since PR #23 also evidence from a coding agent engine: it needs context size, output limit and input types (image, document) from the catalog, otherwise it does not compact the context or rejects input.