Skip to content

fix(fixtures): sync 2.1.7 MAINTAINERS gate with the standards SSOT - #732

Merged
hyperpolymath merged 1 commit into
mainfrom
fix/maintainers-gate-governance-tier
Aug 27, 2026
Merged

fix(fixtures): sync 2.1.7 MAINTAINERS gate with the standards SSOT#732
hyperpolymath merged 1 commit into
mainfrom
fix/maintainers-gate-governance-tier

Conversation

@hyperpolymath

Copy link
Copy Markdown
Owner

Mirrors hyperpolymath/standards#665, which corrects criterion 2.1.7 (MAINTAINERS.adoc) from gate = "universal" to gate = "governance-tier".

test/fixtures/a2ml/rsr-criteria-v2.a2ml is a copy of the canon's SSOT. Leaving it behind would make the suite assert against a spec the canon no longer holds — the tests would keep passing while measuring the wrong thing, which is precisely the failure mode a fixture copy exists to avoid.

Why the underlying fix matters to this repo specifically

lib/rules/rsr_conformance.ex is what makes the gate load-bearing: applicable = universal ∪ gated-and-declared, with :na excluded from the denominator. A criterion mis-gated universal therefore stays in every repo's denominator. A leaf repo that declined MAINTAINERS as TEMPLATE-APPLICABILITY-POLICY.adoc explicitly permits was scored down by this oracle for obeying the canon.

Verification

mix test test/a2ml/record_dialect_test.exs test/rules/rsr_conformance_test.exs24 tests, 0 failures.

Should land together with standards#665.

🤖 Generated with Claude Code

Mirrors hyperpolymath/standards fix/maintainers-gate-governance-tier, which
corrects criterion 2.1.7 from gate = "universal" to gate = "governance-tier".

This fixture is a copy of the canon's rsr-criteria-v2.a2ml, so leaving it
behind would make the suite assert against a spec the canon no longer holds —
the tests would keep passing while measuring the wrong thing, which is the
failure mode a fixture copy exists to avoid.

Verified: mix test test/a2ml/record_dialect_test.exs
test/rules/rsr_conformance_test.exs — 24 tests, 0 failures.

Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
@coderabbitai

coderabbitai Bot commented Aug 27, 2026

Copy link
Copy Markdown

Review Change Stack

No actionable comments were generated in the recent review. 🎉

ℹ️ Recent review info
⚙️ Run configuration

Configuration used: Organization UI

Review profile: ASSERTIVE

Plan: Pro Plus

Run ID: d052efe1-4f85-4876-840e-d77ac43996e4

📥 Commits

Reviewing files that changed from the base of the PR and between 31d809a and e90c116.

📒 Files selected for processing (1)
  • test/fixtures/a2ml/rsr-criteria-v2.a2ml

Included review availability: Your plan provides up to 1 included review per hour; 0 remain after this review.

📜 Recent review details
⏰ Context from checks skipped due to timeout. (29)
  • GitHub Check: governance / Validate Hypatia Baseline
  • GitHub Check: Rust Tests
  • GitHub Check: Integration Tests
  • GitHub Check: Cargo test
  • GitHub Check: Codacy Static Code Analysis
  • GitHub Check: governance / Security policy checks
  • GitHub Check: governance / Language / package anti-pattern policy
  • GitHub Check: governance / Allowlist Preflight
  • GitHub Check: hypatia / Hypatia Neurosymbolic Analysis
  • GitHub Check: governance / Workflow security linter
  • GitHub Check: governance / Guix packaging policy (Nix retired)
  • GitHub Check: Rust Dependency Audit
  • GitHub Check: Container Security (Trivy) (deploy/Containerfile)
  • GitHub Check: Semgrep SAST
  • GitHub Check: stress-test
  • GitHub Check: k9iser manifest + build
  • GitHub Check: E2E — Rust CLI Scan
  • GitHub Check: Secret Detection (TruffleHog)
  • GitHub Check: criterion + baseline gate
  • GitHub Check: CodeQL SAST (actions)
  • GitHub Check: Generate SBOM
  • GitHub Check: Rust Dependency Audit
  • GitHub Check: Build AsciiDoc
  • GitHub Check: Generate Rust SBOM
  • GitHub Check: Build Rust - x86_64-pc-windows-msvc
  • GitHub Check: Build Rust - x86_64-unknown-linux-gnu
  • GitHub Check: Build Rust - x86_64-apple-darwin
  • GitHub Check: Build Rust - aarch64-apple-darwin
  • GitHub Check: Build AsciiDoc
🔇 Additional comments (1)
test/fixtures/a2ml/rsr-criteria-v2.a2ml (1)

110-110: LGTM!


📝 Walkthrough

Summary by CodeRabbit

  • Bug Fixes
    • Updated documentation standards so the maintainers criterion applies only to repositories declaring the governance-tier capability.
    • Repositories without this capability are no longer incorrectly assessed against this criterion.

