Repository navigation
Description
Split from #4003.
The planner run Job of #4003 mounts ConfigMap devops-cli-config-sandbox at its config volume. ADR 0018 control 2 says that a person makes this ConfigMap from devops-cli-config, with each key that holds a credential removed. No command renders it today: devops k8s deploy-stack --stack devops renders only devops-cli-config from config.yaml. This part is deferred, because #4003 holds the manifest and the admission policy only, and the creation waits on a person or on a change to the deploy command. Acceptance criteria: (1) devops k8s deploy-stack --stack devops SHALL render ConfigMap devops-cli-config-sandbox from config.yaml, with every key that holds a credential removed. (2) A test SHALL assert that the rendered ConfigMap holds no key that holds a token, a key or a password. (3) The CronJob of #4003 SHALL mount that ConfigMap with no change to its manifest.
Proposed design
Problem statement
The planner run Job needs a credential-free copy of the Service config, ConfigMap devops-cli-config-sandbox (ADR 0018 control 2). No command renders it today: devops k8s deploy-stack --stack devops renders only devops-cli-config, so a person must copy it and strip credentials by hand. This change renders, applies and deletes the sandbox ConfigMap in the existing devops stack path, from the same template and active config, with every key whose name suggests a credential removed at any depth of its devops-cli.yaml value. The name and the data key stay those the run Job mounts.
Acceptance criteria
Requirement: Render and apply the sandbox ConfigMap
devops k8s deploy-stack --stack devops SHALL render and apply ConfigMap devops-cli-config-sandbox in namespace devops from the active config, on both the native manifest path and the Argo CD-managed path.
Scenario: Deploy the devops stack from config
- WHEN the command runs for the devops stack with a config that holds a repository and the GitHub App settings
- THEN the manifest handed to
kubectl applyhasmetadata.namedevops-cli-config-sandboxandmetadata.namespacedevops.
Requirement: Remove credential keys at any depth
The rendered devops-cli-config-sandbox SHALL omit every key of its devops-cli.yaml value whose lower-case name matches a word of CONST_MCP_SECRET_PARAMETER_WORDS, at any depth of maps and lists.
Scenario: Credential keys at the top level and nested
- WHEN the template config holds
github_token,api_key,db_passwordand a nestedsecretkey beside non-credential keys - THEN the rendered
devops-cli.yamlholds none of those four keys and still holds the non-credential keys with their values.
Requirement: Test the rendered keys
A test SHALL parse the rendered ConfigMap, walk every key of the devops-cli.yaml value at any depth, and fail when one matches a word of CONST_MCP_SECRET_PARAMETER_WORDS.
Scenario: Credential-free output test
- WHEN the test renders
devops-cli-config-sandboxfrom a fixture template that holds a credential key at the top level and one nested - THEN the test names the offending key and fails, and the same test on a credential-free fixture passes.
Requirement: Keep the mount contract
The rendered ConfigMap MUST keep the name devops-cli-config-sandbox and the single data key devops-cli.yaml, so the planner run Job of #4003 mounts it at /config with DEVOPS_CLI_CONFIG unchanged.
Scenario: Name and data key are stable
- WHEN the sandbox ConfigMap is rendered from any config
- THEN
metadata.nameisdevops-cli-config-sandboxanddataholds exactly the keydevops-cli.yaml.
Requirement: Teardown deletes the sandbox ConfigMap
devops k8s teardown-stack --stack devops SHALL delete ConfigMap devops-cli-config-sandbox with --ignore-not-found, as it deletes devops-cli-config.
Scenario: Tear down the devops stack
- WHEN the teardown runs for the devops stack
- THEN the command issues
kubectl delete configmap devops-cli-config-sandbox -n devops --ignore-not-foundand exits 0 when the ConfigMap is absent.
Requirement: Dry run lists the sandbox ConfigMap
devops k8s deploy-stack --stack devops --dry-run SHALL name the sandbox ConfigMap with the other rendered resources and print no value of it.
Scenario: Dry run of the devops stack
- WHEN the command runs with
--dry-runfor the devops stack - THEN the details name
devops/devops-cli-config-sandboxand print none of its content.
Existing Tool Considered
No open maintained tool covers the need, so the change adds about 15 lines to the existing renderer. yq deletes keys at any depth with a recursive del(.. | select(key | test(...))), but it is a second binary that renders and applies no ConfigMap, so the renderer would still be needed; kustomize configMapGenerator builds a ConfigMap from files and literals and removes no key. The change reuses what the repository has: render_active_devops_configmap (src/devops_cli/k8s/configmap.py:123) and is_secret_parameter_name (src/devops_cli/security/sanitizer.py:473), with the key walk added beside mask_secret_named_values (src/devops_cli/security/sanitizer.py:479). Written cost: about 1,500 tokens to build, 500 tokens per year to keep, 1,000 tokens to fix, and about 1 hour.
Key questions
- Which keys does the sandbox ConfigMap remove?: Every key of the
devops-cli.yamlvalue whose lower-case name matches a word ofCONST_MCP_SECRET_PARAMETER_WORDS(password,passphrase,secret,token,api_key,apikey,private_key,credential,bearer,key_values), at any depth, removed rather than masked. The rule isis_secret_parameter_name(src/devops_cli/security/sanitizer.py:473), which is the project's one record of what a secret-suggesting name is (SECURITY.md rule 12). All other keys stay. A barekeyordb_keydoes not match the shared list; do not addkeyto it, because it would also matchkeyringandkeys, and a second list would drift from the first. (best practice) [sources: docs/adr/0018-a-sandboxed-read-only-run-tool-for-the-planner.md:29, src/devops_cli/config/constants.py:582, src/devops_cli/security/sanitizer.py:473]- Chosen: Reuse
is_secret_parameter_nameand remove matching keys. It is the project's tested name rule (SECURITY.md rule 12) and covers nested keys; the filter only has to delete instead of redact. - Rejected: A new config-only pattern such as
token|password|secret|key. A second list drifts from the first, and a barekeymatches non-credential names such askeyring. - Rejected: Explicit allow-list of safe keys. It needs an update for each safe key and can omit a needed setting.
- Rejected: Copy all keys and rely on the admission policy. An admission policy cannot remove a key from a ConfigMap that was created.
- Chosen: Reuse
- Where does the command render the new ConfigMap?: In
src/devops_cli/k8s/configmap.py, arender_active_devops_sandbox_configmapbesiderender_active_devops_configmap(src/devops_cli/k8s/configmap.py:123): it renders the same template and active config, renames the ConfigMap, drops the credential keys and returns the manifest.devops k8s deploy-stackcalls it where it already rendersdevops-cli-configfor the devops stack (src/devops_cli/commands/k8s/stack_lifecycle.py:1314), on the native path (:1170) and the Argo CD-managed path (:1200), and teardown deletes it (:1584). A file underk8s/devops/is no place for it: it holds the homelab's settings and Argo CD does not managedevops-cli-configeither (k8s/README.md:776). This automates the copy that ADR 0018 control 2 requires; the control itself, a copy with no credential, is unchanged, and the pull request says that the person's copy step becomes the command. (best practice) [sources: src/devops_cli/k8s/configmap.py:123, src/devops_cli/commands/k8s/stack_lifecycle.py:1314, src/devops_cli/commands/k8s/stack_lifecycle.py:1170, src/devops_cli/commands/k8s/stack_lifecycle.py:1200, src/devops_cli/commands/k8s/stack_lifecycle.py:1584, k8s/README.md:776, docs/adr/0018-a-sandboxed-read-only-run-tool-for-the-planner.md:29]- Chosen: A new function beside
render_active_devops_configmap, called by both deploy paths. One render path, the same template and settings, and it meets the--stack devopscriterion on the native and the Argo CD-managed cluster. - Rejected: A new deploy-stack flag. It adds a second path for the same stack and a person must remember it.
- Rejected: A manifest file under
k8s/devops/. It would put the homelab's settings in git, and Argo CD does not manage the siblingdevops-cli-config(k8s/README.md:776). - Rejected: Leave the copy to a person. The issue removes the manual step, and a hand copy drifts from the config on the next deploy.
- Chosen: A new function beside
- Where does the credential-key filter live?: In
src/devops_cli/security/sanitizer.py, adrop_secret_named_keys(data)besidemask_secret_named_values(src/devops_cli/security/sanitizer.py:479): it walks dicts and lists at any depth, drops a dict entry whose keyis_secret_parameter_namematches, and returns the rest.k8s/configmap.pycalls it on the parseddevops-cli.yamlvalue, so the name rule stays in one module and the k8s renderer holds no pattern of its own. (best practice) [sources: src/devops_cli/security/sanitizer.py:473, src/devops_cli/security/sanitizer.py:479, src/devops_cli/k8s/configmap.py:76]- Chosen: A removal walk in
security/sanitizer.pybesidemask_secret_named_values. The name rule and its walk stay in one module, and the renderer calls one function. - Rejected: A private filter inside
k8s/configmap.py. It puts a second copy of the name rule beside the k8s rendering, where the next credential rule would not reach it. - Rejected: Mask the values with
mask_secret_named_valuesand keep the keys. ADR 0018 control 2 removes the key; a masked value under a credential key still names the setting to the planner.
- Chosen: A removal walk in
- How does the test detect a credential key?: Parse the rendered manifest with
yaml.safe_load, parse thedata['devops-cli.yaml']value, walk every key of that value at any depth and fail whenis_secret_parameter_namematches, astests/k8s/test_k8s_configmap.py:134already parses the inner YAML. Do not scan the serialized text: it matches values and misses nested keys. The fixture template must carry the credential keys, because the rendered config holds none today, andSettingsignores an unknown key (src/devops_cli/config/settings.py:1361), so the fixture passes validation and would leak without the filter. (best practice) [sources: tests/k8s/test_k8s_configmap.py:134, src/devops_cli/security/sanitizer.py:473, src/devops_cli/config/settings.py:1361, src/devops_cli/k8s/configmap.py:84]- Chosen: Parsed-key walk with
is_secret_parameter_name. It checks exactly the keys the ConfigMap holds, at any depth, and reuses the project's name rule. - Rejected: Serialized text scan. It can match a value and miss a nested key.
- Rejected: Admission policy only. It does not run in the offline unit test.
- Chosen: Parsed-key walk with
- Does an existing tool cover the need?: No.
yqcan delete keys at any depth with a recursive expression, but it is a second binary and renders and applies no ConfigMap;kustomize configMapGeneratorbuilds a ConfigMap from files and literals and removes no key. The repository already has the renderer and the name rule, so the change adds a small filter to them. (best practice) [sources: https://stackoverflow.com/questions/77176229/how-to-delete-object-and-list-elements-whose-name-or-key-end-with-string-using-y, https://github.com/kubernetes-sigs/kustomize/blob/master/examples/configGeneration.md, src/devops_cli/k8s/configmap.py:59, src/devops_cli/security/sanitizer.py:473]- Rejected: Add
yq. It needs a second render step, a new binary in the image, and still needs the ConfigMap writer. - Rejected: Add
kustomize. It generates a ConfigMap from files and literals and cannot remove a selected key. - Chosen: Reuse the existing YAML parser, renderer and name rule. One render path, no new dependency, and about 15 lines of code.
- Rejected: Add
- Does the config that the ConfigMap holds carry a credential today?: No. The template says its config holds no credential, and the service block copies only the repositories and the App's ID, installation ID and slug; the private key is the managed credential
service.github_app.private_key, which is not a field ofGitHubAppConfigand never enters the ConfigMap. The filter is therefore a guard for a later key in the template or the active config, and the test must inject one to exercise it. [sources: k8s/devops/configmap.example.yaml:1, k8s/devops/configmap.example.yaml:84, src/devops_cli/k8s/configmap.py:45, src/devops_cli/config/settings.py:849, docs/adr/0015-roadmap-jobs-act-as-a-github-app-on-the-personal-account.md:22] - Does the planner run Job of feat(k8s): manifest and admission policy for planner sandboxed run job #4003 exist in this repository, so that the mount can be asserted?: No. No file names
devops-cli-config-sandbox, and the only CronJob mountsdevops-cli-configat/configwithDEVOPS_CLI_CONFIG=/config/devops-cli.yaml. So the mount is a name and data-key contract that feat(k8s): manifest and admission policy for planner sandboxed run job #4003's manifest keeps, and the offline test asserts the rendered name and data key, not the absent CronJob. This change needs no manifest from feat(k8s): manifest and admission policy for planner sandboxed run job #4003 and blocks none of it. [sources: k8s/devops/cronjob.yaml:80, k8s/devops/cronjob.yaml:52, k8s/devops/cronjob.yaml:65, src/devops_cli/config/constants.py:1106]
Fit
Fits in one pull request.
Suspected block
None.
Dependencies
None.
Alternatives check of 2026-11-10: partly.
Tool: mikefarah/yq (https://github.com/mikefarah/yq), MIT, last activity 2026-11-09, maintained.
Activity
devops-cli-service commentedon Nov 8, 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.(k8s)scope of the title gives the scope.The item is a deferred follow-up that waits on a person or a deploy change, and it blocks no current work.The credential-free ConfigMap lets the planner run Job start without cluster secrets.The work adds a render path to the deploy command and a test for credential keys.Both items serve the planner sandbox run Job of ADR 0018; #4003 adds the manifest and admission policy, and the candidate adds the ConfigMap rendering.devops-cli-service commentedon Nov 9, 2026
Status set to Ready at 87e9bd7 (see proposed design in issue body).
devops-cli-service commentedon Nov 10, 2026
Alternatives check: partly
Reason: The searches found only general YAML processors: yq can filter and rewrite a YAML document with jq-like expressions, so it can drop entries whose key matches a credential pattern at any depth, which is the credential-stripping half of the need. It renders and applies no ConfigMap (no metadata.name/namespace, no devops-cli.yaml data key, no deploy/teardown/dry-run path) and knows nothing of the project's secret-name rule, so the existing renderer still has to do the rest.
Tool: mikefarah/yq (https://github.com/mikefarah/yq)
Covers:
Lacks:
Tools considered:
Searches run:
Sources:
Checked on 2026-11-10. A person decides what this means for the item. The check changes no label and closes no issue.
devops-cli-service commentedon Nov 21, 2026
Plan state: branch
feat/4147-render-a-credential-free-configmap-for, draft pull request #6591. 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 proposal (dependencies): The plan claims feat(roadmap): read project review facts through a catalog #6586 changes theGitHubAppConfigline ofsettings.py; the pull request's own body says it adds a project-review fact catalog, and the newest commit that touchessettings.pyis feat(roadmap): end the implement Job at the draft pull request #6562, so nothing in the input supports the claim. Evidence: "feat(roadmap): read project review facts through a catalog #6586: it changessrc/devops_cli/config/settings.py:1235:model_config = ConfigDict(extra="ignore", validate_assignment=True, hide_input_in_errors=True)"false_premiseat proposal (feasibility): The plan says the new case reads every recorded payload through the existing reader, butstdin_ofreturns only the first matching payload, so the second payload can be read only by iteratingcluster.callsdirectly. Evidence: "return next(given or "" for called, given in self.calls if called == cmd)"contrived_testat tasks (3): The new native-path case asserts that the sandbox payload holds no credential key, but the product template it renders holds none, so that assertion passes whatever the filter does; the plan itself says a fixture must inject a credential key to exercise it. Evidence: "asserts that the second payload is the sandbox ConfigMap with its namespace and with no credential key in its inner config"verify_format tasks (4): The docs group edits the Homelab Values table and its prose ink8s/README.md, whiledevops ci docsonly checks generated docs and command lines, so the verify does not run the group's work. Evidence: """"Verify (or update with --fix) that documentation is up to date with CLI commands and configuration.""""devops-cli-service commentedon Nov 21, 2026
The stage job staged the plan of draft pull request #6591. The plan state comment of #6591 holds the branch, the task groups and the findings.
The runs of the planner and the review made 126 model request(s), and used 9533825 input tokens and 180982 output tokens. The tool calls, in order:
read_file({"path":"src/devops_cli/k8s/configmap.py"})list_files({"directory":"src/devops_cli/k8s"})read_file({"path":"src/devops_cli/security/sanitizer.py","start_line":430,"end_line":540})read_file({"path":"src/devops_cli/config/constants.py","start_line":600,"end_line":660})read_file({"path":"src/devops_cli/commands/k8s/stack_lifecycle.py","start_line":1140,"end_line":1360})read_file({"end_line":1460,"path":"src/devops_cli/commands/k8s/stack_lifecycle.py","start_line":1300})search_code({"text":"render_active_devops_configmap"})search_code({"text":"CONST_K8S_DEVOPS_CONFIGMAP"})read_file({"end_line":980,"path":"src/devops_cli/commands/k8s/stack_lifecycle.py","start_line":900})read_file({"end_line":1800,"path":"src/devops_cli/commands/k8s/stack_lifecycle.py","start_line":1690})search_code({"text":"_render_devops_configmap("})read_file({"path":"tests/k8s/test_k8s_configmap.py","start_line":1,"end_line":160})read_spec({"capability":"k8s-planner-run-job"})read_spec({"capability":"stack-credential-sync"})read_spec({"capability":"k8s-bootstrap"})read_spec({"capability":"k8s-planner-run-job","requirement":"The kustomization and deploy-stack hold the new files"})references({"name":"devops-cli-config-sandbox"})references({"name":"devops-cli-config"})read_file({"path":"openspec/specs/k8s-planner-run-job/spec.md","start_line":1,"end_line":40})read_file({"path":"k8s/devops/roadmap-service/cronjob-planner-run.yaml","start_line":90,"end_line":125})references({"name":"deploy-stack"})read_spec({"capability":"k8s-helm-deploy"})read_spec({"capability":"service-config-route"})read_spec({"capability":"github-app-identity"})read_file({"path":"tests/commands/k8s/test_k8s_devops_stack.py"})search_code({"text":"mask_secret_named_values"})search_code({"text":"secret_named"})list_files({"directory":"tests/security"})read_file({"end_line":1620,"path":"src/devops_cli/commands/k8s/stack_lifecycle.py","start_line":1490})search_code({"text":"rendered from the active config"})search_code({"text":"_render_devops_configmap"})search_code({"text":"config_map"})read_file({"end_line":2000,"path":"tests/commands/k8s/test_k8s.py","start_line":1860})search_code({"text":"_APPLY_STDIN"})search_code({"text":"def stdin_of"})read_file({"path":"tests/commands/k8s/test_k8s.py","start_line":1470,"end_line":1660})read_file({"end_line":40,"path":"docs/adr/0018-a-sandboxed-read-only-run-tool-for-the-planner.md","start_line":20})read_file({"end_line":790,"path":"k8s/README.md","start_line":765})read_file({"end_line":620,"path":"k8s/README.md","start_line":600})read_file({"end_line":1135,"path":"k8s/README.md","start_line":1095})read_file({"path":"docs/CLUSTER.md","start_line":86,"end_line":104})read_file({"path":"tests/security/test_secret_redaction.py","start_line":1,"end_line":40})read_file({"path":"src/devops_cli/k8s/configmap.py","start_line":1,"end_line":140})file_symbols({"path":"src/devops_cli/security/sanitizer.py"})read_file({"end_line":520,"path":"src/devops_cli/security/sanitizer.py","start_line":468})read_file({"end_line":210,"path":"src/devops_cli/k8s/configmap.py","start_line":135})search_code({"text":"_render_devops_configmap"})search_code({"text":"devops-cli-config-sandbox"})read_file({"end_line":970,"path":"src/devops_cli/commands/k8s/stack_lifecycle.py","start_line":935})read_file({"end_line":1230,"path":"src/devops_cli/commands/k8s/stack_lifecycle.py","start_line":1150})read_file({"end_line":1620,"path":"src/devops_cli/commands/k8s/stack_lifecycle.py","start_line":1450})search_code({"text":"def _deploy_native_manifests"})search_code({"text":"def _handle_argo_managed_deployment"})search_code({"text":"def teardown_stack"})read_file({"end_line":1340,"path":"src/devops_cli/commands/k8s/stack_lifecycle.py","start_line":1287})read_file({"end_line":1800,"path":"src/devops_cli/commands/k8s/stack_lifecycle.py","start_line":1720})search_code({"text":"def _render_deploy_stack_dry_run"})search_code({"text":"CONST_K8S_DEVOPS_CONFIGMAP"})read_file({"end_line":1445,"path":"src/devops_cli/commands/k8s/stack_lifecycle.py","start_line":1375})read_file({"end_line":1720,"path":"src/devops_cli/commands/k8s/stack_lifecycle.py","start_line":1690})read_file({"end_line":160,"path":"tests/k8s/test_k8s_configmap.py","start_line":1})search_code({"text":"def test_teardown_stack_devops_deletes_the_config_map"})read_file({"end_line":2050,"path":"tests/commands/k8s/test_k8s.py","start_line":1940})search_code({"text":"def test_deploy_stack_dry_run_reports_the_config_map"})search_code({"text":"test_deploy_stack_on_a_native_cluster"})search_code({"text":"test_deploy_stack_on_argo_cd_applies_the_config_map"})read_file({"end_line":1950,"path":"tests/commands/k8s/test_k8s.py","start_line":1880})read_file({"end_line":1670,"path":"tests/commands/k8s/test_k8s.py","start_line":1615})search_code({"text":"mask_secret_named_values"})read_file({"path":"tests/security/test_secret_redaction.py","start_line":1,"end_line":40})search_code({"text":"Git does not hold the Secrets"})search_code({"text":"Homelab Values at Deploy Time"})read_spec({"capability":"k8s-planner-run-job"})read_file({"end_line":120,"path":"k8s/devops/roadmap-service/cronjob-planner-run.yaml","start_line":95})search_code({"text":"def stdin_of"})search_code({"text":"_APPLY_STDIN ="})read_file({"end_line":1615,"path":"tests/commands/k8s/test_k8s.py","start_line":1490})references({"name":"render_active_devops_configmap"})search_code({"text":"drop_secret_named_keys"})read_file({"path":"src/devops_cli/k8s/__init__.py"})search_code({"text":"render_active_devops_sandbox_configmap"})read_file({"end_line":625,"path":"src/devops_cli/config/constants.py","start_line":610})read_file({"end_line":1210,"path":"src/devops_cli/config/constants.py","start_line":1198})search_code({"text":"_render_sandbox_configmap"})search_code({"text":"stdins_of"})search_code({"text":"render_active_devops_configmap"})search_code({"text":"CONST_MCP_SECRET_PARAMETER_WORDS"})read_file({"path":"src/devops_cli/k8s/configmap.py","start_line":40,"end_line":190})read_file({"path":"src/devops_cli/security/sanitizer.py","start_line":470,"end_line":530})search_code({"text":"render_active_devops_configmap(product)"})search_code({"text":"CONST_K8S_DEVOPS_CONFIGMAP"})file_symbols({"path":"src/devops_cli/commands/k8s/stack_lifecycle.py"})read_file({"path":"src/devops_cli/commands/k8s/stack_lifecycle.py","start_line":920,"end_line":960})read_file({"end_line":1330,"path":"src/devops_cli/commands/k8s/stack_lifecycle.py","start_line":1287})read_file({"end_line":1800,"path":"src/devops_cli/commands/k8s/stack_lifecycle.py","start_line":1700})search_code({"text":"_render_devops_configmap("})read_file({"end_line":1444,"path":"src/devops_cli/commands/k8s/stack_lifecycle.py","start_line":1400})search_code({"text":"devops-cli-config-sandbox"})read_file({"end_line":150,"path":"tests/k8s/test_k8s_configmap.py","start_line":100})search_code({"text":"test_deploy_stack_on_a_native_cluster_applies_the_rendered_config_map_and_no_file_of_it"})search_code({"text":"test_teardown_stack_devops_deletes_the_config_map_deploy_stack_rendered"})search_code({"text":"test_deploy_stack_dry_run_reports_the_config_map_and_host_overrides_and_runs_nothing"})search_code({"text":"stdins"})search_code({"text":"def fake_run_cmd"})search_code({"text":"class FakeCluster"})search_code({"text":"input"})read_file({"end_line":1990,"path":"tests/commands/k8s/test_k8s.py","start_line":1900})search_code({"text":"def stdin_of"})search_code({"text":"_APPLY_STDIN"})read_file({"end_line":1620,"path":"tests/commands/k8s/test_k8s.py","start_line":1500})read_file({"end_line":25,"path":"src/devops_cli/k8s/__init__.py","start_line":1})search_code({"text":"Git does not hold the Secrets"})read_spec({"capability":"k8s-planner-run-job"})search_code({"text":"_render_devops_configmap"})read_file({"path":"src/devops_cli/k8s/configmap.py","start_line":40,"end_line":185})read_file({"path":"src/devops_cli/commands/k8s/stack_lifecycle.py","start_line":930,"end_line":975})read_file({"path":"src/devops_cli/commands/k8s/stack_lifecycle.py","start_line":1490,"end_line":1560})search_code({"text":"config_map"})read_file({"end_line":1800,"path":"src/devops_cli/commands/k8s/stack_lifecycle.py","start_line":1740})read_file({"end_line":1330,"path":"src/devops_cli/commands/k8s/stack_lifecycle.py","start_line":1280})read_file({"end_line":1440,"path":"src/devops_cli/commands/k8s/stack_lifecycle.py","start_line":1385})read_file({"end_line":1735,"path":"src/devops_cli/commands/k8s/stack_lifecycle.py","start_line":1700})read_file({"end_line":530,"path":"src/devops_cli/security/sanitizer.py","start_line":465})search_code({"text":"CONST_K8S_DEVOPS_CONFIGMAP"})read_file({"end_line":640,"path":"src/devops_cli/config/constants.py","start_line":610})read_file({"path":"src/devops_cli/k8s/__init__.py"})read_file({"end_line":150,"path":"tests/k8s/test_k8s_configmap.py","start_line":120})search_code({"text":"devops-cli-config-sandbox"})read_spec({"capability":"k8s-planner-run-job"})search_code({"text":"def unknown_setting_keys"})read_file({"end_line":40,"path":"src/devops_cli/k8s/configmap.py","start_line":1})read_file({"end_line":80,"path":"src/devops_cli/config/setting_keys.py","start_line":1})read_spec({"capability":"k8s-planner-run-job","requirement":"The kustomization and deploy-stack hold the new files"})read_file({"end_line":30,"path":"k8s/devops/configmap.example.yaml","start_line":1})references({"name":"devops-cli-config"})read_file({"end_line":180,"path":"tests/gate/k8s_checks/argocd_apps.py","start_line":140})read_file({"end_line":60,"path":"tests/invariants/test_configmap_rollout_rule.py","start_line":1})read_file({"end_line":1995,"path":"tests/commands/k8s/test_k8s.py","start_line":1925})read_file({"end_line":1580,"path":"tests/commands/k8s/test_k8s.py","start_line":1530})references({"name":"render_active_devops_configmap"})search_code({"text":"drop_secret_named_keys"})list_files({"directory":"tests/security"})read_file({"end_line":55,"path":"tests/k8s/test_k8s_configmap.py","start_line":1})read_file({"end_line":1135,"path":"k8s/README.md","start_line":1098})read_file({"end_line":620,"path":"k8s/README.md","start_line":598})read_file({"end_line":40,"path":"docs/adr/0018-a-sandboxed-read-only-run-tool-for-the-planner.md","start_line":20})read_file({"end_line":120,"path":"k8s/devops/roadmap-service/cronjob-planner-run.yaml","start_line":100})read_file({"end_line":80,"path":"k8s/devops/roadmap-service/cronjob-planner-run.yaml","start_line":40})read_issue({"number":4003})find_issues({"terms":"devops-cli-config-sandbox"})find_issues({"terms":"deploy-stack sandbox ConfigMap"})search_code({"text":"stdins_of"})search_code({"text":"_APPLY_STDIN ="})read_file({"path":"src/devops_cli/k8s/configmap.py","start_line":60,"end_line":170})read_file({"path":"src/devops_cli/security/sanitizer.py","start_line":470,"end_line":520})read_file({"path":"src/devops_cli/commands/k8s/stack_lifecycle.py","start_line":938,"end_line":955})read_file({"path":"src/devops_cli/config/constants.py","start_line":612,"end_line":625})read_file({"end_line":1208,"path":"src/devops_cli/config/constants.py","start_line":1200})read_file({"end_line":118,"path":"k8s/devops/roadmap-service/cronjob-planner-run.yaml","start_line":105})read_file({"end_line":145,"path":"tests/k8s/test_k8s_configmap.py","start_line":125})read_file({"end_line":40,"path":"src/devops_cli/config/setting_keys.py","start_line":20})read_file({"end_line":75,"path":"k8s/devops/roadmap-service/cronjob-planner-run.yaml","start_line":66})read_file({"end_line":148,"path":"k8s/devops/roadmap-service/admissionpolicy.yaml","start_line":138})list_files({"directory":"k8s/devops/roadmap-service"})list_files({"directory":"k8s/devops"})read_spec({})read_spec({"capability":"k8s-planner-run-job"})read_file({"path":"k8s/devops/roadmap-service/cronjob-planner-run.yaml"})read_file({"path":"src/devops_cli/k8s/configmap.py","start_line":118,"end_line":180})read_file({"path":"src/devops_cli/security/sanitizer.py","start_line":465,"end_line":520})read_file({"path":"src/devops_cli/config/constants.py","start_line":610,"end_line":622})read_file({"path":"src/devops_cli/config/constants.py","start_line":1195,"end_line":1210})read_file({"path":"src/devops_cli/k8s/configmap.py","start_line":76,"end_line":100})read_file({"end_line":960,"path":"src/devops_cli/commands/k8s/stack_lifecycle.py","start_line":930})read_file({"end_line":1230,"path":"src/devops_cli/commands/k8s/stack_lifecycle.py","start_line":1150})search_code({"text":"_render_devops_configmap"})search_code({"text":"CONST_K8S_DEVOPS_CONFIGMAP"})read_file({"path":"k8s/devops/roadmap-service/admissionpolicy.yaml","start_line":130,"end_line":155})read_file({"path":"k8s/README.md","start_line":595,"end_line":625})read_file({"path":"k8s/README.md","start_line":760,"end_line":790})search_code({"text":"Homelab Values at Deploy Time"})read_file({"end_line":180,"path":"tests/k8s/test_k8s_configmap.py","start_line":125})search_code({"text":"test_deploy_stack_on_a_native_cluster_applies_the_rendered_config_map_and_no_file_of_it"})search_code({"text":"test_teardown_stack_devops_deletes_the_config_map_deploy_stack_rendered"})search_code({"text":"test_deploy_stack_dry_run_reports_the_config_map_and_host_overrides_and_runs_nothing"})search_code({"text":"test_deploy_stack_on_argo_cd_applies_the_config_map_and_sets_hosts_from_each_applications_revision"})read_file({"end_line":1700,"path":"tests/commands/k8s/test_k8s.py","start_line":1595})read_file({"end_line":2000,"path":"tests/commands/k8s/test_k8s.py","start_line":1925})search_code({"text":"stdin_of"})search_code({"text":"stdins_of"})read_file({"end_line":1595,"path":"tests/commands/k8s/test_k8s.py","start_line":1490})read_file({"end_line":1340,"path":"src/devops_cli/commands/k8s/stack_lifecycle.py","start_line":1260})read_file({"end_line":1520,"path":"src/devops_cli/commands/k8s/stack_lifecycle.py","start_line":1480})read_file({"end_line":1460,"path":"src/devops_cli/commands/k8s/stack_lifecycle.py","start_line":1390})read_file({"end_line":1620,"path":"src/devops_cli/commands/k8s/stack_lifecycle.py","start_line":1520})read_file({"end_line":1800,"path":"src/devops_cli/commands/k8s/stack_lifecycle.py","start_line":1700})search_code({"text":"ci docs"})search_code({"text":"def docs"})search_code({"text":"k8s/README.md"})search_code({"text":"def drop_"})search_code({"text":"drop_secret"})search_code({"text":"devops-cli-config-sandbox"})read_spec({"capability":"k8s-planner-run-job","requirement":"The kustomization and deploy-stack hold the new files"})read_file({"path":"tests/roadmap/test_roadmap_run_job.py","start_line":60,"end_line":140})list_files({"directory":"tests/commands/k8s"})list_files({"directory":"tests/invariants"})list_files({"directory":"tests/commands"})list_files({"directory":"tests/fixtures/roadmap_eval/completeness"})search_code({"text":"render_active_devops_configmap"})search_code({"text":"render_devops_configmap_content"})read_file({"path":"tests/fixtures/roadmap_eval/completeness/change-4093-complete/draft.diff","start_line":1,"end_line":60})references({"name":"render_active_devops_configmap"})read_file({"end_line":1370,"path":"src/devops_cli/config/settings.py","start_line":1350})read_file({"end_line":860,"path":"src/devops_cli/config/settings.py","start_line":835})search_code({"text":"class Settings(BaseModel):"})search_code({"text":"class AITaskOverride("})read_file({"end_line":760,"path":"src/devops_cli/config/settings.py","start_line":738})search_code({"text":"class Settings("})search_code({"text":"class GitHubAppConfig"})read_file({"end_line":2475,"path":"src/devops_cli/config/settings.py","start_line":2439})read_file({"end_line":1260,"path":"src/devops_cli/config/settings.py","start_line":1227})read_file({"end_line":60,"path":"src/devops_cli/commands/k8s/stack_lifecycle.py","start_line":50})read_file({"end_line":20,"path":"src/devops_cli/k8s/__init__.py","start_line":1})Tool calls: file_symbols=2 (empty=0), find_issues=2 (empty=0), list_files=9 (empty=0), read_file=113 (empty=0), read_issue=1 (empty=0), read_spec=14 (empty=0), references=7 (empty=0), search_code=75 (empty=9)
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: #4147 (comment), #4147 (comment), #4147 (comment).
23 remaining items
devops-cli-service commentedon Nov 22, 2026
The draft pull request #6723 holds the final title and body. In mode
onofroadmap.fix_checks.mode, the watch row marks it ready when its checks pass, and a fix-checks Job repairs a failed check whose name gives the class test, lint or types. In each other case the watch row stops the item: another failed check, a cancelled check, a conflict, a fix-checks Job that ended with no repair, or another mode.Spend: 228 model requests, 21856234 input tokens, 98660 output tokens.
feat(k8s): render a credential-free ConfigMap for the planner run Job (…
docs(openspec): archive the change (#4147)
feat(k8s): render a credential-free ConfigMap for the planner run Job (…
docs(openspec): archive the change (#4147)
devops-cli-service commentedon Nov 22, 2026
Released in v0.192.0: https://github.com/dan-petty/devops-cli/releases/tag/v0.192.0
devops-cli-service commentedon Nov 22, 2026
Live since 2026-11-22 03:31 UTC