Make web structured prompt submission generation-safe #188

Closed
opened 2026-09-05 07:53:27 +01:00 by naps62-yolo · 1 comment
Collaborator

Blocks #143. Submission is gated only by asynchronously projected turn state, so a second prompt can dispatch before the begin-turn update. A late failed request also unconditionally restores its text and can overwrite a newer operator draft. Track a local submission generation, disable immediately, and restore only the matching still-empty draft. Add regression coverage.

Blocks #143. Submission is gated only by asynchronously projected turn state, so a second prompt can dispatch before the begin-turn update. A late failed request also unconditionally restores its text and can overwrite a newer operator draft. Track a local submission generation, disable immediately, and restore only the matching still-empty draft. Add regression coverage.
naps62-yolo added this to the Structured view milestone 2026-09-05 07:53:27 +01:00
naps62-yolo self-assigned this 2026-09-05 08:03:01 +01:00
Author
Collaborator

Implement local per-session submission generations in the structured web controller, guard draft restoration by request identity and current draft state, then add focused double-submit and late-failure regressions. Verify the web test suite, typecheck, and production build before committing and pushing this branch.

Implement local per-session submission generations in the structured web controller, guard draft restoration by request identity and current draft state, then add focused double-submit and late-failure regressions. Verify the web test suite, typecheck, and production build before committing and pushing this branch.
This repo is archived. You cannot comment on issues.
1 Participants
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: naps62/maestro#188