Skip to content

Gemini stream output - #6

Merged
kfyh merged 4 commits into
mainfrom
gemini-stream-output
Aug 5, 2026
Merged

Gemini stream output#6
kfyh merged 4 commits into
mainfrom
gemini-stream-output

Conversation

@kfyh

@kfyh kfyh commented Aug 5, 2026

Copy link
Copy Markdown
Owner

No description provided.

kfyh and others added 4 commits July 20, 2026 15:15
Halt before launching an autonomous coding agent when the mounted workspace
is a git repo checked out on a shared/default branch (main, master, develop,
development, trunk, release). This prevents an agent from editing the working
tree directly on a branch the user reviews and commits from.

The check runs on the host before container launch and is deliberately scoped:
- coder (read-write) role only; design/spec read-only runs skip it
- only when the mount root is itself a git repo root, so parent-dir/multi-repo
  context mounts and repo subdirectories skip it cleanly
- skipped when git is unavailable on the host

Applied to both run-agent.sh and run-agent.ps1 for parity.

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
@kfyh
kfyh merged commit db71601 into main Aug 5, 2026
2 checks passed
@kfyh
kfyh deleted the gemini-stream-output branch August 5, 2026 20:27
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant