From f18fb7cfa92736cd84d1657400ab2911ac6918ff Mon Sep 17 00:00:00 2001 From: A <258483684+la14-1@users.noreply.github.com> Date: Fri, 13 Mar 2026 02:21:05 -0700 Subject: [PATCH] refactor: remove dead code and stale references (#2575) - Remove stale top-level `discovery.sh` reference from CLAUDE.md file structure (the file was never in the repo; actual script lives at `.claude/skills/setup-agent-team/discovery.sh`) - Fix `autonomous-loops.md` rule that referenced `./discovery.sh --loop` with the correct path to the actual discovery script No functional code changes. All 1400 tests pass, biome lint clean. Co-authored-by: spawn-qa-bot Co-authored-by: Claude Sonnet 4.6 Co-authored-by: L <6723574+louisgv@users.noreply.github.com> --- .claude/rules/autonomous-loops.md | 2 +- CLAUDE.md | 1 - 2 files changed, 1 insertion(+), 2 deletions(-) diff --git a/.claude/rules/autonomous-loops.md b/.claude/rules/autonomous-loops.md index 6f8048d4..ba9f249d 100644 --- a/.claude/rules/autonomous-loops.md +++ b/.claude/rules/autonomous-loops.md @@ -1,6 +1,6 @@ # Autonomous Loops -When running autonomous discovery/refactoring loops (`./discovery.sh --loop`): +When running autonomous discovery/refactoring loops (`.claude/skills/setup-agent-team/discovery.sh --loop`): - **Run `bash -n` on every changed .sh file** before committing — syntax errors break everything - **NEVER revert a prior fix** — don't undo previously applied compatibility fixes diff --git a/CLAUDE.md b/CLAUDE.md index 9aaf77e7..5264810e 100644 --- a/CLAUDE.md +++ b/CLAUDE.md @@ -46,7 +46,6 @@ spawn/ discovery.yml # Scheduled + issue-triggered discovery workflow refactor.yml # Scheduled + issue-triggered refactor workflow manifest.json # The matrix (source of truth) - discovery.sh # Run this to trigger one discovery cycle fixtures/ # API response fixtures for testing README.md # User-facing docs CLAUDE.md # This file — project overview