feat(overlay-open-skill-2): govern openai/codex codex-bug with consumed attenuation#335
Open
jdjioe5-cpu wants to merge 1 commit into
Open
Conversation
…ed attenuation, bound-checked allowed_output_prefix, max_skills cap, and approval gate
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
skills/overlay-open-skill-2/— a governed overlay wrappingopenai/codexcodex-bug/SKILL.md(Apache-2.0) under a pinned sha256 digest, a non-empty scope bound, an explicit allowed-tools set, anallowed_output_prefixattenuation that is actually consumed at execution, amax_skillscap that is actually enforced, and a seal-bearing approval gate that fires when the wrapped guidance names any of six security/compliance/network/credential/secret/publish keywords.X.yaml:pinned-digest-seals,digest-stale-refuses,attenuation-violation-refuses,approval-required-pending. All four pass underrunx harness skills/overlay-open-skill-2/SKILL.md --json.fixtures/mirror the inline cases for public replay.evidence.json,verification.json,HARNESS_EVIDENCE.md,REPORT.md.Bound check (consumed)
runner.scopes: ["repo.read"]— non-empty.runner.allowed_tools: ["shell.exec", "fs.read"]— non-empty, non-wildcard.allowed_output_prefix: "./.runx/bug-triage/"— every emittedoutput_pathis normalized andstartsWith-checked at execution./etc/passwd→ refused withrunx.overlay.attenuation.violation.max_skills: 1— everynested_skill_callsis integer-compared against the cap. Over-cap → refused withrunx.overlay.attenuation.violation.approval.gate_keywords: [security, compliance, network, credential, secret, publish]— when the wrapped guidance preview names any of these, the wrapper seals apending_approvalreceipt with a deterministicapproval_tokenand stops. A subsequent invocation supplying the matching token clears the gate and sealsready.Refusal paths
runx.overlay.digest.staleon digest mismatch.runx.overlay.scope.empty/runx.overlay.tools.unboundedon missing bounds.runx.overlay.attenuation.violationon path outsideallowed_output_prefixor nested-skill count overmax_skills.runx.overlay.approval.requiredon gate-keyword hit.runx.overlay.approval.rejectedon a stale or unrelatedapproval_token.Verification
4e46bc93876c7366eac7ccf48e5749d0e3af9208runx --versionreportsrunx-cli 0.6.14(meetsrunx_cli_min_version: 0.6.14).signature_mode: production,valid: true, no findings.Test plan
runx harness skills/overlay-open-skill-2/SKILL.md --json.runx harness skills/overlay-open-skill-2/fixtures/<case>.yaml --json.runx verify --receipt-dir .runx/receipts <id> --json.runx skill ./skills/overlay-open-skill-2/SKILL.md -i objective=... -i output_path=./.runx/bug-triage/case.md -i resolved_digest=sha256:cfdaae2defa524d9f2fb8573bb0e4961c99e2237d48666d9007e0ef5d210cbbf --json.Upstream identification
https://raw.githubusercontent.com/openai/codex/main/.codex/skills/codex-bug/SKILL.mdhttps://github.com/openai/codex(MIT/Apache-2.0 mix, public).Apache-2.0.