Skip to content

coordinate: no engine routing and no awareness of usage limits (Codex, Claude, Kimi) #80

Open

Description

@lx-0

Experience

The coordinator dispatched 174 hand-written codex exec ... <<'EOF' runs and 29 runs through a terminal multiplexer, all without a rendered brief. The human asked 23 times to prefer Codex workers and to save Claude usage. Once, the whole Codex 5-hour limit went to work that was not needed. Later the limits had reset while lanes sat idle, and nothing noticed.

Why

coordinate Step 5 allows "another host's command-line agent", and ytstack-codex / ytstack-kimi exist as adapters. But there is no engine preference, no awareness of usage limits and no dispatcher that ties a run to a lane.

Proposals

  1. PREFERENCES.md engines:: an order, a preference per lane kind (for example implement -> codex, review -> claude) and a fallback.
  2. ytstack-dispatch --engine codex|claude|kimi --lane <L>:
    • renders the brief;
    • starts the agent in its own worktree;
    • records the engine, pid and log path in the frontier row;
    • recognises a limit hit in the log and records the reset time.
  3. ytstack-frontier list --ready marks lanes that wait only for an engine reset. The status names the capacity per engine.

Related: #76.

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

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions