Hacktoberfest 2026: le issue che i maintainer hanno segnato per ottobre, aperte e adatte ai principianti. Sfoglia le issue Hacktoberfest

Evaluate: Steering and follow-up message queues for ADF agent interaction

Aperta
#687 0 commenti 0 reazioni 0 assegnatari Vedi su GitHub

Nessuno ha ancora preso questa issue.

Valutazione

Difficoltà
5/5
Tempo stimato
Più di una settimana
Idoneità per principianti
25/100
Tipo di issue
Funzionalità
Chiarezza
Abbastanza chiara
Stato di attività
Ferma
Stack tecnologico
rust
Ambito
ai, backend

Direzione di ricerca

Start with the ADF reconciliation loop in terraphim-ai/crates/terraphim_orchestrator and the Agent SDK details in knowledge/claude-agent-sdk-reference.md. Compare the referenced Pi steering and follow-up design, then assess subprocess and session-resume constraints. Done means documenting the interaction points, SDK capabilities, integration design, and an implement/defer/reject decision.

Scritto dal modello di indicizzazione a partire dal testo della issue.

Descrizione

enhancement

Parent Epic

#682 -- Evaluate Pi architectural patterns

Pattern

Pi distinguishes two types of messages sent while the agent is working:

Queue Trigger Effect
Steering Enter while agent runs Delivered after current tool completes. Remaining tools skipped. Agent responds to interruption.
Follow-up Alt+Enter while agent runs Delivered only after agent finishes all work. Triggers another turn.

Both queues are configurable: "one-at-a-time" (waits for response before next) or "all" (delivers all queued at once).

Current State

ADF agent interaction model:

  • Agents are subprocesses (claude -p, codex exec) that run to completion
  • No mechanism to steer a running agent mid-task
  • No follow-up queue -- must wait for agent_end then spawn new process
  • The reconciliation loop runs on a 30s tick -- no real-time interaction
  • Claude Code's --resume enables multi-turn but requires process restart

Evaluation Questions

  1. Is real-time steering valuable for ADF? Current agents run autonomously. Would "stop, do this instead" improve outcomes for long-running tasks?
  2. How would this work with subprocess agents? Pi's queues work because the agent loop is in-process. ADF spawns external processes. Options: (a) migrate to Agent SDK (in-process), (b) use stdin pipe to subprocess, (c) signals.
  3. Does the Agent SDK support steering? Check if query() accepts mid-stream prompts or if it requires session resume.
  4. Follow-up vs reconciliation loop: ADF's 30s reconciliation tick is a crude follow-up mechanism. Would explicit follow-up queues improve this?

Acceptance Criteria

  • Map ADF agent interaction points where steering would add value
  • Assess Agent SDK capabilities for mid-stream interaction
  • Design: how would steering/follow-up integrate with the reconciliation loop?
  • Decision: implement (via Agent SDK migration or subprocess protocol), defer to Agent SDK migration, or reject

Dependencies

  • Agent SDK evaluation (if steering requires in-process agent loop)
  • #639 Session persistence for Claude Code agents in ADF

References

Lingua principale
Rust
Stelle
62
Fork
5
Merge medio
2h 27m
PR unite (30g)
1

Guida per i contributori

Apri la guida per i contributori

Come iniziare

  1. Leggi tutta la issue e poi la guida ai contributi del progetto.
  2. Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
  3. Fai un fork del repository e lavora su un branch.
  4. Apri una pull request che faccia riferimento al numero della issue.

Altre issue di terraphim/terraphim-ai

Tutte le issue di terraphim/terraphim-ai

Issue simili

Altre issue su Rust

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.