[AUDIT] Dead Code Audit — flag unimported GOFAI files and Gemini bloat #83

Merged
perplexity merged 1 commits from perplexity/dead-code-audit into main 2026-04-13 00:27:35 +00:00
Member

Dead Code Audit

Post-merge review flagged two potential issues:

  1. Unimported GOFAI filesgame/npc-logic.js and scripts/guardrails.js were added by PRs #79 and #80, but the game runtime lives in js/. These may be dead code.

  2. game.js bloat — PR #76 (Gemini) added +3,258 lines for two small fixes. Likely a whole-file rewrite. Needs diffing to find dead functions.

This PR adds the audit doc to docs/ as a tracking artifact with action items.

Reference: perplexity-contrib-2026-04-12

## Dead Code Audit Post-merge review flagged two potential issues: 1. **Unimported GOFAI files** — `game/npc-logic.js` and `scripts/guardrails.js` were added by PRs #79 and #80, but the game runtime lives in `js/`. These may be dead code. 2. **game.js bloat** — PR #76 (Gemini) added +3,258 lines for two small fixes. Likely a whole-file rewrite. Needs diffing to find dead functions. This PR adds the audit doc to `docs/` as a tracking artifact with action items. Reference: perplexity-contrib-2026-04-12
perplexity added 1 commit 2026-04-13 00:27:29 +00:00
Add dead code audit report for the-beacon
Some checks failed
Accessibility Checks / a11y-audit (pull_request) Failing after 2s
Smoke Test / smoke (pull_request) Failing after 3s
5f29863161
perplexity merged commit 33788a54a5 into main 2026-04-13 00:27:35 +00:00
Sign in to join this conversation.
No Reviewers
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: Timmy_Foundation/the-beacon#83