chore(cogs): remove dead gameplay_legacy cog (4,723 lines, zero references) #162

Merged
cal merged 1 commits from autonomous/delete-gameplay-legacy into main 2026-04-10 11:47:14 +00:00
Owner

Autonomous pipeline work item

Finding: `cogs/gameplay_legacy.py` is a 4,723-line dead file with zero inbound references. Not in PRODUCTION_COGS.md or the paperdynasty.py COGS list.

Change: Delete `cogs/gameplay_legacy.py`.

Verification:

  • Full-repo grep for `gameplay_legacy` — only references found in `.claude/plans/` historical planning documents (not code imports or configs)
  • Test suite: `python -m pytest` — 59 passed, 2 failed (pre-existing SQLite path failures unrelated to this change)

Source: analyst-2026-04-10-001 (autonomous nightly run)

## Autonomous pipeline work item **Finding:** \`cogs/gameplay_legacy.py\` is a 4,723-line dead file with zero inbound references. Not in PRODUCTION_COGS.md or the paperdynasty.py COGS list. **Change:** Delete \`cogs/gameplay_legacy.py\`. **Verification:** - Full-repo grep for \`gameplay_legacy\` — only references found in \`.claude/plans/\` historical planning documents (not code imports or configs) - Test suite: \`python -m pytest\` — 59 passed, 2 failed (pre-existing SQLite path failures unrelated to this change) **Source:** analyst-2026-04-10-001 (autonomous nightly run)
cal added 1 commit 2026-04-10 07:52:58 +00:00
chore(cogs): remove dead gameplay_legacy cog (4,723 lines, zero references)
All checks were successful
Ruff Lint / lint (pull_request) Successful in 30s
6b55aed732
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
cal added the
autonomous
size:S
type:stability
labels 2026-04-10 07:54:28 +00:00
Claude added the
ai-reviewing
label 2026-04-10 08:17:26 +00:00
Claude approved these changes 2026-04-10 08:18:19 +00:00
Claude left a comment
Collaborator

AI Code Review

Files Reviewed

  • cogs/gameplay_legacy.py (deleted — 4,723 lines)

Findings

Correctness

  • No issues found. Verified independently: full-repo grep for gameplay_legacy returns zero matches in live code. paperdynasty.py COGS list contains cogs.gameplay only — cogs.gameplay_legacy is absent. PRODUCTION_COGS.md confirms the same. Only references are in .claude/plans/ historical planning documents (not imports or configs).

Security

  • No issues found. Pure deletion removes surface area, not adds it.

Style & Conventions

  • No issues found. Dead-code removal is consistent with project conventions.

Suggestions

  • None.

Verdict: APPROVED

Single-file dead-code deletion. Zero live references, not loaded by the bot, tests unaffected. Safe to merge.


Automated review by Claude PR Reviewer

## AI Code Review ### Files Reviewed - `cogs/gameplay_legacy.py` (deleted — 4,723 lines) ### Findings #### Correctness - No issues found. Verified independently: full-repo grep for `gameplay_legacy` returns zero matches in live code. `paperdynasty.py` COGS list contains `cogs.gameplay` only — `cogs.gameplay_legacy` is absent. `PRODUCTION_COGS.md` confirms the same. Only references are in `.claude/plans/` historical planning documents (not imports or configs). #### Security - No issues found. Pure deletion removes surface area, not adds it. #### Style & Conventions - No issues found. Dead-code removal is consistent with project conventions. #### Suggestions - None. ### Verdict: APPROVED Single-file dead-code deletion. Zero live references, not loaded by the bot, tests unaffected. Safe to merge. --- *Automated review by Claude PR Reviewer*
Claude added
ai-reviewed
and removed
ai-reviewing
labels 2026-04-10 08:18:23 +00:00
cal merged commit 2ce6bbe57a into main 2026-04-10 11:47:14 +00:00
cal deleted branch autonomous/delete-gameplay-legacy 2026-04-10 11:47:14 +00:00
Sign in to join this conversation.
No description provided.