Repository navigation
feat(repair): enable leased Telegram E2E proof - #1281
Conversation
|
🦞👀 Pull request received. I will update this pull request when review starts. |
|
Codex review: needs real behavior proof before merge. Reviewed August 28, 2026, 8:05 AM ET / 12:05 UTC. ClawSweeper reviewWhat this changesThis branch replaces Telegram Mantis routing with a Telegram E2E-proof label, migrates legacy labels, and passes QA lease-broker settings to OpenClaw repair workers. Merge readiness⛔ Blocked until real behavior proof is added - 7 items remain Keep open: the new label is not consumed by repair execution, and the introduced workflow supplies the QA broker secret to every executing OpenClaw repair rather than a label-gated Telegram proof action. Priority: P1 Review scores
Verification
How this fits togetherClawSweeper labels PR proof needs, then its repair workflow runs Codex against selected target repositories. This change connects Telegram proof labeling, the repair worker environment, and dashboard proof-triage views. flowchart LR
A[PR review result] --> B[Telegram proof label]
B --> C[Repair workflow]
C --> D[OpenClaw target check]
D --> E[Codex repair session]
E --> F[QA lease broker]
B --> G[Dashboard proof view]
Before merge
Findings
Agent review detailsSecurityNeeds attention: The introduced workflow broadens access to a QA lease credential beyond a proven Telegram-proof authority boundary. Review metrics
Merge-risk optionsMaintainer options:
Technical reviewBest possible solution: Persist and validate a dedicated Telegram E2E proof action, inject the broker capability only for that action, and prove both allowed broker recovery and denial of an unrelated repair before any broker request. Do we have a high-confidence way to reproduce the issue? Yes, from source: an unrelated eligible OpenClaw repair follows the same workflow condition and inherits the broker variables into Codex. A controlled runtime trace is still needed to demonstrate broker denial before I/O. Is this the best way to solve the issue? No. The label migration is incomplete until a validated proof action consumes it and credential delivery is limited to that action. Full review comments:
Overall correctness: patch is incorrect AGENTS.md: found and applied where relevant. Codex review notes: model internal, reasoning high; reviewed against d56daf07f0c3. LabelsLabel justifications:
EvidenceSecurity concerns:
What I checked:
Likely related people:
Rank-up movesOptional improvements that raise the rating; they are not merge blockers.
Rating scale
Overall follows the weaker of proof and patch quality. Workflow
HistoryReview history (3 earlier review cycles)
|
Summary
proof: telegram-e2eand the repository skill.Depends on openclaw/openclaw#131715.
Authority boundary
OpenClaw execution workers intentionally receive the Convex CI lease credential. This is required so an agent can use the repository Telegram skill freely while it investigates any OpenClaw pull request. The worker is the trusted boundary; there is no scenario planner, proof daemon, protected socket, or fixed-command broker.
The credential grants access only to the QA lease broker. The broker returns Telegram Test Server fixtures under exclusive, expiring leases. It does not grant production Telegram access. The workflow does not expose the credential to non-OpenClaw targets or other workflow steps. Target validation commands still run with secrets removed.
Label cutover
The synchronization path treats
mantis: telegram-visible-proofas a migration-only legacy label. It addsproof: telegram-e2ewhen proof is still required, then removes the old label. It removes the old label without replacement when proof is no longer required.Source-revision guards ignore both bot-owned names during the migration, so cleanup cannot invalidate an existing trusted review command. The dashboard reads both names until synchronization has migrated the remaining pull requests.
Validation
git diff --checkpassed.The dependent OpenClaw branch passed a live 10-worker Test Server run: 10 replies, 10 provider requests, and zero leftover leases or processes. The ClawSweeper deployment must land first so those workers can discover and use the repository skill.
OpenClaw Bay is not affected. This changes worker environment and proof routing, not Bay data or controls.