Skip to content

feat(qa): standalone Telegram Desktop recorder with a prebaked desktop image - #125186

Merged
obviyus merged 17 commits into
mainfrom
feat/mantis-telegram-desktop-recorder
Aug 19, 2026
Merged

obviyus merged 17 commits into
mainfrom
feat/mantis-telegram-desktop-recorder

Conversation

@obviyus

@obviyus obviyus commented Aug 17, 2026 •

Copy link
Copy Markdown
Collaborator

What Problem This Solves

Recording native Telegram Desktop for OpenClaw proof runs meant bootstrapping a fresh cloud desktop every session: ~20 apt packages, a Telegram Desktop download, and a TDLib download per lease, roughly 3–4 minutes of setup that also raced Ubuntu's unattended-upgrades (Could not get lock /var/lib/dpkg/lock-frontend killed two of the last five Mantis Telegram runs outright). Every consumer that wants a Telegram Desktop recording paid that cost and inherited that flakiness.

Why This Change Was Made

Ship the desktop as a prebaked image and the recording as a standalone tool, so callers spend their time on the turn under test instead of on setup.

  • scripts/mantis/telegram-desktop-image/Dockerfile + build-telegram-desktop-image.sh: a digest-pinned Ubuntu base with checksum-pinned Telegram Desktop 7.0.9 (updater removed, version marker written) plus the XFCE/Xvfb/capture tooling a lease would otherwise install. Selected through CRABBOX_LOCAL_CONTAINER_IMAGE; a ready desktop in 11.8 s, with zero apt work per lease.
  • scripts/e2e/telegram-desktop-recorder.ts (pnpm qa:telegram-desktop-recorder): start | view | screenshot | stop | status. It records and nothing else — it never drives OpenClaw or sends Telegram messages. start leases a desktop (--provider docker locally; --provider aws selects a Crabbox catalog-only variant image where one is published), preflights the image contract and fails fast rather than installing anything, launches Telegram, gets it authorized by handing the QR to the caller's own TDLib driver (--user-driver … confirm-qr), pins the chat pane, and starts x11grab. stop produces the motion-trimmed MP4/GIF plus a crop taken from the window geometry measured at record time, terminates the Desktop authorization, and releases the box.
  • scripts/e2e/telegram-desktop-crabbox.ts: ssh/scp/inspect/preview/crop helpers extracted from telegram-user-crabbox-proof.ts (4100 → 3546 LOC) and shared; that runner's behavior is unchanged apart from one fix below.

Scope: this PR ships the tool and the image. Nothing in this repository invokes the recorder yet — the Mantis Telegram Desktop Proof workflow still runs its container-based proof runner. Routing that workflow (and its dual-worktree build) through the recorder is a follow-up, where it can get its own live proof.

User Impact

Anyone needing a native Telegram Desktop recording — a maintainer at a terminal, or an external E2E driver — gets a ready desktop in ~12 s and a cropped, motion-trimmed GIF of the real client, with no per-lease installs and no coordinator admin required for the local path.

Evidence

