<!-- mobian-agent-page publisher="dailydev" canonical="https://daily.dev/posts/KkRMuCu6v" -->

---
title: claude-bulkhead is a Claude Code plugin of hooks that...
description: Replaying two weeks of Claude Code transcripts found 507 shell commands that would have been blocked because they could take down work in another session. The...
canonical: https://daily.dev/posts/claude-bulkhead-is-a-claude-code-plugin-of-hooks-that-cancels-shell-commands-which-would-break-anoth-kkrmucu6v
twitter:card: summary_large_image
twitter:site: @dailydotdev
og:type: website
og:site_name: daily.dev
og:title: claude-bulkhead is a Claude Code plugin of hooks that cancels shell commands which would break another live session on the same machine. I am the author. Its read-only scan flagged 507 of 101,167 commands in my last two weeks of logs. | daily.dev
og:description: Replaying two weeks of Claude Code transcripts found 507 shell commands that would have been blocked because they could take down work in another session. The...
og:url: https://daily.dev/posts/claude-bulkhead-is-a-claude-code-plugin-of-hooks-that-cancels-shell-commands-which-would-break-anoth-kkrmucu6v
og:image: https://api.daily.dev/og/posts/KkRMuCu6v.png
og:image:alt: claude-bulkhead is a Claude Code plugin of hooks that cancels shell commands which would break another live session on the same machine. I am the author. Its read-only scan flagged 507 of 101,167 commands in my last two weeks of logs.
og:image:width: 1200
og:image:height: 630
og:locale: en
---

> ## Documentation Index
> Fetch the complete documentation index at: https://daily.dev/llms.txt
> Use this file to discover all available pages before exploring further.

# claude-bulkhead is a Claude Code plugin of hooks that cancels shell commands which would break another live session on the same machine. I am the author. Its read-only scan flagged 507 of 101,167 commands in my last two weeks of logs.

