# fix\(server\): correlate OpenCode prompt admission · pingdotgg/t3code

[View on GitCafe](https://git.cafe/pingdotgg/t3code/commit/dffa261d690dca200dbea5974d7fe4874047e720)

Repository: [pingdotgg/t3code](https://git.cafe/pingdotgg/t3code)

Visibility: public

Requested revision: dffa261d690dca200dbea5974d7fe4874047e720

Requested commit: dffa261d690dca200dbea5974d7fe4874047e720

Commit: dffa261d690dca200dbea5974d7fe4874047e720

Tree: cfc515fdf5cb9e6cd678c1cc63c3b4b129163a71

Author: Julius Marminge

Committer: Julius Marminge

## Message

```
fix(server): correlate OpenCode prompt admission

Stale cached user and status events could admit and complete a newly submitted OpenCode prompt. Generate the native message ID before submission and only advance admission when that exact message is observed.

Finding: R14

Implemented by GPT-5.6 Sol with Codex.

```

## Parents

- [a8047ce49dd9c03ec03f08541ad8a7ba1ad42ad1](https://git.cafe/pingdotgg/t3code/commit/a8047ce49dd9c03ec03f08541ad8a7ba1ad42ad1?format=markdown)

[Source at this commit](https://git.cafe/pingdotgg/t3code/tree/dffa261d690dca200dbea5974d7fe4874047e720?format=markdown)
