Repository navigation
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
Conversation
… model-failure lines, WhatsApp's buttons, UltraVNC's host, three test files
Codex Review Summary: ✅ CompletedThis comment shows the latest Codex review activity on this pull request.
ℹ️ About Codex in GitHubYour team has set up Codex to review pull requests in this repo. Reviews are triggered when you
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)
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
What was wrong
The weekly code check on 2026-12-05 (at a5f405d) found docs, skills and a README sentence that the code contradicts:
bot.json.errorand thatpots statuslists the channel.bot.json.erroris written only when bot.json does not decode or applying it throws (src/main.ts). A channel that does not connect is caught inconnectOne(src/gateway/channels.ts): the gateway printschannel connect failedwith the error and tries again with a growing delay.pots statuslists every channel of the definition, connected or not.docs/for-agents.mdsaid 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 insrc/core/outage.ts: a refused login posts theloginline, "I could not work on this" begins only therefusedline, and a failure that may pass posts "I am stuck: …" after a minute.docs/channels.mdsaid WhatsApp has "Up to 3 reply buttons, no forms". The channel also takes list replies, and a WhatsApp Flow's answer comes as aformevent.src/windows/ultravnc.tsdownloads it from uvnc.eu; uvnc.com publishes the checksums.docs/development.md's table of test files had no row fortest/codex-images.test.ts,test/tool-policy.test.tsandtest/tool-environment.parts.test.ts.What changed
Docs and skills only; no code.
In the six channel skills, the old sentence
(Teams: "… in
bot.json.erroror in the gateway's output.") is nowThe rest of each paragraph stays.
docs/for-agents.md: the sentence names the "I am stuck: …" line and an ending line such as theloginone, says whatpots statusandpots chatshow now, and links docs/when-the-model-cannot-answer.md.docs/channels.md: WhatsApp's cell is "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.
docs/development.md: one row for each of the three test files. Everytest/*.test.tsnow has a row.How it was tested
npm run check: passes.channel connectedandchannel connect failed(src/gateway/channels.ts);pots service logson launchd, systemd and Windows (src/cli/service.ts); whatpots statusandpots chatprint (src/cli/commands.ts,src/cli/chat.ts); the outage lines (src/core/outage.ts); WhatsApp'slist_replyandnfm_reply(src/channels/whatsapp/index.ts); the UltraVNC URL (src/windows/ultravnc.ts).test/*.test.tswith grep: every file has a row indocs/development.md.