AWP v1alpha3 draft Spec v1alpha3 Review guide

AWP v1alpha3: how it fits together

The Agentic Workflow Protocol describes what an agentic workflow does, what it may do and how it is governed and audited. This page explains the current draft for readers who did not follow the discussion: which manifests you write, how they relate, what happens from applying a manifest to a finished run, what the open spec pull requests #24 to #26 add, and how to start as a workflow author or as a runtime implementer.

This site shows the open spec pull requests #24 to #26, not merged text. Every spec and AEP link goes to the branch docs/aep-0026-0027-sessions-engine at b0a79fb: main of the specification repository with the three stacked pull requests on top, as the spec will look once they are merged: #24 (runtime feedback G41 to G87, related work D21, AEP-0024 events, AEP-0025 state), #25 (AEP-0023 step isolation) and #26 (AEP-0026 sessions and AEP-0027 engine as concepts, amendments to existing AEPs). They replace #19, #20 and #23. Status. v1alpha3 is the current draft on main of the specification repository (decision D20: pull request #16 was merged as v1alpha3; v1alpha2 is the step iteration draft of D19). Nothing in it is accepted except step iteration. The pull requests are open drafts, and their AEPs are Draft and not applied to the v1alpha3 text; a third pull request for event data (AEP-0004) is planned and has no text yet. Every piece below carries its status: in v1alpha3 PR #24–26 planned platform only. Manifests marked valid or rejected by checker were run through the reference checker at b0a79fb (the schema is the same as on main); proposals are marked not checked.

Author

Write a Workflow (and optionally Agent and Policy manifests), validate it with the reference checker, pick the profiles. Read the examples and the author checklist.

Runtime implementer

Read the lifecycle with its MUST rules, what a Kubernetes runtime can map it to and the implementer checklist.

Reviewer

Read what flowed in from pull requests #24 to #26 and what is still open; details per gap are on the gaps page.

Resource map

Four kinds are manifests in v1alpha3: three that authors write and one execution object. Everything else is a field of a manifest, an external system or the runtime's own business.

AWP v1alpha3 resources and their referencesA WorkflowRun references a Workflow; proposed in pull request 23, an AgentSession runs an Agent interactively. A Workflow references Agent and Policy manifests, MCP servers and remote agents, secrets by name and, proposed in pull request 23, state stores. Bindings of a runtime target a Workflow. Triggers create runs; runs emit audit events.Trigger firesschedule tick, event,or a person (manual)Bindingruntime-specific kind:placement, imagesWorkflowRunone execution;status by the runtimeWorkflowtriggers, inputs,agents, steps, budget,permissions, secrets,approval, policiesAudit eventsworkflow.*, tool.*,approval.*, recordAgentvia agents[].ref(name, version, digest)Policyvia policies.includedeny, requireApprovalMCP servers, A2Avia mcpServers, toolsand protocol: a2aSecret storevia secrets[] by name;no values in manifestsState storevia spec.stateproposed: AEP-0025AgentSessioninteractive executionof an Agent; AEP-0026AWP v1alpha3 resources and their referencesA WorkflowRun references a Workflow; proposed in pull request 23, an AgentSession runs an Agent interactively. A Workflow references Agent and Policy manifests, MCP servers and remote agents, secrets by name and, proposed in pull request 23, state stores. Bindings of a runtime target a Workflow. Triggers create runs; runs emit audit events.Trigger firesschedule tick, event,or a person (manual)Bindingruntime-specific kind:placement, imagesWorkflowRunone execution;status by the runtimeWorkflowtriggers, inputs,agents, steps, budget,permissions, secrets,approval, policiesAudit eventsworkflow.*, tool.*,approval.*, recordAgentvia agents[].ref(name, version, digest)Policyvia policies.includedeny, requireApprovalMCP servers, A2Avia mcpServers, toolsand protocol: a2aSecret storevia secrets[] by name;no values in manifestsState storevia spec.stateproposed: AEP-0025AgentSessioninteractive executionof an Agent; AEP-0026
  • AWP kind in v1alpha3
  • proposed (PRs #24 to #26)
  • platform or runtime, not AWP
  • external system, other protocol
  • what an execution leaves behind
KindWho writes itWhat it referencesWho reads itStatus
WorkflowThe workflow author; the team in spec.owner is accountable.Agent (agents[].ref with exact version, optional digest), Policy (policies.include), secrets by name, MCP servers, remote agents, container images.The runtime: validates, pins and executes it. Reviewers: the manifest is the reviewed unit (digest, signature).in v1alpha3
AgentAn agent author or a platform team, published separately.Model, tools, MCP servers, secrets (which the workflow must also declare), promptRef.The runtime, when a workflow references it. Never executed on its own.in v1alpha3
PolicyA governance or platform team.Nothing; rules on actions, data class, destination, model, actor. Only deny and requireApproval: policies restrict, permissions grant.The runtime decision algorithm (spec 8.4), under the governance profile.in v1alpha3
WorkflowRunA client for a manual start, or the runtime itself for schedule and event triggers.One Workflow by name in the same namespace; version and digest are assertions, not selectors.The runtime starts at most one execution from it and writes status; people and tools read the status.in v1alpha3
spec.state (a field)The workflow author.Named stores, shared by workflows of the same owner in the same namespace.The runtime, which exposes only declared stores. AEP-0025 proposes spec.state; its own kind is the alternative under review.PR #24–26
AgentSessionA person, through a console or kubectl create, for interactive use of an agent.One Agent by name (only if the agent opts in with sessions); a model and tool sources selected from what the agent allows.The runtime: one execution with pause and resume; a level above the agent's maxAutonomy or the platform ceiling is rejected. AEP-0026.PR #24–26
Conformance statementThe runtime implementer (not a manifest).Profiles, limitations, limits, executionObjects.Operators and authors who choose a runtime.in v1alpha3
Binding, trigger object, tenant, sandbox profileThe operator, in a kind of the runtime.A Workflow or an Agent (targetRefs in the AEP-0021 concept); a sandbox profile is what agents[].isolation (AEP-0023) maps to.The runtime only. Placement, images, volumes, model endpoints, secret mapping.platform only

Not kinds: triggers, permissions and secrets are fields of a Workflow (secret values live in a store the runtime resolves); profiles are what a runtime claims in its conformance statement. Prompt, Playbook and ModelCatalog are proposed kinds (AEP-0005, AEP-0006, AEP-0008), not in v1alpha3.

Lifecycle: from a manifest to a finished run

What happens when, and who decides. Each line says whether it is in v1alpha3, proposed in PRs #24 to #26, planned with the AEP-0004 pull request, or left to the platform.

  1. 1Write the manifests

    • in v1alpha3

      A manifest has apiVersion, kind, metadata (name, labels) and spec; governance fields (version, owner, classification, risk) live in spec. Extension fields go into extensions objects with x- keys. status is reserved for the runtime.

  2. 2Validate before you apply

    • in v1alpha3

      The reference checker validates YAML restrictions, the JSON Schema and the semantic rules for the profiles you name. Unknown fields and fields of a profile the runtime does not support are errors, not warnings (fail closed).

  3. 3Apply and admit

    • in v1alpha3

      The manifest goes into any object store: files, Git, a database, or a Kubernetes API server (one CRD per kind, kubectl apply --validate=strict). A runtime MUST validate every manifest it reads before acting on it and never changes spec. It reports the condition Valid and, once references are resolved, policies loaded and triggers registered, Ready.

    • platform only

      Validation on write (an admission webhook), the binding that places the workflow, and how triggers are registered.

  4. 4A trigger fires

    • in v1alpha3

      manual: a client creates a WorkflowRun; the actor is the authenticated creator, never a field. schedule: each tick starts at most one execution; concurrencyPolicy (default forbid) and startingDeadline decide about overlaps and missed ticks, and every tick that starts nothing emits trigger.skipped. event: source, eventType and a filter map; the runtime MUST verify the event source. The event data itself cannot reach the steps.

    • PR #24–26

      AEP-0024: events are CloudEvents 1.0; filter keys are attribute names or data.<path>, matched by equality, all must match; no second execution for the same source and id within at least 24 hours; concurrencyPolicy (default allow) and rateLimit on event triggers; the authenticated source is the actor, and a person attested by a trusted source becomes attestedActor.

    • planned

      AEP-0004: event data under its own root ${{ event.* }} with dataSchema and classification, never mapped to inputs (D7). Amendment of AEP-0019 open question 1: the run object carries the event, set by a trusted ingress or supplied for a test or replay (G48, G57).

  5. 5Admit the execution

    • in v1alpha3

      Before anything runs: inputs are validated (a schedule uses defaults), every model is checked against modelPolicy, the environment must be allowed, and a critical risk level needs an approval of the execution itself. A run that cannot start gets phase: rejected and emits no workflow.started.

    • PR #24–26

      AEP-0023: a platform ceiling never adjusts a manifest. If the manifest asks for more than a ceiling allows (a destination, a model, a budget), or the runtime cannot enforce a network rule for a step type, the runtime rejects before any step runs.

  6. 6Pin what runs

    • in v1alpha3

      At start the runtime resolves the workflow, every referenced Agent and every applicable Policy, computes the digest and keeps exactly these versions until the end, also across retries and waits. Image tags are resolved to the digest of the image index; an image that cannot be resolved fails the execution before any step. workflow.started carries the digest. A GitOps sync during the run changes nothing.

  7. 7Run the steps, isolated

    • in v1alpha3

      Steps form a graph through dependsOn; ready steps run up to maxConcurrency (default 1), forEach fans out over a bounded list. Command steps run in an isolated environment with permissions.network and permissions.filesystem applied; command is never expression-enabled, values come through env. Every action goes through the decision: permissions, then deny rules, then approval. Budgets are checked before every model call and action.

    • PR #24–26

      AEP-0023: allowTo objects (host or cidr, ports) instead of allowHosts; enforce or reject; under security egress defaults to deny and internal addresses are reachable only through a cidr entry that the platform ceiling also allows; credentials are never visible to steps.

    • PR #24–26

      AEP-0023: tool server credentials stay outside the step like model keys; an agent can require a minimum isolation (container, sandbox, vm), met or rejected. AEP-0027: an agent step can run with a coding agent as engine; permissions, budget and audit stay in force, subagents share them, repository configuration is off by default. What leaves the sandbox is enforced outside, what stays inside is bounded by the isolation class.

    • platform only

      The mechanism: an egress proxy, network policies, a sandbox, a model proxy, an MCP gateway.

  8. 8Produce outputs

    • in v1alpha3

      A command step writes one file per declared output into $AWP_OUTPUTS; an agent step ends with complete_step. Every runtime accepts at least 256 KiB per output and 1 MiB per step and never truncates. Outputs of failed attempts are discarded. Each output is recorded as artifact.created with its digest.

  9. 9Ask people: input and approval

    • in v1alpha3

      Input steps and agents with humanInput ask named people and wait (waitingForInput, profile interaction). Approvals gate actions or steps (waitingForApproval, profile governance); only an authenticated human can approve, an answer is never an approval, and separationOfDuties keeps the initiator from approving.

    • PR #24–26

      AEP-0024: in a run started by an event, the attested person counts as the initiator, so the rule binds the person who wrote the message, not only the bridge.

    • PR #24–26

      AEP-0023: approvals and confirmations are decided outside the execution environment, from an authenticated person; nothing that carries a decision is readable inside. AEP-0026: in an interactive session the person confirms actions according to the autonomy level; a confirmation is not an approval.

  10. 10Keep state for the next run

    • PR #24–26

      AEP-0025: declared stores with classification, retention and access mode, shared only within one owner; atomic writes; command steps see $AWP_STATE_DIR/<name>. Spec 12: content kept between executions is untrusted input. Today state exists only invisibly in the runtime.

  11. 11Finish, report, audit

    • in v1alpha3

      The run ends succeeded, failed or cancelled; WorkflowRun.status shows phase, steps, usage and the conditions Accepted and Succeeded, never output values or secrets. Audit events (workflow.*, tool.*, policy.*, approval.*, input.*, artifact.*) are the record; under the audit profile they form a hash chain, and a reproducibility record lists everything the run depended on.

Worked examples

Seven small manifests in one neutral domain (a concert scout): five build on each other, the last two show what interactive use and a coding agent engine look like with PRs #25 and #26. Left panes are v1alpha3 and were run through the reference checker at b0a79fb; right panes mark what a proposal adds and are not checked.

1

A scheduled agent workflow with outputs

in v1alpha3

Every morning a command step fetches venue programs, an agent keeps the concerts that match a taste, and a second command step sends the digest. This is plain v1alpha3 under the core profile.

v1alpha3: Workflowvalid
apiVersion: awp.agenticworkflowprotocol.org/v1alpha3kind: Workflowmetadata:  name: concert-scoutspec:  version: 0.1.0  description: Checks venue programs every morning and reports new concerts.  owner:    team: music-fans  classification: internal  triggers:    - type: manual    - type: schedule      cron: "0 7 * * *"      timezone: Europe/Berlin      concurrencyPolicy: forbid      startingDeadline: 30m  inputs:    - name: venues      type: array      default:        - https://venue.example.org/program  budget:    maxCostUsd: 0.5    maxDuration: 30m  agents:    - id: curator      model:        provider: example-provider        name: example-model      instructions: Rate concerts against the taste in the task. End with complete_step.  secrets:    - name: WEBHOOK_URL      source: secret-manager      scope:        - command  permissions:    default: deny    tools:      shell.execute:        allow: true  workflow:    - id: fetch      type: command      image: registry.example.com/concert-scout/tools:1.4      command: fetch-programs > "$AWP_OUTPUTS/events"      env:        VENUES: "${{ inputs.venues }}"      timeout: 5m      retries: 1      outputs:        - name: events          description: JSON array of concerts with artist, date and venue.    - id: rate      agent: curator      task: "Keep the Metalcore and Hardcore concerts: ${{ steps.fetch.outputs.events }}"      dependsOn:        - fetch      outputs:        - name: digest          description: Plain-text summary, one concert per line.    - id: notify      type: command      image: registry.example.com/concert-scout/tools:1.4      command: send-digest      env:        DIGEST: "${{ steps.rate.outputs.digest }}"      dependsOn:        - rate
v1alpha3: a manual start as WorkflowRunvalid
apiVersion: awp.agenticworkflowprotocol.org/v1alpha3kind: WorkflowRunmetadata:  generateName: concert-scout-spec:  workflowRef:    name: concert-scout    version: 0.1.0  inputs:    venues:      - https://club.example.org/events

What it shows

The schedule uses the input default (a schedule supplies no inputs); forbid skips a tick while the previous run still runs. The command writes its output as a file into $AWP_OUTPUTS, the agent ends with complete_step, and values reach the second command through env, never through the command text. The WorkflowRun on the right is a manual start: its creator is the actor, and version is an assertion that fails the request if the workflow has moved on.

Why

Each line maps to one rule a runtime MUST enforce: tick handling (5.2), outputs (5.6.4), no expressions in command (5.6.2), default: deny with one explicit allow (7.5), budget checked before every model call (5.7), image tags resolved and pinned at start (10.1).

2

The same workflow under the security profile

in v1alpha3PR #24–26

The same workflow, reviewed for the security profile: images pinned by digest and outbound network limited to the venue site and the webhook. The right side shows what AEP-0023 adds.

v1alpha3 (core, security)valid
apiVersion: awp.agenticworkflowprotocol.org/v1alpha3kind: Workflowmetadata:  name: concert-scoutspec:  version: 0.1.0  description: Checks venue programs every morning and reports new concerts.  owner:    team: music-fans  classification: internal  triggers:    - type: manual    - type: schedule      cron: "0 7 * * *"      timezone: Europe/Berlin      concurrencyPolicy: forbid      startingDeadline: 30m  inputs:    - name: venues      type: array      default:        - https://venue.example.org/program  budget:    maxCostUsd: 0.5    maxDuration: 30m  agents:    - id: curator      model:        provider: example-provider        name: example-model      instructions: Rate concerts against the taste in the task. End with complete_step.  secrets:    - name: WEBHOOK_URL      source: secret-manager      scope:        - command  permissions:    default: deny    tools:      shell.execute:        allow: true    network:      egress: deny      allowHosts:        - venue.example.org        - hooks.example.net  workflow:    - id: fetch      type: command      image: registry.example.com/concert-scout/tools:1.4@sha256:162c964d9ab8c11b0b2014a92860d99384acfa28652e515cafa7d554e1c2e497      command: fetch-programs > "$AWP_OUTPUTS/events"      env:        VENUES: "${{ inputs.venues }}"      timeout: 5m      retries: 1      outputs:        - name: events          description: JSON array of concerts with artist, date and venue.    - id: rate      agent: curator      task: "Keep the Metalcore and Hardcore concerts: ${{ steps.fetch.outputs.events }}"      dependsOn:        - fetch      outputs:        - name: digest          description: Plain-text summary, one concert per line.    - id: notify      type: command      image: registry.example.com/concert-scout/tools:1.4@sha256:162c964d9ab8c11b0b2014a92860d99384acfa28652e515cafa7d554e1c2e497      command: send-digest      env:        DIGEST: "${{ steps.rate.outputs.digest }}"      dependsOn:        - rate
PR #25: AEP-0023 structured destinationsnot checked
apiVersion: awp.agenticworkflowprotocol.org/v1alpha3kind: Workflowmetadata:  name: concert-scoutspec:  version: 0.1.0  description: Checks venue programs every morning and reports new concerts.  owner:    team: music-fans  classification: internal  triggers:    - type: manual    - type: schedule      cron: "0 7 * * *"      timezone: Europe/Berlin      concurrencyPolicy: forbid      startingDeadline: 30m  inputs:    - name: venues      type: array      default:        - https://venue.example.org/program  budget:    maxCostUsd: 0.5    maxDuration: 30m  agents:    - id: curator      model:        provider: example-provider        name: example-model      instructions: Rate concerts against the taste in the task. End with complete_step.  secrets:    - name: WEBHOOK_URL      source: secret-manager      scope:        - command  permissions:    default: deny    tools:      shell.execute:        allow: true    network:      egress: deny      allowTo:                    # replaces allowHosts (AEP-0023)        - host: venue.example.org          ports:            - port: 443        - host: "*.cdn.example.org" # subdomain wildcard        - host: hooks.example.net        - cidr: 10.20.0.15/32     # internal ticket API: only a cidr entry                                  # can open it, and the ceiling must too  workflow:    - id: fetch      type: command      image: registry.example.com/concert-scout/tools:1.4@sha256:162c964d9ab8c11b0b2014a92860d99384acfa28652e515cafa7d554e1c2e497      command: fetch-programs > "$AWP_OUTPUTS/events"      env:        VENUES: "${{ inputs.venues }}"      timeout: 5m      retries: 1      outputs:        - name: events          description: JSON array of concerts with artist, date and venue.    - id: rate      agent: curator      task: "Keep the Metalcore and Hardcore concerts: ${{ steps.fetch.outputs.events }}"      dependsOn:        - fetch      outputs:        - name: digest          description: Plain-text summary, one concert per line.    - id: notify      type: command      image: registry.example.com/concert-scout/tools:1.4@sha256:162c964d9ab8c11b0b2014a92860d99384acfa28652e515cafa7d554e1c2e497      command: send-digest      env:        DIGEST: "${{ steps.rate.outputs.digest }}"      dependsOn:        - rate
Example 1 under security: rejectedrejected by checker
$ node conformance/awp-check.mjs check --profiles core,security concert-scout.yamlconcert-scout.yaml:45:14 error security.image-not-pinned /spec/workflow/0/imageconcert-scout.yaml:64:14 error security.image-not-pinned /spec/workflow/2/imageinvalid

What it shows

v1alpha3 already has egress: deny with allowHosts and requires digests under security; a tag is rejected (bottom). AEP-0023 replaces allowHosts with objects (host or cidr, ports), requires the runtime to enforce the rules or reject before any step, opens internal addresses only through a cidr entry that the platform ceiling also allows, rejects anything above a ceiling, and keeps credentials and approvals out of every step.

Why

Without a syntax the same list means different things on different runtimes, and a port after an IPv6 address is ambiguous (G49); without enforce-or-reject a runtime may silently ignore the rules for command steps (G10, G51); an allowed host that resolves to a metadata address is an SSRF hole (G50), which is why a host entry never opens an internal address. Under security, AEP-0023 also changes the default of egress to deny.

3

An event-triggered workflow

in v1alpha3PR #24–26planned

A chat message in the concerts channel starts a run that answers it. v1alpha3 can start the run but not pass the message; PR #24 defines the event model, the planned AEP-0004 pull request makes the data reachable.

v1alpha3: event triggervalid
apiVersion: awp.agenticworkflowprotocol.org/v1alpha3kind: Workflowmetadata:  name: concert-chatspec:  version: 0.1.0  owner:    team: music-fans  classification: internal  triggers:    - type: event      source: chat.example.com      eventType: com.example.chat.message.posted      filter:        channel: concerts  agents:    - id: helper      model:        provider: example-provider        name: example-model      instructions: Answer questions about upcoming concerts in one short message.  workflow:    - id: answer      agent: helper      task: Answer the latest question in the concerts channel.      outputs:        - name: reply
PR #24 (AEP-0024) and planned (AEP-0004)not checked
apiVersion: awp.agenticworkflowprotocol.org/v1alpha3kind: Workflowmetadata:  name: concert-chatspec:  version: 0.2.0  owner:    team: music-fans  classification: internal  triggers:    - type: event      source: chat.example.com      # CloudEvents source: the producer      eventType: com.example.chat.message.posted      filter:                       # equality, all entries must match        data.channel: concerts        data.mentions: concert-scout      concurrencyPolicy: allow      # PR #24: default for events      rateLimit:                    # PR #24        maxExecutions: 20        period: 1h      classification: internal     # planned: AEP-0004      dataSchema:                   # planned: AEP-0004        type: object        required: [message, thread]        properties:          message: { type: string, maxLength: 4000 }          thread: { type: string, maxLength: 64 }  agents:    - id: helper      model:        provider: example-provider        name: example-model      instructions: Answer questions about upcoming concerts in one short message.  workflow:    - id: answer      agent: helper      task: "Answer this message: ${{ event.data.message }}"  # planned      outputs:        - name: reply
Planned: a replay run that carries its event (field names are a sketch)not checked
apiVersion: awp.agenticworkflowprotocol.org/v1alpha3kind: WorkflowRunmetadata:  generateName: concert-chat-replay-spec:  workflowRef:    name: concert-chat  event:                    # planned: AEP-0019 amendment (G48, G57)    origin: replay          # ingress: set by a trusted router    source: chat.example.com    type: com.example.chat.message.posted    id: msg-4711    data:      channel: concerts      mentions: concert-scout      message: Any metalcore shows near Leipzig this month?      thread: t-1234

What it shows

AEP-0024: the event is a CloudEvent, source names its producer, filter matches attributes or data.<path> by equality, a second event with the same source and id within at least 24 hours starts nothing (trigger.skipped, reason duplicate, no manifest field), and rateLimit and concurrencyPolicy bound the load. The planned pull request adds ${{ event.data.* }}, dataSchema and classification (AEP-0004) and lets the run object carry the event, from a trusted ingress or as a test or replay (bottom).

Why

Without event data, runtimes map payloads to inputs, which hides that a value comes from an external sender (D7 rejects that). Brokers and webhooks redeliver, so duplicates are real; the reviewed filter stays the upper bound, and runtime filters may only narrow it. Conversation context is untrusted input.

4

State between runs

in v1alpha3PR #24–26

The scout should report each concert once. Today that memory is a file on a volume the runtime provides, invisible in the manifest. AEP-0025 declares it.

v1alpha3: state is not visiblevalid
apiVersion: awp.agenticworkflowprotocol.org/v1alpha3kind: Workflowmetadata:  name: concert-scoutspec:  version: 0.2.0  owner:    team: music-fans  classification: internal  triggers:    - type: schedule      cron: "0 7 * * *"      timezone: Europe/Berlin  agents:    - id: curator      model:        provider: example-provider        name: example-model  workflow:    - id: fetch      type: command      image: registry.example.com/concert-scout/tools:1.4      command: fetch-programs > "$AWP_OUTPUTS/events"      outputs:        - name: events    - id: diff      type: command      image: registry.example.com/concert-scout/tools:1.4      command: only-new > "$AWP_OUTPUTS/new"      env:        EVENTS: "${{ steps.fetch.outputs.events }}"      dependsOn:        - fetch      outputs:        - name: new    - id: rate      agent: curator      task: "Rate these new concerts: ${{ steps.diff.outputs.new }}"      dependsOn:        - diff
PR #24: AEP-0025 declared storesnot checked
apiVersion: awp.agenticworkflowprotocol.org/v1alpha3kind: Workflowmetadata:  name: concert-scoutspec:  version: 0.3.0  owner:    team: music-fans  classification: internal  triggers:    - type: schedule      cron: "0 7 * * *"      timezone: Europe/Berlin  state:                          # PR #24: AEP-0025    - name: seen-concerts      retention: 180d      maxSize: 64Mi    - name: preferences      access: read  agents:    - id: curator      model:        provider: example-provider        name: example-model  workflow:    - id: fetch      type: command      image: registry.example.com/concert-scout/tools:1.4      command: fetch-programs > "$AWP_OUTPUTS/events"      outputs:        - name: events    - id: diff      type: command      image: registry.example.com/concert-scout/tools:1.4      command: only-new --seen "$AWP_STATE_DIR/seen-concerts" > "$AWP_OUTPUTS/new"      env:        EVENTS: "${{ steps.fetch.outputs.events }}"      dependsOn:        - fetch      outputs:        - name: new    - id: rate      agent: curator      task: "Rate these new concerts: ${{ steps.diff.outputs.new }}"      dependsOn:        - diff
PR #24: a second workflow of the same owner shares the storesnot checked
apiVersion: awp.agenticworkflowprotocol.org/v1alpha3kind: Workflowmetadata:  name: concert-chatspec:  version: 0.3.0  owner:    team: music-fans                # same owner and namespace: shared  classification: internal  state:                            # PR #24: AEP-0025    - name: preferences             # "no more jazz, please"      access: readWrite    - name: seen-concerts      access: read  # ... triggers, agents and steps as in example 3

What it shows

Each store has a name, an access mode, a classification (default: the workflow's) and a retention. Command steps find it at $AWP_STATE_DIR/<name>; agent steps only through granted tools. Workflows of the same owner in the same namespace share a store of the same name, the strictest classification applies to every reader, writes are atomic, retention and maxSize must be equal in every declaration of a shared store, and the runtime states whether concurrent writers are serialised.

Why

Reviewers cannot see that a workflow keeps data, which class it has or how long it is kept (G03, G53). Content written by one run is read by the next: PR #24 also changes spec 12, so state is untrusted input and a stored chat message cannot become a standing instruction (G58).

5

Human approval and the initiator rule

in v1alpha3PR #24–26

A newsletter is drafted by an agent and sent only after an editor approves it, and the person who started the run cannot approve it. Approval belongs to the governance profile.

v1alpha3 (core, governance)valid
apiVersion: awp.agenticworkflowprotocol.org/v1alpha3kind: Workflowmetadata:  name: concert-newsletterspec:  version: 0.1.0  owner:    team: music-fans  classification: internal  triggers:    - type: manual  approval:    approvers:      - role: newsletter-editor    separationOfDuties:      enabled: true      rules:        - initiatorCannotApprove: true  agents:    - id: writer      model:        provider: example-provider        name: example-model  permissions:    default: deny    tools:      shell.execute:        allow: true  workflow:    - id: draft      agent: writer      task: Write this week's concert newsletter from the venue programs.      outputs:        - name: text    - id: review      type: approval      dependsOn:        - draft      approval:        approvers:          - role: newsletter-editor        timeout: 24h        message: "Send this newsletter? ${{ steps.draft.outputs.text }}"    - id: send      type: command      image: registry.example.com/newsletter/send:2.0      command: send-newsletter      env:        TEXT: "${{ steps.draft.outputs.text }}"      dependsOn:        - review
PR #24: started by a chat messagenot checked
apiVersion: awp.agenticworkflowprotocol.org/v1alpha3kind: Workflowmetadata:  name: concert-newsletterspec:  version: 0.2.0  owner:    team: music-fans  classification: internal  triggers:    - type: event                   # "@newsletter send this week's issue"      source: chat.example.com      eventType: com.example.chat.message.posted      filter:        data.channel: newsletter  approval:    approvers:      - role: newsletter-editor    separationOfDuties:      enabled: true      rules:        - initiatorCannotApprove: true   # PR #24: binds the                                         # attested actor  agents:    - id: writer      model:        provider: example-provider        name: example-model  permissions:    default: deny    tools:      shell.execute:        allow: true  workflow:    - id: draft      agent: writer      task: Write this week's concert newsletter from the venue programs.      outputs:        - name: text    - id: review      type: approval      dependsOn:        - draft      approval:        approvers:          - role: newsletter-editor        timeout: 24h        message: "Send this newsletter? ${{ steps.draft.outputs.text }}"    - id: send      type: command      image: registry.example.com/newsletter/send:2.0      command: send-newsletter      env:        TEXT: "${{ steps.draft.outputs.text }}"      dependsOn:        - review
PR #24: a policy that requires an attested personnot checked
apiVersion: awp.agenticworkflowprotocol.org/v1alpha3kind: Policymetadata:  name: chat-runs-need-a-personspec:  version: 0.1.0  owner:    team: music-fans  rules:    - id: require-attested-actor      when:        trigger.attested:           # PR #24: condition of AEP-0024,          equals: "false"           # the operator shape is a sketch      effect: deny
Left side on a core-only runtime: rejectedrejected by checker
$ node conformance/awp-check.mjs check --profiles core concert-newsletter.yamlconcert-newsletter.yaml:13:5 error profile.unsupported /spec/approvalconcert-newsletter.yaml:35:7 error profile.unsupported /spec/workflow/1invalid

What it shows

The approval step pauses the run in waitingForApproval until an authenticated editor approves; an agent can never approve, and an answer to an input request never counts as one. initiatorCannotApprove rejects an approval by whoever created the WorkflowRun. With PR #24, a run started by a chat message has the bridge as actor and the attested author as attestedActor, and the rule binds that author; a policy can refuse event runs without an attested person.

Why

In v1alpha3 every event start has the actor type system, so a person could start a run by message and approve its request (G44, raised to must). A runtime without the governance profile must reject the manifest instead of running it without approvals (bottom).

6

An agent people use interactively

in v1alpha3PR #24–26

A music fan opens a session with a coding agent to find out why one scraper broke. v1alpha3 can only describe the agent; PRs #25 and #26 let the author allow interactive use, cap autonomy and require a sandbox, and add the session object.

v1alpha3: Agentvalid
apiVersion: awp.agenticworkflowprotocol.org/v1alpha3kind: Agentmetadata:  name: scout-maintainerspec:  version: 0.1.0  description: Helps the music fans keep the concert scout's scrapers working.  owner:    team: music-fans  classification: internal  model:    provider: example-provider    name: example-model  instructions: You maintain the scrapers of the concert scout. Explain before you change.  permissions:    default: deny    tools:      shell.execute:        allow: true        resources:          - git *          - npm test  budget:    maxCostUsd: 5
PR #26 (AEP-0026, AEP-0002) and PR #25 (AEP-0023)not checked
apiVersion: awp.agenticworkflowprotocol.org/v1alpha3kind: Agentmetadata:  name: scout-maintainerspec:  version: 0.1.0  description: Helps the music fans keep the concert scout's scrapers working.  owner:    team: music-fans  classification: internal  model:    provider: example-provider    name: example-model  isolation: sandbox             # AEP-0023: at least a sandbox  sessions:                      # AEP-0026: may run interactively    maxAutonomy: ask             # never "auto"    models:                      # the only alternatives      - provider: example-provider        name: example-model-large  instructions: You maintain the scrapers of the concert scout. Explain before you change.  permissions:    default: deny    tools:      shell.execute:        allow: true        resources:          - git *          - npm test  actionGroups:                  # AEP-0002: rules on git.push also    git.push:                    # apply to "git push" in a shell      - action: shell.execute        resources: ["git push*"]  budget:    maxCostUsd: 5
PR #26: the session a person startsnot checked
apiVersion: awp.agenticworkflowprotocol.org/v1alpha3kind: AgentSession                # AEP-0026, next to WorkflowRunmetadata:  generateName: fix-venue-scraper-  namespace: musicspec:  agentRef:    name: scout-maintainer  autonomy: ask                   # "auto" would be rejected  model:    provider: example-provider    name: example-model-large  initialPrompt: The scraper for venue.example.org returns no events since Monday. Find out why.status:  phase: waiting                  # a confirmation is pending  autonomy: ask  usage: {costUsd: "0.31", modelCalls: 6}

What it shows

Without sessions the agent cannot run interactively. The person picks readOnly or ask; auto is rejected because the author capped it, and a level above the platform ceiling would be rejected too. Every allowed action asks first at ask; the confirmation comes from the person through the runtime's interface, decided outside the sandbox. git push in the shell counts as git.push, so rules on pushing apply. The budget covers the whole session across pauses.

Why

Interactive use is the most common use of coding agents, but v1alpha3 can only run an agent as a one-step workflow (G62). The author should decide whether the agent may work without asking (G63), and confirmations only protect if the agent cannot give them itself (G64, shown in the proof of concept). Confirmation per action and governance without a workflow are open questions of AEP-0026.

7

A coding agent as engine, with network rules

in v1alpha3PR #24–26

Every night a coding agent runs the scraper tests and reports what broke. In v1alpha3 the engine is an extension field another runtime may ignore; PR #26 names it, PR #25 structures the network rules.

v1alpha3: engine as an extensionvalid
apiVersion: awp.agenticworkflowprotocol.org/v1alpha3kind: Workflowmetadata:  name: scraper-checkspec:  version: 0.1.0  description: Every night a coding agent runs the scraper tests and reports what broke.  owner:    team: music-fans  classification: internal  triggers:    - type: schedule      cron: "0 3 * * *"      timezone: Europe/Berlin  budget:    maxCostUsd: 1  agents:    - id: checker      model:        provider: example-provider        name: example-model      extensions:        x-example-engine:          # runtime-specific: another runtime          repository: https://git.example.com/scout/scrapers.git  permissions:    default: deny    tools:      shell.execute:        allow: true    network:      egress: deny      allowHosts:        - git.example.com        - venue.example.org  workflow:    - id: check      agent: checker      task: Run the scraper tests and report which venues fail and why. Do not change files.      outputs:        - name: summary
PR #26 (AEP-0027) and PR #25 (AEP-0023)not checked
apiVersion: awp.agenticworkflowprotocol.org/v1alpha3kind: Workflowmetadata:  name: scraper-checkspec:  version: 0.2.0  description: Every night a coding agent runs the scraper tests and reports what broke.  owner:    team: music-fans  classification: internal  triggers:    - type: schedule      cron: "0 3 * * *"      timezone: Europe/Berlin  budget:    maxCostUsd: 1                  # must be declared under a budget ceiling  agents:    - id: checker      isolation: sandbox           # AEP-0023      engine:                      # AEP-0027: unknown type -> rejected        type: example.com/coding-agent        workspace:          repositories:            - url: https://git.example.com/scout/scrapers.git              ref: main              path: scrapers          trustRepositoryConfig: [] # no AGENTS.md, skills, commands      model:        provider: example-provider        name: example-model  permissions:    default: deny    tools:      shell.execute:        allow: true    network:      egress: deny      allowTo:                     # AEP-0023        - host: git.example.com          ports:            - port: 443        - host: venue.example.org          ports:            - port: 443  workflow:    - id: check      agent: checker      task: Run the scraper tests and report which venues fail and why. Do not change files.      outputs:        - name: summary

What it shows

A runtime without example.com/coding-agent rejects the workflow instead of running its own loop. Permissions, budget and audit apply to the engine; its model calls are metered outside it. The repository is cloned before the engine starts, and its instruction files, skills and commands are not loaded. allowTo limits the network to two hosts on port 443; if either name resolves to an internal address, the connection is denied.

Why

An ignored extension means a different loop with different tools that still reports success (G65). Repository content can change what the agent does before any permission applies (G81). Typed outputs, repositories from events and pushing are open questions of AEP-0027, so the step only reports.

What flowed in from pull requests #24 to #26

Three stacked drafts, not merged; they supersede #19, #20 and #23. The AEP-0004 pull request is planned and has no text yet.

PRChangeFileGaps
#24Decision D21 (refines D17): open specifications and vendor-neutral foundation or SIG projects may be named as prior art, never as dependencies. Spec 1.2 and the README name the Open Workflow Specification and agent-sandbox; AEP-0022 names the for task as prior art. Commits of the former #20, unchanged.decisions.md (PR #24)-
#24Runtime feedback G41 to G87 with home, evidence and status: event triggers, the concept review, models, and section 10 from a platform with interactive coding agent sessions. Section 10 also states what goes into AWP (what a reviewer must know, what must mean the same everywhere) and which platform objects should become AWP kinds.runtime-feedback.md (PR #24)G41 to G87
#24AEP-0024 event triggers with CloudEvents: equality filters, deduplication per workflow by source and id, concurrencyPolicy, rateLimit, attested actor bound by the approval rules, conversation context as untrusted data.AEP-0024 (PR #24)G42 to G46, G54, G56
#24AEP-0025 state: declared stores with classification, retention and access mode, sharing within one owner with equal retention and maxSize, atomic writes, state as untrusted input (spec 12).AEP-0025 (PR #24)G03, G53, G58
#24AEP-0021: B4 triggers[].source is the CloudEvents source; B6 bindings may also target an Agent.AEP-0021 (PR #24)G52, G54
#25AEP-0023 step isolation: allowTo objects (host or cidr, ports) instead of allowHosts, enforce or reject, internal addresses only through a cidr entry, ceilings reject and never adjust (spec 5.7 amended), credentials and approvals outside the execution environment, minimum isolation. Address normalisation, proxies and gateways are informative implementer guidance.AEP-0023 (PR #25)G10, G47, G49 to G51, G61, G64, G67 to G69
#26AEP-0026 interactive execution (concept, number to be confirmed): kind AgentSession, sessions opt-in with maxAutonomy and model alternatives, three autonomy levels. Confirmation per action, governance without a workflow, questions, history, events and time limits are open questions.AEP-0026 (PR #26)G62, G63, G73, G82
#26AEP-0027 agent engine (concept, number to be confirmed): agents[].engine with a domain-prefixed type and fixed repositories, repository configuration off by default. Outputs, repositories from events, push and a runtime profile are open questions.AEP-0027 (PR #26)G65, G81
#26Amendments: AEP-0007 server prompts and resources as allow lists, prompts.get reserved, sampling and roots declined; AEP-0002 shell resources and command mapping through actionGroups; AEP-0005 prompts as session tasks; AEP-0009 origin of events; AEP-0013 budgets during streaming.CHANGELOG.md (PR #26)G71, G72, G74 to G76, G78
plannedApply AEP-0004 to v1alpha3: ${{ event.* }} as its own root with dataSchema and classification, no mapping to inputs (D7). Amend AEP-0019 open question 1: the run object carries the event (spec.event with origin: ingress or replay).AEP-0004G41, G48, G57

Three stacked drafts replace #19, #20 and #23: #24 on main, #25 on #24, #26 on #25. #23 had grown to 20 files and two reviews kept adding rules; the split keeps each part reviewable, moves hardening into implementer guidance and leaves finer points of the new concepts as open questions. None of the AEPs is applied to the v1alpha3 text yet, and the schema and the checker do not know their fields. Details with examples: the side-by-side page.

Still open

What remains after pull requests #24 to #26 and the planned AEP-0004 pull request. Each gap G41 to G87 with the draft text, a proposal sketch and the evidence is on the gaps page; G01 to G40 are in runtime-feedback.md.

Open maintainer decisions

  • 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).

Decisions for the maintainer

Confirm the numbers AEP-0026 and AEP-0027; whether approval authority stays in AEP-0023 or becomes its own AEP; which platform objects become AWP kinds (runtime feedback section 10: AgentSession new, Prompt and McpCatalog as proposed, tenants, sandbox profiles and bindings left to the runtime).

Drafted, but not applied or accepted

AEP-0023 to AEP-0027 are Draft and change nothing in v1alpha3 until applied, and none can become Accepted without an external reviewer (D16). Open questions: AEP-0023 visibility of ceilings, host entries for internal names, isolation classes, separation of duties; AEP-0024 the carrier of the attested actor and the dedup window; AEP-0025 its own kind and the ownership boundary; AEP-0026 confirmation per action, governance without a workflow, questions, history, events, time limits, naming; AEP-0027 outputs, repositories from events, push, registry, runtime profile.

Covered by an existing AEP that is not applied

G02 (typed outputs, AEP-0003 and AEP-0014), G04 (conditional steps, AEP-0001), G06 and G55 (tool steps and the identity a step acts as, AEP-0012), G22 (array item schemas, AEP-0014), G52 (runtime trigger objects, AEP-0021 B6), G59 and G60 (catalog limits and capabilities, AEP-0008, after the current draft).

Open, no AEP yet

G05 (secret scopes per step, a must), G09 (unknown fields pass strict apply), G11 (origin marking of untrusted outputs), G12 (where command code comes from), G13 (finally steps), G16 to G21, G24 to G39 (mostly clarifications: defaults, retries, budget units, model parameters, runtime neutrality) and K (a Kubernetes mapping, normative or informative). From section 10: G77 (data flow to tool sources), G79 and G80 (secrets supplied at start, secret scope of a standalone agent).

G23 (fan-out) is resolved: forEach, AEP-0022 (accepted, D19), spec v1alpha3 5.6.5.

Informative

How a Kubernetes runtime can map it

Informative, not specification: one possible implementation, from the experience of a proof-of-concept Kubernetes runtime. Another runtime may map the same rules differently; AWP only fixes the rules on the right.

One way a Kubernetes runtime maps AWPA chat bridge publishes CloudEvents to a broker; an event router creates a run object; the operator validates, pins and creates one Job per step; steps reach models through a model proxy with a per-attempt ticket, tools through a tool proxy with SSRF checks, and the internet through an egress proxy behind a default-deny network policy.Chat, webhookbridge publishesCloudEventsBroker (MQTT)topic access controlattests the senderEvent routerone filter per workflow,no model in routingRun objectWorkflowRun; only theruntime sets the triggerOperatorvalidates, pins, holdsmodel keys, dedupsJob per stepor a Sandbox; runnernot dumpableModel proxyticket, budget,provider profileTool proxyresolved addresschecked (SSRF)Egress proxyallowlist per agent,default-deny policyOne way a Kubernetes runtime maps AWPA chat bridge publishes CloudEvents to a broker; an event router creates a run object; the operator validates, pins and creates one Job per step; steps reach models through a model proxy with a per-attempt ticket, tools through a tool proxy with SSRF checks, and the internet through an egress proxy behind a default-deny network policy.Chat, webhookbridge publishesCloudEventsBroker (MQTT)topic access controlattests the senderEvent routerone filter per workflow,no model in routingRun objectWorkflowRun; only theruntime sets the triggerOperatorvalidates, pins, holdsmodel keys, dedupsJob per stepor a Sandbox; runnernot dumpableModel proxyticket, budget,provider profileTool proxyresolved addresschecked (SSRF)Egress proxyallowlist per agent,default-deny policy
PieceWhat a Kubernetes runtime doesAWP rule it enforcesRule status
Binding objectA kind of the runtime connects a Workflow to a namespace: placement, runner image, volumes, secret mapping. The manifest itself needs no runtime field.Placement is implementation-defined; bindings with targetRefs are the AEP-0021 B6 concept.platform only
Validation on readThe operator validates every object it reads and writes Valid and Ready; an admission check on write is optional.Spec 3.10 and 3.11: validate before acting, fail closed, never change spec.in v1alpha3
One run object per executionA WorkflowRun per execution, created by a client (manual) or by the runtime (schedule, event).Spec 10.8: at most one execution per run, actor from an authenticated source.in v1alpha3
Admission rule on runsOnly the runtime may set trigger type and filter on a run; a client cannot claim to be an event.Spec 10.8 (client runs are manual); the trusted ingress of the planned AEP-0019 amendment (G48).planned
One Job (or Sandbox) per stepEach step runs in its own pod; the runner process is not dumpable, so the step ticket cannot be read through /proc.Spec 5.6.2: command steps in an isolated environment; AEP-0023: credentials not visible to steps.PR #24–26
Per-attempt ticket, model proxyModel keys live only in the operator namespace. A step gets a short-lived ticket per attempt; the model proxy checks the ticket, the budget and a provider profile per model API protocol (local models allowed) and calls the provider.AEP-0023 change to 7.9 (G61); budgets checked before each model call (5.7); modelPolicy (7.4).PR #24–26
Tool proxy with SSRF checksChecks the address actually connected to, at connection time, which covers redirects and DNS changes.AEP-0023 implementer guidance: check the address actually connected to. Normative: internal destinations only through a cidr entry that the ceiling also allows (G50).PR #24–26
Egress proxy, default-deny policyA forward proxy per agent with a domain allowlist derived from allowHosts, plus a default-deny NetworkPolicy that lets the pod reach only that proxy. NetworkPolicy needs a network plugin that enforces it; some local development clusters do not.AEP-0023: the namespace policy is a ceiling; a manifest that needs more is rejected; enforce or reject, so on a cluster that does not enforce NetworkPolicy the runtime must reject.PR #24–26
Broker and event routerA chat bridge publishes each message as a CloudEvent to an MQTT broker; an event router with one filter object per workflow creates runs. No model takes part in routing, so a message cannot redirect it by prompt. The router subscribes with QoS 0 and keeps ids only briefly, so the operator deduplicates itself.AEP-0024: router filters may only narrow the manifest filter; dedup by source and id; concurrencyPolicy, rateLimit; delivery guarantee per source in the conformance statement (G56).PR #24–26
Attested authorThe bridge is the only identity allowed to publish on the topic and reads the author from the chat system: attestation through transport authorisation, not end to end.AEP-0024: attestedActor only from sources configured as trusted; approval rules treat it as the initiator (G44).PR #24–26
Decision proxy next to the coding agentIn interactive sessions every tool call goes to a separate container with its own process namespace, which decides by mode, permissions and command allow list and asks the person through the console; grants are signed. The coding agent's own permission system is not trusted: a command of the same user ID read its server password and answered its own requests.AEP-0023 (approvals outside the execution environment), AEP-0026 (autonomy and confirm).PR #24–26
MCP gateway with ticketsMCP servers are reachable only through a gateway of the operator (network policy). It accepts a session or step ticket, adds the server credential, filters tools, prompts and resources to the catalog, answers sampling and roots itself and audits every call.AEP-0023 (tool server credentials outside steps), AEP-0007 rules 3, 7, 9 to 12.PR #24–26
Tenant ceilings and sandbox profilesA tenant object limits models, hosts, MCP servers, modes and cost; a sandbox profile maps an isolation class to a runtime class. Both stay kinds of the runtime.AEP-0023 7.5.10 (ceilings reject, budgets too) and agents[].isolation.PR #24–26
Sanitized chat repliesA step posts the reply in the originating thread after sanitizing it (no mentions or markup the model was not meant to send).No AWP rule yet: delivery of replies is the job of a step (AEP-0024); the identity a step posts as is open (G55, AEP-0012).platform only

What it creates for the worked examples, and when

ExampleWhen the manifest is appliedWhen a run startsPer step
1. A scheduled agent workflow with outputsStores the Workflow, validates it (Valid), finds its binding, registers the schedule (Ready).At 07:00 creates a run object with the trigger in status; skips the tick with trigger.skipped while the previous run is active (forbid). Resolves the image tag to a digest.Job fetch, then Job rate (model proxy with a ticket for this attempt), then Job notify with the webhook secret.
2. The same workflow under the security profileRejects the manifest if a pinned image is missing a digest or if the network plugin does not enforce NetworkPolicy.Derives the proxy allowlist from allowHosts and checks it against the namespace ceiling; rejects the run before any Job if the ceiling is narrower.Each Job reaches only its egress proxy; tool calls go through the tool proxy, which refuses addresses outside the ceiling.
3. An event-triggered workflowGenerates a filter object for the router from spec.triggers.Router matches the CloudEvent and creates the run; the operator drops a second event with the same source and id.Job answer reads the message (once AEP-0004 is applied); a reply step posts the sanitized answer into the thread.
4. State between runsToday: one volume per workflow from the binding, mounted at /awp/state, invisible in the manifest.With AEP-0025: mounts only the declared stores, read-only where access: read.Job diff reads and writes seen-concerts; writes are atomic.
5. Human approval and the initiator ruleRejects the manifest on a runtime without the governance profile.Records the creator of the run (manual) or the bridge and the attested author (event).After draft, the run waits in waitingForApproval; an approval by the initiator is rejected and recorded; then Job send.

Adopt it

Two short checklists. Profiles decide which fields a runtime must understand; a manifest that uses a field of a profile the runtime does not claim is rejected, never run without it.

As a workflow author

  1. Start from example 1: apiVersion: awp.agenticworkflowprotocol.org/v1alpha3, a DNS-1123 metadata.name, spec.version (SemVer), spec.owner.team, and spec.classification if you target the governance profile.
  2. Declare triggers (without them only manual starts are possible); give inputs defaults if a schedule starts the workflow.
  3. Pass values to commands through env, never in command. Write outputs to $AWP_OUTPUTS/<name> or let the agent end with complete_step.
  4. Use permissions with default: deny and explicit allows; limit network with egress: deny and allowHosts; declare secrets by name with the smallest scope, never as values.
  5. Pin images by digest if the workflow must run under the security profile; outside it, tags are resolved and pinned at start.
  6. Choose the profiles from the table and validate: in a checkout of the spec repository run npm ci, then node conformance/awp-check.mjs check --profiles core,governance my.workflow.yaml. node conformance/awp-check.mjs migrate old.yaml converts v1alpha1 and v1alpha2 manifests.
  7. On Kubernetes, install the CRDs from schema/crd/ and apply with kubectl apply --validate=strict; read Valid and Ready in kubectl get workflows. The Helm chart packages a complete example.
  8. Do not rely on proposals yet: ${{ event.* }}, spec.state, rateLimit and the new allowHosts forms are not in v1alpha3 and the checker rejects or ignores their meaning.

As a runtime implementer

  1. Pick the profiles you can meet completely and publish a conformance statement (spec 11.3): limitations, limits, executionObjects. A profile with one unmet MUST cannot be claimed.
  2. Reject, never run partially: an unsupported apiVersion or kind, unknown fields, x- keys outside extensions, fields of profiles you do not support, literal credentials, invalid inputs, models outside modelPolicy, digest mismatches, images that cannot be resolved, image steps if you cannot run containers.
  3. Enforce at run time: the decision algorithm for every action (8.4), budgets before every model call and action, isolated command steps with network and filesystem applied, no expressions in command, the output rules (no symlinks, minimum sizes, no truncation, failed attempts discarded), pinning, approvals only by authenticated humans, the actor of a run from an authenticated source, no secret values to models, logs or audit.
  4. Prepare for PRs #24 to #26: decide confirmations and approvals outside the execution environment, keep tool server credentials in a gateway, honour a required isolation class or reject; enforce the effective network or reject before the first step, check resolved addresses, keep model keys out of steps, deduplicate events by source and id for at least 24 hours, write state atomically, treat state and conversation context as untrusted input.
  5. Test your validator with the conformance suite: npm test in the spec repository runs every case, and conformance/v1alpha3/index.json lists expected accept or reject, code and path for your own validator. A runtime test suite is planned; until then conformance statements are self-declarations.
  6. Report gaps the way docs/runtime-feedback.md does: one entry per gap with severity, the proposal and the evidence from your runtime, as an issue or an AEP in the spec repository (D18). The spec repository names no runtime (D17); the implementations list shows projects that published a conformance statement.

Which profile

ProfileNeeded when the manifest uses
coreAlways. Parse and validate, the step graph, budgets, permissions, secrets, digest, pinning, WorkflowRun if executions are objects.
governanceapproval, approval steps, policies, dataPolicy, modelPolicy, environments, risk.level high or critical; classification becomes required.
auditspec.audit: event envelope, all event types, hash chain, decision and reproducibility records.
securitysignature, images pinned by digest, isolation, network and filesystem limits, redaction.
mcp, a2aMCP servers and tool sources; remote agents.
interactionInput steps and agents with humanInput.