Repository navigation
fix(policy): accept Hermes GPU baseline enrichment - #10123
Conversation
Signed-off-by: Senthil Ravichandran <[email protected]>
|
No actionable comments were generated in the recent review. 🎉 ℹ️ Recent review info⚙️ Run configurationConfiguration used: Path: .coderabbit.yaml Review profile: CHILL Plan: Enterprise Run ID: 📒 Files selected for processing (1)
Included review availability: Your plan provides up to 12 included reviews per hour; 8 remain after this review. 📝 WalkthroughWalkthroughHermes Portable now accepts the documented OpenShell native-GPU baseline enrichment. It validates approved filesystem and device paths, rejects unsupported policy changes, and checks live-policy agreement with configured receipts outside pending lifecycle phases. ChangesNative GPU policy validation
Estimated code review effort: 3 (Moderate) | ~30 minutes Merge Risk: ⚪ Minimal · up to This change narrowly accepts the documented GPU policy enrichment while preserving strict drift rejection; no actionable merge-blocking risk remains. Sequence Diagram(s)sequenceDiagram
participant Onboarding
participant HermesPortablePolicyAuthority
participant OpenShellLivePolicy
participant ConfiguredReceipt
Onboarding->>HermesPortablePolicyAuthority: Parse create policy and verify live base
OpenShellLivePolicy->>HermesPortablePolicyAuthority: Provide native-GPU enriched policy
HermesPortablePolicyAuthority->>HermesPortablePolicyAuthority: Validate approved enrichment
Onboarding->>ConfiguredReceipt: Read recorded policy digest
Onboarding->>HermesPortablePolicyAuthority: Compare live and configured digests
HermesPortablePolicyAuthority-->>Onboarding: Accept or reject policy authority
Suggested reviewers: 🚥 Pre-merge checks | ✅ 5✅ Passed checks (5 passed)
✨ Finishing Touches📝 Generate docstrings
🧪 Generate unit tests (beta)
Comment |
PR Review Advisor — Blocking findings reportedAdvisor assessment: Blockers require maintainer review E2E guidanceAdvisory only. A maintainer can dispatch the default E2E suite for the commit under review. Recommended E2E: None Manual-only E2E: Blockers
|
Signed-off-by: Senthil Ravichandran <[email protected]>
Signed-off-by: Senthil Ravichandran <[email protected]>
|
Addressed PRA-1 in replacement revision af7d9ac. Configuring and active policy proofs now must match the live-policy digest already stored in the configured receipt; pending remains the only phase that establishes it. The regression records one accepted native-GPU enrichment, stops before registry publication, resumes with a different individually allowed GPU device set, and proves rejection before restart-policy mutation, registry publication, or active publication. Validation: 90/90 focused policy/onboarding/lifecycle tests PASS; CLI typecheck, Oxlint, repository checks, growth guardrails, secret scan, DCO, signatures, commit hooks, and pre-push typecheck PASS. |
Summary
Hermes Portable previously rejected the live policy after OpenShell added its documented native-GPU filesystem baseline. This change accepts only that bounded enrichment while preserving strict rejection of unrelated policy drift.
Related Issue
Fixes #10121
Changes
/procpromotion, and ordinary-policy misuse.Type of Change
Quality Gates
DGX Station Hardware Evidence
Verification
Signed-off-by:line and every commit appears asVerifiedin GitHubpre-commit,commit-msg, andpre-pushhooks passed, ornpm run validate:prpassed after refreshingorigin/mainwhen hooks were skipped or unavailablenpm testfor broad runtime/test-harness changes;npm run checkfor repo-wide validation/coverage changes — command/result:npm run docsbuilds without warnings (doc changes only)Additional verification:
npm run build:cli,npm run typecheck:cli,npm run checks:repository, Oxlint, Prettier, diff checks, and all commit/push hooks passed.Signed-off-by: Senthil Ravichandran [email protected]
Summary by CodeRabbit
New Features
Bug Fixes