Skip to content

chore(protocol): use UUIDv7 for generated item IDs#31524

Open
owenlin0 wants to merge 1 commit into
mainfrom
owen/uuidv7-generated-item-ids
Open

chore(protocol): use UUIDv7 for generated item IDs#31524
owenlin0 wants to merge 1 commit into
mainfrom
owen/uuidv7-generated-item-ids

Conversation

@owenlin0

@owenlin0 owenlin0 commented Jul 8, 2026

Copy link
Copy Markdown
Collaborator

Description

Use UUIDv7 for item IDs generated locally in codex-protocol.

This covers user messages, agent messages, hook prompts, and context compaction items. These IDs are generated once and carried through item lifecycle, so this only changes the UUID version. It keeps generated item IDs consistent with thread and turn IDs.

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