Skip to content

ci: trust secure bootstrap diagnostics template - #12378

Merged
rsliter merged 1 commit into
mainfrom
codex/12192-bootstrap-diagnostics-trust-followup
Sep 28, 2026
Merged

rsliter merged 1 commit into
mainfrom
codex/12192-bootstrap-diagnostics-trust-followup

Conversation

@rsliter

@rsliter rsliter commented Sep 28, 2026 •

Copy link
Copy Markdown
Collaborator

Outcome

Authorize the exact secure bootstrap diagnostic template prepared in #12239 through the independent base-trusted allowlist. This PR adds one normalized template digest and its comment; the shipped bootstrap and release pins are unchanged.

Reason

Automated review required #12239 to keep reviewed-npm failure diagnostics bounded and credential-safe, and the bootstrap wrapper also needed to restore the caller's umask before npm installation. Those scope-local repairs produce normalized operational-template digest 67bc3071e844cbe4cbc8c94084523804fab3d59b0c705077cdda822ce66fd1db. The independent trust gate must accept that exact template before the candidate can pass installer-hash validation.

Related issues

Refs #12192. Independent prerequisite for #12239 at 1bcc74fab314e7b3b075cb7254c4b741cb4ba4c1.

Changes

Verification

  • vitest run --project integration test/install/installer-hash-check.test.ts — 81 passed.
  • Parser from this separate checkout evaluated the exact candidate files and accepted digest 67bc3071e844cbe4cbc8c94084523804fab3d59b0c705077cdda822ce66fd1db for both Brev records.
  • git diff --check — passed.
  • Diff inspection confirmed this PR changes only the protected trust parser and contains no secret, API key, or credential.

Review notes

Sensitive path: scripts/checks/extract-installer-pins.mts. Self-review confirmed the digest came from the exact candidate head, the shipped bootstrap is unchanged here, and the trust decision remains independent from the candidate implementation.


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

Summary by CodeRabbit

  • Chores
    • Installer verification now recognizes the secure npm diagnostics template associated with OpenShell v0.0.116. Existing release pins and template verification remain unchanged, so this update does not alter the handling of other trusted templates or releases. No new user-facing controls or workflows are included in this change.

@coderabbitai

coderabbitai Bot commented Sep 28, 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: 743152c2-5b5a-41bd-969e-1c52d029375a

📥 Commits

Reviewing files that changed from the base of the PR and between 241fcd1 and 40a53c6.

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

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


📝 Walkthrough

Walkthrough

The v0.0.116 Brev template allowlist now includes the digest for the secure npm diagnostics template. Release pins remain unchanged.

Changes

Brev template trust

Layer / File(s) Summary
Add the template digest
scripts/checks/extract-installer-pins.mts
The v0.0.116 Brev template allowlist adds the secure npm diagnostics template digest. Release pins remain unchanged.

Priority: ⬇️ Low

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

Change: Feature

Suggested reviewers: ericksoa

Merge Risk: ⚪ Minimal · up to 40a53

The change adds one template digest to the v0.0.116 Brev allowlist and leaves release pins unchanged. The exact digest-to-template match could not be independently checked, but no concrete failure or broader authorization change is established, so no actionable merge blocker remains.

🚥 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 and concisely describes the main change: adding trust for the secure bootstrap diagnostics template.
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
📝 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 28, 2026 •

Copy link
Copy Markdown
Contributor

Code Coverage Overview

Languages: TypeScript

TypeScript / code-coverage/plugin

The overall line coverage in commit 40a53c6 in the codex/12192-bootstra... branch remains at 96%, unchanged from commit 63002cd in the main branch.

TypeScript / code-coverage/cli

The overall line coverage in commit 40a53c6 in the codex/12192-bootstra... branch remains at 84%, unchanged from commit 63002cd in the main branch.

Show a line coverage summary of the most impacted files.
File main 63002cd codex/12192-bootstra... 40a53c6 +/-
src/lib/actions...flight-phase.ts 98% 90% -8%
src/lib/actions...up-authority.ts 73% 70% -3%
src/lib/agent/dashboard-ui.ts 94% 91% -3%
src/lib/actions...backup-phase.ts 78% 76% -2%
src/lib/onboard...eway-service.ts 85% 85% 0%
src/lib/state/sandbox.ts 92% 92% 0%
src/lib/actions...ridge-source.ts 80% 81% +1%
src/lib/onboard...tate-capture.ts 90% 91% +1%
src/lib/actions...ld-mcp-phase.ts 84% 87% +3%
src/lib/agent/s...store-reader.ts 86% 92% +6%

Updated September 28, 2026 06:47 UTC

@github-actions

Copy link
Copy Markdown
Contributor

PR Review Advisor finished for commit 40a53c6. 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 enabled auto-merge (squash) September 28, 2026 07:04
@rsliter
rsliter merged commit 7e1310c into main Sep 28, 2026
84 checks passed
@rsliter
rsliter deleted the codex/12192-bootstrap-diagnostics-trust-followup branch September 28, 2026 15:52
rsliter added a commit that referenced this pull request Sep 28, 2026
@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