惯性聚合 高效追踪和阅读你感兴趣的博客、新闻、科技资讯
阅读原文 在惯性聚合中打开

推荐订阅源

V
Visual Studio Blog
量子位
大猫的无限游戏
大猫的无限游戏
Hugging Face - Blog
Hugging Face - Blog
S
SegmentFault 最新的问题
Blog — PlanetScale
Blog — PlanetScale
月光博客
月光博客
Google DeepMind News
Google DeepMind News
小众软件
小众软件
WordPress大学
WordPress大学
宝玉的分享
宝玉的分享
MongoDB | Blog
MongoDB | Blog
B
Blog RSS Feed
博客园 - Franky
奇客Solidot–传递最新科技情报
奇客Solidot–传递最新科技情报
B
Blog
博客园 - 聂微东
The GitHub Blog
The GitHub Blog
Recent Announcements
Recent Announcements
Y
Y Combinator Blog
Microsoft Security Blog
Microsoft Security Blog
雷峰网
雷峰网
Jina AI
Jina AI
酷 壳 – CoolShell
酷 壳 – CoolShell

Recent Commits to openclaw:main

test: merge chat side-result checks · openclaw/openclaw@ddd2c2a test: merge cron history checks · openclaw/openclaw@f7eb746 test: merge responsive navigation shell checks · openclaw/openclaw@c2e4b47 docs(changelog): add codex oauth fixes · openclaw/openclaw@628e6cd test: merge navigation routing cases · openclaw/openclaw@5d8cecb Tests: mock channel registry bundled fallback · openclaw/openclaw@2b08233 Secrets: avoid broad web search discovery for single plugin config · openclaw/openclaw@a464f59 test: merge config view browser checks · openclaw/openclaw@20cf511 fix(status): align oauth health with runtime · openclaw/openclaw@eed7116 feat: add macOS screen snapshots for monitor preview (#67954) thanks … · openclaw/openclaw@f377db1 fix: report shared auth scopes in hello-ok (#67810) thanks @BunsDev · openclaw/openclaw@0b6c39b Auto-reply: avoid eager bundled route fallback · openclaw/openclaw@3ea1bf4 Tests: narrow session binding contract setup · openclaw/openclaw@54e4e16 fix(macOS): enable undo/redo in webchat composer text input (#34962) · openclaw/openclaw@00951dc Tests: speed up channel setup promotion · openclaw/openclaw@82b529a Docs: refresh agent instructions · openclaw/openclaw@5775fe2 fix(auth): serialize OAuth refresh across agents to fix #26322 (#67876) · openclaw/openclaw@8e79080 test: allow ollama public surface boundary test · openclaw/openclaw@7d4f1a6 Docs: add test performance guardrails · openclaw/openclaw@89706d3 Tests: restore context-engine usage proof · openclaw/openclaw@e4c4f95 Tests: slim context engine runtime coverage · openclaw/openclaw@74c198f ci: retry failed custom checkouts · openclaw/openclaw@0ee5baf test: trim duplicate provider auth onboarding cases · openclaw/openclaw@1ffc02e matrix: fix sessions_spawn --thread subagent session spawning (#67643) · openclaw/openclaw@1ce2596 test: reduce auth choice fixture churn · openclaw/openclaw@857b9cd test: mock health status config boundaries · openclaw/openclaw@9d5ab4a test: mock onboard config io boundary · openclaw/openclaw@299694d test: mock legacy state plugin boundaries · openclaw/openclaw@2713089 test: mock channel install boundaries · openclaw/openclaw@b945248 test: mock doctor preview channel boundaries · openclaw/openclaw@b1a3ad4
docs(skills): add telegram crabbox proof skill · openclaw...
obviyus · 2026-05-10 · via Recent Commits to openclaw:main

@@ -0,0 +1,136 @@

1+

---

2+

name: telegram-crabbox-e2e-proof

3+

description: Use when reviewing, reproducing, or proving OpenClaw Telegram behavior with a real Telegram user on Crabbox, including PR review workflows that need an agent-controlled Telegram Desktop recording, TDLib user-driver commands, Convex-leased credentials, WebVNC observation, and motion-trimmed artifacts.

4+

---

5+6+

# Telegram Crabbox E2E Proof

7+8+

Use this for Telegram PR review or bug reproduction when bot-to-bot proof is

9+

not enough. The goal is to let the agent keep a real Telegram user session open

10+

until it is satisfied, then attach visual proof.

11+12+

Do not use personal accounts. Do not add credentials to the repo, prompt, or

13+

artifact bundle. The runner leases the shared burner account from Convex.

14+15+

## Start

16+17+

Run from the OpenClaw repo and branch under test:

18+19+

```bash

20+

pnpm qa:telegram-user:crabbox -- start \

21+

--tdlib-url http://artifacts.openclaw.ai/tdlib-v1.8.0-linux-x64.tgz \

22+

--output-dir .artifacts/qa-e2e/telegram-user-crabbox/pr-review

23+

```

24+25+

This starts one held session:

26+27+

- leases the exclusive `telegram-user` Convex credential

28+

- restores TDLib and Telegram Desktop with the same user account

29+

- starts a mock OpenClaw Telegram SUT from the current checkout

30+

- selects the configured Telegram chat in the visible Linux desktop

31+

- starts desktop recording

32+

- writes `.artifacts/qa-e2e/telegram-user-crabbox/pr-review/session.json`

33+34+

Keep the session alive while investigating. It is valid for the agent to test

35+

for minutes, run several commands, use WebVNC, inspect transcripts, and only

36+

finish once the behavior is understood.

37+38+

## While Testing

39+40+

Send as the real Telegram user:

41+42+

```bash

43+

pnpm qa:telegram-user:crabbox -- send \

44+

--session .artifacts/qa-e2e/telegram-user-crabbox/pr-review/session.json \

45+

--text /status

46+

```

47+48+

For slash commands, omit the bot username; the runner targets the SUT bot.

49+50+

Run arbitrary commands on the Crabbox:

51+52+

```bash

53+

pnpm qa:telegram-user:crabbox -- run \

54+

--session .artifacts/qa-e2e/telegram-user-crabbox/pr-review/session.json \

55+

-- bash -lc 'source /tmp/openclaw-telegram-user-crabbox/env.sh && python3 /tmp/openclaw-telegram-user-crabbox/user-driver.py transcript --limit 20 --json'

56+

```

57+58+

Useful remote user-driver commands:

59+60+

```bash

61+

source /tmp/openclaw-telegram-user-crabbox/env.sh

62+

python3 /tmp/openclaw-telegram-user-crabbox/user-driver.py status --json

63+

python3 /tmp/openclaw-telegram-user-crabbox/user-driver.py chats --json

64+

python3 /tmp/openclaw-telegram-user-crabbox/user-driver.py transcript --limit 20 --json

65+

python3 /tmp/openclaw-telegram-user-crabbox/user-driver.py send --text '/status@{sut}'

66+

python3 /tmp/openclaw-telegram-user-crabbox/user-driver.py probe --text '@{sut} Reply exactly: USER-E2E-{run}' --expect USER-E2E-

67+

```

68+69+

Capture the current desktop without ending the session:

70+71+

```bash

72+

pnpm qa:telegram-user:crabbox -- screenshot \

73+

--session .artifacts/qa-e2e/telegram-user-crabbox/pr-review/session.json

74+

```

75+76+

Check lease state and get the WebVNC command:

77+78+

```bash

79+

pnpm qa:telegram-user:crabbox -- status \

80+

--session .artifacts/qa-e2e/telegram-user-crabbox/pr-review/session.json

81+

```

82+83+

## Finish

84+85+

Always finish or explicitly keep the box:

86+87+

```bash

88+

pnpm qa:telegram-user:crabbox -- finish \

89+

--session .artifacts/qa-e2e/telegram-user-crabbox/pr-review/session.json

90+

```

91+92+

`finish` stops recording, creates motion-trimmed MP4/GIF artifacts, captures a

93+

final screenshot and logs, releases the Convex credential, stops the local SUT,

94+

and stops the Crabbox lease. Pass `--keep-box` only when a human needs to

95+

continue VNC debugging after the credential is released.

96+97+

After any failure or interruption, verify cleanup:

98+99+

```bash

100+

crabbox list --provider aws

101+

```

102+103+

If a session file exists and the credential may still be leased, run `finish`

104+

with that session file before retrying.

105+106+

## Attach Proof

107+108+

Attach only the useful visual artifact to the PR unless logs are needed:

109+110+

```bash

111+

rm -rf .artifacts/qa-e2e/telegram-user-crabbox/pr-gif-only

112+

mkdir -p .artifacts/qa-e2e/telegram-user-crabbox/pr-gif-only

113+

cp .artifacts/qa-e2e/telegram-user-crabbox/pr-review/telegram-user-crabbox-session-motion.gif \

114+

.artifacts/qa-e2e/telegram-user-crabbox/pr-gif-only/telegram-user-crabbox-session-motion.gif

115+

crabbox artifacts publish \

116+

--pr <pr-number> \

117+

--repo openclaw/openclaw \

118+

--dir .artifacts/qa-e2e/telegram-user-crabbox/pr-gif-only \

119+

--summary 'Telegram real-user Crabbox session motion GIF' \

120+

--template openclaw

121+

```

122+123+

Use full artifact publishing only when the PR needs logs or JSON output. Never

124+

publish credential payloads, local env files, TDLib databases, Telegram Desktop

125+

profiles, or raw session archives.

126+127+

## Quick Smoke

128+129+

For a fast one-shot check, use:

130+131+

```bash

132+

pnpm qa:telegram-user:crabbox -- --text /status

133+

```

134+135+

This is a start/send/finish shortcut. Prefer the held session for PR review,

136+

issue reproduction, or any task where the agent may need several attempts.