Skip to the content

← Copy coupon

catnap

https://github.com/leynos/catnap · at bd6cc6b8325b

  1. dependabot-update-shape compliant Dependabot update shape

  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 non-compliant, 1 finding Rust Makefile baseline

    Findings

    • FP-003 Makefile: root Makefile is missing
  6. rust-prover-tooling compliant Rust prover tooling

  7. rust-test-environment non-compliant, 1 finding Rust test environment

    Findings

    • TE-001 clippy.toml: clippy.toml lints 1 workspace member(s) (.) and its disallowed-methods does not list std::env::remove_var, std::env::set_current_dir, std::env::set_var; add them so a test cannot change the process-wide environment
  8. rust-toolchain-policy non-compliant, 1 finding Rust toolchain policy

    Findings

    • RT-025 Cargo.toml: publishable library crate catnap declares no rust-version, so its users cannot tell which compiler it supports
  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 non-compliant, 1 finding Nested cargo cold build

    Findings

    • NC-010 tests/ui.rs:20: tests/ui.rs:20 compiles inside a timed test (trybuild) and the repository declares no preparation outside it. If nothing has filled the build's target directory first, the test body pays for a cold build and its timeout fails an assertion that is sound. Prepare the build before the timed test runs: in a nextest setup script (a `[scripts.setup.*]` table selected by a `[[profile.*.scripts]]` rule whose filter covers this test), or in a named preparation test in the same crate and serial test group that stamps its artefacts, with the timed test refusing to run when the stamp is missing, as https://github.com/leynos/rstest-bdd/pull/916 does for its trybuild, macrotest and fixture builds. Doing the shared work once, outside the tests, is the same move as https://github.com/leynos/whitaker/issues/518. Name your own gate in this rule's `preparation_gates` parameter, or name the file in its exemptions with the reason it must build cold
  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 compliant uv gate baseline

  18. python-duplication-gate compliant Python duplication gate scope

  19. documentation-presence non-compliant, 2 findings documentation presence

    Findings

    • DG-001 None: the repository owns Python but has no root Makefile, so `make lint` cannot run interrogate
    • DG-004 None: the repository owns Rust libraries but has no root Makefile, so `make lint` cannot run clippy
  20. main-owned-codescene-coverage compliant Main-owned CodeScene coverage publication

  21. markdown-formatting-baseline non-compliant, 1 finding Markdown formatting baseline

    Findings

    • FP-003 Makefile: root Makefile is missing
  22. pr-run-cancellation compliant Pull-request run cancellation

  23. spelling-config-baseline non-compliant, 2 findings Spelling configuration baseline

    Findings

    • PD-013 AGENTS.md: AGENTS.md's spelling block differs from typos-config-builder v0.1.3's docs/agents-md-spelling.md; copy it verbatim
    • PD-007 Makefile: root Makefile is missing; a "spelling" target must run typos-config-builder gate
  24. yaml-lint-baseline non-compliant, 2 findings YAML lint baseline

    Findings

    • YL-001 Makefile: root Makefile is missing
    • YL-002 Makefile: root Makefile is missing

    Not proven

    • YL-005 .github/workflows: no workflow provably runs `make lint`; a job calls a reusable workflow that was not inspected
  25. gate-lint-coverage non-compliant, 1 finding The lint gate checks all targets and features, denies warnings, and builds the docs

    Findings

    • LC-004 Cargo.toml: Cargo.toml holds a library, but `make lint` reaches no `cargo doc`. Add `RUSTDOCFLAGS="-D warnings" cargo doc --no-deps --workspace` (for a standalone crate, `--manifest-path Cargo.toml`) to a target `lint` reaches, so a broken intra-doc link or bare URL fails the gate
  26. rust-lint-tables non-compliant, 2 findings Rust lint tables on every package

    Findings

    • LT-002 Cargo.toml: package catnap compiles under lint tables that miss or weaken 12 baseline entries. Set them in the [lints.*] tables in 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::disallowed_methods should be "deny" (it is not set); clippy::missing_assert_message should be "deny" (it is not set); clippy::missing_docs_in_private_items should be "deny" (it is not set); rust::renamed_and_removed_lints should be "deny" (it is not set); rust::unknown_lints should be "deny" (it is not set); rustdoc::bare_urls should be "deny" (it is not set); rustdoc::broken_intra_doc_links should be "deny" (it is not set); rustdoc::invalid_codeblock_attributes should be "deny" (it is not set); rustdoc::invalid_html_tags should be "deny" (it is not set); rustdoc::private_intra_doc_links should be "deny" (it is not set); rustdoc::unescaped_backticks should be "deny" (it is not set)
    • LT-003 Cargo.toml: package catnap sets unsafe_code to not set; the baseline forbids it. Set `unsafe_code = "forbid"` in the [lints.*] tables in 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