Skip to content

Commit a6a72fb

Browse files
7schmiedeclaude
andcommitted
self-scan: allow cargo_crate in composit's own Compositfile
Composit is itself a Rust crate, so the new cargo_manifest scanner now detects its own Cargo.toml as `cargo_crate`. With allowlist mode (any unlisted type → resource_type_not_allowed Error), the CI self-scan gate would block on the next push. Add an explicit `allow "cargo_crate" { max = 2 }` block. Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
1 parent d64096e commit a6a72fb

1 file changed

Lines changed: 5 additions & 0 deletions

File tree

Compositfile

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -53,6 +53,11 @@ workspace "composit" {
5353
max = 2
5454
}
5555

56+
# The CLI is itself a Rust crate — own Cargo.toml.
57+
allow "cargo_crate" {
58+
max = 2
59+
}
60+
5661
# CI is mandatory. If ci.yml disappears from a PR, `composit diff --strict`
5762
# fails and the PR cannot merge.
5863
require "workflow" {

0 commit comments

Comments
 (0)