[claude-hackernews] Reply draft: Stop Treating Agent Sandboxes as Cattle, intent-vs-infra layer (id=48004872)#54
[claude-hackernews] Reply draft: Stop Treating Agent Sandboxes as Cattle, intent-vs-infra layer (id=48004872)#54NiveditJain wants to merge 1 commit intomainfrom
Conversation
Reply to OP on "Stop Treating Agent Sandboxes as Cattle" (opencomputer.dev rebuttal of the Mendral harness-outside-sandbox article we covered in PR #17). The article's egress-proxy + hibernate/checkpoint/fork story is a credible infrastructure answer; FailProof's PreToolUse policy layer is the orthogonal third axis (intent-time gating on the model's tool-call args, independent of where the harness lives or whether the credential ever materialized in the sandbox). Custom-policy snippet ties to the PocketOS volumeDelete incident this article's ecosystem references; not a repeat of the block-rm-rf or block-drop-database shapes used in earlier drafts/PRs.
📝 WalkthroughWalkthroughA new draft Markdown post was added replying to a Hackernews discussion on agent sandboxes. The draft challenges sandbox placement alone as a mitigation, presents a concrete ChangesDraft Reply on Agent Sandbox Placement
Estimated code review effort🎯 1 (Trivial) | ⏱️ ~3 minutes Possibly related PRs
Poem
🚥 Pre-merge checks | ✅ 5✅ Passed checks (5 passed)
✏️ Tip: You can configure your own custom pre-merge checks in the settings. Review rate limit: 3/5 reviews remaining, refill in 15 minutes and 23 seconds. Comment |
There was a problem hiding this comment.
Actionable comments posted: 1
🧹 Nitpick comments (1)
drafts/2026-05-04T112801Z.md (1)
13-13: 💤 Low valueConsider using ASCII hyphen for consistency.
The em-dash (—) on this line could be replaced with a regular hyphen or double-hyphen for consistency with the ASCII-only guideline, though this is internal context rather than HN-bound text.
Optional ASCII fix
-3. **Cattle vs pets durability**: Third option = "git branches for VMs" — hibernate to survive planned restarts, checkpoint to survive hard failures, fork to explore alternatives in parallel. +3. **Cattle vs pets durability**: Third option = "git branches for VMs" - hibernate to survive planned restarts, checkpoint to survive hard failures, fork to explore alternatives in parallel.🤖 Prompt for AI Agents
Verify each finding against the current code and only fix it if needed. In `@drafts/2026-05-04T112801Z.md` at line 13, The line "3. **Cattle vs pets durability**: Third option = "git branches for VMs" — hibernate to survive planned restarts, checkpoint to survive hard failures, fork to explore alternatives in parallel." uses an em-dash (—); replace it with an ASCII hyphen (-) or double-hyphen (--) to meet the ASCII-only guideline so the sentence reads e.g. "...git branches for VMs" - hibernate to survive..." while keeping the surrounding text and punctuation unchanged.
🤖 Prompt for all review comments with AI agents
Verify each finding against the current code and only fix it if needed.
Inline comments:
In `@drafts/2026-05-04T112801Z.md`:
- Line 19: The fenced code block containing "(disclosure: I work on FailProof
AI: https://github.com/exospherehost/failproofai)" lacks a language specifier;
update its opening fence from ``` to ```text (or ```markdown) so the block reads
as a text/markdown code block, which will satisfy markdownlint MD040 and ensure
correct rendering.
---
Nitpick comments:
In `@drafts/2026-05-04T112801Z.md`:
- Line 13: The line "3. **Cattle vs pets durability**: Third option = "git
branches for VMs" — hibernate to survive planned restarts, checkpoint to survive
hard failures, fork to explore alternatives in parallel." uses an em-dash (—);
replace it with an ASCII hyphen (-) or double-hyphen (--) to meet the ASCII-only
guideline so the sentence reads e.g. "...git branches for VMs" - hibernate to
survive..." while keeping the surrounding text and punctuation unchanged.
🪄 Autofix (Beta)
Fix all unresolved CodeRabbit comments on this PR:
- Push a commit to this branch (recommended)
- Create a new PR with the fixes
ℹ️ Review info
⚙️ Run configuration
Configuration used: Organization UI
Review profile: CHILL
Plan: Pro
Run ID: b1854f52-9d31-46b8-a7c5-23203d002b65
📒 Files selected for processing (1)
drafts/2026-05-04T112801Z.md
|
|
||
| ## My reply | ||
|
|
||
| ``` |
There was a problem hiding this comment.
Specify language for fenced code block.
The fenced code block should specify a language identifier for proper rendering and linting compliance. Since this block contains the reply text (not executable code), use text or markdown.
Suggested fix
-```
+```text
(disclosure: I work on FailProof AI: https://github.com/exospherehost/failproofai)As per coding guidelines, this addresses the markdownlint warning for fenced-code-language (MD040).
🧰 Tools
🪛 markdownlint-cli2 (0.22.1)
[warning] 19-19: Fenced code blocks should have a language specified
(MD040, fenced-code-language)
🤖 Prompt for AI Agents
Verify each finding against the current code and only fix it if needed.
In `@drafts/2026-05-04T112801Z.md` at line 19, The fenced code block containing
"(disclosure: I work on FailProof AI:
https://github.com/exospherehost/failproofai)" lacks a language specifier;
update its opening fence from ``` to ```text (or ```markdown) so the block reads
as a text/markdown code block, which will satisfy markdownlint MD040 and ensure
correct rendering.
Summary
Discovery
/newsp1 + p2,/showp1 + p2,/active,/best,/ask,/newest. Algolia searches across past day / past week / past month for:claude deleted,agent guardrails,claude code,cursor agent,agent rm,agent sandbox,MCP security,prompt injection,agent reliability,claude code hooks,agent pushed main,claude committed,cursor deleted,secrets leaked agent,claude code leaked,claude force push,AI coding agent. Most agent-failure-shaped threads with engagement were already covered by existing PRs ([claude-hackernews] Reply draft: Claude 4.7 ignoring stop hooks (id=47895029) #8, [claude-hackernews] Reply draft: AgentPort vs runtime-hook layer (id=47950752) #11, [claude-hackernews] Reply draft: rogue Cursor agent, sanitize-connection-strings (id=47973681) #15-19, [claude-hackernews] Reply draft: OMAR Show HN, policy-as-code at swarm scale (id=47978340) #22-53). 48004872 was the strongest uncovered fit even at low engagement, because the topic is squarely FailProof's lane (an article-format technical post inviting design discussion on agent isolation and lifecycle), and the comment offers a third dimension that genuinely composes with the article's argument rather than competing with it.Why this thread
deny-volume-delete, tied directly to the PocketOS / Railway volumeDelete verb. Distinct fromblock-rm-rf(PR [claude-hackernews] Reply draft: harness-outside-sandbox, PreToolUse firewall layer (id=47990675) #17),block-drop-database(comments/2026-04-29T043958Z.md),sanitize-connection-strings(PR [claude-hackernews] Reply draft: rogue Cursor agent, sanitize-connection-strings (id=47973681) #15), and the others in the open-PR set. Surrounding paragraph is materially different from any earlier draft — about credential-isolation-vs-intent-gating axes, not about firewall layering or post-incident snippets.grep -rl 'item?id=48004872' drafts/ comments/returned nothing;gh pr listfilter on48004872returned no open PRs. No prior coverage.Reply (verbatim, ASCII only)
Test plan
INSTRUCTIONS.mdTone section: one disclosure line (lowercaseddisclosure:in parens), one custom-policy snippet only, no install command, no comma-list of policy names, no two-link pattern, no dashboard plug, no feature-catalog talk.[flagged]/[dead]at post time.drafts/,comments/, open PRs foritem?id=48004872) at post time as a belt-and-suspenders.🤖 Generated with Claude Code
Summary by CodeRabbit