Skip to content

Add experimental thread item lookup by ID - #52637

Merged
copyberry[bot] merged 1 commit into
mainfrom
copyberry/codex-internal-to-codex-oss/9b243dd87577bd4fe36900c388a386b2e26ff2e0
Oct 9, 2026
Merged

copyberry[bot] merged 1 commit into
mainfrom
copyberry/codex-internal-to-codex-oss/9b243dd87577bd4fe36900c388a386b2e26ff2e0

Conversation

@copyberry

@copyberry copyberry Bot commented Oct 9, 2026 •

Copy link
Copy Markdown

Add experimental thread item lookup by ID

What changed

Add thread/items/read to retrieve persisted items by threadId, turnId, and 1–100 itemIds. Return matching items in canonical stored order, omitting missing IDs and items outside the requested turn.

Add item ID filtering to the thread store while preserving inherited history and fork cutoffs. Require the experimental API capability for the new endpoint.

Testing

Add coverage for stored ordering, turn scoping, missing IDs, request size limits, experimental capability gating, and inherited items across fork cutoffs.

## What changed

Add `thread/items/read` to retrieve persisted items by `threadId`, `turnId`, and 1–100 `itemIds`. Return matching items in canonical stored order, omitting missing IDs and items outside the requested turn.

Add item ID filtering to the thread store while preserving inherited history and fork cutoffs. Require the experimental API capability for the new endpoint.

## Testing

Add coverage for stored ordering, turn scoping, missing IDs, request size limits, experimental capability gating, and inherited items across fork cutoffs.

GitOrigin-RevId: 9b243dd87577bd4fe36900c388a386b2e26ff2e0
@copyberry
copyberry Bot force-pushed the copyberry/codex-internal-to-codex-oss/9b243dd87577bd4fe36900c388a386b2e26ff2e0 branch from 9040381 to 47c063d Compare October 9, 2026 16:50
@copyberry
copyberry Bot merged commit 47c063d into main Oct 9, 2026
1 check passed
@chatgpt-codex-connector

Copy link
Copy Markdown
Contributor

Codex Review Summary

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

Review Status Commit Review trigger
📝 Code Review 🔄 Running since 2026-10-09T16:50:38.923444Z 9040381 PR opened
ℹ️ 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.

@copyberry
copyberry Bot deleted the copyberry/codex-internal-to-codex-oss/9b243dd87577bd4fe36900c388a386b2e26ff2e0 branch October 9, 2026 16:50
@github-actions github-actions Bot locked and limited conversation to collaborators Oct 9, 2026
@AvoraLabsDev
AvoraLabsDev deployed to issue-triage October 9, 2026 16:51 — with Image GitHub Actions Active
@AvoraLabsDev
AvoraLabsDev deployed to issue-triage October 9, 2026 16:51 — with Image GitHub Actions Active
@AvoraLabsDev
AvoraLabsDev deployed to issue-triage October 9, 2026 16:51 — with Image GitHub Actions Active
@AvoraLabsDev
AvoraLabsDev deployed to issue-triage October 9, 2026 16:52 — with Image GitHub Actions Active

This branch was successfully deployed

1 active deployment
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.

3 participants