Skip to content

fix: project audit — crash fixes, dead code removal, docs rewrite, UX polish#14

Merged
kickinrad merged 3 commits intomainfrom
fix/project-audit-cleanup
Mar 26, 2026
Merged

fix: project audit — crash fixes, dead code removal, docs rewrite, UX polish#14
kickinrad merged 3 commits intomainfrom
fix/project-audit-cleanup

Conversation

@kickinrad
Copy link
Copy Markdown
Owner

Summary

Full project audit using 11 specialized agents (Explore, code-reviewer, code-explorer, innerloop:code-navigator, innerloop:test-runner). Found 42 issues across 5 priority levels, fixed all actionable items.

  • P0 — Crashes: Fix gate.ts ESM name collision (module crash on load), add res.ok check to transport.ts (silent message drops)
  • P1 — Dead code: Delete orphaned bridgey-tailscale/ dir, remove sendA2AMessageStream dead export, clean stale deps/scripts, type NonRetryableError properly
  • P2 — Type safety & security: Fix AgentInfo.source type mismatch, mask bearer token in status output, type 4 Promise<any> methods, remove as any casts from bot.ts
  • P3 — Documentation: Rewrite all 3 CLAUDE.md files and 4 SKILL.md files — 12 inaccurate claims corrected (wrong paths, missing tools/skills, phantom features)
  • P4 — UX polish: Add README.md, MIT LICENSE, align version numbers, rename stale e2e test

Stats

  • 23 files changed, 268 insertions, 431 deletions (net negative!)
  • 212 tests passing
  • Plugin versions: bridgey 0.4.0→0.4.1, bridgey-discord 0.1.0→0.1.1

Test plan

  • All 212 tests pass (npm test)
  • No new files created unnecessarily
  • No secrets in staged files
  • Version bumps in plugin.json and marketplace.json aligned

🤖 Generated with Claude Code

kickinrad and others added 3 commits March 25, 2026 18:19
… polish

P0: Fix gate.ts ESM crash, transport.ts silent message drops
P1: Remove orphaned bridgey-tailscale, dead exports, stale deps/scripts
P2: Fix AgentInfo type mismatch, mask token in status, type safety
P3: Rewrite all CLAUDE.md/SKILL.md to match code reality (12 fixes)
P4: Add README.md, LICENSE, align versions, rename stale e2e test

Co-Authored-By: Claude <noreply@anthropic.com>
…lace install

- Bundle bot.ts → dist/bot.js (10KB, discord.js/zod external)
- SessionStart hook auto-installs deps on first run
- Switch runtime from bun to node (no extra dependency)
- Update root build/install:all to include discord plugin
- Bump fastify 5.8.2→5.8.4 (CVE fix: request.protocol spoofing)

Co-Authored-By: Claude <noreply@anthropic.com>
- Configure skill: document npm start, auto-install, fallback steps
- Fix token setup to use pass (not .env auto-load which doesn't exist)
- Add troubleshooting for missing deps/dist

Co-Authored-By: Claude <noreply@anthropic.com>
@kickinrad kickinrad merged commit 4195a69 into main Mar 26, 2026
3 checks passed
@kickinrad kickinrad deleted the fix/project-audit-cleanup branch March 26, 2026 01:04
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