CLI command
jeden context sources
Report what each context source is configured to be and whether it answers now.
Exact invocation#
jeden context sources [--json] [--cwd path]Inputs and options#
- No arguments.
--cwdselects the workspace whose configuration and memory scope are reported. --jsonreturnssettings(every resolved advisor setting),selected(the sources every run consults) andsources(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
sourcesisargument-unexpected, exit2, a cause ofjeden.context. - Over Jeden's RPC the request must name
cwd; one that names none is refused asinvalid_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) exits69; any other refusal or failure exits1. A refusal a functionality declares ends withfix: …andcause: <operation>.<cause>, andjeden errors show <operation>lists every cause of that functionality.