Repository navigation
ci: trust bootstrap diagnostics policy - #12480
Conversation
Signed-off-by: Rebecca Sliter <[email protected]>
|
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. |
|
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 configurationConfiguration used: Repository: NVIDIA/NemoClaw/.coderabbit.yaml Review profile: CHILL Plan: Enterprise Run ID: 📒 Files selected for processing (6)
Included review availability: This review used your included allowance. Your plan provides up to 12 included reviews per hour; 8 remain after this review. 📝 WalkthroughWalkthroughThe runtime package pins ChangesRuntime Dependency Pin
Brev npm Diagnostics Template
Priority: ⬇️ Low Estimated code review effort: 3 (Moderate) | ~20 minutes Change: Other Suggested reviewers: Merge Risk: ⚪ Minimal · up to The change adds one trusted template digest, a regression test for it, and an undici pin compatible with the supported Node.js versions. No merge-blocking risk was identified. 🚥 Pre-merge checks | ✅ 4 | ❌ 1❌ Failed checks (1 warning)
✅ Passed checks (4 passed)
Full details: Docstring CoverageExplanation Docstring coverage is 0.00% which is insufficient. The required threshold is 80.00%. Docstring coverage is scoped to functions touched by this diff. Analyzed 4 functions across 3 files. (2 skipped: 2 unsupported.)
✨ Finishing Touches 💡 1📝 Generate docstrings 💡
🧪 Generate unit tests (beta)
Comment |
Code Coverage OverviewLanguages: TypeScript TypeScript / code-coverage/pluginThe overall line coverage in commit 93c87c6 in the Show a line coverage summary of the most impacted files.
TypeScript / code-coverage/cliThe overall line coverage in commit 93c87c6 in the Show a line coverage summary of the most impacted files.
Updated |
…192-trust-bootstrap-diagnostics-policy
…192-trust-bootstrap-diagnostics-policy
Signed-off-by: Rebecca Sliter <[email protected]>
…12192-trust-bootstrap-diagnostics-policy
Signed-off-by: Rebecca Sliter <[email protected]>
…tstrap-diagnostics-policy
Signed-off-by: Rebecca Sliter <[email protected]>
…tstrap-diagnostics-policy
…tstrap-diagnostics-policy
Signed-off-by: Rebecca Sliter <[email protected]>
Signed-off-by: Rebecca Sliter <[email protected]>
Signed-off-by: Rebecca Sliter <[email protected]>
|
PR Review Advisor finished for commit Request review only when Require no Advisor blockers is green. |
deepujain
left a comment
There was a problem hiding this comment.
Approval blocked on evidence for 93c87c6.
- [Blocking evidence] scripts/checks/extract-installer-pins.mts:523: GitHub cannot resolve the template commit cited in the PR body. Provide a reachable immutable source reference and parser evidence proving that source matches the added digest and that an operational mutation is rejected. The shipped-template tests do not verify this new entry.
- [Blocking evidence] agents/openclaw/openclaw-runtime/package.json:15: Advisor requires managed-image-multiarch-startup for this change. Retained OpenClaw, Hermes, and Deep Agents Code contracts cover amd64; provide passing amd64 and arm64 qualification for this commit or a recorded maintainer disposition.
Validation: 95 installer/locked-install tests, 7 growth tests, validate:pr, parser extraction, diff checks, and trusted gates passed. Audit suite: 37 passed, 9 failed identically on the base. Template-source verification unavailable; live qualification not dispatched under read-only authorization.
|
The two blocking evidence requests are now addressed without changing #12480 code. The exact #12239 source commit is published and GitHub-verified, the base-trusted parser accepts its expected digest and rejects an operational URL mutation, and trusted run https://github.com/NVIDIA/NemoClaw/actions/runs/37218801998 passed managed-image-multiarch-startup on both amd64 and arm64 with exact candidate/base/workflow binding and clean retained cleanup evidence. The immutable identities, job links, artifact names, and parser results are recorded under “Review evidence follow-up” in the PR body. |
There was a problem hiding this comment.
Both earlier findings are fixed; no new blocker found at 93c87c6.
Earlier findings:
- Template provenance - fixed at 93c87c6: published source 6facc73 matches the added digest; the parser rejects an operational URL mutation.
- Multiarchitecture qualification - fixed at 93c87c6: run 37218801998 passes amd64 and arm64 with matching candidate identities, three-agent contracts, and clean cleanup.
New findings: None.
Validation: 141 focused tests, 7 growth tests, validate:pr, SDK imports, trusted gates, and diff checks passed. Parser admission fails on the base and passes on this head; shipped output is unchanged. Retained E2E inspected; no live run dispatched.
Outcome
The protected installer-hash allowlist accepts the exact normalized Brev template produced by PR #12239 after its npm diagnostic sanitizer normalizes terminal controls before credential redaction. The OpenClaw runtime also pins
undicito8.10.2. Shipped bootstrap behavior and release pins remain unchanged.Reason
Exact-head automated review found that control bytes could split credential-shaped values before redaction. The scope-local repair changes the normalized template digest, so the protected base must authorize that exact repaired content independently before #12239 can proceed.
The trust rollout is intentionally two-step because candidate validation executes the parser from the protected base. PR #12239 remains the sole source owner for the bootstrap implementation; this prerequisite records only its exact normalized digest.
Related issues
Refs #12192
Changes
cfd709a9e481145a4e8ade4054d77ea487011f49458af0f995ec89733d762cb2to the protected allowlist.[email protected]and update its lockfile fixture.Verification
npx vitest run --project integration test/install/installer-hash-check.test.ts— passed, 81 tests.6facc734933fcae2c5da81f17ea5db0cc331a3fc— passed and returned the exact approved digest.npm run test:changed— passed.npm run validate:pr— passed.Review notes
This is a security trust-boundary change. The user explicitly approved authorizing only the exact normalized digest above. The candidate source remains independently reviewable in #12239. The Advisor repair removes the competing test-only reconstruction so the production script in #12239 is the single implementation owner.
Review evidence follow-up
No #12480 code changed for this evidence follow-up.
Signed-off-by: Rebecca Sliter [email protected]