FN-6226: skip fast-mode workflow graph validation nodes
Fast execution mode now bypasses custom pre-merge workflow graph validation consistently. - Skip custom graph prompt, script, and gate nodes for fast-mode tasks while preserving human waits and CLI-agent work. - Add regression coverage for fast-mode custom workflow behavior and standard-mode/null-mode validation. - Document fast-mode workflow graph bypass behavior and record the published package changeset. - Quarantine the unrelated self-healing real-git flake from the engine core gate. Files changed: .changeset/FN-6226-fast-mode-workflows.md | 5 + docs/task-management.md | 6 +- docs/workflow-steps.md | 2 +- .../__tests__/executor-fast-mode-workflows.test.ts | 280 +++++++++++++++++++++ packages/engine/src/executor.ts | 16 ++ packages/engine/vitest.config.ts | 1 + scripts/lib/test-quarantine.json | 5 + 7 files changed, 313 insertions(+), 2 deletions(-) Fusion-Task-Id: FN-6226 Fusion-Task-Lineage: 68d88a7a-e157-4d18-a2c2-9065946066de
This commit is contained in:
@@ -444,10 +444,13 @@ When `executionMode: "fast"`, the following automated review/validation gates ar
|
||||
|------|---------------|-----------|
|
||||
| `review_step` tool enforcement | Available to executor agent | **Not injected** |
|
||||
| Pre-merge workflow-step execution | Runs configured steps | **Skipped** |
|
||||
| Custom graph pre-merge prompt/script/gate nodes | Run in selected custom workflows | **Skipped** |
|
||||
| Workflow revision loop | Enabled (feedback → fix → re-review) | **Disabled** |
|
||||
|
||||
### Fast Mode Mandatory Gates
|
||||
|
||||
The bypass applies to both the legacy workflow-step path and the workflow graph executor path (including custom non-`builtin:coding` workflows). `undefined` or `null` execution mode is treated as standard mode.
|
||||
|
||||
The following quality gates **remain enforced** in fast mode:
|
||||
|
||||
| Gate | Behavior |
|
||||
@@ -461,7 +464,8 @@ The following quality gates **remain enforced** in fast mode:
|
||||
| Feature | Standard | Fast |
|
||||
|---------|----------|------|
|
||||
| Executor agent session | Full prompt + tools | Full prompt (minus review_step) |
|
||||
| Pre-merge workflow steps | ✅ Run | ❌ Bypassed |
|
||||
| Pre-merge workflow steps (legacy, builtin, and custom graph workflows) | ✅ Run | ❌ Bypassed |
|
||||
| Custom graph prompt/script/gate validation nodes | ✅ Run | ❌ Bypassed |
|
||||
| `review_step` tool | ✅ Available | ❌ Not available |
|
||||
| Post-merge workflow steps | ✅ Run | ✅ Run |
|
||||
| Completion blockers (test/build/typecheck) | ✅ Enforced | ✅ Enforced |
|
||||
|
||||
Reference in New Issue
Block a user