Protect session initialization from competing writers

This commit is contained in:
2026-12-01 20:18:55 +00:00
parent 9e3fc25fdd
commit eb100e54f2
4 changed files with 112 additions and 14 deletions

View File

@@ -173,6 +173,9 @@ unrelated workspaces or add protection against external privileged deletion.
## Stage 4: Enforce initialization conflicts at the write boundary
**Complete:** Local creation uses exclusive open and remote creation uses the
provider absence condition; competing and forced writes are covered by tests.
Read `audit/04-concurrency.md`, lines 119–161 (CN-02), and
`internal/app/operator_helpers.go`, `session_init_command.go`, plus storage's
`WriteCondition`/`UploadConditional` contract.