Repository navigation
docs(rules): fix cross-rule inconsistencies and add integrity checks - #7
Merged
Merged
Conversation
- ci.md: action examples use a pinned-SHA placeholder, consistent with the supply-chain rule; lint/test jobs are tool-agnostic (no hardcoded shellcheck/bats) - git.md: project profile moved to the top and referenced from the `main` protection row, which no longer contradicts the light profile - release.md: tag push uses a generic <remote> instead of `origin` - docs.md: VERSION single-source rule allows a documented toolchain exception; first commit follows Conventional Commits unless `init:` is explicitly requested - pr.md: linked issue mandatory in strict profile only - tests/test_rules_integrity.py: fail on unpinned action tags in examples and on rules neither imported nor marked experimental - agents/codex/AGENTS.md: regenerated - CHANGELOG.md: Added and Changed entries Signed-off-by: Eric Villard <dev@eviweb.fr>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Fix inconsistencies found in the rules audit (unpinned action examples contradicting the pin rule,
mainprotection vs light profile, hardcodedorigin, hardcoded lint/test tools,init:vs Conventional Commits, mandatory issue link) and add tests that prevent regressions.Linked issue
None (rules audit).
Changes
ci.md: pinned-SHA placeholder in examples; tool-agnostic lint/test jobsgit.md: project profile first, referenced from themainrowrelease.md: generic<remote>for the tag pushdocs.md: documented exception for theVERSIONsingle source; Conventional Commits for the first commitpr.md: linked issue mandatory in strict profile onlytests/test_rules_integrity.py: unpinned action tags and orphan rules checksagents/codex/AGENTS.md; CHANGELOG[Unreleased]updatedTest checklist
uv run pytest -v, 108 passed)CHANGELOG.md[Unreleased]section updatedai-rules generate,ai-rules verifyOK)shellcheck: no shell script modified