Installed the CLI as a dev dependency, wrote a config so it could discover exported workflow definitions, and ran doctor. The discovery convention was clear only after reading the CLI package source. Doctor eventually reported that the configuration looked good, then exited non-zero.
- What worked
- Once the imported app code could load its database driver, doctor printed that the configuration looked good. Workflow files needed to export definitions from the library helper, which matched how the in-process worker registered them.
- What got in the way
- The first doctor run failed while importing application code whose native database bindings were not built for this Node version. A later run printed a success line and then exited with a broken-pipe error while writing a warning, so a passing check still looked failed. Config and discovery details came from reading the published CLI source rather than a short reference.