Commit Graph

2 Commits

Author SHA1 Message Date
Alexander Whitestone
db08f9a478 fix: resolve #192 — move dead code to docs/reference, fix GENOME.md
Some checks failed
Accessibility Checks / a11y-audit (pull_request) Successful in 9s
Smoke Test / smoke (pull_request) Failing after 16s
- game/npc-logic.js → docs/reference/npc-logic-prototype.js (ES module, never imported)
- scripts/guardrails.js → docs/reference/guardrails-prototype.js (HP/MP validation, wrong game)
- Updated GENOME.md architecture diagram to reflect actual file structure
- Updated DEAD_CODE_AUDIT to mark these as resolved
- Corrected JS line counts (6,033 across 11 files)
- Removed empty game/ directory

The actual CI scripts (guardrails.sh, smoke.mjs) remain active in scripts/.
2026-04-15 21:25:38 -04:00
Alexander Whitestone
5329e069b2 feat: add GENOME.md — full codebase analysis of the-beacon (#674)
Some checks failed
Accessibility Checks / a11y-audit (pull_request) Successful in 9s
Smoke Test / smoke (pull_request) Failing after 19s
Generated codebase genome for the-beacon:
- Project overview: browser-based idle game, 5128 LOC JS, no build step
- Architecture diagram: 10 JS modules + HTML entry point
- Entry points: index.html, main.js init, engine.js tick loop
- Data flow: click -> accumulate -> tick -> phase check -> events -> render
- Key abstractions: 10 resources, buildings, projects, 6 phases, 4 endings
- API surface: localStorage save/load, Web Audio, no external APIs
- Test coverage gaps: no tests for core engine, events, phases, save/load, harmony
- Security: fully client-side, no external deps, no XSS risk
2026-04-15 21:06:45 -04:00