Define durable value handles and value-selector resolution #10
Labels
No labels
area/cli
area/core
area/database
area/indexing
area/query
type/epic
type/feature
type/foundation
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set
Reference
JayKobe6k/ClariTree#10
Loading…
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Problem
A C declaration name is not enough to identify a value. Static symbols can repeat across translation units, local names can be shadowed, and one declaration can receive multiple semantic value definitions through assignments and control-flow merges. Existing IR IDs are explicitly index-local and cannot be exposed as durable CLI identifiers.
Goal
Define an unambiguous, revision-aware
ValueHandleand a user-facing value selector that can seed lineage queries and be returned by search.Identity inputs
Evaluate and document the required combination of:
The canonical machine handle must round-trip losslessly. A readable selector may omit components only when resolution is unique. Ambiguous selectors must return typed candidates rather than silently selecting one value.
Acceptance criteria
query lineage, and revision-aware.Dependencies
Depends on #2 and #4; source facts from #7 inform the final handle shape.
query search value#14