Skip to content

recall: rank lessons about deleted code below live ones - #70

Merged
vu1n merged 2 commits into
mainfrom
claude/project-thread-2el781
Oct 31, 2026
Merged

vu1n merged 2 commits into
mainfrom
claude/project-thread-2el781

Conversation

@vu1n

@vu1n vu1n commented Oct 31, 2026

Copy link
Copy Markdown
Owner

Requested by Vu · project thread

A claim whose every code anchor is unresolved was flagged stale but kept its rank. MemoryStore.ground() now sorts stale claims after live ones (stable). Pointer hits keep their place, because the query named that anchor. Local only; the Worker has no checkout and doesn't ground.

Contract touched: ClaimStore.ground(claims, pinned=frozenset()).

Verification: new test_stale_claims_rank_after_live_ones_unless_named on all three adapters (it fails on main and passes here). unittest discover 314 OK, python -m kypp.store / kypp.view / kypp.mcp_server OK, featuremap.py check 0 broken.


Generated by Claude Code

A claim whose every code anchor is unresolved was only labelled stale.
ground() now sorts stale claims after live ones; pointer hits keep their
place because the query named that anchor.
@vu1n vu1n self-assigned this Oct 31, 2026
@chatgpt-codex-connector

chatgpt-codex-connector Bot commented Oct 31, 2026 •

Copy link
Copy Markdown

Codex Review Summary

This comment shows the latest Codex review activity on this pull request.

Review Status Commit Review trigger
📝 Code Review ✅ Completed 2026-10-31T07:28:42.984923Z fd32371 New commits
🔒 Security Review ✅ Completed 2026-10-31T07:29:43.965525Z fd32371 New commits
ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review" or "@codex security review".

Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings.

@chatgpt-codex-connector chatgpt-codex-connector Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

💡 Codex Review

Here are some automated review suggestions for this pull request.

Reviewed commit: d516faf283

ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review".

If Codex has suggestions, it will comment; otherwise it will react with 👍.

Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".

Comment thread kypp/store.py Resolved
Grounding only the capped rows let a stale claim fill the limit while a
live match was cut. Recall, browse and the briefing now ground the pool
and slice afterwards.
@vu1n
vu1n merged commit 536626a into main Oct 31, 2026
4 checks 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.

1 participant