Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 5 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,8 @@ API versions (`v1alpha1`, ...) are versioned separately, see [GOVERNANCE.md](GOV

### Changed

- AEP-0021 B4: `triggers[].source` is no domain-prefixed value space; it is the CloudEvents `source` of the event producer (runtime feedback G54). B6: bindings may also target an `Agent`.
- Spec `v1alpha3` section 12: content kept between executions (state) is untrusted input like tool results (runtime feedback G58).
- README: the minimal manifest is now valid under all profiles (classification, declared MCP server, explicit tools and permissions).
- Conformance case `3.2-unsupported-api-version` uses `awp.agenticworkflowprotocol.org/v9`, because `v1alpha3` is now a supported version of the reference checker.
- The repository is implementation-neutral (decision D17): implementation-specific alignment documents, mappings and the single implementation page were removed, the AEPs describe prior art without naming products, the extension prefix list starts empty, and the project contact is info@agenticworkflowprotocol.org. Repository links point to `agenticworkflowprotocol/agenticworkflowprotocol.org`.
Expand All @@ -30,6 +32,9 @@ API versions (`v1alpha1`, ...) are versioned separately, see [GOVERNANCE.md](GOV

### Added

- `docs/runtime-feedback.md`: gaps G41 to G87 (event triggers, the concept review, models, interactive sessions and a coding agent engine), with the AEP each belongs to, the evidence from the runtime, and a rule for what goes into AWP (section 10).
- AEP-0024 (event triggers with CloudEvents) and AEP-0025 (state across executions) as Draft for `v1alpha3`, from runtime feedback G03, G42 to G46, G53, G54, G56 and G58.
- Decision D21 (refines D17): open specifications and vendor-neutral foundation projects may be named as prior art, not as dependencies. Spec `v1alpha3` section 1.2 and the README name the Open Workflow Specification and agent-sandbox as related work; AEP-0022 names the `for` task of the Open Workflow Specification as prior art.
- Decision D20: the Kubernetes resource model draft of pull request #16 becomes `v1alpha3` and starts from `v1alpha2`; the 5-day discussion period is waived for it. `v1alpha3` has step iteration as section 5.6.5, combined with the step output interface: each item run produces its outputs through `$AWP_OUTPUTS` or `complete_step`, command steps get `AWP_FOREACH_INDEX`, an output referenced by `forEach.items` is parsed as a JSON array, and `forEach` is not allowed on input steps (section 14.2 lists the changes from `v1alpha2`).
- Conformance suite for `v1alpha2` (`conformance/v1alpha2/`): the `v1alpha1` cases with apiVersion `v1alpha2` plus the step iteration cases; the `v1alpha3` suite has the step iteration cases too. `awp-check.mjs migrate` also converts `v1alpha2` manifests.
- Website: `v1alpha3` as a proposed draft next to `v1alpha1` and `v1alpha2`.
Expand Down
4 changes: 4 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -36,6 +36,10 @@ AWP complements existing protocols instead of replacing them:
| A2A | Agent ↔ agent communication |
| AWP | Definition, governance, execution and audit of agentic workflows |

AWP also takes ideas from the [Open Workflow Specification](https://github.com/open-workflow-specification/specification)
(control flow of workflows) and [agent-sandbox](https://agent-sandbox.sigs.k8s.io/) (isolated
execution of agent code on Kubernetes), without depending on them.

A minimal manifest:

```yaml
Expand Down
16 changes: 14 additions & 2 deletions aep/0021-extension-model.md
Original file line number Diff line number Diff line change
Expand Up @@ -182,13 +182,17 @@ Implementation-specific:
| --- | --- | --- |
| `model.provider` | names listed by AWP | `models.example.com/gateway` |
| `secrets[].source` | names listed by AWP (resolved by the runtime) | `secrets.example.com/vault-ha` |
| `triggers[].source` (event) | names listed by AWP | `events.example.com/github` |
| audit event types | `workflow.*`, `agent.*`, ... | `example.com/cache.hit` (today reverse-domain) |
| condition types | `Valid`, `Ready`, `Accepted`, `Succeeded`, `ResolvedRefs`, `PoliciesAttached`, `Bound` | `runtime.example.com/Scheduled` (rule already in spec 3.11) |

The same rule applies wherever AWP later opens a value space. A runtime that does not know a value
rejects the manifest.

`triggers[].source` of an event trigger is not such a value space: it is matched against the
CloudEvents `source` attribute and names the event producer (spec 5.2, AEP-0004, AEP-0024). Which
adapter or transport delivers the event is runtime configuration, for example in a trigger
object (runtime feedback G52, G54).

### B5. Policy attachment

`Policy` gets `targetRefs`, so that a platform team can attach a policy to workflows without
Expand Down Expand Up @@ -267,7 +271,11 @@ spec:
```

- **Implementation-specific.** Binding kinds belong to the runtime (vendor group, own CRD). AWP
defines only `targetRefs`, the status and the rules below. Bindings carry the discovery label
defines only `targetRefs`, the status and the rules below.
- **Targets.** A binding targets a `Workflow` or an `Agent`. An `Agent` binding configures how the
runtime runs that agent on its own, for example as an interactive session (AEP-0026): image or
runtime profile, a mapping or narrowing of the agent's model alternatives (never new ones), secret mapping. For an agent used inside a workflow, the
workflow's binding applies. Bindings carry the discovery label
`awp.agenticworkflowprotocol.org/binding: "true"`; the target gets a condition `Bound`.
- **One accepted binding per workflow and runtime.** Several bindings of one runtime on the same
workflow would start it twice. The runtime accepts the oldest binding (creation time, then name)
Expand Down Expand Up @@ -389,6 +397,10 @@ enforce their own compliance requirements. This proposal makes no compliance pro

Concept only. A Kubernetes runtime proof of concept already uses a binding object that points at
the workflow (B6) and no extension fields; its review of this draft is reflected in B6 and B9.
Its platform extension adds an agent binding for interactive sessions and keeps tenants and
sandbox profiles as implementation-specific objects; its one extension field (the engine of an
agent) is the kind of field that B3 turns into an `extensionRef` until AEP-0027 is applied. Which
of its objects should become AWP kinds is discussed in runtime feedback section 10.

## Open questions

Expand Down
4 changes: 3 additions & 1 deletion aep/0022-step-iteration.md
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,9 @@ to do this, all of them poor:
[extension prefix list](../docs/registry/extension-prefixes.md)).

Prior art: CI systems (job matrices), workflow engines (map states, dynamic task mapping) and at
least one agent runtime built against `v1alpha1` (as an extension field). All of them bound the
least one agent runtime built against `v1alpha1` (as an extension field). The `for` task of the
[Open Workflow Specification](https://github.com/open-workflow-specification/specification) (`in`, `each`,
`at`, `while`) is the closest specification counterpart (named under D21). All of them bound the
fan-out and give each element its own retries; none of them lets a model decide how many
iterations run.

Expand Down
Loading