Skip to content

forgeplan session

Show the current methodology session state — which phase of the Forgeplan cycle you are in (routing, shaping, validating, coding, evidence, activating) and what the next step should be. This is the “where am I?” command for agents and humans alike.

  • Resume work after a break — “what was I doing?”
  • AI agents between tool calls — decide the next action
  • Protocol enforcement — skip no phases by accident
  • Multi-agent setups — the supervisor reads session state to route work
  • You want a task list → use TODO.md or your task tracker
  • You want project-level health → use forgeplan health
forgeplan session [OPTIONS]
--reset Reset session to Idle
-h, --help Print help
-V, --version Print version

Show the current phase:

Terminal window
forgeplan session

Reset state after aborting a task:

Terminal window
forgeplan session --reset

Typical output:

Session: shaping
Active artifact: PRD-046
Depth: Standard
Next step: forgeplan validate PRD-046
Last transition: 2026-04-11 14:05 (routing → shaping)

Phases map to the Forgeplan cycle:

PhaseMeaning
idleNo active task
routingRunning forgeplan route — deciding depth/pipeline
shapingWriting MUST sections in a new PRD/RFC/ADR
validatingRunning forgeplan validate until PASS
reasoningADI hypothesis generation (Standard+ depth)
codingImplementing the change
evidenceCreating EvidencePack and linking
activatingRunning activate after R_eff > 0

The state is stored in .forgeplan/session.yaml and persists across CLI invocations. Use --reset if the state is stuck or stale.

session is the phase indicator inside the enforced cycle:

route → shape → validate → reason → code → evidence → activate

Each successful command transitions the session forward. If you see the same phase for hours, that is a signal to unstick — either finish the phase or reset.