Skip to content

Cleanup: organize docs + fix stale claims + scrub IGV debug/dead code - #89

Merged
mvalancy merged 2 commits into
developfrom
chore/doc-and-code-cleanup
Jun 17, 2026
Merged

Cleanup: organize docs + fix stale claims + scrub IGV debug/dead code#89
mvalancy merged 2 commits into
developfrom
chore/doc-and-code-cleanup

Conversation

@mvalancy

Copy link
Copy Markdown
Member

Pre-existing issues + sprawl cleanup (no behavior change). -718 net lines.

Docs — structure & accuracy

  • Root is now just README.md + CLAUDE.md. Moved the stray operational docs into docs/ subdirs (deployment/, guides/, testing/, security/).
  • Consolidated the 3 overlapping Multipass VM docs → one docs/guides/vm-setup.md; grouped the OAuth docs under docs/security/; deleted an obsolete one-time cleanup artifact.
  • All inbound links (incl. scripts/setup-oauth.sh, cross-doc links) + the docs index updated — no broken links (grep-verified).
  • Stale infra claims fixed: removed the nonexistent iOS app from the architecture diagram, dropped Redis from the README installer list, and added an accurate "current stack vs aspirational" note to detailed-overview.md (PostgreSQL/Prisma/React Native/Redis were presented as current).

Code — scrub InteractiveGraphVisualization.tsx

  • Removed ~16 leftover [Graph Debug]/emoji console.log debug statements from app code (kept the genuine console.error handlers).
  • Deleted two commented-out dead blocks + a now-empty debug if.
  • Deduped the 4 identical hexToRgb() definitions into one module-level helper.

Notable non-fix (verified false positive)

A prior review flagged currentTransform?.k as "always undefined" — it's correct: inside initializeVisualization a local d3.zoomTransform(...) shadows the React state, so .k reads the real ZoomTransform. Changing it would have created a bug. Left untouched.

Deferred (one item)

The duplicated SVG glow-filter construction blocks (3–4 sites) — confirmed real duplication, but it's the one change automated tests can't fully verify (subtle glow animation/visual diffs). Better as a focused PR with screenshot QA than bundled into a broad cleanup.

Verified: typecheck + lint (0 errors) + build clean; smoke 5/5; node-inspector + node-expand-legibility diagnostics 3/3.

🤖 Generated with Claude Code

mvalancy and others added 2 commits June 16, 2026 22:28
Structure: repo root now holds only README.md + CLAUDE.md. Moved stray
operational docs into docs/ subdirs (deployment/, guides/, testing/, security/),
consolidated the 3 overlapping Multipass VM docs into one docs/guides/vm-setup.md,
grouped the OAuth docs under docs/security/, and deleted an obsolete one-time
cleanup artifact. All inbound links + the docs index updated; no broken links.

Accuracy: removed/relabeled stale infrastructure claims presented as current —
the nonexistent iOS app (architecture-overview), Redis in the README installer
list, and a "this is aspirational" note on detailed-overview's PostgreSQL/Prisma/
React Native/Redis sections.

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
- Remove ~16 leftover [Graph Debug]/[CRITICAL DEBUG]/emoji console.log debug
  statements from app code (kept the genuine console.error error handlers).
- Delete two commented-out dead blocks (a disabled refreshTextVisibility effect
  and a disabled visibilitychange handler) + a now-empty debug if.
- Dedupe the 4 identical local hexToRgb() definitions into one module-level helper.

Verified: typecheck + lint (0 errors) + build clean, smoke 5/5, node-inspector +
node-expand-legibility diagnostics 3/3. No behavior change (the currentTransform
.k reads were verified CORRECT — a local d3.zoomTransform shadows the state inside
initializeVisualization — so they were left untouched).

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
@github-actions

Copy link
Copy Markdown

🧪 Comprehensive Test Suite

  • Unit suites (Node 18.x & 20.x) — core, web, server, mcp-server: ✅ passed
  • Installer & deploy config: ✅ passed

Full-stack smoke gate runs in the CI workflow.

@mvalancy
mvalancy merged commit fdc2fcc into develop Jun 17, 2026
16 checks passed
@mvalancy
mvalancy deleted the chore/doc-and-code-cleanup branch June 17, 2026 05:43
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant