Repository navigation
v0.31.0
Stageflow v0.31.0
Release notes for versions since v0.25.0.
0.31.0
Stageflow-owned provider auth on Pi 0.99, bundled Cursor SDK install, and fixes for Cursor stages, Docker builds, and GitHub-only releases.
Features
- Provider auth: Stageflow-owned authentication with Pi 0.99 support and optional disk-based admission for provider credentials.
- Install:
pi-cursor-sdkships with the npm package so Cursor stages resolve the SDK without a separate install.
Fixes
- Cursor stages receive the Host’s Cursor API key instead of failing with missing credentials.
- Docker image build copies
.npmrcsonpm ciresolves Pi 0.99 peer dependencies. - CI can run the GitHub release workflow without republishing to npm.
0.30.0
Workshop Author in the studio: chat-driven pipeline drafting, persistent builds, and catalog save.
Features
- Workshop Author on
#/workshop: a chat agent drafts pipelines, asks when missing details would change stages or wiring, and shows the draft on the studio stage map. Click a stage for prompt, IO, verify, and HITL summary. - Untitled drafts persist as build records under
$STAGEFLOW_HOME/workshop/builds/{id}.json(no catalog file until save). Chat history lives underworkshop/sessions; each session points at the build it was editing. - Author tools to list, focus, and create builds; create and edit pipeline, stages, and optional task; validate; and save. Save writes catalog YAML only when asked and refuses invalid packages unless the operator explicitly allows it. Saves without a folder name land in
workshop/<pipeline-id>and are added to the catalog so Run lists the pipeline and task. - Studio picker lists each open build and each on-disk pipeline once. The same chat can switch builds, or History can reopen the session that last edited another pipeline.
sf initincludesworkshopin the pipeline and task catalog. Host boot registers the project root so the catalog is visible without a manual project add.
Changed
- Workshop chat uses the
modelinstageflow.yaml; when unset, the default iscursor/auto.
Fixes
npm run devstage workers load the TypeScript CLI through tsx (no missingsrc/cli.js).- A stage process that exits before recording failure is marked failed instead of leaving later stages skipped with the entry still pending.
- Cursor models find
pi-cursor-sdkfrom the Host Pi agent directory; the stage worker attemptHOMEno longer hides~/.pi/agent.
0.29.0
Browser sessions for stages: logged-in Chrome profiles, shared browser per run, human login gates, and sf browser CLI.
Features
- Browser sessions via agent-browser through the CLI and bundled
browserskill (no MCP). Seedocs/browser.mdanddocs/browser-internals.md.- Stage
browserfield:profile,headed,allow_domains,login_url,check(url,logged_in_url,logged_out_url). Theagent-browserrequirement is added automatically. - Named profiles under
$STAGEFLOW_HOME/browser/<scope>/<name>/, leased to one run; other runs queue until that run ends. - Shared browser per run and profile: one Chrome for the run, each stage attaches over CDP with its own tab; parallel stages share one login. Tabs close at stage end; browser closes at run end, cancel, or abandon. Orphan sweep at Host start.
- Host-computed login check validated against the stage envelope; human login stage with
verify: browser_loginand confirm gate (handoff,site,profile). Wrong confirm can retry while repair attempts remain. sf browser profiles | status | check | login | clear.- Host config
browser.blocked_sites, audit log (browser/audit.jsonl), redaction for browser stages, and owner-scope seams for future multi-tenant use. - Example
examples/browser-session/and opt-in real-Chrome smoke test (STAGEFLOW_BROWSER_SMOKE=1).
- Stage
- Answer responses (HTTP 202, MCP
answer_gate,sf runs answer --json) may include optionalverification.
Changed
- Stage workers receive the Host’s Pi auth path through
STAGEFLOW_PI_HOME_AUTH_PATH.
Fixes
- Stages no longer fail with “No API key” under
pi_homewhen the worker’s empty attempt$HOMEhid~/.pi/agent/auth.json.
Known limitations
- Profile stages use a soft
allow_domainscheck; profile-less stages get the native allowlist. - Visible login needs a screen; Docker Hosts fail the login stage with a clear message. See
docs/browser-internals.mdfor the full list.
0.28.1
Fixes
- Project root resolution no longer requires git.
resolveStageflowContextfinds the neareststageflow.yamlfirst for catalog discovery, trigger-adapter discovery, and stage/pipeline/trigger creation.isGitProjectstill gates git-only operations but no longer blocks non-git catalogs. Trigger adapters can discover triggers in non-git catalog roots.
0.28.0
Pipeline triggers and schedulers: event/schedule YAML, GitHub poll, webhooks, and email connectors.
Features
- Trigger backbone:
kind: event/kind: scheduletrigger YAML,TriggerSourcePortadapter seam, and dynamic task mode (events can build a one-offTaskFile). - Three adapters: GitHub poll (ETag-conditional, grouped by repo), generic webhook (per-trigger URL, HMAC-SHA256), and email (IMAP IDLE, pooled connections, bounded-backoff reconnect).
- Generic
trigger_adapter_statestore table for adapter cursors (ETags, UID watermarks).
Fixes
event.configpasses through on trigger creation (HTTP and MCP).STAGEFLOW_GITHUB_POLL_INTERVAL_MSandSTAGEFLOW_TRIGGER_TICK_INTERVAL_MSare recognized Host env keys.- GitHub poll adapter treats HTTP 304 as expected no-op instead of logging an error.
0.27.1
Fixes
- Registered catalog roots with local
stageflow.yamllist pipelines/tasks without requiring git. - Cold Host seeds
examplesbrowse viaexamples/stageflow.yaml. - Empty catalog lists return a registration tip; absolute-path rejections include richer guidance.
- Unset
TMPDIR/TMP/TEMPsoft-default to$STAGEFLOW_HOME/tmpbefore Host writability assert. - HTTP health exposes
boot_providers; MCPget_healthincludesstageflow_home. sf init/ author defaults prefer a configured provider instead of silently assuming Anthropic.
Changed
- Breaking: Omitting
gate_kindsno longer registersask_operator. Only an explicit non-emptygate_kindslist registers the tool. Stages that relied on omit-means-on must declare kinds. Seedocs/hitl.mdanddocs/yaml-catalog.md. - Quickstart and setup skill split CLI vs MCP smoke; docs contrast
STAGEFLOW_OPERATOR_CWDvs catalogproject_root.
0.27.0
Container images on GHCR, doctor store integrity, and catalog validation improvements.
Features
- Docker delivery: multi-stage
Dockerfile,docker-compose.yml,scripts/docker-smoke.sh, CI, GHCR multi-arch publish and cosign sign-by-digest. Seedocs/docker.md. sf doctorstore_integrityruns fullPRAGMA integrity_check.sf validateflags absolute paths under$STAGEFLOW_HOMEin stage prompts and verify commands.
Fixes
STAGEFLOW_BUILD_SHAallowed for container boot and/api/healthbuild_sha.- Bound-run Pi
read/write/editallow stagecheckoutRoot. - Bare repo cache uses remotes-style fetch with cache healing and pruning for linked worktrees.
GITHUB_TOKEN/GH_TOKEN{ as: env }is additive with git askpass.- Repository-bound runs reclaim Host worktree on
succeeded(keepsrun_branch; recordscheckout_root).
Changed
docs/mcp.mdlimitations table updated for Slot 9 surfaces.- Docker local-try docs as Compose checklist; root
.env.examplealigned withSTAGEFLOW_PROVIDER_*boot keys. - Harness skills updated for Compose, drive-token MCP,
$STAGEFLOW_HOMEstore, repository/refbinding, and Slot 6secrets:.
0.26.0
Host-global project registry and curated stage environment (Slot 6).
Features
- Project registry under
$STAGEFLOW_HOME: durableensureof project roots;sf runensure-then-starts; remotes use registered ∪ seeded catalog roots only. Seedocs/mcp.md,docs/cli-reference.md,docs/data-directory.md. - Curated stage environment: stages no longer inherit Host ambient env; declare
secrets:; file-backed git askpass; redaction; proxy/CA passthrough; shared cache; MCP connect default 30s; stage-process/heap caps; Claude-as-root refusal. Seedocs/migration-stage-environment.md.
Changed
- Shared catalog start/write path resolution; MCP
run_stageand A2A honor same containment asstart_run. - Operator-terminal statuses (
cancelled/queued) preserved inderiveStatusFromStages. - Host shutdown uses single
DrainableHostdrain path. - Path-checkout lease only for path-bound runs; repository-bound runs get parallel worktrees.
verifycommands run underbash -c.- Stage MCP
${VAR}interpolation uses curated stage env only.
Removed
- Dead
RunStore.listProjectRootsand unusedisMutatingApipredicate.