Skip to content

perf(roadmap): consolidate keeps its vectors in the shared tiers #4665

Closed

Description

@dan-petty

Problem or Motivation

consolidate keeps a second local embedding store, embeddings.json (src/devops_cli/roadmap/consolidate_shortlist.py:225-247; 312 vectors and 4.3 MB on 2026-11-10). It is beside the disk tier of #4546 (3,785 vectors, 33.8 MB) and valkey-devops (2,525 keys). The owner rule says: do not add a second store for the same data.

Proposed Solution & Architectural Design

  • consolidate embeds through EmbeddingsEngine with embedding_disk_cache(), as intake does.
  • Delete the embeddings.json code and its constant CONST_ROADMAP_CONSOLIDATE_EMBEDDINGS_FILE (src/devops_cli/config/constants.py:3681).
  • The Valkey key fix stays in fix(ai): Valkey embedding key ignores the request model #4569.

Target Subsystem

Workstation Caching & Valkey (src/devops_cli/roadmap/consolidate_shortlist.py).

Existing Tool Considered

The EmbeddingsEngine seam and the disk tier of #4546. No new tool. Cost: about 40,000 tokens and 1 hour to build.

Acceptance Criteria

  • git grep finds no code that reads or writes embeddings.json.
  • A test: a second consolidate run on the same items makes 0 embedding model calls.
  • devops_cli_embedding_cache_lookups_total shows disk or Valkey hits for a consolidate run.

Dependencies

None. Related: #4569. Part of the project brain plan #4624.

Source: #4624

Activity

  1. added
    source/agent
    on Nov 11, 2026
  2. added
    type/infra
    scope/roadmap
    status/new
    value/medium
    effort/low
    on Nov 11, 2026
  3. dan-petty commented on Nov 11, 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/infra. The perf prefix of the title gives the type.
    • Scope: scope/roadmap. The (roadmap) scope of the title gives the scope.
    • Priority: P2-Medium. It saves embedding calls and removes 4.3 MB of redundant storage, but the system works without it.
    • Value: Medium. It eliminates a second vector store and avoids duplicate embedding model calls for consolidate runs.
    • Effort: Low. The candidate estimates about 1 hour: delete one file constant, one code block, and point consolidate at the existing engine.
    • Related: fix(ai): Valkey embedding key ignores the request model #4569, which asks for a different change. Both touch the Valkey embedding tier, but #4569 fixes the key format while this item removes a redundant local store from consolidate.
  4. added
    priority/p2-medium
    owner/agent
    status/in-progress
    status/in-review
    and removed
    status/new
    status/in-progress
    on Nov 11, 2026
  5. removed
    status/in-review
    owner/agent
    on Nov 12, 2026
  6. devops-cli-service commented on Nov 12, 2026

    @devops-cli-service
    Contributor

    Live since 2026-11-12 15:46 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/roadmapsource/agenttype/infravalue/medium

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions