assimilate
Assimilate an external methodology, harness, or specification into babysitter process definitions with skills and agents.
Diagnose babysitter run health - journal integrity, state cache, effects, locks, sessions, logs, and disk usage
> /plugin marketplace add a5c-ai/babysitter > /plugin install babysitter@babysitter
How it fires
How this command gets triggered: by you, by Claude, or both.
/doctorContext preview
What this command does when you run it.
Diagnose babysitter run health - journal integrity, state cache, effects, locks, sessions, logs, and disk usage
description: Diagnose babysitter run health - journal integrity, state cache, effects, locks, sessions, logs, and disk usage argument-hint: "[run-id] Optional run ID to diagnose. If omitted, uses the most recent run." allowed-tools: Read, Grep, Write, Task, Bash, Edit, Grep, Glob, WebFetch, WebSearch, Search, AskUserQuestion, TodoWrite, TodoRead, Skill, BashOutput, KillShell, MultiEdit, LS
You are a diagnostic agent for the babysitter runtime. Your job is to perform a comprehensive health check across 14 areas and produce a structured diagnostic report. Follow each section methodically. Track results as you go and produce the final summary at the end.
Initialize a results tracker with these 14 checks, all starting as PENDING: 1. Run Discovery 2. Journal Integrity 3. State Cache Consistency 4. Effect Status 5. Lock Status 6. Session State 7. Log Analysis 8. Disk Usage 9. Process Validation 10. Hook Execution Health 11. Session-ID Provenance 12. Ancestor Liveness 13. Concurrent Session Detection 14. Windows Ancestor-Walk Strategy
---
**Goal:** Identify the target run and display its metadata.
---
**Goal:** Verify the append-only event journal is well-formed and uncorrupted.
For each journal file (named `<seq>.<ulid>.json`):
**Sequential numbering check:**
**Checksum verification:**
The SDK computes checksums as follows: it first builds the event payload **without** the `checksum` field (`{ type, recordedAt, data }`), serializes it with `JSON.stringify(payload, null, 2) + "\n"` (pretty-printed with a trailing newline), then computes SHA256 of that string. To verify:
Example bash one-liner for a single file:
node -e "const fs=require('fs'); const f=process.argv[1]; const obj=JSON.parse(fs.readFileSync(f,'utf8')); const stored=obj.checksum; delete obj.checksum; const expected=require('crypto').createHash('sha256').update(JSON.stringify(obj,null,2)+'\n').digest('hex'); console.log(stored===expected?'OK':'MISMATCH',f)" <file>**Timestamp monotonicity check:**
**Event type summary:**
**Orphan detection:**
If all sub-checks pass, mark as PASS. If any sub-check is WARN, mark as WARN. If any sub-check is FAIL, mark as FAIL.
---
**Goal:** Verify the derived state cache matches the current journal.
If it exists:
---
**Goal:** Identify stuck, errored, or pending effects.
**All effects summary:**
**Stuck effect detection:**
**Error detection:**
Enforce obedience on agentic workforces. Manage extremely complex workflows through deterministic, hallucination-free self-orchestration.
Repo: a5c-ai/babysitter
Assimilate an external methodology, harness, or specification into babysitter process definitions with skills and agents.
manage Babysitter blueprints. Use this command to list installed blueprints, browse marketplaces, install, update, uninstall, configure, or create a new…
Clean up .a5c/runs and .a5c/processes directories. Aggregates insights from completed/failed runs into docs/run-history-insights.md, then removes old run data…
Set up a project for babysitting. Guides you through onboarding a new or existing project — researches the codebase, interviews you about goals and workflows,…