Review Endor remediation PRs until clean - #1241
Conversation
|
🦞👀 Pull request received. I will update this pull request when review starts. |
|
Codex review: needs changes before merge. Reviewed August 24, 2026, 10:12 PM ET / August 25, 2026, 02:12 UTC. ClawSweeper reviewWhat this changesThis PR adds an Endor-specific three-review convergence loop, durable state and receipts, and Hermit notifications to ClawSweeper’s exact-review publication workflow. Merge readiness⛔ Blocked by patch quality or review findings - 7 items remain Keep open: the prior P1 security blocker remains on the current head—Hermit can still receive a bearer credential over cleartext HTTP. Likely related people: Peter Steinberger (high confidence, recent exact-review publication work) and joshavant (medium confidence, recent authority-chain review work). Priority: P1 Review scores
Verification
How this fits togetherExact-review publication takes a durable GitHub review result and either completes it or schedules recovery work. This change recognizes Endor remediation PRs, persists their clean-review streak, and sends terminal results through Hermit before finalizing publication. flowchart LR
A[Durable GitHub review] --> B[Endor eligibility check]
B --> C[Review convergence state]
C --> D{Three clean reviews?}
D -->|No| E[Queue next exact review]
D -->|Yes| F[Hermit delivery]
F --> G[Durable delivery receipt]
G --> H[Publication completion]
Before merge
Findings
Agent review detailsSecurityNeeds attention: The new credential-bearing Hermit delivery path permits HTTP and can disclose its bearer token and payload. Review metrics
Merge-risk optionsMaintainer options:
Copy recommended automerge instructionTechnical reviewBest possible solution: Require HTTPS-only Hermit origins, add a focused rejection test for Do we have a high-confidence way to reproduce the issue? Yes—source inspection shows that Is this the best way to solve the issue? No—the convergence design can remain, but accepting HTTP is not safe for a credential-bearing delivery path; HTTPS-only validation is the narrow fix. Full review comments:
Overall correctness: patch is incorrect AGENTS.md: found and applied where relevant. Codex review notes: model internal, reasoning high; reviewed against ed20a56037dc. LabelsLabel justifications:
EvidenceSecurity concerns:
Acceptance criteria:
What I checked:
Likely related people:
Rating scale
Overall follows the weaker of proof and patch quality. Workflow
HistoryReview history (1 earlier review cycle)
|
Endor remediation PRs currently receive one normal ClawSweeper review, with no exact-head convergence loop or strict notification fence. A single result cannot prove that the same commit stays clean across fresh reviews, and a delivery failure is not tied to publication completion. This PR requires three consecutive clean reviews on one unchanged head, resets progress after findings or a new commit, and sends the terminal result through Hermit. ClawSweeper completes publication only after it has queued the next review or durably recorded the terminal state and delivery receipt.
Change breakdown
Proof
Before: direct base
After: PR
The controlled proof exercises the exact-review workflow, state files, head revalidation, Hermit request, retry classification, and durable delivery ledger. It does not run a live Endor tenant or send to production Discord because external configuration was deliberately left unchanged.
Linux proof passed 37/37 tests on AWS Crabbox lease
cbx_8b4077021265. The exact rebased head also passes static checks, all builds, lint, and the 37 focused tests on Node 24.18.1.How to verify
pnpm run check:static,pnpm run build:all, andpnpm run linton Node 24 or newer.retryable_failure/hermit_transientwithout a delivery receipt.Implementation notes
This depends on openclaw/hermit#30, which must be deployed first. Then set
CLAWSWEEPER_HERMIT_URLandCLAWSWEEPER_HERMIT_TOKENin ClawSweeper. OpenClaw Bay is unaffected because this adds no public status, data contract, navigation, or controls.