Skip to content

Instantly share code, notes, and snippets.

View adipasquale's full-sized avatar

Adrien Di Pasquale adipasquale

View GitHub Profile
@wincent
wincent / agent-sandboxen.md
Last active November 18, 2026 23:32
List of coding agent sandboxes 2026-05

Coding Agent Sandboxes — Comprehensive List

Compiled from awesome-lists (restyler/awesome-sandbox, webcoyote/awesome-AI-sandbox, bureado/awesome-agent-runtime-security) and a survey of vendor blogs / field guides published through 2026. Grouped by isolation primitive and then by deployment model.

1. OS-level primitives (no container, no VM)

These rely on kernel/userland features to constrain a normal host process. Lowest overhead, weakest boundary.

  • macOS Seatbelt / sandbox-exec — Apple's TrustedBSD-based MAC framework. Used directly by Codex CLI, Gemini CLI, and underneath Anthropic's srt.
  • Linux Landlock — Unprivileged filesystem/network LSM; default backend for Codex CLI on Linux.
@ianjamieson
ianjamieson / init.lua
Last active February 11, 2026 09:32
Highlight macOS active windows using Hammerspoon init.lua
local highlight = nil
local function highlightWindow()
-- Clear any existing highlight
if highlight then
highlight:delete()
highlight = nil
end
-- Get the currently focused window
# This is a workaround for the Rails issue described in
# https://github.com/rails/rails/issues/17368.
#
# When assigning `_ids=` on a has_many :through association, Rails immediately
# persists the changes to the join table — even before `save` is called. This
# module defers that persistence to an `after_save` callback, so the IDs are
# only written when the parent record is saved.
#
# If you use this, make sure you understand its code and what it does and what
# it doesn't.