← ClaudeAtlas

chaos-agentlisted

Seed non-breaking but detectable bugs (lint violations, dead links) to verify autonomous audit/lint loops catch and file issues. Scheduled to run weekly to test measurement machinery. Invoke with /chaos-agent or schedule via RemoteTrigger.
mattbutlerengineering/mattbutlerengineering · ★ 0 · AI & Automation · score 69
Install: claude install-skill mattbutlerengineering/mattbutlerengineering
# Chaos Agent Verifies the continuous improvement loop by seeding synthetic bugs and confirming that autonomous site-audit and lint processes catch them and file issues. **Goal:** Bridge the gap between 'Measured' (L3) and 'Adaptive' (L4) by proving our feedback loops actually work. ## Workflow ### Phase 1: Seed a Bug Pick a non-breaking but auditable bug type: 1. **Lint violation** (fastest) - Add an unused variable or import in a non-critical file - File: `apps/marketing/src/utils/test-lint.ts` (new file) - Violation: ESLint will catch `no-unused-vars` 2. **Dead link** (auditable by Lighthouse) - Add a 404 link to a non-critical page - File: `apps/marketing/src/pages/chaos-test.mdx` (new file) - Content: Plain HTML with a dead link to trigger Playwright link check 3. **A11y issue** (auditable by Lighthouse) - Add an image without alt text - File: `apps/rialto-web/src/pages/chaos-test.tsx` (new file) - Content: Render an img tag without alt attribute **For this session, choose LINT VIOLATION (fastest, most deterministic).** ### Phase 2: Create a PR 1. Create a new branch: ```bash git checkout -b chaos/synthetic-bug-test-$(date +%Y%m%d%H%M%S) ``` 2. Seed the bug: ```bash mkdir -p apps/marketing/src/utils cat > apps/marketing/src/utils/test-lint.ts <<'EOF' // Synthetic bug for audit loop testing const unusedVariable = "this variable is never used"; export function testFunction(): void { console.log("Function that should trigger audit