Skip to content

fix(k8s): set the verification window in the example ConfigMap #3911

Closed

Description

@dan-petty

Problem

The example ConfigMap (k8s/devops/configmap.example.yaml) sets no context_window for the task verification. The task verification has no parent task, so it takes the default window of 32,768 tokens. The verification pass is an agent run with the same read tools as the planner. The hook ends its tools at three quarters of the window, which is 24,576 tokens. A plan whose review needs many tool calls ends its tools early. This is the same cause as #3880, for the review run.

#3880 sets the window of the task analysis to 256000 and fails a starved plan run. It does not change the task verification, because the pull request of #3874 edits the lines of that task in the same file.

Expected

The example ConfigMap sets ai.tasks.verification.context_window to a value that fits the model of the task and the review run, with a comment that gives the reason. A test fails when the window of the task verification in the example ConfigMap is below the least window that a review run needs.

Acceptance criteria

  • The example ConfigMap sets ai.tasks.verification.context_window to a value that fits the model of the task (256000 for deepseek-v4.1-flash-1017), with a comment that gives the reason.
  • A test fails when the verification window of the example ConfigMap is below the least window of a review run.
  • The decision on a failed review run whose window ends its tools too soon is recorded: it fails the item, or it is advice.

Existing tool considered

The change uses the settings and the hook that exist. No new library is needed.

Related

#3880 (the planner window; this issue holds its criterion for the task verification), #3874 (it changes the model of the task verification in the same file).

Activity

  1. added
    source/agent
    type/bug
    scope/k8s
    status/new
    value/medium
    effort/low
    on Nov 7, 2026
  2. dan-petty commented on Nov 7, 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/bug. The fix prefix of the title gives the type.
    • Scope: scope/k8s. The (k8s) scope of the title gives the scope.
    • Priority: P2-Medium. The example ConfigMap misleads users into a window that starves the verification agent, but the live deployment is handled separately by #3903.
    • Value: Medium. Correcting the example prevents users from copying a broken window value and hitting the same tool-starvation failure.
    • Effort: Low. The change sets one YAML value, adds a comment, and writes one assertion test.
    • Related: fix(roadmap): the stage job fails when the window starves the planner #3880, which asks for a different change. Both items edit the same example ConfigMap for context window values, but #3880 targets the analysis task while the candidate targets the verification task.
  3. added
    priority/p2-medium
    on Nov 7, 2026
  4. added
    owner/agent
    status/in-progress
    and removed
    status/new
    on Nov 7, 2026
  5. added a commit that references this issue on Nov 7, 2026
    8436734
  6. removed
    status/in-progress
    owner/agent
    on Nov 7, 2026
  7. devops-cli-service commented on Nov 7, 2026

    @devops-cli-service
    Contributor

    Live since 2026-11-07 15:32 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/lowpriority/p2-mediumscope/k8ssource/agenttype/bugvalue/medium

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions