Skip to content

feat(roadmap): find bot families by fingerprint - #7955

Closed
devops-cli-service[bot] wants to merge 3 commits into
mainfrom
feat/4812-consolidate-shortlists-find-bot-families-by
Closed

devops-cli-service[bot] wants to merge 3 commits into
mainfrom
feat/4812-consolidate-shortlists-find-bot-families-by

Conversation

@devops-cli-service

@devops-cli-service devops-cli-service Bot commented Nov 30, 2026 •

Copy link
Copy Markdown
Contributor

The consolidate shortlists group open items by shared citations, links and embeddings. None of these signals carries a family of items that one bot job filed, and the common-citation cut drops the paths that such a family shares.

The new signal, FINGERPRINT, is a hash of the filer, the title with its numbers and key values masked, and the first key of the body: a rule, an alert, a path or the set of declared hardening surfaces. It is the strongest signal. The common-citation cut and the member cap remove no member of a family. A person-filed item, a tracker, a part of a split and an item with no key get no fingerprint.

Closes #4812

Change: openspec/changes/archive/2026-11-30-4812-consolidate-shortlists-find-bot-families-by/

@devops-cli-service devops-cli-service Bot 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 30, 2026
@devops-cli-service

Copy link
Copy Markdown
Contributor Author

The steps of the job:

Stopped at fix. The stop report is on #4812: #4812 (comment).

  • tools: run_command 62, grep 21, edit_file 14, read_file 12
  • scoped check pre-push: failed, 43 s
  • fail-to-pass of group 1: fails on the base commit. Tests that fail on the base commit: tests.roadmap.test_roadmap_consolidate_shortlist::test_two_bot_items_of_one_rule_share_one_fingerprint, tests.roadmap.test_roadmap_consolidate_shortlist::test_a_person_filed_item_gets_no_fingerprint.
  • fail-to-pass of group 2: fails on the base commit. Tests that fail on the base commit: tests.roadmap.test_roadmap_consolidate_shortlist::test_a_split_part_and_a_tracker_get_no_fingerprint.
  • fail-to-pass of group 3: fails on the base commit. Tests that fail on the base commit: tests.roadmap.test_roadmap_consolidate_shortlist::test_seventeen_hardening_items_share_one_fingerprint_and_survive_the_citation_cut, tests.roadmap.test_roadmap_consolidate_shortlist::test_a_person_filed_item_joins_no_bot_family_on_a_shortlist.
  • fail-to-pass of group 4: fails on the base commit. Tests that fail on the base commit: tests.roadmap.test_roadmap_consolidate_shortlist::test_a_fingerprint_family_stays_above_the_member_cap.
  • comments of the item in the step inputs: feat(roadmap): consolidate shortlists find bot families by fingerprint #4812 (comment), feat(roadmap): consolidate shortlists find bot families by fingerprint #4812 (comment)

devops-cli-service Bot and others added 3 commits December 1, 2026 12:39
Read the alert key from the list line of a code-scanning issue. The heading
that the key pattern read goes to a model only, so no issue body held it.

Mask the longest key value first, in one pass, and let the number mask take
a value of digits only. A rule id inside a path, or a count that equals an
alert number, no longer splits a family.

State the key condition in the requirement, and keep the older scenarios as
they were.
@dan-petty
dan-petty force-pushed the feat/4812-consolidate-shortlists-find-bot-families-by branch from 3e571d8 to 0d76218 Compare December 1, 2026 12:47
@dan-petty dan-petty changed the title feat(roadmap): Find bot families by fingerprint feat(roadmap): find bot families by fingerprint Dec 1, 2026
@dan-petty

Copy link
Copy Markdown
Owner

Review and repair of this pull request (head 0d762186d)

Why the job stopped. The pre-push hook ran out of its 40 s limit on a runner with 1 CPU. The diff did not cause this. #8005 fixed the cause (#8007).

Defects in the diff, now fixed:

  • The key pattern for an alert read the heading ### Code-scanning alert <n>. That heading goes to a model only. No issue body holds it. The pattern now reads the list line - alert <n>: <url> that the alert filer wrote.
  • The title mask replaced one key after the other. A rule id inside a path left a part of the path in the title, and the family split. One pass now takes the longest value first. The number mask takes a value of digits only.
  • The living spec did not give the key condition. It also changed two older scenarios with no need. Both are corrected.
  • The docs called the fingerprint the fourth signal. The fixtures did not have the form of real issues. The plan text in the change folder now agrees with the code.
  • The fingerprint version is consolidate/v1, as the design of the issue gives it.

Checks on this head:

Check Result
2 new tests before the repair failed
devops ci --check --only lint,format,docs,constructs,openspec,test-settings,test-tree,startup-imports,swallowed-failures pass
devops ci test on the 6 consolidate test files and test_roadmap_limit_classes.py 156 passed
mypy src/devops_cli/roadmap/consolidate_shortlist.py pass
Pre-push hooks pass
Check runs on GitHub 34 success, 6 skipped, Trivy neutral

Read-only measurement on real issues (2026-12-01):

Open points for the owner:

@dan-petty

Copy link
Copy Markdown
Owner

Closed by the owner decision of 2026-12-01: #4812 closed as not planned, because the fingerprint finds no family in the open issues. The code is complete and green at commit 0d76218. The branch stays.

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

Development

Successfully merging this pull request may close these issues.

feat(roadmap): consolidate shortlists find bot families by fingerprint

1 participant