Independent critical review (the review gate) — no correctness blockers
For the record: the result of the independent reviewer I dispatched separately from the author agent. This PR was…
Manager note (separate from the review above): this PR was already merged to main by sneak before the independent critical review completed, so #77 is closed via the merge. The review (posted…
Critical review: PR #81 — Refactor delivery targets to a Target interface
Verdict: PASS (merge-ready).
Reviewed the full diff of all 9 changed files against origin/main, compared every…
Review of PR #48 came back FAIL with one blocking item (labelled needs-rework): the ignored former secure-toggle parameter on session.NewManager must be removed in this PR rather than deferred…
Review: FAIL — one blocking item
Independently verified at head 02ca16a in a fresh worktree:
What passes:
make checkfully green (all tests, golangci-lint 0 issues, fmt-check…
Additional rework direction for PR #46, per sneak's comment there (2026-08-07): the whitelist→allowlist rename must cover the user-facing config surface in the same pass — pre-1.0, there is no…
File-by-file change summary:
internal/delivery/target.go(new): theSchedulerandTargetinterfaces, the internalreschedulerinterface (used by recovery/sweep to let a target recompute…
Rework for the two blocking items is pushed.
1. Golden known-answer test (d69019b)
New internal/signature/golden_test.go (TestSigner_GoldenVectors) pins the
signature scheme with…
Scope-guard enumeration (fresh make check on main at b6e9ac2 before any changes, golangci-lint via script/lint):
Total gosec findings: 2 — well under the ~30 stop threshold from issue…
Re-review after rework — PASS (merge-ready)
Verified the fail-loud fix on internal/config/config.go:
envDurationnow returns(time.Duration, error): an unset variable returns the…
Reworked per review: a set-but-unparseable RETENTION_SWEEP_INTERVAL now fails startup loudly instead of silently falling back to the default.
Changes (in internal/config/):
- `envDuration(key…
Scope update from a fresh make check run (golangci-lint 2.12.2): the "≈10 findings" figure in the issue body is stale. Current state is exactly 2 gosec findings, both G124 (http.Cookie…
Dispatching this now, per the definition of done in the issue body. Additional direction:
- Branch
fix/gosec-findingsfrom currentmain. - First, run
make checkand enumerate the actual…
Direction for reworking PR #46 (currently labelled needs-rework): the two suggestions the previous review marked "non-blocking" are blocking, per sneak's comment on the PR. Both must land on…
You're right, and I should have caught this in review — my miss. envDuration silently falls back to the default when RETENTION_SWEEP_INTERVAL is set but unparseable; a bad config value must…