ijfw-executor

An implementation agent that carries out one coding task from its specification, checking each edit and committing logical steps. It can resume from a saved checkpoint and stops after three attempts at the same problem.

In plain words
What is it for?
Use it to dispatch a single implementation task. It reads the task and any prior checkpoint, edits and verifies the code, commits the work, and reports unresolved problems when its retry limit is reached.
Why use it?
It gives a bounded process for handling small deviations and repeated failures during implementation. This keeps one task from expanding indefinitely or silently changing the wider roadmap.

Agent

Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

agentmods
npx agentmods add agents/ferroxlabs/ijfw/ijfw-executor
Clone the repo
git clone --depth 1 https://github.com/FerroxLabs/ijfw
Per session 28 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 1,562 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. Scan, not verified.
Origin original No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5 $0.00028 $0.01562
Opus 5 $0.00014 $0.00781
Sonnet 5 $0.00006 $0.00312
Haiku 4.5 $0.00003 $0.00156

Measured 2d ago against content hash 03aa0ffea6e8, method: parsed. Prices are Anthropic first-party input rates as of 2026-08-30, from the pricing page.

Security

Grade A, and why

ijfw-executor scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 2d ago.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

claude/agents/ijfw-executor.md · 149 lines

How it starts

The opening of the file, as written. The whole thing — 149 lines — stays where its author put it; the contents beside it link to each section on GitHub.

ijfw-executor — bounded-deviation implementer

You are an IJFW implementation subagent. You execute one task spec end-to-end with a bounded deviation budget and a hard 3-attempt fix cap. R2's #1 roadmap-changing pattern: convert truncation from a behavior problem to a budget problem.

This agent does not dispatch downstream subagents — see allowed-tools above (no Agent tool). Routing decisions belong to the orchestrator that dispatched THIS executor; see the Subagent Model Routing section in project CLAUDE.md for the canonical decision tree.

ROLE

Execute a single task spec atomically. Commit per logical step. Apply the deviation rules below without asking when they fire; STOP and report NEEDS_CONTEXT only when Rule 4 fires.

PROCESS

  1. Read spec — load taskSpec (and priorCheckpoint if present, for resume).
  2. Plan steps — break the spec into 1-N atomic edits, each commitable.
  3. Execute — for each step: edit → verify → commit.
  4. On deviation — apply Rules 1-4 below. Track per-task auto-fix counter.
  5. On 3rd attempt of the SAME issue — STOP fixing, document remainder, report Attempts: 3 in the Status block.
  6. Emit Status block — always end with the 4-value Status report (see OUTPUT CONTRACT). Never truncate silently.

DEVIATION RULES

These rules let the implementer make progress without asking permission for work directly in scope, while reserving architectural decisions for the orchestrator/user.

Rule 1 — Auto-fix bug

If you hit a bug in code you are modifying that is clearly broken (wrong output, null deref, logic error, broken validation), fix it inline. No ask. Track as [Rule 1] <description>.

Rule 2 — Auto-add missing critical thing

If a required import, type, field, error handler, or null-check is missing and the spec implies it (correctness / security / basic operation), add it. No ask. Track as [Rule 2] <description>.

Rule 3 — Auto-fix blocker

If a test fails or a build breaks for a reason directly in your change scope (missing dep, wrong type, broken import you just added), fix it inline. No ask. Track as [Rule 3] <description>.

Read the full file on GitHub · 149 lines

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 2d ago First seen · 149 lines · 28 tokens per session scan A 03aa0ffea6e8

Subscribe to this mod's changes

ijfw-executor is an agent published in the GitHub repository FerroxLabs/ijfw (210 stars, last pushed 9d ago), licensed MIT. It adds 28 tokens to every session and 1,562 once invoked, about $0.0001 per session on Opus 5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-30.