Skip to content

docs(openspec): the deployment spec still names Sonnet #4379

Closed

Description

@dan-petty

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).

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

  1. A MODIFIED delta replaces the requirement and its scenarios with the current values.
  2. uv run devops openspec check passes.
  3. 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 analysis and 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.yaml and validated as settings
  • THEN ai.model and each task model except embedding are deepseek-v4.1-flash-1017, and the embedding model is qwen3-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.tasks section of k8s/devops/configmap.example.yaml is read
  • THEN analysis and stage have a context_window of 256000, and stage is 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 analysis task in the template are read
  • THEN they name #4369, the date 2026-11-10, #4204, 67 USD a week, #3874 and Sonnet as 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 check runs 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.py runs
  • 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-1017 for ai.model and for every chat task except embedding. It names qwen3-embedding:0.6b for embedding. The analysis and stage windows are 256000. [sources: k8s/devops/configmap.example.yaml, tests/config/test_k8s_devops_runtime.py]
  • Does the template give stage its own entry in ai.tasks?: Yes. The template has an explicit stage key under ai.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 analysis task?: The test pins #4369, 2026-11-10, #4204, 67 USD a week, #3874 and Sonnet. [sources: tests/config/test_k8s_devops_runtime.py, k8s/devops/configmap.example.yaml]
  • Should the updated spec keep a scenario for the analysis comment?: 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 analysis and stage. 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.py holds test_every_chat_slot_is_deepseek_and_the_stage_slot_is_set_in_the_template and test_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 archive writes 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

  1. added
    source/agent
    type/docs
    scope/openspec
    status/new
    value/medium
    effort/low
    on Nov 10, 2026
  2. dan-petty commented on Nov 10, 2026

    @dan-petty
    OwnerAuthor

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

    • Type: type/docs. The docs prefix of the title gives the type.
    • Scope: scope/openspec. The (openspec) scope of the title gives the scope.
    • Priority: P3-Low. A stale spec document misleads readers but blocks no build, deploy, or runtime path.
    • Value: Medium. Keeping the spec accurate prevents future developers from acting on wrong model and window values.
    • Effort: Low. The body states it is an edit of one spec file through an OpenSpec change with no tool work.
    • Related: fix(k8s): the ConfigMap template names DeepSeek for analysis #4369, which asks for a different change. 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.
  3. added
    priority/p3-low
    on Nov 10, 2026
  4. added
    status/ready
    and removed
    status/new
    on Nov 11, 2026
  5. devops-cli-service commented on Nov 11, 2026

    @devops-cli-service
    Contributor

    Status set to Ready at 6a09588 (see proposed design in issue body).

  6. devops-cli-service commented on Nov 11, 2026

    @devops-cli-service
    Contributor

    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.

  7. added
    status/in-progress
    and removed
    status/ready
    on Nov 14, 2026
  8. added
    status/in-review
    and removed
    status/in-progress
    on Nov 14, 2026
  9. removed
    status/in-review
    on Nov 14, 2026
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/lowpriority/p3-lowscope/openspecsource/agenttype/docsvalue/medium

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions