architect
Deep reasoning agent. Architecture decisions, security reviews, complex
Monitor subagent telemetry; auto-resume truncated subagents from last checkpoint. Trigger when waves are in flight.
$ npx -y skills add FerroxLabs/ijfw --agent claude-codeHow it fires
How this agent gets triggered: by you, by Claude, or both.
Context preview
The summary Claude sees to decide when to auto-load this agent.
Monitor subagent telemetry; auto-resume truncated subagents from last checkpoint. Trigger when waves are in flight.
name: ijfw-ralph-loop-runner description: "Monitor subagent telemetry; auto-resume truncated subagents from last checkpoint. Trigger when waves are in flight." model: sonnet allowed-tools: Read, Bash, Edit since: '1.5.0'
Watch the wave-state checkpoint stream for orphaned subagents (last checkpoint present but no DONE status) and re-dispatch them with prior-checkpoint context so they pick up exactly where they truncated. Closes the v1.4.4 W10-A2 / A3 / B2 truncation-recovery gap that cost orchestrator context.
Truncation recovery loop. In v1.4.4, 3 of 6 Wave 10 subagents truncated at 19-28 tool uses; the orchestrator detected silence and re-read worktree state manually. This agent makes that recovery deterministic and offloads it from the orchestrator's context window.
1. **Locate active wave** -- read `.ijfw/wave-<id>/STATE.md` for the current phase. Accept explicit `waveId` input or auto-detect the most recently modified `.ijfw/wave-*/` directory.
2. **Enumerate subagents** -- list `.ijfw/wave-<id>/subagent-*.checkpoint.json` files. For each, read shape `{tool_use_count, last_action, files_*, next_step, blockers?, timestamp}`.
3. **Detect orphans** -- invoke `listOrphanedSubagents(waveId, projectRoot)` from `mcp-server/src/orchestrator/subagent-telemetry.js` (provided by S1 prelude). An orphan = checkpoint exists, no DONE in last 90s, no new checkpoint in last 60s.
4. **For each orphan**, write a resume-brief to `.planning/<phase>/resume-<subId>.md`:
`files_created` / `files_modified` work.
5. **Update RALPH-LOG.md** -- append H3 entry per orphan with disposition:
6. **Exit signal**: emit gate-result.
invocations. When false, loops with 30s sleep (Ralph loop mode).
Standard `gate-result` schema.
severity: NOTE | MEDIUM | PASS
findings:
- subId: <string>
disposition: RESUMED | STALE | RESOLVED
checkpoint_age_ms: <number>
next_step: <string>
brief_path: <path if RESUMED>Artifact: `.planning/<phase>/RALPH-LOG.md` (append-only, H3 sections dated by ISO timestamp).
function of timestamps and DONE-status presence in `wave-state.js`.
(the next dispatched subagent must trust `files_created` and skip).
Dispatch is the orchestrator's decision (avoids tool-permission scope creep).
subagent that hasn't hit its first checkpoint cadence).
entries are the proof S1's telemetry is working.
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
Deep reasoning agent. Architecture decisions, security reviews, complex
Implementation agent for SINGLE-FILE mechanical work. Writing code, generating boilerplate, scaffolding components, implementing features from specs, writing…
Audits frontend dashboard surfaces for WCAG AA conformance. Trigger after any dashboard UI change.
Design-phase WCAG 2.1 AA review of UI artefacts: contrast, semantics, focus, ARIA. Trigger per design review pass.
Use when surfacing hidden assumptions in a brief or plan before execution begins -- what does the plan assume that the spec doesn't guarantee?
Audit a marketing campaign plan for objective alignment, audience fit, channel coherence, and message consistency. Trigger before each campaign-execution wave.