AeroFlow
A VS Code extension for editing GitHub Agentic Workflows. Open Explorer → Agentic Workflows to see each source in the workspace's .github/workflows folder and whether its compiled lockfile exists.
- Select a workflow to edit its Markdown. Frontmatter syntax and missing instructions appear in Problems as you type.
- Use New Workflow (+) to create a manually triggered, read-only starter in the workspace folder you choose.
Edit → compile → commit
- Edit a source in Explorer → Agentic Workflows. Select Preview compiled YAML above the Markdown, including while the source has unsaved changes.
- Review the diff. The left side is the workspace lockfile (empty for a new workflow). The right side is the result of running pinned gh-aw v1.2.2 locally in a browser worker. Compile errors go to Problems.
- Choose Apply and open Source Control above the generated side. AeroFlow checks the reviewed inputs, saves changed source and local import buffers, writes the reviewed YAML and checks it again. If anything changed since preview, generate a fresh diff.
- Review the files and commit using the workspace's Source Control provider. Committing is an explicit user action.
The compiler uses gh-aw's file-based entry point on an in-memory filesystem. This includes the lockfile header and runtime Markdown references. The upstream Playground's string compiler inlines the prompt. Build-time assets travel inside the VSIX. Compiling in the browser requires no CLI installation, API key or model call.
Standalone manual workflows and local Markdown imports have native CLI comparison tests. A diff marked Preview only needs the native CLI to finalize package manifests, shared maintenance, runtime imports or companion workflows. Use Copy native compile command above that diff. Remote imports require a native checkout. Repositories should be initialized for gh-aw. The native CLI also handles full repository validation and upgrades.
Checks before committing
AeroFlow: Check Workflow Before Commit checks a selected workflow without writing files. The Apply command calls the same check before handing off to Source Control. An extension or browser harness can activate bpcarson.aeroflow and call its version 1 API, await api.checkBeforeCommit(sourceUri). It returns {ok, workflow, unsaved, reason}. A compiler error rejects. A harness that owns a commit operation can stop on either rejection or ok === false. This checks the workspace files, so the caller must ensure they are the same files it commits.
A harness or another installed web extension can register an optional check with api.registerPreCommitHook(id, async ({source, lockfile}) => ...). Return a message to block the AeroFlow handoff, or return nothing to pass. Call .dispose() to unregister. Hooks run after compiler checks, in registration order. AeroFlow loads no repository-supplied hook scripts.
VS Code's public SCM API has no provider-wide before-commit interceptor. Ordinary GitHub Repositories commits use that provider's own UI. AeroCode's web lifecycle hooks are declarative and cannot invoke compilation. For enforcement across editors, copy the optional native PR check into your own repo’s .github/workflows/. It recompiles in a read-only PR job, reports drift and uploads a patch for missing or stale outputs.
Try the starter
For a development build, install Go 1.27.3 (or a Go toolchain with automatic toolchain downloads), Node 24, git, and GitHub CLI. With GitHub CLI access to bpcarson/actions, and this repository checked out:
npm run tooling:setup
npm ci --ignore-scripts
npm run preview
Open the printed localhost URL in a browser. The VS Code web workbench loads AeroFlow with a fixture containing a sample workflow, a navigation-only lockfile and a second source with a missing delimiter. The same URL is the entry point for a Codex or Claude Code desktop browser that can reach the local server.
For VS Code Desktop, run npm run build and launch AeroFlow · Web Extension Host with F5. To try the extension in vscode.dev before Marketplace publication, serve the built extension directory over HTTPS and use Developer: Install Extension From Location. Microsoft's web extension guide describes the certificate and cross-origin headers.
Checks and releases
npm run check type-checks the extension, exercises the parser and builds the browser bundle. npm run package:vsix && npm run check:vsix creates and inspects dist/aeroflow.vsix. Run npx playwright install chromium then npm run test:web for activation, source actions, compilation, stale-preview rejection, apply and the pre-commit check in the pinned VS Code Web host.
CI calls the shared bpcarson/actions extension workflow. Release callers follow AeroPy's prerelease and stable-promotion policy. Configure Actions access to bpcarson/actions, the release label and Actions PR permissions before enabling automatic versioning. Marketplace publication uses the repository's optional VSCE_TOKEN secret.