Walkthrough

The RSR criteria fixture changes criterion 2.1.7 (maintainers) from universal applicability to governance-tier applicability. The detect field alignment also changes.

Changes

RSR criteria

Layer / File(s) Summary
Update maintainers criterion gate
test/fixtures/a2ml/rsr-criteria-v2.a2ml
Criterion 2.1.7 now applies only to repositories that declare the governance-tier capability. The detect field whitespace is realigned.

Estimated code review effort: 1 (Trivial) | ~2 minutes

Merge Risk: ⚪ Minimal · up to e90c1

This localized fixture update aligns the 2.1.7 gate value with the referenced standards change without introducing an actionable merge-blocking risk; it is merge-ready after normal checks and review.

Poem

A rabbit checks the gate with care
Governance tiers now wait there
Maintainers hop into the file
Aligned fields make the fixture smile
One small change, neat and square

🚥 Pre-merge checks | ✅ 3 | ❌ 2

❌ Failed checks (2 warnings)

Check name Status Explanation Resolution
Linked Issues check ⚠️ Warning The pull request updates an A2ML fixture for criterion 2.1.7. Linked issue #39 requires upgrading erlef/setup-beam from 1.17.5 to 1.20.4. The required dependency upgrade is not present. Implement the erlef/setup-beam upgrade described in issue #39, or link the pull request to the issue that covers the criterion 2.1.7 fixture correction.
Out of Scope Changes check ⚠️ Warning The fixture correction is unrelated to the directly linked issue #39, which concerns a GitHub Actions dependency upgrade. Remove the unrelated fixture change from this pull request, or update the linked issue to the requirement addressed by the change.
✅ Passed checks (3 passed)
Check name Status Explanation
Title check ✅ Passed The title clearly identifies the fixture update and the corrected 2.1.7 MAINTAINERS gate. It matches the main change.
Description check ✅ Passed The description directly explains the fixture change, its alignment with the standards SSOT, and the verification results.
Docstring Coverage ✅ Passed No functions found in the changed files to evaluate docstring coverage. Skipping docstring coverage check. Docstring coverage is scoped to functions touched by this diff. Analyzed 0 functions across 0…
Full details: Docstring Coverage

Explanation

No functions found in the changed files to evaluate docstring coverage. Skipping docstring coverage check. Docstring coverage is scoped to functions touched by this diff. Analyzed 0 functions across 0 files. (1 skipped: 1 unsupported.)

  • Fix all pre-merge checks with AI
✨ Finishing Touches 💡 1
🛠️ Fix failing CI checks 💡
  • Create stacked PR
  • Commit on current branch

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

Comment @coderabbitai help to get the list of available commands.

@gitar-bot

gitar-bot Bot commented Aug 27, 2026

Copy link
Copy Markdown

Important

You are using the Gitar free plan. Upgrade to unlock code review, CI analysis, auto-apply, custom automations, and more.

Gitar

@codacy-production

Copy link
Copy Markdown

Up to standards ✅

🟢 Issues 0 issues

Results:
0 new issues

View in Codacy

AI Reviewer: first review requested successfully. AI can make mistakes. Always validate suggestions.

Run reviewer

TIP This summary will be updated as you push new changes.

@codacy-production codacy-production Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull Request Overview

This PR updates the 2.1.7 (MAINTAINERS.adoc) criterion in the RSR criteria fixture, moving it from a 'universal' gate to 'governance-tier'. This alignment with the standards SSOT ensures that repositories not subject to governance-tier requirements are not incorrectly penalized for lacking the file.

Codacy analysis indicates the PR is up to standards with no new quality issues. However, there is a risk identified regarding the lack of verification: no regression tests were included to confirm that the rsr_conformance logic correctly excludes this criterion from the denominator for non-governance repositories.

About this PR

  • Although the fixture update is correct according to the SSOT, the PR does not include new regression tests to verify that repositories previously penalized by the 'universal' gate are now correctly scored under the 'governance-tier' logic.

Test suggestions

  • Verify that criterion 2.1.7 is correctly parsed as part of the 'governance-tier' gate.
  • Ensure a repository not declaring 'governance-tier' has criterion 2.1.7 excluded from its conformance denominator in rsr_conformance logic.
Prompt proposal for missing tests
Consider implementing these tests if applicable:
1. Verify that criterion 2.1.7 is correctly parsed as part of the 'governance-tier' gate.
2. Ensure a repository not declaring 'governance-tier' has criterion 2.1.7 excluded from its conformance denominator in rsr_conformance logic.

TIP Improve review quality by adding custom instructions
TIP How was this review? Give us feedback

@hyperpolymath
hyperpolymath merged commit e40031e into main Aug 27, 2026
79 of 100 checks passed
@hyperpolymath
hyperpolymath deleted the fix/maintainers-gate-governance-tier branch August 27, 2026 01:01
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