Skip to content

feat(qa): run isolated behavioral proof for inline reviews - #138953

Merged
brokemac79 merged 16 commits into
mainfrom
openclaw/mantis-request-bound-proof-producer
Sep 7, 2026
Merged

brokemac79 merged 16 commits into
mainfrom
openclaw/mantis-request-bound-proof-producer

Conversation

@brokemac79

@brokemac79 brokemac79 commented Sep 5, 2026 •

Copy link
Copy Markdown
Contributor

What Problem This Solves

Supply behavioral observations when ClawSweeper needs them during its original review, without restoring the unconditional post-review step retired by openclaw/clawsweeper#1280.

Requested by @brokemac79 following @obviyus's feedback. Companion consumer: ClawSweeper #1425. The docs-only #140452 updates the command, timing and activation guidance from merged #138210.

Producer head: f838be8f1e04fbca321aa60479f17490c9231aa1; actual merge base: fb90f804f48eff2f74fec25c224b5c65ba2799fc; tree: 6acbc2a81d5662db4dd4e3e14ae3a48cd164302d. This evidence does not claim hosted deployment or activation.

Implementation and User Impact

  • Telegram executes a bounded, data-only PR-specific scenario against a disposable candidate. Credentials remain in the trusted controller/recorder, outside candidate mounts and environment; a restricted bridge exposes only permitted operations and the selected conversation.
  • Existing Convex acquire/heartbeat/release APIs are reused unchanged. No Convex source, schema, API or deployment change is required.
  • Exact request, head, plan, producer and workflow-run identity bind observations. Stopped or expired authority cannot continue authorized sends. Missing observations, stale authority and infrastructure failures remain inconclusive.
  • The original ClawSweeper review judges bounded, redacted observations, including unexpected replies. Automatic selection is normal; @clawsweeper proof remains an override with automatic head resolution. A secondary review is not required.
  • Web UI is the fixed browser chat smoke with a mocked Gateway, not arbitrary UI testing. The observer requires a successful matching chat.send response before injecting the controlled final reply, then rechecks the reply after settling. A rejected response cannot produce successful observation artifacts. The legacy Crabline recipe is not a third automatic tool.
  • Candidate execution uses verified rootless Podman/Crabbox, immutable-image admission, a physically reserved 32 GiB private store, bounded logs, explicit command limits and exact cleanup identities. Distro slirp4netns is verified without relaxing host policy. Candidate CLI shutdown precedes removal of its SSH/workspace state; unconfirmed shutdown remains inconclusive.

The refresh incorporates merged #141075, which corrects the planner test's hosted-tooling classification. This PR does not raise the job cap, rewrite packing policy, omit growth inputs or weaken test timeouts. The only additional producer repair in this refresh is the three-line Web response-success guard found by independent review.

Real Behavior Proof

Claim: the actual producer can prepare an isolated exact-head candidate, exercise its Gateway, rebuild and observe its Control UI, retain request-bound observations and clean up. A failed matching Web response must not be accepted as successful proof.

Environment: one disposable Crabbox provider=aws lease cbx_4f09c4c447df, c7a.8xlarge, AMI ami-0461d919be7deb53c, rootless Podman 5.7.0, slirp4netns 1.3.3, private checksum-verified Crabbox 0.50.0 and a freshly allocated verified 32 GiB store. No instance profile was attached. Host-side transport forwarded CI only; proof controllers used sanitized environments and synthetic external credentials. This substituted for an unavailable local Docker engine, not for missing behavior proof.

Exercised boundary Run Observed result
Fresh physical storage allocation and admission using current helper run_918f4e8c9647 Passed; full32GiB reservation and rootless storage checks, exact cleanup identity retained
Actual sandboxed Web observer before/after failed response, plus accepted controls run_097335ca6c69 Passed: vulnerable observer falsely accepted rejection; repaired observer rejected before final injection/artifacts; accepted controls passed; test containers removed and absence verified
Trusted Telegram image and actual final-head candidate preparation run_3188862a69e1 Passed in12m12.983s, including final-SHA preparation rather than relabeling an older candidate
Actual final-head Gateway/provider/Bot API/recorder exchange run_378529aa413e Passed in1m18.671s: one real Gateway provider request, Bot API reply observed by canonical recorder, three normalized observations and synthetic broker release
Actual final-head rebuilt Control UI through sandboxed observer run_30d65b49c916 Passed in31.850s: actual offline candidate build, accepted chat request, stable final reply and retained screenshot/observation artifacts
Container/network/helper/storage cleanup run_63c566bbe92e Passed: no task containers/networks; actual storage-helper cleanup, loop release and ordinary bind unmount; no new surviving helper identity

The Web regression initially used a transport-only carrier whose tracked tree is identical to the final commit. Its actual observer and canonical mock-helper hashes were checked. The final commit was separately imported and verified, then native controllers were freshly packaged against the same frozen dependencies. Trusted Web image 5494bdc5a45d671c345471d094902a24da5f8a2a6039b788f4d9f6bedc183e24 was retained because its source tree and install inputs are identical; final candidate builds and runtime observations are not relabeled carrier results. Actual final-head Telegram runtime image: 555c08d4963ef1498e7ed285688f37a1c2630f6c009f61bdd4cc4076f8717c2e.

Scenario and commands: the external fixture invokes the actual prepare-request-telegram.mts, run-request-telegram.mts and run-request-web-ui.mts for the full final SHA. One synthetic tester message must reach the real isolated Gateway; its actual provider request and Bot API response drive the canonical recorder. Web proof builds the actual candidate archive offline inside the restricted container, then observes it from a fresh sandboxed Chromium process. The failed-response regression alters only the canonical mock Gateway's existing response seam and records unchanged outbound bytes.

Limits: GitHub/Actions authority, Convex responses, Telegram network service and TDLib's native API are controlled external fixtures. The producer, Gateway, ingress, bridge, recorder, normalizer, Crabbox, Podman and Chromium are real. This is not live Telegram authentication, complete hosted Actions/queue timing, a mixed-version rollout or arbitrary UI coverage. The before/after negative fixture is synthetic HTML; rebuilt-current-UI proof is a separate row above.

The retained screenshot was inspected and shows the rebuilt Control UI's submitted request and stable final reply; its SHA256 matches the observer inventory: 6ec3ae9f13dd48163db6bb3be625c27a7ed34794f2d0fff911fed3e9e9a2f984. Gateway request/reply artifacts were independently read and bind both candidate and harness to the final SHA. Cleanup's original unprivileged census contained one inaccessible pre-existing root helper; late privileged observations corroborated its earlier start and unchanged full identity before/after cleanup. This is not an original privileged baseline.

Evidence archive csw152-f838-evidence-r2.tgz was downloaded in run_a3fe7e911419, SHA256 cead16c5a1608daeba25184c47a0cd9da862359344a5c006dbbab8b8732fc89d (30,716,587 bytes), with matching remote/local hashes and independently read cleanup/workflow status files. The first collection lacked permission to read mapped-UID synthetic traces; the second used read-only privileged collection without changing artifact ownership or permissions. The exact AWS lease was stopped; Crabbox inspection reports state=released, ready=false, cleanupStatus=complete, completed at 2026-09-07T12:24:48.113Z. This is provider-reported cleanup, not an independent EC2 inventory audit.

Historical supplementary proof remains explicitly scoped to its recorded source: actual recorder/status owner-SIGKILL and stale-send refusal (run_254cbd4e80d3); recorder/normalizer/archive/finalizer handling of matching and wrong replies (run_aea267ad4f92); injected bridge-start failure with no tester send or semantic artifact (run_324214665f45); interrupted full-storage setup and ordinary partial cleanup (run_cdff1294b575). These are not substituted for the fresh final-head runs.

Validation and Codex Review

  • Exact committed source tree: all 615 focused Mantis/QA tests and 19 credential-lease tests passed in AWS run run_658d26471151; all explicit phase status files were zero.
  • Final-head planner: all 53 tests passed in AWS run run_53b56d2ee46f on checksum-pinned Node 24.20.0 (118.31s suite duration). The unchanged growth test first passed alone, then the complete suite passed; all explicit statuses were zero. No timeout, cap, source or dependency change was made. The runtime was installed only in a private task directory.
  • Diagnostic context: Docker had already passed the same planner contract on Node 24.20.0. AWS Node 24.18.1 hit the existing 120s growth-case timeout on both repaired tree 6ac and independently reconstructed preceding tree 3608. Aligning the runtime on the same AWS lease produced the passing focused and full results above. Earlier timeouts remain recorded as failures, not cap assertions or passed tests.
  • Changed-file static validation (run_dea3aa93fdf9): formatting, complete typechecking, structural guards and all three unused-export scans passed. Broad lint failed on the unchanged Telegram progress-updates test's existing 1,012-line limit violation. Its file, lint config and lockfile are identical at this head and base fb90; upstream has independently fixed this exact failure in merged #141139 and #141148. This is a recorded baseline failure, not a claim that check:changed passed. No feature change or lint bypass was introduced to hide it.
  • Exact two-workflow validation passed in run_4dc520fee04a: checksum-pinned actionlint and syntax checks for all 24 extracted Bash run blocks. Repository actionlint settings ignore ShellCheck findings; this does not claim standalone ShellCheck, the broader check:workflows suite, rendered-expression behavior or hosted execution.
  • Separate deadcode dependency, unused-file and export checks all passed in run_bc29b66cc055, with zero reported entries; final git diff --check and source cleanliness also passed.
  • Dirty full-branch autoreview against fb90 was scoped-clean through P2 after the accepted response-success finding was repaired and actual browser proof rerun. Committed full 45-path autoreview at f838 is scoped-clean through P2, zero actionable findings, confidence 0.90. Complete input and outgoing-pack TruffleHog scanning and final source verification remained enabled.
node scripts/run-vitest.mjs run test/scripts/mantis-request-proof.test.ts test/scripts/mantis-telegram-failure.test.ts test/scripts/mantis-telegram-proof.test.ts test/scripts/mantis-telegram-qa-proof.test.ts test/scripts/mantis-telegram-storage-cleanup.test.ts test/scripts/mantis-telegram-storage.test.ts test/scripts/test-projects.test.ts test/scripts/check-deadcode-exports.test.ts extensions/qa-lab/src/gateway-rpc-client.test.ts --maxWorkers=2
node --test .agents/skills/telegram-e2e-userbot/scripts/qa-credential-lease.test.mjs
node scripts/run-vitest.mjs run test/scripts/ci-node-test-plan.test.ts --maxWorkers=1
node scripts/check-changed.mjs -- <all 45 actual-base changed paths>
pnpm deadcode:dependencies
pnpm deadcode:unused-files
pnpm deadcode:exports
python .agents/skills/autoreview/scripts/autoreview --mode branch --base fb90f804f48eff2f74fec25c224b5c65ba2799fc --max-priority P2 --prompt <request/authority/isolation context> --dataset .agents/skills/telegram-e2e-userbot/scripts/user-record.py --output <external report> --json-output <external JSON> --stream-engine-output

Review reports: csw152-producer-fb90-dirty-review-r2 and csw152-producer-f838-branch-review. Hosted CI and ClawSweeper assessment remain separate gates, not implied by local proof.

Risks and Rollout

  • The 45-path branch changes no Convex broker schema/source and adds no application database migration. Request plans and observation receipts are request-bound artifacts, not legacy evidence relabeled as authenticated proof. Request-proof tests cover missing, stale, duplicate, oversized and mismatched authority/archive inputs. QA's default null identity and existing admin scope are preserved; the optional ephemeral identity does not write shared state. These are paired consumer/producer contracts, not a claim of mixed-version hosted compatibility.
  • Disposable machines alone are insufficient; credentials, control sockets and unrestricted candidate egress must remain excluded. No production policy or gate was changed.
  • The companion consumer has a 20-minute shared proof ceiling, bounded further by remaining original-review time and its final-decision reserve: at most about 18m30s if invoked immediately, less after analysis. It is not 20 minutes per check or a mandatory wait. Cold preparation, queueing and multiple checks can exhaust this budget and return inconclusive. Consumer timeout does not itself cancel a dispatched producer.
  • Trusted workflows must reach main and the companion Worker/runtime must be deployed before hosted inline execution works. Existing credential-service availability, adequate disk, rootless runtime and GitHub workflow/OAuth permissions remain prerequisites. No Convex deployment is required.
  • This work does not merge, deploy or activate the feature. Current-head CI, fresh ClawSweeper assessment and maintainer-owned hosted rollout verification remain explicit.

Release-note context: selective Telegram and fixed Web UI observations feed the original review, with a simple maintainer-command override.

@clawsweeper

clawsweeper Bot commented Sep 5, 2026 •

Copy link
Copy Markdown
Contributor

🦞👀
ClawSweeper picked this up.

Pull request received. I will update this pull request when review starts.

ClawSweeper review complete

ClawSweeper finished reviewing this revision. The review result is being finalized.

View the workflow run.

