Skip to content

devkit kit for a public repo: Risk tier, Publish check, reviewer from the notes - #1

Merged
tomdebres-agent merged 1 commit into
mainfrom
tomdebres-agent/kit-public
Nov 16, 2026
Merged

tomdebres-agent merged 1 commit into
mainfrom
tomdebres-agent/kit-public

Conversation

@tomdebres-agent

@tomdebres-agent tomdebres-agent commented Nov 15, 2026 •

Copy link
Copy Markdown
Collaborator

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):

  • Risk tier: scripts/risk-tier.mjs, .github/workflows/risk-tier.yml and risk-tier-review.yml, test/risk-tier.test.mjs. The table is .github/high-risk-paths.md (the gate's own rows), with .github/CODEOWNERS generated from it. On a public repo it also holds every PR from outside until the maintainer approves its head.
  • Publish check: scripts/publish-check.mjs and .github/workflows/publish-check.yml, on every PR and push to main.
  • Reviewer: claude-code-review.yml, scripts/review-round.mjs and test/review-round.test.mjs brought to b2ffdff. The workflow reads REVIEW.md from the private notes repo through the read-only NOTES_KEY deploy key, and its answer schema adds an Upstream severity that the old script didn't know.
  • ./verify --fast now also runs test/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.)
  • Saw the new step fail once: with an extra line in CODEOWNERS, ./verify --fast stopped at "risk tier" (✖ .github/CODEOWNERS is what the table generates, exit 1). Restored, it went green again.
  • publish-check --tree-only on the tree: clean (223 files).
  • Not covered locally: the full ./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

  • Brought review-round.mjs and 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.
  • No repo-specific high-risk rows yet. The table has only the gate's rows, the same as before, when no path needed approval.

… 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>
@github-actions

Copy link
Copy Markdown

Claude review, round 1 of 3 on 310bf55: no open Important findings.

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. test/review-round.test.mjs and test/risk-tier.test.mjs pass (41 tests). I read the workflows, risk-tier.mjs and the review-round changes. I did not read publish-check.mjs (515 lines) beyond running it, which flagged only the untracked REVIEW.md.

@tomdebres-agent
tomdebres-agent merged commit 1a9b4c0 into main Nov 16, 2026
3 checks passed
@tomdebres-agent
tomdebres-agent deleted the tomdebres-agent/kit-public branch November 16, 2026 00:22
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