Skip to content

Quick Start

This is the 10-minute walkthrough. If you want a slower, fully annotated tutorial with error recovery, see First Artifact Tutorial.

By the end of this page you will have:

  1. An initialized Forgeplan workspace
  2. A routed and validated PRD
  3. ADI reasoning captured
  4. Evidence linked to the PRD
  5. An R_eff > 0 score
  6. An artifact in active state

If you have not installed Forgeplan yet, see Installation.

Verify it works:

Terminal window
forgeplan --version
# forgeplan 0.18.0
Terminal window
cd /path/to/your/project
forgeplan init -y

This creates .forgeplan/ with empty prds/, rfcs/, adrs/, evidence/ directories and a config.yaml. The -y flag skips interactive prompts (required for AI agents).

Terminal window
forgeplan health
# -> 0 artifacts, 0 blind spots. Workspace ready.

Before writing anything, let Forgeplan pick the right depth:

Terminal window
forgeplan route "add user authentication"
Depth: Standard
Pipeline: PRD → RFC
Confidence: 90%
Next: forgeplan new prd "User Authentication"

Standard means you create a PRD for the “what” and an RFC for the “how”. For more context see Routing & Depth.

Terminal window
forgeplan new prd "User Authentication"
# -> Created: PRD-001 at .forgeplan/prds/PRD-001-user-authentication.md

Open the file and fill the MUST sections:

  • Problem — why does this exist?
  • Goals — what does success look like? (SMART criteria)
  • Non-Goals — what is explicitly out of scope?
  • Target Users — who benefits?
  • Functional Requirements (FR)[Actor] can [capability]
Terminal window
forgeplan validate PRD-001

Expected:

PRD-001: PASS ✓ (0 MUST errors, 2 SHOULD warnings)

If you see MUST errors, the sections are missing or empty. Fix them and re-run. The validator also catches implementation leakage: writing “Use JWT” in a requirement fails the gate — requirements describe WHAT, not HOW.

For Standard depth, ADI is recommended. For Deep and Critical, it is mandatory:

Terminal window
forgeplan reason PRD-001

The router generates 3+ hypotheses, derives predictions for each, and scores them against any evidence already in the workspace. The output is stored with the artifact so future readers can see how you arrived at the decision.

Want FPF knowledge-base context injected into the prompt?

Terminal window
forgeplan reason PRD-001 --fpf

See ADI Reasoning for the full cycle.

Code your feature. The critical rule: write a test for every pub fn before moving to the next function. Tests become Evidence in step 7.

When the feature is done:

Terminal window
cargo test # or your equivalent
cargo fmt
cargo check

All must be green before you activate.

Terminal window
forgeplan new evidence "Auth tests — 12 pass, JWT validate 0.3ms"
# -> Created: EVID-001

Open the evidence file and add the structured fields block to the body:

## Structured Fields
verdict: supports
congruence_level: 3
evidence_type: test

Without these fields, the R_eff parser assigns CL0 (0.9 penalty) and your score collapses to near zero. This is the number one beginner mistake.

Link the evidence to the PRD:

Terminal window
forgeplan link EVID-001 PRD-001 --relation informs
Terminal window
forgeplan score PRD-001
PRD-001: R_eff = 1.00 — Adequate
EVID-001: supports, CL3, test -> score 1.0

If R_eff is 0.0, check: (a) is evidence linked? (b) does evidence body contain the structured fields? See Evidence & R_eff.

Terminal window
forgeplan review PRD-001
# -> Review PASSED — ready to activate
forgeplan activate PRD-001
# -> draft → active

The validation gate runs one more time on activation. If it fails, the transition is rejected.

Terminal window
forgeplan health
Artifacts: 1 (1 active, 0 draft, 0 stale)
Blind spots: 0
Orphans: 0
Evidence coverage: 100%

You now have a fully traced decision with measurable trust. Future-you (or your teammate) can open PRD-001 in six months and see: the problem, the goals, the ADI hypotheses, the chosen approach, and the evidence that justified it.

Route → Shape → Validate → Reason → Build → Prove → Activate
1 2 3 4 5 6 7
1. forgeplan route "task"
2. forgeplan new prd "Title" # fill MUST sections
3. forgeplan validate PRD-XXX
4. forgeplan reason PRD-XXX # ADI, mandatory on Deep+
5. code + test
6. forgeplan new evidence "..." + link + score
7. forgeplan review + activate