Skip to content

[Bug]: The mcp__container-use__environment_file_edit tool returned silently without confirming the edit #320

Open

Description

@marcindulak

What happened?

I'm getting this behavior - changes at some point stop being applied. Claude Code looks like looping, and when pressed to provide an explanation, says:

> you seem to be looping. what is goind on? don't apologize - explain!

● The mcp__container-use__environment_file_edit tool returned silently without confirming the edit.
This is abnormal - it should either confirm success or show an error.

Let me verify if the change was applied:

This happens usually in relation to #300 (the latter issue follows the former)

Version

container-use version
container-use version 0.4.2
commit: 89ebe7765ec067a07c51de104822056eb217c1b9
built: 2025-08-19T22:23:38Z

Logs

time=2025-10-10T19:49:40.880+02:00 level=INFO msg="[/home/user/.config/container-use/repos/github.com/someuser/somerepo] $ git branch --format %(refname:short) (DONE)" err=<nil>
time=2025-10-10T19:49:40.881+02:00 level=INFO msg="[/home/user/.config/container-use/worktrees/exotic-chipmunk] $ git notes --ref container-use-state show"
time=2025-10-10T19:49:40.884+02:00 level=INFO msg="[/home/user/.config/container-use/worktrees/exotic-chipmunk] $ git notes --ref container-use-state show (DONE)" err="git command failed (exit code 1): exit status 1\nOutput: error: no note found for object 266b64a864898aaa05a35e3f449d941f0f289026.\n"
time=2025-10-10T19:49:40.884+02:00 level=INFO msg="[/home/user/.config/container-use/worktrees/intimate-mouse] $ git notes --ref container-use-state show"
time=2025-10-10T19:49:40.893+02:00 level=INFO msg="[/home/user/.config/container-use/worktrees/intimate-mouse] $ git notes --ref container-use-state show (DONE)" err=<nil>
time=2025-10-10T19:49:40.893+02:00 level=INFO msg="[/home/user/.config/container-use/repos/github.com/someuser/somerepo] $ git rev-parse --verify intimate-mouse"
time=2025-10-10T19:49:40.896+02:00 level=INFO msg="[/home/user/.config/container-use/repos/github.com/someuser/somerepo] $ git rev-parse --verify intimate-mouse (DONE)" err=<nil>
time=2025-10-10T19:49:40.896+02:00 level=INFO msg="[/home/user/.config/container-use/worktrees/intimate-mouse] $ git notes --ref container-use-state show"
time=2025-10-10T19:49:40.905+02:00 level=INFO msg="[/home/user/.config/container-use/worktrees/intimate-mouse] $ git notes --ref container-use-state show (DONE)" err=<nil>
time=2025-10-10T19:49:40.906+02:00 level=INFO msg="[/home/user/.config/container-use/worktrees] $ git notes --ref container-use-state show"
time=2025-10-10T19:49:40.908+02:00 level=INFO msg="[/home/user/.config/container-use/worktrees] $ git notes --ref container-use-state show (DONE)" err="git command failed (exit code 128): exit status 128\nOutput: fatal: not a git repository (or any of the parent directories): .git\n"

Activity

  1. added
    bug
    on Oct 10, 2025
  2. added a commit that references this issue on Mar 26, 2026
    7c5ca24
  3. added a commit that references this issue on Nov 1, 2026
    a4f746d
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    bug

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions