feat(implement-issue): add Section E to setup-skills for agent CLI selection #10

Merged
steve merged 2 commits from issue-9-add-section-e-setup into master 2026-06-27 17:07:15 -04:00
Owner

Summary

Add Section E to setup-skills for agent CLI selection, replacing the hardcoded dispatch table and detection scripts in implement-issue.

Key Changes

  • New file: agents-seed.md — Source of truth for all supported agents (pi, opencode, goose, codex, claude) with their binary and args
  • Section E in setup-skills — Presents agent menu, validates binary on PATH, writes docs/agents/agent-cli.md
  • Refactored implement-issue — Reads agent config from docs/agents/agent-cli.md instead of hardcoded table
  • Removed detection scripts — detect-agent-linux.sh and detect-agent-macos.sh no longer needed
  • Added mise detection — Uses mise x --allow-env='*' for consistent runtime, falls back to $SHELL -c
  • Invocation-time validation — Fails fast with clear message if binary not on PATH
  • New test file — Documents expected tmux command composition for each agent type

Closes #9

## Summary Add Section E to setup-skills for agent CLI selection, replacing the hardcoded dispatch table and detection scripts in implement-issue. ## Key Changes - **New file: agents-seed.md** — Source of truth for all supported agents (pi, opencode, goose, codex, claude) with their binary and args - **Section E in setup-skills** — Presents agent menu, validates binary on PATH, writes docs/agents/agent-cli.md - **Refactored implement-issue** — Reads agent config from docs/agents/agent-cli.md instead of hardcoded table - **Removed detection scripts** — detect-agent-linux.sh and detect-agent-macos.sh no longer needed - **Added mise detection** — Uses mise x --allow-env='*' for consistent runtime, falls back to $SHELL -c - **Invocation-time validation** — Fails fast with clear message if binary not on PATH - **New test file** — Documents expected tmux command composition for each agent type Closes #9
steve added 1 commit 2026-06-27 16:26:29 -04:00
- Add agents-seed.md as source of truth for supported agents
- Add Section E to setup-skills to present agent menu and validate binary on PATH
- Refactor implement-issue to read docs/agents/agent-cli.md instead of hardcoded table
- Remove detect-agent-linux.sh and detect-agent-macos.sh detection scripts
- Add mise/$SHELL -c runtime detection for agent dispatch
- Add invocation-time binary validation with clear error message
- Add test file documenting expected tmux command composition

Closes #9
steve added 1 commit 2026-06-27 17:06:27 -04:00
Streamline the skill by removing tea-specific command examples. The
checks (issue exists, labels, blockers) still need to happen but
the exact commands are now at the discretion of the agent.

Also update agents-seed.md to fix arg configurations and add missing
notes about stdin piping.
steve merged commit 8a230f7853 into master 2026-06-27 17:07:15 -04:00
steve deleted branch issue-9-add-section-e-setup 2026-06-27 22:03:22 -04:00
Sign in to join this conversation.