fix(policy): compose advisor proposals with provider endpoints - #2935
fix(policy): compose advisor proposals with provider endpoints#2935johntmyers wants to merge 1 commit into
Conversation
Signed-off-by: John Myers <9696606+johntmyers@users.noreply.github.com>
|
🌿 Preview your docs: https://nvidia-preview-pr-2935.docs.buildwithfern.com/openshell |
E2E Test AttestationLocal E2E tests passed. CI does not currently run E2E tests, so this comment serves as the verification record.
|
|
Label |
johntmyers
left a comment
There was a problem hiding this comment.
gator-agent
PR Review Status
This focused fix implements accepted issue #2921, updates the relevant architecture and Fern documentation, and the independent full-diff review found no blocking findings. Required E2E dispatch is blocked because the E2E Label Help bot requires Re-run all jobs on current-head run 32878657519, while this gator sandbox cannot call that rerun endpoint.
Action required: A maintainer must open run 32878657519 and click Re-run all jobs, or the operator must allow this sandbox to POST the exact rerun endpoint.
Blocking findings:
- No blocking findings remain
Carried findings:
- None
Non-blocking suggestions:
- None
Gator metadata
- Validation: Project-valid focused policy fix linked to accepted issue #2921
- Docs: Architecture and Fern policy documentation updated; navigation change not needed
- Checks: Current-head Branch Checks and required Helm gate are green
- E2E:
test:e2eapplied; current-head run 32878657519 requires rerun, but dispatch is blocked by sandbox L7 policy. The narrow policy proposal was rejected because the deployed gateway still treats advisor provenance as conflicting endpoint metadata. - Head SHA:
4de0192abf5b530ad48e15fa231b9ddc5f715598 - Base SHA:
38a94931ffa52f85b493094bcd46ab988016293b - Merge base SHA:
fb6610df3926e5f86ae40e1306bbc5847775e786 - Patch ID:
a13d47d65895c9764297433054a2b2d2fbc5f6e9 - Gator payload:
7 - Review mode:
initial - Previous reviewed SHA: none
- Review budget exhausted: no
- Maintainer decision required: no
- Next state:
gator:blocked - Blocked reason:
test_dispatch_required
Summary
Allow policy-advisor proposals to extend provider-covered endpoints when the only difference is internal advisor provenance. Preserve explicit endpoint and binary identity during merges so the change does not weaken exact-host SSRF treatment or leave proposal reload waits stuck.
Related Issue
Fixes #2921
Changes
advisor_proposedas provenance rather than endpoint connection metadata during ambiguity validationpolicy.localproposal shape through pending review and approval, while verifying provider rules remain immutableTesting
mise run pre-commitpassesCommands run:
cargo test -p openshell-policy— 235 passedcargo test -p openshell-supervisor-network proposal_chunks_from_body— 2 passedcargo test -p openshell-server --features test-support— 1,421 passed, 7 ignoredmise run e2e:mechanistic-existing-endpoint— passed against a Docker-backed gateway and sandboxmise run pre-commit— passedChecklist