Repository navigation
feat(permissions): share offline operation permission compiler (ALIEN-1112) - #791
Conversation
Codex Review SummaryThis comment shows the latest Codex review activity on this pull request.
ℹ️ About Codex in GitHubYour team has set up Codex to review pull requests in this repo. Reviews are triggered when you
Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings. |
|
There was a problem hiding this comment.
💡 Codex Review
Here are some automated review suggestions for this pull request.
Reviewed commit: 31304cf33e
ℹ️ 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".
09afde5 to
ef776fc
Compare
73d7641 to
0a890a8
Compare
|
@greptile review |
|
@greptile review |
alien operations permissionsnow compiles AWS, Google Cloud and Kubernetes operation grants offline with exact installer resource limits. The reviewed Rust catalog and compiler also run in Node and browsers through@alienplatform/permissions. Missing limits, unknown capabilities, custom inline AWS grants and unsupported wildcards fail closed. Direct compilation calls enforce the same reviewed action/scope and Kubernetes resource rules.The CLI's infrastructure-registry shortcut is removed. Kubernetes semantic validation and installation mode selection move into
alien-permissions; existing infrastructure APIs remain available through the default feature. The generated WASM package adds no runtime dependency or compilation service. Its 377 KiB artifact is committed and checked against native Rust in CI. Rust consumers build an rlib; only WASM generation requests a cdylib.Generate with
pnpm -C packages/permissions generate. Generation pins Rust 1.97.1 and the Cargo.lock wasm-bindgen version on Linux ARM64. Other hosts use Docker to produce identical bytes. Release preparation regenerates versioned WASM and includes it in qualification and dry-run artifacts. Release and dev-package publishing include the new package.Validation:
pnpm -C packages/permissions packproduces a self-contained artifact that imports independently and preserves compiler rejection behavior.CI generation and publishing use the existing packageManager version.