bdbresilience
Installation
SKILL.md
🛡️ BDB Resilience & Concurrency Engine (/bdbresilience)
The /bdbresilience master skill suite provides deterministic runtime fault tolerance, concurrency coordination, diagnostic log triage, and pre-tool deployment gating for autonomous multi-agent pipelines operating across the BDB Agent OS ecosystem.
1. Core Tenets
- Fail Deterministically, Recover Gracefully: Never swallow errors silently or crash abruptly. Intercept all tool, network, and runtime faults through a 4-tier taxonomy (
transient,tool_level_fault,auth_credential,unrecoverable). Execute structured recovery before attempting escalation. - Zero-Race Concurrency: Shared mutable state—including
production_artifacts/state.json, git branches, and worktrees—must never suffer lost updates or dirty reads. Enforce mutual exclusion through atomic POSIX/APFS file locking (O_CREAT | O_EXCL) or fragment isolation (state.d/<nodeId>.json). - No Hallucinated Triage: Parse raw CI/CD logs directly (Vitest, Jest, tsc, ESLint, GitHub Actions). Extract verified file coordinates, line numbers, failure diffs, and exact root causes into structured JSON reports. Never synthesize speculative fixes without log verification.
- Strict Two-Phase Gate Precedence: High-consequence actions (
git push,npm publish,npm version, recursiverm) require an uncompromised human verification gate. Enforce the BDB Pre-Tool Gate protocol: lock execution in strict read-only mode until a literal, isolated human token"GO"is validated.