Skip to content

forgeplan_activate

Promotes an artifact from draft to active. This is the lifecycle gate that enforces quality: if forgeplan_validate would report any MUST failure, activation is rejected with the list of blockers. Once active, the artifact counts in forgeplan_health, appears in forgeplan_list --status active, and becomes a citable decision. For Notes and Problems there is no validation gate — they activate immediately.

Category: Lifecycle

  • After filling the PRD stub + validate PASS + evidence attached + R_eff > 0 — “ready to ship”.
  • At the end of a sprint checklist: all FRs checked, all tests green, PR merged — time to flip the switch.
  • When the user says “mark PRD-042 as active now” and the agent has verified the gates.
NameTypeRequiredDescription
idstringyesArtifact ID to activate.
forceboolno (default: false)Force activation even if validation has MUST errors.

Schema source: crates/forgeplan-mcp/src/server.rs::ActivateParams

The new status plus the transition timestamp. On failure, returns the validator report so the agent can remediate without a second forgeplan_validate call.

Example response shape:

{
"ok": true,
"id": "PRD-042",
"from": "draft",
"to": "active",
"activated_at": "2026-04-11T10:19:00Z"
}

Failure shape:

{
"ok": false,
"error": "validation_failed",
"must_findings": [
{ "rule": "prd.has_problem", "message": "Missing ## Problem section" }
]
}
{ "id": "PRD-001" }

With typical agent context:

All FRs implemented, tests green, evidence linked, R_eff = 0.87. Agent activates.

{ "id": "PRD-042" }

Full cycle: forgeplan_newforgeplan_updateforgeplan_validate PASS → code → forgeplan_new evidenceforgeplan_linkforgeplan_score > 0 → forgeplan_activate. Never activate a PRD without code and evidence — it becomes a false promise.