#547

diff: --entries diffs inside container literals (what land runs in production)

OpenPalanikannan1437wants to merge intofrom

sem diff --entries reports a key added to a dict / object / map literal as added entry FUNCTIONS["X"] instead of "class modified" (Python, JS/TS, Go).

land's engine depends on this (its additive-test rule and blame), and production has been running a custom build of this commit on top of 0.28.1 that was never pushed. This is that commit cherry-picked onto main (0.30.1); only CHANGELOG conflicted.

  • New pin test crates/sem-cli/tests/entries_stdin_json.rs: land's exact invocation (sem diff --stdin --entries --json) on a class-level dict, a module-level dict and a TS object literal.
  • Whole workspace: 1505 passed, 0 failed, 1 ignored.
  • Parity against production's binary on 205 requests (dict/object/map literal edits, 40 land commits, 25 TypeScript commits; multi-file and per-file): 205/205 identical JSON. Expected differences only from 0.29/0.30 entity changes (Ruby DATA constant, C++ template member ids, Kotlin Companion ids).

land pins this commit (2c2113c) until a release contains it; please don't rewrite it.

🤖 Generated with Claude Code

https://claude.ai/code/session_01QqtJbUT2fRNJkoGcN2Uvmh

Activity

3
vercel[bot]17d ago

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

ProjectDeploymentActionsUpdated
sem-docs ReadyPreviewNov 11, 2026 1:23pm UTC

inspect-review[bot]reviewed17d ago
inspect-review[bot]17d ago

inspect review

Triage: 73 entities analyzed | 0 critical, 0 high, 22 medium, 51 low Verdict: standard_review

Findings (0)


Reviewed by inspect | Entity-level triage found 0 high-risk changes