Skip to content

test(code-review): establish CR-6 native isolation limits - #396

Merged
BunsDev merged 2 commits into
mainfrom
cr6-isolation
Oct 24, 2026
Merged

BunsDev merged 2 commits into
mainfrom
cr6-isolation

Conversation

@BunsDev

@BunsDev BunsDev commented Oct 23, 2026

Copy link
Copy Markdown
Contributor

CR-6 Phase 1 now has reproducible opt-in tests against the installed native Claude and Codex CLIs, plus an evidence report. Codex 0.164.0's tested read-only profiles still permit arbitrary shell execution; the built-in profile also permits outside reads and inherited synthetic credentials. Claude Code 2.1.310's restricted Read-only configuration rejects the injected shell, write, fetch, MCP and outside/symlink reads under a scripted loopback provider, with working hook/MCP positive controls.

These are bounded native enforcement results. They do not certify authenticated startup or Modex's existing production launchers. Review, PR questions and instructions remain unavailable; C82 and Phase 2 gates are unchanged. No live inference, foreign PR execution, findings publication, merge or release is included.

Validation:

  • pnpm build: passed.
  • pnpm test: 2,016 passed, 21 skipped; five skips are the opt-in native probes.
  • Explicit native suite: five passed, zero skipped, using disposable repositories, homes, sentinel credentials and owned loopback listeners.
  • Three deliberately weakened policies failed before restoration. Original startup/runtime failures remain recorded as failures, not policy denials.
  • Independent security review found no remaining important issues for this bounded Phase 1 publication.

Tested signed implementation: 10326f2adf505cbb5e833c8f29a88c777ca60ff9. The final receipt commit changes documentation only. UI E2E was not required for this test/documentation-only slice; real application integration and an explicitly authorized, budgeted live canary remain open gates. Hosted CI is pending; no hosted pass is claimed.

The evidence report records commands, versions, denials, counterexamples, residual limits and the next action. Raw receipts are archived outside the worktree. Refs #325 and #319; this does not close CR-6.

@vercel

vercel Bot commented Oct 23, 2026

Copy link
Copy Markdown

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated
modex Ready Ready Preview Oct 23, 2026 11:56pm UTC

Request Review

@github-code-quality

Copy link
Copy Markdown

Code coverage overview

Languages: TypeScript

TypeScript / code-coverage-agent

main 203a350 cr6-isolation c462442 +/-
65% 65% 0%

ℹ️ Calculations represent line coverage. Results may change as calculations are updated.

@BunsDev
BunsDev added this pull request to the merge queue Oct 24, 2026
Merged via the queue into main with commit 03ce71a Oct 24, 2026
13 checks passed
@BunsDev
BunsDev deleted the cr6-isolation branch October 24, 2026 07:01

This branch was successfully deployed

1 active deployment
Preview — c462442c Deployed Oct 23, 2026 by vercel[bot]
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.

1 participant