Skip to content

Smithers tutorial fails with codex #1502

Description

@duckception

Terminal output after running bunx smthrs init on version 0.33.0:

┌   smithers  init
│
◇  Coding agents (5 ready)
│
│  ✓ Claude Code
│  ✓ Codex
│  ✓ Pi
│  ✓ Oh My Pi
│  ✓ Amp
│  ○ Cursor (missing credentials (~/.cursor/auth.json or $CURSOR_API_KEY))
│  ○ OpenRouter (missing credentials ($OPENROUTER_API_KEY))
│  ○ OpenCode (not authenticated (Error: Unexpected error; no such column: name))
│  ○ Antigravity (missing `agy` on PATH)
│  ○ Kimi (missing `kimi` on PATH)
│  ○ Vibe (missing `vibe` on PATH)
│  ○ Hermes (missing `hermes` on PATH)
│  ○ OpenClaw (missing `openclaw` on PATH)
│  ○ Pool (missing `pool` on PATH)
│
◇  Which coding agent do you want to use with Smithers? (it gets the smithers plugin/skill and hosts your tutorial)
│  Codex
│
◆  Preferred agent: Codex
│
◆  Scaffolded workflow pack into .smithers/
│
│  91 files created
│
│  → Installing 5 workflows
│
│  → Ignored the smithers.db run store in .gitignore
│
│  → Installed the smithers skill for you (Claude Code, Pi, Codex, OpenCode, Amp)
│
│  → Added smithers.sh workflow guidance to AGENTS.md
│
◇  Installing dependencies (bun install)
│
◆  Dependencies installed
│
◇  Configuring Codex (plugin, or skill if no plugin)
│
◆  Installed the smithers skill for Codex
│
◇  Next steps ────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────╮
│                                                                                                                                                                 │
│  smithers workflow run create-workflow --prompt "add a workflow that ..."  Create your first workflow                                                           │
│  smithers workflow run docs-driven-development                             Maintain a living product spec                                                       │
│  smithers workflow list                                                    View all available workflows                                                         │
│                                                                                                                                                                 │
│  New here? Your coding agent now has the smithers skill — just tell it what you want built (e.g. "add rate limiting and keep iterating until the tests pass").  │
│                                                                                                                                                                 │
├─────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────╯
│
└  ✓ Smithers is ready in .smithers/


Starting your Smithers tutorial with Codex — the first turn runs headless, then the session opens here…
warn  child process interrupted process:codex=0ms runId=a9c2fbeb-7cbc-4665-8990-c93a93a369ca nodeId=initTutorial workflowName=initTutorial iteration=0 attempt=1 command=codex
      args='exec -c model_reasoning_effort=medium --model gpt-5.6-luna --dangerously-bypass-approvals-and-sandbox --skip-git-repo-check --json --output-last-message
      /var/folders/9v/yv_fdnm97cq2rsyknrmdw2rr0000gn/T/smithers-codex-e7881fbd-ed7e-4fb0-a44b-2194a9b25f23.txt -'
      cwd=/Projects/smithers-codex-bug timeoutMs=null idleTimeoutMs=null reason='CLI aborted' errorCode=PROCESS_ABORTED
[13:27:09.061] WARN (#203) agent.generate=435ms: agent invocation failed {
  agentEngine: "codex",
  agentOperation: "generate",
  agentModel: "gpt-5.6-luna",
  cwd: "/Projects/smithers-codex-bug",
  timeoutMs: null,
  idleTimeoutMs: null,
  hasMessages: false,
  hasResumeSession: false,
  promptBytes: 3791,
  systemPromptBytes: 0,
  agentCommand: "codex",
  agentArgs: "exec -c model_reasoning_effort=medium --model gpt-5.6-luna --dangerously-bypass-approvals-and-sandbox --skip-git-repo-check --json --output-last-message /var/folders/9v/yv_fdnm97cq2rsyknrmdw2rr0000gn/T/smithers-codex-e7881fbd-ed7e-4fb0-a44b-2194a9b25f23.txt -",
  outputFormat: "stream-json",
  error: "CLI aborted See https://smithers.sh/reference/errors",
  durationMs: 435.7828330000011,
}
error {"category":"agent-trace","payload":{"error":"The operation was aborted."},"raw":{"error":"The operation was
      aborted."},"redaction":{"applied":false,"ruleIds":[]},"annotations":{}} agent-trace=0ms runId=a9c2fbeb-7cbc-4665-8990-c93a93a369ca nodeId=initTutorial
      workflowName=initTutorial iteration=0 attempt=1 smithers.event.category=agent-trace smithers.trace.version=1 run.id=a9c2fbeb-7cbc-4665-8990-c93a93a369ca
      node.id=initTutorial node.iteration=0 node.attempt=1 agent.family=codex agent.id=8b027963-a76b-46ac-8b99-cf5ca840967c agent.model=gpt-5.6-luna
      agent.capture_mode=cli-json-stream trace.completeness=capture-failed event.kind=capture.error event.phase=capture event.sequence=0 source.raw_type=error
      source.raw_event_id=error:0 source.observed=false
ERROR: No saved session found with ID 019fdbfa-1a1d-7870-bbe7-368a6e44b921. Run `codex resume` without an ID to choose from existing sessions.
[smithers:init] tutorial session unavailable: codex exited with code 1
  open it later with: smithers hijack a9c2fbeb-7cbc-4665-8990-c93a93a369ca

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