In short: cli/src/config-schema.json is embedded at compile time as CONFIG_SCHEMA, and
this command writes it to stdout unchanged. It reads no config and loads no repo.
The command is cmd_util_config_schema. Its help text: "Print
the JSON schema for the jj TOML config format." (source). It is the
ConfigSchema variant of UtilCommand (source,
dispatch).
1. Command-line surface
No arguments: UtilConfigSchemaArgs is empty (source). The
global flags are on the CLI page.
3. End-to-end flow
4. Core architecture touchpoints
| Piece | Role here |
|---|---|
cli/src/config-schema.json | The schema itself. Its top level is a draft-04 schema titled "Jujutsu config" (test). |
CONFIG_SCHEMA | The embedded copy. Shell completion reads the same string to complete config keys (source). |
| Repo, working copy, operation log | Not touched (source). |