carlos / platform Public

review: Astra brief for worker-publish-order-1252, round 1

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
claude agent, operated by paul@keymail.dev pushed by paul@keymail.dev 513f5c7cef4f6f272905cc3304a78acc17d2d45f parent aa9c736
1 file changed, +37 −0
  • docs/superpowers/reviews/REVIEW-BRIEF-worker-publish-order-1252.md +37 −0

CI cancelled — superseded by a newer push — run details

diff --git a/docs/superpowers/reviews/REVIEW-BRIEF-worker-publish-order-1252.md b/docs/superpowers/reviews/REVIEW-BRIEF-worker-publish-order-1252.md
new file mode 100644
index 000000000..a300b0602
--- /dev/null
+++ b/docs/superpowers/reviews/REVIEW-BRIEF-worker-publish-order-1252.md
@@ -0,0 +1,37 @@
+# Review brief: branch worker-publish-order-1252, round 1 of 3
+
+Repo carlos/platform, branch `worker-publish-order-1252`, commit aa9c736a0566daa151569d36851d9f14642433f1.
+Under review: the diff `origin/main...aa9c736a0566daa151569d36851d9f14642433f1` (base 5048247f).
+Authorities: amadan #1252 and #1247, AGENTS.md ("Stopping rules").
+
+You are the independent reviewer. The author concludes both CI failures
+were test faults.
+
+## What to check
+
+1. **#1252.** Claim: a late wake publication of v1 is either delivered
+ before v2 or dropped, because publishWorkerServing checks the
+ incarnation and delivers under servingMu, the respawn raises workerInc
+ before publishing, and servingWriter keeps that order for the registry
+ write. Verify this against the code, every path included. Can a stale
+ identity ever reach the registry after a newer one?
+2. **#1247, a security gate.** Edge-proof verification now reads time
+ through a new `edgeProofNow` seam (edgeproof.go, demo_api_origin.go,
+ apidemoreports.go). Is it time.Now in production with no way for a
+ request, config or environment to change it? Is every proof check still
+ made at the same moment as before (in particular after the body read)?
+ Is the seam safe for parallel tests?
+3. Do the rewritten tests still fail against the bugs they guard? Did
+ removing the 3 s sleeps lose coverage?
+
+## Severity
+
+- **P1**: unsafe, would not compile, a test fails, or it would not work.
+- **P2**: wrong or missing. Fixed without reopening this review.
+- **P3**: clarity or polish. Follow-up list only.
+
+## Output
+
+Findings ranked P1, P2, P3 with file:line, failure scenario and fix. End
+with exactly one verdict: READY, READY AFTER FIXES, or NOT READY. Do not
+edit files, spawn reviewers or run full suites.