Repository navigation
Description
Problem
The live ConfigMap devops/devops-cli-config sets ai.tasks.analysis to deepseek-v4.1-flash-1017 with context_window 256000. The template k8s/devops/configmap.example.yaml still sets claude-sonnet-5-5 with context_window 200000. render_active_devops_configmap renders from the template, so the next render puts the Sonnet trial back.
The owner decision of 2026-11-10 is: move analysis back to DeepSeek and try Sonnet later. In the analysis slot, Sonnet costs about 67 USD a week. The live ConfigMap also has an explicit ai.tasks.stage entry (DeepSeek, 256000) that the template does not have.
The repository text that names the Sonnet trial also needs a change: k8s/README.md (Roadmap service, item 19), docs/roadmap/stage.md, and the tests that pin the Sonnet value in the template.
Expected
The template names DeepSeek in the analysis slot with a short comment, names the stage slot as the live ConfigMap does, and the documents and tests agree. A render of the template gives the settings that the live ConfigMap has for the ai.tasks keys.
Acceptance criteria
uv run pytest tests/k8s/test_k8s_configmap.py tests/config/test_k8s_devops_runtime.py tests/roadmap/stage/test_roadmap_stage_window.pypasses, and the tests assertdeepseek-v4.1-flash-1017and 256000 foranalysisandstage.grep -n "claude-sonnet-5-5" k8s/devops/configmap.example.yamlprints only theroadmap.implement.ladderlines, which this issue does not change.- The differences between the live ConfigMap and the template that this issue does not change are listed in the pull request comment.
Existing tool considered
No tool is needed: this is an edit of one template and the text that cites it.
Proposed design
Problem statement
The template k8s/devops/configmap.example.yaml names claude-sonnet-5-5 with a 200,000-token window in the analysis slot. The live ConfigMap devops/devops-cli-config names deepseek-v4.1-flash-1017 with 256,000, and it holds an explicit stage slot that the template does not have. render_active_devops_configmap renders from the template, so the next deploy puts the Sonnet trial back. This change makes the template agree with the live ConfigMap for the ai.tasks keys, and it changes the documents and the tests that cite the trial.
Acceptance criteria
Requirement: The analysis slot names DeepSeek
The template k8s/devops/configmap.example.yaml SHALL name deepseek-v4.1-flash-1017 with context_window 256000 in the key ai.tasks.analysis.
Scenario: Render of the analysis slot
- WHEN a render of the template runs through
render_active_devops_configmap - THEN
Settings.ai.for_task('analysis')gives modeldeepseek-v4.1-flash-1017and context_window 256000
Requirement: The stage slot is explicit
The template SHALL hold the key ai.tasks.stage with model deepseek-v4.1-flash-1017 and context_window 256000.
Scenario: Read of the stage entry
- WHEN a test reads the key
ai.tasksof the template and renders it - THEN the key
stageexists, andai.for_task('stage')gives modeldeepseek-v4.1-flash-1017and context_window 256000
Requirement: The template names Sonnet only in the ladder
The template SHALL name claude-sonnet-5-5 only in the lines of roadmap.implement.ladder.
Scenario: Search of the template for Sonnet
- WHEN
grep -n "claude-sonnet-5-5" k8s/devops/configmap.example.yamlruns - THEN every printed line holds
ladder
Requirement: The stage page states the new window
docs/roadmap/stage.md SHALL state the context_window of ai.tasks.analysis and the max_input_tokens of its model, with the path of each file.
Scenario: Read of the stage page
- WHEN
test_the_documented_window_of_analysis_and_its_source_are_the_files_valuesruns - THEN the page holds the two numbers that the template and
k8s/llm/gateway/config.yamlgive, with both paths, and the test passes
Requirement: The README names the DeepSeek slots
Item 19 of k8s/README.md SHALL name deepseek-v4.1-flash-1017 with context_window 256,000 for the slots analysis and stage.
Scenario: Search of the README for the Sonnet trial
- WHEN a search of
k8s/README.mdforclaude-sonnet-5-5runs - THEN no match states that
claude-sonnet-5-5serves the slotanalysis, and item 19 names the DeepSeek model with 256,000 foranalysisandstage
Requirement: The tests pin the DeepSeek slots
The tests SHALL assert deepseek-v4.1-flash-1017 and 256000 for the slots analysis and stage.
Scenario: Run of the three test modules
- WHEN
uv run pytest tests/k8s/test_k8s_configmap.py tests/config/test_k8s_devops_runtime.py tests/roadmap/stage/test_roadmap_stage_window.pyruns - THEN every test passes, and the chat-slot test expects no slot but
embeddingto name another model
Existing Tool Considered
No alternatives check has run on this issue. No open tool or library covers the need, because the change edits one ConfigMap template and the text that cites it. The change builds no code, so the written cost of building it is zero tokens and zero elapsed time.
Key questions
- Which model and context window does the
analysisslot of the template name?: The template namesdeepseek-v4.1-flash-1017withcontext_window256000, by the owner decision of 2026-11-10. (best practice) [sources: k8s/devops/configmap.example.yaml, k8s/README.md, docs/roadmap/stage.md]- Rejected: Keep
claude-sonnet-5-5with 200000. The analysis slot costs about 67 USD a week on Sonnet, and the owner decision of 2026-11-10 moves analysis back to DeepSeek. - Chosen: Name
deepseek-v4.1-flash-1017with 256000. This is the value of the live ConfigMap, and 256,000 tokens is the smallest window that an fp8 provider of the DeepSeek group offers.
- Rejected: Keep
- Does the template name
ai.tasks.stageas an explicit entry?: Yes. The template addsai.tasks.stagewithdeepseek-v4.1-flash-1017andcontext_window256000, as the live ConfigMap has it. (best practice) [sources: docs/roadmap/stage.md, k8s/devops/configmap.example.yaml]- Rejected: Let
stagetake its fields fromanalysis. A later change ofanalysisthen moves the window of the stage job, and the live ConfigMap already sets the entry. - Chosen: Write an explicit
stageentry. The stage job keeps its window whenanalysischanges, and the template matches the live ConfigMap.
- Rejected: Let
- Which files name the Sonnet trial and change with this issue?:
k8s/devops/configmap.example.yaml,k8s/README.mditem 19,docs/roadmap/stage.md,tests/k8s/test_k8s_configmap.py,tests/config/test_k8s_devops_runtime.pyandtests/roadmap/stage/test_roadmap_stage_window.py. [sources: k8s/devops/configmap.example.yaml, k8s/README.md, docs/roadmap/stage.md, tests/k8s/test_k8s_configmap.py, tests/config/test_k8s_devops_runtime.py, tests/roadmap/stage/test_roadmap_stage_window.py] - Does a window of 256,000 tokens leave the plan run enough room for its tools?: Yes. At 65,536 tokens the tools ended after 4 to 6 calls, and the model wrote a placeholder. At 262,144 tokens a run made 40 calls and staged the item. 256,000 is above the minimum of 8 tool calls. [sources: docs/roadmap/stage.md, tests/roadmap/stage/test_roadmap_stage_window.py]
- Which
max_input_tokensdoes the gateway config give the model ofanalysisafter the change?: The DeepSeek group allows 1,048,576 input tokens, so the test constant and the stage page state that number. [sources: k8s/llm/gateway/config.yaml, k8s/README.md] - Which lines of the template still name
claude-sonnet-5-5after the change?: Only theroadmap.implement.ladderlines foreditandrepair. This issue changes neither. [sources: k8s/devops/configmap.example.yaml] - Does the render need a code change?: No.
render_active_devops_configmaprenders the template as it is, so the template edit reaches the ConfigMap. [sources: src/devops_cli/k8s/configmap.py, tests/k8s/test_k8s_configmap.py]
Fit
Fits in one pull request.
Suspected block
None.
Dependencies
None.
Activity
dan-petty commentedon Nov 10, 2026
Intake placed this item to the backlog: intake puts every new item in the backlog. A person plans the milestones.
fixprefix of the title gives the type.(k8s)scope of the title gives the scope.The next render reverts to the wrong model and costs 67 USD per week, but nothing is broken today.Prevents an unwanted model swap on the next deploy and aligns the template with the owner decision.Edit one template file, two docs, and a few test assertions; no new tool or service is needed.Both edit the analysis slot in k8s/devops/configmap.example.yaml, but 4208 set Sonnet and this candidate sets DeepSeek.devops-cli-service commentedon Nov 10, 2026
Status set to Ready at 120ae85 (see proposed design in issue body).
Moved to new items: #4375.
devops-cli-service commentedon Nov 10, 2026
Released in v0.107.2: https://github.com/dan-petty/devops-cli/releases/tag/v0.107.2
devops-cli-service commentedon Nov 10, 2026
Live since 2026-11-10 14:35 UTC
docs(openspec): state the deepseek chat slots in the deployment spec (#…