<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom" xmlns:dc="http://purl.org/dc/elements/1.1/">
  <channel>
    <title>DEV Community: Markus</title>
    <description>The latest articles on DEV Community by Markus (@originalmbo).</description>
    <link>https://dev.to/originalmbo</link>
    <image>
      <url>https://media2.dev.to/dynamic/image/width=90,height=90,fit=cover,gravity=auto,format=auto/https:%2F%2Fdev-to-uploads.s3.us-east-2.amazonaws.com%2Fuploads%2Fuser%2Fprofile_image%2F4285080%2Ffcebca53-6481-45a9-b3fc-71a61a275e25.jpg</url>
      <title>DEV Community: Markus</title>
      <link>https://dev.to/originalmbo</link>
    </image>
    <atom:link rel="self" type="application/rss+xml" href="https://dev.to/feed/originalmbo"/>
    <language>en</language>
    <item>
      <title>How I notice which coding-agent session is actually waiting on me</title>
      <dc:creator>Markus</dc:creator>
      <pubDate>Sat, 05 Dec 2026 16:40:31 +0000</pubDate>
      <link>https://dev.to/originalmbo/how-i-notice-which-coding-agent-session-is-actually-waiting-on-me-3bkc</link>
      <guid>https://dev.to/originalmbo/how-i-notice-which-coding-agent-session-is-actually-waiting-on-me-3bkc</guid>
      <description>&lt;p&gt;I work as a solo developer in Leipzig, and I often have several Claude Code sessions open at the same time. Lately I have also been running Codex sessions alongside them. Each session eventually stops and waits for me: a decision, a permission, or a question I have to answer before it can continue.&lt;/p&gt;

&lt;p&gt;The bottleneck was never the model. It was me noticing. I would be answering one tab while another had already been waiting for twenty minutes, and I would only find out when I started flipping through terminals.&lt;/p&gt;

&lt;p&gt;That is the problem I wrote &lt;a href="https://vassy.app/?utm_source=devto" rel="noopener noreferrer"&gt;Vassy&lt;/a&gt; to solve. It is a free, open-source macOS menu-bar app for Claude Code, with Codex support in beta. When a session is waiting, it shows up in a queue: one question, a recommendation, and a way back to the right tab. The source lives at &lt;a href="https://github.com/sukramb/vassy" rel="noopener noreferrer"&gt;sukramb/vassy&lt;/a&gt;.&lt;/p&gt;

&lt;h2&gt;
  
  
  The hook, not the screen
&lt;/h2&gt;

&lt;p&gt;Vassy does not scrape the screen, and it does not inject itself into the agent process. Claude Code and Codex already have a hook API. On first launch, the app asks which agents to watch, then registers a command hook in the config file of each one you picked (&lt;code&gt;~/.claude/settings.json&lt;/code&gt; or &lt;code&gt;~/.codex/hooks.json&lt;/code&gt;). Each changed file is backed up to &lt;code&gt;~/.vassy/backups&lt;/code&gt; first. Codex only runs hooks you have approved: you start &lt;code&gt;codex&lt;/code&gt;, type &lt;code&gt;/hooks&lt;/code&gt;, and trust the Vassy entries.&lt;/p&gt;

