Echo/Docs

CLI failure catalogue

Every way echo-cli and echo-mcp fail

Each functionality of the command line and the MCP server declares the causes it can meet, including the ones nobody has met yet: which step failed, why, what the refusal shows, what fixes it, its code and exit status, and the test that provokes it. A refusal links to its line on this page.

Reading a refusal#

A refusal is three lines on standard error: the sentence (the step that failed, why, and what was observed), then fix: with what repairs it, then cause: with the functionality and cause and their section on this page. A command line echo-cli does not take exits 2, a failure that running the command again unchanged can clear exits 69, and every other failure exits 1. An echo-mcp tool call that fails answers the same cause in its error's data.

Shell
echo-cli errors list
echo-cli errors show <functionality>

Where this catalogue comes from#

The sections below are what `echo-cli errors show` prints for each functionality `echo-cli errors list` names, read off a real echo-cli by `npm run docs:errors -- --program <echo-cli>` in this site's checkout; `--check` refuses a site whose catalogue differs from the one that echo-cli prints.

echo.cli.arguments#

Read the words of an echo-cli command line into the command, verb and flags it asks for, before anything is read or changed.

No command starts it alone; the functionalities that use it do.

It uses no other functionality.

echo.cli.arguments.command-unknown#

  • refused, exit 2; the command line itself is refused
  • reading the command line: Unknown command: {command}: echo-cli has no command of that name; observed: arguments: {given}; {nearest}
  • Fix: run one of the commands `echo-cli --help` lists
  • Test: tests/cli/arguments.test.mjs::a_command_echo_lacks_is_named

echo.cli.arguments.form-unknown#

  • refused, exit 2; the command line itself is refused
  • reading the words after echo-cli {command}: {command} takes {takes}; got {got}; observed: arguments: {given}; {nearest}
  • Fix: `echo-cli {command} --help` lists every form and flag it takes
  • Test: tests/cli/arguments.test.mjs::a_verb_a_command_lacks_is_named

echo.cli.arguments.flag-unknown#

  • refused, exit 2; the command line itself is refused
  • reading the flags of echo-cli {command}: {command} does not take {flag}; observed: it takes {taken}; {nearest}
  • Fix: drop {flag}, or name one it takes; `echo-cli {command} --help` lists every form and flag it takes
  • Test: tests/cli/arguments.test.mjs::a_flag_a_verb_does_not_take_is_named

echo.cli.arguments.flag-value-missing#

  • refused, exit 2; the command line itself is refused
  • reading the flags of echo-cli {command}: {flag} needs a value; observed: {flag} is followed by {next}
  • Fix: write the value after {flag}; `echo-cli {command} --help` lists every form and flag it takes
  • Test: tests/cli/arguments.test.mjs::a_flag_without_its_value_is_named

echo.cli.arguments.flag-repeated#

  • refused, exit 2; the command line itself is refused
  • reading the flags of echo-cli {command}: {flag} may be supplied only once; observed: {flag} is given {values}; arguments: {given}
  • Fix: keep one {flag}, the value meant
  • Test: tests/cli/arguments.test.mjs::a_flag_given_twice_is_named

echo.cli.arguments.flag-missing#

  • refused, exit 2; the command line itself is refused
  • reading the flags of echo-cli {command}: {command} needs {flag}; observed: given: {given}
  • Fix: add {flag}; `echo-cli {command} --help` lists every form and flag it takes
  • Test: tests/cli/arguments.test.mjs::a_verb_without_a_flag_it_needs_is_named

echo.cli.arguments.flags-conflict#

  • refused, exit 2; the command line itself is refused
  • reading the flags of echo-cli {command}: {command} takes {choices}, not both; observed: given: {given}
  • Fix: keep one of {choices}
  • Test: tests/cli/arguments.test.mjs::flags_that_exclude_each_other_are_refused

echo.cli.arguments.value-malformed#

  • refused, exit 2; the command line itself is refused
  • reading the flags of echo-cli {command}: {flag} must be {shape}; got {value}; observed: {flag} is {value}
  • Fix: write {flag} as {shape}
  • Test: tests/cli/arguments.test.mjs::a_value_of_the_wrong_form_is_named

echo.cli.arguments.value-choice#

  • refused, exit 2; the command line itself is refused
  • reading the flags of echo-cli {command}: {flag} must be one of {choices}; got {value}; observed: {flag} is {value}
  • Fix: write {flag} as one of {choices}
  • Test: tests/cli/arguments.test.mjs::a_value_outside_its_choices_is_named

echo.cli.arguments.file-not-json#

  • refused, exit 2; the command line itself is refused
  • reading the file {flag} names for echo-cli {command}: {flag} {path} is not a readable JSON file; observed: {where}, {size} bytes: {reason}
  • Fix: write {path} as one JSON document, or name a file that holds one
  • Test: tests/cli/arguments.test.mjs::a_file_that_is_not_json_is_named

echo.cli.arguments.file-shape#

  • refused, exit 2; the command line itself is refused
  • reading the file {flag} names for echo-cli {command}: {flag} {path} must hold {shape}; observed: {where} holds {found}
  • Fix: write {path} as {shape}
  • Test: tests/cli/arguments.test.mjs::a_file_of_another_shape_is_named

echo.cli.arguments.json-invalid#

  • refused, exit 2; the command line itself is refused
  • reading the flags of echo-cli {command}: {flag} is not JSON; observed: {flag} is {value}: {reason}
  • Fix: write {flag} as one JSON value
  • Test: tests/cli/arguments.test.mjs::a_flag_that_is_not_json_is_named

echo.cli.arguments.file-absent#

  • refused, exit 2; the command line itself is refused
  • reading the file {flag} names for echo-cli {command}: {flag} {path} cannot be read: nothing stands at that path; observed: {where}: {reason}; {stands}
  • Fix: name with {flag} a file that exists (the path is read from the working directory when it is relative)
  • Test: tests/cli/arguments.test.mjs::a_file_that_cannot_be_read_is_named

echo.cli.arguments.file-directory#

  • refused, exit 2; the command line itself is refused
  • reading the file {flag} names for echo-cli {command}: {flag} {path} cannot be read: it is a directory, and {flag} names a file; observed: {where}: {reason}; {stands}
  • Fix: name with {flag} a file inside it, not the directory
  • Test: tests/cli/arguments.test.mjs::a_directory_named_as_a_file_is_named

echo.cli.arguments.file-unpermitted#

  • refused, exit 2; the command line itself is refused
  • reading the file {flag} names for echo-cli {command}: {flag} {path} cannot be read: this user may not read it; observed: {where}: {reason}; {stands}
  • Fix: give this user read permission on it (`chmod u+r {path}`), or name a file this user can read with {flag}
  • Test: tests/cli/arguments.test.mjs::a_file_this_user_may_not_read_is_named

echo.cli.arguments.file-unreadable#

  • refused, exit 2; the command line itself is refused
  • reading the file {flag} names for echo-cli {command}: {flag} {path} cannot be read: the system failed while reading it ({error_code}); observed: {where}: {reason}; {stands}
  • Fix: read it with `cat {path}` to see whether the disk or the file system answers, then run again
  • Test: tests/cli/arguments.test.mjs::a_file_the_system_cannot_read_is_named

echo.cli.arguments.file-directory-absent#

  • refused, exit 2; the command line itself is refused
  • writing the file {flag} names for echo-cli {command}: {flag} {path} cannot be written: the directory it is to go in does not exist; observed: {reason}; {stands}; nothing was written to {path}
  • Fix: make the directory first (`mkdir -p {directory}`), or name with {flag} a path in a directory that exists
  • Test: tests/cli/arguments.test.mjs::a_file_that_cannot_be_written_is_named

echo.cli.arguments.file-write-unpermitted#

  • refused, exit 2; the command line itself is refused
  • writing the file {flag} names for echo-cli {command}: {flag} {path} cannot be written: this user may not write it or in its directory; observed: {reason}; {stands}; nothing was written to {path}
  • Fix: give this user write permission on {directory} (`chmod u+w {directory}`), or name with {flag} a path in a directory this user can write
  • Test: tests/cli/arguments.test.mjs::a_file_this_user_may_not_write_is_named

echo.cli.arguments.file-target-directory#

  • refused, exit 2; the command line itself is refused
  • writing the file {flag} names for echo-cli {command}: {flag} {path} cannot be written: a directory stands at that path, and {flag} names the file to write; observed: {reason}; {stands}; nothing was written to {path}
  • Fix: name with {flag} a file path, for example {path}/<name>
  • Test: tests/cli/arguments.test.mjs::a_directory_named_as_the_output_is_named

echo.cli.arguments.file-space#

  • infra_down, exit 69; running it again unchanged can help
  • writing the file {flag} names for echo-cli {command}: {flag} {path} cannot be written: the disk holding {directory} has no room left, or this user's quota on it is spent; observed: {reason}; {stands}; nothing was written to {path}
  • Fix: free space on that disk (`df -h {directory}` shows how much is left), then run again
  • Test: tests/cli/arguments.test.mjs::a_full_disk_under_the_output_is_named

echo.cli.arguments.file-unwritable#

  • refused, exit 2; the command line itself is refused
  • writing the file {flag} names for echo-cli {command}: {flag} {path} cannot be written: the system failed while writing it ({error_code}); observed: {reason}; {stands}; nothing was written to {path}
  • Fix: write a file to {directory} by hand to see whether the disk or the file system answers, then run again
  • Test: tests/cli/arguments.test.mjs::a_file_the_system_cannot_write_is_named

echo.cli.inputs#

Check the arguments a read or a change takes, from echo-cli flags or an echo-mcp tool call, before anything is read or changed.

No command starts it alone; the functionalities that use it do.

It uses no other functionality.

echo.cli.inputs.argument-missing#

  • refused, exit 2; the command line itself is refused
  • reading the arguments of {reading}: {argument} is required: {purpose}; observed: {argument} was not given; {call}
  • Fix: name it: {argument} in the echo-mcp tool call, or its flag on the echo-cli command (`echo-cli <command> --help` names it)
  • Test: tests/mcp/inputs.test.mjs::a_tool_without_an_argument_it_needs_is_named

echo.cli.inputs.argument-invalid#

  • refused, exit 2; the command line itself is refused
  • reading the arguments of {reading}: {argument} must be {shape}; got {value}; observed: {argument} is {value}; {call}
  • Fix: give {argument} as {shape}
  • Test: tests/mcp/inputs.test.mjs::an_argument_of_the_wrong_form_is_named

echo.cli.inputs.arguments-conflict#

  • refused, exit 2; the command line itself is refused
  • reading the arguments of {reading}: arguments that exclude each other were given together: {conflict}; observed: given: {given}; {call}
  • Fix: give {choices}, not both
  • Test: tests/mcp/inputs.test.mjs::arguments_that_exclude_each_other_are_refused

echo.cli.home#

Read HOME from echo-cli's environment, the root of Stado's install path (when STADO_BIN_DIR names none) and of the walkthrough's state file.

No command starts it alone; the functionalities that use it do.

It uses no other functionality.

echo.cli.home.home-unset#

  • config, exit 1
  • finding {reading} under HOME: HOME is unset or blank in echo-cli's environment, and {reading} is a path under it; observed: HOME is {home}; {alternative}
  • Fix: run echo-cli with HOME set to the home it reads and writes under, or set {variable}
  • Test: tests/stado/program.test.mjs::a_home_that_is_unset_is_named

echo.cli.sources.share#

Keep, in $XDG_CONFIG_HOME/echo/sources-share.json, whether each echo-cli sources discover reports echo.sources.discovered to Wisent Integrations.

A person starts it with `echo-cli sources share`.

It uses no other functionality.

echo.cli.sources.share.share-unkept#

  • config, exit 1
  • keeping whether echo-cli sources discover reports its counts: the answer is kept in {path}, and it could not be written; observed: {said}
  • Fix: set XDG_CONFIG_HOME to a directory this user can write, then answer again with echo-cli sources share yes or no
  • Test: tests/cli/sources-share.test.mjs::an_answer_to_sharing_that_cannot_be_kept_is_refused

echo.cli.stado#

Start the stado program ECHO_STADO_BIN names, else the first executable stado on PATH, else the one Stado's installer puts in STADO_BIN_DIR or under HOME, wait for its answer and read it as JSON.

No command starts it alone; the functionalities that use it do.

It also meets the causes of echo.cli.home.

echo.cli.stado.stado-missing#

  • config, exit 1
  • finding the stado program to run `{command}`: ECHO_STADO_BIN names no program, or it is unset, no directory on PATH holds stado and the directory Stado's installer puts it in (STADO_BIN_DIR, else HOME's .stado/bin) holds none; observed: {path} does not exist ({source}); {nearest}
  • Fix: set ECHO_STADO_BIN to the stado program (`command -v stado` prints where it is), set STADO_BIN_DIR to the directory Stado was installed in, or install Stado for this account (https://stado.wisent.com/docs/onboarding#install-an-exact-release)
  • Test: tests/stado/program.test.mjs::a_missing_stado_is_named

echo.cli.stado.stado-directory#

  • config, exit 1
  • starting `{command}`: {path} exists but is a directory, not the stado program; observed: {path} is {state} ({source}); starting it said {reason}
  • Fix: point ECHO_STADO_BIN at the stado program itself (`command -v stado` prints where it is), not the directory holding it
  • Test: tests/stado/program.test.mjs::a_stado_that_is_a_directory_is_named

echo.cli.stado.stado-not-executable#

  • config, exit 1
  • starting `{command}`: {path} exists but this user may not run it: it lacks the execute permission for this user; observed: {path} is {state} ({source}); starting it said {reason}
  • Fix: make it executable (`chmod u+x {path}`), or point ECHO_STADO_BIN at the stado program `command -v stado` prints
  • Test: tests/stado/program.test.mjs::a_stado_that_may_not_be_run_is_named

echo.cli.stado.stado-unstartable#

  • config, exit 1
  • starting `{command}`: {path} exists but cannot be run as a program: it is not a program for this machine; observed: {path} is {state} ({source}); starting it said {reason}
  • Fix: point ECHO_STADO_BIN at the stado program itself (`command -v stado` prints where it is), or install Stado again for this machine
  • Test: tests/stado/program.test.mjs::a_stado_that_cannot_be_started_is_named

echo.cli.stado.answer-not-json#

  • config, exit 1
  • reading what `{command}` printed: the program succeeded and printed something that is not JSON: {path} is not Stado, or something besides Stado writes to its standard output; observed: {path} ({source}) printed {size} characters: {reason}; they read {text}
  • Fix: point ECHO_STADO_BIN at the stado program itself (`command -v stado` prints where it is), and run `{command}` to see what it prints
  • Test: tests/stado/program.test.mjs::an_answer_that_is_not_json_is_named

echo.cli.secrets#

Read one field of one secret item through the secrets alternative `stado capabilities resolve secrets --consumer echo` names: Skarbiec, or the owner-only credential file.

No command starts it alone; the functionalities that use it do.

It also meets the causes of echo.cli.stado.

echo.cli.secrets.identity-retired#

  • config, exit 1
  • reading Echo's secrets under Stado's identity: {names} selected an Echo-only credential identity, which Stado refuses: Stado reads every item under its own identity; observed: {values}; nothing was read
  • Fix: unset {names} so Stado reads the items under its own identity
  • Test: tests/secrets/alternative.test.mjs::a_retired_identity_override_is_named

echo.cli.secrets.none-answers#

  • infra_down, exit 69; running it again unchanged can help
  • finding the secrets alternative Stado names for Echo: no alternative of the secrets family answers Echo: Skarbiec is not reachable from this machine and no owner-file store is configured; observed: {ran}; exit {status}: {said}
  • Fix: repair what Stado names for each alternative (`stado capabilities resolve secrets --consumer echo --json` lists them), or put one that answers first with `stado capabilities select secrets --order <alternatives>`
  • Test: tests/secrets/alternative.test.mjs::a_machine_where_no_secrets_alternative_answers_is_retryable

echo.cli.secrets.resolution-refused#

  • config, exit 1
  • running `{command}`: Stado refused to resolve the secrets family: its configuration cannot be read or does not declare what resolving needs; observed: {ran}; exit {status}: {said}
  • Fix: correct what Stado names (`stado config validate` judges the configuration file), then run again
  • Test: tests/secrets/alternative.test.mjs::a_configuration_stado_cannot_read_is_quoted

echo.cli.secrets.resolution-unreadable#

  • config, exit 1
  • reading what `{command}` answered: Stado answered success with JSON that is not the resolution Echo asked for (family secrets, consumer echo, a provider and a route): an older Stado; observed: {ran} succeeded: {wrong}; the answer is {found}
  • Fix: update Stado to a release whose `stado capabilities resolve secrets --consumer echo --json` answers family, consumer, provider and route, then run again
  • Test: tests/secrets/alternative.test.mjs::a_resolution_echo_cannot_read_is_named

echo.cli.secrets.provider-unsupported#

  • config, exit 1
  • reading {item}#{field} through the {provider} alternative at {route}: Echo reads secrets from Skarbiec or from the owner-only credential file, and Stado handed out another provider first; observed: {chosen}, as {asked} answered; Echo reads the providers skarbiec and owner-file
  • Fix: put skarbiec or owner-file first in the order (`stado capabilities select secrets --order skarbiec,owner-file`)
  • Test: tests/secrets/alternative.test.mjs::an_alternative_echo_cannot_read_is_named

echo.cli.secrets.store-unreachable#

  • infra_down, exit 69; running it again unchanged can help
  • reading {item}#{field} from the {provider} store at {route}: the store Stado proved stopped answering before the read: Skarbiec stopped or moved, or its route dropped the connection; observed: {ran}; exit {status}: {said}; {chosen}
  • Fix: run `stado capabilities resolve secrets --consumer echo --json`, which proves the alternative again and names why it does not answer, then run again
  • Test: tests/secrets/alternative.test.mjs::a_store_that_stops_answering_is_retryable

echo.cli.secrets.field-absent#

  • config, exit 1
  • reading {item}#{field} from the {provider} store at {route}: the store answered and refused the read: it holds an item {item}, and no field {field} on it; observed: {ran}; exit {status}: {said}; {chosen}
  • Fix: write the field to the item (`stado credentials get {item}` shows the fields it holds now; `stado credentials put {item}` reads the item's fields as JSON on standard input, the ones it holds now included)
  • Test: tests/secrets/alternative.test.mjs::a_field_the_item_lacks_is_named

echo.cli.secrets.item-missing#

  • config, exit 1
  • reading {item}#{field} from the {provider} store at {route}: the store answered and holds no item {item}: the owner-only file or Skarbiec Stado named was never written this item, or it was written to another store; observed: {ran}; exit {status}: {said}; {chosen}
  • Fix: write the item to the store Stado names (`stado credentials put {item}` reads its fields as JSON on standard input), or bind the database with NEXT_PUBLIC_SUPABASE_URL and SUPABASE_SERVICE_ROLE_KEY
  • Test: tests/secrets/alternative.test.mjs::an_item_the_store_lacks_is_named

echo.cli.secrets.read-denied#

  • auth, exit 1
  • reading {item}#{field} from the {provider} store at {route}: the store answered and refused the identity Stado reads under: its token or grant is not one the store admits for {item}; observed: {ran}; exit {status}: {said}; {chosen}
  • Fix: repair Stado's identity with the store as Stado's fix names (`stado credentials doctor` reports whether a key on this machine still opens the vault), then run again
  • Test: tests/secrets/alternative.test.mjs::an_identity_skarbiec_refuses_is_named

echo.cli.secrets.read-refused#

  • config, exit 1
  • reading {item}#{field} from the {provider} store at {route}: the store answered and refused the read for a cause of Stado's own ({stado_cause}); observed: {ran}; exit {status}: {said}; {chosen}
  • Fix: correct what Stado names (`stado errors show stado.credentials` lists every way the read fails), then run again
  • Test: tests/secrets/alternative.test.mjs::a_read_stado_refuses_otherwise_is_quoted

echo.cli.database.binding#

Find Echo's database: the one NEXT_PUBLIC_SUPABASE_URL and SUPABASE_SERVICE_ROLE_KEY bind, else the one `stado database resolve echo --consumer echo` declares, with the address and service-role key its credential item holds.

No command starts it alone; the functionalities that use it do.

It also meets the causes of echo.cli.stado, echo.cli.secrets.

echo.cli.database.binding.binding-partial#

  • config, exit 1
  • binding Echo's database from the environment: NEXT_PUBLIC_SUPABASE_URL and SUPABASE_SERVICE_ROLE_KEY bind one database together, and only {set} is set; observed: {set} is set and {unset} is not
  • Fix: set {unset} to the same database's value, or unset {set} so Echo reads the database Stado declares
  • Test: tests/database/binding.test.mjs::half_a_binding_is_named

echo.cli.database.binding.database-undeclared#

  • config, exit 1
  • running `{command}`: Stado declares no database echo on this machine, so it names no credential item to read Echo's database with; observed: {ran}; exit {status}: {said}
  • Fix: declare it (`stado database declare echo --engine postgres --consumer echo`) and write its address and key to the item it names (`stado credentials put echo-database`), or bind one with NEXT_PUBLIC_SUPABASE_URL and SUPABASE_SERVICE_ROLE_KEY
  • Test: tests/database/binding.test.mjs::an_undeclared_database_is_named

echo.cli.database.binding.consumer-unadmitted#

  • config, exit 1
  • running `{command}`: Stado declares the database echo, and echo is not one of the consumers it may be resolved for; observed: {ran}; exit {status}: {said}
  • Fix: admit Echo (`stado database grant echo --consumer echo`)
  • Test: tests/database/binding.test.mjs::a_database_echo_is_not_admitted_to_is_named

echo.cli.database.binding.database-refused#

  • config, exit 1
  • running `{command}`: Stado refused to resolve Echo's database for a cause of its own ({stado_cause}): its configuration file cannot be read, or a setting in it is not what it must be; observed: {ran}; exit {status}: {said}
  • Fix: correct what Stado names (`stado config validate` judges the configuration file; `stado errors show stado.database.resolve` lists every way the resolution fails), then run again
  • Test: tests/database/binding.test.mjs::a_configuration_stado_cannot_read_is_named

echo.cli.database.binding.database-unanswered#

  • infra_down, exit 69; running it again unchanged can help
  • running `{command}`: Stado could not reach what resolving the database needs (its registry or the service directory); observed: {ran}; exit {status}: {said}
  • Fix: run `stado database resolve echo --consumer echo --json` again once what Stado names answers
  • Test: tests/database/binding.test.mjs::a_resolution_stado_cannot_reach_is_retryable

echo.cli.database.binding.database-unreadable#

  • config, exit 1
  • reading what `{command}` answered: Stado answered success with JSON without the credential item and placement Echo reads: an older Stado; observed: {ran} succeeded: credential_item is {item}, placed is {placed}; the answer is {found}
  • Fix: update Stado to a release whose `stado database resolve echo --consumer echo --json` answers credential_item and placed, then run again
  • Test: tests/database/binding.test.mjs::a_database_answer_echo_cannot_read_is_named

echo.cli.database.binding.url-invalid#

  • config, exit 1
  • reading the address of Echo's database from {source}: the database is reached over its REST API, so its address is an http(s) URL, and {source} holds none; observed: {length} characters that start {start}: {problem}
  • Fix: write the database's REST address (https://<project>.supabase.co, or the rest_url `stado database rest` placed) to {source}
  • Test: tests/database/binding.test.mjs::an_address_that_is_not_a_url_is_named

echo.cli.database.reads#

Read every row a query selects from Echo's database through its REST API, page by page up to the exact count it reports.

No command starts it alone; the functionalities that use it do.

It also meets the causes of echo.cli.database.binding.

echo.cli.database.reads.unreachable#

  • infra_down, exit 69; running it again unchanged can help
  • reading {relation} from Echo's database at {origin}: the request got no answer: the address does not resolve, nothing listens there or the connection dropped; observed: HTTP {status} {code}: {message}; the query {query} read {source}
  • Fix: run again once the database at {origin} answers; `curl -sS {origin}/rest/v1/` shows whether it does
  • Test: tests/database/reads.test.mjs::a_database_nothing_answers_at_is_retryable

echo.cli.database.reads.unauthorized#

  • auth, exit 1
  • reading {relation} from Echo's database at {origin}: the database refused the service-role key Echo presented; observed: HTTP {status} {code}: {message}; the key presented is {key_length}, read from {source}
  • Fix: write the database's current service-role key to the item `stado database resolve echo --consumer echo` names (field service_role_key), or to SUPABASE_SERVICE_ROLE_KEY
  • Test: tests/database/reads.test.mjs::a_key_the_database_refuses_is_named

echo.cli.database.reads.relation-missing#

  • config, exit 1
  • reading {relation} from Echo's database at {origin}: the database holds no {relation} with the columns Echo reads: its schema is older than this Echo; observed: HTTP {status} {code}: {message}; the query {query} read {source}
  • Fix: apply Echo's schema migrations (wisent-supabase-echo) to the database at {origin}, then run again
  • Test: tests/database/reads.test.mjs::a_relation_the_database_lacks_is_named

echo.cli.database.reads.database-failed#

  • infra_down, exit 69; running it again unchanged can help
  • reading {relation} from Echo's database at {origin}: the database failed on its side while answering; observed: HTTP {status} {code}: {message}; the query {query} read {source}
  • Fix: run again once the database at {origin} answers; its own logs name the failure
  • Test: tests/database/reads.test.mjs::a_database_failing_on_its_side_is_retryable

echo.cli.database.reads.value-mistyped#

  • refused, exit 2; the command line itself is refused
  • reading {relation} from Echo's database at {origin}: a value the read compares is not of its column's type or form: an id that is not one the list command prints, or a number or date written otherwise; observed: HTTP {status} {code}: {message}; the query {query} read {source}
  • Fix: name the value as the list command prints it (`echo-cli products` lists product ids), then run again
  • Test: tests/database/reads.test.mjs::a_value_of_another_type_is_named

echo.cli.database.reads.query-refused#

  • refused, exit 1
  • reading {relation} from Echo's database at {origin}: the database refused the query in its own words; observed: HTTP {status} {code}: {message}; the query {query} read {source}
  • Fix: correct what the database names; the query is Echo's, so a refusal that persists is an Echo defect to report with this sentence
  • Test: tests/database/reads.test.mjs::a_query_the_database_refuses_is_quoted

echo.cli.database.reads.rows-missing#

  • infra_down, exit 69; running it again unchanged can help
  • reading {relation} from Echo's database at {origin}: the database answered a list read without {missing}, so the read would return fewer rows than exist and say nothing; observed: {observed}; the query {query} read {source}
  • Fix: run again; a database that keeps answering so is behind a proxy that cuts its answers, which `curl -sS -I {origin}/rest/v1/{relation}` shows
  • Test: tests/database/reads.test.mjs::a_list_answered_without_its_count_is_named

echo.cli.web#

Call one Echo Web operation at ECHO_WEB_BASE_URL with ECHO_INTERNAL_BEARER and read its JSON, text or event-stream answer, passing a refusal Echo Web declares on as it declared it.

No command starts it alone; the functionalities that use it do.

It uses no other functionality.

echo.cli.web.origin-unset#

  • config, exit 1
  • finding Echo Web for {request}: ECHO_WEB_BASE_URL is not configured: it names the origin of the Echo Web deployment echo-cli calls; observed: ECHO_WEB_BASE_URL is {state}
  • Fix: set ECHO_WEB_BASE_URL to the origin of the Echo Web deployment (https://echo.example.com) in the environment echo-cli or echo-mcp runs in
  • Test: tests/web/calls.test.mjs::a_call_without_the_web_origin_is_named

echo.cli.web.origin-invalid#

  • config, exit 1
  • finding Echo Web for {request}: ECHO_WEB_BASE_URL must be an HTTP or HTTPS origin: no path, query, fragment or credentials, since the bearer token is sent to it; observed: {problem}; ECHO_WEB_BASE_URL is {value}
  • Fix: set ECHO_WEB_BASE_URL to the bare origin of the Echo Web deployment ({suggested}) in the environment echo-cli or echo-mcp runs in
  • Test: tests/web/calls.test.mjs::a_web_origin_that_is_not_an_origin_is_named

echo.cli.web.bearer-unset#

  • config, exit 1
  • authenticating {request} to Echo Web at {origin}: ECHO_INTERNAL_BEARER is not configured: Echo Web admits echo-cli by the Supabase access token of a signed-in Echo Web admin; observed: ECHO_INTERNAL_BEARER is {state}
  • Fix: set ECHO_INTERNAL_BEARER to your own operator Supabase access token for the deployment at {origin} (sign in with the email of an Echo Web admin; README.md shows how) in the environment echo-cli or echo-mcp runs in, never to its CRON_SECRET
  • Test: tests/web/calls.test.mjs::a_call_without_the_bearer_is_named

echo.cli.web.unreachable#

  • infra_down, exit 69; running it again unchanged can help
  • {request} to Echo Web at {origin}: the request got no answer: the origin does not resolve, nothing listens there or the connection dropped; observed: {reason}, {when}
  • Fix: run again once Echo Web at {origin} answers; `curl -sS -o /dev/null -w '%{http_code}' {origin}` shows whether it does
  • Test: tests/web/calls.test.mjs::a_web_origin_nothing_answers_at_is_retryable

echo.cli.web.denied#

  • auth, exit 1
  • {request} to Echo Web at {origin}: Echo Web did not admit the bearer echo-cli presented; observed: HTTP {status} ({type}) at {date}, answering a request {presented}: {answer}
  • Fix: set ECHO_INTERNAL_BEARER to your own operator Supabase access token for the deployment at {origin} (sign in with the email of an Echo Web admin; README.md shows how) in the environment echo-cli or echo-mcp runs in, never to its CRON_SECRET
  • Test: tests/web/calls.test.mjs::a_bearer_echo_web_refuses_is_named

echo.cli.web.public-denied#

  • auth, exit 1
  • {request} to Echo Web at {origin}: Echo Web refused a public read, which carries no bearer: the deployment at {origin} does not serve that route to a read without one; observed: HTTP {status} ({type}) at {date}, answering a request {presented}: {answer}
  • Fix: lift the protection in front of the deployment at {origin} for its public routes, or deploy the Echo Web revision this echo-cli was released with
  • Test: tests/web/calls.test.mjs::a_public_read_echo_web_refuses_is_named

echo.cli.web.absent#

  • not_found, exit 1
  • {request} to Echo Web at {origin}: Echo Web at {origin} serves no such route: its 404 is a page, not an answer of a route echo-cli calls, so the deployment is older than this echo-cli; observed: HTTP {status} ({type}) at {date}, answering a request {presented}: {answer}
  • Fix: deploy the Echo Web revision this echo-cli was released with, then run again
  • Test: tests/web/calls.test.mjs::a_route_echo_web_lacks_is_named

echo.cli.web.object-absent#

  • not_found, exit 1
  • {request} to Echo Web at {origin}: Echo Web's route answered that what {request} names does not exist: the id names nothing it keeps; observed: HTTP {status} ({type}) at {date}, answering a request {presented}: {answer}
  • Fix: name an id the list command of the same noun prints, then run again
  • Test: tests/web/calls.test.mjs::an_object_echo_web_lacks_is_named

echo.cli.web.throttled#

  • rate_limit, exit 69; running it again unchanged can help
  • {request} to Echo Web at {origin}: Echo Web refused the request for its pace; observed: HTTP {status} ({type}) at {date}, answering a request {presented}: {answer}
  • Fix: run again after {retry_after}
  • Test: tests/web/calls.test.mjs::a_throttled_call_is_retryable

echo.cli.web.failed#

  • infra_down, exit 69; running it again unchanged can help
  • {request} to Echo Web at {origin}: Echo Web or a service it depends on failed while answering; observed: HTTP {status} ({type}) at {date}, answering a request {presented}: {answer}
  • Fix: run again once the deployment at {origin} answers; its logs at the time the answer names hold the failure
  • Test: tests/web/calls.test.mjs::a_call_echo_web_fails_on_its_side_is_retryable

echo.cli.web.refused#

  • refused, exit 1
  • {request} to Echo Web at {origin}: Echo Web refused the request in words it does not declare as a cause; observed: HTTP {status} ({type}) at {date}, answering a request {presented}: {answer}
  • Fix: correct what Echo Web's answer names, then run again
  • Test: tests/web/calls.test.mjs::a_request_echo_web_refuses_is_quoted

echo.cli.web.answer-page#

  • config, exit 1
  • reading what Echo Web at {origin} answered {request}: the answer is a web page, not the JSON of an Echo Web route: something in front of the deployment answered instead (a sign-in page of its protection, a proxy, or another site at ECHO_WEB_BASE_URL); observed: HTTP {status} ({type}){landed}: {answer}
  • Fix: point ECHO_WEB_BASE_URL at the Echo Web deployment itself, or let its protection admit the bearer echo-cli presents, then run again
  • Test: tests/web/calls.test.mjs::an_answer_that_is_a_page_is_named

echo.cli.web.not-json#

  • config, exit 1
  • reading what Echo Web at {origin} answered {request}: the answer is neither JSON nor a page: the route answered in another format, so the deployment is of another revision than this echo-cli; observed: HTTP {status} ({type}): {answer}
  • Fix: deploy the Echo Web revision this echo-cli was released with, then run again
  • Test: tests/web/calls.test.mjs::an_answer_that_is_not_json_is_named

echo.cli.web.answer-shape#

  • config, exit 1
  • reading what Echo Web at {origin} answered {request}: the answer is JSON without {expected}: the deployment is of another revision than this echo-cli; observed: it holds {found}: {answer}
  • Fix: deploy the Echo Web revision this echo-cli was released with, then run again
  • Test: tests/web/calls.test.mjs::an_answer_of_another_shape_is_named

echo.cli.web.unconfirmed#

  • config, exit 1
  • {request} to Echo Web at {origin}: Echo Web answered success without confirming the change ({confirmation}), so the change to product {product} may not have happened; observed: its success is {success}; the answer is {answer}
  • Fix: read the product again (`echo-cli product {product}`) to see whether the change happened, and deploy the Echo Web revision this echo-cli was released with
  • Test: tests/web/calls.test.mjs::a_change_echo_web_does_not_confirm_is_named

echo.cli.web.stream-missing#

  • config, exit 1
  • reading the event stream Echo Web at {origin} answered {request}: the answer has no body to read as a text/event-stream: a proxy buffered or dropped it, or the deployment is of another revision; observed: HTTP {status} ({type}) with no body
  • Fix: call Echo Web directly at its origin, of the revision this echo-cli was released with
  • Test: tests/web/calls.test.mjs::a_stream_without_a_body_is_named

echo.cli.web.event-not-json#

  • config, exit 1
  • reading the event stream Echo Web at {origin} answered {request}: an event's data is not JSON: the deployment is of another revision than this echo-cli; observed: {reason}: {data}; {count} events were read before it
  • Fix: deploy the Echo Web revision this echo-cli was released with, then run again
  • Test: tests/web/calls.test.mjs::an_event_that_is_not_json_is_named

echo.cli.web.passed-on#

  • refused, exit 1
  • {request} to Echo Web at {origin}: Echo Web refused it for a cause it declares ({web_cause}): the request reached the deployment and was judged there, so the fix is the one Echo Web names; observed: HTTP {status} at {date}: {sentence}; Echo Web's cause {web_cause} is listed at {web_doc}
  • Fix: do what Echo Web's fix names: {web_remedy}
  • Test: tests/web/calls.test.mjs::a_refusal_echo_web_declares_is_passed_on

echo.mcp.protocol#

Read one JSON-RPC request per line on standard input and answer initialize, ping, tools/list and tools/call.

A person starts it with `echo-mcp`.

It uses no other functionality.

echo.mcp.protocol.line-not-json#

  • refused, exit 2; the command line itself is refused
  • reading one request line on echo-mcp's standard input: the line is not JSON: echo-mcp reads one JSON-RPC request per line; observed: {reason}; the line is {length} characters: {text}
  • Fix: send each request as one line of JSON
  • Test: tests/mcp/protocol.test.mjs::a_line_that_is_not_json_is_answered_as_a_parse_error

echo.mcp.protocol.request-not-object#

  • refused, exit 2; the command line itself is refused
  • reading one request line on echo-mcp's standard input: a line holds one JSON-RPC request object; echo-mcp answers no batch and no other value; observed: the line holds {found}
  • Fix: send each request as one JSON object {form} on a line of its own
  • Test: tests/mcp/protocol.test.mjs::a_request_that_is_not_an_object_is_named

echo.mcp.protocol.method-missing#

  • refused, exit 2; the command line itself is refused
  • reading request {id}: a request names the method it calls as a non-empty string; observed: method is {method}
  • Fix: name the method: initialize, ping, tools/list or tools/call
  • Test: tests/mcp/protocol.test.mjs::a_request_without_a_method_is_named

echo.mcp.protocol.method-unknown#

  • refused, exit 2; the command line itself is refused
  • answering {method}: echo-mcp serves initialize, ping, tools/list and tools/call, and no method {method}; observed: request {id} names {method}; {nearest}
  • Fix: call one of initialize, ping, tools/list and tools/call
  • Test: tests/mcp/protocol.test.mjs::a_method_echo_mcp_lacks_is_named

echo.mcp.protocol.call-unaddressed#

  • refused, exit 2; the command line itself is refused
  • reading a tools/call request: tools/call needs params naming the tool to call; observed: params is {params}
  • Fix: send params as { name, arguments }; `tools/list` names every tool echo-mcp serves
  • Test: tests/mcp/protocol.test.mjs::a_call_without_params_is_named

echo.mcp.protocol.name-invalid#

  • refused, exit 2; the command line itself is refused
  • reading a tools/call request: the tool's name must be a non-empty string; observed: name is {name}
  • Fix: send the name of a tool; `tools/list` names every tool echo-mcp serves
  • Test: tests/mcp/protocol.test.mjs::a_call_whose_name_is_not_text_is_named

echo.mcp.protocol.tool-unknown#

  • refused, exit 2; the command line itself is refused
  • calling {name}: echo-mcp serves no tool {name}; observed: the call names {name}; {nearest}; echo-mcp serves {count} tools
  • Fix: call a tool by a name `tools/list` names every tool echo-mcp serves
  • Test: tests/mcp/protocol.test.mjs::a_tool_echo_mcp_lacks_is_named

echo.mcp.protocol.arguments-shape#

  • refused, exit 2; the command line itself is refused
  • reading the arguments of {name}: arguments, when sent, must be one JSON object of the tool's argument names; observed: arguments is {arguments}
  • Fix: send arguments as an object, or leave them out for a tool that takes none
  • Test: tests/mcp/protocol.test.mjs::arguments_that_are_not_an_object_are_named

echo.mcp.protocol.manifest-absent#

  • config, exit 1
  • reading the version echo-mcp answers initialize with from {manifest}: no package manifest stands beside echo-mcp: the install is incomplete, or echo-mcp was copied out of its package; observed: {manifest} is {state}: {reason}
  • Fix: install Echo's CLI again (the echo release installer at `stado://releases/echo/<version>/<platform>/install.sh`), which writes the package with its manifest
  • Test: tests/mcp/protocol.test.mjs::a_manifest_that_is_absent_is_named

echo.mcp.protocol.manifest-unpermitted#

  • config, exit 1
  • reading the version echo-mcp answers initialize with from {manifest}: the package manifest installed beside echo-mcp is not a file this user may read; observed: {manifest} is {state}: {reason}
  • Fix: give this user read permission on it (`chmod u+r {manifest}`), or install Echo's CLI again (the echo release installer at `stado://releases/echo/<version>/<platform>/install.sh`), which writes the package with its manifest
  • Test: tests/mcp/protocol.test.mjs::a_manifest_this_user_may_not_read_is_named

echo.mcp.protocol.manifest-unreadable#

  • config, exit 1
  • reading the version echo-mcp answers initialize with from {manifest}: the package manifest installed beside echo-mcp stands there and the system failed reading it ({error_code}): a directory in its place or a failing disk; observed: {manifest} is {state}: {reason}
  • Fix: install Echo's CLI again (the echo release installer at `stado://releases/echo/<version>/<platform>/install.sh`), which writes the package with its manifest
  • Test: tests/mcp/protocol.test.mjs::a_manifest_that_cannot_be_read_is_named

echo.mcp.protocol.manifest-not-json#

  • config, exit 1
  • reading the version echo-mcp answers initialize with from {manifest}: the package manifest installed beside echo-mcp is not JSON: the install was cut short or the file was changed after it; observed: {size} bytes: {reason}; it reads {text}
  • Fix: install Echo's CLI again (the echo release installer at `stado://releases/echo/<version>/<platform>/install.sh`), which writes the package with its manifest
  • Test: tests/mcp/protocol.test.mjs::a_manifest_that_is_not_json_is_named

echo.mcp.protocol.manifest-versionless#

  • config, exit 1
  • reading the version echo-mcp answers initialize with from {manifest}: the package manifest installed beside echo-mcp names no version: it is not the manifest Echo's CLI is released with; observed: {manifest} ({size} bytes) holds {found} naming the package {name}; its version is {version}
  • Fix: install Echo's CLI again (the echo release installer at `stado://releases/echo/<version>/<platform>/install.sh`), which writes the package with its manifest
  • Test: tests/mcp/protocol.test.mjs::a_manifest_without_a_version_is_named

echo.cli.errors#

Print every functionality echo-cli and echo-mcp declare a failure catalogue for, and every cause one of them can meet.

A person starts it with `echo-cli errors list`, `echo-cli errors show <operation>`.

It also meets the causes of echo.cli.arguments.

echo.cli.errors.operation-unknown#

  • refused, exit 2; the command line itself is refused
  • showing the failure catalogue of {operation}: echo-cli declares no functionality {operation}; observed: {nearest}; the declared functionalities are {declared}
  • Fix: name one `echo-cli errors list` prints
  • Test: tests/errors/catalogue.test.mjs::an_operation_echo_does_not_declare_is_named

echo.cli.commands#

Describe every command echo-cli dispatches, as the tables each command dispatches from hold it, without running one.

A person starts it with `echo-cli command ls`, `echo-cli command get --path <path>`.

It also meets the causes of echo.cli.arguments.

echo.cli.commands.path-missing#

  • refused, exit 2; the command line itself is refused
  • describing one echo-cli command: `command get` describes the command --path names, and none is named; observed: arguments: {given}
  • Fix: name it with --path and its whole path, words separated by spaces, as `echo-cli command ls` prints it: `echo-cli command get --path 'okr list'`
  • Test: tests/cli/commands.test.mjs::command_get_without_a_path_is_refused

echo.cli.commands.path-unknown#

  • refused, exit 2; the command line itself is refused
  • describing the echo-cli command {path}: echo-cli dispatches no command at the path {path}; observed: {nearest}
  • Fix: name a whole path `echo-cli command ls` prints
  • Test: tests/cli/commands.test.mjs::command_get_of_a_path_echo_lacks_is_named

echo.cli.commands.tree-invalid#

  • config, exit 1
  • reading the commands echo-cli dispatches: the dispatch of {path} holds {found}, which is neither an operation (a function, or a verb with its usage) nor a group of further words, so echo-cli cannot say what runs there; observed: at {path}: {found}
  • Fix: repair the table that command dispatches from in cli/; this is a defect of echo-cli, reported to its repository
  • Test: tests/cli/commands.test.mjs::a_dispatch_table_holding_neither_an_operation_nor_a_group_is_named

echo.cli.commands.tree-missing#

  • config, exit 1
  • reading the commands echo-cli dispatches: echo-cli dispatches {command}, and that command declares no tree of the words it takes, so its operations cannot be listed; observed: {command} is dispatched by {runner} with no tree beside it in cli/verbs/commands.mjs
  • Fix: export the table {command} dispatches from and name it beside its runner in cli/verbs/commands.mjs; this is a defect of echo-cli, reported to its repository
  • Test: tests/cli/commands.test.mjs::a_command_dispatched_without_its_tree_is_named

echo.cli.products#

Read one product, adopt an existing account's data as a product, change a product's fields and remove a product.

A person starts it with `echo-cli product <id>`, `echo-cli product edit <id>`, `echo-cli product remove <id> --confirm`, `echo-cli seed-profile`, `echo-mcp echo_get_product`.

It also meets the causes of echo.cli.arguments, echo.cli.database.reads, echo.cli.web.

echo.cli.products.product-absent#

  • not_found, exit 1
  • reading product {product}: no product has that id in Echo's database; observed: the products table of {database} holds no row {product}
  • Fix: name a product `echo-cli products` lists
  • Test: tests/cli/product.test.mjs::a_product_that_does_not_exist_is_named

echo.cli.products.confirmation-missing#

  • refused, exit 2; the command line itself is refused
  • removing product {product}: removing a product deletes it and cannot be undone, so it runs only when --confirm is the one word after the id; observed: after the id: {given}; nothing was read or removed
  • Fix: run `echo-cli product remove {product} --confirm`
  • Test: tests/cli/product.test.mjs::a_removal_without_confirmation_is_refused

echo.cli.products.nothing-to-change#

  • refused, exit 2; the command line itself is refused
  • editing product {product}: product edit changes nothing: it was given none of the fields it changes; observed: after the id: {given}
  • Fix: name at least one of {fields}
  • Test: tests/cli/product.test.mjs::an_edit_that_changes_nothing_is_refused

echo.cli.products.name-empty#

  • refused, exit 2; the command line itself is refused
  • editing product {product}: --name cannot be empty: a product is listed and adopted by its name; observed: --name is {value}
  • Fix: give --name the product's name
  • Test: tests/cli/product.test.mjs::an_empty_name_is_refused

echo.cli.products.adoption-conflicts#

  • refused, exit 1
  • adopting account {account} as product {name} through Echo Web: Echo Web answered the adoption without applying it: the account already carries data that differs from what was asked; observed: conflicting: {conflicting}; nothing was imported or changed
  • Fix: ask for what the account already holds (the printed answer names each conflicting field), or start again with `echo-cli onboarding --reset --account {account} --name <product>`
  • Test: tests/cli/product.test.mjs::an_adoption_the_account_conflicts_with_is_named

echo.cli.products.adoption-rejected#

  • refused, exit 1
  • adopting account {account} as product {name} through Echo Web: Echo Web rejected fields of the adoption before applying it; observed: rejected: {rejected}; nothing was imported or changed
  • Fix: correct each rejected field (--account names a Weles account; --platforms lists supported platforms once each), then run again
  • Test: tests/cli/product.test.mjs::an_adoption_with_rejected_fields_is_named

echo.cli.products.adoption-refused#

  • refused, exit 1
  • adopting account {account} as product {name} through Echo Web: Echo Web answered the adoption without applying it and named neither a conflict nor a rejected field: the deployment is of another revision than this echo-cli; observed: applied is {applied}; the answer holds {found}
  • Fix: deploy the Echo Web revision this echo-cli was released with, then run again
  • Test: tests/cli/product.test.mjs::an_adoption_echo_web_does_not_apply_is_named

echo.cli.onboarding#

Walk an operator through Echo's first use in their language, keep where they are in this machine's state file, and finish on a real adoption.

A person starts it with `echo-cli onboarding`.

It also meets the causes of echo.cli.arguments, echo.cli.products, echo.cli.home.

echo.cli.onboarding.texts-absent#

  • config, exit 1
  • loading the walkthrough's words from {path}: a part of the walkthrough's words installed with echo-cli (texts/catalogue.json, the texts/translations directory or one language's file in it) is not there: the install is incomplete; observed: {path} is {state}: {reason}
  • Fix: install Echo's CLI again (the echo release installer at `stado://releases/echo/<version>/<platform>/install.sh`), which writes it whole
  • Test: tests/onboarding/state.test.mjs::a_words_part_that_is_absent_is_named

echo.cli.onboarding.texts-unreadable#

  • config, exit 1
  • loading the walkthrough's words from {path}: a part of the walkthrough's words installed with echo-cli stands there and cannot be read ({error_code}): this user may not read it, or the system failed reading it; observed: {path} is {state}: {reason}
  • Fix: install Echo's CLI again (the echo release installer at `stado://releases/echo/<version>/<platform>/install.sh`), which writes it whole
  • Test: tests/onboarding/state.test.mjs::a_words_bundle_that_cannot_be_read_is_named

echo.cli.onboarding.texts-not-json#

  • config, exit 1
  • loading the walkthrough's words from {path}: a part of the walkthrough's words installed with echo-cli is not JSON: the install was cut short or the file was changed after it; observed: {size} bytes: {reason}; it reads {text}
  • Fix: install Echo's CLI again (the echo release installer at `stado://releases/echo/<version>/<platform>/install.sh`), which writes it whole
  • Test: tests/onboarding/state.test.mjs::a_words_bundle_that_is_not_json_is_named

echo.cli.onboarding.texts-shapeless#

  • config, exit 1
  • loading the walkthrough's words from {path}: a part of the walkthrough's words is JSON but not {expected}, so it is not what wisent-texts writes there; observed: it holds {found}
  • Fix: install Echo's CLI again (the echo release installer at `stado://releases/echo/<version>/<platform>/install.sh`), which writes it whole
  • Test: tests/onboarding/state.test.mjs::a_words_bundle_without_its_texts_is_named

echo.cli.onboarding.definition-absent#

  • config, exit 1
  • loading the walkthrough from {path}: the walkthrough definition installed with echo-cli is not there: the install is incomplete; observed: {path} is {state}: {reason}
  • Fix: install Echo's CLI again (the echo release installer at `stado://releases/echo/<version>/<platform>/install.sh`), which writes it whole
  • Test: tests/onboarding/state.test.mjs::a_definition_that_is_absent_is_named

echo.cli.onboarding.definition-unreadable#

  • config, exit 1
  • loading the walkthrough from {path}: the walkthrough definition installed with echo-cli stands there and cannot be read ({error_code}): this user may not read it, or the system failed reading it; observed: {path} is {state}: {reason}
  • Fix: install Echo's CLI again (the echo release installer at `stado://releases/echo/<version>/<platform>/install.sh`), which writes it whole
  • Test: tests/onboarding/state.test.mjs::a_definition_that_cannot_be_read_is_named

echo.cli.onboarding.definition-not-json#

  • config, exit 1
  • loading the walkthrough from {path}: the walkthrough definition installed with echo-cli is not JSON: the install was cut short or the file was changed after it; observed: {size} bytes: {reason}; it reads {text}
  • Fix: install Echo's CLI again (the echo release installer at `stado://releases/echo/<version>/<platform>/install.sh`), which writes it whole
  • Test: tests/onboarding/state.test.mjs::a_definition_that_is_not_json_is_named

echo.cli.onboarding.definition-loops#

  • config, exit 1
  • ordering the walkthrough's screens from {path}: the definition's transitions come back to a screen already shown, so the walkthrough would never end; observed: the cycle closes at screen {screen} after {visited}
  • Fix: install Echo's CLI again (the echo release installer at `stado://releases/echo/<version>/<platform>/install.sh`), which writes it whole
  • Test: tests/onboarding/state.test.mjs::a_definition_that_loops_is_named

echo.cli.onboarding.screen-undefined#

  • config, exit 1
  • ordering the walkthrough's screens from {path}: a transition of the definition leads to a screen the definition does not carry; observed: no screen {screen}, which {from} leads to; the definition carries {carried}
  • Fix: install Echo's CLI again (the echo release installer at `stado://releases/echo/<version>/<platform>/install.sh`), which writes it whole
  • Test: tests/onboarding/state.test.mjs::a_transition_to_a_missing_screen_is_named

echo.cli.onboarding.screen-wordless#

  • config, exit 1
  • ordering the walkthrough's screens from {path}: a screen carries no title or body, or no title_key or body_key naming its words in texts/; observed: screen {screen} lacks {missing}
  • Fix: install Echo's CLI again (the echo release installer at `stado://releases/echo/<version>/<platform>/install.sh`), which writes it whole
  • Test: tests/onboarding/state.test.mjs::a_screen_without_words_is_named

echo.cli.onboarding.definition-empty#

  • config, exit 1
  • ordering the walkthrough's screens from {path}: the definition names no entry screen, so no screen is reachable; observed: entry_screen_id is {entry}
  • Fix: install Echo's CLI again (the echo release installer at `stado://releases/echo/<version>/<platform>/install.sh`), which writes it whole
  • Test: tests/onboarding/state.test.mjs::a_definition_without_screens_is_named

echo.cli.onboarding.transitions-missing#

  • config, exit 1
  • ordering the walkthrough's screens from {path}: a screen of the definition holds no transitions list; every screen carries one, empty on the last; observed: screen {screen} holds transitions {value}
  • Fix: install Echo's CLI again (the echo release installer at `stado://releases/echo/<version>/<platform>/install.sh`), which writes it whole
  • Test: tests/onboarding/state.test.mjs::a_screen_without_transitions_is_named

echo.cli.onboarding.progress-directory#

  • config, exit 1
  • reading the walkthrough's progress from {path}: a directory stands where the state file is to be, so the progress cannot be read or written; observed: {path} is {state}
  • Fix: move the directory at {path} away, then run again
  • Test: tests/onboarding/state.test.mjs::a_directory_at_the_progress_path_is_named

echo.cli.onboarding.progress-unreadable#

  • config, exit 1
  • reading the walkthrough's progress from {path}: the state file is there but this user may not read it; observed: {path} is {state}: {reason}
  • Fix: give this user read permission on {path} (`chmod u+r {path}`), or move it away, then run again
  • Test: tests/onboarding/state.test.mjs::a_progress_file_that_cannot_be_read_is_named

echo.cli.onboarding.progress-read-failed#

  • config, exit 1
  • reading the walkthrough's progress from {path}: the system refused to read the state file for a reason other than permission: a loop of symbolic links, a name too long or an I/O error; observed: {path} is {state}: {reason}
  • Fix: `ls -l {path}` shows what stands there; move it away, then run again
  • Test: tests/onboarding/state.test.mjs::a_progress_path_the_system_cannot_read_is_named

echo.cli.onboarding.progress-not-json#

  • config, exit 1
  • reading the walkthrough's progress from {path}: the state file is not JSON: it was cut short or written by something other than echo-cli; observed: {size} bytes: {reason}; it reads {text}
  • Fix: start the walkthrough again with `echo-cli onboarding --reset`, which writes the file anew
  • Test: tests/onboarding/state.test.mjs::a_progress_file_that_is_not_json_is_named

echo.cli.onboarding.progress-screen-unknown#

  • config, exit 1
  • resuming the walkthrough from {path}: the progress names a screen the installed walkthrough does not carry: it was written by another release of echo-cli; observed: current_screen_id is {screen}; the installed walkthrough carries {carried}
  • Fix: start the walkthrough again with `echo-cli onboarding --reset`, which writes the file anew
  • Test: tests/onboarding/state.test.mjs::a_progress_at_an_unknown_screen_is_named

echo.cli.onboarding.progress-invalid#

  • config, exit 1
  • recording the walkthrough's progress in {path}: the progress holds no completed_screen_ids list, which every progress file echo-cli writes carries; observed: completed_screen_ids is {value}
  • Fix: start the walkthrough again with `echo-cli onboarding --reset`, which writes the file anew
  • Test: tests/onboarding/state.test.mjs::a_progress_without_its_screens_is_named

echo.cli.onboarding.progress-folder-blocked#

  • config, exit 1
  • writing the walkthrough's progress to {path}: the state directory {directory} cannot be made: a file stands where one of its directories is to be; observed: {blocking}; {reason}; {source}
  • Fix: move that file away, or point XDG_STATE_HOME at a directory this user can write
  • Test: tests/onboarding/state.test.mjs::a_state_directory_a_file_stands_in_is_named

echo.cli.onboarding.progress-folder-unpermitted#

  • config, exit 1
  • writing the walkthrough's progress to {path}: the state directory {directory} cannot be made: the nearest directory that exists does not admit this user's writes; observed: {blocking}; {reason}; {source}
  • Fix: make that directory writable for this user, or point XDG_STATE_HOME at a directory this user can write
  • Test: tests/onboarding/state.test.mjs::a_state_directory_this_user_may_not_make_is_named

echo.cli.onboarding.progress-unwritable#

  • config, exit 1
  • writing the walkthrough's progress to {path}: the state file cannot be written by this user: it, or its directory, does not admit this user's writes; nothing was written; observed: {path} is {state}; {directory} is {directory_state}; {reason}; {source}
  • Fix: give this user write permission on {path} and {directory} (`chmod u+w`), or point XDG_STATE_HOME at a directory this user can write
  • Test: tests/onboarding/state.test.mjs::a_progress_file_that_cannot_be_written_is_named

echo.cli.onboarding.progress-space#

  • infra_down, exit 69; running it again unchanged can help
  • writing the walkthrough's progress to {path}: the disk holding {directory} has no room left for the state file, or this user's quota on it is spent; nothing was written; observed: {reason}; {source}
  • Fix: free space on that disk, then run again
  • Test: tests/onboarding/state.test.mjs::a_full_disk_under_the_state_file_is_named

echo.cli.analytics#

Read first-party events, chat latency over the production chat events the deployment declares, reliability, operations, what installed copies reported failing and revenue over a window of days.

A person starts it with `echo-cli analytics`, `echo-cli chat-latency`, `echo-cli reliability`, `echo-cli operations`, `echo-cli failures`, `echo-mcp echo_analytics, echo_chat_latency, echo_reliability, echo_operations, echo_failure_groups and the revenue tools`.

It also meets the causes of echo.cli.inputs, echo.cli.database.reads, echo.cli.web.

echo.cli.analytics.exclusions-not-json#

  • config, exit 1
  • reading the chat events {name} excludes: {name} opens with [, so it is read as a JSON array, and it is not JSON; observed: {name} is {value}: {reason}
  • Fix: write {name} as a JSON array of strings, or as comma-separated entries without the [, in the environment echo-cli or echo-mcp runs in, as Echo Web's deployment declares it
  • Test: tests/analytics/exclusions.test.mjs::an_exclusion_list_that_is_not_json_is_named

echo.cli.analytics.exclusions-not-strings#

  • config, exit 1
  • reading the chat events {name} excludes: {name} is JSON but not an array of strings; observed: {found}; {name} is {value}
  • Fix: write {name} as a JSON array of strings in the environment echo-cli or echo-mcp runs in, as Echo Web's deployment declares it
  • Test: tests/analytics/exclusions.test.mjs::an_exclusion_list_of_other_values_is_named

echo.cli.analytics.excluded-property-malformed#

  • config, exit 1
  • reading the chat events ANALYTICS_EXCLUDED_PROPERTIES excludes: each entry of ANALYTICS_EXCLUDED_PROPERTIES is key=value, the property and the value an excluded event carries; observed: the entry {entry}, {position}: {lacking}
  • Fix: write the entry as key=value in the environment echo-cli or echo-mcp runs in, as Echo Web's deployment declares it
  • Test: tests/analytics/exclusions.test.mjs::an_excluded_property_that_is_not_key_value_is_named

echo.cli.geo#

List, add, change and read a product's GEO prompt panel, runs and their schedules, fact sheets, llms.txt, crawler rules and logs, competitors, experiments and what the measurements show.

A person starts it with `echo-cli geo <noun> <verb>`, `echo-mcp echo_list_geo_* and echo_geo_* tools`.

It also meets the causes of echo.cli.arguments, echo.cli.inputs, echo.cli.web, echo.cli.database.reads.

echo.cli.geo.product-unknown#

  • not_found, exit 1
  • reading the {what} of product {product}: no product has that id in Echo's database; observed: the products table of {database} holds no row {product}
  • Fix: name a product `echo-cli products` (or the echo_list_products tool) lists
  • Test: tests/geo/refusals.test.mjs::a_geo_read_of_a_product_that_does_not_exist_is_named

echo.cli.comparisons#

Sync the Stado catalogue's products, keep each product's competitors, and write, list, withdraw and refresh the comparisons Echo Web publishes.

A person starts it with `echo-cli comparisons <noun> <verb>`.

It also meets the causes of echo.cli.arguments, echo.cli.stado, echo.cli.web.

echo.cli.comparisons.catalog-refused#

  • config, exit 1
  • running `{command}` to read the products to compare: Stado refused to print its product catalogue for a cause of its own, named in what it said with its fix; observed: {ran}; exit {status}: {said}
  • Fix: correct what Stado names (`stado product catalog` prints the catalogue it reads), then run comparisons products sync again
  • Test: tests/comparisons/catalogue.test.mjs::a_catalogue_stado_refuses_is_quoted

echo.cli.comparisons.catalog-unreadable#

  • config, exit 1
  • reading what `{command}` printed: Stado answered success with JSON without the products list Echo stores: an older Stado; observed: {ran} succeeded: products is {products}; the answer is {found}
  • Fix: update Stado to a release whose `stado product catalog --json` prints {form}, then run comparisons products sync again
  • Test: tests/comparisons/catalogue.test.mjs::a_catalogue_echo_cannot_read_is_named

echo.cli.market#

Capture and compare competitor pages, list their releases and pricing changes, read and send the weekly market report, and keep behavioural segments.

A person starts it with `echo-cli competitors`, `echo-cli segments`, `echo-cli market`, `echo-cli report`, `echo-mcp market, segment and competitor tools`.

It also meets the causes of echo.cli.arguments, echo.cli.inputs, echo.cli.web.

echo.cli.content#

Keep the evergreen queue, interactive pieces, case studies, reviews, rights, the post queue, brand kits and captioned renders, scripts and podcasts.

A person starts it with `echo-cli content <area> <verb>`, `echo-mcp echo_content_* tools`.

It also meets the causes of echo.cli.arguments, echo.cli.inputs, echo.cli.web.

echo.cli.content.render-failed#

  • refused, exit 1
  • rendering the captioned video {video} with {style} captions in {face} through POST {origin}/api/captions: the render Echo Web ran failed and said why in its error event; observed: the error event says {error}, {reached}; the whole event is {event}
  • Fix: correct what the error names (the video address, the caption style, the words or the font), then render again with `echo-cli content brand render`
  • Test: tests/content/render.test.mjs::a_render_echo_web_fails_is_named

echo.cli.content.render-unfinished#

  • infra_down, exit 69; running it again unchanged can help
  • rendering the captioned video {video} with {style} captions in {face} through POST {origin}/api/captions: Echo Web's event stream closed before the render's done event: the connection dropped or the deployment stopped the render; observed: the stream sent {events} over {seconds} seconds and then closed; the last event is {last}; no output was returned
  • Fix: render again with `echo-cli content brand render`; Echo Web's logs name why the stream ended
  • Test: tests/content/render.test.mjs::a_render_stream_that_ends_early_is_retryable

echo.cli.seo#

Check deploys, security, the preview gate and certificates, keep sites, updates, repairs and programmatic pages.

A person starts it with `echo-cli seo`, `echo-mcp seo tools`.

It also meets the causes of echo.cli.arguments, echo.cli.inputs, echo.cli.web.

echo.cli.seo.check-findings#

  • refused, exit 1
  • the seo {check} check: the check found what it looks for; observed: {count} findings; the first: {first}; the answer printed above names each
  • Fix: repair what each printed finding names, then run `echo-cli seo {check}` again
  • Test: tests/seo/verdicts.test.mjs::a_check_with_findings_ends_with_the_failure_status

echo.cli.seo.submission-refused#

  • refused, exit 1
  • submitting {url} to IndexNow: a search engine did not accept the submission; observed: {count} submissions refused; the first: {first}; the answer printed above names each
  • Fix: repair what the printed submission names (the key the host serves, the address), then submit again
  • Test: tests/seo/verdicts.test.mjs::a_submission_an_engine_refuses_ends_with_the_failure_status

echo.cli.seo.schema-findings#

  • refused, exit 1
  • checking the structured data of crawl {crawl}: pages of the crawl lack the structured data the site requires; observed: {count} findings; the first: {first}; the answer printed above names each
  • Fix: add the required types the printed findings name to those pages, then crawl and check again
  • Test: tests/seo/verdicts.test.mjs::a_schema_check_with_findings_ends_with_the_failure_status

echo.cli.seo.site-runs-failed#

  • refused, exit 1
  • running the due SEO sites: a site's run failed and kept its error; observed: {count} runs failed; the first: {first}; the answer printed above names each
  • Fix: repair what each printed run's error names, then run `echo-cli seo sites run` again
  • Test: tests/seo/verdicts.test.mjs::a_site_run_that_fails_ends_with_the_failure_status

echo.cli.seo.certificates-unread#

  • refused, exit 1
  • checking the watched certificates: a watched host's certificate could not be read; observed: {count} watches unread; the first: {first}; the answer printed above names each
  • Fix: repair what each printed watch's error names (the host, its TLS), then check again
  • Test: tests/seo/verdicts.test.mjs::a_certificate_that_cannot_be_read_ends_with_the_failure_status

echo.cli.seo.pages-held#

  • refused, exit 1
  • checking the programmatic pages of template {template}: pages of the batch would be held: too similar to a sibling, or too thin; observed: {count} pages held; the first: {first}; the answer printed above names each
  • Fix: change the rows or the template so each printed page adds its own words, then check again
  • Test: tests/seo/verdicts.test.mjs::a_batch_with_held_pages_ends_with_the_failure_status

echo.cli.strategy#

Keep ideal customer profiles, decisions, the GTM calendar, objectives, the market model, the glossary, positioning, battlecards, the brand voice and the messaging house.

A person starts it with `echo-cli icp`, `echo-cli decisions`, `echo-cli calendar`, `echo-cli okr`, `echo-cli market-size`, `echo-cli glossary`, `echo-cli positioning`, `echo-cli voice`, `echo-cli messaging`, `echo-mcp strategy tools`.

It also meets the causes of echo.cli.arguments, echo.cli.inputs, echo.cli.web.

echo.cli.strategy.phrases-banned#

  • refused, exit 1
  • checking text against the glossary of product {product}: the text holds phrases the product's glossary bans; observed: {count} banned phrases found; the first: {first}; the answer printed above names each
  • Fix: replace each printed phrase with what the glossary names instead, then check again
  • Test: tests/strategy/glossary-verdict.test.mjs::banned_phrases_end_with_the_failure_status

echo.cli.email#

Read sending domain health, campaign revenue, previews and A/B variants, warm sending identities up, brand campaigns, write newsletters and score leads.

A person starts it with `echo-cli email`, `echo-mcp email and campaign tools`.

It also meets the causes of echo.cli.arguments, echo.cli.inputs, echo.cli.web.

echo.cli.lifecycle#

Keep lifecycle triggers, win-back rules, the frequency cap, suppressions, the consent register and expansion offers, and run them.

A person starts it with `echo-cli lifecycle`, `echo-cli expansion`, `echo-mcp lifecycle tools`.

It also meets the causes of echo.cli.arguments, echo.cli.inputs, echo.cli.web.

echo.cli.tracking#

Keep event declarations and their quality, the metric tree, reports and alerts, attribution, identity, cohorts, server events, source keys and the UTM vocabulary.

A person starts it with `echo-cli tracking`, `echo-mcp tracking, metric and attribution tools`.

It also meets the causes of echo.cli.arguments, echo.cli.inputs, echo.cli.web.

echo.cli.social#

Keep social accounts, post tests, breakdowns, trends and their watches, and customer submissions.

A person starts it with `echo-cli social`, `echo-cli trends`, `echo-cli accounts`, `echo-cli ugc`, `echo-mcp social tools`.

It also meets the causes of echo.cli.arguments, echo.cli.inputs, echo.cli.web.

echo.cli.automation#

Hold irreversible actions for review, run playbooks, bound what automation does alone, and report what it did and with what effect.

A person starts it with `echo-cli approvals`, `echo-cli playbooks`, `echo-cli autonomy`, `echo-cli audit`, `echo-cli agent`, `echo-mcp automation tools`.

It also meets the causes of echo.cli.arguments, echo.cli.inputs, echo.cli.web.

echo.cli.experiments#

Queue hypotheses, judge experiments, run landing tests and hints, collect heatmaps and decide feature flags.

A person starts it with `echo-cli hypotheses`, `echo-cli experiments`, `echo-cli landing`, `echo-cli hints`, `echo-cli heatmap`, `echo-cli flags`, `echo-mcp experiment tools`.

It also meets the causes of echo.cli.arguments, echo.cli.inputs, echo.cli.web.

echo.cli.growth#

Price by country, test plans and willingness to pay, keep promotion codes, trials, referral and affiliate programmes.

A person starts it with `echo-cli pricing`, `echo-cli promos`, `echo-cli referrals`, `echo-cli affiliates`, `echo-mcp growth tools`.

It also meets the causes of echo.cli.arguments, echo.cli.inputs, echo.cli.web.

echo.cli.product#

Keep a product's roadmap, surveys, announcements and changelog, activation checklists, funnels, churn reasons and risk, review programmes, listings and launches.

A person starts it with `echo-cli roadmap`, `echo-cli surveys`, `echo-cli announcements`, `echo-cli changelog`, `echo-cli activation`, `echo-cli funnel`, `echo-cli churn`, `echo-cli reviews`, `echo-cli listings`, `echo-cli launch`, `echo-cli onboarding-routes`.

It also meets the causes of echo.cli.arguments, echo.cli.inputs, echo.cli.web.

echo.cli.operations#

Erase and export a person's data and keep retention, export tables to a warehouse, read failed provider calls and answer questions in words.

A person starts it with `echo-cli privacy`, `echo-cli export`, `echo-cli diagnostics`, `echo-cli ask`, `echo-mcp privacy, warehouse and diagnostics tools`.

It also meets the causes of echo.cli.arguments, echo.cli.inputs, echo.cli.web.