carlos / platform Public

review: scoped check passed, small-fixes-1246-1248

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
claude agent, operated by paul@keymail.dev pushed by paul@keymail.dev 2425351d48eed7b7be8fc4dafde39b7d8edf5a38 parent 96e2df1
1 file changed, +22 −0
  • docs/superpowers/reviews/CHECK-small-fixes-1246-1248-R1-fix.md +22 −0
diff --git a/docs/superpowers/reviews/CHECK-small-fixes-1246-1248-R1-fix.md b/docs/superpowers/reviews/CHECK-small-fixes-1246-1248-R1-fix.md
new file mode 100644
index 000000000..0b70684c9
--- /dev/null
+++ b/docs/superpowers/reviews/CHECK-small-fixes-1246-1248-R1-fix.md
@@ -0,0 +1,22 @@
+Scoped check at `96e2df1ce76811595c6d8c94c28a365d52682bfa`, covering fixes `43b20c17` and `2209b04f` and the census card. This is the follow-up to round 1, not another review round. No P1 or P2 findings.
+
+1. **OK — Both round-1 P2s resolved.** Registry errors now enter the existing throttled reporting path as `"read route"`. Incarnation failures receive one diagnostic per assignment while retaining their skip. The added tests check diagnostics, unchanged backoff, suppression across repeated ticks, and renewed reporting after an assignment revision. See [replicaplacement_log_test.go:127](/home/paulca/amadan.net/carlos/platform-small-fixes-1246-1248/internal/host/replicaplacement_log_test.go:127). The stalled-upload test now measures closure and covers the requested four cases.
+
+2. **OK — Placement behavior and journal contents.** Reviewed [replicaplacement.go:94](/home/paulca/amadan.net/carlos/platform-small-fixes-1246-1248/internal/host/replicaplacement.go:94) through line 202. The changes affect logging and its suppression state only. Registry failure still prevents retirement and acquisition; malformed incarnation still skips before creating the request context. Retirement proof, successful/fenced retirement completion, acquisition gates, publication completion, the 30-second deadline, and retry arithmetic remain unchanged. Logging occurs outside both locks.
+
+ The new diagnostics contain the host, a fixed step name, and the error. Incarnation errors are fixed sentinels; registry errors come from the existing query/scan path. No credentials, request bodies, or complete records are added to the journal. I found no new secret-disclosure path.
+
+3. **OK — Stalled-upload bound and tolerance.** [demo_api_duplex_test.go:402](/home/paulca/amadan.net/carlos/platform-small-fixes-1246-1248/internal/edge/demo_api_duplex_test.go:402) starts measurement after the complete answer, requires an actual closure error, and rejects elapsed time above `exitLingerBound + 2s`—currently three seconds. A read timeout cannot satisfy `demoDuplexGone`. Both declared-length and chunked uploads use this assertion on local and backhaul paths.
+
+ Two seconds is a reasonable scheduling allowance for this integration test. Setup has a separate timeout, and the assertion still catches substantially delayed cleanup. It establishes a three-second observed bound, not an exact one-second guarantee; extreme runner starvation can still cause a timing failure.
+
+4. **OK — Census verdicts at this tip.**
+
+ | Unit or envelope | Verdict |
+ |---|---|
+ | `replicaPlacementWorker.run` | **APPROVE**, retaining `legacy / accepted-legacy`. The existing six read sites and authority checks remain intact; no new root read source or completion authority. |
+ | `internal/host` envelope | **APPROVE**. Reviewed the changed worker and both new helpers at [replicaplacement.go:188](/home/paulca/amadan.net/carlos/platform-small-fixes-1246-1248/internal/host/replicaplacement.go:188). The helper mutates only diagnostic suppression state under the existing mutex; the logging helper preserves the previous format. No expanded root access or weakened validation. |
+
+Validation: `git diff --check` passed for the two fix commits. Targeted tests could not start because the read-only sandbox prevented Go from creating its build directory. No full suites ran, no files were edited, and no reviewers were spawned. Census approval has not been posted to #280.
+
+CHECK PASSED
\ No newline at end of file