Repository navigation
feat(engine): summarize structurally identical entities in the published entity map #407 - #1969
Merged
Merged
Conversation
nc9
force-pushed
the
boat/entity-map-summarize-407
branch
2 times, most recently
from
November 16, 2026 09:40
603ac1f to
4ac8872
Compare
nc9
marked this pull request as ready for review
November 16, 2026 10:01
nc9
force-pushed
the
boat/entity-map-summarize-407
branch
3 times, most recently
from
November 17, 2026 05:51
cfe802c to
9c49401
Compare
…hed entity map #407 Signed-off-by: Nik Cubrilovic <[email protected]>
…leased v0.0.183 stays as tagged) Signed-off-by: Nik Cubrilovic <[email protected]>
nc9
force-pushed
the
boat/entity-map-summarize-407
branch
from
November 17, 2026 05:58
9c49401 to
b5875e0
Compare
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Closes #407
Publish projection groups nodes by structural signature (type set, outgoing predicate set, page-local flag). Groups of 8 or more keep 3 real exemplar nodes and emit a record in a new optional
EntityMap.groupsarray carrying the true count. Groups are never innodes, so no consumer can render one as a single entity. Sampling stays as the fallback. Design note: packages/core-contracts/ENTITY-MAP-SUMMARIZATION.md.Acceptance criteria
Gates
typecheck core-contracts, report, audit-engine, cli clean. bun test: entity-map-summarize 8, entity-map-slim 62, entity-map-markdown 10, publish-cap 64, plus builder, diff, golden, streaming, html all pass. Existing slim sampling tests now run with summarize off to keep pinning the fallback.
Agent skill: no change needed. Docs: no user-facing CLI change; CHANGELOG entry added.