Skip to the content

← Copy coupon

cuprum

https://github.com/leynos/cuprum · at a5265e0c8853

  1. dependabot-update-shape non-compliant, 2 findings Dependabot update shape

    Findings

    • DB-005 .github/dependabot.yml: updates[1] (uv) has no groups; it needs a catch-all group with patterns ["*"] and update-types [minor, patch]
    • DB-005 .github/dependabot.yml: updates[3] (cargo) has no groups; it needs a catch-all group with patterns ["*"] and update-types [minor, patch]
  2. dependency-family-contracts compliant Dependency family contracts

  3. rust-build-defaults compliant Rust build defaults

  4. rust-dev-build-footprint compliant Rust development build footprint

  5. rust-makefile-baseline indeterminate Rust Makefile baseline

    Not proven

    • QG-001 Makefile: the lint target reaches an unproven recursive Make invocation; gate reachability cannot be proven
  6. rust-prover-tooling non-compliant, 1 finding Rust prover tooling

    Findings

    • PT-006 rust/cuprum-native-io/src/kani_proofs.rs: rust/cuprum-native-io/src/kani_proofs.rs holds kani-harness proof code, and no workflow step runs proofs for it. Proof code that nothing runs is a comment: run it in CI (installing through the shared install-prover-tools action), or remove it
  7. rust-test-environment compliant Rust test environment

  8. rust-toolchain-policy non-compliant, 1 finding Rust toolchain policy

    Findings

    • RT-022 rust-toolchain.toml: no rust-toolchain.toml: the toolchain is whatever the machine has, so the build and the Dependabot bump have nothing to agree on
  9. whitaker-provisioning compliant Whitaker provisioning through install-whitaker

  10. gate-workspace-coverage compliant Gate commands select the whole workspace

  11. nested-cargo-ci-wiring compliant Nested cargo CI wiring

  12. nested-cargo-cold-build indeterminate Nested cargo cold build

    Not proven

    • EN-001 Makefile:662: Makefile:662 may run the tests as `test`, and the reader cannot tell what prepares it: the Makefile holds a construct the reader does not follow
  13. nested-cargo-fixture-lockfiles compliant Nested cargo fixture lockfiles

  14. nested-cargo-fixture-manifests compliant Nested cargo fixture manifests

  15. nested-cargo-nextest compliant Nested cargo nextest configuration

  16. nested-cargo-offline-tests compliant Nested cargo offline tests

  17. uv-gate-baseline non-compliant, 120 findings uv gate baseline

    Findings

    • UV-002 .github/workflows/ci.yml: .github/workflows/ci.yml assigns a uv cache location in a script; the helper selects the global uv cache itself
    • UV-002 .github/workflows/ci.yml: .github/workflows/ci.yml sets UV_CACHE_DIR; the helper selects the global uv cache itself
    • UV-002 .github/workflows/ci.yml: .github/workflows/ci.yml sets UV_TOOL_DIR; the helper selects the global uv cache itself
    • UV-002 .github/workflows/macos-lifecycle.yml: .github/workflows/macos-lifecycle.yml sets UV_CACHE_DIR; the helper selects the global uv cache itself
    • UV-002 .github/workflows/macos-lifecycle.yml: .github/workflows/macos-lifecycle.yml sets UV_TOOL_DIR; the helper selects the global uv cache itself
    • UV-007 pyproject.toml: dependency-groups.dev requires "df12-python-lints @ git+https://github.com/leynos/df12-python-lints.git@v0.3.0", a Git dependency that is not pinned to a full commit SHA
    • UV-001 scripts/uv_gate.py: scripts/uv_gate.py is missing; vendor the canonical uv_gate.py byte for byte
    • UV-002 Makefile:259: UV_ENV sets a uv cache location; the helper selects the global uv cache itself
    • UV-002 Makefile:437: a recipe sets a uv cache location; the helper selects the global uv cache itself
    • UV-003 Makefile:437: the recipe reaches uv directly; run it through $(UV_GATE)
    • UV-002 Makefile:442: a recipe sets a uv cache location; the helper selects the global uv cache itself
    • UV-002 Makefile:445: a recipe sets a uv cache location; the helper selects the global uv cache itself
    • UV-003 Makefile:445: the recipe reaches uv directly; run it through $(UV_GATE)
    • UV-002 Makefile:450: a recipe sets a uv cache location; the helper selects the global uv cache itself
    • UV-003 Makefile:450: the recipe reaches uv directly; run it through $(UV_GATE)
    • UV-005 Makefile:450: the recipe upgrades dependencies (upgrade); only a maintenance target (lock) may
    • UV-002 Makefile:451: a recipe sets a uv cache location; the helper selects the global uv cache itself
    • UV-003 Makefile:451: the recipe reaches uv directly; run it through $(UV_GATE)
    • UV-002 Makefile:509: a recipe sets a uv cache location; the helper selects the global uv cache itself
    • UV-003 Makefile:509: the recipe reaches uv directly; run it through $(UV_GATE)
    • UV-002 Makefile:510: a recipe sets a uv cache location; the helper selects the global uv cache itself
    • UV-003 Makefile:510: the recipe reaches uv directly; run it through $(UV_GATE)
    • UV-002 Makefile:516: a recipe sets a uv cache location; the helper selects the global uv cache itself
    • UV-003 Makefile:516: the recipe reaches uv directly; run it through $(UV_GATE)
    • UV-002 Makefile:517: a recipe sets a uv cache location; the helper selects the global uv cache itself
    • UV-003 Makefile:517: the recipe reaches uv directly; run it through $(UV_GATE)
    • UV-002 Makefile:526: a recipe sets a uv cache location; the helper selects the global uv cache itself
    • UV-003 Makefile:526: the recipe reaches uv directly; run it through $(UV_GATE)
    • UV-002 Makefile:530: a recipe sets a uv cache location; the helper selects the global uv cache itself
    • UV-003 Makefile:530: the recipe reaches uv directly; run it through $(UV_GATE)
    • UV-002 Makefile:534: a recipe sets a uv cache location; the helper selects the global uv cache itself
    • UV-003 Makefile:534: the recipe reaches uv directly; run it through $(UV_GATE)
    • UV-002 Makefile:542: a recipe sets a uv cache location; the helper selects the global uv cache itself
    • UV-003 Makefile:542: the recipe reaches uv directly; run it through $(UV_GATE)
    • UV-002 Makefile:551: a recipe sets a uv cache location; the helper selects the global uv cache itself
    • UV-003 Makefile:551: the recipe reaches uv directly; run it through $(UV_GATE)
    • UV-002 Makefile:556: a recipe sets a uv cache location; the helper selects the global uv cache itself
    • UV-003 Makefile:556: the recipe reaches uv directly; run it through $(UV_GATE)
    • UV-002 Makefile:561: a recipe sets a uv cache location; the helper selects the global uv cache itself
    • UV-003 Makefile:561: the recipe reaches uv directly; run it through $(UV_GATE)
    • UV-002 Makefile:565: a recipe sets a uv cache location; the helper selects the global uv cache itself
    • UV-003 Makefile:565: the recipe reaches uv directly; run it through $(UV_GATE)
    • UV-002 Makefile:566: a recipe sets a uv cache location; the helper selects the global uv cache itself
    • UV-003 Makefile:566: the recipe reaches uv directly; run it through $(UV_GATE)
    • UV-002 Makefile:569: a recipe sets a uv cache location; the helper selects the global uv cache itself
    • UV-003 Makefile:569: the recipe reaches uv directly; run it through $(UV_GATE)
    • UV-002 Makefile:570: a recipe sets a uv cache location; the helper selects the global uv cache itself
    • UV-003 Makefile:570: the recipe reaches uv directly; run it through $(UV_GATE)
    • UV-002 Makefile:571: a recipe sets a uv cache location; the helper selects the global uv cache itself
    • UV-003 Makefile:571: the recipe reaches uv directly; run it through $(UV_GATE)
    • UV-002 Makefile:589: a recipe sets a uv cache location; the helper selects the global uv cache itself
    • UV-003 Makefile:589: the recipe reaches uv directly; run it through $(UV_GATE)
    • UV-006 Makefile:589: the tool spec "df12-python-lints[skylos]" is not pinned; use name==VERSION, name@VERSION, git+URL@<full commit SHA>, or a release tag for a listed tool
    • UV-002 Makefile:592: a recipe sets a uv cache location; the helper selects the global uv cache itself
    • UV-003 Makefile:592: the recipe reaches uv directly; run it through $(UV_GATE)
    • UV-006 Makefile:592: the tool spec "df12-python-lints[duplication]" is not pinned; use name==VERSION, name@VERSION, git+URL@<full commit SHA>, or a release tag for a listed tool
    • UV-002 Makefile:593: a recipe sets a uv cache location; the helper selects the global uv cache itself
    • UV-003 Makefile:593: the recipe reaches uv directly; run it through $(UV_GATE)
    • UV-006 Makefile:593: the tool spec "df12-python-lints[duplication]" is not pinned; use name==VERSION, name@VERSION, git+URL@<full commit SHA>, or a release tag for a listed tool
    • UV-002 Makefile:609: a recipe sets a uv cache location; the helper selects the global uv cache itself
    • UV-003 Makefile:609: the recipe reaches uv directly; run it through $(UV_GATE)
    • UV-006 Makefile:609: the tool spec "df12-python-lints[duplication]" is not pinned; use name==VERSION, name@VERSION, git+URL@<full commit SHA>, or a release tag for a listed tool
    • UV-002 Makefile:610: a recipe sets a uv cache location; the helper selects the global uv cache itself
    • UV-003 Makefile:610: the recipe reaches uv directly; run it through $(UV_GATE)
    • UV-006 Makefile:610: the tool spec "df12-python-lints[duplication]" is not pinned; use name==VERSION, name@VERSION, git+URL@<full commit SHA>, or a release tag for a listed tool
    • UV-002 Makefile:617: a recipe sets a uv cache location; the helper selects the global uv cache itself
    • UV-003 Makefile:617: the recipe reaches uv directly; run it through $(UV_GATE)
    • UV-006 Makefile:617: the tool spec "df12-python-lints[skylos]" is not pinned; use name==VERSION, name@VERSION, git+URL@<full commit SHA>, or a release tag for a listed tool
    • UV-002 Makefile:640: a recipe sets a uv cache location; the helper selects the global uv cache itself
    • UV-003 Makefile:640: the recipe reaches uv directly; run it through $(UV_GATE)
    • UV-002 Makefile:641: a recipe sets a uv cache location; the helper selects the global uv cache itself
    • UV-003 Makefile:641: the recipe reaches uv directly; run it through $(UV_GATE)
    • UV-002 Makefile:642: a recipe sets a uv cache location; the helper selects the global uv cache itself
    • UV-003 Makefile:642: the recipe reaches uv directly; run it through $(UV_GATE)
    • UV-002 Makefile:649: a recipe sets a uv cache location; the helper selects the global uv cache itself
    • UV-002 Makefile:665: a recipe sets a uv cache location; the helper selects the global uv cache itself
    • UV-003 Makefile:665: the recipe reaches uv directly; run it through $(UV_GATE)
    • UV-002 Makefile:669: a recipe sets a uv cache location; the helper selects the global uv cache itself
    • UV-003 Makefile:669: the recipe reaches uv directly; run it through $(UV_GATE)
    • UV-002 Makefile:692: a recipe sets a uv cache location; the helper selects the global uv cache itself
    • UV-003 Makefile:692: the recipe reaches uv directly; run it through $(UV_GATE)
    • UV-002 Makefile:706: a recipe sets a uv cache location; the helper selects the global uv cache itself
    • UV-003 Makefile:706: the recipe reaches uv directly; run it through $(UV_GATE)
    • UV-002 Makefile:720: a recipe sets a uv cache location; the helper selects the global uv cache itself
    • UV-003 Makefile:720: the recipe reaches uv directly; run it through $(UV_GATE)
    • UV-002 Makefile:725: a recipe sets a uv cache location; the helper selects the global uv cache itself
    • UV-003 Makefile:725: the recipe reaches uv directly; run it through $(UV_GATE)
    • UV-002 Makefile:812: a recipe sets a uv cache location; the helper selects the global uv cache itself
    • UV-003 Makefile:812: the recipe reaches uv directly; run it through $(UV_GATE)
    • UV-005 Makefile:812: the recipe upgrades dependencies (upgrade); only a maintenance target (lock) may
    • UV-002 Makefile:813: a recipe sets a uv cache location; the helper selects the global uv cache itself
    • UV-003 Makefile:813: the recipe reaches uv directly; run it through $(UV_GATE)
    • UV-002 Makefile:825: a recipe sets a uv cache location; the helper selects the global uv cache itself
    • UV-003 Makefile:825: the recipe reaches uv directly; run it through $(UV_GATE)
    • UV-002 Makefile:828: a recipe sets a uv cache location; the helper selects the global uv cache itself
    • UV-003 Makefile:828: the recipe reaches uv directly; run it through $(UV_GATE)
    • UV-002 Makefile:845: a recipe sets a uv cache location; the helper selects the global uv cache itself
    • UV-003 Makefile:845: the recipe reaches uv directly; run it through $(UV_GATE)
    • UV-002 Makefile:850: a recipe sets a uv cache location; the helper selects the global uv cache itself
    • UV-003 Makefile:850: the recipe reaches uv directly; run it through $(UV_GATE)
    • UV-002 Makefile:876: a recipe sets a uv cache location; the helper selects the global uv cache itself
    • UV-003 Makefile:876: the recipe reaches uv directly; run it through $(UV_GATE)
    • UV-002 Makefile:889: a recipe sets a uv cache location; the helper selects the global uv cache itself
    • UV-003 Makefile:889: the recipe reaches uv directly; run it through $(UV_GATE)
    • UV-002 Makefile:893: a recipe sets a uv cache location; the helper selects the global uv cache itself
    • UV-003 Makefile:893: the recipe reaches uv directly; run it through $(UV_GATE)
    • UV-002 Makefile:899: a recipe sets a uv cache location; the helper selects the global uv cache itself
    • UV-003 Makefile:899: the recipe reaches uv directly; run it through $(UV_GATE)
    • UV-002 Makefile:931: a recipe sets a uv cache location; the helper selects the global uv cache itself
    • UV-003 Makefile:931: the recipe reaches uv directly; run it through $(UV_GATE)
    • UV-002 Makefile:947: a recipe sets a uv cache location; the helper selects the global uv cache itself
    • UV-003 Makefile:947: the recipe reaches uv directly; run it through $(UV_GATE)
    • UV-002 Makefile:957: a recipe sets a uv cache location; the helper selects the global uv cache itself
    • UV-003 Makefile:957: the recipe reaches uv directly; run it through $(UV_GATE)
    • UV-002 Makefile:965: a recipe sets a uv cache location; the helper selects the global uv cache itself
    • UV-003 Makefile:965: the recipe reaches uv directly; run it through $(UV_GATE)
    • UV-002 Makefile:970: a recipe sets a uv cache location; the helper selects the global uv cache itself
    • UV-003 Makefile:970: the recipe reaches uv directly; run it through $(UV_GATE)
    • UV-002 Makefile:974: a recipe sets a uv cache location; the helper selects the global uv cache itself
    • UV-003 Makefile:974: the recipe reaches uv directly; run it through $(UV_GATE)

    Not proven

    • UV-006 Makefile:509: the tool spec "$(call" names a variable that cannot be resolved to one value
    • UV-006 Makefile:510: the tool spec "$(call" names a variable that cannot be resolved to one value
    • UV-006 Makefile:516: the tool spec "$(call" names a variable that cannot be resolved to one value
    • UV-006 Makefile:517: the tool spec "$(call" names a variable that cannot be resolved to one value
    • UV-006 Makefile:569: the tool spec "$(call" names a variable that cannot be resolved to one value
    • UV-006 Makefile:641: the tool spec "$(call" names a variable that cannot be resolved to one value
    • UV-006 Makefile:642: the tool spec "$(call" names a variable that cannot be resolved to one value
    • UV-006 Makefile:947: the tool spec "$(or" names a variable that cannot be resolved to one value
  18. python-duplication-gate compliant Python duplication gate scope

  19. documentation-presence indeterminate documentation presence

    Not proven

    • DG-001 Makefile:569: target python-lint runs interrogate through text this policy cannot resolve (`interrogate --fail-under 100 benchmarks conftest.py cuprum scripts tests`)
  20. main-owned-codescene-coverage indeterminate Main-owned CodeScene coverage publication

    Not proven

    • CV-005 .github/workflows/ci.yml: coverage job coverage has no recognized runner platform
    • CV-005 .github/workflows/ci.yml: job build-wheels delegates to a reusable workflow this audit cannot read
  21. markdown-formatting-baseline non-compliant, 2 findings Markdown formatting baseline

    Findings

    • PD-005 .markdownlint-cli2.jsonc: ignores must include ".uv-cache/**"
    • PD-006 .github/workflows/ci.yml: job "lint-test" must pass globs: "**/*.md" to DavidAnson/markdownlint-cli2-action

    Not proven

    • PD-002 Makefile: no recipe reachable from "check-fmt" provably runs mdtablefix; unresolved Make variables: LOCAL_TOOL_ENV
    • PD-004 Makefile: no recipe reachable from "fmt" provably runs markdownlint-cli2; unresolved Make variables: LOCAL_TOOL_ENV
    • PD-003 Makefile: no recipe reachable from "fmt" provably runs mdtablefix; unresolved Make variables: LOCAL_TOOL_ENV
  22. pr-run-cancellation exempt Pull-request run cancellation

    Exemption on record

    • .github/workflows/ci.yml: The group is `ci-${{ github.ref }}` so that runs on main queue per ref and are never cancelled once started: each republishes the `benchmark-ratchet-main-baseline` artefact that pull-request runs compare against, and a half-finished run would leave the baseline behind head. A per-run group would let two main runs publish concurrently. Pull-request runs are cancelled by the event test in `cancel-in-progress`.
  23. spelling-config-baseline compliant Spelling configuration baseline

  24. yaml-lint-baseline non-compliant, 7 findings YAML lint baseline

    Findings

    • YL-004 .github/actionlint.yaml: .github/actionlint.yaml must list the runner label "ubicloud-*", so actionlint accepts the estate's self-hosted runners
    • YL-003 .yamllint-estate.yml: .yamllint-estate.yml is missing; copy the canonical estate yamllint base verbatim
    • YL-003 .yamllint.yml: .yamllint.yml must set `extends: .yamllint-estate.yml`
    • YL-003 .yamllint.yml: .yamllint.yml sets "rules"; the baseline allows only extends, ignore
    • YL-005 .github/workflows/ci.yml: job "lint-test" provisions a lint tool by hand (Download actionlint); use leynos/shared-actions/.github/actions/install-yaml-lint
    • YL-005 .github/workflows/ci.yml: job "lint-test" provisions a lint tool by hand (Install yamllint); use leynos/shared-actions/.github/actions/install-yaml-lint
    • YL-005 .github/workflows/ci.yml: job "lint-test" runs the lint gate (Run lint, including Skylos dead-code detection) without an earlier step using leynos/shared-actions/.github/actions/install-yaml-lint

    Not proven

    • YL-001 Makefile: a rule names its target through a variable the policy cannot resolve; the recipes cannot be proven
    • YL-002 Makefile: a rule names its target through a variable the policy cannot resolve; the recipes cannot be proven
  25. gate-lint-coverage indeterminate The lint gate checks all targets and features, denies warnings, and builds the docs

    Not proven

    • EN-001 rust/Cargo.toml: rust/Cargo.toml: the audit cannot place 1 whitaker command(s) on this surface (a word the audit could not resolve among the arguments may add flags), so it does not judge what whitaker checks there. Commands: Makefile:579 (lint-whitaker)
    • EN-001 Makefile: the Makefile walk from lint skipped a target it could not resolve (a `make -C`, or a variable that names a target), so the audit cannot say which lint commands the gate runs
  26. rust-lint-tables non-compliant, 6 findings Rust lint tables on every package

    Findings

    • LT-002 rust/cuprum-native-io/Cargo.toml: package cuprum-native-io compiles under lint tables that miss or weaken 2 baseline entries. Set them in the [workspace.lints.*] tables in rust/Cargo.toml (copy them from platform-standards/canon/lint-rules/rust-lint-tables/data/baseline.toml), or record a reviewed divergence in the rule's exemptions parameter: clippy::cognitive_complexity should be "deny" (it is not set); clippy::missing_docs_in_private_items should be "deny" (it is not set)
    • LT-003 rust/cuprum-native-io/Cargo.toml: package cuprum-native-io sets unsafe_code to not set; the baseline forbids it. Set `unsafe_code = "forbid"` in the [workspace.lints.*] tables in rust/Cargo.toml. A crate that genuinely needs `unsafe` is a boundary crate instead: set "deny", add a Miri command to the gate, and name it in the rule's boundary_crates parameter with its ADR (axinite ADR 0015 and wireframe ADR 0016 are the models)
    • LT-002 rust/cuprum-rust/Cargo.toml: package cuprum-rust compiles under lint tables that miss or weaken 2 baseline entries. Set them in the [workspace.lints.*] tables in rust/Cargo.toml (copy them from platform-standards/canon/lint-rules/rust-lint-tables/data/baseline.toml), or record a reviewed divergence in the rule's exemptions parameter: clippy::cognitive_complexity should be "deny" (it is not set); clippy::missing_docs_in_private_items should be "deny" (it is not set)
    • LT-003 rust/cuprum-rust/Cargo.toml: package cuprum-rust sets unsafe_code to not set; the baseline forbids it. Set `unsafe_code = "forbid"` in the [workspace.lints.*] tables in rust/Cargo.toml. A crate that genuinely needs `unsafe` is a boundary crate instead: set "deny", add a Miri command to the gate, and name it in the rule's boundary_crates parameter with its ADR (axinite ADR 0015 and wireframe ADR 0016 are the models)
    • LT-002 rust/cuprum-streams/Cargo.toml: package cuprum-streams compiles under lint tables that miss or weaken 2 baseline entries. Set them in the [workspace.lints.*] tables in rust/Cargo.toml (copy them from platform-standards/canon/lint-rules/rust-lint-tables/data/baseline.toml), or record a reviewed divergence in the rule's exemptions parameter: clippy::cognitive_complexity should be "deny" (it is not set); clippy::missing_docs_in_private_items should be "deny" (it is not set)
    • LT-003 rust/cuprum-streams/Cargo.toml: package cuprum-streams sets unsafe_code to not set; the baseline forbids it. Set `unsafe_code = "forbid"` in the [workspace.lints.*] tables in rust/Cargo.toml. A crate that genuinely needs `unsafe` is a boundary crate instead: set "deny", add a Miri command to the gate, and name it in the rule's boundary_crates parameter with its ADR (axinite ADR 0015 and wireframe ADR 0016 are the models)
  27. whitaker-exclusions compliant Whitaker exclusions carry a reason and are not leftovers