Skip to content

feat(id-caps): library manifest platform-block parser + catalog validator (#10027 §7 step 1) - #10135

Merged
dezren39 merged 1 commit into
mainfrom
queue/16915-10027-roc-import-gate
Nov 14, 2026
Merged

dezren39 merged 1 commit into
mainfrom
queue/16915-10027-roc-import-gate

Conversation

@dezren39

@dezren39 dezren39 commented Nov 14, 2026 •

Copy link
Copy Markdown
Member

Implements §7 step 1 of the merged #5956 design record (PR #10023) for #10027: the library manifest platform-block parser + validator against the id-caps catalog.

What lands

Recorded scope note

§7 step 1 says "wired into the registry/upload path #5969 defines" — that path is a design record only; no registry/upload code for libraries exists in the tree yet. This PR therefore lands the parser+validator as the id-caps seam that path will call, and says so in the module docs. Steps 2–5 of §7 (transitive resolver, compile-path import gate, #5994 fixture matrix, citation updates) remain on #10027 as the follow-on queue task enqueued at this slice's close-out.

Tests

10 new unit tests in the module, each naming its oracle (the invariant or diagnostic it pins): design-example parse, absent-platform purity, unknown-requirement fail-closed, wildcard refusal, duplicate refusal, version-pin mismatch naming both versions, missing-hash refusal, kind/build-mode disagreement, unknown-node fail-closed, url-library source requirement.

cargo test -p id-caps — see the close-out note on #10027 for the run result.

Queue task 16915 (lane any-c).


Autofix with [code]smith
Open in [code]smith · Need help on this PR? Tag @codesmith-bot with what you need.

@dezren39
dezren39 requested a review from a team as a code owner November 14, 2026 16:50
@chatgpt-codex-connector

Copy link
Copy Markdown
Codex Review Summary: ❌ Failed

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

Review Status Commit Review trigger
📝 Code Review ❌ Failed 2026-11-14T16:50:53.176204Z
We couldn’t complete this review. Comment @codex review to try again.
1f12efe 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.

@coderabbitai

coderabbitai Bot commented Nov 14, 2026

Copy link
Copy Markdown

Warning

Review limit reached

You've used all free OSS reviews for now. Wait for the free limit to reset to keep reviewing this public repository.

Next included review available in 23 minutes.

Check out review usage here.

View limit details

Limit details: You’ve used the included review currently available.

Learn how review limits work.

Review configuration:

Run configuration

  • Source mode: Auto
  • Repository: Unavailable
  • Branch: Unavailable
  • File: No configuration file from this repository applied
  • Commit: Unavailable
  • Layers: defaults
  • Review profile: CHILL
  • Plan: Advanced
  • Run ID: 8dba5dba-d181-4444-95b6-2a963c83f8f3
Commits

Reviewing files that changed from the base of the PR and between d0d229c and 1f12efe.

Files selected for processing: 2

  • pkgs/id/crates/id-caps/src/lib.rs
  • pkgs/id/crates/id-caps/src/library_manifest.rs
  • Autofix · Keep fixing CodeRabbit findings and required CI, and resolving merge conflicts

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

Share

@chatgpt-codex-connector

Copy link
Copy Markdown

You have reached your Codex usage limits for code reviews. You can see your limits in the Codex usage dashboard.
To continue using code reviews, add credits to your account and enable them for code reviews in your settings.

@dezren39
dezren39 merged commit 5878aaa into main Nov 14, 2026
1 check passed
@dezren39
dezren39 deleted the queue/16915-10027-roc-import-gate branch November 14, 2026 16:52
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