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

推荐订阅源

J
Java Code Geeks
M
MIT News - Artificial intelligence
D
Docker
S
SegmentFault 最新的问题
B
Blog
Apple Machine Learning Research
Apple Machine Learning Research
博客园_首页
博客园 - 【当耐特】
让小产品的独立变现更简单 - ezindie.com
让小产品的独立变现更简单 - ezindie.com
The GitHub Blog
The GitHub Blog
Y
Y Combinator Blog
腾讯CDC
阮一峰的网络日志
阮一峰的网络日志
U
Unit 42
C
Check Point Blog
GbyAI
GbyAI
美团技术团队
Recent Announcements
Recent Announcements
F
Fortinet All Blogs
量子位
OSCHINA 社区最新新闻
OSCHINA 社区最新新闻
V
Visual Studio Blog
钛媒体:引领未来商业与生活新知
钛媒体:引领未来商业与生活新知
G
Google Developers Blog

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: keep qa broker notes internal · openclaw/openclaw@5...
steipete · 2026-05-08 · via Recent Commits to openclaw:main
Original file line numberDiff line numberDiff line change

@@ -16,6 +16,14 @@ This directory owns docs authoring, Mintlify link rules, and docs i18n policy.

1616

- For docs, UI copy, and picker lists, order services/providers alphabetically unless the section is explicitly describing runtime order or auto-detection order.

1717

- Keep bundled plugin naming consistent with the repo-wide plugin terminology rules in the root `AGENTS.md`.

1818
19+

## Internal Docs

20+
21+

- Long-lived private operator docs belong in `~/Projects/manager/docs/`.

22+

- Repo-local internal scratch/mirror docs may live under ignored `docs/internal/`.

23+

- Never add `docs/internal/**` pages to `docs/docs.json` navigation or link them from public docs.

24+

- `scripts/docs-sync-publish.mjs` excludes and prunes `docs/internal/**` from the public `openclaw/docs` publish repo if a page is force-added later.

25+

- Internal docs may mention repo paths, private app names, 1Password item names, and runbooks, but never include secret values.

26+
1927

## Docs i18n

2028
2129

- Foreign-language docs are not maintained in this repo. The generated publish output lives in the separate `openclaw/docs` repo (often cloned locally as `../openclaw-docs`).

Original file line numberDiff line numberDiff line change

@@ -559,15 +559,17 @@ A green run completes in well under 30 seconds and `slack-qa-report.md` shows bo

559559
560560

### Convex credential pool

561561
562-

Telegram, Discord, and Slack lanes can lease credentials from a shared Convex pool instead of reading the env vars above. Pass `--credential-source convex` (or set `OPENCLAW_QA_CREDENTIAL_SOURCE=convex`); QA Lab acquires an exclusive lease, heartbeats it for the duration of the run, and releases it on shutdown. Pool kinds are `"telegram"`, `"discord"`, and `"slack"`.

562+

Telegram, Discord, Slack, and WhatsApp lanes can lease credentials from a shared Convex pool instead of reading the env vars above. Pass `--credential-source convex` (or set `OPENCLAW_QA_CREDENTIAL_SOURCE=convex`); QA Lab acquires an exclusive lease, heartbeats it for the duration of the run, and releases it on shutdown. Pool kinds are `"telegram"`, `"discord"`, `"slack"`, and `"whatsapp"`.

563563
564564

Payload shapes the broker validates on `admin/add`:

565565
566566

- Telegram (`kind: "telegram"`): `{ groupId: string, driverToken: string, sutToken: string }` - `groupId` must be a numeric chat-id string.

567567

- Discord (`kind: "discord"`): `{ guildId: string, channelId: string, driverBotToken: string, sutBotToken: string, sutApplicationId: string }`.

568-

