diff --git a/CHANGELOG.md b/CHANGELOG.md index 7af4e90..45436ac 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -20,6 +20,7 @@ API versions (`v1alpha1`, ...) are versioned separately, see [GOVERNANCE.md](GOV - Decision D22: `v1alpha3` is the current draft. AEPs 0015 to 0020 (Kubernetes resource model, schedule semantics, human input, step outputs, `WorkflowRun`, execution pinning) are accepted by lead decision in the form written into the draft, without the external review of D16; reviews are still invited and handled as errata. AEP-0021 stays a Draft concept. AEPs that targeted `v1alpha2` and are not accepted (0001 to 0007, 0010 to 0014) now target `v1alpha3`; `v1alpha1` and `v1alpha2` stay supported and only get errata. The website (version selector, sidebar, banners, versioning, specification overview, introduction, examples rendered from `spec/v1alpha3/examples/`), the README and the Quickstart use `v1alpha3`. - Conformance suite: the manifest examples and the valid cases of `v1alpha1` and `v1alpha2` must validate after `awp-check.mjs migrate` (70 `migrate:` cases), so older versions stay convertible to the current draft. - Website: the migration page lists the three changes `migrate` cannot make (DNS-1123 names, label syntax, output names); `SECURITY.md` names the supported versions; `docs/aep-process.md` and `GOVERNANCE.md` record D19 and D22 as the only exceptions to the external review. +- Website: the concept, governance, security, integration and implementation pages describe `v1alpha3` and link to its specification (manifest layout, `extensions` objects, operator conditions in policies, step outputs, schedule semantics, profile `interaction`); their complete manifests are checked by `check:examples`. - `AGENTS.md`: rules for new API versions (older versions stay backwards compatible; the validator and the editor are extended in the same change). - Amendments from interactive sessions: AEP-0007 server prompts and resources as allow lists with default none (answers its open question 3), `prompts.get` reserved, sampling and roots declined; AEP-0002 resource scope of `shell.execute` and mapping of commands to well-known actions through `actionGroups`; AEP-0005 prompts as session tasks; AEP-0009 `origin` of audit events; AEP-0013 budgets during streaming (runtime feedback G71, G72, G74 to G76, G78). - 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`. diff --git a/docs/decisions.md b/docs/decisions.md index c4c6b06..679549b 100644 --- a/docs/decisions.md +++ b/docs/decisions.md @@ -278,10 +278,9 @@ a single implementation and were removed from this log by D17. errata; `awp-check.mjs migrate` converts both to `v1alpha3`. AEPs that targeted `v1alpha2` and are not accepted (0001 to 0007, 0010 to 0014) now target `v1alpha3` (section 2), so that accepted changes go into one version. The Draft AEPs 0021 and 0023 to 0027 keep their target - `v1alpha3` and join it when accepted. The specification pages, the examples, the Quickstart and - the introduction of the website, the README, the reference validator and the editor use - `v1alpha3` as the default. The concept, governance, security and integration pages of the - website still describe `v1alpha1` (their banners say so) until they are rewritten. + `v1alpha3` and join it when accepted. The website, the README, the reference validator and the editor use + `v1alpha3` as the default. The CLI output formats (`docs/cli.md`) are versioned on their own and + stay `v1alpha1`. - **Applied in**: this log, `aep/0001` to `aep/0007`, `aep/0010` to `aep/0020`, `spec/README.md`, `spec/v1alpha2/README.md` and `spec/v1alpha3/README.md` (status notes), `docs/aep-process.md` (5.1 rule 1, 6.2), `GOVERNANCE.md`, `SECURITY.md` (supported versions), diff --git a/site/src/content/docs/concepts/agents-and-tools.md b/site/src/content/docs/concepts/agents-and-tools.md index a467c95..b3994ae 100644 --- a/site/src/content/docs/concepts/agents-and-tools.md +++ b/site/src/content/docs/concepts/agents-and-tools.md @@ -2,7 +2,7 @@ title: "Agents and tools" description: "Agents, models, MCP tool sources and action identifiers." banner: - content: "Draft - v1alpha1. Fields and semantics may change before v1beta1." + content: "Draft - v1alpha3, the current draft. Fields and semantics may change before v1beta1." --- ```yaml @@ -20,4 +20,4 @@ agents: - Agents can be defined inline, referenced by `name@version` from an `Agent` manifest, or be remote agents over A2A. - Every tool call is an **action** with an identifier such as `github.create_pull_request`. Permissions, policies and approvals all work on action identifiers; action groups map many tools to one name like `git.merge`. -Normative text: [Agents](/specification/v1alpha1/#54-agents), [Tools and action identifiers](/specification/v1alpha1/#55-tools-and-action-identifiers), [Kind Agent](/specification/v1alpha1/#6-kind-agent). +Normative text: [Agents](/specification/v1alpha3/#54-agents), [Tools and action identifiers](/specification/v1alpha3/#55-tools-and-action-identifiers), [Kind Agent](/specification/v1alpha3/#6-kind-agent). diff --git a/site/src/content/docs/concepts/audit-events.md b/site/src/content/docs/concepts/audit-events.md index 380c363..23dc657 100644 --- a/site/src/content/docs/concepts/audit-events.md +++ b/site/src/content/docs/concepts/audit-events.md @@ -2,7 +2,7 @@ title: "Audit events" description: "Event families, the event envelope and tamper evidence." banner: - content: "Draft - v1alpha1. Fields and semantics may change before v1beta1." + content: "Draft - v1alpha3, the current draft. Fields and semantics may change before v1beta1." --- ```yaml @@ -19,11 +19,11 @@ data: decision: allow ``` -Event families: `workflow.*`, `agent.*`, `tool.*`, `policy.*`, `approval.*`, `artifact.*`. +Event families: `workflow.*`, `agent.*`, `tool.*`, `policy.*`, `approval.*`, `artifact.*`, `trigger.*` and `input.*`. `workflow.started` carries the digest of the pinned workflow manifest. AWP defines the semantics of audit events; implementations may provide tamper-evident storage. The `audit.integrity.mode` values `none`, `hash-chain` and `signed` describe what a runtime offers. -Normative text: [Event envelope](/specification/v1alpha1/#103-event-envelope), [Event types](/specification/v1alpha1/#104-event-types), [Tamper evidence](/specification/v1alpha1/#105-tamper-evidence). +Normative text: [Event envelope](/specification/v1alpha3/#103-event-envelope), [Event types](/specification/v1alpha3/#104-event-types), [Tamper evidence](/specification/v1alpha3/#105-tamper-evidence). :::note[Compliance] AWP provides machine-readable governance primitives that can help organizations implement and enforce their own compliance requirements. Compliance depends on the implementation, organizational controls and applicable regulatory requirements. diff --git a/site/src/content/docs/concepts/budgets.md b/site/src/content/docs/concepts/budgets.md index 2968d48..da9ac9b 100644 --- a/site/src/content/docs/concepts/budgets.md +++ b/site/src/content/docs/concepts/budgets.md @@ -2,7 +2,7 @@ title: "Budgets and resources" description: "Bounding cost, steps, duration, tokens, tool calls, retries and concurrency." banner: - content: "Draft - v1alpha1. Fields and semantics may change before v1beta1." + content: "Draft - v1alpha3, the current draft. Fields and semantics may change before v1beta1." --- ```yaml @@ -19,4 +19,4 @@ budget: - The runtime checks limits before every model invocation and action and stops the execution with `workflow.failed` and `reason: budgetExceeded`. - Absent limits are unlimited, except `maxConcurrency` (default 1) and `maxRetries` (default 0). -Normative text: [Budgets and resources](/specification/v1alpha1/#57-budgets-and-resources). +Normative text: [Budgets and resources](/specification/v1alpha3/#57-budgets-and-resources). diff --git a/site/src/content/docs/concepts/decision-trace.md b/site/src/content/docs/concepts/decision-trace.md index 134b826..71cec00 100644 --- a/site/src/content/docs/concepts/decision-trace.md +++ b/site/src/content/docs/concepts/decision-trace.md @@ -2,7 +2,7 @@ title: "Decision trace" description: "Structured decision records instead of private reasoning." banner: - content: "Draft - v1alpha1. Fields and semantics may change before v1beta1." + content: "Draft - v1alpha3, the current draft. Fields and semantics may change before v1beta1." --- ```yaml @@ -42,4 +42,4 @@ Result: SUCCESS AWP does not standardize or require private chain-of-thought. It standardizes events, inputs, outputs, decisions and policy results. Decision records are required for actions that need approval, so approvers see the facts behind a request. -Normative text: [Decision trace](/specification/v1alpha1/#106-decision-trace). +Normative text: [Decision trace](/specification/v1alpha3/#106-decision-trace). diff --git a/site/src/content/docs/concepts/extending-awp.md b/site/src/content/docs/concepts/extending-awp.md index bc76e16..bac9145 100644 --- a/site/src/content/docs/concepts/extending-awp.md +++ b/site/src/content/docs/concepts/extending-awp.md @@ -2,58 +2,74 @@ title: "Extending AWP" description: "How implementations and organisations extend and refine AWP: extension fields, stricter rules, runtime-defined parts and the path into the core." banner: - content: "Draft - v1alpha1. Fields and semantics may change before v1beta1." + content: "Draft - v1alpha3, the current draft. Fields and semantics may change before v1beta1." --- AWP is meant to be extended and refined. The core stays small and vendor-neutral; implementations and organisations add what they need on top. One rule limits every extension: **it may add or restrict, never weaken.** A manifest that passed review must not do more on another runtime than its authors expected. There are four ways to extend AWP, from local to standard. -:::note[Changes in the v1alpha3 draft] -This page describes `v1alpha1`. In the `v1alpha3` draft, `x-` fields move into `extensions` objects so that manifests can be stored as Kubernetes resources ([AEP-0015](https://github.com/agenticworkflowprotocol/agenticworkflowprotocol.org/blob/main/aep/0015-kubernetes-resource-model.md)). [AEP-0021](https://github.com/agenticworkflowprotocol/agenticworkflowprotocol.org/blob/main/aep/0021-extension-model.md) proposes to replace them with typed references at defined extension points, domain-prefixed values and attached policies, as the Kubernetes Gateway API does. Both are drafts. +:::note[Proposed: AEP-0021] +[AEP-0021](https://github.com/agenticworkflowprotocol/agenticworkflowprotocol.org/blob/main/aep/0021-extension-model.md) proposes to replace `extensions` objects with typed references at defined extension points, domain-prefixed values and attached policies, as the Kubernetes Gateway API does. It is a Draft and not part of `v1alpha3`. ::: -## 1. Extension fields (`x-`) +## 1. Extension fields (`extensions`) -Any object in a manifest may carry fields whose name starts with `x-` ([spec 3.3](/specification/v1alpha1/#33-unknown-fields-and-extensions)). +Any object in `spec` that has defined fields may carry an `extensions` object; its keys start with `x-` ([spec 3.3](/specification/v1alpha3/#33-unknown-fields-and-extensions)). `metadata` has none: non-identifying data belongs in annotations. + ```yaml -workflow: - - id: review - agent: reviewer - x-example-reviewChecklist: security-v2 +apiVersion: awp.agenticworkflowprotocol.org/v1alpha3 +kind: Workflow +metadata: + name: review +spec: + version: 0.1.0 + owner: + team: example-team + agents: + - id: reviewer + model: + provider: example-provider + name: example-model + workflow: + - id: review + agent: reviewer + extensions: + x-example-reviewChecklist: security-v2 ``` - A runtime that understands the field interprets it; every other runtime ignores it. - An extension MUST NOT weaken a requirement of the specification. -- Extension values are part of the manifest digest, so changing one needs a new `metadata.version`. -- Use one prefix per implementation (`x--`, lowerCamelCase), put the field on the object it modifies, and record the prefix in the [extension prefix list](https://github.com/agenticworkflowprotocol/agenticworkflowprotocol.org/blob/main/docs/registry/extension-prefixes.md) so that names do not collide. +- Extension values in `spec` are part of the manifest digest, so changing one needs a new `spec.version`. +- Use one prefix per implementation (`x--`, lowerCamelCase), put the field into the `extensions` object of the object it modifies, and record the prefix in the [extension prefix list](https://github.com/agenticworkflowprotocol/agenticworkflowprotocol.org/blob/main/docs/registry/extension-prefixes.md) so that names do not collide. +- A field starting with `x-` outside an `extensions` object is an unknown field. In `v1alpha1` and `v1alpha2` extension fields sat directly on the object; `awp-check.mjs migrate` moves them. -**Safe to ignore or critical.** A field that only adds information (a description, a UI hint, an example value) is safe for other runtimes to ignore. A field that restricts behaviour (an argument constraint, an output schema, a placement requirement) is critical: a runtime that ignores it runs the manifest with fewer restrictions. Until [AEP-0011](https://github.com/agenticworkflowprotocol/agenticworkflowprotocol.org/blob/main/aep/0011-required-extensions.md) adds `metadata.requiredExtensions`, a manifest with critical extensions is not portable, and its authors should say so. +**Safe to ignore or critical.** A field that only adds information (a description, a UI hint, an example value) is safe for other runtimes to ignore. A field that restricts behaviour (an argument constraint, an output schema, a placement requirement) is critical: a runtime that ignores it runs the manifest with fewer restrictions. Until [AEP-0011](https://github.com/agenticworkflowprotocol/agenticworkflowprotocol.org/blob/main/aep/0011-required-extensions.md) adds required extensions, a manifest with critical extensions is not portable, and its authors should say so. ## 2. Refinement with core fields Many refinements need no extension, because AWP lets every level only narrow what the level above allows: -- **Budgets** on workflow, agent and step: the effective limit is the minimum ([spec 5.7](/specification/v1alpha1/#57-budgets-and-resources)). -- **Permissions** on workflow and agent: an action needs both; `allow: false` wins ([spec 7.5](/specification/v1alpha1/#75-tool-governance-permissions)). -- **Action groups** map concrete tools to well-known actions, so rules can be written once for `git.merge` or `production.deploy` ([spec 5.5.4](/specification/v1alpha1/#554-action-groups)). -- **`Policy` manifests** hold an organisation's own rules (deny, require approval, data and model conditions) and are included by workflows ([spec 8](/specification/v1alpha1/#8-kind-policy-and-policy-evaluation), `governance` profile). +- **Budgets** on workflow, agent and step: the effective limit is the minimum ([spec 5.7](/specification/v1alpha3/#57-budgets-and-resources)). +- **Permissions** on workflow and agent: an action needs both; `allow: false` wins ([spec 7.5](/specification/v1alpha3/#75-tool-governance-permissions)). +- **Action groups** map concrete tools to well-known actions, so rules can be written once for `git.merge` or `production.deploy` ([spec 5.5.4](/specification/v1alpha3/#554-action-groups)). +- **`Policy` manifests** hold an organisation's own rules (deny, require approval, data and model conditions) and are included by workflows ([spec 8](/specification/v1alpha3/#8-kind-policy-and-policy-evaluation), `governance` profile). ## 3. Runtime-defined parts Some things are deliberately left to the runtime, so that the manifest stays portable: -- binding MCP servers that a manifest does not declare ([spec 5.5.1](/specification/v1alpha1/#551-mcp-servers)); -- built-in tools and their action identifiers ([spec 5.5.2](/specification/v1alpha1/#552-tool-sources)); +- binding MCP servers that a manifest does not declare ([spec 5.5.1](/specification/v1alpha3/#551-mcp-servers)); +- built-in tools and their action identifiers ([spec 5.5.2](/specification/v1alpha3/#552-tool-sources)); - where steps run ([execution placement](/implementations/execution-placement/)); -- additional audit event types with a reverse-domain prefix, for example `com.example.cache.hit` ([spec 10.4](/specification/v1alpha1/#104-event-types)); +- additional audit event types with a reverse-domain prefix, for example `com.example.cache.hit` ([spec 10.4](/specification/v1alpha3/#104-event-types)); - rules of a deployment that are stricter than the specification, for example "every MCP tool source lists its tools". A runtime may reject a valid manifest for such a rule if the diagnostic names it; it may never execute a manifest with fewer restrictions. ## 4. Into the core: AEPs When an extension proves useful beyond one runtime, it becomes a proposal ([AEP process](https://github.com/agenticworkflowprotocol/agenticworkflowprotocol.org/blob/main/docs/aep-process.md)). The usual path is: -1. A runtime ships an `x--` field and documents it as safe to ignore or critical. +1. A runtime ships an `x--` extension field and documents it as safe to ignore or critical. 2. An AEP proposes the core field, with the experience of that runtime as motivation. 3. Once the AEP is part of an API version the runtime supports, the runtime writes the core field and reads the extension for one more release with a deprecation warning. @@ -61,7 +77,7 @@ Examples in progress: tool steps ([AEP-0012](https://github.com/agenticworkflowp ## What does not work -- **Unknown fields without `x-`** are rejected. A typo in a governance field must not be silently ignored (fail closed). +- **Unknown fields**, including `x-` fields outside an `extensions` object, are rejected. A typo in a governance field must not be silently ignored (fail closed). - **Fields of a profile the runtime does not support** are rejected with an error that names the field and the profile; the runtime must not run the rest. - **Changing the meaning of a core field** through an extension, for example an `x-` flag that turns `default: deny` into allow, is not allowed. diff --git a/site/src/content/docs/concepts/manifest.md b/site/src/content/docs/concepts/manifest.md index 187d44b..67d4ed3 100644 --- a/site/src/content/docs/concepts/manifest.md +++ b/site/src/content/docs/concepts/manifest.md @@ -2,25 +2,38 @@ title: "Manifest" description: "Structure of an AWP manifest: apiVersion, kind, metadata and spec." banner: - content: "Draft - v1alpha1. Fields and semantics may change before v1beta1." + content: "Draft - v1alpha3, the current draft. Fields and semantics may change before v1beta1." --- -Every AWP document has four top-level fields. +Every AWP document has four top-level fields, laid out like a Kubernetes resource. + ```yaml -apiVersion: awp.agenticworkflowprotocol.org/v1alpha1 -kind: Workflow # Workflow, Agent or Policy +apiVersion: awp.agenticworkflowprotocol.org/v1alpha3 +kind: Workflow # Workflow, Agent, Policy or WorkflowRun metadata: name: invoice-processing + labels: + app.kubernetes.io/part-of: finance +spec: version: 1.2.0 owner: team: finance-ai -spec: {} # kind-specific + agents: + - id: extractor + model: + provider: example-provider + name: example-model + workflow: + - id: extract + agent: extractor ``` -- `kind` is one of `Workflow`, `Agent` (a reusable agent definition) or `Policy` (a reusable rule set). -- Unknown fields are rejected. Extensions use the `x-` prefix. See [Unknown fields and extensions](/specification/v1alpha1/#33-unknown-fields-and-extensions) and [Extending AWP](/concepts/extending-awp/). -- Names, versions, durations, timestamps and digests have fixed formats ([Document model](/specification/v1alpha1/#3-document-model)). -- A [JSON Schema](/schema/awp.v1alpha1.json) expresses the structural rules; the specification lists the semantic rules the schema cannot express. +- `kind` is one of `Workflow`, `Agent` (a reusable agent definition), `Policy` (a reusable rule set) or `WorkflowRun` (a request to run a workflow, with its status). +- `metadata` holds only `name`, `namespace`, `labels` and `annotations`. The name is a DNS-1123 label. Version, owner, classification, risk, integrity, signature and provenance are fields of `spec` ([Common spec fields](/specification/v1alpha3/#42-common-spec-fields)). +- Unknown fields are rejected. Extensions go into `extensions` objects. See [Unknown fields and extensions](/specification/v1alpha3/#33-unknown-fields-and-extensions) and [Extending AWP](/concepts/extending-awp/). +- Names, versions, durations, timestamps and digests have fixed formats ([Document model](/specification/v1alpha3/#3-document-model)). +- A [JSON Schema](/schema/awp.v1alpha3.json) expresses the structural rules; the specification lists the semantic rules the schema cannot express. +- Manifests of `v1alpha1` and `v1alpha2` stay valid under their own `apiVersion` and convert with `awp-check.mjs migrate` ([Migrating to v1alpha3](/specification/migrating-to-v1alpha3/)). -Normative text: [Document model](/specification/v1alpha1/#3-document-model), [Metadata](/specification/v1alpha1/#4-metadata). +Normative text: [Document model](/specification/v1alpha3/#3-document-model), [Metadata and common spec fields](/specification/v1alpha3/#4-metadata-and-common-spec-fields). diff --git a/site/src/content/docs/concepts/overview.md b/site/src/content/docs/concepts/overview.md index 88632ba..132cc0d 100644 --- a/site/src/content/docs/concepts/overview.md +++ b/site/src/content/docs/concepts/overview.md @@ -2,7 +2,7 @@ title: "What AWP is and is not" description: "AWP is a specification for declaring, governing and auditing agentic workflows. It is not a platform." banner: - content: "Draft - v1alpha1. Fields and semantics may change before v1beta1." + content: "Draft - v1alpha3, the current draft. Fields and semantics may change before v1beta1." --- AWP is a **specification, not a platform**. It describes in a vendor-neutral, machine-readable way: @@ -15,10 +15,11 @@ AWP is a **specification, not a platform**. It describes in a vendor-neutral, ma A *runtime* reads a manifest, validates it, enforces its limits and governance rules while executing it, and emits audit events with standardized semantics. ```yaml -apiVersion: awp.agenticworkflowprotocol.org/v1alpha1 +apiVersion: awp.agenticworkflowprotocol.org/v1alpha3 kind: Workflow metadata: name: vulnerability-fixer +spec: version: 0.1.0 owner: team: security-team @@ -32,7 +33,7 @@ metadata: | A2A | Agent to agent communication | | AWP | Definition, governance, execution and audit of agentic workflows | -AWP does not replace MCP or A2A. See [Relationship to other protocols](/specification/v1alpha1/#12-relationship-to-other-protocols). +AWP does not replace MCP or A2A. See [Relationship to other protocols](/specification/v1alpha3/#12-relationship-to-other-protocols). ## What AWP is not diff --git a/site/src/content/docs/concepts/reproducibility.md b/site/src/content/docs/concepts/reproducibility.md index 7cec852..cd4a029 100644 --- a/site/src/content/docs/concepts/reproducibility.md +++ b/site/src/content/docs/concepts/reproducibility.md @@ -2,7 +2,7 @@ title: "Reproducibility" description: "A record of what an execution depended on." banner: - content: "Draft - v1alpha1. Fields and semantics may change before v1beta1." + content: "Draft - v1alpha3, the current draft. Fields and semantics may change before v1beta1." --- ```yaml @@ -15,6 +15,6 @@ workflow: digest: sha256:5c4b3a29180716f5e4d3c2b1a0f9e8d7c6b5a49382716f5e4d3c2b1a0f9e8d7c ``` -At the end of every execution an audit-profile runtime produces a record of workflow, agent, model and prompt versions, tools, images, policies, inputs and artifacts. This is *traceability of what ran*; AWP does not require identical model output on re-execution. +At the end of every execution an audit-profile runtime produces a record of workflow, agent, model and prompt versions, tools, command step images (as written and as resolved to a digest), policies, inputs and artifacts. This is *traceability of what ran*; AWP does not require identical model output on re-execution. -Normative text: [Reproducibility record](/specification/v1alpha1/#107-reproducibility-record). +Normative text: [Reproducibility record](/specification/v1alpha3/#107-reproducibility-record). diff --git a/site/src/content/docs/concepts/triggers-and-inputs.md b/site/src/content/docs/concepts/triggers-and-inputs.md index c6c9c07..5f9a8c8 100644 --- a/site/src/content/docs/concepts/triggers-and-inputs.md +++ b/site/src/content/docs/concepts/triggers-and-inputs.md @@ -2,7 +2,7 @@ title: "Triggers and inputs" description: "How an execution starts and how its parameters are declared and validated." banner: - content: "Draft - v1alpha1. Fields and semantics may change before v1beta1." + content: "Draft - v1alpha3, the current draft. Fields and semantics may change before v1beta1." --- ```yaml @@ -20,6 +20,7 @@ inputs: - Trigger types: `manual`, `schedule`, `event`. The trigger is recorded in `workflow.started`. - A `schedule` trigger supplies no input values, so scheduled executions use input defaults; a required input blocks them. +- At a tick while the previous scheduled execution still runs, `concurrencyPolicy` decides: `forbid` (default) skips the tick, `allow` starts another, `replace` cancels the running one. Missed ticks are skipped; with `startingDeadline` the runtime may still start one execution for the latest missed tick within the deadline. Ticks that start no execution emit `trigger.skipped`. - Inputs are validated before an execution starts. Inputs must not carry secrets; secrets are referenced with `secretRef`. -Normative text: [Triggers](/specification/v1alpha1/#52-triggers), [Inputs](/specification/v1alpha1/#53-inputs). +Normative text: [Triggers](/specification/v1alpha3/#52-triggers), [Inputs](/specification/v1alpha3/#53-inputs). diff --git a/site/src/content/docs/concepts/workflow.md b/site/src/content/docs/concepts/workflow.md index 84cffb6..b8c9daf 100644 --- a/site/src/content/docs/concepts/workflow.md +++ b/site/src/content/docs/concepts/workflow.md @@ -2,7 +2,7 @@ title: "Workflow steps and execution model" description: "Steps, dependsOn, command steps and the execution model." banner: - content: "Draft - v1alpha1. Fields and semantics may change before v1beta1." + content: "Draft - v1alpha3, the current draft. Fields and semantics may change before v1beta1." --- ```yaml @@ -19,7 +19,8 @@ workflow: 1. Cycles, duplicate step ids and unknown references are rejected. 2. A step is ready when all steps in `dependsOn` have succeeded; ready steps may run concurrently within `maxConcurrency`. 3. If a step fails after its retries, everything that depends on it is skipped. -4. Step statuses: `pending`, `running`, `waitingForApproval`, `succeeded`, `failed`, `skipped`, `cancelled`. -5. Outputs of a step are available to dependent steps through expressions. +4. Step statuses: `pending`, `running`, `waitingForApproval`, `waitingForInput`, `succeeded`, `failed`, `skipped`, `cancelled`. +5. Declared outputs of a step are available to dependent steps through expressions. Command steps write them as files to `$AWP_OUTPUTS`; outputs of a failed attempt are discarded ([Step outputs](/specification/v1alpha3/#564-step-outputs)). +6. An agent or command step can run once per item of a list with `forEach` ([Iteration](/specification/v1alpha3/#565-iteration)). -Normative text: [Workflow steps](/specification/v1alpha1/#56-workflow-steps), [Execution model](/specification/v1alpha1/#563-execution-model). +Normative text: [Workflow steps](/specification/v1alpha3/#56-workflow-steps), [Execution model](/specification/v1alpha3/#563-execution-model). diff --git a/site/src/content/docs/governance/data-classification.md b/site/src/content/docs/governance/data-classification.md index e638b0a..f88eec2 100644 --- a/site/src/content/docs/governance/data-classification.md +++ b/site/src/content/docs/governance/data-classification.md @@ -2,7 +2,7 @@ title: "Data classification" description: "Classes for inputs and outputs and the rules that follow from them." banner: - content: "Draft - v1alpha1. Fields and semantics may change before v1beta1." + content: "Draft - v1alpha3, the current draft. Fields and semantics may change before v1beta1." --- ```yaml @@ -25,7 +25,7 @@ dataPolicy: - The classes are an organizational vocabulary. Mapping them to legal definitions is up to the organization. -Normative text: [Data classification](/specification/v1alpha1/#72-data-classification). +Normative text: [Data classification](/specification/v1alpha3/#72-data-classification). :::note[Compliance] AWP provides machine-readable governance primitives that can help organizations implement and enforce their own compliance requirements. Compliance depends on the implementation, organizational controls and applicable regulatory requirements. diff --git a/site/src/content/docs/governance/data-residency.md b/site/src/content/docs/governance/data-residency.md index bc9c4e5..2e64d67 100644 --- a/site/src/content/docs/governance/data-residency.md +++ b/site/src/content/docs/governance/data-residency.md @@ -2,7 +2,7 @@ title: "Data residency" description: "Where data may be processed and by which providers." banner: - content: "Draft - v1alpha1. Fields and semantics may change before v1beta1." + content: "Draft - v1alpha3, the current draft. Fields and semantics may change before v1beta1." --- ```yaml @@ -24,7 +24,7 @@ dataPolicy: - `forbiddenProviders` takes precedence over `allowedProviders`. -Normative text: [Data residency and processing](/specification/v1alpha1/#73-data-residency-and-processing). +Normative text: [Data residency and processing](/specification/v1alpha3/#73-data-residency-and-processing). :::note[Compliance] AWP provides machine-readable governance primitives that can help organizations implement and enforce their own compliance requirements. Compliance depends on the implementation, organizational controls and applicable regulatory requirements. diff --git a/site/src/content/docs/governance/environments.md b/site/src/content/docs/governance/environments.md index 7495a87..a296bf6 100644 --- a/site/src/content/docs/governance/environments.md +++ b/site/src/content/docs/governance/environments.md @@ -2,7 +2,7 @@ title: "Environments" description: "Different autonomy for the same workflow in different environments." banner: - content: "Draft - v1alpha1. Fields and semantics may change before v1beta1." + content: "Draft - v1alpha3, the current draft. Fields and semantics may change before v1beta1." --- ```yaml @@ -25,7 +25,7 @@ environments: - The runtime is responsible for running an environment with that environment's credentials; AWP cannot verify it. -Normative text: [Environments](/specification/v1alpha1/#710-environments). +Normative text: [Environments](/specification/v1alpha3/#710-environments). :::note[Compliance] AWP provides machine-readable governance primitives that can help organizations implement and enforce their own compliance requirements. Compliance depends on the implementation, organizational controls and applicable regulatory requirements. diff --git a/site/src/content/docs/governance/human-approval.mdx b/site/src/content/docs/governance/human-approval.mdx index 73afe72..d72f343 100644 --- a/site/src/content/docs/governance/human-approval.mdx +++ b/site/src/content/docs/governance/human-approval.mdx @@ -2,7 +2,7 @@ title: "Human approval" description: "Human decisions that gate actions or steps." banner: - content: "Draft - v1alpha1. Fields and semantics may change before v1beta1." + content: "Draft - v1alpha3, the current draft. Fields and semantics may change before v1beta1." --- ```yaml @@ -48,7 +48,7 @@ approval: - Approval requests show workflow, step, action, redacted arguments, data classification and the decision record. -Normative text: [Human approval](/specification/v1alpha1/#76-human-approval). +Normative text: [Human approval](/specification/v1alpha3/#76-human-approval). :::note[Compliance] AWP provides machine-readable governance primitives that can help organizations implement and enforce their own compliance requirements. Compliance depends on the implementation, organizational controls and applicable regulatory requirements. diff --git a/site/src/content/docs/governance/identity-and-ownership.md b/site/src/content/docs/governance/identity-and-ownership.md index 3f1bd76..45c4ea5 100644 --- a/site/src/content/docs/governance/identity-and-ownership.md +++ b/site/src/content/docs/governance/identity-and-ownership.md @@ -2,12 +2,13 @@ title: "Identity and ownership" description: "Who is accountable for a workflow, agent or policy." banner: - content: "Draft - v1alpha1. Fields and semantics may change before v1beta1." + content: "Draft - v1alpha3, the current draft. Fields and semantics may change before v1beta1." --- ```yaml metadata: name: invoice-processing +spec: version: 1.2.0 owner: team: finance-ai @@ -15,12 +16,12 @@ metadata: ``` -- `owner.team` is required under the governance profile; `businessOwner`, `technicalOwner` and `dataOwner` are optional. -- `metadata.classification` is required alongside the owner. -- Name, version and owner team are part of the `workflow.started` event. +- `spec.owner.team` is required under the governance profile; `businessOwner`, `technicalOwner` and `dataOwner` are optional. +- `spec.classification` is required alongside the owner. +- `metadata.name`, `spec.version` and `spec.owner.team` are part of the `workflow.started` event. -Normative text: [Identity and ownership](/specification/v1alpha1/#71-identity-and-ownership). +Normative text: [Identity and ownership](/specification/v1alpha3/#71-identity-and-ownership). :::note[Compliance] AWP provides machine-readable governance primitives that can help organizations implement and enforce their own compliance requirements. Compliance depends on the implementation, organizational controls and applicable regulatory requirements. diff --git a/site/src/content/docs/governance/index.mdx b/site/src/content/docs/governance/index.mdx index 25c0dee..762344a 100644 --- a/site/src/content/docs/governance/index.mdx +++ b/site/src/content/docs/governance/index.mdx @@ -2,7 +2,7 @@ title: "Governance" description: "Governance by design: declarative boundaries that a runtime enforces." banner: - content: "Draft - v1alpha1. Fields and semantics may change before v1beta1." + content: "Draft - v1alpha3, the current draft. Fields and semantics may change before v1beta1." --- import { Code } from '@astrojs/starlight/components'; @@ -34,7 +34,7 @@ Each area is declared in the manifest; the excerpts below are shortened. ))} -Normative text: [Governance](/specification/v1alpha1/#7-governance). +Normative text: [Governance](/specification/v1alpha3/#7-governance). :::note[Compliance] AWP provides machine-readable governance primitives that can help organizations implement and enforce their own compliance requirements. Compliance depends on the implementation, organizational controls and applicable regulatory requirements. diff --git a/site/src/content/docs/governance/model-governance.md b/site/src/content/docs/governance/model-governance.md index d9a110c..78066b2 100644 --- a/site/src/content/docs/governance/model-governance.md +++ b/site/src/content/docs/governance/model-governance.md @@ -2,7 +2,7 @@ title: "Model governance" description: "Allowed providers and models, approval status and requirements." banner: - content: "Draft - v1alpha1. Fields and semantics may change before v1beta1." + content: "Draft - v1alpha3, the current draft. Fields and semantics may change before v1beta1." --- ```yaml @@ -28,7 +28,7 @@ modelPolicy: - A model can carry `approval`, `evaluation` and `region` metadata; expired approvals do not satisfy a requirement. -Normative text: [Model governance](/specification/v1alpha1/#74-model-governance). +Normative text: [Model governance](/specification/v1alpha3/#74-model-governance). :::note[Compliance] AWP provides machine-readable governance primitives that can help organizations implement and enforce their own compliance requirements. Compliance depends on the implementation, organizational controls and applicable regulatory requirements. diff --git a/site/src/content/docs/governance/policy-as-code.md b/site/src/content/docs/governance/policy-as-code.md index d178c2d..57e4151 100644 --- a/site/src/content/docs/governance/policy-as-code.md +++ b/site/src/content/docs/governance/policy-as-code.md @@ -2,34 +2,36 @@ title: "Policy-as-Code" description: "Declarative rules evaluated by the runtime before an action." banner: - content: "Draft - v1alpha1. Fields and semantics may change before v1beta1." + content: "Draft - v1alpha3, the current draft. Fields and semantics may change before v1beta1." --- + ```yaml -apiVersion: awp.agenticworkflowprotocol.org/v1alpha1 +apiVersion: awp.agenticworkflowprotocol.org/v1alpha3 kind: Policy metadata: name: no-production-autonomy +spec: version: 1.0.0 owner: team: platform-governance -spec: rules: - id: deploy-needs-release-manager when: - action: production.deploy + action: + equals: production.deploy effect: requireApproval approval: approvers: - role: release-manager ``` -- A rule has a `when` condition and an `effect` (`allow`, `deny`, `requireApproval`). +- A rule has a `when` condition and an `effect` (`allow`, `deny`, `requireApproval`). Each attribute of `when` takes an operator object such as `equals`; a plain value is not allowed. - Every evaluation produces a `policy.evaluated` event; denials produce `policy.denied`. - Decisions of several sources are combined by a defined algorithm; an unevaluable policy denies. - Policies are reusable `Policy` manifests that workflows reference. -Normative text: [Kind Policy and policy evaluation](/specification/v1alpha1/#8-kind-policy-and-policy-evaluation), [Decision combination](/specification/v1alpha1/#84-decision-combination). +Normative text: [Kind Policy and policy evaluation](/specification/v1alpha3/#8-kind-policy-and-policy-evaluation), [Decision combination](/specification/v1alpha3/#84-decision-combination). :::note[Compliance] AWP provides machine-readable governance primitives that can help organizations implement and enforce their own compliance requirements. Compliance depends on the implementation, organizational controls and applicable regulatory requirements. diff --git a/site/src/content/docs/governance/risk-levels.md b/site/src/content/docs/governance/risk-levels.md index 59ede1d..7e4305a 100644 --- a/site/src/content/docs/governance/risk-levels.md +++ b/site/src/content/docs/governance/risk-levels.md @@ -2,11 +2,11 @@ title: "Risk levels" description: "An organizational risk model, not a regulatory classification." banner: - content: "Draft - v1alpha1. Fields and semantics may change before v1beta1." + content: "Draft - v1alpha3, the current draft. Fields and semantics may change before v1beta1." --- ```yaml -metadata: +spec: risk: level: high category: @@ -25,7 +25,7 @@ metadata: Risk levels are a possible governance model. They are not a regulatory classification. -Normative text: [Risk levels](/specification/v1alpha1/#77-risk-levels). +Normative text: [Risk levels](/specification/v1alpha3/#77-risk-levels). :::note[Compliance] AWP provides machine-readable governance primitives that can help organizations implement and enforce their own compliance requirements. Compliance depends on the implementation, organizational controls and applicable regulatory requirements. diff --git a/site/src/content/docs/governance/separation-of-duties.md b/site/src/content/docs/governance/separation-of-duties.md index fb88fd5..36c03b5 100644 --- a/site/src/content/docs/governance/separation-of-duties.md +++ b/site/src/content/docs/governance/separation-of-duties.md @@ -2,7 +2,7 @@ title: "Separation of duties" description: "Rules that keep the requester of an action from approving it." banner: - content: "Draft - v1alpha1. Fields and semantics may change before v1beta1." + content: "Draft - v1alpha3, the current draft. Fields and semantics may change before v1beta1." --- ```yaml @@ -18,7 +18,7 @@ approval: Example flow: an agent creates a pull request, a developer reviews, security approves, a release manager deploys; each step by a different human. The runtime rejects approvals that violate a rule and records the reason. -Normative text: [Separation of duties](/specification/v1alpha1/#78-separation-of-duties). +Normative text: [Separation of duties](/specification/v1alpha3/#78-separation-of-duties). :::note[Compliance] AWP provides machine-readable governance primitives that can help organizations implement and enforce their own compliance requirements. Compliance depends on the implementation, organizational controls and applicable regulatory requirements. diff --git a/site/src/content/docs/governance/tool-governance.md b/site/src/content/docs/governance/tool-governance.md index a8f8ab1..58e027d 100644 --- a/site/src/content/docs/governance/tool-governance.md +++ b/site/src/content/docs/governance/tool-governance.md @@ -2,7 +2,7 @@ title: "Tool governance" description: "Permissions per action, with default deny, network and filesystem limits." banner: - content: "Draft - v1alpha1. Fields and semantics may change before v1beta1." + content: "Draft - v1alpha3, the current draft. Fields and semantics may change before v1beta1." --- ```yaml @@ -29,7 +29,7 @@ permissions: - Permissions grant, policies restrict. Without a `permissions` object every action of the exposed tools is allowed by permissions; `awp lint` warns about this. -Normative text: [Tool governance: permissions](/specification/v1alpha1/#75-tool-governance-permissions). +Normative text: [Tool governance: permissions](/specification/v1alpha3/#75-tool-governance-permissions). :::note[Compliance] AWP provides machine-readable governance primitives that can help organizations implement and enforce their own compliance requirements. Compliance depends on the implementation, organizational controls and applicable regulatory requirements. diff --git a/site/src/content/docs/implementations/build-your-own-runtime.md b/site/src/content/docs/implementations/build-your-own-runtime.md index 2aaa003..7b32de2 100644 --- a/site/src/content/docs/implementations/build-your-own-runtime.md +++ b/site/src/content/docs/implementations/build-your-own-runtime.md @@ -2,13 +2,13 @@ title: "Build your own AWP runtime" description: "A starting path for implementers." banner: - content: "Draft - v1alpha1. Fields and semantics may change before v1beta1." + content: "Draft - v1alpha3, the current draft. Fields and semantics may change before v1beta1." --- -1. Read the [specification](/specification/v1alpha1/#1-introduction) and the [glossary](/specification/v1alpha1/glossary/). -2. Validate manifests with the [JSON Schema](/schema/awp.v1alpha1.json) and implement the semantic rules listed in the [schema README](https://github.com/agenticworkflowprotocol/agenticworkflowprotocol.org/blob/main/schema/README.md). +1. Read the [specification](/specification/v1alpha3/#1-introduction) and the [glossary](/specification/v1alpha3/glossary/). +2. Validate manifests with the [JSON Schema](/schema/awp.v1alpha3.json) and implement the semantic rules listed in the [schema README](https://github.com/agenticworkflowprotocol/agenticworkflowprotocol.org/blob/main/schema/README.md). 3. Run the [conformance suite](https://github.com/agenticworkflowprotocol/agenticworkflowprotocol.org/tree/main/conformance): valid manifests must be accepted, invalid ones rejected with the expected diagnostic. -4. Start with the `core` profile, then add `governance`, `audit`, `security`, `mcp` and `a2a` as needed. +4. Start with the `core` profile, then add `governance`, `audit`, `security`, `mcp`, `a2a` and `interaction` as needed. 5. Publish a conformance statement with the profiles you meet and the optional features you do not support. 6. Open a pull request to be listed on the [implementations](/implementations/) page. diff --git a/site/src/content/docs/implementations/conformance.md b/site/src/content/docs/implementations/conformance.md index 9d77578..04d78c9 100644 --- a/site/src/content/docs/implementations/conformance.md +++ b/site/src/content/docs/implementations/conformance.md @@ -2,17 +2,18 @@ title: "Conformance" description: "Profiles and conformance statements." banner: - content: "Draft - v1alpha1. Fields and semantics may change before v1beta1." + content: "Draft - v1alpha3, the current draft. Fields and semantics may change before v1beta1." --- | Profile | Depends on | Covers | | ------- | ---------- | ------ | -| `core` | - | Parsing and validating manifests, step graph, budgets, permissions, secrets, `workflow.*` events | +| `core` | - | Parsing and validating manifests, step graph, step outputs, budgets, permissions, secrets, manifest digest, pinning of executions, `WorkflowRun` (if executions are objects), `workflow.*` events | | `governance` | `core` | Ownership, data policy, model policy, approvals, risk levels, separation of duties, environments, policies | | `audit` | `core` | Event envelope and types, integrity modes, decision and reproducibility records | | `security` | `core` | Digests, signatures, image pinning, isolation, secret redaction | | `mcp` | `core` | MCP servers as tool sources, action identifiers per tool call | | `a2a` | `core` | Remote agents, agent card verification | +| `interaction` | `core` | Input steps, agent requests to a person, answer validation, `input.*` events | A runtime that claims conformance publishes a statement: @@ -22,18 +23,23 @@ implementation: version: 0.4.0 url: https://runtime.example.org conformance: - awp: v1alpha1 + awp: v1alpha3 profiles: - core - governance - audit limitations: - "audit: integrity mode signed is not supported; hash-chain only" + limits: + outputSize: 1MiB + executionObjects: true ``` -The conformance suite in the repository tests validators and manifest rules. Until a public runtime test suite exists, conformance statements are self-declarations. No implementation is conformant to `v1alpha1` today. +`limits` states output limits above the minimums of the specification, and `executionObjects` states that executions are exposed as `WorkflowRun` objects. -Normative text: [Conformance](/specification/v1alpha1/#11-conformance). +The conformance suite in the repository tests validators and manifest rules. Until a public runtime test suite exists, conformance statements are self-declarations. No implementation is conformant to `v1alpha3` today. + +Normative text: [Conformance](/specification/v1alpha3/#11-conformance). :::note[Compliance] AWP provides machine-readable governance primitives that can help organizations implement and enforce their own compliance requirements. Compliance depends on the implementation, organizational controls and applicable regulatory requirements. diff --git a/site/src/content/docs/implementations/execution-placement.md b/site/src/content/docs/implementations/execution-placement.md index 2cacdfa..895acaa 100644 --- a/site/src/content/docs/implementations/execution-placement.md +++ b/site/src/content/docs/implementations/execution-placement.md @@ -2,9 +2,9 @@ title: "Execution placement (executors)" description: "Informative guidance on where a runtime executes the steps of a workflow: local, container, Kubernetes, CI runners, serverless." banner: - content: "Draft - v1alpha1. Fields and semantics may change before v1beta1." + content: "Draft - v1alpha3, the current draft. Fields and semantics may change before v1beta1." --- -A manifest says **what** a workflow may do. It does not say **where** the steps run. That choice belongs to the runtime and its operator: a local process, a container on a host, a Kubernetes pod, a CI job, a serverless task or a managed agent runtime. This page calls such a target an **executor**. It is informative: it adds no requirement to the [specification](/specification/v1alpha1/), and executors are not a manifest field in `v1alpha1`. +A manifest says **what** a workflow may do. It does not say **where** the steps run. That choice belongs to the runtime and its operator: a local process, a container on a host, a Kubernetes pod, a CI job, a serverless task or a managed agent runtime. This page calls such a target an **executor**. It is informative: it adds no requirement to the [specification](/specification/v1alpha3/), and executors are not a manifest field in `v1alpha3`. ## Keep placement out of the manifest @@ -38,7 +38,7 @@ Remote executors (CI runners, serverless tasks, managed agent runtimes) are star - Pin the executor image by digest (`name@sha256:...`), as the security profile requires for command step images. Some platforms cannot override the image per call; create one task definition per image digest rather than reusing a mutable tag. - Managed runtimes may require a specific CPU architecture; build multi-architecture images or record the architecture. -- Record the executor kind, its name and the image digest with the execution. The reproducibility record (spec 10.7) has no field for it in `v1alpha1`; keep it in `runtime` until an AEP adds one. +- Record the executor kind, its name and the image digest with the execution. The reproducibility record (spec 10.7) lists command step images with their resolved digests but has no field for the executor; keep it in `runtime` until an AEP adds one. ## Typical executor kinds diff --git a/site/src/content/docs/integrations/a2a.md b/site/src/content/docs/integrations/a2a.md index bb3e236..f9e43cc 100644 --- a/site/src/content/docs/integrations/a2a.md +++ b/site/src/content/docs/integrations/a2a.md @@ -2,7 +2,7 @@ title: "A2A" description: "Remote agents over the Agent2Agent protocol." banner: - content: "Draft - v1alpha1. Fields and semantics may change before v1beta1." + content: "Draft - v1alpha3, the current draft. Fields and semantics may change before v1beta1." --- ```yaml @@ -19,4 +19,4 @@ agents: Messages to a remote agent are the action `a2a..send` and are subject to data policy. The local runtime cannot enforce governance inside the remote agent; treat it as an external party. -Normative text: [Remote agents (A2A)](/specification/v1alpha1/#544-remote-agents-a2a). +Normative text: [Remote agents (A2A)](/specification/v1alpha3/#544-remote-agents-a2a). diff --git a/site/src/content/docs/integrations/index.md b/site/src/content/docs/integrations/index.md index 47032da..bc3feea 100644 --- a/site/src/content/docs/integrations/index.md +++ b/site/src/content/docs/integrations/index.md @@ -2,7 +2,7 @@ title: "Integrations" description: "AWP builds on MCP and A2A and does not replace them." banner: - content: "Draft - v1alpha1. Fields and semantics may change before v1beta1." + content: "Draft - v1alpha3, the current draft. Fields and semantics may change before v1beta1." --- - [MCP](/integrations/mcp/): tools and data diff --git a/site/src/content/docs/integrations/mcp.md b/site/src/content/docs/integrations/mcp.md index 116bada..3497db4 100644 --- a/site/src/content/docs/integrations/mcp.md +++ b/site/src/content/docs/integrations/mcp.md @@ -2,7 +2,7 @@ title: "MCP" description: "Referencing MCP servers as tool sources." banner: - content: "Draft - v1alpha1. Fields and semantics may change before v1beta1." + content: "Draft - v1alpha3, the current draft. Fields and semantics may change before v1beta1." --- ```yaml @@ -13,4 +13,4 @@ tools: A manifest declares MCP servers under `spec.mcpServers` (transport, url or image, authentication via `secretRef`) and references them from agents. Every tool call becomes an action identifier that permissions, policies and approvals evaluate, and produces `tool.*` events. The MCP wire protocol is out of scope. -Normative text: [MCP servers](/specification/v1alpha1/#551-mcp-servers), [Tool sources](/specification/v1alpha1/#552-tool-sources). +Normative text: [MCP servers](/specification/v1alpha3/#551-mcp-servers), [Tool sources](/specification/v1alpha3/#552-tool-sources). diff --git a/site/src/content/docs/security/index.md b/site/src/content/docs/security/index.md index 9bd9695..7ca420c 100644 --- a/site/src/content/docs/security/index.md +++ b/site/src/content/docs/security/index.md @@ -2,7 +2,7 @@ title: "Security" description: "Secrets, supply chain, tamper-evident audit and the threat model." banner: - content: "Draft - v1alpha1. Fields and semantics may change before v1beta1." + content: "Draft - v1alpha3, the current draft. Fields and semantics may change before v1beta1." --- - [Secrets](/security/secrets/) @@ -12,7 +12,7 @@ banner: Governance in AWP is enforced by the runtime outside the model: an agent cannot change permissions, policies, budgets or approvals by producing text. Unknown fields, unsupported profiles, undeterminable regions and unverifiable digests lead to rejection or denial, never silent acceptance (fail closed). -Normative text: [Security considerations](/specification/v1alpha1/#12-security-considerations). +Normative text: [Security considerations](/specification/v1alpha3/#12-security-considerations). :::note[Compliance] AWP provides machine-readable governance primitives that can help organizations implement and enforce their own compliance requirements. Compliance depends on the implementation, organizational controls and applicable regulatory requirements. diff --git a/site/src/content/docs/security/secrets.md b/site/src/content/docs/security/secrets.md index 4ab7733..ca7edb3 100644 --- a/site/src/content/docs/security/secrets.md +++ b/site/src/content/docs/security/secrets.md @@ -2,7 +2,7 @@ title: "Secrets" description: "Secrets are referenced by name, never written into manifests." banner: - content: "Draft - v1alpha1. Fields and semantics may change before v1beta1." + content: "Draft - v1alpha3, the current draft. Fields and semantics may change before v1beta1." --- ```yaml @@ -23,7 +23,7 @@ mcpServers: - Manifests with fields such as `token`, `password` or `apiKey` holding literal values are rejected. - Runtimes must not pass secret values to models and must not write them to audit events, logs or approval requests. -Normative text: [Secrets](/specification/v1alpha1/#79-secrets). +Normative text: [Secrets](/specification/v1alpha3/#79-secrets). :::note[Compliance] AWP provides machine-readable governance primitives that can help organizations implement and enforce their own compliance requirements. Compliance depends on the implementation, organizational controls and applicable regulatory requirements. diff --git a/site/src/content/docs/security/supply-chain.md b/site/src/content/docs/security/supply-chain.md index d9bdd1a..779df30 100644 --- a/site/src/content/docs/security/supply-chain.md +++ b/site/src/content/docs/security/supply-chain.md @@ -2,12 +2,13 @@ title: "Supply chain" description: "Know what runs before you let it run: digests, signatures, provenance, dependencies." banner: - content: "Draft - v1alpha1. Fields and semantics may change before v1beta1." + content: "Draft - v1alpha3, the current draft. Fields and semantics may change before v1beta1." --- ```yaml metadata: name: invoice-processing +spec: version: 1.2.0 owner: team: finance-ai @@ -15,12 +16,12 @@ metadata: digest: sha256:9b2f6c1e4d8a0b7c3e5f1a2d4c6b8e0f1a3c5e7b9d0f2a4c6e8b0d1f3a5c7e9b ``` -- The manifest digest is computed over the RFC 8785 canonical form without integrity, signature and provenance fields and is verified before execution. +- The manifest digest is computed over the RFC 8785 canonical form of `apiVersion`, `kind`, `metadata.name` and `spec` without integrity, signature and provenance, and is verified before execution. Namespace, labels and annotations are not covered, so a manifest read back from an object store still verifies. - Signatures are detached and bound to the digest; AWP does not define a signature format. -- Under the security profile, container images are pinned by digest and runtimes can restrict sources to trusted registries. +- Under the security profile, container images are pinned by digest and runtimes can restrict sources to trusted registries. Outside it, tags are allowed: the runtime resolves them to digests when an execution starts and pins them for the whole execution. - Runtimes should be able to output the resolved dependency set (SBOM-like metadata). -Normative text: [Supply chain integrity](/specification/v1alpha1/#9-supply-chain-integrity). +Normative text: [Supply chain integrity](/specification/v1alpha3/#9-supply-chain-integrity). :::note[Compliance] AWP provides machine-readable governance primitives that can help organizations implement and enforce their own compliance requirements. Compliance depends on the implementation, organizational controls and applicable regulatory requirements. diff --git a/site/src/content/docs/security/tamper-evident-audit.md b/site/src/content/docs/security/tamper-evident-audit.md index 8deaea9..6a6bee3 100644 --- a/site/src/content/docs/security/tamper-evident-audit.md +++ b/site/src/content/docs/security/tamper-evident-audit.md @@ -2,7 +2,7 @@ title: "Tamper-evident audit" description: "Hash chains and signed chains over audit events." banner: - content: "Draft - v1alpha1. Fields and semantics may change before v1beta1." + content: "Draft - v1alpha3, the current draft. Fields and semantics may change before v1beta1." --- ```yaml @@ -16,7 +16,7 @@ audit: AWP defines the semantics of audit events; implementations may provide tamper-evident storage. A hash chain detects modification but not deletion of a whole chain; external anchoring or replication is an implementation choice. Storage, key management and retention enforcement are implementation concerns. -Normative text: [Audit configuration](/specification/v1alpha1/#102-audit-configuration), [Tamper evidence](/specification/v1alpha1/#105-tamper-evidence). +Normative text: [Audit configuration](/specification/v1alpha3/#102-audit-configuration), [Tamper evidence](/specification/v1alpha3/#105-tamper-evidence). :::note[Compliance] AWP provides machine-readable governance primitives that can help organizations implement and enforce their own compliance requirements. Compliance depends on the implementation, organizational controls and applicable regulatory requirements. diff --git a/site/src/content/docs/security/threat-model.md b/site/src/content/docs/security/threat-model.md index 15312cf..e458664 100644 --- a/site/src/content/docs/security/threat-model.md +++ b/site/src/content/docs/security/threat-model.md @@ -2,7 +2,7 @@ title: "Threat model" description: "Security considerations for specification and implementations." banner: - content: "Draft - v1alpha1. Fields and semantics may change before v1beta1." + content: "Draft - v1alpha3, the current draft. Fields and semantics may change before v1beta1." --- | Topic | Consideration | @@ -17,7 +17,7 @@ banner: Report problems in the specification or tooling via [GitHub private vulnerability reporting](/community/security-policy/). -Normative text: [Security considerations](/specification/v1alpha1/#12-security-considerations), [Privacy considerations](/specification/v1alpha1/#13-privacy-considerations). +Normative text: [Security considerations](/specification/v1alpha3/#12-security-considerations), [Privacy considerations](/specification/v1alpha3/#13-privacy-considerations). :::note[Compliance] AWP provides machine-readable governance primitives that can help organizations implement and enforce their own compliance requirements. Compliance depends on the implementation, organizational controls and applicable regulatory requirements. diff --git a/site/src/snippets/governance-cards.ts b/site/src/snippets/governance-cards.ts index eec82d2..fdd1a03 100644 --- a/site/src/snippets/governance-cards.ts +++ b/site/src/snippets/governance-cards.ts @@ -1,10 +1,10 @@ -// Short snippets for the governance overview page. Each is an excerpt of a valid v1alpha1 manifest; +// Short snippets for the governance overview page. Each is an excerpt of a valid v1alpha3 manifest; // the normative text is linked from every card. export const cards = [ { title: 'Identity & ownership', href: '/governance/identity-and-ownership/', text: 'Every workflow names the team accountable for it.', - code: 'metadata:\n name: invoice-processing\n version: 1.2.0\n owner:\n team: finance-ai\n contact: finance-ai@example.com', + code: 'metadata:\n name: invoice-processing\nspec:\n version: 1.2.0\n owner:\n team: finance-ai\n contact: finance-ai@example.com', }, { title: 'Data classification', href: '/governance/data-classification/', @@ -34,7 +34,7 @@ export const cards = [ { title: 'Risk levels', href: '/governance/risk-levels/', text: 'A possible governance model, not a regulatory classification.', - code: 'metadata:\n risk:\n level: high\n category: [security, financial]', + code: 'spec:\n risk:\n level: high\n category: [security, financial]', }, { title: 'Environments', href: '/governance/environments/',