Repository navigation
devkit kit for a public repo: Risk tier, Publish check, reviewer from the notes - #1
Merged
Merged
Conversation
… the notes kit-install --public --reviewer at devkit b2ffdff (route B): - Risk tier (scripts/risk-tier.mjs, its workflows and test), with the table in .github/high-risk-paths.md and CODEOWNERS generated from it. On a public repo it holds every outside PR until the maintainer approves its head. - Publish check (scripts/publish-check.mjs and its workflow) on every PR and push to main. - The reviewer workflow, review-round.mjs and its test brought to b2ffdff: the workflow reads REVIEW.md from nockmark-notes with the NOTES_KEY deploy key, and its answer schema adds the Upstream severity the old script lacked. - ./verify --fast runs test/risk-tier.test.mjs beside the reviewer's test. Co-authored-by: Tom de Bres <tomdebres@users.noreply.github.com>
|
Claude review, round 1 of 3 on Round 1 found no bugs. The diff is CI and gate tooling: Risk tier, Publish check, the review-round scope hook and CODEOWNERS. None of it touches the registry, the verifier, the challenge logic or the pins. |
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.
What and why
nockmark is now a public repo whose agent notes live in a private repo. This installs devkit's kit for that layout (devkit b2ffdff,
kit-install --public --reviewer):scripts/risk-tier.mjs,.github/workflows/risk-tier.ymlandrisk-tier-review.yml,test/risk-tier.test.mjs. The table is.github/high-risk-paths.md(the gate's own rows), with.github/CODEOWNERSgenerated from it. On a public repo it also holds every PR from outside until the maintainer approves its head.scripts/publish-check.mjsand.github/workflows/publish-check.yml, on every PR and push to main.claude-code-review.yml,scripts/review-round.mjsandtest/review-round.test.mjsbrought to b2ffdff. The workflow reads REVIEW.md from the private notes repo through the read-onlyNOTES_KEYdeploy key, and its answer schema adds anUpstreamseverity that the old script didn't know../verify --fastnow also runstest/risk-tier.test.mjs.How it was tested
./verify --fast: green in 13 s: the reviewer test 15 passed, the risk-tier test 26 passed, 0 failures. (Corrected after merge: an earlier version of this line gave 5 and 3, which counted only the test names a filter showed.)./verify --faststopped at "risk tier" (✖ .github/CODEOWNERS is what the table generates, exit 1). Restored, it went green again.publish-check --tree-onlyon the tree: clean (223 files)../verify(cargo test). Nothing here touches Rust, and CI runs it.Risk
Medium. It touches
.github/**, the gates themselves. Risk tier can't gate its own install: until branch protection requires it, it reports but doesn't block.How to undo
Revert this commit. The reviewer then goes back to reading a REVIEW.md that this repo no longer has.
Decisions
review-round.mjsand its test to b2ffdff along with the workflow (kit-install had kept the old ones), so that the workflow's schema and the script agree on severities.