Repository navigation
Description
Problem
A credential that no person chooses, such as the Crawl4AI bearer token crawl4ai.api_token, has no command that makes it on the workstation alone. Today there are two ways to get a value into the OS keyring:
devops config set <key>stores a value that the person types or pipes in. The person must make the random value first, with a tool outsidedevops.devops k8s push-secretsgenerates the value when the keyring has none (theSecretGeneratorof the row), stores it in the keyring, and writes it to the cluster. A person who wants the key in the keyring first, for a local run or before the cluster is up, cannot do that step alone.
The generator of each row is declared in src/devops_cli/k8s/cluster_secrets.py, so the knowledge of how to make a valid value (kind and length) already exists. devops config set does not use it.
Expected
devops config set <key> --generate makes a random value with the generator that the project declares for that credential, and stores it in the OS keyring. The value never shows in the output, the shell history or the process list. The command refuses a key that has no declared generator, and refuses to replace a value that is already set unless --rotate is given.
Acceptance criteria
-
devops config set crawl4ai.api_token --generatestores a new token of the declared kind and length in the keyring, and prints that it did so without printing the value. - The command takes the generator from the same declaration that
devops k8s push-secretsuses. There is one declaration per credential, not two. - A key with no declared generator exits non-zero and names the keys that have one.
- A credential that is already set is not replaced.
--rotatereplaces it.--dry-runmakes no keyring write and no request. -
--generateand a typed value or--from-filetogether are an error. - After the command,
devops k8s push-secrets --planshows the entry as taken from the keyring, not as generated. - The docs of
config setand the line ink8s/README.mdthat says a person creates the Crawl4AI Secret name the two commands.
Existing tool considered
openssl rand or python -m secrets make the value, but the person must then pipe it into devops config set --from-file -, and must know the kind and length per credential. push-secrets already generates, but it also writes to the cluster. The standard library secrets module makes the value inside the command; no new dependency.
Related
- feat(k8s): add the Crawl4AI token to the cluster secrets #3882 declared the Crawl4AI Secret row and its generator.
- feat(k8s): add the Crawl4AI token to the cluster secrets #3937 added the token to the cluster Secret table.
src/devops_cli/k8s/secret_push.py(plan_push,execute_push) holds the generate-and-store logic to share.
Proposed design
Problem statement
A credential that no person chooses has no command that makes it on the workstation alone. devops config set stores only a value that a person makes with another tool. devops k8s push-secrets makes the value, but it also writes the cluster. The generator of each credential is already declared in src/devops_cli/k8s/cluster_secrets.py. The change adds --generate to devops config set, so one command makes the value and stores it in the OS keyring.
Acceptance criteria
Requirement: Generate the declared credential
devops config set <option> --generate SHALL store a new value from the credential's declared generator in the OS keyring.
Scenario: Generate the Crawl4AI token
- WHEN
devops config set crawl4ai.api_token --generateruns with an unlocked keyring and no stored token - THEN the keyring holds a new URL-safe value of 43 characters, and the command prints one line that names the option and no value.
Requirement: One generator declaration
The command MUST read the generator from the CLUSTER_SECRETS table that devops k8s push-secrets reads.
Scenario: The command and the push agree
- WHEN a generator of
src/devops_cli/k8s/cluster_secrets.pychanges its kind or length - THEN
devops config set --generatemakes the new value with no change to the command, and a test fails when an option the command lists has no generator in the table.
Requirement: Refuse a credential with no generator
The command MUST exit non-zero for a credential with no declared generator and name the options that have one.
Scenario: A typed credential has no generator
- WHEN
devops config set gemini.api_key --generateruns - THEN the command exits non-zero, writes nothing to the keyring, and lists
crawl4ai.api_token,qdrant.api_key,runs.index_password,valkey.passwordandgrafana.password.
Requirement: Keep a stored value
The command MUST NOT replace a value that the keyring already holds unless --rotate is given.
Scenario: A token is already stored
- WHEN
devops config set crawl4ai.api_token --generateruns while the keyring holds a token - THEN the command exits non-zero, names
--rotate, and the keyring keeps the stored token.
Requirement: Rotate the value
--rotate SHALL replace the stored value with a new value from the declared generator.
Scenario: Rotate the token
- WHEN
devops config set crawl4ai.api_token --generate --rotateruns while the keyring holds a token - THEN the keyring holds a different value of the declared kind and length, and the command prints no value.
Requirement: Dry run writes nothing
--dry-run MUST make no keyring write and no request.
Scenario: Dry run of a generate
- WHEN
devops config set crawl4ai.api_token --generate --dry-runruns - THEN the command prints the generator kind, its length and a masked placeholder, exits 0, and the keyring keeps its previous content.
Requirement: Refuse a value with generate
--generate with a typed value or with --from-file MUST be a usage error.
Scenario: A typed value and generate together
- WHEN
devops config set crawl4ai.api_token --generate valueruns - THEN the command exits non-zero with a usage error, names the two flags that conflict, and writes nothing.
Requirement: Refuse a stray rotate
--rotate without --generate MUST be a usage error.
Scenario: Rotate without generate
- WHEN
devops config set crawl4ai.api_token --rotateruns - THEN the command exits non-zero with a usage error and writes nothing.
Requirement: The push reads the stored value
After the command, devops k8s push-secrets --plan MUST report the entry as taken from the keyring, not as generated.
Scenario: Plan after a generate
- WHEN
devops k8s push-secrets --only devops/crawl4ai --planruns after the generate - THEN the plan line names
keyring crawl4ai_api_tokenwith statewould createorunchanged, and neverwould generate.
Requirement: Docs name the two commands
The config set documentation and the Crawl4AI bullet of k8s/README.md MUST name both commands.
Scenario: A reader follows the Crawl4AI bullet
- WHEN a reader opens the
config sethelp and the Crawl4AI bullet ofk8s/README.md - THEN both name
devops config set crawl4ai.api_token --generateanddevops k8s push-secrets --only devops/crawl4ai.
Existing Tool Considered
No alternatives check has run. The standard library secrets module covers the generation, and SecretGenerator.generate in src/devops_cli/k8s/cluster_secrets.py:124 already calls it. It lacks the kind and the length of each credential; the CLUSTER_SECRETS table declares those. openssl rand and python -m secrets make a value, but they know no per-credential kind and length, and a person must then pipe the value in. The change builds no generator and adds no dependency: it adds one lookup function, three flags and their tests. That is smaller than a second generator table, which would drift from the push.
Key questions
- Where does
config set --generateread the generator of a credential?: Addgenerator_for_option(option)tosrc/devops_cli/k8s/cluster_secrets.py. It resolvescredential(option).keyring_name, finds theKeyringSourceofCLUSTER_SECRETSwith that key, and returns theSecretGeneratorof its entry. The push and the command then read one table. (best practice) [sources: src/devops_cli/k8s/cluster_secrets.py, src/devops_cli/k8s/cluster_secrets.py:124, src/devops_cli/k8s/secret_push.py]- Chosen: Lookup in cluster_secrets.py. The table is the one declaration of each generator, and a test can hold it.
- Rejected: A second generator table in the config command. Two declarations drift, and the change asks for one declaration per credential.
- Rejected: Call plan_push against a fake cluster. It reads the cluster and the live Secrets, and the command needs neither.
- Which name does the person give to
--generate?: The managed credential option, such ascrawl4ai.api_token, the name thatdevops config settakes today. (best practice) [sources: src/devops_cli/k8s/cluster_secrets.py, k8s/README.md]- Chosen: The managed credential option. It is the name of the existing command, and
KeyringSource.optionties it to the keyring name. - Rejected: The keyring key, such as crawl4ai_api_token. A person must then know the keyring name, and
config setnames options everywhere else. - Rejected: The Secret ref and key, such as devops/crawl4ai CRAWL4AI_API_TOKEN. One keyring value feeds two Secrets, so a Secret ref names no single credential.
- Chosen: The managed credential option. It is the name of the existing command, and
- What does the command do when the keyring already holds a value?: It exits non-zero and names
--rotate.push-secretsrefuses a live value that differs without--rotatein the same way. (best practice) [sources: src/devops_cli/k8s/secret_push.py, k8s/README.md]- Chosen: Exit non-zero and name --rotate. It matches the rule of
push-secrets, and no stored token changes without a clear request. - Rejected: Replace the value and warn. A silent replacement breaks the cluster client that holds the old token.
- Chosen: Exit non-zero and name --rotate. It matches the rule of
- How does the value stay out of the shell history and the process list?: The command makes the value in its own process with
SecretGenerator.generateand callskeyring_write. No argument, prompt pipe or child process carries it. (best practice) [sources: src/devops_cli/k8s/cluster_secrets.py:124, src/devops_cli/k8s/secret_push.py]- Chosen: Make the value in the process and write it with keyring_write.
_store_in_keyringwrites values the same way, and the value reaches no argv and no log. - Rejected: Run
openssl randand read its stdout. It adds a child process and knows no per-credential kind or length.
- Chosen: Make the value in the process and write it with keyring_write.
- What does
--dry-runread?: Nothing. It prints the generator kind, its length and the action it would take, with a masked placeholder.dry_run_pushmakes no request in the same way. (best practice) [sources: src/devops_cli/k8s/secret_push.py]- Chosen: Read nothing. It matches the dry run of the push, which reads no keyring, cluster or setting.
- Rejected: Read the keyring to report would replace. A read makes the dry run depend on the keyring state and breaks the rule that it makes no request.
- Does
--generateaccept a keyring-only key such assearxng_secret_key?: No. The command takes a managed credential option. A keyring-only key has no option name, andk8s/README.mdrotates it withuv run keyring set. (best practice) [sources: k8s/README.md, src/devops_cli/k8s/cluster_secrets.py]- Chosen: Refuse a keyring-only key. No Settings option reads such a key, so
config sethas no name for it today. - Rejected: Accept the keyring key too. It adds a second name form and a second lookup, which this change does not need.
- Chosen: Refuse a keyring-only key. No Settings option reads such a key, so
- Which tests hold the one-declaration rule and the stored value?:
tests/k8s/test_cluster_secret_plan.pyandtests/k8s/test_cluster_secret_push.pyhold the push. A new test intests/commands/test_config_commands.pyasserts that each listed option has a generator inCLUSTER_SECRETS, and that the plan reports the stored value aswould createorunchanged. [sources: tests/k8s/test_cluster_secret_plan.py, tests/k8s/test_cluster_secret_push.py, tests/commands/test_config_commands.py]
Fit
Fits in one pull request.
Suspected block
None.
Dependencies
None.
Alternatives check of 2026-11-09: partly.
Tool: keyring (https://pypi.org/project/keyring), MIT, last activity 2025-11-16, maintained.
Activity
dan-petty commentedon Nov 7, 2026
Intake placed this item to the backlog: intake puts every new item in the backlog. A person plans the milestones.
featprefix of the title gives the type.(config)scope of the title gives the scope.It is a convenience feature with existing workarounds, not a bug or blocker.It removes the need for external tools to generate a credential locally, but openssl or python -m secrets still work.It needs a new flag, generator lookup, rotate and dry-run handling, error cases, and doc updates.Both reference the Crawl4AI token generator declaration, but #3882 adds the declaration while the candidate adds a command that uses it locally.devops-cli-service commentedon Nov 8, 2026
Status set to Ready at 1f03ee3 (see proposed design in issue body).
devops-cli-service commentedon Nov 9, 2026
Alternatives check: partly
Reason: The search found no tool that generates a per-credential value and stores it under the project's own generator table. The
keyringlibrary (MIT, maintained) covers the OS keyring write. The standard librarysecretsmodule, whichSecretGenerator.generatealready calls, makes the value. The per-credential kind and length and the link toCLUSTER_SECRETSare project-specific, so the issue's own design is the right one.Tool: keyring (https://pypi.org/project/keyring)
Covers:
Lacks:
Tools considered:
Searches run:
Sources:
Checked on 2026-11-09. A person decides what this means for the item. The check changes no label and closes no issue.
devops-cli-service commentedon Nov 18, 2026
Plan state: branch
feat/3998-generate-a-credential-with-config-set, draft pull request #6274. The pull request plans the item and closes no issue. The stage job and the step fix-plan edit this comment, and a comment of each run tells what the run did.The task groups, with the tokens of the inputs of each step, for a budget of 64000 tokens:
A model review of the plan found these points. They stop no draft, and a person judges them:
false_premiseat design (decisions): The plan treatsdocs/CONFIGURATION.mdas a prose page to edit by hand, but that file is generated fromsrc/devops_cli/docs/generator.py, so the hand edit is overwritten anduv run devops ci docsfails; the text must change in the generator, which no group changes. Evidence: "This document is automatically generated fromSettings(src/devops_cli/config/settings.py)."spec_delta_wrongat spec config-commands (The generator of a credential comes from the cluster Secret table): The scenario's THEN states that a test fails when an option has no generator, which is a claim about the test suite that no test can assert, and the other scenario compares a count against an undefinedcensus. Evidence: "the generate makes the new value with no change to the command, and the test fails when an option that the command lists has no generator in the table"otherat tasks (1):generator_option_names()as described takes the option of every entry that declares a generator, but the table also gives generators to keyring-only entries whose source hasoption=None(such as the LLM gateway master key), so sorting them raises on None; the lookup must skip those entries. Evidence: "The second returns the sorted option of every entry that declares one."otherat tasks (1): The helper is described as returning the option of every entry that declares a generator, but seven entries with a generator (llm-gateway-secrets master-key, valkey-devops, searxng, grafana secret-key, grafana llm-gateway-key, grafana-image-renderer, mattermost-db) have no option, and qdrant.api_key and qdrant.read_only_api_key each declare one in two rows, so the list would hold None and repeated names. That contradicts the test the same group writes, which holds one entry per managed option. Evidence: "The second returns the sorted option of every entry that declares one."spec_delta_wrongat spec config-commands (The generator of a credential comes from the clusster Secret table): The second scenario's THEN says the count of the options equals the count of the censes, but the censes is defined in the same group as that count, so the clause is self-referential and a test asserting it proves nothing. Evidence: "and the count of the options equals the count of the censes"devops-cli-service commentedon Nov 18, 2026
The stage job staged the plan of draft pull request #6274. The plan state comment of #6274 holds the branch, the task groups and the findings.
The runs of the planner and the review made 185 model request(s), and used 14795852 input tokens and 367880 output tokens. The tool calls, in order:
search_code({"text":"def set_"})list_files({"directory":"src/devops_cli/commands"})read_file({"path":"src/devops_cli/commands/config.py","start_line":1,"end_line":140})read_file({"path":"src/devops_cli/commands/config.py","start_line":230,"end_line":400})read_file({"path":"src/devops_cli/commands/config.py","start_line":150,"end_line":232})search_code({"text":"crawl4ai.api_token"})read_spec({"capability":"config-commands"})read_spec({"capability":"crawl4ai-api-token"})search_code({"text":"def credential"})search_code({"text":"generator_for"})read_file({"path":"src/devops_cli/config/env.py","start_line":120,"end_line":240})read_file({"path":"src/devops_cli/config/os_keyring.py","start_line":200,"end_line":300})read_file({"end_line":340,"path":"src/devops_cli/config/os_keyring.py","start_line":298})read_file({"end_line":620,"path":"src/devops_cli/k8s/secret_push.py","start_line":470})search_code({"text":"would generate"})list_files({"directory":"tests/commands"})search_code({"text":"config\", \"set\""})read_file({"end_line":60,"path":"tests/commands/test_config_commands.py","start_line":1})read_file({"end_line":190,"path":"src/devops_cli/k8s/secret_push.py","start_line":1})file_symbols({"path":"src/devops_cli/k8s/cluster_secrets.py"})search_code({"text":"def _plan_entry"})read_file({"end_line":700,"path":"src/devops_cli/k8s/cluster_secrets.py","start_line":655})read_file({"end_line":470,"path":"src/devops_cli/k8s/secret_push.py","start_line":418})search_code({"text":"_SECRET_FIELDS"})read_file({"end_line":120,"path":"src/devops_cli/config/env.py","start_line":60})search_code({"text":"generator=SecretGenerator("})search_code({"text":"crawl4ai"})search_code({"text":"Crawl4AI"})references({"name":"crawl4ai"})search_code({"text":"config set crawl4ai"})search_code({"text":"bearer token of Crawl4AI"})search_code({"text":"11235"})search_code({"text":"devops config set"})search_code({"text":"omit VALUE to type one hidden"})search_code({"text":"--from-file"})read_spec({"capability":"config-commands","requirement":"devops config set writes the key that it names"})read_spec({"capability":"crawl4ai-api-token","requirement":"The push makes the token once"})read_file({"end_line":120,"path":"tests/k8s/test_cluster_secret_plan.py","start_line":1})read_file({"end_line":760,"path":"tests/k8s/test_cluster_secret_plan.py","start_line":700})search_code({"text":"\"docs\":"})search_code({"text":"def docs"})read_file({"path":"src/devops_cli/commands/config.py","start_line":230,"end_line":360})read_file({"path":"src/devops_cli/k8s/cluster_secrets.py","start_line":40,"end_line":150})search_code({"text":"def credential("})search_code({"text":"generator_for_option"})read_file({"path":"src/devops_cli/config/os_keyring.py","start_line":250,"end_line":330})read_file({"path":"k8s/README.md","start_line":760,"end_line":800})read_file({"path":"docs/CONFIGURATION.md","start_line":1,"end_line":60})list_files({"directory":"tests/commands"})search_code({"text":"_SECRET_FIELDS"})read_file({"end_line":60,"path":"tests/commands/test_config_commands.py","start_line":1})read_file({"end_line":470,"path":"src/devops_cli/k8s/secret_push.py","start_line":425})list_files({"directory":"docs/commands"})read_spec({"capability":"config-commands"})read_spec({"capability":"crawl4ai-api-token"})read_file({"end_line":60,"path":"src/devops_cli/commands/config.py","start_line":1})read_file({"end_line":272,"path":"src/devops_cli/k8s/cluster_secrets.py","start_line":248})read_spec({"capability":"crawl4ai-api-token","requirement":"The push makes the token once"})search_code({"text":"keyring_sources"})search_code({"text":"For any other key, it exits 1 with"})search_code({"text":"CRAWL4AI_ENV_NAME"})read_file({"end_line":352,"path":"src/devops_cli/k8s/cluster_secrets.py","start_line":333})read_file({"end_line":715,"path":"src/devops_cli/k8s/cluster_secrets.py","start_line":686})search_code({"text":"crawl4ai.api_token"})search_code({"text":"from_file"})search_code({"text":"class KeyringLockedError"})search_code({"text":"class SecretStorageError"})search_code({"text":"class KeyringUnavailableError"})read_file({"end_line":560,"path":"src/devops_cli/k8s/secret_push.py","start_line":540})read_file({"end_line":815,"path":"src/devops_cli/docs/generator.py","start_line":780})search_code({"text":"CONFIGURATION.md"})read_issue({"number":3882})read_issue({"number":3937})find_issues({"terms":"config set generate keyring"})search_code({"text":"class FakeCluster"})search_code({"text":"generator=SecretGenerator("})search_code({"text":"KeyringSource.for_credential("})search_code({"text":"generator_options"})search_code({"text":"_store_generated"})search_code({"text":"generator_option_names"})list_files({"directory":"docs"})file_symbols({"path":"src/devops_cli/commands/config.py"})list_files({"directory":"tests/commands"})search_code({"text":"docs generate"})read_file({"path":"src/devops_cli/commands/config.py","start_line":255,"end_line":330})file_symbols({"path":"src/devops_cli/config/os_keyring.py"})list_files({"directory":"docs/commands"})search_code({"text":"generator=SecretGenerator(\"urlsafe\", 32)"})search_code({"text":"def keyring_sources"})search_code({"text":"def credential"})read_file({"path":"src/devops_cli/k8s/secret_push.py","start_line":425,"end_line":470})read_file({"path":"src/devops_cli/k8s/cluster_secrets.py","start_line":330,"end_line":356})read_file({"path":"src/devops_cli/k8s/secret_push.py","start_line":535,"end_line":575})read_file({"path":"k8s/README.md","start_line":770,"end_line":800})list_files({"directory":"tests/support"})read_spec({"capability":"config-commands"})read_file({"path":"src/devops_cli/config/env.py","start_line":150,"end_line":200})search_code({"text":"generator_for_option"})search_code({"text":"_store_generated"})search_code({"text":"_SECRET_FIELDS"})search_code({"text":"generator_option_names"})search_code({"text":"crawl4ai.api_token"})read_file({"path":"src/devops_cli/config/env.py","start_line":199,"end_line":225})read_issue({"number":3882})read_issue({"number":3937})find_issues({"terms":"config set generate"})read_file({"path":"src/devops_cli/lang/en/messages.py","start_line":375,"end_line":400})search_code({"text":"class ConfigHelp"})search_code({"text":"from_file"})read_file({"end_line":60,"path":"tests/support/cluster_secret_fakes.py","start_line":30})read_file({"end_line":200,"path":"tests/commands/test_config_commands.py","start_line":170})search_code({"text":"KEYRING_SERVICE"})search_code({"text":"def keyring_sources"})search_code({"text":"generator=SecretGenerator(\"urlsafe\", 32),"})search_code({"text":"def _store_in_keyring"})search_code({"text":"EntryState.GENERATED"})search_code({"text":"def keyring_write"})search_code({"text":"def keyring_read"})search_code({"text":"def require_persistent_keyring"})search_code({"text":"@app.command(\"set\")"})search_code({"text":"def set_value"})search_code({"text":"if dry_run or is_dry_run():"})read_file({"path":"src/devops_cli/commands/config.py","start_line":255,"end_line":305})read_file({"end_line":45,"path":"src/devops_cli/config/os_keyring.py","start_line":28})read_file({"end_line":305,"path":"src/devops_cli/config/os_keyring.py","start_line":260})read_file({"end_line":448,"path":"src/devops_cli/k8s/secret_push.py","start_line":436})read_file({"end_line":472,"path":"src/devops_cli/k8s/secret_push.py","start_line":462})read_file({"end_line":556,"path":"src/devops_cli/k8s/secret_push.py","start_line":543})read_file({"end_line":350,"path":"src/devops_cli/k8s/cluster_secrets.py","start_line":342})read_file({"end_line":700,"path":"src/devops_cli/k8s/cluster_secrets.py","start_line":686})read_file({"end_line":142,"path":"src/devops_cli/k8s/cluster_secrets.py","start_line":122})read_file({"end_line":392,"path":"src/devops_cli/lang/en/messages.py","start_line":386})read_file({"end_line":45,"path":"tests/support/cluster_secret_fakes.py","start_line":36})read_file({"end_line":795,"path":"k8s/README.md","start_line":783})read_file({"end_line":192,"path":"src/devops_cli/config/env.py","start_line":186})read_file({"end_line":26,"path":"docs/CONFIGURATION.md","start_line":14})list_files({"directory":"docs/commands"})search_code({"text":"test_config_commands"})search_code({"text":"docs/commands"})read_spec({"capability":"config-commands"})find_issues({"terms":"config set generate"})search_code({"text":"generator_for_option"})search_code({"text":"generator_option_names"})read_file({"path":"src/devops_cli/k8s/cluster_secrets.py","start_line":215,"end_line":225})read_file({"path":"src/devops_cli/k8s/cluster_secrets.py","start_line":125,"end_line":145})read_file({"path":"src/devops_cli/k8s/cluster_secrets.py","start_line":340,"end_line":352})read_file({"path":"src/devops_cli/k8s/secret_push.py","start_line":438,"end_line":448})read_file({"path":"src/devops_cli/k8s/secret_push.py","start_line":540,"end_line":552})read_file({"path":"src/devops_cli/k8s/cluster_secrets.py","start_line":685,"end_line":700})read_file({"path":"src/devops_cli/k8s/secret_push.py","start_line":465,"end_line":472})read_file({"path":"k8s/README.md","start_line":780,"end_line":795})list_files({"directory":"docs/commands"})list_files({"directory":"tests/commands"})read_file({"path":"src/devops_cli/commands/config.py","start_line":262,"end_line":300})read_file({"path":"src/devops_cli/config/os_keyring.py","start_line":262,"end_line":302})read_file({"path":"src/devops_cli/config/env.py","start_line":185,"end_line":193})read_file({"path":"docs/CONFIGURATION.md","start_line":16,"end_line":26})read_spec({"capability":"config-commands"})read_file({"end_line":392,"path":"src/devops_cli/lang/en/messages.py","start_line":385})read_file({"end_line":42,"path":"src/devops_cli/config/os_keyring.py","start_line":30})read_file({"end_line":42,"path":"tests/support/cluster_secret_fakes.py","start_line":35})read_file({"path":"src/devops_cli/k8s/cluster_secrets.py","start_line":210,"end_line":225})read_file({"path":"src/devops_cli/k8s/secret_push.py","start_line":535,"end_line":560})read_file({"path":"k8s/README.md","start_line":780,"end_line":798})search_code({"text":"generator_for_option"})read_file({"path":"src/devops_cli/k8s/cluster_secrets.py","start_line":108,"end_line":142})read_file({"path":"src/devops_cli/k8s/cluster_secrets.py","start_line":336,"end_line":360})read_file({"path":"src/devops_cli/k8s/secret_push.py","start_line":430,"end_line":475})read_file({"path":"src/devops_cli/k8s/secret_push.py","start_line":538,"end_line":560})read_file({"path":"src/devops_cli/commands/config.py","start_line":255,"end_line":340})search_code({"text":"generator_for_option"})read_file({"path":"k8s/README.md","start_line":778,"end_line":798})list_files({"directory":"tests/commands"})list_files({"directory":"docs/commands"})search_code({"text":"devops config set"})read_file({"path":"src/devops_cli/config/os_keyring.py","start_line":255,"end_line":305})search_code({"text":"def credential"})file_symbols({"path":"tests/commands/test_config_commands.py"})read_file({"path":"src/devops_cli/config/env.py","start_line":150,"end_line":200})read_file({"path":"docs/commands/config.md","start_line":1,"end_line":20})file_symbols({"path":"src/devops_cli/k8s/cluster_secrets.py"})search_code({"text":"keyring_sources"})read_file({"path":"src/devops_cli/config/os_keyring.py","start_line":28,"end_line":45})list_files({"directory":"tests/support"})read_file({"path":"src/devops_cli/k8s/cluster_secrets.py","start_line":44,"end_line":70})read_file({"path":"src/devops_cli/commands/config.py","start_line":255,"end_line":320})list_files({"directory":""})search_code({"text":"generator_for_option"})read_file({"path":"src/devops_cli/commands/config.py","start_line":255,"end_line":360})read_file({"path":"src/devops_cli/k8s/cluster_secrets.py","start_line":120,"end_line":150})read_file({"end_line":70,"path":"src/devops_cli/k8s/cluster_secrets.py","start_line":44})read_file({"end_line":370,"path":"src/devops_cli/k8s/cluster_secrets.py","start_line":320})search_code({"text":"generator=SecretGenerator"})search_code({"text":"for_credential("})read_file({"end_line":400,"path":"src/devops_cli/k8s/cluster_secrets.py","start_line":200})read_file({"end_line":600,"path":"src/devops_cli/k8s/cluster_secrets.py","start_line":465})search_code({"text":"mcp.token"})read_file({"end_line":205,"path":"src/devops_cli/config/env.py","start_line":170})read_file({"end_line":795,"path":"k8s/README.md","start_line":780})read_file({"end_line":35,"path":"docs/CONFIGURATION.md","start_line":1})search_code({"text":"CONFIGURATION.md"})list_files({"directory":"docs/commands"})search_code({"text":"takes a key that names a settings field with a value"})list_files({"directory":"src/devops_cli/docs"})read_file({"end_line":830,"path":"src/devops_cli/docs/generator.py","start_line":760})search_code({"text":"class generated"})search_code({"text":"def docs"})list_files({"directory":"src/devops_cli/commands/ci"})read_file({"end_line":2540,"path":"src/devops_cli/commands/ci.py","start_line":2480})search_code({"text":"CONST_DOCS_INVENTORY"})read_file({"end_line":310,"path":"src/devops_cli/config/os_keyring.py","start_line":270})search_code({"text":"def require_persistent_keyring"})read_file({"end_line":450,"path":"src/devops_cli/k8s/secret_push.py","start_line":428})read_file({"end_line":562,"path":"src/devops_cli/k8s/secret_push.py","start_line":540})read_file({"end_line":720,"path":"src/devops_cli/k8s/cluster_secrets.py","start_line":660})search_code({"text":"def keyring_sources"})search_code({"text":"def test("})search_code({"text":"get_check_spec(\"test\")"})read_file({"end_line":2380,"path":"src/devops_cli/commands/ci.py","start_line":2235})read_spec({"capability":"config-commands"})search_code({"text":"no other command writes them"})list_files({"directory":"docs"})search_code({"text":"def _resolve_test_targets"})search_code({"text":"tests/k8s/test_cluster_secret_plan.py"})read_file({"end_line":80,"path":"tests/support/fakes/keyring.py","start_line":1})read_file({"end_line":2100,"path":"src/devops_cli/commands/ci.py","start_line":2057})search_code({"text":"def check("})read_file({"end_line":30,"path":"docs/commands/config.md","start_line":1})read_file({"path":"src/devops_cli/commands/docs.py","start_line":135,"end_line":180})search_code({"text":"def check_docs"})search_code({"text":"CONFIGURATION"})read_file({"end_line":1450,"path":"src/devops_cli/docs/generator.py","start_line":1395})list_files({"directory":"tests/roadmap/stage"})list_files({"directory":"tests/http"})search_code({"text":"def dotted_set"})read_file({"end_line":200,"path":"tests/commands/test_config_commands.py","start_line":160})read_file({"end_line":3205,"path":"src/devops_cli/config/settings.py","start_line":3155})search_code({"text":"def store_keyring_secret"})read_file({"end_line":265,"path":"src/devops_cli/config/os_keyring.py","start_line":228})read_file({"end_line":645,"path":"src/devops_cli/k8s/cluster_secrets.py","start_line":605})search_code({"text":"_SECRET_FIELDS"})read_file({"end_line":175,"path":"src/devops_cli/config/env.py","start_line":130})search_code({"text":"--from-file"})search_code({"text":"--rotate"})search_code({"text":"config set --generate"})read_file({"end_line":820,"path":"k8s/README.md","start_line":796})search_code({"text":"This document is automatically generated from"})list_files({"directory":"docs"})read_file({"path":"src/devops_cli/docs/generator.py","start_line":690,"end_line":800})search_code({"text":"config set"})read_file({"path":"src/devops_cli/docs/generator.py","start_line":799,"end_line":870})search_code({"text":"generate_configuration_docs"})search_code({"text":"CONFIGURATION.md"})list_files({"directory":"tests/docs"})search_code({"text":"crawl4ai"})read_file({"path":"tests/docs/test_docs.py","start_line":515,"end_line":560})search_code({"text":"no other command writes them"})search_code({"text":"crawl4ai.api_token"})read_spec({"capability":"config-commands"})file_symbols({"path":"src/devops_cli/commands/config.py"})search_code({"text":"def keyring_sources"})read_file({"path":"src/devops_cli/commands/config.py","start_line":268,"end_line":325})read_file({"path":"src/devops_cli/k8s/cluster_secrets.py","start_line":685,"end_line":720})list_files({"directory":"docs/commands"})list_files({"directory":"tests/support"})search_code({"text":"from_file"})list_files({"directory":"tests/commands"})search_code({"text":"CONFIGURATION.md\""})search_code({"text":"docs generate"})search_code({"text":"generator_for_option"})read_file({"path":"src/devops_cli/k8s/cluster_secrets.py","start_line":120,"end_line":150})read_file({"path":"src/devops_cli/k8s/secret_push.py","start_line":430,"end_line":450})read_file({"path":"src/devops_cli/k8s/secret_push.py","start_line":540,"end_line":562})search_code({"text":"_CRAWL4AI_TOKEN = KeyringSource.for_credential"})search_code({"text":"CRAWL4AI_ENV_NAME,"})read_file({"path":"src/devops_cli/k8s/cluster_secrets.py","start_line":336,"end_line":352})search_code({"text":"_store_generated"})search_code({"text":"generator_option_names"})read_file({"path":"src/devops_cli/config/os_keyring.py","start_line":281,"end_line":305})read_file({"path":"src/devops_cli/config/env.py","start_line":183,"end_line":195})search_code({"text":"def require_persistent_keyring"})search_code({"text":"def test_config_set_"})read_file({"path":"src/devops_cli/k8s/cluster_secrets.py","start_line":200,"end_line":230})read_file({"path":"src/devops_cli/k8s/cluster_secrets.py","start_line":110,"end_line":150})search_code({"text":"def keyring_sources"})search_code({"text":"name=\"crawl4ai\""})read_file({"path":"src/devops_cli/k8s"})read_file({"path":"src/devops_cli/k8s/cluster"})read_file({"path":"src/devops_cli/k8s"})read_file({"path":"src/devops_cli/k8s/cluster"})read_file({"path":"src/devops_cli/k8s","start_line":1})read_file({"path":"src/devops_cli/k8s/cluster_secrets.py","start_line":335,"end_line":360})read_file({"path":"src/devops_cli/k8s/cluster_secrets.py","start_line":685,"end_line":725})read_file({"path":"src/devops_cli/commands/config.py","start_line":240,"end_line":330})read_file({"path":"src/devops_cli/k8s/secret_push.py","start_line":420,"end_line":460})read_file({"end_line":560,"path":"src/devops_cli/k8s/secret_push.py","start_line":535})search_code({"text":"def keyring_write"})read_file({"end_line":815,"path":"src/devops_cli/docs/generator.py","start_line":790})read_file({"end_line":545,"path":"tests/docs/test_docs.py","start_line":515})read_spec({"capability":"config-commands"})read_file({"end_line":1360,"path":"src/devops_cli/docs/generator.py","start_line":1350})read_file({"end_line":800,"path":"k8s/README.md","start_line":780})search_code({"text":"def keyring_read"})search_code({"text":"def require_persistent_keyring"})search_code({"text":"keyring_store"})list_files({"directory":"tests/commands"})read_file({"path":"tests/commands/test_config_commands.py","start_line":1,"end_line":70})search_code({"text":"crawl4ai.api_token"})read_file({"end_line":200,"path":"src/devops_cli/config/env.py","start_line":170})read_file({"end_line":735,"path":"src/devops_cli/docs/generator.py","start_line":720})read_file({"end_line":300,"path":"src/devops_cli/lang/en/messages.py","start_line":270})search_code({"text":"from_file_and_value"})search_code({"text":"class ConfigMessages"})search_code({"text":"_SECRET_FIELDS"})search_code({"text":"from_file: str"})list_files({"directory":"docs/commands"})read_file({"path":"docs/CONFIGURATION.md","start_line":1,"end_line":6})search_code({"text":"_store_generated"})search_code({"text":"generator_option_names"})search_code({"text":"def plan_push"})list_files({"directory":"tests/support"})search_code({"text":"class FakeCluster"})search_code({"text":"generator_for_option"})search_code({"text":"generator=SecretGenerator"})search_code({"text":"generator_for_option"})search_code({"text":"_CRAWL4AI_TOKEN"})search_code({"text":"def keyring_sources"})read_file({"path":"src/devops_cli/k8s/cluster_secrets.py","start_line":200,"end_line":400})read_file({"path":"src/devops_cli/k8s/cluster_secrets.py","start_line":440,"end_line":560})read_file({"path":"src/devops_cli/k8s/cluster_secrets.py","start_line":660,"end_line":720})search_code({"text":"mcp.token"})read_file({"path":"k8s/README.md","start_line":780,"end_line":800})read_file({"path":"src/devops_cli/commands/config.py","start_line":255,"end_line":340})read_file({"path":"docs/CONFIGURATION.md","start_line":1,"end_line":8})read_file({"path":"src/devops_cli/docs/generator.py","start_line":725,"end_line":735})read_file({"path":"src/devops_cli/docs/generator.py","start_line":793,"end_line":810})read_file({"path":"src/devops_cli/docs/generator.py","start_line":1350,"end_line":1360})read_file({"path":"tests/docs/test_docs.py","start_line":520,"end_line":540})read_file({"path":"src/devops_cli/lang/en/messages.py","start_line":383,"end_line":395})read_file({"path":"src/devops_cli/config/env.py","start_line":185,"end_line":196})read_file({"path":"src/devops_cli/config/settings.py","start_line":245,"end_line":255})read_file({"path":"src/devops_cli/config/os_keyring.py","start_line":280,"end_line":305})read_file({"path":"src/devops_cli/k8s/secret_push.py","start_line":435,"end_line":475})read_file({"path":"src/devops_cli/k8s/secret_push.py","start_line":545,"end_line":562})read_file({"path":"tests/support/cluster_secret_fakes.py","start_line":30,"end_line":45})read_spec({"capability":"true"})read_spec({"capability":"config-commands"})search_code({"text":"def generator("})search_code({"text":"uv run devops ci docs"})search_code({"text":"test_the_crawl4ai_token_is_one_managed_credential_for_two_secrets"})read_file({"path":"src/devops_cli/k8s/cluster_secrets.py","start_line":136,"end_line":145})read_file({"path":"src/devops_cli/config/env.py","start_line":140,"end_line":200})read_spec({"capability":"config-commands","requirement":"devops config set writes the key that it names"})search_code({"text":"def generator_for"})search_code({"text":"_store_generated"})read_file({"path":"tests/docs/test_docs.py","start_line":25,"end_line":45})list_files({"directory":"docs"})list_files({"directory":"tests/docs"})list_files({"directory":"tests/roadmap/stage"})search_code({"text":"def require_persistent_keyring"})search_code({"text":"crawl4ai"})search_code({"text":"CONFIGURATION.md"})search_code({"text":"docs/CONFIGURATION.md"})search_code({"text":"def test_"})file_symbols({"path":"tests/docs/test_docs_inventory.py"})list_files({"directory":"docs/commands"})search_code({"text":"def check"})read_file({"path":"docs/commands/config.md","start_line":1,"end_line":40})search_code({"text":"def secret_line"})read_file({"path":"src/devops_cli/k8s/secret_push.py","start_line":476,"end_line":545})read_file({"path":"src/devops_cli/k8s/secret_push.py","start_line":380,"end_line":435})read_file({"path":"src/devops_cli/k8s/secret_push.py","start_line":676,"end_line":710})list_files({"directory":"src/devops_cli/lang"})read_file({"path":"tests/lang/test_language_catalogs.py","start_line":1,"end_line":60})file_symbols({"path":"src/devops_cli/docs/generator.py"})search_code({"text":"entry.generator"})search_code({"text":"for_credential"})read_file({"path":"src/devops_cli/k8s/cluster_secrets.py","start_line":620,"end_line":645})Tool calls: file_symbols=8 (empty=0), find_issues=3 (empty=0), list_files=34 (empty=0), read_file=166 (empty=0), read_issue=4 (empty=0), read_spec=16 (empty=0), references=1 (empty=0), search_code=146 (empty=24)
The stage job read the open pull requests and their files in 1 GraphQL request(s).
The plan request held these comments of the item whole: #3998 (comment), #3998 (comment), #3998 (comment).
17 remaining items
feat(config): Add the generator lookup to the cluster Secret table (#…
wip: 1 of 2 tasks of group 2, Add the generate and rotate flags to th…
feat(config): Add the generate and rotate flags to the set command (#…
wip: 1 of 2 tasks of group 3, Name both commands in the configuration…
feat(config): Name both commands in the configuration page (#3998)
feat(config): Edit the Crawl4AI bullet and regenerate the pages (#3998)
docs(openspec): archive the change (#3998)
devops-cli-service commentedon Nov 18, 2026
Pull request #6318 is ready for review. The checks passed.
Spend: 168 model requests, 12554815 input tokens, 63216 output tokens.
devops-cli-service commentedon Nov 18, 2026
Released in v0.179.0: https://github.com/dan-petty/devops-cli/releases/tag/v0.179.0
devops-cli-service commentedon Nov 18, 2026
Live since 2026-11-18 20:24 UTC