Skip to content

ci: trust repaired bootstrap diagnostics template - #12302

Merged
rsliter merged 2 commits into
mainfrom
codex/12192-bootstrap-diag-trust-r2
Sep 23, 2026
Merged

rsliter merged 2 commits into
mainfrom
codex/12192-bootstrap-diag-trust-r2

Conversation

@rsliter

@rsliter rsliter commented Sep 23, 2026 •

Copy link
Copy Markdown
Collaborator

Outcome

The trusted installer parser recognizes the exact repaired Brev bootstrap diagnostics template proposed for #12239. Existing templates and OpenShell release pins remain unchanged.

Reason

#12239 cannot authorize its own protected bootstrap-script hash. The repository's two-step fail-closed boundary requires this exact allowlist prerequisite to land independently before the candidate can validate.

Related issues

Refs #12192

Changes

  • Add normalized Brev template SHA-256 d5694e92c90523573163236b8e637cc8daaf0427bda9348dfb0cfe6d0a6e140e to the OpenShell 0.0.116 trust record.
  • Retain the existing base-trusted parser and release identity. test/install/installer-hash-check.test.ts protects exact acceptance and fail-closed mutation behavior.

Verification

  • npx vitest run --project integration test/install/installer-hash-check.test.ts at 412a714b6028eef26104b89886da5deb41e8a343 on current base ad2b09682077ecac62525dc5d954311946536763 — 81 tests passed.
  • npm run validate:pr — pre-commit, repository checks, secret scanning, builds, publication validation, and pre-push TypeScript checks passed.
  • GitHub reports both published commits as Verified.
  • The diff contains no secrets, API keys, or credentials.

Review notes

The sensitive path is scripts/checks/extract-installer-pins.mts in NVIDIA/NemoClaw at 412a714b6028eef26104b89886da5deb41e8a343. No independent pre-publication review exists. This PR intentionally contains only the trust anchor; combining the candidate bootstrap behavior from #12239 with its allowlist entry would let the candidate self-authorize and violate the existing two-step fail-closed boundary.


Signed-off-by: Rebecca Sliter [email protected]

Summary by CodeRabbit

  • Security
    • Added a SHA-256 verification pin for the Advisor repair template.

@rsliter rsliter self-assigned this Sep 23, 2026
@copy-pr-bot

copy-pr-bot Bot commented Sep 23, 2026

Copy link
Copy Markdown

Auto-sync is disabled for draft pull requests in this repository. Workflows must be run manually.

Contributors can view more details about this message here.

@coderabbitai

coderabbitai Bot commented Sep 23, 2026 •

Copy link
Copy Markdown
Contributor

Review in Change Stack →

Navigate logical layers of code changes, visualize relationships, and explore their blast radius.

No actionable comments were generated in the recent review. 🎉

ℹ️ Recent review info
⚙️ Run configuration

Configuration used: Repository: NVIDIA/NemoClaw/.coderabbit.yaml

Review profile: CHILL

Plan: Enterprise

Run ID: f7744c3e-8b79-45f1-ba42-e31c48aca991

📥 Commits

Reviewing files that changed from the base of the PR and between ad2b096 and 412a714.

📒 Files selected for processing (1)
  • scripts/checks/extract-installer-pins.mts

Included review availability: Your plan provides up to 12 included reviews per hour; 11 remain after this review.


📝 Walkthrough

Walkthrough

The v0.0.116 trusted Brev template allowlist adds a SHA-256 digest for the exact #12192 Advisor repair template. Release pins and other trust records remain unchanged.

Changes

Brev template digest

Layer / File(s) Summary
Add Advisor repair template digest
scripts/checks/extract-installer-pins.mts
The v0.0.116 allowlist adds the digest for the exact #12192 Advisor repair template. Release pins remain unchanged.

Estimated code review effort: 1 (Trivial) | ~3 minutes

Suggested reviewers: cv

Merge Risk: ⚪ Minimal · up to 412a7

No actionable merge-blocking issue is established by the supplied evidence; the reported digest change appears bounded to the trust allowlist.

🚥 Pre-merge checks | ✅ 5
✅ Passed checks (5 passed)
Check name Status Explanation
Description Check ✅ Passed Check skipped - CodeRabbit’s high-level summary is enabled.
Title check ✅ Passed The title clearly identifies the main change: trusting the repaired bootstrap diagnostics template. It is concise and specific.
Docstring Coverage ✅ Passed No functions found in the changed files to evaluate docstring coverage. Skipping docstring coverage check. Docstring coverage is scoped to functions touched by this diff. Analyzed 0 functions across 1…
Linked Issues check ✅ Passed Check skipped because no linked issues were found for this pull request.
Out of Scope Changes check ✅ Passed Check skipped because no linked issues were found for this pull request.
✨ Finishing Touches 💡 1
🛠️ Fix failing CI checks 💡
  • Commit to this branch
  • Create a new PR
📝 Generate docstrings
  • Commit to this branch
  • Create a new PR
🧪 Generate unit tests (beta)
  • Commit to this branch
  • Create a new PR

Comment @coderabbitai help to get the list of available commands.

@github-code-quality

github-code-quality Bot commented Sep 23, 2026 •

Copy link
Copy Markdown
Contributor

Code Coverage Overview

Languages: TypeScript

TypeScript / code-coverage/plugin

The overall line coverage in commit 412a714 in the codex/12192-bootstra... branch remains at 96%, unchanged from commit 98889fb in the main branch.

TypeScript / code-coverage/cli

The overall line coverage in commit 412a714 in the codex/12192-bootstra... branch remains at 84%, unchanged from commit ad2b096 in the main branch.

Show a line coverage summary of the most impacted files.
File main ad2b096 codex/12192-bootstra... 412a714 +/-
src/lib/state/p...l-retirement.ts 79% 79% 0%
src/lib/agent/defs.ts 97% 97% 0%
src/lib/agent/s...-integration.ts 100% 100% 0%
src/lib/state/registry/lock.ts 97% 98% +1%
src/lib/onboard...age/contract.ts 97% 98% +1%
src/lib/agent/s...ory-contract.ts 96% 97% +1%
src/lib/security/redact-url.ts 99% 100% +1%
src/lib/messagi...nnels/policy.ts 97% 98% +1%
src/lib/agent/m...fest-readers.ts 95% 97% +2%
src/lib/agent/dashboard-ui.ts 91% 94% +3%

Updated September 23, 2026 18:58 UTC

@github-actions

Copy link
Copy Markdown
Contributor

PR Review Advisor finished for commit 412a714. Include the Advisor findings in the complete PR feedback collection. Verify and group valid findings before repair.

Request review only when Require no Advisor blockers is green.

All previous runs

@rsliter
rsliter marked this pull request as ready for review September 23, 2026 19:12
@rsliter
rsliter requested a review from prekshivyas September 23, 2026 21:05
@rsliter

rsliter commented Sep 23, 2026

Copy link
Copy Markdown
Collaborator Author

Qualification selector failure classification

This classification applies to exact PR head 412a714b6028eef26104b89886da5deb41e8a343 against base ad2b09682077ecac62525dc5d954311946536763.

  • Red check: select-llama-cpp-generic-gpu, which is not a required check.
  • Evidence: the unchanged trusted selector failed while reading PR metadata/files from GitHub and logged gh: HTTP 500; it did not reach candidate behavior.
  • Other results: every substantive qualification job passed or the unselected llama job skipped. Required CI, managed-image, Advisor, and CodeRabbit gates are green.
  • Classification: external GitHub API transient, inherited, and not candidate-owned or scope-local.
  • Disposition: no code change. No rerun is requested because the checked-in retry policy does not authorize restarting unchanged workflow work without a bounded retry rule for this failure. A one-off maintainer authorization does not replace that repository policy.

The apparent newly red state is the already-known qualification run becoming terminal, not a new PR revision or new candidate failure. The PR remains mergeable and awaits normal approval.

@rsliter
rsliter merged commit 40d9551 into main Sep 23, 2026
86 of 87 checks passed
@rsliter
rsliter deleted the codex/12192-bootstrap-diag-trust-r2 branch September 23, 2026 21:24
@wscurran wscurran added area: ci CI workflows, checks, release automation, or GitHub Actions area: security Security controls, permissions, secrets, or hardening chore Build, CI, dependency, or tooling maintenance platform: brev Affects Brev hosted development environments labels Oct 14, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

area: ci CI workflows, checks, release automation, or GitHub Actions area: security Security controls, permissions, secrets, or hardening chore Build, CI, dependency, or tooling maintenance platform: brev Affects Brev hosted development environments

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants