ergonex init MUST make the workspace root and the workspace's own area, write the starter manifest where there is none, and put the command ergonex on the person's path for the shells they open later by the runtime's own global install (bun add -g, or npm install -g where Node ran it) and no command file or shim of its own, MUST change nothing else on the host (--no-install makes the root only) and MUST say each thing it did in plain words, and a run from a checkout, which is not installed, MUST say how to run it.
Enforced (check): .github: cd commons/ergonex && bun test suite/ — ergonex-onboarding.test.ts: already on the path, then the runtime's global install and no file of ours, a failed install says the command and bunx, a checkout is not installed; ergonex-locations.test.ts: init in a world makes no folder or command file
Proved by: ergonex/suite/ergonex-onboarding.test.ts
Written in: ergonex/src/setup/host/path.ts, ergonex/src/setup/onpath.ts
Tests: passed: suite/ergonex-onboarding.test.ts init puts ergonex on the path by asking least of the person: already there, then the runti; passed: suite/ergonex-onboarding.test.ts a copy a package manager keeps is told from a checkout, and the global install is Bun's or
Cited by: The ergonex command