Live end-to-end drive through an external Telegram userbot driver (leases the shared QA Telegram user, starts a SUT gateway + mock provider from this checkout, boots the desktop, QR-authorizes through the caller's TDLib, sends a real turn, records): exit 0, cleanupErrors: null, lease released, Desktop session terminated. Recorded TDLib timeline for the same turn: 3 messages / 4 typing / 2 reactions, 2 draft revisions.

Cropped chat pane (650×1000, motion-trimmed, 20 s) — note the live "Foreman is typing" indicator:

Telegram Desktop recorder proof

Full desktop frame the crop is derived from:

recorded desktop

That live run found six defects that unit tests cannot reach; each is fixed here with a regression test: container sshd killing the backgrounded client (setsid), pkill -f matching the launcher's own shell, a confirmed QR code not implying login (Telegram rotates the token), scrot exiting 0 while silently keeping the existing file (every capture after the first was stale — this also affected telegram-user-crabbox-proof.ts), a fixed crop rectangle cutting the chat pane, and stop treating an already-released lease as a failure. Details: #125186 (comment)

Exact-head local proof (4bb5434047d): image builds from the pinned digest; crabbox warmup --provider docker --desktop → warmup complete total=10.599s; recorder golden-image preflight → PREFLIGHT-OK; lease stopped.

Validation: pnpm test (recorder, proof runner, workflow) → 76 passed; pnpm tsgo:scripts, pnpm tsgo:test:root, deadcode-exports, docker-e2e boundaries, oxlint, oxfmt, git diff --check → clean.

@clawsweeper

clawsweeper Bot commented Aug 17, 2026

Copy link
Copy Markdown
Contributor

🦞👀
ClawSweeper picked this up.

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

@obviyus
obviyus marked this pull request as ready for review August 17, 2026 09:09
@openclaw-barnacle openclaw-barnacle Bot added docs Improvements or additions to documentation scripts Repository scripts size: XL maintainer Maintainer-authored PR labels Aug 17, 2026
@clawsweeper clawsweeper Bot added mantis: telegram-visible-proof Mantis should capture Telegram visible proof. merge-risk: 🚨 automation 🚨 May affect CI, automerge, proof capture, label sync, or maintainer automation. merge-risk: 🚨 availability 🚨 May cause crashes, hangs, restart loops, stalls, or process outages. merge-risk: 🚨 security-boundary 🚨 May affect sandboxing, authorization, credentials, or sensitive data. P2 Normal backlog priority with limited blast radius. rating: 🧂 unranked krab Not merge-ready due to missing proof or serious correctness/safety concerns. status: ⏳ waiting on author ClawSweeper has contributor-facing work open and is waiting for author action. labels Aug 17, 2026
@clawsweeper

clawsweeper Bot commented Aug 17, 2026 •

Copy link
Copy Markdown
Contributor

Codex review: needs maintainer review before merge. Reviewed August 19, 2026, 1:50 AM ET / 05:50 UTC.

ClawSweeper review

What this changes

The PR adds a standalone Telegram Desktop recorder, a pinned local Docker desktop image, shared Crabbox helpers, documentation, and regression coverage for recording Telegram proof artifacts.

Merge readiness

⚠️ Ready for maintainer review - 3 items remain

Keep open for maintainer review: the latest scope statement intentionally makes this a standalone QA utility, resolving the prior workflow-integration concern without claiming the existing Mantis workflow was migrated.

Priority: P2
Reviewed head: 3a4fefd9b129bebace71a97c6782c786047c6cc9
Owner decision: Required. See Decision needed.

Review scores

Measure Result What it means
Overall readiness 🐚 platinum hermit (4/6) The feature is bounded and backed by credible real behavior proof; its remaining gate is maintainer acceptance of the standalone scope.
Proof confidence 🦞 diamond lobster (5/6) ✨ media proof bonus Sufficient (recording): The PR supplies after-fix real Desktop evidence for the recorder flow, including a recorded Telegram interaction and cleanup outcome.
Patch quality 🐚 platinum hermit (4/6) No actionable review findings were identified.

Verification

Check Result Evidence
Real behavior Verified Sufficient (recording): The PR supplies after-fix real Desktop evidence for the recorder flow, including a recorded Telegram interaction and cleanup outcome.
Evidence reviewed 6 items Standalone recorder implementation: The recorder leases a Docker or AWS desktop, validates the image contract, authorizes Desktop, records it, and persists a bounded session record.
Documented scope: The new documentation explicitly says that nothing in the repository invokes the recorder yet and that moving the Mantis workflow is a separate change.
Existing workflow remains separate: Current main's workflow installs and invokes telegram-user-crabbox-proof rather than the new recorder, matching the stated deferred integration scope.
Findings None None.
Security None None.

How this fits together

The QA proof tooling leases a desktop, authorizes Telegram Desktop through an external user driver, records a real chat interaction, and emits review artifacts. This PR adds a reusable recorder and image while the existing Mantis workflow continues using its current proof runner.

flowchart LR
  A[Operator or E2E driver] --> B[Telegram Desktop recorder]
  B --> C[Docker or Crabbox desktop]
  C --> D[Telegram Desktop authorization]
  D --> E[Screen recording and crop]
  E --> F[Proof artifacts]
  G[Existing Mantis workflow] --> H[Existing proof runner]
Loading

Decision needed

Question Recommendation
Should the standalone recorder and local Docker image be accepted as a supported QA surface now, with Mantis workflow integration deliberately deferred? Accept standalone scope: Merge the recorder as documented and evaluate Mantis workflow routing in a separately proven PR.

Why: This adds a durable operator-facing QA command and image; the contributor states the intended scope, but the protected maintainer label requires an explicit maintainer merge decision.

Before merge

  • Resolve merge risk (P1) - The existing Mantis workflow retains its old proof runner, so the faster prebaked image benefits explicit recorder users only until the documented follow-up lands.
  • Complete next step (P2) - This protected, maintainer-labelled feature has no concrete automated repair finding; maintainer scope acceptance and exact-head CI are the remaining actions.
Agent review details

Security

None.

PR surface

Tests +680, Docs +52, Config +1, Other +1392. Total +2125 across 10 files.

View PR surface stats
Area Files Added Removed Net
Source 0 0 0 0
Tests 2 688 8 +680
Docs 1 52 0 +52
Config 1 1 0 +1
Generated 0 0 0 0
Other 6 1998 606 +1392
Total 10 2739 614 +2125

Review metrics

Metric Value Why it matters
Production versus test delta production/tooling net +1,393 after a 606-line helper extraction; tests net +680; docs +52 The positive production growth is tied to a new standalone recorder and prebaked image rather than a bug-only patch.

Stored data model

Persistent data-model change detected: database schema: scripts/e2e/telegram-desktop-recorder-contract.ts, database schema: test/scripts/telegram-desktop-recorder.test.ts, persistent cache schema: scripts/mantis/build-telegram-desktop-image.sh. Confirm migration or upgrade compatibility proof before merge.

Merge-risk options

  • Exact-head checks were still incomplete in the supplied context; merge should wait for the refreshed head's required checks.

Maintainer options:

  1. Decide the mitigation before merge
    Accept the recorder as a supported standalone QA surface if that scope remains desired, then route workflow migration through a separate proof-backed change.
  2. Pause or close
    Do not merge this PR until maintainers decide whether the risk is worth taking.

Technical review

Best possible solution:

Accept the recorder as a supported standalone QA surface if that scope remains desired, then route workflow migration through a separate proof-backed change.

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

Not applicable: this PR introduces a new standalone QA utility rather than reporting a current product failure; the supplied after-fix run demonstrates its intended flow.

Is this the best way to solve the issue?

Yes for the stated scope: retaining the existing runner and documenting the recorder as standalone avoids mixing workflow migration into this feature; maintainers must still accept that product boundary.

AGENTS.md: found and applied where relevant.

Codex review notes: model internal, reasoning high; reviewed against 2bcc06cc2270.

Labels

Label changes:

  • add proof: 🎥 video: Contributor real behavior proof includes video or recording evidence. The PR supplies after-fix real Desktop evidence for the recorder flow, including a recorded Telegram interaction and cleanup outcome.
  • add rating: 🐚 platinum hermit: Overall readiness is 🐚 platinum hermit; proof is 🦞 diamond lobster and patch quality is 🐚 platinum hermit. Replaced prior rating: 🦐 gold shrimp.
  • add mantis: telegram-visible-proof: Mantis should capture Telegram visible proof. The new recorder produces visible Telegram Desktop artifacts and is suitable for short native Desktop proof.
  • remove rating: 🦐 gold shrimp: Current PR rating is rating: 🐚 platinum hermit, so this older rating label is no longer current.

Label justifications:

  • P2: This is a bounded QA tooling feature with maintainer-visible operator benefit but no demonstrated production-user regression.
  • rating: 🐚 platinum hermit: Overall readiness is 🐚 platinum hermit; proof is 🦞 diamond lobster and patch quality is 🐚 platinum hermit. Replaced prior rating: 🦐 gold shrimp.
  • status: ⏳ waiting on author: ClawSweeper has contributor-facing work open and is waiting for author action. Sufficient (recording): The PR supplies after-fix real Desktop evidence for the recorder flow, including a recorded Telegram interaction and cleanup outcome.
  • proof: sufficient: Contributor real behavior proof is sufficient. The PR supplies after-fix real Desktop evidence for the recorder flow, including a recorded Telegram interaction and cleanup outcome.
  • proof: 🎥 video: Contributor real behavior proof includes video or recording evidence. The PR supplies after-fix real Desktop evidence for the recorder flow, including a recorded Telegram interaction and cleanup outcome.
  • mantis: telegram-visible-proof: Mantis should capture Telegram visible proof. The new recorder produces visible Telegram Desktop artifacts and is suitable for short native Desktop proof.

Evidence

What I checked:

Likely related people:

  • obviyus: Prior merged Telegram proof work and the current branch establish sustained ownership of this QA lane. (role: feature owner and recent area contributor; confidence: high; commits: ecb7ea19a556, 3a4fefd9b129; files: scripts/e2e/telegram-user-crabbox-proof.ts, scripts/e2e/telegram-desktop-recorder.ts)
  • vincentkoc: History shows repeated maintenance of the existing Telegram proof runner's process, recording, and transport behavior. (role: recent area contributor; confidence: high; commits: 00c2dc66b1d8, 677358f4a9ea; files: scripts/e2e/telegram-user-crabbox-proof.ts)
  • steipete: Recent main history includes maintenance of the existing proof-runner surface and related Mantis tooling. (role: adjacent recent contributor; confidence: medium; commits: 15fb00eb6b3c, 45bad50e2690; files: scripts/e2e/telegram-user-crabbox-proof.ts, .github/workflows/mantis-telegram-desktop-proof.yml)

Rank-up moves

Optional improvements that raise the rating; they are not merge blockers.

  • Confirm the standalone-surface decision and wait for required checks on the exact current head.

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 (7 earlier review cycles)
  • reviewed 2026-08-17T09:17:21.038Z sha 1175990 :: found issues before merge. :: [P1] Pin the Crabbox source before invoking it with admin credentials | [P1] Release only recorder-owned Crabbox leases | [P1] Preserve Desktop authorization when --keep-box is set
  • reviewed 2026-08-18T02:35:11.884Z sha 5cb0b79506c83dd4fbea24d08f63fed3a9250fd9 :: needs maintainer review before merge. :: none
  • reviewed 2026-08-18T03:57:32.707Z sha 6569098 :: found issues before merge. :: [P1] Wire the recorder into the Mantis execution path | [P2] Fail closed when the admin probe cannot be verified
  • reviewed 2026-08-18T04:08:44.324Z sha cdc63b1 :: found issues before merge. :: [P1] Require an immutable source for the admin bake | [P2] Require the specific probe confirmation | [P2] Reject providers without a published recorder image | [P2] Verify the expected image marker version
  • reviewed 2026-08-18T04:23:55.566Z sha 33c328e :: found issues before merge. :: [P1] Bind the admin bake to immutable reviewed source
  • reviewed 2026-08-18T04:39:19.083Z sha 33c328e :: needs maintainer review before merge. :: none
  • reviewed 2026-08-19T04:56:55.981Z sha 4bb5434 :: found issues before merge. :: [P1] Connect the recorder to the Mantis proof path

@obviyus

obviyus commented Aug 18, 2026

Copy link
Copy Markdown
Collaborator Author

@clawsweeper re-review

@clawsweeper

clawsweeper Bot commented Aug 18, 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.

@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: 🧂 unranked krab Not merge-ready due to missing proof or serious correctness/safety concerns. status: ⏳ waiting on author ClawSweeper has contributor-facing work open and is waiting for author action. labels Aug 18, 2026
…; bake runs from an admin login

- --lease-id boxes are never stopped by the recorder (ownership persisted in recorder.json)
- --keep-box keeps the Desktop authorization for WebVNC; a later stop revokes it
- drop the image-bake workflow: a mutable crabbox_ref would run under an admin token; the
  bake is an operator script probing for coordinator admin (GitHub admin owner) before any lease
@obviyus
obviyus force-pushed the feat/mantis-telegram-desktop-recorder branch from 5cb0b79 to 2b2ee1d Compare August 18, 2026 03:42
- no src/ import from scripts/e2e: --user-driver is a whitespace-separated prefix
- drop unused exports flagged by the deadcode gate
@clawsweeper clawsweeper Bot removed mantis: telegram-visible-proof Mantis should capture Telegram visible proof. rating: 🐚 platinum hermit Good normal PR readiness with ordinary maintainer review expected. labels Aug 18, 2026
@clawsweeper clawsweeper Bot added the status: 👀 ready for maintainer look ClawSweeper has no concrete contributor-facing blocker left for this PR. label Aug 18, 2026
Live end-to-end runs surfaced failures that unit tests cannot reach:

- container sshd tears down the session process group, so Telegram must be
  launched with setsid and closed stdin
- pkill/pgrep -f patterns matched the launcher's own shell, killing it
- a confirmed QR code is not proof of login: Telegram rotates the token and
  ignores stale confirmations, so authorize now verifies the client left the
  login screen and retries with a fresh code
- scrot exits 0 but keeps the existing file, so every capture after the first
  was stale; all captures now pass -o (this also affected the proof runner)
- the cropped preview used a fixed rectangle and cut the chat pane; the crop
  now comes from the window geometry measured at record time
- stop treats an already-released lease as the desired end state
@openclaw-barnacle openclaw-barnacle Bot added the docker Docker and sandbox tooling label Aug 19, 2026
@obviyus

obviyus commented Aug 19, 2026

Copy link
Copy Markdown
Collaborator Author

Live end-to-end proof (local Docker desktop)

The recorder now runs against a local Docker desktop as well as the AWS variant image, so it needs no Crabbox coordinator admin. crabbox warmup --provider docker --desktop boots a container whose bootstrap runs Xvfb :99 -screen 0 1920x1080x24 + XFCE + x11vnc + xdotool + scrot + ffmpeg — same display and geometry as the AWS lease — and CRABBOX_LOCAL_CONTAINER_IMAGE points it at an image we build ourselves (scripts/mantis/telegram-desktop-image/Dockerfile, pinned Telegram 7.0.9 + sha256).

Full drive through the Telegram userbot skill (--desktop-record): leases the shared QA Telegram user, starts the SUT gateway + mock provider from this checkout, boots the desktop (11.8 s), QR-authorizes Telegram Desktop through the caller's TDLib driver, deep-links to a fresh bottom marker, sends a real turn, records, and produces the artifacts. Exit 0, cleanupErrors: null, lease released, Desktop session terminated.

Recorded TDLib timeline for the same turn: 3 messages / 4 typing / 2 reactions (2 from the SUT), 2 draft revisions.

Cropped chat pane (motion-trimmed, 650×1000, 20 s) — note the live "Foreman is typing" indicator and the reaction animation:

Telegram Desktop recorder proof

Full desktop frame the crop is derived from:

recorded desktop

Bugs this live run found (all fixed in 1e8f4550cb9, each with a regression test)

  1. Container sshd tears down the session process group → Telegram died the moment start returned; now launched with setsid and closed stdin.
  2. pkill/pgrep -f patterns matched the launcher's own shell (its command line contains those paths) → the launcher killed itself; now exact process-name matching.
  3. A confirmed QR code is not proof of login: Telegram rotates the token every ~30 s and silently ignores a stale confirmation. Authorize now verifies the client actually left the login screen and retries with a fresh code.
  4. scrot exits 0 but silently keeps an existing file, so every capture after the first was stale — the login check re-read the QR-era frame forever. All captures pass -o; this also affected telegram-user-crabbox-proof.ts.
  5. The cropped preview used a fixed rectangle tuned for the AWS window position and cut the chat pane; the crop now comes from the window geometry measured at record time (xdotool getwindowgeometry, stored in recorder.json).
  6. stop treated an already-released lease as a failure; it is now the desired end state.

Validation on this head: pnpm test (recorder, proof runner, image, workflow) → 98 passed; pnpm tsgo:scripts, pnpm tsgo:test:root, deadcode-exports, docker-e2e boundaries, oxlint, oxfmt, git diff --check → clean.

The AWS catalog-only variant path is unchanged and stays for CI once a coordinator admin publishes the image (scripts/mantis/bake-telegram-desktop-image.sh --run).

@obviyus

obviyus commented Aug 19, 2026

Copy link
Copy Markdown
Collaborator Author

@clawsweeper re-review

@clawsweeper

clawsweeper Bot commented Aug 19, 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:

@obviyus

obviyus commented Aug 19, 2026

Copy link
Copy Markdown
Collaborator Author

Exact-head local Docker proof for the image runtime user (rank-up move), on 3f7090a3abc:

$ docker run --rm --entrypoint sh openclaw-telegram-desktop:7.0.9 -c 'getent passwd ubuntu'
ubuntu:x:1000:1000:Ubuntu:/home/ubuntu:/bin/bash

$ CRABBOX_LOCAL_CONTAINER_IMAGE=openclaw-telegram-desktop:7.0.9 crabbox warmup --provider docker --target linux --desktop
warmup complete total=10.621s

$ ssh <lease> "<renderGoldenImagePreflight()>"
PREFLIGHT-OK          # Telegram binary, 7.0.9 marker, wmctrl/xdotool/scrot/ffmpeg/zbarimg/xdpyinfo, DISPLAY=:99

The ubuntu account ships in ubuntu:24.04 (uid 1000), so USER ubuntu resolves; Crabbox additionally starts leases with an explicit --user root (internal/providers/localcontainer/backend.go: "--user", "root" in the docker run args), so its bootstrap keeps root regardless of the image default. The directive only bounds a direct docker run. This head adds RUN getent passwd ubuntu so the build fails if a future base image ever drops the account.

The recorder's proven path is the local Docker desktop image; publishing the
AWS catalog-only variant needs coordinator admin we do not have, so the bake
and promotion tooling lands separately with that access.
@clawsweeper clawsweeper Bot added proof: sufficient ClawSweeper judged the real behavior proof convincing. 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 mantis: telegram-visible-proof Mantis should capture Telegram visible proof. rating: 🦞 diamond lobster Very strong PR readiness with only minor maintainer review expected. merge-risk: 🚨 security-boundary 🚨 May affect sandboxing, authorization, credentials, or sensitive data. status: 👀 ready for maintainer look ClawSweeper has no concrete contributor-facing blocker left for this PR. labels Aug 19, 2026
@obviyus obviyus changed the title feat(qa): Telegram Desktop recorder for Mantis and the variant image bake feat(qa): standalone Telegram Desktop recorder with a prebaked desktop image Aug 19, 2026
@obviyus

obviyus commented Aug 19, 2026 •

Copy link
Copy Markdown
Collaborator Author

Maintainer decision on scope (recorded for the review gate):

The standalone recorder plus the prebaked desktop image is the intended supported surface for this PR. The point of the prebaked image is that a consumer — today an operator or an external Telegram userbot driver, tomorrow the Mantis proof workflow — no longer spends minutes installing a desktop per lease (11.8 s to a ready desktop versus ~3–4 min of apt and downloads, which is also where the dpkg lock failures lived).

Routing the Mantis Telegram Desktop Proof workflow through the recorder, and dropping its dual-worktree build and container SUT runner, is a deliberate follow-up PR so that change can carry its own live proof.

@obviyus
obviyus merged commit 97e3136 into main Aug 19, 2026
219 checks passed
@obviyus
obviyus deleted the feat/mantis-telegram-desktop-recorder branch August 19, 2026 05:53
github-actions Bot pushed a commit to Desicool/openclaw that referenced this pull request Aug 20, 2026
…desktop image (openclaw#125186)

Records native Telegram Desktop from a digest-pinned prebaked image: a ready desktop in ~12s with no per-lease apt installs or downloads, which also removes the dpkg-lock failures that killed recent runs.

The recorder only records; callers drive the turn and supply the TDLib driver used for QR authorization. Nothing in this repository invokes it yet - routing the Mantis Telegram Desktop Proof workflow through it is a follow-up.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

docker Docker and sandbox tooling docs Improvements or additions to documentation maintainer Maintainer-authored PR P2 Normal backlog priority with limited blast radius. proof: sufficient ClawSweeper judged the real behavior proof convincing. rating: 🦐 gold shrimp Decent PR readiness signal, but merge confidence is limited. scripts Repository scripts size: XL status: ⏳ waiting on author ClawSweeper has contributor-facing work open and is waiting for author action.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants