NW-FORGE: Agent Builder Router
Wave: CROSS_WAVE | Agent: Zeus (nw-agent-builder)
Routes
| Request condition | Internal procedure | Output |
|---|---|---|
| Create a new agent | nw-ab-create-agent |
New agent and only needed skills |
| Validate only an existing agent | nw-ab-validate-spec |
19-item verdict |
| Migrate an existing agent monolith | nw-ab-migrate-monolith |
Lean agent core plus routed skills |
| Optimize one existing skill | nw-ab-optimize-skill |
Measured optimization result or NOT_ELIGIBLE |
Routing workflow
- Classify — Match the request to exactly one route above. Stop: ambiguous request; request the missing target or intent.
- Delegate — Load and run the selected internal procedure. Preserve public command and agent names. Stop: the target is not eligible for the selected procedure.
- Handoff — Return that procedure's terminal evidence without re-stating its workflow. Stop: the procedure reports an unresolved preservation or behavior risk.
Contract
forgeremains the public command. This file owns routing only; procedure details remain in the selectednw-ab-*skill.- Existing behavioral projections are immutable. Do not create a command, validator, grammar, compiler, hook, or gate for a route.
- Safety by construction first; hooks last resort with a recorded reason (GDP-0).
- Use
nw-ab-create-agentfor creation,nw-ab-validate-specfor validation,nw-ab-migrate-monolithfor agent migration, andnw-ab-optimize-skillfor skill optimization. - The validation route uses the 19-item checklist; do not maintain a second count here.
Existing surfaces
- Route by the target and request condition, not a mandatory operation flag.
*forge,*validate, and*migrateretain their existing public meanings.- Internal procedure names do not create a public command.
- The selected procedure owns detailed output and verification.
- A rejected route returns its own compact reason.