Skip to content

Humanize identities in semantic diff findings#53

Merged
forhappy merged 1 commit into
mainfrom
codex/human-readable-finding-identities
Jul 26, 2026
Merged

Humanize identities in semantic diff findings#53
forhappy merged 1 commit into
mainfrom
codex/human-readable-finding-identities

Conversation

@forhappy

Copy link
Copy Markdown
Contributor

Summary

  • resolve stable entity IDs to function and graph-node names for reviewer-facing semantic diff output
  • show human-readable names in headlines, explanations, affected consumers, witness paths, evidence, and before/after values
  • preserve raw stable IDs in machine JSON and add an entity_display_names lookup for tooling
  • precompute presentation replacements once per report for large finding sets

Verification

  • cargo test -p compass-semantic-diff
  • cargo test -p compass-cli semantic_diff_render --lib
  • cargo test -p compass-cli --test history_cli diff_emits_semantic_text_json_html_and_rejects_removed_flags -- --exact
  • cargo clippy -p compass-cli -p compass-semantic-diff --all-targets --no-deps -- -D warnings
  • generated and browser-rendered a real CocoIndex semantic diff for 90571539fa291fc6e6b248095bd2c8a2ff68bab4..71f9cc9dc693080310181a2d011fb737420f7907; verified the reported hashes render as AsyncFunction.__call__, AsyncFunction._core_processor_with_deadline, and AsyncFunction._execute while raw IDs remain only in embedded machine data
  • graphify update .

@forhappy
forhappy merged commit b1e0c3f into main Jul 26, 2026
4 of 10 checks passed
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