Skip to content

feat(roadmap): build the shared shortlist of the consolidation job - #3777

Merged
dan-petty merged 6 commits into
mainfrom
feat/1127-consolidate-shortlist
Nov 6, 2026
Merged

dan-petty merged 6 commits into
mainfrom
feat/1127-consolidate-shortlist

Conversation

@dan-petty

Copy link
Copy Markdown
Owner

The consolidation job needs one shortlist of related items before it asks a model. One nearest-item function now ranks items by embedding, and intake calls it. For each open item, the shortlist joins tool evidence: shared path and identifier citations, existing links (blocked-by, sub-issue, parent, and the link lines of the body), and the nearest items by embedding. Each member keeps its evidence. The store reads blocked-by links. Embeddings are cached per item by the hash of the text of a person. An item is in one group at most, and the stronger evidence wins. The command, the plan, apply, the MCP mirror and the live check stay in #3740, #3743, #3745 and #3635.

Closes #1127

Change: openspec/changes/archive/2026-11-06-1127-consolidate-shortlist/

@dan-petty dan-petty added type/feature Type feature: a new function scope/roadmap The roadmap jobs: intake, refine, stage, implement and the Service that runs them labels Nov 6, 2026
@dan-petty

Copy link
Copy Markdown
Owner Author

Test results (head before archive, rebased on origin/main):

  • Full devops ci under the lock: 25 checks pass (lint, format, mypy, bandit, docs, openspec, test tree, and others). Pytest: 19628 passed, 2 failed, 1 error. The failures are known host failures that also fail on origin/main: tests/commands/test_devcontainer_install_tools_dry_run.py::test_mark_only_commands_under_global_dry_run and tests/ai/test_tool_executor_contract.py (fix(ci): host state fails four tests and one case #3585). The coverage row fails only because the test row fails.
  • tests/roadmap/test_roadmap_consolidate_shortlist.py: 28 passed. tests/roadmap/test_roadmap_limit_classes.py: 17 passed.
  • This is a feature, so there is no fail-to-pass run. The new tests were written first.

Review findings (all three were correct, fixed in 6c4f38c):

  1. Citations and relation lines read the refine section and the alternatives block, which a job wrote. Now only the text of a person is read (_citations and _body_links).
  2. An embedding evidence did not hold its rank. Evidence.rank is now a field.
  3. The spec and the proposal named the wrong label for the split line. Both now say "Split from".

Scope: this pull request delivers part 1 of #1127. The other criteria moved to #3740 (command and plan), #3743 (--apply), #3745 (MCP mirror and weekly row) and #3635 (live dry run). The body of #1127 lists them.

@dan-petty
dan-petty marked this pull request as ready for review November 6, 2026 08:05
@dan-petty
dan-petty merged commit 3c3bbb7 into main Nov 6, 2026
24 checks passed
@dan-petty
dan-petty deleted the feat/1127-consolidate-shortlist branch November 6, 2026 08:09
dan-petty pushed a commit that referenced this pull request Nov 6, 2026
🤖 I have created a release *beep* *boop*
---


##
[0.68.0](v0.67.2...v0.68.0)
(2026-11-06)


### Features

* **roadmap:** build the shared shortlist of the consolidation job
([#3777](#3777))
([3c3bbb7](3c3bbb7))

---
This PR was generated with [Release
Please](https://github.com/googleapis/release-please). See
[documentation](https://github.com/googleapis/release-please#release-please).

Co-authored-by: dan-petty-release[bot] <346998822+dan-petty-release[bot]@users.noreply.github.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

scope/roadmap The roadmap jobs: intake, refine, stage, implement and the Service that runs them type/feature Type feature: a new function

Projects

None yet

1 participant