public inbox for kaagum@systemreboot.net
 help / color / mirror / Atom feed
From: Ricardo Wurmus <rekado@elephly.net>
To: Arun Isaac <arunisaac@systemreboot.net>
Cc: Ricardo Wurmus <rekado@elephly.net>, kaagum@systemreboot.net
Subject: Re: connecting to bifrost over SOCKS5 proxy fails
Date: Fri, 06 Nov 2026 10:36:26 +0100	[thread overview]
Message-ID: <87fqxee1yd.fsf@elephly.net> (raw)
In-Reply-To: <87ld76ss59.fsf@systemreboot.net>

Hi Arun,

>> I was not able to reliably reproduce this, but *sometimes* the 
>> agent
>> gets stuck trying to search "/", which seems to be impossible 
>> to
>> abort. Overall I don't have much in terms of introspection into 
>> what
>> happens when and why, but this may very well be a "me" problem.
>
> I notice this sometimes too. I believe this is a performance 
> issue with
> the search tool. It would be nice to fix this somehow, and ideas
> welcome. Perhaps we should fire off a ripgrep process? Or maybe, 
> in the
> interest of keeping tight security, we should write a C 
> extension that
> does the searching?

I find this surprising.  Is i/o performance with Guile so bad? 
Within the container there aren't all that many files, so even 
when the tool naïvely visits every file I didn't expect it to ever 
get truly stuck.  Perhaps it reads files (like /dev/zero) that 
never produce EOF?

> For now, I've mostly worked around by working on small codebases 
> or
> advising the LLM not to search over the entire filesystem tree.
>
>> I also noticed that I cannot seem to just abort a single tool 
>> call
>> that I deem unnecessary. Aborting one of many tool calls 
>> appears to
>> terminate the whole evaluation. Not sure if that's by design.
>
> True, and it's annoying. But this seems to be a problem with
> agent-shell. For some reason, when you reject a tool call, 
> agent-shell
> decides to not only pass on the rejection but cancel the entire 
> prompt
> turn. You can inspect the ACP traffic in agent-shell using `M-x
> agent-shell-toggle-logging` followed by `M-x 
> agent-shell-view-traffic`.
> I think this issue is worth raising to the agent-shell upstream.

I have filed a bug report: 
https://github.com/xenodium/agent-shell/issues/936

-- 
Ricardo

  reply	other threads:[~2026-11-06  9:36 UTC|newest]

Thread overview: 13+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2026-11-02 19:54 Ricardo Wurmus
2026-11-03  0:43 ` Arun Isaac
2026-11-03 12:45   ` Ricardo Wurmus
2026-11-04  0:15     ` Arun Isaac
2026-11-04  7:45       ` Ricardo Wurmus
2026-11-04 10:40         ` Arun Isaac
2026-11-05 12:13           ` Ricardo Wurmus
2026-11-06  0:46             ` Arun Isaac
2026-11-06  9:36               ` Ricardo Wurmus [this message]
2026-11-07  1:53                 ` Arun Isaac
2026-11-08 23:50                   ` Arun Isaac
2026-11-09 11:58                     ` Ricardo Wurmus
2026-11-15 15:43                       ` object capabilities Arun Isaac

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=87fqxee1yd.fsf@elephly.net \
    --to=rekado@elephly.net \
    --cc=arunisaac@systemreboot.net \
    --cc=kaagum@systemreboot.net \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox