Skip to content

feat(packs): workflow graph + per-project phase gate bindings - #15

Merged
simonperegrinvs merged 3 commits into
mainfrom
codex/pack-workflow-phase-gates
Feb 8, 2026
Merged

simonperegrinvs merged 3 commits into
mainfrom
codex/pack-workflow-phase-gates

Conversation

@simonperegrinvs

Copy link
Copy Markdown
Collaborator

Summary

  • Visualize a selected guidance pack's workflow (phases + gates) in the Desktop Packs tab (Vue Flow).
  • Bind per-phase validation scripts via native file picker; persist per project in .forge/phase-gates.json.
  • Seed default bindings from the guidance pack (manifest.json default_phase_gate_bindings) and ship policy-generated default scripts under scripts/phase-gates/*.sh.

Notable API/Behavior

  • Desktop backend:
    • GET /api/dialog/select-file?projectRoot=... (filters to .sh)
    • GET /api/phase-gates?projectRoot=...
    • PUT /api/phase-gates (stores project-relative paths; rejects scripts outside project root)
  • Pack content now includes defaultPhaseGateBindings.
  • Guidance install seeds .forge/phase-gates.json if missing and never overwrites.

Testing

  • bun run verify
  • cargo test --manifest-path apps/desktop/src-tauri/Cargo.toml

@simonperegrinvs
simonperegrinvs merged commit d17f8aa into main Feb 8, 2026
2 checks passed
@simonperegrinvs
simonperegrinvs deleted the codex/pack-workflow-phase-gates branch February 8, 2026 09:43
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