Skip to content

fix(features): keep signals and pages separate, better entry points - #123

Merged
itsflaid merged 1 commit into
mainfrom
feature-detection-signals
Oct 25, 2026
Merged

itsflaid merged 1 commit into
mainfrom
feature-detection-signals

Conversation

@itsflaid

Copy link
Copy Markdown
Owner

What

Follow-up from running 0.8.1 on a real app (itsflaid/chatme, Next.js + Prisma + tRPC + Upstash). Three features went missing or wrong there:

  • Rate Limiting was merged into Caching (shared rateLimit.ts), and Background Jobs + Encryption swallowed the Reminder feature (shared reminders/trigger/route.ts)
  • Message was merged into the Room page through a shared chat component, which also blocked Room's own entity from merging with its page
  • Room had scripts/generate-room-icons.mjs as its entry point (entry points were picked alphabetically)

Fix

  • vocabulary signals merge with something else only when it has the same name
  • a page merges with an entity or capability by route resource, entity name or name, not by a shared component
  • entry points: shallowest page first, scripts/, tools/, bin/ last
  • scoped package terms (@sentry/nextjs, @trigger.dev) match imports of that package; node:crypto alone and a lone redis import no longer mean Encryption / Caching

chatme now lists Authentication, Background Jobs, Encryption, Rate Limiting, Reminder Management, Message Management, Room, Profile, Login, Offline, Privacy and Home.

Verification

  • pnpm test: 417 pass (4 new)
  • feature output of 29 repos diffed before and after

Generated by Claude Code

Found by running 0.8.1 on a real Next.js chat app: Rate Limiting was merged
into Caching, Background Jobs and Encryption swallowed the Reminder feature,
Message was merged into the Room page, and a scripts/ file was the entry
point of Room.

- signals only merge with something of the same name
- pages merge with entities/capabilities by route resource, entity or name,
  not by a shared component
- entry points: shallowest page first, tooling folders last
- scoped package terms match the package; node:crypto and a lone redis
  import no longer count
- tests

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_019HJc4sv9pSLh7vhduSUxBE
@vercel

vercel Bot commented Oct 25, 2026 •

Copy link
Copy Markdown

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated
devmap-web Ready Ready Preview Oct 25, 2026 12:22am UTC

@github-actions

Copy link
Copy Markdown

✅ Welcome ke DevMap!

Terima kasih sudah buat PR. Pastikan checklist ini terpenuhi sebelum review:

  • devmap doctor lolos (tanpa error)
  • Test pnpm test:cli lolos (semua pass)
  • New commands diupdate di docs/commands.md
  • Tidak ada console.log di command files
  • Registry terms sesuai standar (baca docs/guide/05-signal-registry.md)
  • Code style match dengan CONTRIBUTING.md

CI akan jalan otomatis pada setiap update. Kalau gagal, akan muncul link run di komentar ini.

Kalau DevMap membantu, tolong star ya: https://github.com/itsflaid/devmap

Terima kasih kontribusinya! 🙏

@itsflaid
itsflaid merged commit d6ae8a3 into main Oct 25, 2026
3 checks passed
@itsflaid
itsflaid deleted the feature-detection-signals branch October 25, 2026 00:37

This branch was successfully deployed

1 active deployment
Preview — c5c9161d Deployed Oct 25, 2026 by vercel[bot]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants