cyberneticlibrary

Orchestrate project initialization

wfl:initworkflowsetup L42
Entelligentsia/forge
What it does

Orchestrate code-driven LLM project initialization with phase gating

Best for

Deterministic LLM-orchestrated project bootstrap with phase gating and config auto-merge.

Inputs
  • · forgeRoot, kbFolder, startPhase, createClaudeMd, isoTimestamp
Outputs
  • · Structured result { ok, lastPhase, skillMatches, pendingActions }
Requires
  • · bash
  • · agent()
  • · Read
Preconditions

`4ge init claude .` bootstrap completed, .forge/ vendored

Failure modes
  • · Phase verify-phase.cjs gate fails
  • · Agent discovery incomplete
  • · Content-register escalates
Trust signals
  • · Deterministic phase FSM with verify gates
  • · Bounded retry (max 1 per phase)
  • · Timestamp supplied by caller