Design System
COHERENT_E003

`coherent _phase ingest` received empty stdin

The ingest step parses the AI response from stdin. When the pipe is empty, there is nothing to parse and the phase cannot advance.

When you see it

Running `coherent _phase ingest <name> --session <uuid>` with empty, whitespace-only, or unpiped stdin.

Why

The CLI relies on stdin to receive the AI response. An empty pipe almost always means the upstream step failed to produce output or was never invoked.

Fix options

  1. 1

    Pipe the response from a file

    Write the AI response to a file first, then pipe it into ingest. This is the pattern the `/coherent-generate` skill uses.

    $ coherent _phase ingest plan --session "$UUID" < /tmp/plan-response.md
  2. 2

    Inside Claude Code

    The `/coherent-generate` skill handles piping automatically. If you hit E003 there, the skill wrote an empty response file. Regenerate the phase's prep output and retry.

Related