Skip to content

feat: paste-buffer injection and permission presets v1.13.5#34

Merged
amariichi merged 1 commit intomainfrom
feat/paste-buffer-injection-and-permission-presets
Mar 15, 2026
Merged

feat: paste-buffer injection and permission presets v1.13.5#34
amariichi merged 1 commit intomainfrom
feat/paste-buffer-injection-and-permission-presets

Conversation

@amariichi
Copy link
Owner

Summary

  • Replace send-keys -l text delivery with tmux paste-buffer for atomic multiline injection, reducing race window to Enter-only
  • Add 250ms delay after paste before C-m to let TUI frameworks process bracket paste events
  • Add permission_preset parameter to agent.spawn (reviewer, implementer, full) that auto-configures helper tool permissions at spawn time for Claude, Gemini, and Codex agents
  • Update README, AGENTS.sample.md, and AGENT_RULES.md with permission preset documentation

Test plan

  • 248 unit tests pass
  • Live test: Claude reviewer — no permission prompts, mission completed automatically
  • Live test: Gemini reviewer — no permission prompts (--yolo + tools.core), mission completed automatically
  • Live test: Codex full — --full-auto flag applied correctly at launch

🤖 Generated with Claude Code

Replace send-keys text delivery with tmux paste-buffer for atomic
multiline injection. Add 250ms delay before Enter to let TUIs process
bracket paste events.

Add permission_preset parameter to agent.spawn that auto-configures
helper tool permissions at spawn time:
- Claude: .claude/settings.json with allow list
- Gemini: .gemini/settings.json with tools.core restriction + --yolo flag
- Codex: --full-auto or -a untrusted command suffix

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
@amariichi amariichi merged commit 42728dc into main Mar 15, 2026
1 check passed
@amariichi amariichi deleted the feat/paste-buffer-injection-and-permission-presets branch March 15, 2026 15:08
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