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.
When to use
Section titled “When to use”- 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
Not to use when
Section titled “Not to use when”- You want a task list → use
TODO.mdor your task tracker - You want project-level health → use
forgeplan health
forgeplan session [OPTIONS]Options
Section titled “Options” --reset Reset session to Idle -h, --help Print help -V, --version Print versionExamples
Section titled “Examples”Show the current phase:
forgeplan sessionReset state after aborting a task:
forgeplan session --resetOutput interpretation
Section titled “Output interpretation”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:
| Phase | Meaning |
|---|---|
idle | No active task |
routing | Running forgeplan route — deciding depth/pipeline |
shaping | Writing MUST sections in a new PRD/RFC/ADR |
validating | Running forgeplan validate until PASS |
reasoning | ADI hypothesis generation (Standard+ depth) |
coding | Implementing the change |
evidence | Creating EvidencePack and linking |
activating | Running 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.
How it fits
Section titled “How it fits”session is the phase indicator inside the enforced cycle:
route → shape → validate → reason → code → evidence → activateEach 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.
See also
Section titled “See also”forgeplan route— determine depth and pipelineforgeplan health— project-level health- Unified Workflow — full cycle