Repository navigation
docs(mantis): clarify inline proof commands and activation - #140452
Conversation
|
🦞👀 Pull request received. I will update this pull request when review starts. ClawSweeper review completeClawSweeper finished reviewing this revision. The review result is being finalized. |
|
@clawsweeper review |
|
🦞🧹 I asked ClawSweeper to review this item again. Re-review progress:
|
|
Codex review: blocked before merge. Reviewed September 7, 2026, 8:34 AM ET / 12:34 UTC. ClawSweeper reviewWhat this changesUpdates the Mantis guide with inline proof command examples, deployment prerequisites, supported scenarios, and shared review time limits. Merge readiness⛔ Blocked before merge - 1 item remains Keep open as a useful documentation update with no actionable findings. Current main still contains the older guidance; the supplied source excerpts and supplemental audit support the clarification without claiming hosted activation. Priority: P3 Review scores
Verification
How this fits togetherMantis runs focused QA scenarios and produces observations for PR review. ClawSweeper evaluates those observations separately from workflow execution and merge readiness. flowchart LR
A[Maintainer proof request] --> B[Original PR review]
B --> C[Select supported checks]
C --> D[Deployed proof workflows]
D --> E[Bounded observations]
E --> B
B --> F[Review decision]
Before merge
Agent review detailsSecurityNone. PR surfaceDocs +30. Total +30 across 1 file. View PR surface stats
Review metricsNone. Merge-risk optionsMaintainer options:
Technical reviewBest possible solution: Keep command examples beside explicit activation prerequisites, shared time limits, and the distinction between observations and readiness decisions. Do we have a high-confidence way to reproduce the issue? Not applicable: this PR corrects documentation, and the older guidance is directly visible on current main. Is this the best way to solve the issue? Yes: updating the existing guide preserves one documentation path and clearly separates proposed integration behavior from deployment. AGENTS.md: found and applied where relevant. Codex review notes: model internal, reasoning medium; reviewed against af78186c6c55. LabelsLabel justifications:
EvidenceWhat I checked:
Likely related people:
Rating scale
Overall follows the weaker of proof and patch quality. Workflow
History |
|
@clawsweeper re-review |
|
🦞🧹 I asked ClawSweeper to review this item again. Re-review progress:
|
|
@clawsweeper re-review |
|
🦞🧹 I asked ClawSweeper to review this item again. Re-review progress:
|
|
Merged via squash.
|
What Problem This Solves
The Mantis page still calls command integration future work and lists automatic selection as an open question. That conflicts with the paired request-bound implementation in ClawSweeper #1425 and OpenClaw #138953.
Related: merged #138210. This follows @brokemac79's request and @obviyus's feedback to make useful proof available inside the original review.
Why This Change Was Made
Correct the operator-facing instructions without adding more changes to the producer PR. The producer already adds a detailed later section about isolation and observations; this separate, non-overlapping patch supplies command, activation and timing guidance.
User Impact
@clawsweeper mantisis not a typed dispatch command.@clawsweeper proofoverride and either/both supported scenario selections, with automatic current-head resolution.Evidence
Scope is one English Markdown page only. No runtime, tests, workflow, database/schema, navigation, generated/localized docs or
CHANGELOG.mdchanges.Documentation proof: compared live merged/current-main page blob
38b736cccb9cdb41d6cc79927888d87b802ef5adwith consumerd405f24703ad7a7fc1539d06304faefdd98ebe8dcommand parser/prompt/budget and the then-current producer72ace9d87d5002fed4828b811ecb4f01ca6284b1, plus both live PR bodies. The final reviewed and published producer revision is nowf838be8f1e04fbca321aa60479f17490c9231aa1. An independent combined-patch audit found no contradictory claims or overlapping edits with the producer's later detailed section.Executed on Node 24.19.0 using the dependency-ready checkout's repository tooling against the exact edited page:
No new headings, internal links, config fences or navigation routes are introduced. Both external PR links were inspected live. English remains the source of truth; translations are generated in the separate docs publish repository.
Codex reviews are scoped-clean through P2, zero actionable findings: dirty review confidence 0.97; committed-branch review confidence 0.98 at
7f5e0d0b84e6ce5442b43b848acc67b0aff1351a, base1fde67b08a4e8426474a46acd9ea968e300f8872. Commands:python .agents/skills/autoreview/scripts/autoreview --mode local --max-priority P2 --prompt <paired source context>before commit, then--mode branch --base 1fde67b08a4e8426474a46acd9ea968e300f8872 --max-priority P2after commit. Full scanning and final source verification stayed enabled. Source/mirror trees and complete binary branch diff matched; no findings required edits.git merge-tree --write-tree <docs-head> 72ace9d87d5002fed4828b811ecb4f01ca6284b1also passed, proving the docs changes combined without conflict with that historical producer head. This historical merge-tree check is not a claim of fresh merge compatibility with the final producer revision.Risks and Rollout
Pinned consumer source verification
The first ClawSweeper review could not retrieve the companion repository's blobs. To make the cross-repository evidence inspectable here, the following excerpts were checked against the GitHub Contents API at exact consumer revision
d405f24703ad7a7fc1539d06304faefdd98ebe8d; every returned blob SHA matched the local Git object, not a stale web-search result.Command parser (blob
50a85f20dc72172815594384d4a2a4686250e01e):Its supported list is
["web-ui-chat-proof", "telegram-bot-e2e-proof"];selection === "auto"returns both as available options. Admission setsconst scenarioId = match[1] ?? "auto"andconst headSha = match[2] ?? input.currentHeadSha, rejecting a supplied SHA that differs from the current PR head. The review prompt says to select useful supported checks in auto mode; explicit mode says to attempt each requested supported check and explain unavailable/inconclusive selections. Both use observations in that review's final decision and explicitly forbid enqueueing another review.Shared ceiling (blob
161fd310c29f66220c8d4c40078fde0855736df3):Original review bound (blob
733f4a2f899aa5754d2c293baa0a62b3cf157b13):The worker defines
reviewDeadline = Date.now() + options.timeoutMsonce and usesAbortSignal.timeout(remainingProofMs)for proof. Default review timeout (blob84278c4602d9fdaabfca98a9b162f11337264aa0) isDEFAULT_REVIEW_CODEX_TIMEOUT_MS = 1_200_000. Thus immediate proof has at most1_200_000 - 90_000 = 1_110_000ms, or 18m30s, less elapsed analysis. These exact-source checks resolve the review's source-access question; they do not claim deployment.Complete-source follow-up
A supplemental read-only audit read the complete exact-consumer
proof-command.ts,codex-app-server-worker.ts, andreview-proof-client.ts, plus the relevant router, execution and timeout wiring, atd405f24703ad7a7fc1539d06304faefdd98ebe8d. This closes the remaining local source-inspection gap identified by review5562250553; it does not claim that the reviewing service itself has regained source access or that its needs-human status has been cleared.The audit confirmed all four documented command forms, automatic current-head capture, explicit scenario restriction, tool results returned to the active original review turn, the shared ceiling and final-decision reserve, and consumer cancellation limited to its HTTP wait. It also compared the producer documentation and existing credential-lease integration in staged tree
3608c96829a8fc3a936bbc21f282f7f5c964237b; no contradictory or overlapping documentation changes were found. The final reviewed and published producer commitf838be8f1e04fbca321aa60479f17490c9231aa1resolves to tree6acbc2a81d5662db4dd4e3e14ae3a48cd164302d. Its only difference from the audited tree is a three-line Web UI observer check marking a non-success send response as a protocol error; documentation and credential integration are unchanged. Freshgit merge-tree --write-tree 7f5e0d0b84e6ce5442b43b848acc67b0aff1351a f838be8f1e04fbca321aa60479f17490c9231aa1passed, producing tree79dc065da865c794f8766838a3dc9737f756f29fwithout changing either branch.The existing Convex credential service remains necessary, but its APIs are reused without a Convex schema/API deployment or new broker credential. Coordinated producer workflow and consumer Worker/runtime deployment, followed by hosted verification, remain separate requirements. No rollout was executed by this documentation audit. It supplies source/prose verification, not live Telegram proof, hosted latency measurements, new runtime proof, or merge authorization.
This validates prose/source accuracy and MDX/formatting, not hosted activation, live Telegram or end-to-end latency. It must remain clear that the paired workflows/runtime need deployment. The existing producer PR retains the detailed execution boundaries; neither docs PR is a deployment or merge authorization.
Release-note context: clarify how selective inline proof is requested, bounded and activated.