GAF Workflow Orchestrator
Goal
Select and apply the best GAF skill for the current user request while enforcing GAF process order.
Router Rules
Always map intent to one primary skill first, then optionally a secondary skill.
Phase 1: Intake and Documentation
- New task creation, setup, initial artifacts ->
gaf-task-bootstrapper - Scope unclear, likely large, needs decomposition ->
gaf-complexity-decomposer - Cross-file alignment review of docs/manifests ->
gaf-manifest-doc-consistency-auditor - Add/change Brain registry (catalog, storage map, dictionary, schemas) -> run
gaf-core-knowledge/scripts/perdocs/brain-write-policy.md(never edit governed YAML/SQL/MD directly); rulegaf-brain-script-only-writes
Phase 2: Implementation
- Node runtime hardening and safe patterns ->
gaf-validation-guardrails-node - Writes/status/schema compliance ->
gaf-schema-quality-gate - Shared client/library change governance ->
gaf-shared-library-release-guard - Architecture boundary check (build-time vs runtime) ->
gaf-runtime-boundary-guard
Phase 3: Validation and Testing
- Formal final validation evidence ->
gaf-phase3-validation-runner - Final promotion decision support ->
gaf-predeploy-readiness-advisor(thennode scripts/deploy-task.js <task_id>from core-knowledge root; rulegaf-deploy-script-enforcement)
Two-Skill Chains (Common)
New task, then consistency:
gaf-task-bootstrappergaf-manifest-doc-consistency-auditor
Implementation touching writes:
gaf-validation-guardrails-nodegaf-schema-quality-gate
Predeployment checks:
gaf-phase3-validation-runnergaf-predeploy-readiness-advisor
Shared library release prep:
gaf-shared-library-release-guardgaf-runtime-boundary-guard(if runtime behavior changed)
Priority and Tie-Breakers
If multiple skills match, prioritize:
- highest risk reduction (schema/runtime boundary/deploy blockers)
- lifecycle order (Phase 1 before Phase 2 before Phase 3)
- smallest change needed to unblock progress
Safety Rules
- Do not skip required phase logic.
- Do not auto-promote to Production; use
deploy-task.jsonly after explicit user confirmation. - Governed Brain files: scripts only (
gaf-brain-script-only-writes). - If required inputs are missing, ask for them explicitly.
- Use TODO markers for unknown values; never invent governance-critical data.
Output Contract
For each request, return:
- selected primary skill
- optional secondary skill
- why this routing was chosen
- immediate next action checklist (3-5 bullets max)