ci: adopt repo-sentinel-lite v0.8.1 consumer gate - #8
Merged
Conversation
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
Adopt the reviewed production
repo-sentinel-lite==0.8.1release as the consumer integration boundary for issue #5.v0.8.1.Evidence Contract
7db916e1b9a9dbrepo-sentinel-lite==0.8.1eed8f484ba3e50cf0e86b61591a52b744dadf56apython -m repo_sentinel baseline audit --format json --baseline .reposentinel-baseline.json .c2193422cdf638f173c33890eef455d88aed7b039e3f7dcc3bf43501902ab962272, relocated7, changed0, ambiguous26, stale0, unmatched150repo.required_file_missing:0Design Decision
Use the stable PyPI release as the consumer proof. Do not pin the provider
mainbranch or a development commit. The changed-file job uses the base revision's baseline, blockserrorfindings, and treats.reposentinel.tomland.reposentinel-baseline.jsonas protected policy files. Baseline drift remains an independent,continue-on-erroraudit signal.Main Risk
The reviewed baseline still contains known educational and documentation findings. The risk is controlled by keeping baseline drift visible and requiring human review for policy changes; no automatic baseline refresh is introduced.
Compatibility Impact
Scanner, baseline, and changed-file semantics remain those of the published
v0.8.1release. Existing configuration and baseline files are unchanged. The new workflow requires onlycontents: readand runs on pull requests.Rollback Path
Remove
.github/workflows/repo-sentinel-gate.ymlto disable the remote jobs while retaining the local pre-push hook. The hook can be restored to the previous release pin if needed.Validation
python scripts/render_tags_doc.py --checkpython -m unittest discover -s tests -p 'test_*.py'python scripts/check_markdown.pypython scripts/test_repo_sentinel_integration.pyactionlint .github/workflows/repo-sentinel-gate.ymlpython -m pre_commit run --files .pre-commit-config.yaml docs/repo-sentinel-baseline-review.md .github/workflows/repo-sentinel-gate.yml scripts/test_repo_sentinel_integration.py