Skip to content

Isolate gate host identity and IPC#137

Merged
chasebryan merged 1 commit into
mainfrom
agent/isolate-gate-host-ipc
Jul 16, 2026
Merged

Isolate gate host identity and IPC#137
chasebryan merged 1 commit into
mainfrom
agent/isolate-gate-host-ipc

Conversation

@chasebryan

Copy link
Copy Markdown
Owner

Summary

  • run every copied gate command in private IPC and UTS namespaces
  • replace the host name with the fixed orange-gate identity and assert distinct namespace IDs
  • assert that fresh System V message, semaphore, and shared-memory tables are empty
  • protect the exact namespace contract with policy digests and mutation coverage

Verification

  • scripts/ci/check-repository
    • policy 0.2.87
    • 288 Python tests
    • Rust debug and release suites: 162 + 74 + 32 + 9 tests each
    • two relocated optimized builds matched byte-for-byte
    • 7 documentation tests
    • final policy and source-identity checks passed

Residual risk

  • local passwordless sudo fallback execution was unavailable because this host requires an interactive sudo password; the preferred unprivileged user-namespace path passed locally, and hosted Required CI will exercise the configured fallback if the runner rejects user namespaces
  • the host kernel, namespace implementation, fixed system tools, caller-provided standard descriptors, and non-System-V host identity/IPC surfaces remain trusted or residual boundaries

Rollback

Revert this commit to remove the IPC/UTS namespace flags, fixed hostname setup, namespace-ID assertions, and related policy/docs updates.

@chasebryan
chasebryan marked this pull request as ready for review July 16, 2026 01:36
@chasebryan
chasebryan merged commit d865e76 into main Jul 16, 2026
7 checks passed
@chasebryan
chasebryan deleted the agent/isolate-gate-host-ipc branch July 16, 2026 01:36
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