Skip to content

feat(entity): add compact ID-mapped target graph types#210

Draft
yushan8 wants to merge 1 commit into
mainfrom
yushan/entity-target-graph
Draft

feat(entity): add compact ID-mapped target graph types#210
yushan8 wants to merge 1 commit into
mainfrom
yushan/entity-target-graph

Conversation

@yushan8

@yushan8 yushan8 commented Jul 16, 2026

Copy link
Copy Markdown
Contributor

Summary

  • Add entity.IDTarget, entity.GraphMetadata, and entity.GraphChunk as compact, proto-free representations for streaming and storage.
  • IDTarget mirrors the proto OptimizedTarget shape with int32 IDs referencing GraphMetadata maps, keeping the wire format small without coupling to proto-generated code.
  • Type definitions only — no logic, no proto imports.

Test plan

  • make build && make test && make gazelle

Stack

  1. @ #NEW
  2. streaming + mappers (next)
  3. callsite migration (next)

Add entity.IDTarget, entity.GraphMetadata, and entity.GraphChunk as
compact, proto-free representations for streaming and storage.

IDTarget mirrors the proto OptimizedTarget shape with int32 IDs
referencing GraphMetadata maps, keeping the wire format small without
coupling to proto-generated code.

Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
@yushan8
yushan8 force-pushed the yushan/entity-target-graph branch from fba8c52 to 34e6a59 Compare July 17, 2026 22:57
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