openagentry

CORE · Error

E_WORKSPACE_CONFIG_READ

Could not read `.agentry/workspace.json`.

Package
@openagentry/cli
Category
core

— · Resolution

How to recover

Check file permissions on the workspace directory.

— · The shape

What an instance looks like

throw new AgentryError({
  code: 'E_WORKSPACE_CONFIG_READ',
  phase: 'init',
  message: '…contextual message…',
  context: { /* adapter-specific */ },
  suggestedFix: 'Check file permissions on the workspace directory.',
  docs: 'https://openagentry.dev/errors/E_WORKSPACE_CONFIG_READ',
});

The context field carries adapter-specific detail (HTTP status, missing env-var names, validation issues). It never contains secret values.


— · See also

Related codes from @openagentry/cli