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

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

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

Visibility: public

Requested revision: 7ac8986ab73c7e249d50985bffeebf540c3f4a77

Requested commit: 7ac8986ab73c7e249d50985bffeebf540c3f4a77

Commit: 7ac8986ab73c7e249d50985bffeebf540c3f4a77

Tree: 680cc9ee712988673fb47276f89465fbbcb9635b

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

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

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