Skip to content

feat(language): preserve hgraph IR contracts - #691

Merged
hhenson merged 2 commits into
codex/hgl-hgraph-ir-foundationfrom
codex/hgl-hgraph-ir-contracts
Sep 6, 2026
Merged

feat(language): preserve hgraph IR contracts#691
hhenson merged 2 commits into
codex/hgl-hgraph-ir-foundationfrom
codex/hgl-hgraph-ir-contracts

Conversation

@hhenson

@hhenson hhenson commented Sep 5, 2026

Copy link
Copy Markdown
Owner

Summary

  • lower normalized generic constraints into a self-contained hgraph-IR arena
  • preserve effective nominal struct contracts, inherited field origins, defaults, and optionality
  • attach requirements to struct, operator, and callable interfaces while keeping nominal and native registry identities distinct
  • extend the deterministic hgraph-IR dump, architecture documentation, and focused coverage

Validation

  • clang-format dry run on changed C++ files
  • git diff --check
  • complete language CTest suite: 29/29 passed
  • clean native configure, rebuild, and CTest suite: 1711/1711 passed
  • stable-ABI wheel built with Python 3.12 and complete non-WIP compatibility suite run from a fresh Python 3.14 environment: 3223 passed, 10 skipped

Stacked on #690.

@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-05T15:12:50.229151Z d73ea85 PR opened
🔒 Security Review Completed 2026-09-05T15:10:56.216308Z d73ea85 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.

@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: d73ea859e7

ℹ️ 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
@hhenson
hhenson force-pushed the codex/hgl-hgraph-ir-contracts branch from 922b8f8 to 1059a8f Compare September 5, 2026 16:29
@hhenson
hhenson force-pushed the codex/hgl-hgraph-ir-contracts branch from 1059a8f to ab14f75 Compare September 5, 2026 16:45
@hhenson
hhenson force-pushed the codex/hgl-hgraph-ir-contracts branch from ab14f75 to 63bca5c Compare September 5, 2026 18:20
@hhenson
hhenson force-pushed the codex/hgl-hgraph-ir-contracts branch from 63bca5c to 4d2d615 Compare September 5, 2026 19:56
@hhenson
hhenson force-pushed the codex/hgl-hgraph-ir-contracts branch from 4d2d615 to df71423 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
13 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