Skip to content

Pin corrected Zig grammar as Rust WASM candidate - #19

Merged
loong10k merged 2 commits into
mainfrom
feat/rust-hook-prompt-guidance
Sep 29, 2026
Merged

loong10k merged 2 commits into
mainfrom
feat/rust-hook-prompt-guidance

Conversation

@loong10k

Copy link
Copy Markdown
Contributor

The fixed CodeGraph inventory was pinned before its Zig empty-container grammar fix, and the new Zig WASM fails to instantiate in Rust because of one unsupported import. This change updates the 32-grammar source inventory to the current CodeGraph commit and adds Zig as a fifth, explicitly unqualified asset candidate. Both the original and adapted Zig bytes are pinned; a narrowly scoped Rust transformation replaces the incompatible import with a same-signature import supported by WasmStore. The isolated worker now parses legal Zig empty containers without the old grammar's false recovery, while malformed source still produces recovery and no candidate can approve delivery.

The OpenSpec and bilingual architecture/technical docs now track all 32 grammar languages as the required target. Feature-enabled legacy workbench tests select the intended task by reason code, preserving the new Python native-confirmation task rather than depending on directory order. This PR does not claim public lint zig, all-language integration, or released syntax capability; grammar status still reports zero released languages.

Validation: 30/30 CodeGraph vendored source bytes match the new pinned commit; Zig 0.16.0 fmt --check accepts the four empty-container fixtures. Default workspace tests, targeted feature tests, feature-enabled Clippy, OpenSpec strict validation, formatting, layering, and diff checks pass. The full feature-enabled workspace run passed: 180 groups, 1,129 passed, 106 conditionally ignored, zero failed. Default workspace tests also passed. This does not cover the ignored real native-tool cases or release packages.

@chatgpt-codex-connector

chatgpt-codex-connector Bot commented Sep 29, 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-29T08:29:35.959940Z 2888720 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.

@loong10k
loong10k merged commit ec2aba6 into main Sep 29, 2026
1 check 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