Skip to content

feat(k8s): render a credential-free ConfigMap for the planner run Job #4147

Closed

Description

@devops-cli-service

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 apply has metadata.name devops-cli-config-sandbox and metadata.namespace devops.

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_password and a nested secret key beside non-credential keys
  • THEN the rendered devops-cli.yaml holds 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-sandbox from 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.name is devops-cli-config-sandbox and data holds exactly the key devops-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-found and 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-run for the devops stack
  • THEN the details name devops/devops-cli-config-sandbox and 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.yaml value whose lower-case name matches a word of CONST_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 is is_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 bare key or db_key does not match the shared list; do not add key to it, because it would also match keyring and keys, 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_name and 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 bare key matches non-credential names such as keyring.
    • 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.
  • Where does the command render the new ConfigMap?: In src/devops_cli/k8s/configmap.py, a render_active_devops_sandbox_configmap beside render_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-stack calls it where it already renders devops-cli-config for 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 under k8s/devops/ is no place for it: it holds the homelab's settings and Argo CD does not manage devops-cli-config either (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 devops criterion 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 sibling devops-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.
  • Where does the credential-key filter live?: In src/devops_cli/security/sanitizer.py, a drop_secret_named_keys(data) beside mask_secret_named_values (src/devops_cli/security/sanitizer.py:479): it walks dicts and lists at any depth, drops a dict entry whose key is_secret_parameter_name matches, and returns the rest. k8s/configmap.py calls it on the parsed devops-cli.yaml value, 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.py beside mask_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_values and keep the keys. ADR 0018 control 2 removes the key; a masked value under a credential key still names the setting to the planner.
  • How does the test detect a credential key?: Parse the rendered manifest with yaml.safe_load, parse the data['devops-cli.yaml'] value, walk every key of that value at any depth and fail when is_secret_parameter_name matches, as tests/k8s/test_k8s_configmap.py:134 already 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, and Settings ignores 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.
  • Does an existing tool cover the need?: No. yq can delete keys at any depth with a recursive expression, but it is a second binary and renders and applies no ConfigMap; kustomize configMapGenerator builds 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.
  • 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 of GitHubAppConfig and 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 mounts devops-cli-config at /config with DEVOPS_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

  1. added
    source/agent
    type/feature
    scope/k8s
    status/new
    value/medium
    effort/medium
    on Nov 8, 2026
  2. devops-cli-service commented on Nov 8, 2026

    @devops-cli-service
    ContributorAuthor

    Intake placed this item to the backlog: intake puts every new item in the backlog. A person plans the milestones.

    • Type: type/feature. The feat prefix of the title gives the type.
    • Scope: scope/k8s. The (k8s) scope of the title gives the scope.
    • Priority: P2-Medium. The item is a deferred follow-up that waits on a person or a deploy change, and it blocks no current work.
    • Value: Medium. The credential-free ConfigMap lets the planner run Job start without cluster secrets.
    • Effort: Medium. The work adds a render path to the deploy command and a test for credential keys.
    • Related: feat(k8s): manifest and admission policy for planner sandboxed run job #4003, which asks for a different change. 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.
  3. added
    priority/p2-medium
    status/ready
    and removed
    status/new
    on Nov 8, 2026
  4. devops-cli-service commented on Nov 9, 2026

    @devops-cli-service
    ContributorAuthor

    Status set to Ready at 87e9bd7 (see proposed design in issue body).

  5. devops-cli-service commented on Nov 10, 2026

    @devops-cli-service
    ContributorAuthor

    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)

    • License: MIT
    • Last activity: 2026-11-09
    • Maintained: yes

    Covers:

    • Filters and rewrites YAML with jq-like expressions such as select() on keys, and updates files in place
    • Can drop map entries whose key matches a name pattern, at any depth of the parsed document
    • Works on the same YAML text that the ConfigMap value devops-cli.yaml holds

    Lacks:

    • Renders no Kubernetes ConfigMap: no metadata.name devops-cli-config-sandbox, no namespace, no data key devops-cli.yaml
    • Applies and deletes nothing in the cluster, so the deploy-stack apply, teardown and --dry-run paths stay unwritten
    • Holds no copy of the project's credential-name rule (is_secret_parameter_name / CONST_MCP_SECRET_PARAMETER_WORDS)
    • Adds a second binary to the image and a second render step beside the existing Python renderer
    • Ships no test that walks the rendered ConfigMap keys

    Tools considered:

    Searches run:

    • yq delete keys matching regex recursively at any depth, results: 5
    • tool render Kubernetes ConfigMap from YAML config file removing secret keys, results: 5
    • mikefarah yq recursive descent delete entries whose key matches test, results: 5
    • kustomize configMapGenerator cannot remove keys from ConfigMap, results: 5
    • kustomize, results: 5
    • yq, results: 5
    • configmap sanitizer, results: 5
    • yq recursive delete keys any depth, results: 5
    • yq delete operator, results: 5
    • yq remove all keys recursively matching name with_entries select test, results: 5

    Sources:

    Checked on 2026-11-10. A person decides what this means for the item. The check changes no label and closes no issue.

  6. added
    owner/service
    on Nov 21, 2026
  7. devops-cli-service commented on Nov 21, 2026

    @devops-cli-service
    ContributorAuthor

    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:

    1. Drop secret-named keys at any depth: 39269 tokens
    2. Render the credential-free sandbox ConfigMap: 28913 tokens
    3. Apply, delete and name the sandbox ConfigMap in the devops stack: 34100 tokens
    4. Document the sandbox ConfigMap at deploy time: 26344 tokens

    A model review of the plan found these points. They stop no draft, and a person judges them:

    • minor false_premise at proposal (dependencies): The plan claims feat(roadmap): read project review facts through a catalog #6586 changes the GitHubAppConfig line of settings.py; the pull request's own body says it adds a project-review fact catalog, and the newest commit that touches settings.py is 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 changes src/devops_cli/config/settings.py:1235:model_config = ConfigDict(extra="ignore", validate_assignment=True, hide_input_in_errors=True)"
    • minor false_premise at proposal (feasibility): The plan says the new case reads every recorded payload through the existing reader, but stdin_of returns only the first matching payload, so the second payload can be read only by iterating cluster.calls directly. Evidence: "return next(given or "" for called, given in self.calls if called == cmd)"
    • minor contrived_test at 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"
    • minor verify_form at tasks (4): The docs group edits the Homelab Values table and its prose in k8s/README.md, while devops ci docs only 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.""""
  8. devops-cli-service commented on Nov 21, 2026

    @devops-cli-service
    ContributorAuthor

    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:

    1. read_file({"path":"src/devops_cli/k8s/configmap.py"})
    2. list_files({"directory":"src/devops_cli/k8s"})
    3. read_file({"path":"src/devops_cli/security/sanitizer.py","start_line":430,"end_line":540})
    4. read_file({"path":"src/devops_cli/config/constants.py","start_line":600,"end_line":660})
    5. read_file({"path":"src/devops_cli/commands/k8s/stack_lifecycle.py","start_line":1140,"end_line":1360})
    6. read_file({"end_line":1460,"path":"src/devops_cli/commands/k8s/stack_lifecycle.py","start_line":1300})
    7. search_code({"text":"render_active_devops_configmap"})
    8. search_code({"text":"CONST_K8S_DEVOPS_CONFIGMAP"})
    9. read_file({"end_line":980,"path":"src/devops_cli/commands/k8s/stack_lifecycle.py","start_line":900})
    10. read_file({"end_line":1800,"path":"src/devops_cli/commands/k8s/stack_lifecycle.py","start_line":1690})
    11. search_code({"text":"_render_devops_configmap("})
    12. read_file({"path":"tests/k8s/test_k8s_configmap.py","start_line":1,"end_line":160})
    13. read_spec({"capability":"k8s-planner-run-job"})
    14. read_spec({"capability":"stack-credential-sync"})
    15. read_spec({"capability":"k8s-bootstrap"})
    16. read_spec({"capability":"k8s-planner-run-job","requirement":"The kustomization and deploy-stack hold the new files"})
    17. references({"name":"devops-cli-config-sandbox"})
    18. references({"name":"devops-cli-config"})
    19. read_file({"path":"openspec/specs/k8s-planner-run-job/spec.md","start_line":1,"end_line":40})
    20. read_file({"path":"k8s/devops/roadmap-service/cronjob-planner-run.yaml","start_line":90,"end_line":125})
    21. references({"name":"deploy-stack"})
    22. read_spec({"capability":"k8s-helm-deploy"})
    23. read_spec({"capability":"service-config-route"})
    24. read_spec({"capability":"github-app-identity"})
    25. read_file({"path":"tests/commands/k8s/test_k8s_devops_stack.py"})
    26. search_code({"text":"mask_secret_named_values"})
    27. search_code({"text":"secret_named"})
    28. list_files({"directory":"tests/security"})
    29. read_file({"end_line":1620,"path":"src/devops_cli/commands/k8s/stack_lifecycle.py","start_line":1490})
    30. search_code({"text":"rendered from the active config"})
    31. search_code({"text":"_render_devops_configmap"})
    32. search_code({"text":"config_map"})
    33. read_file({"end_line":2000,"path":"tests/commands/k8s/test_k8s.py","start_line":1860})
    34. search_code({"text":"_APPLY_STDIN"})
    35. search_code({"text":"def stdin_of"})
    36. read_file({"path":"tests/commands/k8s/test_k8s.py","start_line":1470,"end_line":1660})
    37. read_file({"end_line":40,"path":"docs/adr/0018-a-sandboxed-read-only-run-tool-for-the-planner.md","start_line":20})
    38. read_file({"end_line":790,"path":"k8s/README.md","start_line":765})
    39. read_file({"end_line":620,"path":"k8s/README.md","start_line":600})
    40. read_file({"end_line":1135,"path":"k8s/README.md","start_line":1095})
    41. read_file({"path":"docs/CLUSTER.md","start_line":86,"end_line":104})
    42. read_file({"path":"tests/security/test_secret_redaction.py","start_line":1,"end_line":40})
    43. read_file({"path":"src/devops_cli/k8s/configmap.py","start_line":1,"end_line":140})
    44. file_symbols({"path":"src/devops_cli/security/sanitizer.py"})
    45. read_file({"end_line":520,"path":"src/devops_cli/security/sanitizer.py","start_line":468})
    46. read_file({"end_line":210,"path":"src/devops_cli/k8s/configmap.py","start_line":135})
    47. search_code({"text":"_render_devops_configmap"})
    48. search_code({"text":"devops-cli-config-sandbox"})
    49. read_file({"end_line":970,"path":"src/devops_cli/commands/k8s/stack_lifecycle.py","start_line":935})
    50. read_file({"end_line":1230,"path":"src/devops_cli/commands/k8s/stack_lifecycle.py","start_line":1150})
    51. read_file({"end_line":1620,"path":"src/devops_cli/commands/k8s/stack_lifecycle.py","start_line":1450})
    52. search_code({"text":"def _deploy_native_manifests"})
    53. search_code({"text":"def _handle_argo_managed_deployment"})
    54. search_code({"text":"def teardown_stack"})
    55. read_file({"end_line":1340,"path":"src/devops_cli/commands/k8s/stack_lifecycle.py","start_line":1287})
    56. read_file({"end_line":1800,"path":"src/devops_cli/commands/k8s/stack_lifecycle.py","start_line":1720})
    57. search_code({"text":"def _render_deploy_stack_dry_run"})
    58. search_code({"text":"CONST_K8S_DEVOPS_CONFIGMAP"})
    59. read_file({"end_line":1445,"path":"src/devops_cli/commands/k8s/stack_lifecycle.py","start_line":1375})
    60. read_file({"end_line":1720,"path":"src/devops_cli/commands/k8s/stack_lifecycle.py","start_line":1690})
    61. read_file({"end_line":160,"path":"tests/k8s/test_k8s_configmap.py","start_line":1})
    62. search_code({"text":"def test_teardown_stack_devops_deletes_the_config_map"})
    63. read_file({"end_line":2050,"path":"tests/commands/k8s/test_k8s.py","start_line":1940})
    64. search_code({"text":"def test_deploy_stack_dry_run_reports_the_config_map"})
    65. search_code({"text":"test_deploy_stack_on_a_native_cluster"})
    66. search_code({"text":"test_deploy_stack_on_argo_cd_applies_the_config_map"})
    67. read_file({"end_line":1950,"path":"tests/commands/k8s/test_k8s.py","start_line":1880})
    68. read_file({"end_line":1670,"path":"tests/commands/k8s/test_k8s.py","start_line":1615})
    69. search_code({"text":"mask_secret_named_values"})
    70. read_file({"path":"tests/security/test_secret_redaction.py","start_line":1,"end_line":40})
    71. search_code({"text":"Git does not hold the Secrets"})
    72. search_code({"text":"Homelab Values at Deploy Time"})
    73. read_spec({"capability":"k8s-planner-run-job"})
    74. read_file({"end_line":120,"path":"k8s/devops/roadmap-service/cronjob-planner-run.yaml","start_line":95})
    75. search_code({"text":"def stdin_of"})
    76. search_code({"text":"_APPLY_STDIN ="})
    77. read_file({"end_line":1615,"path":"tests/commands/k8s/test_k8s.py","start_line":1490})
    78. references({"name":"render_active_devops_configmap"})
    79. search_code({"text":"drop_secret_named_keys"})
    80. read_file({"path":"src/devops_cli/k8s/__init__.py"})
    81. search_code({"text":"render_active_devops_sandbox_configmap"})
    82. read_file({"end_line":625,"path":"src/devops_cli/config/constants.py","start_line":610})
    83. read_file({"end_line":1210,"path":"src/devops_cli/config/constants.py","start_line":1198})
    84. search_code({"text":"_render_sandbox_configmap"})
    85. search_code({"text":"stdins_of"})
    86. search_code({"text":"render_active_devops_configmap"})
    87. search_code({"text":"CONST_MCP_SECRET_PARAMETER_WORDS"})
    88. read_file({"path":"src/devops_cli/k8s/configmap.py","start_line":40,"end_line":190})
    89. read_file({"path":"src/devops_cli/security/sanitizer.py","start_line":470,"end_line":530})
    90. search_code({"text":"render_active_devops_configmap(product)"})
    91. search_code({"text":"CONST_K8S_DEVOPS_CONFIGMAP"})
    92. file_symbols({"path":"src/devops_cli/commands/k8s/stack_lifecycle.py"})
    93. read_file({"path":"src/devops_cli/commands/k8s/stack_lifecycle.py","start_line":920,"end_line":960})
    94. read_file({"end_line":1330,"path":"src/devops_cli/commands/k8s/stack_lifecycle.py","start_line":1287})
    95. read_file({"end_line":1800,"path":"src/devops_cli/commands/k8s/stack_lifecycle.py","start_line":1700})
    96. search_code({"text":"_render_devops_configmap("})
    97. read_file({"end_line":1444,"path":"src/devops_cli/commands/k8s/stack_lifecycle.py","start_line":1400})
    98. search_code({"text":"devops-cli-config-sandbox"})
    99. read_file({"end_line":150,"path":"tests/k8s/test_k8s_configmap.py","start_line":100})
    100. search_code({"text":"test_deploy_stack_on_a_native_cluster_applies_the_rendered_config_map_and_no_file_of_it"})
    101. search_code({"text":"test_teardown_stack_devops_deletes_the_config_map_deploy_stack_rendered"})
    102. search_code({"text":"test_deploy_stack_dry_run_reports_the_config_map_and_host_overrides_and_runs_nothing"})
    103. search_code({"text":"stdins"})
    104. search_code({"text":"def fake_run_cmd"})
    105. search_code({"text":"class FakeCluster"})
    106. search_code({"text":"input"})
    107. read_file({"end_line":1990,"path":"tests/commands/k8s/test_k8s.py","start_line":1900})
    108. search_code({"text":"def stdin_of"})
    109. search_code({"text":"_APPLY_STDIN"})
    110. read_file({"end_line":1620,"path":"tests/commands/k8s/test_k8s.py","start_line":1500})
    111. read_file({"end_line":25,"path":"src/devops_cli/k8s/__init__.py","start_line":1})
    112. search_code({"text":"Git does not hold the Secrets"})
    113. read_spec({"capability":"k8s-planner-run-job"})
    114. search_code({"text":"_render_devops_configmap"})
    115. read_file({"path":"src/devops_cli/k8s/configmap.py","start_line":40,"end_line":185})
    116. read_file({"path":"src/devops_cli/commands/k8s/stack_lifecycle.py","start_line":930,"end_line":975})
    117. read_file({"path":"src/devops_cli/commands/k8s/stack_lifecycle.py","start_line":1490,"end_line":1560})
    118. search_code({"text":"config_map"})
    119. read_file({"end_line":1800,"path":"src/devops_cli/commands/k8s/stack_lifecycle.py","start_line":1740})
    120. read_file({"end_line":1330,"path":"src/devops_cli/commands/k8s/stack_lifecycle.py","start_line":1280})
    121. read_file({"end_line":1440,"path":"src/devops_cli/commands/k8s/stack_lifecycle.py","start_line":1385})
    122. read_file({"end_line":1735,"path":"src/devops_cli/commands/k8s/stack_lifecycle.py","start_line":1700})
    123. read_file({"end_line":530,"path":"src/devops_cli/security/sanitizer.py","start_line":465})
    124. search_code({"text":"CONST_K8S_DEVOPS_CONFIGMAP"})
    125. read_file({"end_line":640,"path":"src/devops_cli/config/constants.py","start_line":610})
    126. read_file({"path":"src/devops_cli/k8s/__init__.py"})
    127. read_file({"end_line":150,"path":"tests/k8s/test_k8s_configmap.py","start_line":120})
    128. search_code({"text":"devops-cli-config-sandbox"})
    129. read_spec({"capability":"k8s-planner-run-job"})
    130. search_code({"text":"def unknown_setting_keys"})
    131. read_file({"end_line":40,"path":"src/devops_cli/k8s/configmap.py","start_line":1})
    132. read_file({"end_line":80,"path":"src/devops_cli/config/setting_keys.py","start_line":1})
    133. read_spec({"capability":"k8s-planner-run-job","requirement":"The kustomization and deploy-stack hold the new files"})
    134. read_file({"end_line":30,"path":"k8s/devops/configmap.example.yaml","start_line":1})
    135. references({"name":"devops-cli-config"})
    136. read_file({"end_line":180,"path":"tests/gate/k8s_checks/argocd_apps.py","start_line":140})
    137. read_file({"end_line":60,"path":"tests/invariants/test_configmap_rollout_rule.py","start_line":1})
    138. read_file({"end_line":1995,"path":"tests/commands/k8s/test_k8s.py","start_line":1925})
    139. read_file({"end_line":1580,"path":"tests/commands/k8s/test_k8s.py","start_line":1530})
    140. references({"name":"render_active_devops_configmap"})
    141. search_code({"text":"drop_secret_named_keys"})
    142. list_files({"directory":"tests/security"})
    143. read_file({"end_line":55,"path":"tests/k8s/test_k8s_configmap.py","start_line":1})
    144. read_file({"end_line":1135,"path":"k8s/README.md","start_line":1098})
    145. read_file({"end_line":620,"path":"k8s/README.md","start_line":598})
    146. read_file({"end_line":40,"path":"docs/adr/0018-a-sandboxed-read-only-run-tool-for-the-planner.md","start_line":20})
    147. read_file({"end_line":120,"path":"k8s/devops/roadmap-service/cronjob-planner-run.yaml","start_line":100})
    148. read_file({"end_line":80,"path":"k8s/devops/roadmap-service/cronjob-planner-run.yaml","start_line":40})
    149. read_issue({"number":4003})
    150. find_issues({"terms":"devops-cli-config-sandbox"})
    151. find_issues({"terms":"deploy-stack sandbox ConfigMap"})
    152. search_code({"text":"stdins_of"})
    153. search_code({"text":"_APPLY_STDIN ="})
    154. read_file({"path":"src/devops_cli/k8s/configmap.py","start_line":60,"end_line":170})
    155. read_file({"path":"src/devops_cli/security/sanitizer.py","start_line":470,"end_line":520})
    156. read_file({"path":"src/devops_cli/commands/k8s/stack_lifecycle.py","start_line":938,"end_line":955})
    157. read_file({"path":"src/devops_cli/config/constants.py","start_line":612,"end_line":625})
    158. read_file({"end_line":1208,"path":"src/devops_cli/config/constants.py","start_line":1200})
    159. read_file({"end_line":118,"path":"k8s/devops/roadmap-service/cronjob-planner-run.yaml","start_line":105})
    160. read_file({"end_line":145,"path":"tests/k8s/test_k8s_configmap.py","start_line":125})
    161. read_file({"end_line":40,"path":"src/devops_cli/config/setting_keys.py","start_line":20})
    162. read_file({"end_line":75,"path":"k8s/devops/roadmap-service/cronjob-planner-run.yaml","start_line":66})
    163. read_file({"end_line":148,"path":"k8s/devops/roadmap-service/admissionpolicy.yaml","start_line":138})
    164. list_files({"directory":"k8s/devops/roadmap-service"})
    165. list_files({"directory":"k8s/devops"})
    166. read_spec({})
    167. read_spec({"capability":"k8s-planner-run-job"})
    168. read_file({"path":"k8s/devops/roadmap-service/cronjob-planner-run.yaml"})
    169. read_file({"path":"src/devops_cli/k8s/configmap.py","start_line":118,"end_line":180})
    170. read_file({"path":"src/devops_cli/security/sanitizer.py","start_line":465,"end_line":520})
    171. read_file({"path":"src/devops_cli/config/constants.py","start_line":610,"end_line":622})
    172. read_file({"path":"src/devops_cli/config/constants.py","start_line":1195,"end_line":1210})
    173. read_file({"path":"src/devops_cli/k8s/configmap.py","start_line":76,"end_line":100})
    174. read_file({"end_line":960,"path":"src/devops_cli/commands/k8s/stack_lifecycle.py","start_line":930})
    175. read_file({"end_line":1230,"path":"src/devops_cli/commands/k8s/stack_lifecycle.py","start_line":1150})
    176. search_code({"text":"_render_devops_configmap"})
    177. search_code({"text":"CONST_K8S_DEVOPS_CONFIGMAP"})
    178. read_file({"path":"k8s/devops/roadmap-service/admissionpolicy.yaml","start_line":130,"end_line":155})
    179. read_file({"path":"k8s/README.md","start_line":595,"end_line":625})
    180. read_file({"path":"k8s/README.md","start_line":760,"end_line":790})
    181. search_code({"text":"Homelab Values at Deploy Time"})
    182. read_file({"end_line":180,"path":"tests/k8s/test_k8s_configmap.py","start_line":125})
    183. search_code({"text":"test_deploy_stack_on_a_native_cluster_applies_the_rendered_config_map_and_no_file_of_it"})
    184. search_code({"text":"test_teardown_stack_devops_deletes_the_config_map_deploy_stack_rendered"})
    185. search_code({"text":"test_deploy_stack_dry_run_reports_the_config_map_and_host_overrides_and_runs_nothing"})
    186. search_code({"text":"test_deploy_stack_on_argo_cd_applies_the_config_map_and_sets_hosts_from_each_applications_revision"})
    187. read_file({"end_line":1700,"path":"tests/commands/k8s/test_k8s.py","start_line":1595})
    188. read_file({"end_line":2000,"path":"tests/commands/k8s/test_k8s.py","start_line":1925})
    189. search_code({"text":"stdin_of"})
    190. search_code({"text":"stdins_of"})
    191. read_file({"end_line":1595,"path":"tests/commands/k8s/test_k8s.py","start_line":1490})
    192. read_file({"end_line":1340,"path":"src/devops_cli/commands/k8s/stack_lifecycle.py","start_line":1260})
    193. read_file({"end_line":1520,"path":"src/devops_cli/commands/k8s/stack_lifecycle.py","start_line":1480})
    194. read_file({"end_line":1460,"path":"src/devops_cli/commands/k8s/stack_lifecycle.py","start_line":1390})
    195. read_file({"end_line":1620,"path":"src/devops_cli/commands/k8s/stack_lifecycle.py","start_line":1520})
    196. read_file({"end_line":1800,"path":"src/devops_cli/commands/k8s/stack_lifecycle.py","start_line":1700})
    197. search_code({"text":"ci docs"})
    198. search_code({"text":"def docs"})
    199. search_code({"text":"k8s/README.md"})
    200. search_code({"text":"def drop_"})
    201. search_code({"text":"drop_secret"})
    202. search_code({"text":"devops-cli-config-sandbox"})
    203. read_spec({"capability":"k8s-planner-run-job","requirement":"The kustomization and deploy-stack hold the new files"})
    204. read_file({"path":"tests/roadmap/test_roadmap_run_job.py","start_line":60,"end_line":140})
    205. list_files({"directory":"tests/commands/k8s"})
    206. list_files({"directory":"tests/invariants"})
    207. list_files({"directory":"tests/commands"})
    208. list_files({"directory":"tests/fixtures/roadmap_eval/completeness"})
    209. search_code({"text":"render_active_devops_configmap"})
    210. search_code({"text":"render_devops_configmap_content"})
    211. read_file({"path":"tests/fixtures/roadmap_eval/completeness/change-4093-complete/draft.diff","start_line":1,"end_line":60})
    212. references({"name":"render_active_devops_configmap"})
    213. read_file({"end_line":1370,"path":"src/devops_cli/config/settings.py","start_line":1350})
    214. read_file({"end_line":860,"path":"src/devops_cli/config/settings.py","start_line":835})
    215. search_code({"text":"class Settings(BaseModel):"})
    216. search_code({"text":"class AITaskOverride("})
    217. read_file({"end_line":760,"path":"src/devops_cli/config/settings.py","start_line":738})
    218. search_code({"text":"class Settings("})
    219. search_code({"text":"class GitHubAppConfig"})
    220. read_file({"end_line":2475,"path":"src/devops_cli/config/settings.py","start_line":2439})
    221. read_file({"end_line":1260,"path":"src/devops_cli/config/settings.py","start_line":1227})
    222. read_file({"end_line":60,"path":"src/devops_cli/commands/k8s/stack_lifecycle.py","start_line":50})
    223. 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).

  9. 23 remaining items

  10. added
    owner/service
    status/in-progress
    status/in-review
    and removed
    status/planned
    status/in-progress
    on Nov 22, 2026
  11. devops-cli-service commented on Nov 22, 2026

    @devops-cli-service
    ContributorAuthor

    The draft pull request #6723 holds the final title and body. In mode on of roadmap.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.

  12. removed
    owner/service
    on Nov 22, 2026
  13. removed
    status/in-review
    on Nov 22, 2026
  14. devops-cli-service commented on Nov 22, 2026

    @devops-cli-service
    ContributorAuthor

    Live since 2026-11-22 03:31 UTC

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    effort/mediumpriority/p2-mediumscope/k8ssource/agenttype/featurevalue/medium

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions