Repository navigation
docs: clarify permission modes and execution boundaries - #3504
Merged
Merged
Conversation
jonathanKingston
had a problem deploying
to
copse-review-models
October 4, 2026 17:40 — with
GitHub Actions
Failure
jonathanKingston
added a commit
that referenced
this pull request
Oct 4, 2026
…3531) ## Outcome The Actions migration omitted `COPSE_REVIEW_OPENROUTER_API_KEY` from the Copse caller's named secret mapping. The reusable model job references the key under `copse-review-models`, but receives an empty value and stops before a model call. Add the missing name to the caller contract as an empty placeholder. The protected job continues to resolve the value from its existing environment. Check that every secret referenced by the protected model job is explicitly included by the caller and that the dedicated key's caller value stays empty. Historical comparison: [the old full-review run](https://github.com/copse-dev/agent-pane/actions/runs/37198226591/attempts/1) received the environment key and published on PR #3504; [the new reusable run](https://github.com/copse-dev/agent-pane/actions/runs/37219842227) failed with an empty key on the same head. [actions/runner#4453](actions/runner#4453) reports matching environment-secret behavior at the reusable-workflow boundary. ## Risk and review Medium: this changes a credential contract. The patch adds one explicitly named key already declared by the reusable workflow and referenced only by its protected model job. The key remains in the existing environment; grounding still has no secret references. ## Validation - The new contract test fails on the original caller with the missing dedicated key. - Focused reviewer-action and CI-workflow invariant suites: 127 passed after the patch. - Actionlint for the caller and reusable workflow: passed. - Full local static gate: passed (syntax, TypeScript, type coverage, lint, formatting, site freshness, dead code, test oracle, E2E exclusions). - Full local `pnpm run check`: static gates passed; units finished with 13,059 passed, 18 failed, 9 cancelled and 22 skipped. Remaining failures are in local runtime/sandbox/home/process fixtures (including missing socat and read-only home paths); this is not a green full local gate. All reviewer/workflow contract tests passed. - GitHub CI on the final head: [CI Passed](https://github.com/copse-dev/agent-pane/actions/runs/37228508553/job/111515675996) succeeded. Static prechecks, selected reviewer-action units, and the real reviewer-container boundary check passed; heavy build/E2E jobs were intentionally skipped by the CI plan. CLA and Screenshot review also succeeded. - Final source: `8276594ec4773485fde1d636196eeb2dfe906db2`. - A fresh rerun of [the old full-review workflow](https://github.com/copse-dev/agent-pane/actions/runs/37198226591/attempts/2) succeeded and received the existing environment key, confirming that the environment remains functional. ## Remaining work GitHub environment-secret resolution and new review publication must be verified after this caller change is merged onto the trusted default branch. Local contract checks cannot establish delivery of an encrypted GitHub secret. Full local units retain the workspace limitations listed above; required PR CI has passed. This draft does not claim end-to-end completion.
jonathanKingston
temporarily deployed
to
copse-review-models
October 4, 2026 22:58 — with
GitHub Actions
Inactive
jonathanKingston
force-pushed
the
codex/docs-permissions-boundaries
branch
from
October 5, 2026 11:15
b748733 to
3f20579
Compare
Contributor
jonathanKingston
temporarily deployed
to
github-pages
October 7, 2026 08:34 — with
GitHub Actions
Inactive
This branch was previously deployed
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.
Outcome
Clarify when Copse approvals grant host access and when work remains contained. Update the user sandbox guide with an execution-boundary diagram and unattended Docker/Apple container behavior, explain trusted commands and run modes in the auto-approval guide, and add the complete high-level tool restriction matrix to the contributor contract.
Disclose the explicit ACP desktop sign-in staging exception for unattended runs, including its default-off consent, account-wide scope, and cleanup.
Correct the stale SSH warning to match the current gate: native commands use the actual remote execution target and are treated as unsandboxed even when the local sandbox is active.
Risk and review
Low: documentation only; no permission policy, execution code, or settings changes. The text describes security boundaries and was checked against the registry, permission gate, read-only allowlist, and container runtime. No independent human review has occurred.
Validation
Final source:
3f2057917db87348d64f9a415ccf864ae3d23608, rebased onto26f9cf401101e3da17ff3c2b0919d1e68930cad1(main).git diff --checkpassed.container-provider.ts,thread-container.ts, andagent-login.ts: supported Codex/Gemini ACP login staging is explicit, defaults off, transfers account-wide credentials to a disposable guest home, removes host staging, and discards guest refreshes.Remaining work
The existing contract requires sign-off from a named human security reviewer for the SSH section before merge.
Note
Medium risk
The change is documentation-only, but it revises user-facing descriptions of shell authorization, host execution, and sandbox boundaries across three security-policy guides.
Overview
Summary by Copse Reviewer for commit b748733. The review reported no issues. copse-review 0.1.0