Skip to content

feat: show AWP v1alpha4 and make it the current draft (D23, D24) - #2

Merged
weisser-dev merged 3 commits into
mainfrom
feat/v1alpha4
Nov 27, 2026
Merged

weisser-dev merged 3 commits into
mainfrom
feat/v1alpha4

Conversation

@weisser-dev

@weisser-dev weisser-dev commented Nov 27, 2026 •

Copy link
Copy Markdown
Member

Renders AWP v1alpha4 (D23): when conditions (spec 3.12) and type: workflow steps (5.6.6), and makes it the current draft of the site (D24).

  • Model: when, workflow (ref, version, inputs, wait default true), workflow.start action for workflow steps, v1alpha4 in KRM_VERSIONS.
  • UI: if marker and condition in the accessible name on conditional nodes; node subtitle workflow <ref>; step card badge "conditional", facts When / Workflow / Workflow inputs.
  • Site (D24): starter manifest in site/app.js is v1alpha4; examples/<file> serves the v1alpha4 examples; v1alpha3 moves to examples/v1alpha3/ (listed as older set, with v1alpha2/); examples/v1alpha4/ keeps working unlisted.
  • Tests: model tests for cve-risk-then-fix and workflow-step edge cases; browser checks for the top-level v1alpha4 examples, a v1alpha3 example from the subfolder, the old examples/v1alpha4/ path (+ axe). Locally with validator 0.4.0 packed from the validator PR: npm test 16/16, npm run test:browser passes.
  • Version 0.4.0, README, CHANGELOG.

Order: spec agenticworkflowprotocol/agenticworkflowprotocol.org#32 (D24) → agenticworkflowprotocol/awp-validator#2 (release 0.4.0) → this PR.

⚠️ The dependency @agenticworkflowprotocol/validator is still 0.3.0: a git/branch dependency has no dist/browser bundle (built on prepack, not committed), and there is no 0.4.0 release yet. CI will fail until it is bumped. After the validator 0.4.0 release, bump it to 0.4.0 (package.json + lockfile) on this branch before merging.

The specification adds v1alpha4 as the next draft (D23, spec PR #31)
with `when` conditions (spec 3.12) and `type: workflow` steps (5.6.6).
The view model carries `when` and the child workflow (ref, version,
inputs, wait defaulting to true); the graph marks conditional steps and
names the called workflow on the node, the step card shows condition,
child workflow and inputs, and workflow steps expose workflow.start.
v1alpha4 reads governance fields from spec like v1alpha3.

The site lists the v1alpha4 examples under examples/v1alpha4/; v1alpha3
stays the current draft. The validator dependency stays at 0.3.0 until
validator 0.4.0 (v1alpha4) is released, because an unreleased git
dependency has no browser bundle.

Signed-off-by: Erik <erik@weisser.dev>
@cloudflare-workers-and-pages

cloudflare-workers-and-pages Bot commented Nov 27, 2026 •

Copy link
Copy Markdown

Deploying awp-editor with  Cloudflare Pages  Cloudflare Pages

Latest commit: 2b7ae52
Status: ✅  Deploy successful!
Preview URL: https://586e5d62.awp-editor.pages.dev
Branch Preview URL: https://feat-v1alpha4.awp-editor.pages.dev

View logs

The specification makes v1alpha4 the current draft (D24, spec PR #32).
The website starts with a v1alpha4 manifest and serves the v1alpha4
examples at examples/<file>; the v1alpha3 examples move to
examples/v1alpha3/ and are listed as an older set. examples/v1alpha4/
keeps working unlisted for links from the time v1alpha4 was the next
draft. Viewer and editor show older manifests unchanged.

The validator dependency stays at 0.3.0 until validator 0.4.0 (v1alpha4
as the default) is released; tested against a locally packed 0.4.0.

Signed-off-by: Erik <erik@weisser.dev>
@weisser-dev weisser-dev changed the title feat: show AWP v1alpha4 step conditions and workflow steps feat: show AWP v1alpha4 and make it the current draft (D23, D24) Nov 27, 2026
@weisser-dev
weisser-dev merged commit e1ca59f into main Nov 27, 2026
5 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant