Jeden/Docs

CLI command

jeden context sources

Report what each context source is configured to be and whether it answers now.

Exact invocation#

Shell
jeden context sources [--json] [--cwd path]

Inputs and options#

  • No arguments. --cwd selects the workspace whose configuration and memory scope are reported.
  • --json returns settings (every resolved advisor setting), selected (the sources every run consults) and sources (one probe per source).

Output and state effect#

Each probe carries the shared available, detail, considered, returned and elapsedMs fields plus what only that source has: the walked roots with any declared depth, their declared extensions, which roots exist or are missing and the file count; the memory store path; the Transcript Lake command; and the ground-truth endpoint with the origin that supplied it — the configuration key, an environment variable name, or unset.

Refusals and boundaries#

  • A word after sources is argument-unexpected, exit 2, a cause of jeden.context.
  • Over Jeden's RPC the request must name cwd; one that names none is refused as invalid_params: the request names no cwd, the workspace it reads from.
  • An unconfigured ground-truth endpoint is reported, not an error: no endpoint: set context.advisor.groundTruthUrl or WISENT_GROUND_TRUTH_API. A configured endpoint nobody serves reports the URL it could not reach.
  • 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.