Skip to content

Commit 3ae7bf8

Browse files
committed
docs(proof): refresh installation cache receipt
1 parent 5a89572 commit 3ae7bf8

3 files changed

Lines changed: 53 additions & 53 deletions

File tree

‎docs/proof/reconcile-throttle-resilience/README.md‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,4 +10,4 @@ Round 4 closes the rollout boundary: the operator defaults target reads to `gith
1010

1111
The original abort came from https://github.com/openclaw/clawsweeper/pull/973: complete canonical-alias discovery protected active sibling fences and bounded API usage before mutation. https://github.com/openclaw/clawsweeper/pull/1117 added honest per-target diagnostics while deliberately retaining that behavior. The new policy changes only GitHub-confirmed rate-limit or abuse 403s and all 429s: isolated target-read and App-setup throttles become per-target or per-owner skips, a successful target read resets the counter, and three consecutive throttled calls abort the remaining phase. A cached setup rejection may skip many targets or GraphQL batches but counts as the one GitHub call that was actually throttled. App-setup skips carry `github_throttled scope=app_setup` with the stage, owner, and status. Authorization failures, policy 403s, and every other non-throttle discovery failure still use the conservative abort path. The existing target, recovery, GraphQL batch, terminal-recheck, and inventory caps remain intact.
1212

13-
The real-behavior contract is in `behavior-contract.md`; the red/green record is in `red-green.md`. The final `run-proof.sh` execution used Docker-backed Crabbox `provider=local-container`, lease `cbx_cd02bc4249e5` (`crimson-barnacle-4e41`), and image `node:24-bookworm`; it passed 26/26 focused scenarios and stopped automatically. `receipt.json` binds tested code head `01f07e0223883f526422930e35cb5748f412553e`, the proof harness, every executable input, and the sanitized transcripts by SHA-256. TruffleHog 3.96.0 found zero verified or unknown secrets.
13+
The real-behavior contract is in `behavior-contract.md`; the red/green record is in `red-green.md`. The final `run-proof.sh` execution used Docker-backed Crabbox `provider=local-container`, lease `cbx_2c2320c8c201` (`crimson-hermit-97fb`), and image `node:24-bookworm`; it passed 27/27 focused scenarios and stopped automatically. `receipt.json` binds tested code head `5a89572fa541de992d34afad7cf5d674208eccd0`, the proof harness, every executable input, and the sanitized transcripts by SHA-256. TruffleHog 3.96.0 found zero verified or unknown secrets.

‎docs/proof/reconcile-throttle-resilience/container-transcript.txt‎

Lines changed: 38 additions & 38 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ v24.19.0
55
11.17.0
66
PROOF_PHASE=corepack
77

8-
added 1 package in 369ms
8+
added 1 package in 276ms
99
11.10.0
1010
PROOF_PHASE=install
1111
? Verifying lockfile against supply-chain policies (79 entries)...
@@ -22,9 +22,8 @@ Packages: +19
2222
│ │
2323
╰───────────────────────────────────────────────╯
2424

25-
✓ Lockfile passes supply-chain policies (79 entries in 1s)
26-
Progress: resolved 19, reused 0, downloaded 15, added 15
27-
Progress: resolved 19, reused 0, downloaded 18, added 18
25+
✓ Lockfile passes supply-chain policies (79 entries in 396ms)
26+
Progress: resolved 19, reused 0, downloaded 16, added 16
2827
Progress: resolved 19, reused 0, downloaded 19, added 19, done
2928

3029
dependencies:
@@ -38,54 +37,55 @@ devDependencies:
3837
+ oxlint 1.73.0
3938
+ oxlint-tsgolint 0.24.0
4039

41-
Done in 2.8s using pnpm v11.10.0
40+
Done in 1.9s using pnpm v11.10.0
4241
PROOF_PHASE=loopback
43-
✔ dead-letter workflow is manual, serialized, and bounded to safe actions (1.2141ms)
44-
✔ automatic dead-letter reconciliation is scheduled, bounded, and least privileged (3.515303ms)
45-
✔ target-read App mode fails at startup for every incomplete credential pair (354.538935ms)
46-
✔ 100-target reconciliation batches canonical lookups within the GitHub token budget (147.975756ms)
47-
✔ batched canonical discovery skips a throttled batch and inspects later targets (175.590898ms)
48-
✔ batched canonical discovery aborts on an authorization 403 (102.061823ms)
49-
✔ serial canonical discovery skips one throttle and recovers later targets (115.69421ms)
50-
✔ multi-owner reconciliation recovers installed targets and reports missing installations (144.329706ms)
51-
✔ throttled owner token mint 429 skips that owner's targets and recovers another owner (145.683719ms)
52-
✔ throttled owner token mint 403 skips that owner's targets and recovers another owner (144.882111ms)
53-
✔ throttled installation lookup skips that owner's targets and recovers another owner (170.933535ms)
54-
✔ an installation removed before token mint remains a bounded missing-installation skip (136.703112ms)
55-
✔ batched discovery skips a throttled owner setup and continues with another owner (237.58471ms)
56-
✔ a cached setup throttle spanning three batches counts once and later owners continue (162.603956ms)
57-
✔ ordinary installation_lookup 401 remains fail-closed (128.220578ms)
58-
✔ ordinary installation_lookup 403 remains fail-closed (139.375641ms)
59-
✔ ordinary token_mint 401 remains fail-closed (125.485467ms)
60-
✔ ordinary token_mint 403 remains fail-closed (123.581007ms)
61-
✔ persistent setup throttling trips the shared fuse before another owner is attempted (127.772462ms)
62-
✔ authorization 403 with a valid owner installation remains fail-closed (122.608068ms)
63-
✔ serial canonical discovery aborts on an authorization 403 (111.699459ms)
64-
✔ serial canonical discovery aborts after three consecutive throttles (132.016958ms)
65-
✔ serial recovery revalidation skips one throttle and recovers later targets (119.383009ms)
66-
✔ serial recovery revalidation aborts on an authorization 403 (99.579083ms)
67-
✔ serial recovery revalidation aborts after three consecutive throttles (127.695255ms)
68-
✔ operator previews by default and caps mutations at two audited ids (1097.486609ms)
69-
ℹ tests 26
42+
✔ dead-letter workflow is manual, serialized, and bounded to safe actions (1.421644ms)
43+
✔ automatic dead-letter reconciliation is scheduled, bounded, and least privileged (2.882455ms)
44+
✔ target-read App mode fails at startup for every incomplete credential pair (317.836941ms)
45+
✔ 100-target reconciliation batches canonical lookups within the GitHub token budget (174.000147ms)
46+
✔ batched canonical discovery skips a throttled batch and inspects later targets (155.583198ms)
47+
✔ batched canonical discovery aborts on an authorization 403 (101.84833ms)
48+
✔ serial canonical discovery skips one throttle and recovers later targets (101.612743ms)
49+
✔ multi-owner reconciliation recovers installed targets and reports missing installations (116.332227ms)
50+
✔ a missing selected repository does not hide an accessible repository under the same owner (127.14941ms)
51+
✔ throttled owner token mint 429 skips that owner's targets and recovers another owner (152.339822ms)
52+
✔ throttled owner token mint 403 skips that owner's targets and recovers another owner (137.741632ms)
53+
✔ throttled installation lookup skips that owner's targets and recovers another owner (135.335308ms)
54+
✔ an installation removed before token mint remains a bounded missing-installation skip (140.011286ms)
55+
✔ batched discovery skips a throttled owner setup and continues with another owner (196.354022ms)
56+
✔ a cached setup throttle spanning three batches counts once and later owners continue (149.042112ms)
57+
✔ ordinary installation_lookup 401 remains fail-closed (135.905899ms)
58+
✔ ordinary installation_lookup 403 remains fail-closed (151.071014ms)
59+
✔ ordinary token_mint 401 remains fail-closed (130.669289ms)
60+
✔ ordinary token_mint 403 remains fail-closed (124.559959ms)
61+
✔ persistent setup throttling trips the shared fuse before another owner is attempted (114.460244ms)
62+
✔ authorization 403 with a valid owner installation remains fail-closed (135.742605ms)
63+
✔ serial canonical discovery aborts on an authorization 403 (101.440199ms)
64+
✔ serial canonical discovery aborts after three consecutive throttles (113.580691ms)
65+
✔ serial recovery revalidation skips one throttle and recovers later targets (114.229908ms)
66+
✔ serial recovery revalidation aborts on an authorization 403 (104.024358ms)
67+
✔ serial recovery revalidation aborts after three consecutive throttles (110.698154ms)
68+
✔ operator previews by default and caps mutations at two audited ids (989.581002ms)
69+
ℹ tests 27
7070
ℹ suites 0
71-
ℹ pass 26
71+
ℹ pass 27
7272
ℹ fail 0
7373
ℹ cancelled 0
7474
ℹ skipped 0
7575
ℹ todo 0
76-
ℹ duration_ms 4597.063483
76+
ℹ duration_ms 4430.776467
7777
PROOF_PHASE=content
7878
f3677d39a66f90fded2dbf1a012e596b3920450fba05d434405da453083f0691 .github/workflows/exact-review-dead-letter-operator.yml
7979
fd89e44c2438e5c26cbcd65097c85c3d233d5029950f0e308b87a87ed617da00 .github/workflows/exact-review-dead-letter-reconcile.yml
8080
a28e6c93b1e973efa134456f5f338b3724a3e8451f8421f17bf9e47fb6c49073 dashboard/exact-review-queue.ts
8181
d70d67264358e1194ebeeca3d3e92c8afda7826942eb118c5d2f3f3d112480ac dashboard/github-api.ts
8282
ba9dd4ec63f404948ccb73cbe8e9363946623525907f975b00d81533d8a0602f dashboard/worker.ts
83-
0edbcf11d7921c871b099f97ea1cfc9c027870c9b69b3b0ee3085a3ce227a835 docs/proof/reconcile-throttle-resilience/run-proof.sh
84-
70c31c25d59e1b356d9d937ee409d3df543a2cce162e63f8d0611f16425ca8c2 scripts/exact-review-dead-letter-operator.mjs
83+
4d40776e64c2c809a0108f7ec4727a516d541f5505851cefc3d512a7ce423321 docs/proof/reconcile-throttle-resilience/run-proof.sh
84+
1e600bf3576e8b63ba85f2668e0348009bc75bfbf9cc262b15316845914db10e scripts/exact-review-dead-letter-operator.mjs
8585
d83bdbc58d3840d78fd4825476668682bf3ebefb0af93aac222cb3f9fc8e8ada scripts/operator-skip-reasons.mjs
86-
5f19a108ef1f5a374a5f45869a590f1a724502ce387bc71b4158f2e7e3cd52ff test/exact-review-dead-letter-operator.test.ts
86+
1561cd8d9c03340c353f010671c6d13f5a70ba9bcdacdcce20b174a405a546f6 test/exact-review-dead-letter-operator.test.ts
8787
Checking formatting...
8888

8989
All matched files use the correct format.
90-
Finished in 118ms on 8 files using 32 threads.
90+
Finished in 130ms on 8 files using 32 threads.
9191
PROOF_RESULT=pass

‎docs/proof/reconcile-throttle-resilience/receipt.json‎

Lines changed: 14 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -1,26 +1,26 @@
11
{
22
"schema_version": 1,
3-
"recorded_at": "2026-08-12T21:35:36Z",
3+
"recorded_at": "2026-08-12T21:51:11Z",
44
"provider": "local-container",
5-
"lease_id": "cbx_cd02bc4249e5",
6-
"slug": "crimson-barnacle-4e41",
5+
"lease_id": "cbx_2c2320c8c201",
6+
"slug": "crimson-hermit-97fb",
77
"container_runtime": "docker",
88
"image": "node:24-bookworm",
99
"machine_type": "node_24-bookworm",
10-
"base_head": "01f07e0223883f526422930e35cb5748f412553e",
10+
"base_head": "5a89572fa541de992d34afad7cf5d674208eccd0",
1111
"command": "/Users/steipete/Projects/crabbox/bin/crabbox run --provider local-container --local-container-image node:24-bookworm --no-hydrate --preflight --timing-json --capture-stdout docs/proof/reconcile-throttle-resilience/container-transcript.txt --capture-stderr docs/proof/reconcile-throttle-resilience/container-stderr.txt --script docs/proof/reconcile-throttle-resilience/run-proof.sh",
1212
"exit_code": 0,
1313
"lease_stopped": true,
14-
"sync_ms": 3099,
15-
"command_ms": 9539,
16-
"total_ms": 12658,
14+
"sync_ms": 902,
15+
"command_ms": 8571,
16+
"total_ms": 9486,
1717
"node_version": "v24.19.0",
1818
"pnpm_version": "11.10.0",
1919
"corepack_install_prefix": "$HOME/.local",
2020
"jq": "not required by this proof",
2121
"focused_tests": {
22-
"total": 26,
23-
"passed": 26,
22+
"total": 27,
23+
"passed": 27,
2424
"failed": 0
2525
},
2626
"content_sha256": {
@@ -29,19 +29,19 @@
2929
"dashboard/exact-review-queue.ts": "a28e6c93b1e973efa134456f5f338b3724a3e8451f8421f17bf9e47fb6c49073",
3030
"dashboard/github-api.ts": "d70d67264358e1194ebeeca3d3e92c8afda7826942eb118c5d2f3f3d112480ac",
3131
"dashboard/worker.ts": "ba9dd4ec63f404948ccb73cbe8e9363946623525907f975b00d81533d8a0602f",
32-
"docs/proof/reconcile-throttle-resilience/run-proof.sh": "0edbcf11d7921c871b099f97ea1cfc9c027870c9b69b3b0ee3085a3ce227a835",
33-
"scripts/exact-review-dead-letter-operator.mjs": "70c31c25d59e1b356d9d937ee409d3df543a2cce162e63f8d0611f16425ca8c2",
32+
"docs/proof/reconcile-throttle-resilience/run-proof.sh": "4d40776e64c2c809a0108f7ec4727a516d541f5505851cefc3d512a7ce423321",
33+
"scripts/exact-review-dead-letter-operator.mjs": "1e600bf3576e8b63ba85f2668e0348009bc75bfbf9cc262b15316845914db10e",
3434
"scripts/operator-skip-reasons.mjs": "d83bdbc58d3840d78fd4825476668682bf3ebefb0af93aac222cb3f9fc8e8ada",
35-
"test/exact-review-dead-letter-operator.test.ts": "5f19a108ef1f5a374a5f45869a590f1a724502ce387bc71b4158f2e7e3cd52ff"
35+
"test/exact-review-dead-letter-operator.test.ts": "1561cd8d9c03340c353f010671c6d13f5a70ba9bcdacdcce20b174a405a546f6"
3636
},
37-
"transcript_sha256": "65f056435422e51510942ceec2ea35ce062d4b24570a2c8d63b4adee878c2e28",
37+
"transcript_sha256": "fc25b8bdcfb5bfea8ba4fc38b00943734e4601c85037d914a7eb8d4bd36260fe",
3838
"stderr_sha256": "39ad07334ee0b3da51ab7f5232e274dfb5588dc1380a557f3f4d886a7173a9dd",
3939
"secret_scan": {
4040
"tool": "trufflehog 3.96.0",
4141
"command": "trufflehog filesystem --no-update --results=verified,unknown --fail --fail-on-scan-errors docs/proof/reconcile-throttle-resilience/container-transcript.txt docs/proof/reconcile-throttle-resilience/container-stderr.txt",
4242
"exit_code": 0,
4343
"chunks": 2,
44-
"bytes": 5208,
44+
"bytes": 5265,
4545
"verified_secrets": 0,
4646
"unknown_secrets": 0
4747
}

0 commit comments

Comments
 (0)