Add stage-exclusive resource waiting
Add durable FIFO capacity-one resource leases for executable stages, including cleanup-confirmed release, conservative restart quarantine, queue state events, and CLI/TUI/Android waiting presentation. Add scheduler, cleanup, protocol, client, and Android coverage plus a proposed Android v3 resource draft. Checked packaged templates and authoring skill references: neither needs updating in this item. The per-item docs note records the shared documentation that docs-fold must update; no shared README or packaged reference was edited.
This commit is contained in:
@@ -29,6 +29,7 @@ func TestRetryCreatesFreshOpenCodeSessionAndRetainsFailedSession(t *testing.T) {
|
||||
if [ "$1" = "--help" ]; then echo ' api'; exit 0; fi
|
||||
printf '%%s %%s %%s\n' "$PWD" "$2" "$3" >> %q
|
||||
case "$3" in
|
||||
/api/session/active) echo '{"data":{}}' ;;
|
||||
/api/session)
|
||||
n=0; if [ -f %q ]; then n=$(cat %q); fi
|
||||
n=$((n+1)); echo "$n" > %q
|
||||
|
||||
Reference in New Issue
Block a user