Skip to content

fix(analyzer): ground entities, capabilities and language in what the… - #148

Merged
itsflaid merged 1 commit into
mainfrom
fix/analyzer-grounding-orm-singular
Nov 9, 2026
Merged

itsflaid merged 1 commit into
mainfrom
fix/analyzer-grounding-orm-singular

Conversation

@itsflaid

@itsflaid itsflaid commented Nov 9, 2026

Copy link
Copy Markdown
Owner

… repo shows

Found by running the CLI and MCP server against five real projects (chatme, devnote, katalyst, kasbon.in, dailyfit):

  • Add DrizzleExtractor. A Drizzle project used to fall through to route-hint entities, which invented Reset, Chat and Conversation from URL segments and produced no relations. Entities and foreign-key relations now come from the schema (katalyst: 15 real tables, 42 relations instead of 7 guesses, 0).
  • singularize: "-ses" plurals of words ending in s (status, bus, alias) lose "-es", not just "s". capabilityDetector now shares the one implementation, so "exercises" no longer produces "Exercis Management".
  • Read-only stats/report endpoints are the Statistics & Reporting capability, not "Stat Management" / "Report Management" CRUD features.
  • Action segments (reset, toggle, sync, export, ...) are not resources.
  • Drop "checkout" from the Payments signal: a POS/cart checkout is not a payment provider.
  • Report php/python/ruby/go/java/csharp/rust as the project language when it outnumbers JS/TS files (a Laravel app was reported as javascript).
  • sqlExtractor imports isArchitectureSource from graph/sourceScope instead of the graph barrel, removing a load-order cycle that made entity-extractors.test.ts fail when run on its own.

Tests: 559 pass (18 new).

Claude-Session: https://claude.ai/code/session_01AgTNRWLZ6S3yoQMcqrxYp2


name: Pull Request Template
about: Template untuk kontribusi ke DevMap
title: ""
labels: ["needs-review"]

Summary perbaikan

Issue terkait

Checklist sebelum submit

  • 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

Catatan tambahan

… repo shows

Found by running the CLI and MCP server against five real projects
(chatme, devnote, katalyst, kasbon.in, dailyfit):

- Add DrizzleExtractor. A Drizzle project used to fall through to route-hint
  entities, which invented Reset, Chat and Conversation from URL segments and
  produced no relations. Entities and foreign-key relations now come from the
  schema (katalyst: 15 real tables, 42 relations instead of 7 guesses, 0).
- singularize: "-ses" plurals of words ending in s (status, bus, alias) lose
  "-es", not just "s". capabilityDetector now shares the one implementation, so
  "exercises" no longer produces "Exercis Management".
- Read-only stats/report endpoints are the Statistics & Reporting capability,
  not "Stat Management" / "Report Management" CRUD features.
- Action segments (reset, toggle, sync, export, ...) are not resources.
- Drop "checkout" from the Payments signal: a POS/cart checkout is not a
  payment provider.
- Report php/python/ruby/go/java/csharp/rust as the project language when it
  outnumbers JS/TS files (a Laravel app was reported as javascript).
- sqlExtractor imports isArchitectureSource from graph/sourceScope instead of
  the graph barrel, removing a load-order cycle that made
  entity-extractors.test.ts fail when run on its own.

Tests: 559 pass (18 new).

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

vercel Bot commented Nov 9, 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 Nov 9, 2026 6:08am UTC

@github-actions

github-actions Bot commented Nov 9, 2026

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 3b86366 into main Nov 9, 2026
3 checks passed
@itsflaid
itsflaid deleted the fix/analyzer-grounding-orm-singular branch November 9, 2026 06:09
@itsflaid itsflaid mentioned this pull request Nov 9, 2026
6 tasks

This branch was successfully deployed

1 active deployment
Preview — 47567912 Deployed Nov 9, 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