fix(evidence): disclose HIL metal run path; correct POSIX runner profile claims - #13
Merged
Merged
Conversation
…ile claims Closes two evidence/claim-honesty review findings. - HIL: per-gate evidence now stamps claim_path (operator-golden-machine vs appliance-mediated) plus an appliance object, so standalone golden-machine PASS/METAL can no longer be mistaken for appliance-mediated S13 graduation. just hil-appliance validates both paths; EVIDENCE_LEVELS requires claim_path disambiguation. - POSIX: default profile is honestly reported host-portable-rlimits-only (seccomp/namespaces/chroot helpers remain tested but are not default-wired). Runtime logs the real control state, a unit contract locks the profile, and the S7 gate asserts actual controls instead of the blanket 'Sandbox: ENABLED'. Risk restored to HIGH. DECISIONS.md records both decisions (chosen/rejected/gate).
maxwellsantoro
approved these changes
Jun 25, 2026
maxwellsantoro
left a comment
Owner
There was a problem hiding this comment.
A3 approval. Both findings independently verified closed (HIL claim_path disambiguation + POSIX profile honesty; code/gate/docs three-way consistent). Full Foundry suite green on CI (foundry PASS 6m26s, merge-gate PASS). Separation held: opened by ramen-implementer[bot] (A2), approved by a different identity.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Closes two evidence/claim-honesty findings from review.
1. HIL metal graduation now discloses its run path
Standalone golden-machine
PASS/METALstays legitimate (valid perEVIDENCE_LEVELS.mdwhenRAMEN_HIL_GRADUATION=1+ live serial + target-emitted provenance markers), but per-gate HIL evidence JSON now carries:claim_path—operator-golden-machinevsappliance-mediated(plusappliance-live/operator-live/development-log-replay/qemu-or-scaffoldfor non-graduation paths).applianceobject (controller id, target id, controller evidence/log refs, power events) populated only whenRAMEN_HIL_APPLIANCE=1.So a standalone run can no longer be silently read as appliance-mediated S13 graduation.
claim_pathis also required by a doctrine check in the gate, tying the doc to the code. Previously the appliance evidence fields documented inEVIDENCE_LEVELS.mdwere never emitted at all.2. POSIX runner default profile is honestly reported
The default
posix_run_v0_sandboxedprofile ishost-portable-rlimits-only(seccomp=false namespaces=false chroot=false rlimits=true). Seccomp/namespace/chroot helpers remain implemented + unit-tested insandbox.rsbut are not wired into the default path (not portable on unprivileged CI). The security doc previously overclaimed "actual enforcement" for all three, and the S7 gate only grepped a blanketSandbox: ENABLEDlog string.Now: the runtime logs the real control state, a unit contract locks the profile, the S7 gate asserts the actual
seccomp=false namespaces=false chroot=false rlimits=truestring, andPOSIX_RUNNER_SECURITY.md/SECURITY_STATUS.mdcorrect the claims (risk restored to HIGH).DECISIONS.mdrecords both decisions (chosen/rejected/gate) and tracks wiring real enforcement in as future work behind a portable pre-exec design.Validation
cargo fmt --all -- --checkjust foundry-org-governance-g0just hil-appliance(newper_gate_evidence_contractstep)just foundry-s7-posix-runner-security(new Test 4 honesty check + Test 4b unit contract)Notes
ramen-implementer[bot](A2); awaiting a different identity (A3) to approve + merge per separation of duties..rs/.sh), so thefoundryjob runs under the path-scoped merge-gate.