Skip to content

Commit 9e984a4

Browse files
committed
docs(proof): record fallback scope proof
1 parent 92d91e8 commit 9e984a4

2 files changed

Lines changed: 36 additions & 27 deletions

File tree

‎docs/proof/csw-127-phase0-6/README.md‎

Lines changed: 16 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1,19 +1,19 @@
11
# CSW-127 Phase 0.6 proof receipt
22

33
The product-and-proof commit rebased onto merged PR #1169,
4-
`ef640c54c8f28cfa0bdab2b3f6f03927a2285907`
5-
(tree `7d750caaf9ddc1db1cad3f27a952edf12f68d458`), passed the production-shaped
4+
`92d91e812f810c5bf9f7e0f470cb017533aee43c`
5+
(tree `84f9205a89d0fafdd20e9796affb7b67bd534fe2`), passed the production-shaped
66
boundary proof defined in [behavior-contract.md](behavior-contract.md).
77

88
## Environment
99

10-
- Provider: Crabbox `local-container`, lease `cbx_a6feceb049e8` (`violet-hermit`)
10+
- Provider: Crabbox `local-container`, lease `cbx_b188010777d1` (`swift-krill-16ae`)
1111
- Image: `node:24-bookworm`
1212
- Runtime boundary: `[email protected] --local` plus the real SQLite-backed
1313
`ExactReviewQueue` Durable Object
14-
- Result: exit `0`; lease stopped; 276,521 ms total
14+
- Result: exit `0`; lease stopped; 272,317 ms total
1515
- Source identity: the container reconstructed the immutable `git archive` and
16-
asserted tree `7d750caaf9ddc1db1cad3f27a952edf12f68d458` before running proof
16+
asserted tree `84f9205a89d0fafdd20e9796affb7b67bd534fe2` before running proof
1717

1818
The proof used [run-crabbox-bind.sh](run-crabbox-bind.sh) as the local-container
1919
entry point and [run-proof.sh](run-proof.sh) as the in-container harness. The
@@ -23,7 +23,7 @@ disposable proof container because the selected Node image does not include it.
2323

2424
## Observed result
2525

26-
- All 233 focused telemetry, queue, batch-publication, and batch-CLI tests passed.
26+
- All 235 focused telemetry, queue, batch-publication, and batch-CLI tests passed.
2727
- The Worker accepted signed queue transitions and the SQLite Durable Object
2828
exposed independently reconciled, closed-dimension retry and refresh causes.
2929
- The proof seeded the production caps of 50,000 rollup rows and 10,000
@@ -40,8 +40,10 @@ disposable proof container because the selected Node image does not include it.
4040
- Public output passed the privacy assertions. A follow-up scan of the bounded
4141
receipts and redacted Worker log found no token, authorization header, private
4242
key, database URL, API-key, or token-assignment patterns.
43-
- The full Linux `pnpm run check` gate passed. Coverage was 81.49% lines, 74.13%
44-
branches, and 87.33% functions.
43+
- Fallback `complete` and `release` paths preserved a `target_app` circuit as
44+
`pool_class=target_app` rather than falling back to `repository_actions`.
45+
- The full Linux `pnpm run check` gate passed. Coverage was 81.49% lines, 74.08%
46+
branches, and 87.35% functions.
4547

4648
## Rebased contract reconciliation
4749

@@ -64,6 +66,12 @@ defect: terminal batch outcomes advanced the attempt bucket after an earlier
6466
failure. The rebased fix commit `3f3793dfff6a959a36cc3767101d902d7ff6e154` aligned the batch path
6567
with direct completion and added the retry-then-publish regression above.
6668

69+
The committed Codex review then found one P2 owner-isolation defect in fallback
70+
rate-limit completions. Commit `92d91e812f810c5bf9f7e0f470cb017533aee43c`
71+
carries the active circuit scope through both batch `complete` and `release` and
72+
adds regressions for the `target_app` path. The complete proof above was rerun
73+
after this fix.
74+
6775
Two discarded Docker leases stopped before test execution. Lease
6876
`cbx_42cd4a3fdb12` rejected the CRLF-mounted wrapper, and lease
6977
`cbx_35f8c4b178f6` rejected ignored-file contamination through the worktree

‎docs/proof/csw-127-phase0-6/container-receipt.json‎

Lines changed: 20 additions & 19 deletions
Original file line numberDiff line numberDiff line change
@@ -2,31 +2,31 @@
22
"schema_version": 1,
33
"proof": "CSW-127 Phase 0.6 production-shaped boundary",
44
"base_commit": "6494ab5eb285cc2993d4679d6723e4b2486de99c",
5-
"code_commit": "ef640c54c8f28cfa0bdab2b3f6f03927a2285907",
6-
"code_tree": "7d750caaf9ddc1db1cad3f27a952edf12f68d458",
5+
"code_commit": "92d91e812f810c5bf9f7e0f470cb017533aee43c",
6+
"code_tree": "84f9205a89d0fafdd20e9796affb7b67bd534fe2",
77
"provider": "local-container",
8-
"provider_id": "cbx_a6feceb049e8",
9-
"provider_slug": "violet-hermit",
8+
"provider_id": "cbx_b188010777d1",
9+
"provider_slug": "swift-krill-16ae",
1010
"image": "node:24-bookworm",
1111
"worker": "[email protected] --local",
1212
"durable_object": "SQLite ExactReviewQueue",
1313
"status": "succeeded",
1414
"exit_code": 0,
1515
"lease_stopped": true,
16-
"duration_ms": 276521,
16+
"duration_ms": 272317,
1717
"phases_ms": {
18-
"dependencies": 4372,
19-
"build": 2728,
20-
"focused_tests": 5863,
21-
"worker_queue_transition": 11053,
22-
"seed_production_caps": 538,
23-
"worker_cap_eviction": 2711,
24-
"worker_restart": 2261,
25-
"broad_linux_gates": 241319
18+
"dependencies": 3774,
19+
"build": 3042,
20+
"focused_tests": 5592,
21+
"worker_queue_transition": 11545,
22+
"seed_production_caps": 280,
23+
"worker_cap_eviction": 2594,
24+
"worker_restart": 2180,
25+
"broad_linux_gates": 237992
2626
},
2727
"focused_tests": {
28-
"tests": 233,
29-
"passed": 233,
28+
"tests": 235,
29+
"passed": 235,
3030
"failed": 0
3131
},
3232
"results": {
@@ -42,20 +42,21 @@
4242
"sqlite_restart_preserved_refresh_cause": true,
4343
"retry_cause_reconciled": true,
4444
"refresh_cause_reconciled": true,
45+
"fallback_target_app_scope_preserved": true,
4546
"privacy_clean": true,
4647
"broad_check": "passed"
4748
},
4849
"coverage_percent": {
4950
"lines": 81.49,
50-
"branches": 74.13,
51-
"functions": 87.33
51+
"branches": 74.08,
52+
"functions": 87.35
5253
},
5354
"artifact_sha256": {
54-
"runtime_receipt_json": "DCF5C8EDEB972B12E5169FA52F678B6E7120C76E29E4640E73261A37D782D686",
55+
"runtime_receipt_json": "D890DFA935CE8A8DCE76A93651DFD3AA79030E266869C4E67DA054838DFA2FDB",
5556
"queue_stage_json": "6F4253CC09DDB8FE029B5579191A175E6B8808A1272C63E3121C70499A3F91DC",
5657
"cap_stage_json": "B3FCBC4C12A2DD1AEFA3094A9E5DF2F1A69F85E123AC0E012380C5D40B882779",
5758
"restart_stage_json": "4480B0478D780A97BCD2FC26826D3C739A886BC3305566A183133F46D9C93AF3",
58-
"redacted_wrangler_log": "8E5044EA700BA56C6FA4B5A4E8231E96C3DC58C064304FD2884BEE109C297687"
59+
"redacted_wrangler_log": "53A55DECCBA450985FFADBCC7D864D14C2C2ECF24C049877B458A6BCDB33149E"
5960
},
6061
"limits": [
6162
"The proof used synthetic local fixtures and made no production, GitHub, queue, DLQ, workflow, gate, schedule, capacity, deployment, or credential mutation.",

0 commit comments

Comments
 (0)