Skip to content

Harden R language extraction parity#19

Merged
forhappy merged 2 commits into
mainfrom
agent/harden-language-parity
Jul 24, 2026
Merged

Harden R language extraction parity#19
forhappy merged 2 commits into
mainfrom
agent/harden-language-parity

Conversation

@forhappy

@forhappy forhappy commented Jul 24, 2026

Copy link
Copy Markdown
Contributor

What

  • add a deterministic R extractor with Graphify-compatible entities and relationships
  • register .r and extensionless Rscript sources
  • add bidirectional dispatch-surface coverage and exact R extraction parity tests
  • cover invalid UTF-8 input and Rscript shebang dispatch

Why

Compass lacked R extraction even though Graphify classified R as code, leaving the two implementations out of sync.

Impact

Compass can extract R without an R runtime or parser dependency, and the parity suite now guards against future one-sided language registration.

Companion PR: Graphify-Labs/graphify#2146

Checks

  • all Compass language implementation and registry tests passed
  • cargo check -p compass-parity passed
  • Compass parity suite: 98/98 passed in the integrated checkout
  • cargo fmt --check and git diff --check passed

@forhappy
forhappy marked this pull request as ready for review July 24, 2026 02:25
@forhappy
forhappy merged commit 3837b41 into main Jul 24, 2026
4 of 9 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