Integrate repo-guard into pjson PR workflow#21
Merged
Conversation
Adding .gitkeep for PR creation (default mode). This file will be removed when the task is complete. Issue: netkeep80#17
Contributor
Author
Solution summaryImplemented and pushed the fix to PR: #21 What changed:
Verification passed:
Latest PR checks are passing:
Working tree is clean and the branch is up to date with Suggested follow-ups:
This summary was automatically extracted from the AI working session output. |
Contributor
Author
🤖 Solution Draft LogThis log file contains the complete execution trace of the AI solution draft process. 💰 Cost estimation:
📊 Context and tokens usage:
Total: (90.7K + 3.5M cached) input tokens, 28.4K output tokens, $2.834978 cost 🤖 Models used:
📎 Log file uploaded as Repository (28987KB)Now working session is ended, feel free to review and add any feedback on the solution draft. |
Contributor
Author
✅ Ready to mergeThis pull request is now ready to be merged:
Monitored by hive-mind with --auto-restart-until-mergeable flag |
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.
Fixes #17
Summary
.github/workflows/repo-guard.ymlas a pull request policy gate using the pinned reusablenetkeep80/repo-guardAction incheck-prmode.scripts/validate-repo-guard-workflow.jsso workflow/policy/template wiring is checked in CI.README.mdand.github/PULL_REQUEST_TEMPLATE.md.Change Contract
Reproduction
Before the rollout,
node scripts/validate-repo-guard-workflow.jsfailed because.github/workflows/repo-guard.ymlwas absent and the policy/docs/CI wiring did not mention the repo-guard PR gate.After the change, the validator passes and the staged diff passes
repo-guardin blocking mode with the contract above.Verification
node scripts/validate-repo-guard-workflow.jsnode scripts/validate-requirements.jsnode scripts/validate-docs-headings.jsbash experiments/test-validation.shbash experiments/test-docs-headings-validation.shnode /tmp/repo-guard/src/repo-guard.mjs --repo-root .node /tmp/repo-guard/src/repo-guard.mjs --repo-root . --enforcement blocking check-diff --contract /tmp/pjson-repo-guard-contract.json --format summarynode /tmp/repo-guard/src/repo-guard.mjs --repo-root . doctor(local-only warning:GITHUB_EVENT_PATHis not set outside GitHub Actions)yamlpackage