forgeplan fpf rules
forgeplan fpf rules lists every active rule in the First Principles Framework rule engine, grouped by its recommended action bucket: EXPLORE (generate more hypotheses), INVESTIGATE (gather more evidence for existing hypotheses), or EXPLOIT (commit to a proven path).
The rules encode FPF’s trust calculus in machine-executable form. They’re what fpf check evaluates against individual artifacts and what fpf dashboard aggregates into project-level recommendations.
When to use
Section titled “When to use”- Before a sprint — skim the rule set to understand what the engine is looking for.
- When a rule fires unexpectedly — read the full rule text to understand the trigger.
- While authoring methodology docs — reference rules by ID.
- While debugging
fpf checkoutput — see the full rule definition behind a match.
When NOT to use
Section titled “When NOT to use”- For per-artifact matches — use
fpf check <id>. - For project-wide action recommendations — use
fpf dashboard.
forgeplan fpf rules [OPTIONS]Options
Section titled “Options” --flat Flat priority-linear table instead of action-grouped tree --json Output full rule dump as JSON -h, --help Print help -V, --version Print versionThe default view groups rules by action (EXPLORE / INVESTIGATE / EXPLOIT). --flat switches to a single priority-ordered table when you want to scan top-priority rules regardless of action. --json emits the full rule dump for MCP clients and audit scripts.
Examples
Section titled “Examples”# Default: action-grouped treeforgeplan fpf rules
# Flat priority-ordered tableforgeplan fpf rules --flat
# Machine-readable full dumpforgeplan fpf rules --json
# Typical review flowforgeplan fpf rulesforgeplan fpf check PRD-019forgeplan fpf dashboardThe three action buckets
Section titled “The three action buckets”Rules map onto the explore→investigate→exploit axis from FPF Part B:
- EXPLORE — the artifact or context has too few hypotheses. The rule suggests generating alternatives (e.g. “Fewer than 3 hypotheses on Deep depth — run
forgeplan reason”). - INVESTIGATE — hypotheses exist but evidence is weak or low-congruence. The rule suggests gathering more (e.g. “R_eff below threshold — attach a measurement EvidencePack”).
- EXPLOIT — trust is strong enough to commit. The rule clears the artifact for activation or supersession.
Each rule carries a condition (predicate on artifact metadata), an action label, and a human-readable justification tied to an FPF section (e.g. ref: B.3).
How it fits
Section titled “How it fits”The rule engine was introduced in PRD-041 and extended in PRD-043 (methodology integrity). It reads artifact state from LanceDB and consults the FPF KB for justification text. Output flows into:
fpf check <id>— per-artifact viewfpf dashboard— aggregated per-context viewforgeplan validate/activategates (for integrity rules)
See also
Section titled “See also”forgeplan fpf— parent commandforgeplan fpf check— apply rules to one artifactforgeplan fpf dashboard— rules aggregated per contextforgeplan validate— validation gate that consults integrity rules- Methodology guide