Unreleased documentation. These pages follow the main branch and can change before the next release. For supported guidance, use v0.51.0.
bregctl prepare-source command reference
Inspect or prepare an exact lookup-only Evidence source for an rstack dev project.
Contract status
Section titled “Contract status”This page is generated from the public Clap command tree for Registry Stack source version 0.52.0 and catalog SHA-256 80476e11c08855de30e89a8f5ec15260c8a3bd38582ba1179ce4a05e54f58f3d. Hidden implementation commands are omitted.
bregctl prepare-source [OPTIONS] --run-id <RUN_ID> [PROJECT]Constraints
Section titled “Constraints”| Condition | Requirement |
|---|---|
--row-field <ROW_FIELD> is present | All of --row-claim <ROW_CLAIM>, --row-value-file <ROW_VALUE_FILE> are required. |
--row-claim <ROW_CLAIM> is present | All of --row-value-file <ROW_VALUE_FILE>, --row-field <ROW_FIELD> are required. |
--row-value-file <ROW_VALUE_FILE> is present | All of --row-claim <ROW_CLAIM>, --row-field <ROW_FIELD> are required. |
| Command invocation | --all-records and --row-field <ROW_FIELD> cannot be used together. |
Arguments
Section titled “Arguments”| Argument | Always required | Default | Values | Environment | Description |
|---|---|---|---|---|---|
[PROJECT] | No | . | n/a | n/a | Existing project served by the development run. A symbolic link at any component of this path is refused. |
Options
Section titled “Options”| Option | Always required | Repeatable | Default | Values | Environment | Description |
|---|---|---|---|---|---|---|
--run-id <RUN_ID> | Yes | No | n/a | n/a | n/a | Ready development run serving this exact project |
--posture <POSTURE> | No | No | n/a | n/a | n/a | Declare development posture for the ready run |
--record-type <ID> | No | No | n/a | n/a | n/a | Record type authored directly in registry.yaml; omit to inspect available fields |
--selector-field <SELECTOR_FIELD> | No | No | n/a | n/a | n/a | Existing required scalar identifier with an exact single-field unique constraint |
--readable-fields <READABLE_FIELDS> | No | Yes | n/a | n/a | n/a | Comma-separated selection of 1 to 16 readable fact fields; the identifier is also readable for identity verification |
--all-records | No | No | n/a | n/a | n/a | Explicitly authorize lookup across all records of the selected Record type |
--row-field <ROW_FIELD> | No | No | n/a | n/a | n/a | Existing string, text or vocabulary-code field that bounds permitted records |
--row-claim <ROW_CLAIM> | No | No | n/a | n/a | n/a | Nonreserved direct claim name for the fixed local row boundary |
--row-value-file <ROW_VALUE_FILE> | No | No | n/a | n/a | n/a | Owner-only input file containing a nonsecret scope label as a JSON string of 1 to 512 bytes; stored in dev.yaml |
--client <CLIENT> | No | No | evidence-source | n/a | n/a | Fresh dedicated development client ID |
--access-profile <ACCESS_PROFILE> | No | No | evidence-source | n/a | n/a | Fresh lookup-only access profile ID for the selected Record type and facts |
--lookup <LOOKUP> | No | No | evidence-source | n/a | n/a | Fresh lookup ID for the selected unique identifier |
--source-id <SOURCE_ID> | No | No | evidence-source | n/a | n/a | Technical Evidence source identity used to validate the exact export |
--connection <CONNECTION> | No | No | evidence-source | n/a | n/a | Technical connection identity used to validate generated selector names |
--apply | No | No | n/a | n/a | n/a | Prepare the reviewed successor and credential; next dev start activates it |
--format <FORMAT> | No | No | human | human, json | n/a | Emit the selected command’s report in this format |
-h, --help | No | No | n/a | n/a | n/a | Print help |
Generation contract
Section titled “Generation contract”After changing a public command, argument, option, default, environment binding, or help description, run cargo run --locked -p registry-cli-docs -- --write, commit crates/registry-cli-docs/catalog.json, then run npm run generate from docs/site.
Cookies on Registry Stack
We use optional cookies to understand how you use the main Registry Stack website and this documentation. If you contact us, we may link this activity to your enquiry. You can change your choice at any time. Read the privacy policy.
Your browser asks sites not to track you, so optional tracking stays off.
We could not use or save that choice. Optional tracking remains off.