/ijfw-audit
Run the IJFW audit gate for the current workflow phase. Usage: /ijfw-audit [phase name]
$ npx -y skills add FerroxLabs/ijfw --agent claude-codeHow it fires
How this command gets triggered: by you, by Claude, or both.
- Fires itselfClaude auto-loads it when your prompt matches the work.
- You can call itInvoke it directly when you want it.
- Slash command
/ijfw-audit
Context preview
What this command does when you run it.
Run the IJFW audit gate for the current workflow phase. Usage: /ijfw-audit [phase name]
Command definition
ijfw-audit.mdname: ijfw-audit
description: "Run the IJFW audit gate for the current workflow phase. Usage: /ijfw-audit [phase name]"
Run the audit gate for the current (or named) phase of the active IJFW workflow. Every IJFW workflow phase has a built-in audit checklist -- this command fires it explicitly without advancing to the next phase.
**Ledger gate (Damir Law 4 scope -- run before any gate):** Read `.ijfw/state/execute-issues.json` at the start of every audit run:
read_issues() {
local f=".ijfw/state/execute-issues.json"
[ -f "$f" ] || { printf '{"issues":[]}'; return; }
cat "$f"
}If any entry has `status: unresolved`, halt with the list before running any phase gate:
ISSUE: unresolved-execute-issues
count: <N>
ids: [iss_001]
action: resolve with /ijfw-execute resolve <id> <note> first
Missing file = zero issues (day-1 fresh-install protection). Do not crash.
**Phase audit gates available:**
- **DISCOVER AUDIT** -- scope boundaries, success criteria, no hidden assumptions
- **RESEARCH AUDIT** -- findings validated, red flags surfaced, brief updated if needed
- **PLAN AUDIT** -- every requirement has a task, no scope drops, dependencies ordered
- **TASK MICRO-AUDIT** -- per-task: success criteria met, nothing outside scope changed
- **PHASE AUDIT** -- all phase tasks complete, brief still accurate, memory updated
- **SHIP GATE** -- original brief re-read, what was built matches what was asked
Run the gate, fix any failures, then continue. IJFW tracks gate outcomes in `audit-log.md` for the active project.
**Natural triggers:** "audit this phase", "run the gate", "check before we move on", "audit checkpoint", "gate check."
If you name a phase explicitly (e.g. `/ijfw-audit plan`), that gate runs regardless of the current workflow position. Omit the argument and the current phase gate runs.
**GATE:** Each audit gate is a hard stop -- fix failures before the next phase begins. Gate outcomes are recorded in `audit-log.md` for the active project.
**Confidence declaration (required per finding):** Every audit finding is tagged VERIFIED / LIKELY / GUESSING / ISSUE:
- **VERIFIED** -- command run, raw output shown, reproducible.
- **LIKELY** -- code read, docs consulted, reasoning given, not externally verified.
- **GUESSING** -- insufficient information, best guess only.
- **ISSUE** -- blocker or bug; document and halt.
Gate outcomes with any GUESSING or ISSUE finding do not auto-advance. This is the scoped adoption of Damir Zorcic's "Declare Confidence" law at audit boundaries.
Read more
name: ijfw-audit description: "Run the IJFW audit gate for the current workflow phase. Usage: /ijfw-audit [phase name]"
Run the audit gate for the current (or named) phase of the active IJFW workflow. Every IJFW workflow phase has a built-in audit checklist -- this command fires it explicitly without advancing to the next phase.
**Ledger gate (Damir Law 4 scope -- run before any gate):** Read `.ijfw/state/execute-issues.json` at the start of every audit run:
read_issues() {
local f=".ijfw/state/execute-issues.json"
[ -f "$f" ] || { printf '{"issues":[]}'; return; }
cat "$f"
}If any entry has `status: unresolved`, halt with the list before running any phase gate:
ISSUE: unresolved-execute-issues count: <N> ids: [iss_001] action: resolve with /ijfw-execute resolve <id> <note> first
Missing file = zero issues (day-1 fresh-install protection). Do not crash.
**Phase audit gates available:**
- **DISCOVER AUDIT** -- scope boundaries, success criteria, no hidden assumptions
- **RESEARCH AUDIT** -- findings validated, red flags surfaced, brief updated if needed
- **PLAN AUDIT** -- every requirement has a task, no scope drops, dependencies ordered
- **TASK MICRO-AUDIT** -- per-task: success criteria met, nothing outside scope changed
- **PHASE AUDIT** -- all phase tasks complete, brief still accurate, memory updated
- **SHIP GATE** -- original brief re-read, what was built matches what was asked
Run the gate, fix any failures, then continue. IJFW tracks gate outcomes in `audit-log.md` for the active project.
**Natural triggers:** "audit this phase", "run the gate", "check before we move on", "audit checkpoint", "gate check."
If you name a phase explicitly (e.g. `/ijfw-audit plan`), that gate runs regardless of the current workflow position. Omit the argument and the current phase gate runs.
**GATE:** Each audit gate is a hard stop -- fix failures before the next phase begins. Gate outcomes are recorded in `audit-log.md` for the active project.
**Confidence declaration (required per finding):** Every audit finding is tagged VERIFIED / LIKELY / GUESSING / ISSUE:
- **VERIFIED** -- command run, raw output shown, reproducible.
- **LIKELY** -- code read, docs consulted, reasoning given, not externally verified.
- **GUESSING** -- insufficient information, best guess only.
- **ISSUE** -- blocker or bug; document and halt.
Gate outcomes with any GUESSING or ISSUE finding do not auto-advance. This is the scoped adoption of Damir Zorcic's "Declare Confidence" law at audit boundaries.
IJFW — It Just F*cking Works. Ferrox Labs' local-first infrastructure for AI coding agents: shared memory, smart routing, multi-AI cross-audits, disciplined workflow.
Repo: FerroxLabs/ijfw
Other commands on ijfw.
- /compress
Compress a memory/context file into terse form. Saves ~40-50% tokens per session. Usage: /compress <filepath>
Open command - /consolidate
Dream cycle -- promote patterns, prune stale, reconcile contradictions, optionally promote to global.
Open command - /cross-audit
Second-model review. Picks an auditor (codex/gemini/opencode/aider/copilot), excludes the caller, writes a prompt to paste, reads the response back. Usage: /cross-audit [--with <id> | list | compare] <target>
Open command - /cross-critique
Adversarial multi-angle critique. All three auditors fire in parallel (codex=technical, gemini=strategic, claude=ux). Counter-args ranked by rebuttal survival score, not raw severity. Usage: /cross-critique [--with <id> | list | compare] <target>
Open command - /cross-research
Two-phase multi-model research. Phase A fans codex+gemini in parallel (benchmarks + citations angles); Phase B synthesises via fresh Claude session. Usage: /cross-research [--with <id> | list | compare] <target>
Open command - /doctor
Run IJFW health check (files, MCP server, hooks, memory, caps, framing)
Open command