&lt;p&gt;The hook is not a separate script. &lt;code&gt;~/.vassy/hook&lt;/code&gt; is a symlink to the app binary, and the agents call it as &lt;code&gt;Vassy --hook claude&lt;/code&gt; or &lt;code&gt;Vassy --hook codex&lt;/code&gt;, with the event JSON on stdin.&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight swift"&gt;&lt;code&gt;&lt;span class="k"&gt;static&lt;/span&gt; &lt;span class="kd"&gt;let&lt;/span&gt; &lt;span class="n"&gt;events&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="p"&gt;[&lt;/span&gt;&lt;span class="nc"&gt;Agent&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="p"&gt;[&lt;/span&gt;&lt;span class="kt"&gt;String&lt;/span&gt;&lt;span class="p"&gt;]&lt;/span&gt;&lt;span class="p"&gt;]&lt;/span&gt; &lt;span class="o"&gt;=&lt;/span&gt; &lt;span class="p"&gt;[&lt;/span&gt;
    &lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="n"&gt;claude&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="p"&gt;[&lt;/span&gt;&lt;span class="s2"&gt;"Stop"&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="s2"&gt;"Notification"&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="s2"&gt;"UserPromptSubmit"&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="s2"&gt;"SessionEnd"&lt;/span&gt;&lt;span class="p"&gt;]&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt;
    &lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="n"&gt;codex&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="p"&gt;[&lt;/span&gt;&lt;span class="s2"&gt;"Stop"&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="s2"&gt;"PermissionRequest"&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="s2"&gt;"UserPromptSubmit"&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="s2"&gt;"PostToolUse"&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="s2"&gt;"SessionEnd"&lt;/span&gt;&lt;span class="p"&gt;]&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt;
&lt;span class="p"&gt;]&lt;/span&gt;
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;The hook has to stay out of the agent's way. It prints nothing, fails silently, and forces an exit after 1.5 seconds. It also ignores its own summarizer calls, which set &lt;code&gt;VASSY_SUMMARIZER&lt;/code&gt;, so a headless summary never appears as a session in the queue.&lt;/p&gt;

&lt;p&gt;On each call, it walks up to six process ancestors from its parent, looking for a tty (&lt;code&gt;/dev/ttys…&lt;/code&gt;) and for the agent binary. It then writes one small JSON file per session to &lt;code&gt;~/.vassy/events&lt;/code&gt;. A session counts as waiting when the latest event is &lt;code&gt;Stop&lt;/code&gt;, &lt;code&gt;Notification&lt;/code&gt;, or &lt;code&gt;PermissionRequest&lt;/code&gt;:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight swift"&gt;&lt;code&gt;&lt;span class="kd"&gt;var&lt;/span&gt; &lt;span class="n"&gt;isWaiting&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="kt"&gt;Bool&lt;/span&gt; &lt;span class="p"&gt;{&lt;/span&gt;
    &lt;span class="n"&gt;event&lt;/span&gt; &lt;span class="o"&gt;==&lt;/span&gt; &lt;span class="s2"&gt;"Stop"&lt;/span&gt; &lt;span class="o"&gt;||&lt;/span&gt; &lt;span class="n"&gt;event&lt;/span&gt; &lt;span class="o"&gt;==&lt;/span&gt; &lt;span class="s2"&gt;"Notification"&lt;/span&gt; &lt;span class="o"&gt;||&lt;/span&gt; &lt;span class="n"&gt;event&lt;/span&gt; &lt;span class="o"&gt;==&lt;/span&gt; &lt;span class="s2"&gt;"PermissionRequest"&lt;/span&gt;
&lt;span class="p"&gt;}&lt;/span&gt;
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;&lt;code&gt;PostToolUse&lt;/code&gt; is recorded only to clear a Codex "permission needed" state. Codex sessions with no terminal, for example the desktop app or a headless run, are dropped: Vassy cannot answer them, so they never enter the list.&lt;/p&gt;

&lt;h2&gt;
  
  
  Building the queue
&lt;/h2&gt;

&lt;p&gt;The app refreshes every two seconds, reads those event files, and decides what is still alive. For Claude Code, liveness comes from an undocumented folder, &lt;code&gt;~/.claude/sessions&lt;/code&gt;. If that folder is missing, Vassy falls back to a twelve-hour recency window. For Codex there is no such registry, so it checks whether the recorded agent process is still alive, and falls back to the same twelve-hour window if no process ID was recorded.&lt;/p&gt;

&lt;p&gt;A waiting event is not automatically a card in the queue. If I already sent an answer after that event, or Claude Code's registry says the session is &lt;code&gt;busy&lt;/code&gt;, the item is treated as running. If I hid it, or the summarizer classified it as &lt;code&gt;info&lt;/code&gt; (done, needs nothing), it leaves the queue. What remains is sorted oldest first, unless I snooze a card to the back or pin one to the front.&lt;/p&gt;

&lt;p&gt;Sessions that were already idle before the hook existed can be seeded from the Claude registry, so they show up without waiting for a new turn. The menu-bar icon shows a count, and the panel opens from anywhere with &lt;code&gt;⌥⌘C&lt;/code&gt;.&lt;/p&gt;

&lt;h2&gt;
  
  
  One cheap summary per wait
&lt;/h2&gt;

&lt;p&gt;For a new waiting event, the app reads the tail of the session transcript and asks a CLI already on the Mac for a compact JSON summary: &lt;code&gt;claude -p&lt;/code&gt; on Haiku, or &lt;code&gt;codex exec&lt;/code&gt; if only Codex is installed. At most two summaries run at once. They start a short moment after the event, so a session that immediately continues is not summarized for nothing.&lt;/p&gt;

&lt;p&gt;The transcript is treated as data, not as instructions. Only &lt;code&gt;.jsonl&lt;/code&gt; files inside the agents' own session folders are read. The prompt wraps the excerpt in a fresh random delimiter on every call, so text in the transcript cannot close the block and pose as instructions:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight swift"&gt;&lt;code&gt;&lt;span class="kd"&gt;let&lt;/span&gt; &lt;span class="n"&gt;fence&lt;/span&gt; &lt;span class="o"&gt;=&lt;/span&gt; &lt;span class="s2"&gt;"session-data-"&lt;/span&gt; &lt;span class="o"&gt;+&lt;/span&gt; &lt;span class="no"&gt;UUID&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="n"&gt;uuidString&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="nf"&gt;prefix&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="mi"&gt;12&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="nf"&gt;lowercased&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt;
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;Claude is launched with tools and MCP servers switched off, without slash commands or session persistence. Codex runs without the user's config, in a read-only sandbox, and without saving the session. The child process gets only the environment variables a CLI needs to run and sign in, not the whole environment, and it is killed after 90 seconds if it hangs.&lt;/p&gt;

&lt;p&gt;What comes back is a title, one sentence of context, the open question, a recommendation, and up to three ready-made replies. Those replies can be sent with &lt;code&gt;⌘1&lt;/code&gt;, &lt;code&gt;⌘2&lt;/code&gt;, or &lt;code&gt;⌘3&lt;/code&gt;. I can also type or dictate my own.&lt;/p&gt;

&lt;h2&gt;
  
  
  Typing an answer without surprises
&lt;/h2&gt;

&lt;p&gt;The ready-made replies are written by a model that has just read a session, and a session can contain text from web pages or repositories I do not control. One click would type the reply into the agent as if I had said it. So Vassy treats the buttons as untrusted.&lt;/p&gt;

&lt;p&gt;The exact text that will be typed is always shown on the button. Replies that look like a shell command, a slash command, a memory note, a link, or shell syntax are dropped. Anything that would deploy, merge, delete, or install needs a second click, and Vassy decides that itself, not only the model. Nothing is typed unless the agent is the program in the foreground of that tab, so a reply cannot land at a shell prompt. While the agent shows a permission dialog, Vassy sends nothing and only offers to open the tab.&lt;/p&gt;

&lt;p&gt;Sending uses AppleScript to find the Terminal tab whose tty matches the session, type the line, and then hit Return. macOS asks once for permission to control Terminal.&lt;/p&gt;

&lt;h2&gt;
  
  
  What did not work the obvious way
&lt;/h2&gt;

&lt;p&gt;A few things failed in the obvious way, and the workarounds are still in the code.&lt;/p&gt;

&lt;p&gt;Typing the answer and Return in one go did not work reliably. Claude Code treats a fast burst of characters as a paste and swallows the trailing Return, so Vassy sends the line first and, after 0.7 seconds, a separate empty &lt;code&gt;do script&lt;/code&gt; if the agent is still in the foreground.&lt;/p&gt;

&lt;p&gt;I also cannot show a long Claude Code context as a percentage of the window. The transcript reports token usage, but not whether that session is running with a 200k or a 1M window. Since version 1.2.0, a waiting Claude Code card can show a line such as "Long context: 164k tokens" and a Compact button that types &lt;code&gt;/compact&lt;/code&gt; into the tab. The question stays open, and the card returns once compaction is through. The threshold is 120,000 tokens by default, and it can be turned off.&lt;/p&gt;

&lt;p&gt;Installing updates was awkward for a menu-bar app, because it rarely quits. Vassy checks &lt;code&gt;https://www.vassy.app/appcast.xml&lt;/code&gt; every six hours, downloads a newer build from the project's GitHub Releases, verifies its signature, and installs it only while the panel is closed. That update check, and the download, are the app's only requests of its own. They carry no cookies and no identifier, and you can switch them off in the gear menu. The app has no account and no analytics of its own. A transcript excerpt does leave the Mac when a summary is written: it goes through the &lt;code&gt;claude&lt;/code&gt; or &lt;code&gt;codex&lt;/code&gt; CLI already signed in on that machine, under that provider's terms, and it uses some of that quota.&lt;/p&gt;

&lt;p&gt;Another sharp edge: if you open a freshly downloaded app from the Downloads folder, macOS may run it from a translocated, read-only path. A hook pointing there would break after a restart, so Vassy asks you to move it into your Applications folder first.&lt;/p&gt;

&lt;h2&gt;
  
  
  Limits I want to be honest about
&lt;/h2&gt;

&lt;p&gt;Vassy runs on macOS 15 or later, and only with Terminal.app. Sessions in other terminals or in desktop apps are not listed for Codex, and cannot be answered for Claude Code. Codex support is in beta, and its hooks need that extra &lt;code&gt;/hooks&lt;/code&gt; approval. Claude Code's list of live sessions is read from an undocumented folder; if that format changes, liveness falls back to a time limit.&lt;/p&gt;

&lt;p&gt;Summaries cost a short headless call on the login you already use. Vassy is a small tool I maintain myself, not a platform.&lt;/p&gt;

&lt;h2&gt;
  
  
  How to try it
&lt;/h2&gt;

&lt;p&gt;The current release is 1.3.0. Download &lt;code&gt;Vassy.zip&lt;/code&gt; from the &lt;a href="https://github.com/sukramb/vassy/releases/latest" rel="noopener noreferrer"&gt;GitHub releases page&lt;/a&gt;, move &lt;code&gt;Vassy.app&lt;/code&gt; into your Applications folder, and open it. On first launch it asks which agents it should watch.&lt;/p&gt;

&lt;p&gt;Or build it from source. You need the Xcode Command Line Tools and Swift 6:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight shell"&gt;&lt;code&gt;git clone https://github.com/sukramb/vassy.git
&lt;span class="nb"&gt;cd&lt;/span&gt; vassy &lt;span class="o"&gt;&amp;amp;&amp;amp;&lt;/span&gt; ./install.sh
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;For a quicker first look, the README has a 30-second clip, and the site is &lt;a href="https://vassy.app/?utm_source=devto" rel="noopener noreferrer"&gt;vassy.app&lt;/a&gt;. Vassy is MIT-licensed and independent: it is not affiliated with or endorsed by Anthropic or OpenAI. If you try it, I would rather hear what breaks than collect praise.&lt;/p&gt;

</description>
      <category>claudecode</category>
      <category>ai</category>
      <category>macos</category>
      <category>opensource</category>
    </item>
  </channel>
</rss>
