Repository navigation
Description
Problem
The requirement "Every chat model slot of the Service names one model except analysis" in openspec/specs/roadmap-service-deployment/spec.md is stale (read on 2026-11-10 at origin/main 5435eae).
- It says the template SHALL name
claude-sonnet-5-5withcontext_window200000 for the taskanalysis. - Two scenarios of it name the Sonnet model for
analysisandstage, and the window 200000 ("The window of analysis is the window of the trial"). - The template now names
deepseek-v4.1-flash-1017withcontext_window256000 foranalysisand forstage(fix(k8s): the ConfigMap template names DeepSeek for analysis #4369, owner decision of 2026-11-10). The change of fix(k8s): the ConfigMap template names DeepSeek for analysis #4369 hadskip_specs: true, so no delta updated the spec.
Expected
The requirement and its scenarios state what the template holds: DeepSeek for every chat slot except the embedding slot, a window of 256000 for analysis and stage, and an explicit stage entry. A scenario for a later Sonnet trial may stay as a comment requirement only.
Acceptance criteria
- A MODIFIED delta replaces the requirement and its scenarios with the current values.
uv run devops openspec checkpasses.- The tests that pin the slots (
tests/config/test_k8s_devops_runtime.py) match the scenarios.
Existing tool considered
No tool is needed: this is an edit of one spec through an OpenSpec change.
Proposed design
Problem statement
The deployment spec still requires Sonnet for the analysis and stage slots. The template now uses DeepSeek for every chat slot except embedding, with a 256000 window for analysis and stage. The stale spec misleads readers and disagrees with the tests. The change updates the spec through one OpenSpec MODIFIED delta.
Acceptance criteria
Requirement: Replace the stale requirement
The OpenSpec change SHALL replace the stale chat-slot requirement and its scenarios with a MODIFIED delta that states the current template values.
Scenario: The delta is read
- WHEN The MODIFIED delta in the change folder is read
- THEN it names the requirement
Every chat model slot of the Service names one model except analysisand gives the current DeepSeek values.
Requirement: State the DeepSeek chat slots
The updated requirement SHALL name deepseek-v4.1-flash-1017 for ai.model and for each chat task except embedding, and SHALL name qwen3-embedding:0.6b for embedding.
Scenario: The rendered template is read
- WHEN The ConfigMap is rendered from
k8s/devops/configmap.example.yamland validated as settings - THEN
ai.modeland each task model exceptembeddingaredeepseek-v4.1-flash-1017, and theembeddingmodel isqwen3-embedding:0.6b.
Requirement: State the 256000 windows and the stage entry
The updated requirement SHALL set context_window to 256000 for analysis and stage, and SHALL give stage its own entry in ai.tasks.
Scenario: The template tasks are read
- WHEN The
ai.taskssection ofk8s/devops/configmap.example.yamlis read - THEN
analysisandstagehave acontext_windowof 256000, andstageis an explicit key.
Requirement: Keep Sonnet only as a comment
The updated spec SHALL NOT require claude-sonnet-5-5 for any chat slot, and SHALL mention Sonnet only in the scenario that reads the analysis comment.
Scenario: The comment is read
- WHEN The comment lines above the
analysistask in the template are read - THEN they name
#4369, the date2026-11-10,#4204,67 USD a week,#3874andSonnetas a later trial.
Requirement: OpenSpec check passes
The change SHALL pass uv run devops openspec check.
Scenario: The check runs
- WHEN
uv run devops openspec checkruns in the repository - THEN the command exits with status 0.
Requirement: The slot tests match the spec
The tests in tests/config/test_k8s_devops_runtime.py SHALL match the updated scenarios for every chat slot and the analysis comment.
Scenario: The focused tests run
- WHEN
uv run pytest tests/config/test_k8s_devops_runtime.pyruns - THEN the tests pass and assert the DeepSeek model, the 256000 windows and the comment values.
Existing Tool Considered
No alternatives check has run. No open, maintained tool or library covers this need: the work is one MODIFIED delta in an OpenSpec change. It builds no code, so the build cost is none.
Key questions
- Which model and window does the template name for each chat slot?: The template names
deepseek-v4.1-flash-1017forai.modeland for every chat task exceptembedding. It namesqwen3-embedding:0.6bforembedding. Theanalysisandstagewindows are 256000. [sources: k8s/devops/configmap.example.yaml, tests/config/test_k8s_devops_runtime.py] - Does the template give
stageits own entry inai.tasks?: Yes. The template has an explicitstagekey underai.tasks, and the test asserts it. [sources: k8s/devops/configmap.example.yaml, tests/config/test_k8s_devops_runtime.py] - What comment values does the test pin above the
analysistask?: The test pins#4369,2026-11-10,#4204,67 USD a week,#3874andSonnet. [sources: tests/config/test_k8s_devops_runtime.py, k8s/devops/configmap.example.yaml] - Should the updated spec keep a scenario for the
analysiscomment?: Keep the scenario and update it to the current comment values. The test pins the comment, so the spec should state it. (best practice) [sources: tests/config/test_k8s_devops_runtime.py, k8s/devops/configmap.example.yaml]- Chosen: Keep and update the comment scenario. The test pins the comment values, so the spec and the test stay aligned.
- Rejected: Remove the comment scenario. The test still pins the comment, so the spec would not describe it.
- Rejected: Keep the old Sonnet trial values. The template changed on 2026-11-10 and the old values are stale.
- Should the updated spec keep any Sonnet model requirement?: Keep Sonnet only as a later-trial mention in the comment. Do not require a Sonnet model for any slot. (best practice) [sources: k8s/devops/configmap.example.yaml, tests/config/test_k8s_devops_runtime.py]
- Chosen: Mention Sonnet only in the comment. The template uses DeepSeek now, and the comment names Sonnet as a later trial.
- Rejected: Keep Sonnet for
analysisandstage. The template moved both slots to DeepSeek on 2026-11-10. - Rejected: Remove every Sonnet mention. The comment and the test still mention Sonnet as a later trial.
- Which tests pin the chat slots?:
tests/config/test_k8s_devops_runtime.pyholdstest_every_chat_slot_is_deepseek_and_the_stage_slot_is_set_in_the_templateandtest_the_comment_above_the_analysis_slot_names_the_decision_the_cost_and_the_trial. [sources: tests/config/test_k8s_devops_runtime.py] - Does the change use a MODIFIED delta?: Yes. The change uses a MODIFIED delta, because
openspec archivewrites the spec from the deltas of the change. [sources: CONTEXT.md, openspec/specs/roadmap-service-deployment/spec.md]
Fit
Fits in one pull request.
Suspected block
None.
Dependencies
None.
Alternatives check of 2026-11-11: not-applicable.
Class: docs, no search.
Tool: none found.
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.
docsprefix of the title gives the type.(openspec)scope of the title gives the scope.A stale spec document misleads readers but blocks no build, deploy, or runtime path.Keeping the spec accurate prevents future developers from acting on wrong model and window values.The body states it is an edit of one spec file through an OpenSpec change with no tool work.Both concern the analysis slot model, but #4369 changed the ConfigMap template while the candidate updates the OpenSpec document that #4369 skipped via skip_specs.devops-cli-service commentedon Nov 11, 2026
Status set to Ready at 6a09588 (see proposed design in issue body).
devops-cli-service commentedon Nov 11, 2026
Alternatives check: not-applicable
Class: docs. The check makes no search and no model call for an item of this class.
Tool: none found
Checked on 2026-11-11. A person decides what this means for the item. The check changes no label and closes no issue.
docs(openspec): split the deployment chat-slot requirement (#4379)