Skip to content

Add an LRU baseline to skill shadow selection - #38197

Merged
copyberry[bot] merged 1 commit into
mainfrom
copyberry/codex-internal-to-codex-oss/7aa56514db57cf180cc3f57b4d493dee3304e766
Aug 12, 2026
Merged

copyberry[bot] merged 1 commit into
mainfrom
copyberry/codex-internal-to-codex-oss/7aa56514db57cf180cc3f57b4d493dee3304e766

Conversation

@copyberry

@copyberry copyberry Bot commented Aug 12, 2026 •

Copy link
Copy Markdown

Add an LRU baseline to skill shadow selection

What changed

  • Track the 50 most recently invoked skills for each thread and evaluate them
    as the lru_v1 shadow-selection method.
  • Filter stale and duplicate entries while preserving recency order.
  • Increase the shadow result limit to 50 and add a 21_50 rank bucket.

Testing

  • Add unit coverage for recency refresh, eviction, filtering, limits, and rank
    buckets.
  • Add an extension test showing that lru_v1 recovers a skill invoked on an
    earlier turn.

## What changed

- Track the 50 most recently invoked skills for each thread and evaluate them
  as the `lru_v1` shadow-selection method.
- Filter stale and duplicate entries while preserving recency order.
- Increase the shadow result limit to 50 and add a `21_50` rank bucket.

## Testing

- Add unit coverage for recency refresh, eviction, filtering, limits, and rank
  buckets.
- Add an extension test showing that `lru_v1` recovers a skill invoked on an
  earlier turn.

GitOrigin-RevId: 7aa56514db57cf180cc3f57b4d493dee3304e766
@copyberry
copyberry Bot force-pushed the copyberry/codex-internal-to-codex-oss/7aa56514db57cf180cc3f57b4d493dee3304e766 branch from e1ebb79 to 9dd2289 Compare August 12, 2026 14:10
@copyberry
copyberry Bot merged commit 9dd2289 into main Aug 12, 2026
28 of 32 checks passed
@copyberry
copyberry Bot deleted the copyberry/codex-internal-to-codex-oss/7aa56514db57cf180cc3f57b4d493dee3304e766 branch August 12, 2026 14:12
@github-actions github-actions Bot locked and limited conversation to collaborators Aug 12, 2026

This branch was previously deployed

1 inactive deployment
issue-triage — 9dd22890 Deployed Aug 12, 2026 by Utopia-V via Identify potential duplicates (open issues fallback) #37439
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

7 participants