@openclaw-barnacle openclaw-barnacle Bot added scripts Repository scripts size: XL maintainer Maintainer-authored PR labels Sep 5, 2026
@clawsweeper clawsweeper Bot added rating: 🦪 silver shellfish Thin PR readiness signal; proof, validation, or implementation needs work. status: 📣 needs proof The PR needs real behavior proof before ClawSweeper can clear the contributor ask. P2 Normal backlog priority with limited blast radius. merge-risk: 🚨 compatibility 🚨 May break existing users, config, migrations, defaults, or upgrade paths. merge-risk: 🚨 security-boundary 🚨 May affect sandboxing, authorization, credentials, or sensitive data. labels Sep 5, 2026
@clawsweeper

clawsweeper Bot commented Sep 5, 2026 •

Copy link
Copy Markdown
Contributor

Codex review: blocked before merge. Reviewed September 7, 2026, 8:34 AM ET / 12:34 UTC.

ClawSweeper review

What this changes

Adds isolated Telegram scenarios and browser chat checks that return request-bound observations to the originating ClawSweeper review.

Merge readiness

⛔ Blocked before merge - 3 items remain

This remains a useful, distinct implementation absent from current main. No concrete introduced defect was found; the maintainer-protected PR should remain open.

Priority: P2
Reviewed head: f838be8f1e04fbca321aa60479f17490c9231aa1

Review scores

Measure Result What it means
Overall readiness 🐚 platinum hermit (4/6) Useful, well-supported producer work with no identified blocking defect and clearly stated deployment limits.
Proof confidence 🦞 diamond lobster (5/6) ✨ media proof bonus Sufficient (linked_artifact): The supplied final-head AWS evidence exercises actual preparation, Gateway exchange, recorder normalization, sandboxed Chromium observation, and cleanup, including a failed-response negative control; historical owner-death and stale-send evidence remains separately scoped. This supports the isolated producer, not hosted activation or live Telegram authentication.
Patch quality 🐚 platinum hermit (4/6) No actionable review findings were identified.

Verification

Check Result Evidence
Real behavior Verified Sufficient (linked_artifact): The supplied final-head AWS evidence exercises actual preparation, Gateway exchange, recorder normalization, sandboxed Chromium observation, and cleanup, including a failed-response negative control; historical owner-death and stale-send evidence remains separately scoped. This supports the isolated producer, not hosted activation or live Telegram authentication.
Evidence reviewed 10 items Pinned introduction and clean checkout: Reviewed the host-pinned base-to-head introduction at f838be8. The whitespace check passed and the checkout remained clean. The stale test merge was not used to attribute base-branch removals.
Still necessary on current main and release: The requested controller and receipt implementation are absent from fetched main; the receipt implementation is also absent from v2026.9.2. The related merged documentation and CI fixes do not implement this producer.
Authority and credential isolation: The controller supplies an alias-only candidate configuration, keeps credentials and recorder state outside candidate mounts, refreshes review authorization, checks authority before forwarding, and verifies candidate shutdown before releasing the credential lease. The ingress limits destinations, methods, message identities, and request budgets.
Findings None None.
Security None None.

How this fits together

Mantis supplies behavioral evidence for OpenClaw reviews. Trusted controllers run selected candidate code in isolation, capture observations, and return verified evidence for ClawSweeper to assess.

flowchart LR
  A[Review request and candidate] --> B[Trusted workflow admission]
  B --> C[Isolated candidate]
  D[Bounded scenario] --> C
  C --> E[Trusted recorder or browser]
  E --> F[Artifact identity verification]
  F --> G[Original review assessment]
Loading

Before merge

  • Resolve merge risk (P1) - Hosted producer/consumer activation and queue timing remain unproven; enabling selection before the endpoint, protected workflow pin, and runner prerequisites are ready could yield admission failures or inconclusive results.
  • Resolve merge risk (P1) - This review could not independently reopen the evidence archive or inspect the pinned consumer authorization blobs; its cross-repository assurance is limited to the supplied audit context.
  • Add data-model compatibility proof - Confirm migration or upgrade compatibility proof before merge.
Agent review details

Security

None.

PR surface

Source +6, Tests +2257, Docs +49, Config +407, Other +4492. Total +7211 across 45 files.

View PR surface stats
Area Files Added Removed Net
Source 1 8 2 +6
Tests 13 2258 1 +2257
Docs 1 49 0 +49
Config 2 408 1 +407
Generated 0 0 0 0
Other 28 4504 12 +4492
Total 45 7227 16 +7211

Review metrics

Metric Value Why it matters
Production versus test growth Production/tooling +4,905 net lines; tests/support +2,257; docs +49 The substantial tooling growth implements separate admission, isolation, observation, and finalization owners, with explicit operational justification in the PR.

