feat: experimental Paseo session-provider backend#655
Open
tmad4000 wants to merge 1 commit into
Open
Conversation
Add bin/backends/paseo.sh, a message-based agent-session-provider adapter driving the paseo CLI (v0.1.104, daemon on 127.0.0.1:6767). Unlike the multiplexer backends, `paseo run` launches the provider agent directly with a prompt and --cwd; `paseo send` messages it. Worktrees stay treehouse-owned via a non-interactive `treehouse get --lease`; Paseo's native worktrees are unused. - Selectable only via explicit --backend paseo / FM_BACKEND=paseo / config/backend; never runtime auto-detected (zellij/orca precedent). - Spawn-time gates: CLI+daemon+version floor (pinned to verified 0.1.104), grok refusal (not a Paseo provider), and --secondmate refusal. - Turn-end: the existing claude Stop hook fires under paseo run (verified), so it is kept; the watcher wakes on every crew turn. Non-claude providers documented as a known limitation. - Ops: run/send --no-wait/logs --tail/inspect status/stop/delete mapped to the full backend contract; Escape unsupported. - Wire fm-backend.sh dispatch, fm-spawn.sh launch path, and fm-teardown.sh kill target; record backend=paseo and paseo_agent_id= in meta with window=fm-<id> as the display alias. - docs/paseo-backend.md records the empirical verification (commands, output, live end-to-end run); tests/fm-backend-paseo.test.sh mocks the CLI. - One-line backend-list touch-ups in AGENTS.md and docs/configuration.md.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Adds Paseo (github.com/getpaseo/paseo) as an experimental, explicitly-opt-in session-provider backend: bin/backends/paseo.sh driving the paseo CLI (run/send/logs/stop/delete, --json), native semantic agent state for busy/alive, treehouse still owns worktrees via --cwd, claude Stop-hook turn-end verified to fire under paseo run. Gated like zellij/orca (never auto-detected); refuses harness=grok (not a Paseo provider) and secondmate spawns (out of scope initially); CLI version floor at spawn. docs/paseo-backend.md records the empirical verification (18-check test suite + live E2E with a real claude crewmate: spawn/send/peek/busy/alive/turn-end-wake/interrupt/teardown). shellcheck + fm-lint clean; no-mistakes pipeline review/test/document/lint all green (push step correctly refused direct upstream push, hence this fork PR).
🤖 Generated with Claude Code