Skip to content

accept-native 6/7: prove trusted roots unwritable with the sandbox on; record what the disabled default allows - #35

Merged
SSFSKIM merged 1 commit into
mainfrom
fix/accept-native-sandbox-rows
Oct 5, 2026
Merged

SSFSKIM merged 1 commit into
mainfrom
fix/accept-native-sandbox-rows

Conversation

@SSFSKIM

@SSFSKIM SSFSKIM commented Oct 5, 2026

Copy link
Copy Markdown
Owner

What

Since #20, cua serve sends the disabled sandbox by default, so the probe-secrets step "model cells cannot plant a module in a trusted code root" failed on every Mac. That failed acceptance items 6 and 7. The owner's decision on #34 keeps disabled as the default and states the consequence instead.

Verification

  • npm test: 459/459. TDD: the new test/probe-trusted-roots.test.mjs and the new cases in test/accept-lib.test.mjs failed before the implementation existed.
  • Live: CUA_HOME=<scratch> node scripts/probe-secrets.mjs from this branch, against a scratch home with the pinned release 26.928.40906 installed, the helper built and the pty driver built. Status PASS, 34 steps. Sandbox on: state/codex, src/services, src/secrets and vendor modules all returned EPERM. Disabled: all four were writable (INFO), and every file was removed and verified removed. The Keychain round trip, sentinel scan and cleanup all passed. Running the runner's row logic over that report gives item 6 PASS and item 7 PASS, with the informational row showing as INFO.

Closes #34

…the disabled default allows

The probe-secrets plant-a-module step now runs on its own cua serve connection
with CUA_SHIM_SANDBOX=default (row: sandbox on: trusted roots unwritable, PASS
or FAIL), and the default (disabled) connection records which trusted roots a
cell could write as an informational INFO row, the accepted consequence of the
owner's decision on #20. Every file a cell writes is created exclusively, then
removed and verified removed; one left behind fails the row. The runner treats
INFO as neutral in every roll-up, and the probe phases name the items they are
evidence for. README and the Decision Log state the consequence.
@chatgpt-codex-connector

Copy link
Copy Markdown

You have reached your Codex usage limits for code reviews. You can see your limits in the Codex usage dashboard.
To continue using code reviews, add credits to your account and enable them for code reviews in your settings.

@SSFSKIM

SSFSKIM commented Oct 5, 2026

Copy link
Copy Markdown
Owner Author

Live acceptance from this branch (scratch CUA_HOME, pinned 26.928.40906, accept-native --live-keychain): item 6 PASS, item 7 PASS, with the sandbox-on row PASS (4 trusted roots EPERM) and the informational row INFO (4 writable, every file removed and verified removed). Items 1, 3, 4 and 10 pass. 2, 5, 8 and 9 are BLOCKED for reasons that predate this change: download mode needs a rerun, --live-textedit was not requested, and the release gates need another environment. Independent review (reviewer-medium): no material findings.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

accept-native items 6/7: prove the trusted-root guarantee with the sandbox on, and record what the disabled default allows

1 participant