Skip to content

feat(language): establish hgraph IR boundary - #690

Merged
hhenson merged 3 commits into
codex/hgl-driver-formatfrom
codex/hgl-hgraph-ir-foundation
Sep 6, 2026
Merged

feat(language): establish hgraph IR boundary#690
hhenson merged 3 commits into
codex/hgl-driver-formatfrom
codex/hgl-hgraph-ir-foundation

Conversation

@hhenson

@hhenson hhenson commented Sep 5, 2026

Copy link
Copy Markdown
Owner

Summary

  • add a dedicated hgl_graph_ir layer between typed HIR and the execution backends
  • lower independently owned canonical types, compile-time type expressions, operator contracts, callable interfaces, effects, and typed capabilities
  • preserve canonical operator identity separately from native registry spelling
  • expose deterministic hgl check --dump-hgraph-ir output
  • restage descriptor-dependent typed-HIR work under the native-interface stage and deferred-call completion under hgraph IR

This checkpoint is deliberately marked Interfaces, not Executable; backend migration follows body, state, lifecycle, activation, traversal, output, and provider-plan lowering.

Validation

  • 29/29 HGL CTest tests
  • 141 hgraph-IR assertions across 6 cases
  • full native and Python 3.14 stack gates are running on this tip

@chatgpt-codex-connector

chatgpt-codex-connector Bot commented Sep 5, 2026

Copy link
Copy Markdown

Codex Review Summary

This comment shows the latest Codex review activity on this pull request.

Review Status Commit Review trigger
📝 Code Review Completed 2026-09-05T14:50:00.132638Z 3a1038f PR opened
🔒 Security Review Completed 2026-09-05T14:49:38.439952Z 3a1038f PR opened
ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review" or "@codex security review".

Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings.

@hhenson
hhenson force-pushed the codex/hgl-hgraph-ir-foundation branch from 3a1038f to b73e272 Compare September 5, 2026 14:48

@chatgpt-codex-connector chatgpt-codex-connector Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

💡 Codex Review

Here are some automated review suggestions for this pull request.

Reviewed commit: 3a1038f33f

ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review".

If Codex has suggestions, it will comment; otherwise it will react with 👍.

Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".

Comment thread language/src/hgraph_ir/lower.cpp Outdated
Comment thread language/src/hgraph_ir/printer.cpp Outdated
@hhenson
hhenson force-pushed the codex/hgl-hgraph-ir-foundation branch 2 times, most recently from d2b462f to 92b2e61 Compare September 5, 2026 18:20
@hhenson
hhenson force-pushed the codex/hgl-hgraph-ir-foundation branch from 92b2e61 to fabbfac Compare September 5, 2026 19:56
@hhenson
hhenson force-pushed the codex/hgl-hgraph-ir-foundation branch from fabbfac to 571a6a5 Compare September 6, 2026 05:34
@sonarqubecloud

sonarqubecloud Bot commented Sep 6, 2026

Copy link
Copy Markdown

@hhenson
hhenson merged commit ad13d74 into main Sep 6, 2026
15 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