feat: add Debian clang-format official evidence#136
Conversation
|
No actionable comments were generated in the recent review. 🎉 ℹ️ Recent review info⚙️ Run configurationConfiguration used: Path: .coderabbit.yaml Review profile: ASSERTIVE Plan: Pro Run ID: 📒 Files selected for processing (2)
📝 WalkthroughWalkthroughAdds canonical Debian ChangesDebian clang-format evidence
Estimated code review effort: 3 (Moderate) | ~20 minutes Possibly related PRs
🚥 Pre-merge checks | ✅ 4 | ❌ 1❌ Failed checks (1 warning)
✅ Passed checks (4 passed)
✨ Finishing Touches📝 Generate docstrings
🧪 Generate unit tests (beta)
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. Comment |
|



Summary
Add verified official-source distro evidence for the existing Debian clang-format mapping.
This PR promotes exactly one additional existing mapping:
debdebdebianclang-formatclang-formatclang-formatAfter this PR, exactly five generated evidence records are
verified-official-source:deb/yamllintdeb/shellcheckdeb/clang-tidydeb/cppcheckdeb/clang-formatNo other mapping is promoted.
What changed
Extended
OFFICIAL_DISTRO_EVIDENCE_BY_POLICYwith one new override:("deb", "clang-format")Generated evidence for
deb/clang-formatnow uses:evidence_source_type = official-distro-metadataevidence_status = verified-official-sourceofficial_source_kind = distro-package-indexverification_scope = package-name-and-executableofficial_source_url = https://packages.debian.org/clang-formatevidence_record_id = official-distro-metadata:deb:clang-formatexternal_verification_required_for_new_mappings = falserelease_blocking = falseOfficial Debian evidence basis
The evidence note references:
https://packages.debian.org/clang-formathttps://packages.debian.org/sid/amd64/clang-format/filelisthttps://manpages.debian.org/testing/clang-format-15/clang-format-15.1These sources are used only as evidence for the existing package/executable mapping. No versions are added as contract fields.
Promotion boundary
Existing official evidence is preserved:
deb/yamllintdeb/shellcheckdeb/clang-tidydeb/cppcheckDocker helper mappings are intentionally not promoted:
docker-deb-helper/yamllintremainsrepository-local-policy/current-policy-baselinedocker-deb-helper/shellcheckremainsrepository-local-policy/current-policy-baselinedocker-deb-helper/clang-tidyremainsrepository-local-policy/current-policy-baselinedocker-deb-helper/cppcheckremainsrepository-local-policy/current-policy-baselinedocker-deb-helper/clang-formatremainsrepository-local-policy/current-policy-baselineAll RPM/openSUSE/Arch/Slackware mappings remain unchanged.
Scope controls
This PR does not:
OS_PACKAGE_NAMESVerifier behavior
The existing promotion gate remains enforced.
Added/updated tests verify rejection of tampered
deb/clang-formatofficial evidence, including:repository-local-policyrepository-local-policy:deb:clang-formatValidation
Passed locally / by agent report:
Observed results:
Safety:
Next work
A follow-up PR can promote the next single existing Debian mapping only after adding similarly explicit official-source evidence and verifier coverage.
Summary by CodeRabbit
New Features
clang-formattool.Bug Fixes