Stored data model

Persistent data-model change detected: serialized state: scripts/mantis/finalize-request-proof.mts, serialized state: scripts/mantis/observe-request-web-ui.mts, serialized state: scripts/mantis/run-request-telegram-qa.mts, serialized state: scripts/mantis/run-request-telegram.mts, serialized state: scripts/mantis/run-request-web-ui.mts, serialized state: scripts/mantis/telegram-proof-storage.mts, and 6 more. Confirm migration or upgrade compatibility proof before merge.

Merge-risk options

Maintainer options:

  1. Stage activation separately (recommended)
    Land through normal gates while keeping automatic selection inactive until coordinated consumer deployment and hosted acceptance confirm usable request-bound receipts.

Technical review

Best possible solution:

Retain the isolated producer and coordinate activation with the companion consumer, preserving inconclusive outcomes until hosted acceptance establishes the complete path.

Do we have a high-confidence way to reproduce the issue?

Not applicable to the feature request; the supplied evidence separately describes a concrete before/after reproduction of failed browser responses being accepted as proof.

Is this the best way to solve the issue?

Yes for the producer boundary: it reuses existing recorder, broker, browser, and QA contracts while separating candidate execution from evidence authority.

AGENTS.md: found and applied where relevant.

Codex review notes: model internal, reasoning medium; reviewed against ff40e82cbde8.

Labels

Label justifications:

  • P2: This is a bounded improvement to maintainer review evidence, without an established urgent production regression.
  • merge-risk: 🚨 automation: The new dispatch and receipt paths depend on coordinated consumer deployment and hosted runner prerequisites that isolated proof does not establish.
  • rating: 🐚 platinum hermit: Overall readiness is 🐚 platinum hermit; proof is 🦞 diamond lobster and patch quality is 🐚 platinum hermit.
  • status: 👀 ready for maintainer look: ClawSweeper has no concrete contributor-facing blocker left for this PR. Sufficient (linked_artifact): The supplied final-head AWS evidence exercises actual preparation, Gateway exchange, recorder normalization, sandboxed Chromium observation, and cleanup, including a failed-response negative control; historical owner-death and stale-send evidence remains separately scoped. This supports the isolated producer, not hosted activation or live Telegram authentication.
  • proof: sufficient: Contributor real behavior proof is sufficient. The supplied final-head AWS evidence exercises actual preparation, Gateway exchange, recorder normalization, sandboxed Chromium observation, and cleanup, including a failed-response negative control; historical owner-death and stale-send evidence remains separately scoped. This supports the isolated producer, not hosted activation or live Telegram authentication.

Evidence

What I checked:

  • Pinned introduction and clean checkout: Reviewed the host-pinned base-to-head introduction at f838be8. The whitespace check passed and the checkout remained clean. The stale test merge was not used to attribute base-branch removals. (f838be8f1e04)
  • Still necessary on current main and release: The requested controller and receipt implementation are absent from fetched main; the receipt implementation is also absent from v2026.9.2. The related merged documentation and CI fixes do not implement this producer. (scripts/mantis/request-proof.ts, ff40e82cbde8)
  • Authority and credential isolation: The controller supplies an alias-only candidate configuration, keeps credentials and recorder state outside candidate mounts, refreshes review authorization, checks authority before forwarding, and verifies candidate shutdown before releasing the credential lease. The ingress limits destinations, methods, message identities, and request budgets. (scripts/mantis/run-request-telegram.mts:287, f838be8f1e04)
  • Browser response-success repair: The observer marks a matching unsuccessful chat response as a protocol error and rejects it before injecting the final reply or writing success observations. Chromium sandboxing remains enabled, and candidate assets are served from bounded regular files. (scripts/mantis/observe-request-web-ui.mts:139, f838be8f1e04)
  • Proof identity and reported runtime results: The captured PR body, SHA256 56d71642a3c1d230bf3313d95c88fa770a858c52d4fea4595ddbabd8e4b7a433, reports final-head AWS runs through actual candidate preparation, Gateway/provider/Bot API/recorder exchange, rebuilt Control UI observation, and cleanup. It separately records rejection-response before/after proof and historical owner-death/stale-send checks. External services and TDLib's native API were controlled fixtures; hosted activation and live Telegram authentication were expressly excluded. The linked archive could not be reopened here, and 2,618 body units remain unavailable; neither limitation establishes missing contributor proof. (f838be8f1e04)
  • Prior-review continuity: The workflow routing expectation now includes both request-proof and Telegram-proof suites. Git tree identities show that the Telegram controller and ingress are byte-identical to the preceding reviewed head. Historical observer diff inspection failed because its older blob could not be fetched; no late finding or inferred removal is asserted. (test/scripts/test-projects.test.ts:1415, f838be8f1e04)

