Skip to content

v0.2.10

Choose a tag to compare

@github-actions github-actions released this 12 Aug 05:42
8fc6981

[0.2.10] — 2026-08-12

Added

  • Organized saved-flow discovery. Project and user flows may be nested recursively below the bounded flows/ convention directory (for example .pi/taskflows/flows/release/publish.json) while legacy top-level saved flows remain compatible and take same-scope precedence on duplicate names.
  • Flow-relative script execution. A file-backed flow can declare scriptCwd: "flow" so script phases without an explicit cwd execute from the definition file's directory. Canonical loader provenance is persisted across foreground, background, resume, saved subflow, Pi, MCP, imperative, and event-kernel paths; inline definitions fail closed because they have no trusted file source.

Changed

  • Nested discovery is deterministic and bounded by one shared user/project budget: 1,000 flows, 10,000 entries, 512 directories, 8 MiB total definitions, 1 MiB per definition, and 16 levels. Symlinks below trusted storage boundaries through definition leaves, dot directories, sidecars, and FlowIR artifacts are excluded; duplicate flow names emit diagnostics. A configured user agent-directory boundary may itself be a symlink for home relocation, while project .pi boundaries remain no-follow. Re-saving a discovered nested flow updates its existing definition and adjacent library sidecar in place; listing/search avoids repeated namespace scans.

Fixed

  • Legacy top-level hidden JSON flows and flow names ending in .flowir remain discoverable, directory-entry I/O failures remain fail-soft instead of escaping listFlows, and nested flow/sidecar saves revalidate the physical parent at each atomic-write stage so a concurrently replaced directory cannot receive definition/sidecar bytes or a promoted final file.

Security

  • Saved-flow and defineFile definitions are read through bounded no-follow descriptors with pre/post file identity checks. Canonical source path plus parent directory identity travel together through run persistence and are revalidated immediately before flow-relative script spawn. New project storage is validated and created one plain directory component at a time before any descendant side effect; flow and sidecar writes recheck the physical target directory before locking and each write. Flow-relative script cwd cannot expand an inherited cwd-bridge boundary.