Skip to content

Evaluate Herdr as a cross-brand AgentTUI communication backend #10

Description

@Yangtze-Seventh

Problem

Arborist can discover Codex and Claude Code sessions through the AgentTUI registry, and sendbox provides durable asynchronous handoff records. It does not currently provide a provider-neutral, visible, agent-usable delivery backend between live AgentTUI sessions.

Provider-native resume commands are asymmetric and have different visibility/reply semantics. The registry itself is intentionally static and does not deliver messages.

Candidate: Herdr

Herdr advertises lifecycle-aware support for both Claude Code and Codex, direct integrations for both providers, and terminal-backed automation such as:

herdr agent prompt <target> "<message>" --wait --timeout <ms>
herdr agent read <target> --source recent-unwrapped --lines <n>
herdr agent wait <target> --until blocked --timeout <ms>

Its agent prompt path can send to an already-working agent and is visible in the target pane, which may fill the current gap between headless provider-native resume and human relay.

Primary references:

Gardener investigation requested

Please determine whether Herdr can serve as an optional cross-brand AgentTUI communication backend for Arborist:

  1. Test Codex → Claude Code and Claude Code → Codex delivery between Herdr-managed panes.
  2. Record whether delivery is visible in the target pane, queued while working, and correlated with the intended target turn/session.
  3. Test --wait, completion/blocking detection, timeout behavior, and response retrieval for both providers.
  4. Define the reachability boundary: Herdr-managed panes only, attachable external panes, or arbitrary registered sessions.
  5. Determine how an Arborist registry leaf (brand, session_id, session_file) maps safely to a Herdr agent/pane identity without guessing by display name.
  6. Check alternate-screen/readback limitations and define a durable-response fallback.
  7. Decide whether Herdr belongs in the optional tool registry, a communication-backend capability schema, or a separate adapter layer.

Policy boundary

This must not weaken ADR-0006 or the same-brand L2→L1 execution rule.

  • Message plane: cross-brand notification, question, acknowledgement, and delivery reminder may be supported.
  • Execution plane: an Impler and all of its implementation/TDD/refactor/check/challenge/research subagents remain same-brand.
  • Durable commitments still require sendbox; a Herdr prompt may be an additional delivery notification, not a replacement for the record.

Acceptance criteria

  • A written capability/limitations matrix based on two-way live tests.
  • An explicit decision: adopt, defer, or reject Herdr as the optional backend.
  • If adopted, a portable tool-registry/template entry with availability and fallback behavior.
  • No hard dependency on Herdr for repositories that do not install it.
  • Regression coverage that prevents message-plane support from becoming cross-brand subagent routing.

Activity

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

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions