Skip to content

Fix numeric task references in overlap search - #3002

Merged
Mister-Meeseeks merged 1 commit into
CrocSwap:mainfrom
petalas:research/overlap-task-references
Oct 16, 2026
Merged

Mister-Meeseeks merged 1 commit into
CrocSwap:mainfrom
petalas:research/overlap-task-references

Conversation

@petalas

@petalas petalas commented Oct 16, 2026 •

Copy link
Copy Markdown
Contributor

Summary

Numeric task-card references previously matched digits inside unrelated kappa values and commit hashes. Those hits could hide a genuine successor below the result limit.

 --task supplier-boundary-audit, card term 2977
- match 0.00129771234 and a2977b
+ match #2977, PR2977 and /pull/2977

Explicit positional queries remain literal and override card matching for the same number. Leading-zero word terms such as 01021323 stay literal. Reports expose reference_terms, and scoring/excerpts use the actual reference occurrence.

This is a scoped coordination-tool repair on canonical main 836b19bfa309ceafbc8ee32a15e8c4b10dde7e11, priority revision 6. Evidence, task-selection delta, commands and limitations. Canonical claim.

Evidence

  • Before: the public CLI fixture returned 22 matches, with 21 decimal/hash hits hiding the genuine PR2977 successor below the default limit. The new tests reproduced the failure on the base script.
  • After: that fixture returns only the genuine successor. The same dated live/local corpus reduced numeric-reference hits from 23 to six, removing 17 numeric/hash fragments. That cache observation is not a frozen remote-corpus certificate.
  • Python 3.12 warnings-as-errors workflow suite: 164 tests, 18 existing skips. All 25 focused overlap tests pass under optimized Python. Ruff 0.14.1 correctness checks, whitespace checks and selected source-binding orientation pass. A separate read-only review found no blocking issue and caught the leading-zero witness distinction before publication.

Credit Douglas Colkitt for the overlap helper and coordination workflow. The scope refinement followed the existing PR2977/Arham Tahir PR2992 handoff; no predecessor mathematical result is claimed here. Substantial AI assistance was used for implementation, verification and documentation. No independent human review is claimed.

Merge Danger

Door: two-way. Reverting restores the previous query behavior.

Blast Radius: coordination. Only automatically added canonical positive integer overlap terms change matching. Text terms, explicit literal queries, cached coverage, path search and source fetching keep their contracts. Identifier matching remains a syntactic lead filter; broad terms can still fill the result limit. No supplier admission, selected-frontier change or scientific replay is claimed.

@Mister-Meeseeks
Mister-Meeseeks merged commit 3051cf1 into CrocSwap:main Oct 16, 2026
1 check passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants