Skip to content

worktree create --agent codex: ok:true but terminal exits at once, prompt not-delivered, workspace never registered (selector_not_found) #7

Closed

Description

@nachumi-a2zoperations

Refs #2

orca worktree create --repo id:<BLOWzer repoId> --name proc-node-app-1015 --agent codex --model gpt-6-astra --effort high --prompt "<brief>" --json (and a first attempt with --no-parent instead of --repo) returned ok: true with launch.outcome.kind = terminal, handle term_cd9a1577-d3e7-4690-a6aa-153ff57b37b7, worktreeId 5e040d27…::/Users/nachumieliyahu/orca/workspaces/Blowzer/proc-node-app-1015-2, receipt "Started a terminal agent…", but launch.prompt = {"delivery": "submit", "outcome": "not-delivered"}. Right after: orca terminal read --terminal term_cd9a… → status: exited, 0 lines; orca worktree show --worktree id:<that id> / path: / name: → selector_not_found; orca worktree list --repo id:<repoId> shows only the main checkout; orca worktree ps has no entry for either workspace. On disk both checkouts exist (~/orca/workspaces/Blowzer/proc-node-app-1015 at 0dff77aec, …-2 at b8b4957f6 on branch nachumi-a2zoperations/proc-node-app-1015-2, clean). orca agent launch --worktree id:<that id> --agent codex … → selector_not_found as well.

So: the create makes the git checkout and starts a terminal that dies immediately (Codex never shows a prompt), does not deliver the prompt, and does not register the workspace — the caller gets ok: true. Expected: a non-ok result (or prompt.outcome ≠ delivered + a registered workspace the caller can agent launch into), and the exited terminal's reason. Orca $(orca --version); 2026-11-05 ~16:45Z; session "PPC and Fleet Computers". The two orphan checkouts are left in place for inspection.


Closed by the Leader, 2026-11-14 (issue triage, owner mandate). Fixed by fork PR #45 (Fixes #6, Fixes #7), merged 2026-11-14 ~20:39Z into blowzer/fork-only as 7107a03 (Reviewer re-check PASS at bdf2734, 0 blockers; ci/local + ci/issue-link success). The worktree created when the repo path and the workspace folder differ only in case is now registered, so list/rm/worker-start find it. GitHub did not auto-close this issue because the PR's base is the fork branch, not the default branch.

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