Likely related people:

  • Ayaan Zaidi: Suggested for follow-up; no historical authorship or introduction is verified. (role: unverified routing candidate; confidence: low)
  • Peter Steinberger: Suggested for follow-up; no historical authorship or introduction is verified. (role: unverified routing candidate; confidence: low)

Rating scale

Score Internal tier Crab rank Meaning
6/6 S 🦀 challenger crab Exceptional readiness
5/6 A 🦞 diamond lobster Very strong readiness
4/6 B 🐚 platinum hermit Good normal PR; ordinary maintainer review
3/6 C 🦐 gold shrimp Useful, but confidence is limited
2/6 D 🦪 silver shellfish Proof or implementation needs work
1/6 F 🧂 unranked krab Not merge-ready
N/A NA 🌊 off-meta tidepool Rating does not apply

Overall follows the weaker of proof and patch quality.
Shiny media proof means a screenshot, video, or linked artifact directly shows the changed behavior. Runtime, network, CSP, and security claims still need visible diagnostics.

Workflow

  • ClawSweeper keeps one durable marker-backed review comment per issue or PR.
  • Re-runs edit this comment so the latest verdict, findings, and automation markers stay together instead of adding duplicate bot comments.
  • A fresh review can be triggered by eligible @clawsweeper re-review comments, exact-item GitHub events, scheduled/background review runs, or manual workflow dispatch.
  • PR/issue authors and users with repository write access can comment @clawsweeper re-review or @clawsweeper re-run on an open PR or issue to request a fresh review only.
  • Maintainers can also comment @clawsweeper review to request a fresh review only.
  • Fresh-review commands do not start repair, autofix, rebase, CI repair, or automerge.
  • Maintainer-only repair and merge flows require explicit commands such as @clawsweeper autofix, @clawsweeper automerge, @clawsweeper fix ci, or @clawsweeper address review.
  • Maintainers can comment @clawsweeper explain to ask for more context, or @clawsweeper stop to stop active automation.

History

Review history (13 earlier review cycles; latest 8 shown)
  • reviewed 2026-09-05T21:01:59.454Z sha 2f0c12b :: blocked before merge. :: none
  • reviewed 2026-09-05T21:23:11.446Z sha 024d058 :: blocked before merge. :: none
  • reviewed 2026-09-05T21:50:59.906Z sha 024d058 :: blocked before merge. :: none
  • reviewed 2026-09-05T23:32:02.190Z sha ac9eb37 :: blocked before merge. :: none
  • reviewed 2026-09-06T18:53:12.192Z sha 97318e8 :: blocked before merge. :: none
  • reviewed 2026-09-06T20:25:06.443Z sha 97318e8 :: blocked before merge. :: [P2] Wire the expected proof suite into workflow test routing
  • reviewed 2026-09-06T20:50:38.872Z sha 72ace9d :: blocked before merge. :: none
  • reviewed 2026-09-06T21:29:07.304Z sha 72ace9d :: blocked before merge. :: none

@brokemac79
brokemac79 force-pushed the openclaw/mantis-request-bound-proof-producer branch from 4240c31 to ce7aac8 Compare September 5, 2026 13:10
@clawsweeper clawsweeper Bot added rating: 🦐 gold shrimp Decent PR readiness signal, but merge confidence is limited. and removed rating: 🦪 silver shellfish Thin PR readiness signal; proof, validation, or implementation needs work. labels Sep 5, 2026
@brokemac79
brokemac79 marked this pull request as ready for review September 5, 2026 19:13
@brokemac79

Copy link
Copy Markdown
Contributor Author

@clawsweeper re-review

@clawsweeper

clawsweeper Bot commented Sep 5, 2026 •

Copy link
Copy Markdown
Contributor

🦞🧹
ClawSweeper re-review requested.

I asked ClawSweeper to review this item again.
Action: item re-review queued (workflow sweep.yml, event exact_review_queue).
Result: when the review finishes, ClawSweeper will create the durable review comment if needed or update the existing comment in place.

Re-review progress:

@clawsweeper clawsweeper Bot added proof: sufficient ClawSweeper judged the real behavior proof convincing. rating: 🐚 platinum hermit Good normal PR readiness with ordinary maintainer review expected. status: 👀 ready for maintainer look ClawSweeper has no concrete contributor-facing blocker left for this PR. and removed rating: 🦐 gold shrimp Decent PR readiness signal, but merge confidence is limited. merge-risk: 🚨 security-boundary 🚨 May affect sandboxing, authorization, credentials, or sensitive data. status: 📣 needs proof The PR needs real behavior proof before ClawSweeper can clear the contributor ask. labels Sep 5, 2026
@brokemac79

Copy link
Copy Markdown
Contributor Author

@clawsweeper re-review

@clawsweeper

clawsweeper Bot commented Sep 5, 2026 •

Copy link
Copy Markdown
Contributor

🦞🧹
ClawSweeper re-review requested.

I asked ClawSweeper to review this item again.
Action: item re-review queued (workflow sweep.yml, event exact_review_queue).
Result: when the review finishes, ClawSweeper will create the durable review comment if needed or update the existing comment in place.

Re-review progress:

@brokemac79

Copy link
Copy Markdown
Contributor Author

@clawsweeper re-review

@clawsweeper

clawsweeper Bot commented Sep 5, 2026 •

Copy link
Copy Markdown
Contributor

🦞🧹
ClawSweeper re-review requested.

I asked ClawSweeper to review this item again.
Action: item re-review queued (workflow sweep.yml, event exact_review_queue).
Result: when the review finishes, ClawSweeper will create the durable review comment if needed or update the existing comment in place.

Re-review progress:

@clawsweeper clawsweeper Bot added rating: 🦐 gold shrimp Decent PR readiness signal, but merge confidence is limited. status: ⏳ waiting on author ClawSweeper has contributor-facing work open and is waiting for author action. and removed status: 👀 ready for maintainer look ClawSweeper has no concrete contributor-facing blocker left for this PR. labels Sep 6, 2026
@brokemac79

Copy link
Copy Markdown
Contributor Author

@clawsweeper re-review

@clawsweeper

clawsweeper Bot commented Sep 6, 2026 •

Copy link
Copy Markdown
Contributor

🦞🧹
ClawSweeper re-review requested.

I asked ClawSweeper to review this item again.
Action: item re-review queued (workflow sweep.yml, event exact_review_queue).
Result: when the review finishes, ClawSweeper will create the durable review comment if needed or update the existing comment in place.

Re-review progress:

@clawsweeper clawsweeper Bot added rating: 🐚 platinum hermit Good normal PR readiness with ordinary maintainer review expected. status: 👀 ready for maintainer look ClawSweeper has no concrete contributor-facing blocker left for this PR. and removed rating: 🦐 gold shrimp Decent PR readiness signal, but merge confidence is limited. status: ⏳ waiting on author ClawSweeper has contributor-facing work open and is waiting for author action. labels Sep 6, 2026
@brokemac79

Copy link
Copy Markdown
Contributor Author

@clawsweeper re-review

@clawsweeper

clawsweeper Bot commented Sep 6, 2026 •

Copy link
Copy Markdown
Contributor

🦞🧹
ClawSweeper re-review requested.

I asked ClawSweeper to review this item again.
Action: item re-review queued (workflow sweep.yml, event exact_review_queue).
Result: when the review finishes, ClawSweeper will create the durable review comment if needed or update the existing comment in place.

Re-review progress:

@openclaw-barnacle openclaw-barnacle Bot added the docs Improvements or additions to documentation label Sep 7, 2026
@brokemac79

Copy link
Copy Markdown
Contributor Author

@clawsweeper re-review

@clawsweeper

clawsweeper Bot commented Sep 7, 2026 •

Copy link
Copy Markdown
Contributor

🦞🧹
ClawSweeper re-review requested.

I asked ClawSweeper to review this item again.
Action: item re-review queued (workflow sweep.yml, event exact_review_queue).
Result: when the review finishes, ClawSweeper will create the durable review comment if needed or update the existing comment in place.

Re-review progress:

@brokemac79
brokemac79 merged commit a960844 into main Sep 7, 2026
196 checks passed
@brokemac79
brokemac79 deleted the openclaw/mantis-request-bound-proof-producer branch September 7, 2026 13:09
@brokemac79

Copy link
Copy Markdown
Contributor Author

Merged via squash.

github-actions Bot pushed a commit to Desicool/openclaw that referenced this pull request Sep 8, 2026
…138953)

* feat(telegram): add isolated Test Server proof workflow

Add maintainer-only exact-head admission, durable at-most-once QA lease consumption, isolated candidate execution, and normalized trusted Telegram Test Server observations.

Co-authored-by: brokemac79 <[email protected]>

* feat(proof): bind named Web UI and canonical Telegram QA evidence

Reuse the existing formatting QA recipe, preserve isolated exact-candidate execution and produce the consumer request-bound receipt. Keep named smoke scenarios distinct and protect stationary harness ancestry.

Co-authored-by: brokemac79 <[email protected]>

* fix(proof): complete isolated QA execution and bounded failure capture

Reuse canonical ephemeral device pairing and QA RPC scopes, preserve strict startup probes and recorder locks, and retain bounded wrong-text attempts without Telegram delivery.

Co-authored-by: brokemac79 <[email protected]>

* fix(mantis): revoke proof forwarding and enforce lease roles

* fix(mantis): close proof producer CI gates

* test(mantis): consolidate related proof suites within CI budget

* test(mantis): preserve fast QA ownership when grouping integration cases

* fix(mantis): accept exact branch-qualified workflow paths

* fix(mantis): align live admission workflow path checks

* feat(mantis): collect selected proof inside the originating review

* fix(mantis): bound proof storage and preserve failure evidence

Reuse verified storage across request-bound candidates, reserve backing capacity, retain sanitized rejection evidence, and repair cleanup and observation finalization. Scoped checks and dirty review pass; full Gateway and sandboxed browser runtime proof remain required before publication.

* fix(mantis): retain bridge identity before startup

* fix(mantis): keep candidate config readable under private umask

* fix(qa): use verified rootless networking and join candidate shutdown

* fix(qa): repair proof tooling checks and deterministic recorder fixture

---------

Co-authored-by: brokemac79 <[email protected]>
steipete added a commit that referenced this pull request Sep 18, 2026
Slack's connected identity-health test could fail an assertion before settling its mocked auth request, leaving monitor shutdown blocked until the teardown timeout. Synchronize on recovery entry and provider readiness, and always settle the request before joining shutdown in finally. Preserve degraded/workspace identity, delivery admission, auth call-count, ready-status, and released-state assertions.

This is an internal validation repair: no OpenClaw runtime or update behavior changes, migrations, or operator actions. The related Telegram QA typing repair is already on main via #151632; the final diff contains only the Slack test change (0 production LOC; tests +35/-24).

Validation: exact-head CI run 35329065686 completed successfully with 46 jobs; the native watcher returned GREEN without reruns. Recorded Slack proof passed 3,083 tests across 167 files, including all 27 auth-test cases. Fault injection reproduced the old teardown hang and showed restored cleanup finishing in 699 ms with only the injected assertion error. The review of record is scoped-clean, and ClawSweeper found no actionable issues on the exact head.

Related: #151427, #138953, #151645, #151632.
github-actions Bot pushed a commit to Desicool/openclaw that referenced this pull request Sep 19, 2026
…1641)

Slack's connected identity-health test could fail an assertion before settling its mocked auth request, leaving monitor shutdown blocked until the teardown timeout. Synchronize on recovery entry and provider readiness, and always settle the request before joining shutdown in finally. Preserve degraded/workspace identity, delivery admission, auth call-count, ready-status, and released-state assertions.

This is an internal validation repair: no OpenClaw runtime or update behavior changes, migrations, or operator actions. The related Telegram QA typing repair is already on main via openclaw#151632; the final diff contains only the Slack test change (0 production LOC; tests +35/-24).

Validation: exact-head CI run 35329065686 completed successfully with 46 jobs; the native watcher returned GREEN without reruns. Recorded Slack proof passed 3,083 tests across 167 files, including all 27 auth-test cases. Fault injection reproduced the old teardown hang and showed restored cleanup finishing in 699 ms with only the injected assertion error. The review of record is scoped-clean, and ClawSweeper found no actionable issues on the exact head.

Related: openclaw#151427, openclaw#138953, openclaw#151645, openclaw#151632.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

docs Improvements or additions to documentation extensions: qa-lab maintainer Maintainer-authored PR merge-risk: 🚨 automation 🚨 May affect CI, automerge, proof capture, label sync, or maintainer automation. P2 Normal backlog priority with limited blast radius. proof: sufficient ClawSweeper judged the real behavior proof convincing. rating: 🐚 platinum hermit Good normal PR readiness with ordinary maintainer review expected. scripts Repository scripts size: XL status: 👀 ready for maintainer look ClawSweeper has no concrete contributor-facing blocker left for this PR.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants