E-APPLY-FAILED | An action failed: `apply` tried an action and Git or the file system refused it. |
E-APPLY-REFUSED | An action was refused: `apply` did not carry out an action, to protect work that exists nowhere else. |
E-CATALOG-SHAPE | The tool catalog does not decode: The tool catalog in the manifest is not the shape of a catalog. |
E-CATALOG-TOOL | A tool of the catalog is not valid: A tool is pinned to something that is not a version, or has no artifact for a system. |
E-CHANGES-COMMIT-NAMES-NO-ISSUE | A commit names no issue: The message has no `Refs #N` line. |
E-CHANGES-WRONG-CLOSING-WORD | A commit uses a closing word a host reads: A word like `Fixes` closes an issue on a host that reads it. |
E-COMMIT-NOT-SIGNED | A commit is not signed: A local commit is not signed and verified. |
E-COMMIT-SIGNING-WAIVED | Signing is waived for a repository: The repository's own record waives the signed-commit rule for a bot account. |
E-ENVIRONMENT | This computer cannot do it: Something the run needs is not there: a program, the root, a file, or a place to write. |
E-ENX | Another program is named enx: A program named enx is on the PATH, so the short name enx of `ergonex shell` is not defined (it is defined only where none is found); ergonex always works. |
E-EVIDENCE | The evidence record could not be written: Every run leaves one record under the workspace's state folder, and this run could not write it. |
E-FILESYSTEM | The file system of the root is not suitable: The root is on a file system that is case-insensitive or does not keep Git's files safe. |
E-GENERATED | The generated files are as they should be: Every generated file is as written and as the templates give it now. |
E-GENERATED-DRIFT | The templates give something else now: A generated file is as it was written, but the templates now make different text. |
E-GENERATED-EDITED | A generated file was edited by hand: A generated file is not as it was written, so ergonex will not overwrite it. |
E-GENERATED-MISSING | A generated file is missing: A file that was written is not on disk. |
E-GENERATED-PATH | A template made a file that is refused: A generated file would be at a path that is not valid on every system. |
E-GENERATED-UNRECORDED | A generated file is not in the state record: A generated file is on disk but the state record does not name it. |
E-HOOKS | A repository's hooks are not the generated ones: The repository does not use the hooks folder that ergonex generates. |
E-HOST-NOT-ALLOWED | The Git host is not allowed: A repository is on a host that the manifest's policy does not allow. |
E-LOOPBACK-HTTP | http to the loopback interface is accepted: ERGONEX_ALLOW_LOOPBACK_HTTP is set, so a pinned artifact may be fetched over http from this computer. |
E-MANIFEST-BRANCH | A branch is not valid: A branch in the manifest is not a branch name Git accepts. |
E-MANIFEST-HOST | A Git host is not valid: A host in the manifest is not a host name. |
E-MANIFEST-MODULE | A registered module is not valid: A module the manifest registers has no valid name or program. |
E-MANIFEST-PATH | A repository's path is not portable: The path a remote makes is not valid on Linux, macOS and Windows alike. |
E-MANIFEST-REMOTE | A repository's remote is not valid: A remote in the manifest is not a repository on a Git host. |
E-MANIFEST-SHAPE | The manifest does not decode: `.ergonex/workspace.ts` is not the shape of a manifest, or could not be loaded. |
E-MANIFEST-SIGNING | The signing policy is not valid: The manifest's signing policy names something the policy does not know. |
E-MODULE-HIDDEN | A module is hidden by another: A module of a later source has the name of one found first. |
E-MODULE-NAME | A program is not named as a module: An `ergonex-*` program on the PATH has a name a module may not have. |
E-MODULE-OUTSIDE-CATALOG | A module is outside the catalog: An `ergonex-*` program is on the PATH or registered, and the tool catalog does not list it. |
E-MODULE-PROBE-TIMEOUT | A module did not answer in time: `modules --probe` waited for the manifest of a module and none came. |
E-MODULES-FILE | The registered modules file cannot be read: `.ergonex/modules.auto.json` does not decode. |
E-NOT-A-REPOSITORY | A folder is not a Git repository: Something is at the path of a repository that is not a clone. |
E-PATH-COLLISION | Two repositories make the same path: Two repositories of the manifest would be the same folder on a system that ignores the case of names. |
E-PATH-LENGTH | Paths of the workspace are near the limit: A path of the workspace is near the length Windows allows. |
E-PATH-TOO-LONG | A path is too long for Windows: A path of the workspace is longer than Windows allows while long paths are off. |
E-PLAINTEXT-TOKEN | A token is written in a file: A file of the workspace holds text of the shape of a credential. |
E-RENDER-WOULD-CHANGE | A generated file would change: `render --check` found a generated file that differs from what the templates give now. |
E-REPO-PATH-ROOM | A repository's path leaves little room: A repository's own path leaves little room for the files inside it on Windows. |
E-REPO-PATH-TOO-LONG | A repository's path is too long: A repository's own path is too long for the system. |
E-REPOSITORY-DIVERGED | A repository has diverged from its remote: It has commits its remote does not have, and the remote has commits it does not have. |
E-REPOSITORY-LOCKED | A repository has a Git lock file: Another process may be working in it, and ergonex never removes a lock. |
E-RUNTIME | The runtime is not the one expected: ergonex runs on Bun by default and Node 26 as the backup. |
E-SCAN-REFUSED | A file was not scanned: A file was left out of the scan of plaintext tokens, and the finding says why. |
E-SETUP-APPLY | Setup could not carry out a step: A step of the plan failed. |
E-SETUP-GIT-INCLUDE | The global Git include was not added: The include of the generated Git configuration was not written. |
E-SETUP-INSTALL | A tool could not be installed: The artifact could not be fetched or its SHA-256 differs from the pin. |
E-SETUP-LONGPATHS | Windows long paths need an administrator: Long paths are off and this run is not elevated. |
E-SETUP-MANIFEST | Setup could not read the manifest: `setup` stopped before it changed anything. |
E-SIGNING-WAIVER-UNREAD | A waiver could not be read: A repository's record of decisions could not be read, so no waiver of it holds. |
E-STATE-RECORD | The state record is damaged: The state record in ergonex's state folder cannot be read. |
E-TOKEN | The token for reading packages is not ready: ERGONEX_GITHUB_TOKEN is not set, or GitHub CLI is not there to provide it. |
E-TOOL | A tool that ergonex needs is not usable: Git, Bun or Node is missing or too old. |
E-TOOL-DRIFT | An installed tool is not as pinned: An installed tool's files differ from the install record. |
E-TOOL-MISSING | A tool is missing: The tool is not on the PATH. |
E-TOOL-OK | A tool is as expected: The tool is installed at a version that is enough. |
E-TOOL-OUTSIDE-CATALOG | A tool is outside the catalog: A tool is in ergonex's tools folder and the catalog does not list it. |
E-TOOL-TOO-OLD | A tool is too old: The tool is installed, but older than the minimum. |
E-TOOL-UNREADABLE | A tool's version cannot be read: `<tool> --version` printed nothing that is a version. |
E-UNKNOWN-MODULE | A module is not known: No module has that name. |
E-UNMANAGED-REPOSITORY | A repository is under the root but not in the manifest: A clone is in the workspace that the manifest does not name. |
E-UNSIGNED-COMMIT | A pushed commit is not signed: A commit that is being pushed is not signed and verified. |
E-USAGE | The command line does not fit: The words after `ergonex` do not name a command, an option or an argument it takes. |
E-WINDOWS-LONG-PATHS | Windows long paths are not enabled: Long paths are off, and a path of the workspace may be longer than 259 characters. |
E-WORKTREE-BASE | A worktree cannot be made here: The repository is missing, locked, a clone of another repository or not a repository. |
E-WRONG-REMOTE | A folder is a clone of another repository: The folder is a repository, but its origin is not the one the manifest names. |
E000-FAILED | The code a problem of the level fail carries when its raiser gave none. |
E000-WARNING | The code a problem of the level warn carries when its raiser gave none. |
E000-YOURS | The code a problem of the level action carries when its raiser gave none. |
P000-WAITING | The code a problem of the level pending carries when its raiser gave none. |