**[Agentic Engineering](https://daily.dev/sources/agentic)** · [@user682216](https://daily.dev/user682216) · 1 upvotes · 2 comments

## Summary

Replaying two weeks of Claude Code transcripts found 507 shell commands that would have been blocked because they could take down work in another session. The author analyzed 1,536 transcript files covering 204 sessions and 101,167 Bash/PowerShell commands, with a peak of 13 concurrent sessions on November 1. The most uncomfortable case: 25 git add -A commands run while another session was active in the same tree within 10 minutes. The author built PreToolUse hooks that block risky commands like pkill node, duplicate npm run dev ports, or rm -rf on an in-use worktree, shipped as an open-source plugin called claude-bulkhead.

## Full article

daily.dev links to this article rather than hosting it. Read it at the original source: <https://dev.to/dooly6276/i-replayed-two-weeks-of-claude-code-transcripts-to-see-what-my-parallel-sessions-did-to-each-other-4n5b>

## Community discussion

Top comments from developers on daily.dev.

**@jul1anodev** · 0 upvotes

> The distinction between a rule match and actual damage is useful. Same for leaving port and memory checks out of the replay rather than inventing historical state.
>
> One question on fail-open behavior: does a guard failure produce a visible warning or a separate diagnostic counter? Otherwise a broken guard could look like a clean run.
>
> I'm building easi.run, where browser ownership is another shared-resource boundary. Would a session-owned resource registry help here, or would keeping it accurate add more failure modes than the process checks avoid?

## Similar posts on daily.dev

- [Sixty-six commits and the commands that didn't survive](https://daily.dev/posts/sixty-six-commits-and-the-commands-that-didn-t-survive-fx61aptnq) · thoughbot · 0 upvotes · 0 comments
- [I gave Claude Code my dotfiles, and it rewrote my whole shell](https://daily.dev/posts/i-gave-claude-code-my-dotfiles-and-it-rewrote-my-whole-shell-oltovjbp6) · XDA Developers · 0 upvotes · 0 comments
- [Inside the Development Workflow of Claude Code's Creator](https://daily.dev/posts/inside-the-development-workflow-of-claude-code-s-creator-rmtwa51nd) · InfoQ · 2 upvotes · 1 comments
- [Claude didn’t get ten times smarter. You started running ten of them.](https://daily.dev/posts/claude-didn-t-get-ten-times-smarter-you-started-running-ten-of-them--tyyztndlx) · Medium · 0 upvotes · 0 comments
- [How I'm Productive with Claude Code](https://daily.dev/posts/how-i-m-productive-with-claude-code-eucievp2e) · Hacker News · 1 upvotes · 0 comments

---

Tags: [#ai](https://daily.dev/tags/ai), [#open-source](https://daily.dev/tags/open-source), [#ai-agents](https://daily.dev/tags/ai-agents), [#git](https://daily.dev/tags/git), [#claude](https://daily.dev/tags/claude), [#claude-code](https://daily.dev/tags/claude-code)

[View this post on daily.dev](https://daily.dev/posts/claude-bulkhead-is-a-claude-code-plugin-of-hooks-that-cancels-shell-commands-which-would-break-anoth-kkrmucu6v)

```json
{"@context":"https://schema.org","@graph":[{"@type":"Organization","@id":"https://daily.dev/#organization","name":"daily.dev","url":"https://daily.dev","logo":{"@type":"ImageObject","url":"https://daily.dev/apple-touch-icon.png","width":180,"height":180},"sameAs":["https://twitter.com/dailydotdev","https://github.com/dailydotdev","https://www.linkedin.com/company/daily-dev-ltd"]},{"@type":"WebSite","@id":"https://daily.dev/#website","url":"https://daily.dev","name":"daily.dev","publisher":{"@id":"https://daily.dev/#organization"},"potentialAction":{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https://daily.dev/search?q={search_term_string}"},"query-input":"required name=search_term_string"}}]}
{"@context":"https://schema.org","@type":"DiscussionForumPosting","mainEntityOfPage":"https://daily.dev/posts/claude-bulkhead-is-a-claude-code-plugin-of-hooks-that-cancels-shell-commands-which-would-break-anoth-kkrmucu6v","headline":"claude-bulkhead is a Claude Code plugin of hooks that cancels shell commands which would break another live session on the same machine. I am the author. Its read-only scan flagged 507 of 101,167 commands in my last two weeks of logs.","text":"Shared: I replayed two weeks of Claude Code transcripts to see what my parallel sessions did to each other","url":"https://daily.dev/posts/claude-bulkhead-is-a-claude-code-plugin-of-hooks-that-cancels-shell-commands-which-would-break-anoth-kkrmucu6v","datePublished":"2026-11-11T12:26:28.080Z","dateModified":"2026-11-11T12:26:28.083Z","author":{"@type":"Person","name":"명석강","url":"https://daily.dev/user682216","image":"https://lh3.googleusercontent.com/a/ACg8ocJ70FPU5p5PGmDCX5r9v7y-PYg0-2jz2vn6OE4Hqg--duHpP4f1=s96-c","interactionStatistic":{"@type":"InteractionCounter","interactionType":{"@type":"EndorseAction"},"userInteractionCount":30}},"image":"https://media.daily.dev/image/upload/s--CxzD6vbw--/f_auto/v1722860399/public/Placeholder%2005","interactionStatistic":[{"@type":"InteractionCounter","interactionType":{"@type":"LikeAction"},"userInteractionCount":1},{"@type":"InteractionCounter","interactionType":{"@type":"CommentAction"},"userInteractionCount":2}],"sharedContent":{"@type":"WebPage","url":"https://api.daily.dev/r/spBKJEUKW"},"comment":[{"@type":"Comment","text":"The distinction between a rule match and actual damage is useful. Same for leaving port and memory checks out of the replay rather than inventing historical state.\nOne question on fail-open behavior: does a guard failure produce a visible warning or a separate diagnostic counter? Otherwise a broken guard could look like a clean run.\nI’m building easi.run, where browser ownership is another shared-resource boundary. Would a session-owned resource registry help here, or would keeping it accurate add more failure modes than the process checks avoid?","datePublished":"2026-11-11T12:45:21.702Z","url":"https://daily.dev/posts/KkRMuCu6v#c-pNxcocsZY","author":{"@type":"Person","name":"Juliano Sig","url":"https://daily.dev/jul1anodev","image":"https://media.daily.dev/image/upload/s--dts7-qbF--/f_auto,pg_1/v1794347315/avatars/avatar_WI7E1WmHvix2QcJg5lRKo?_a=BAMAMiiw0"}}],"isPartOf":{"@type":"WebPage","url":"https://daily.dev/squads/agentic","name":"Agentic Engineering"}}
{"@context":"https://schema.org","@type":"BreadcrumbList","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https://daily.dev"},{"@type":"ListItem","position":2,"name":"Agentic Engineering","item":"https://daily.dev/squads/agentic"},{"@type":"ListItem","position":3,"name":"claude-bulkhead is a Claude Code plugin of hooks that cancels shell commands which would break another live session on the same machine. I am the author. Its read-only scan flagged 507 of 101,167 commands in my last two weeks of logs."}]}
```