- Slack (`kind: "slack"`): `{ channelId: string, driverBotToken: string, sutBotToken: string, sutAppToken: string }` - `channelId` must match `^[A-Z][A-Z0-9]+$` (a Slack id like `Cxxxxxxxxxx`). See [Setting up the Slack workspace](#setting-up-the-slack-workspace) for app and scope provisioning.

568+

- WhatsApp (`kind: "whatsapp"`): `{ driverPhoneE164: string, sutPhoneE164: string, driverAuthArchiveBase64: string, sutAuthArchiveBase64: string, groupJid?: string }` - phone numbers must be distinct E.164 strings.

569569
570-

Operational env vars and the Convex broker endpoint contract live in [Testing → Shared Telegram credentials via Convex](/help/testing#shared-telegram-credentials-via-convex-v1) (the section name predates Discord support; the broker semantics are identical for both kinds).

570+

Slack lanes can also use the pool. Slack payload shape checks currently live in the Slack QA runner rather than the broker; use `{ channelId: string, driverBotToken: string, sutBotToken: string, sutAppToken: string }`, with a Slack channel id like `Cxxxxxxxxxx`. See [Setting up the Slack workspace](#setting-up-the-slack-workspace) for app and scope provisioning.

571+
572+

Operational env vars and the Convex broker endpoint contract live in [Testing → Shared Telegram credentials via Convex](/help/testing#shared-telegram-credentials-via-convex-v1) (the section name predates the multi-channel pool; the lease semantics are shared across kinds).

571573
572574

## Repo-backed seeds

573575
Original file line numberDiff line numberDiff line change

@@ -322,8 +322,9 @@ Live transport lanes share one standard contract so new transports do not drift;

322322

### Shared Telegram credentials via Convex (v1)

323323
324324

When `--credential-source convex` (or `OPENCLAW_QA_CREDENTIAL_SOURCE=convex`) is enabled for

325-

`openclaw qa telegram`, QA lab acquires an exclusive lease from a Convex-backed pool, heartbeats

326-

that lease while the lane is running, and releases the lease on shutdown.

325+

live transport QA, QA lab acquires an exclusive lease from a Convex-backed pool, heartbeats that

326+

lease while the lane is running, and releases the lease on shutdown. The section name predates

327+

Discord, Slack, and WhatsApp support; the lease contract is shared across kinds.

327328
328329

Reference Convex project scaffold:

329330

@@ -397,6 +398,16 @@ Payload shape for Telegram kind:

397398

- `groupId` must be a numeric Telegram chat id string.

398399

- `admin/add` validates this shape for `kind: "telegram"` and rejects malformed payloads.

399400
401+

Broker-validated multi-channel payloads:

402+
403+

- Discord: `{ guildId: string, channelId: string, driverBotToken: string, sutBotToken: string, sutApplicationId: string, voiceChannelId?: string }`

404+

- WhatsApp: `{ driverPhoneE164: string, sutPhoneE164: string, driverAuthArchiveBase64: string, sutAuthArchiveBase64: string, groupJid?: string }`

405+
406+

Slack lanes can also lease from the pool, but Slack payload validation currently

407+

lives in the Slack QA runner rather than the broker. Use

408+

`{ channelId: string, driverBotToken: string, sutBotToken: string, sutAppToken: string }`

409+

for Slack rows.

410+
400411

### Adding a channel to QA

401412
402413

The architecture and scenario-helper names for new channel adapters live in [QA overview → Adding a channel](/concepts/qa-e2e-automation#adding-a-channel). The minimum bar: implement the transport runner on the shared `qa-lab` host seam, declare `qaRunners` in the plugin manifest, mount as `openclaw qa <runner>`, and author scenarios under `qa/scenarios/`.

Original file line numberDiff line numberDiff line change

@@ -1,6 +1,7 @@

11

# QA Convex Credential Broker (v1)

22
33

Standalone Convex project for shared `qa-lab` live credentials with lease locking.

4+

Keep private operator notes in `~/Projects/manager/docs/`, not in public docs.

45
56

This broker exposes:

67

@@ -152,6 +153,17 @@ For `kind: "discord"`, broker `admin/add` validates that payload includes:

152153

- non-empty `sutBotToken`

153154

- `sutApplicationId` as a Discord snowflake string

154155
156+

For `kind: "whatsapp"`, broker `admin/add` validates that payload includes:

157+
158+

- `driverPhoneE164` as an E.164 phone number string

159+

- `sutPhoneE164` as a distinct E.164 phone number string

160+

- non-empty `driverAuthArchiveBase64`

161+

- non-empty `sutAuthArchiveBase64`

162+

- optional `groupJid`

163+
164+

Other kinds are currently accepted as pass-through payloads. Add broker-side

165+

validation before treating a new kind as a hardened shared pool.

166+
155167

Admin list (default redacted):

156168
157169

```bash

Original file line numberDiff line numberDiff line change

@@ -10,6 +10,7 @@ const HERE = path.dirname(fileURLToPath(import.meta.url));

1010

const ROOT = path.resolve(HERE, "..");

1111

const SOURCE_DOCS_DIR = path.join(ROOT, "docs");

1212

const SOURCE_CONFIG_PATH = path.join(SOURCE_DOCS_DIR, "docs.json");

13+

const INTERNAL_DOCS_DIRS = ["internal"];

1314

const DEFAULT_CLAWHUB_SOURCE_REPO = "openclaw/clawhub";

1415

const CLAWHUB_DOCS_TARGET_DIR = "clawhub";

1516

const CLAWHUB_REPO_ENV = "OPENCLAW_DOCS_SYNC_CLAWHUB_REPO";

@@ -458,6 +459,22 @@ function repairGeneratedLocaleDocs(targetDocsDir) {

458459

}

459460

}

460461
462+

function pruneInternalDocs(targetDocsDir) {

463+

let pruned = 0;

464+

for (const relativeDir of INTERNAL_DOCS_DIRS) {

465+

const dirPath = path.join(targetDocsDir, relativeDir);

466+

if (!fs.existsSync(dirPath)) {

467+

continue;

468+

}

469+

fs.rmSync(dirPath, { recursive: true, force: true });

470+

pruned += 1;

471+

}

472+
473+

if (pruned > 0) {

474+

console.log(`Pruned ${pruned} internal-only docs director${pruned === 1 ? "y" : "ies"}.`);

475+

}

476+

}

477+
461478

function shouldExcludeClawHubDocsPath(relativePath) {

462479

const normalized = normalizeSlashes(relativePath);

463480

return (

@@ -642,10 +659,12 @@ function syncDocsTree(targetRoot, options = {}) {

642659

"P .i18n/README.md",

643660

"--exclude",

644661

".i18n/README.md",

662+

...INTERNAL_DOCS_DIRS.flatMap((dir) => ["--exclude", `${dir}/`]),

645663

...localeFilters,

646664

`${SOURCE_DOCS_DIR}/`,

647665

`${targetDocsDir}/`,

648666

]);

667+

pruneInternalDocs(targetDocsDir);

649668
650669

for (const locale of GENERATED_LOCALES) {

651670

const sourceTmPath = path.join(SOURCE_DOCS_DIR, ".i18n", locale.tmFile);