Context
Found during real use.
While a DRAFTED session is active and the quota has not yet been completed, double-clicking a browser tab can release/bypass the drafting lock and allow the user to escape the session.
Problem
The active-session constraint is intended to keep the writer on the manuscript until the required quota is reached. A simple double-click on a tab should not provide an accidental escape hatch.
Reproduction
- Start a DRAFTED session.
- Leave the quota incomplete.
- Double-click a browser tab while the session is active.
- The session can be escaped / the enforced manuscript state is released.
Exact tab/focus mechanics can be confirmed during implementation if browser behavior differs by platform or Chrome version.
Expected behavior
- Double-clicking a tab must not dismiss or bypass an active DRAFTED session.
- Until the quota is satisfied, tab interactions should preserve the same enforcement behavior as a normal single click / attempted navigation.
- Existing intentional safety or recovery paths, if any, should remain available.
- Completing the quota should still discharge the session normally.
Acceptance criteria
- Reproduction above no longer allows leaving the active drafting session.
- No regression in normal tab switching interception / manuscript refocusing.
- No duplicate tabs or focus loops are introduced by the fix.
TEST DRAFT NOW follows the same corrected behavior.
Context
Found during real use.
While a DRAFTED session is active and the quota has not yet been completed, double-clicking a browser tab can release/bypass the drafting lock and allow the user to escape the session.
Problem
The active-session constraint is intended to keep the writer on the manuscript until the required quota is reached. A simple double-click on a tab should not provide an accidental escape hatch.
Reproduction
Exact tab/focus mechanics can be confirmed during implementation if browser behavior differs by platform or Chrome version.
Expected behavior
Acceptance criteria
TEST DRAFT NOWfollows the same corrected behavior.