Skip to content

Docs in step with the code: where a channel's connect error goes, the model-failure lines, WhatsApp's buttons, UltraVNC's host, three test files - #141

Merged
Crokily merged 2 commits into
mainfrom
docs/in-step-1205
Dec 4, 2026
Merged

Crokily merged 2 commits into
mainfrom
docs/in-step-1205

Conversation

@Crokily

@Crokily Crokily commented Dec 4, 2026

Copy link
Copy Markdown
Owner

What was wrong

The weekly code check on 2026-12-05 (at a5f405d) found docs, skills and a README sentence that the code contradicts:

  1. Six channel skills (Slack, Discord, Telegram, Feishu, WeChat, Teams) said a failed connect is explained in bot.json.error and that pots status lists the channel. bot.json.error is written only when bot.json does not decode or applying it throws (src/main.ts). A channel that does not connect is caught in connectOne (src/gateway/channels.ts): the gateway prints channel connect failed with the error and tries again with a growing delay. pots status lists every channel of the definition, connected or not.
  2. docs/for-agents.md said a bot without its model says "I could not work on this". Since A bot whose model fails waits and carries on by itself (replaces #82) #114 the lines are in src/core/outage.ts: a refused login posts the login line, "I could not work on this" begins only the refused line, and a failure that may pass posts "I am stuck: …" after a minute.
  3. docs/channels.md said WhatsApp has "Up to 3 reply buttons, no forms". The channel also takes list replies, and a WhatsApp Flow's answer comes as a form event.
  4. README.md and the desktop-page skill said UltraVNC is downloaded from uvnc.com. src/windows/ultravnc.ts downloads it from uvnc.eu; uvnc.com publishes the checksums.
  5. docs/development.md's table of test files had no row for test/codex-images.test.ts, test/tool-policy.test.ts and test/tool-environment.parts.test.ts.

What changed

Docs and skills only; no code.

  1. In the six channel skills, the old sentence

    It connects within a few seconds. pots status lists it; if it fails, the reason is in bot.json.error.

    (Teams: "… in bot.json.error or in the gateway's output.") is now

    It connects within a few seconds: the gateway's output (pots service logs) says channel connected. When it does not connect, a channel connect failed line there says why, and Pots tries again by itself; bot.json.error explains only an entry of bot.json that is wrong in itself.

    The rest of each paragraph stays.

  2. docs/for-agents.md: the sentence names the "I am stuck: …" line and an ending line such as the login one, says what pots status and pots chat show now, and links docs/when-the-model-cannot-answer.md.

  3. docs/channels.md: WhatsApp's cell is "⚠️ Reply buttons (up to 3) and lists; forms only as Flows made in WhatsApp Manager", and the row's long description says the same. The README's channel list has no such cell for WhatsApp.

  4. README.md and skills/desktop-page/SKILL.md: "from uvnc.com" is now "from uvnc.eu". The README's link to https://uvnc.com stays.

  5. docs/development.md: one row for each of the three test files. Every test/*.test.ts now has a row.

How it was tested

  • npm run check: passes.
  • Checked against the code: the printed words channel connected and channel connect failed (src/gateway/channels.ts); pots service logs on launchd, systemd and Windows (src/cli/service.ts); what pots status and pots chat print (src/cli/commands.ts, src/cli/chat.ts); the outage lines (src/core/outage.ts); WhatsApp's list_reply and nfm_reply (src/channels/whatsapp/index.ts); the UltraVNC URL (src/windows/ultravnc.ts).
  • A loop over test/*.test.ts with grep: every file has a row in docs/development.md.
  • No test suites run: the change is docs only.

… model-failure lines, WhatsApp's buttons, UltraVNC's host, three test files
@chatgpt-codex-connector

chatgpt-codex-connector Bot commented Dec 4, 2026 •

Copy link
Copy Markdown
Codex Review Summary: ✅ Completed

This comment shows the latest Codex review activity on this pull request.

Review Status Commit Review trigger
📝 Code Review ✅ Completed 2026-12-04T16:31:11.620088Z b31a039 PR opened
ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review" or "@codex security review".

Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings.

…nnot start, pots chat, WhatsApp Flows, two test rows)
@Crokily
Crokily merged commit e444eee into main Dec 4, 2026
10 of 12 checks passed
@Crokily
Crokily deleted the docs/in-step-1205 branch December 4, 2026 17:05
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant