Skip to content

feat(k8s): increase roadmap-service analysis context window to 64k #1271

Closed

Description

@dan-petty

Increase analysis task context window for roadmap-service in devops-cli-config from 16k (16384) to 64k (65536) to enable comprehensive context collection across ADRs, cited code, and repository outlines during issue refinement.

Activity

  1. added this to the v0.2.28 milestone on Oct 7, 2026
  2. added
    type/feature
    scope/k8s
    priority/p1-high
    on Oct 7, 2026
  3. removed this from the v0.2.28 milestone on Oct 7, 2026
  4. dan-petty-bot commented on Oct 7, 2026

    @dan-petty-bot
    Collaborator

    Intake placed this item to the backlog: only a critical fix joins the current release at intake; a release start pulls Ready items in, P0 features first.

    • Priority: P2-Medium. It improves analysis quality but does not fix a broken flow or address a security gap, so it is a meaningful enhancement rather than urgent.
    • Value: Medium. Larger context lets the service gather more ADRs and code references in one pass, improving refinement quality for users who rely on it.
    • Effort: Low. The change is a single numeric update (16384 → 65536) in the devops-cli-config ConfigMap, with no code or schema changes implied.
  5. dan-petty-bot commented on Oct 7, 2026

    @dan-petty-bot
    Collaborator

    What changed

    #1272, merged into release/v0.2.28 as dd194ae.

    Description

    Increases the in-cluster roadmap-service analysis task context window in k8s/devops/configmap.example.yaml (devops-cli-config) from 16k (16384) to 64k (65536) tokens.

    This provides sufficient token budget for devops roadmap refine to collect documentation, architecture decision records (docs/adr/*.md), cited code, and repository directory structures during automated candidate refinement without prematurely truncating essential architectural context.

    6 file(s) changed.

    How it was verified

    Check runs at 7813557:

    • Prune PR DevContainer Images: pass
    • CodeQL: pass
    • Static Analysis: pass
    • Analyze (actions): pass
    • Tests & Coverage: pass
    • Analyze (python): pass
    • DevContainer Image: skipping
    • Service Image: skipping
    • Dependency Freshness: skipping

    Acceptance Criteria of docs/agent/tasks/task-1271-increase-roadmap-service-analysis-context-window-to-64k.md:

    • k8s/devops/configmap.example.yaml specifies ai.tasks.analysis.context_window: 65536.
    • SAMPLE_TEMPLATE in tests/test_k8s_configmap.py reflects context_window: 65536 under analysis.
    • tests/test_k8s_devops_runtime.py asserts that settings.ai.tasks.analysis.context_window == 65536.
    • tests/test_k8s_roadmap_service.py asserts that settings.ai.tasks.analysis.context_window == 65536.
    • All test suites pass with 100% green status.
    • changelog.d/1271.md changelog fragment is created.
    • devops pr check-readiness passes for the PR.
    • Pending a person: live rollout verification:
      • kubectl apply -f k8s/devops/configmap.yaml && kubectl -n devops rollout restart deploy/roadmap-service
      • kubectl -n devops rollout status deploy/roadmap-service --timeout=120s succeeds.
      • kubectl -n devops exec deploy/roadmap-service -- cat /config/devops-cli.yaml shows context_window: 65536.
  6. added a commit that references this issue on Oct 7, 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

    priority/p1-highscope/k8stype/feature

    Type

    No type

    Projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions