Jeden/Docs

CLI command

jeden workspace forget

Stop using the adopted workspace as the default, the inverse of adopt.

Exact invocation#

Shell
jeden workspace forget [--json]

Inputs and options#

  • No path is accepted. Optional: --json returns {"status":"forgotten"|"not_adopted","workspace":…}.

Output and state effect#

Removes workspace.defaultPath from ~/.jeden/config.yml, so later tasks run in the invocation directory unless --cwd is explicit. The workspace's files and session ledgers are not touched. With no adopted workspace nothing is written and the answer says so, so a repeated forget changes nothing.

Refusals and boundaries#

  • A word after forget is argument-unexpected; a user configuration that cannot be read, or a write to it that fails, is refused with its jeden.config.read or jeden.config.write cause, and the selection is then unchanged.
  • A command line of the wrong form (an unknown command or option, a missing, unexpected or invalid argument, a missing confirmation) prints the error and the usage and exits 2; a refusal that retrying unchanged can help (a dependency down or not answering, a rate limit) exits 69; any other refusal or failure exits 1. A refusal a functionality declares ends with fix: … and cause: <operation>.<cause>, and jeden errors show <operation> lists every cause of that functionality.