Skip to content

Commit 72d6287

Browse files
authored
Release v0.2.40 (#3290)
Release v0.2.40 Mechanical daily release under the standing approval in AGENTS.md: patch bump 0.2.39 → 0.2.40. No PASS and no human approval is required for a mechanical release PR; `risk:T3` is expected and does not stop it. Changed files: `CHANGELOG.md` (new `## [0.2.40] - 2026-11-22` section and its link definition), `core/package.json`, `core/package-lock.json` (root and `packages[""]`), `patches/ds-bot/0007-version-and-tooling.patch`, and the 6 `changelog.d/` fragments below deleted. ## Entries in v0.2.40 ### Fixed - A Bot now learns from its system prompt that one of its own capabilities cannot be used right now, naming the capability and the reason, so it says "GitHub isn't connected (401 bad credentials)" before acting instead of agreeing to the work and failing half a turn later ([#3273](#3273)). Saving a capability URL that carries a username or password is refused, and an older error that quotes such a URL is stored with the userinfo masked, so a credential can never be printed into the Bot's system prompt ([#3273](#3273)). - A capability's stored failure reason no longer repeats a credential the user typed into the capability itself: when a server echoes a request header or an environment value back in its own error body, the value of a name that promises a credential (`key`, `token`, `secret`, `auth`, `password`, `passwd`, `credential`, `signature`, `cookie`, `session`, `bearer`, and `pat` as a whole segment — `X-Github-Pat` yes, `X-Patch-Id` no) is masked before the reason is stored, longest value first so one credential is never left as a surviving tail, so it can no longer be printed into the Bot's system prompt every turn ([#3275](#3275)). - A capability's stored failure reason no longer repeats a credential the user typed into the capability's own command or arguments, or under a header or environment name that promises one: a value after a credential-looking flag in a stdio server's `command`/`args` (the next token, the `--flag=value` form, or a `NAME=value` token), and the value of a header or environment name such as `sig`, `hmac` or `pass` — with `sig` and `pass` matched as whole segments, so `assign`, `compass` and `bypass` keep their values — is masked with `[hidden]` before the stored reason is cut at 300 characters, longest value first and a value under six characters left alone, so a failed server's own error line can no longer print that credential into the Bot's system prompt every turn ([#3278](#3278)). - A capability's stored failure reason no longer repeats a credential typed into a command line saved in the capability's own `command`, or a credential value that begins with `-`: a `command` containing a space or a tab is read as a command line and its tokens go through the same rules as `args` — the token after a credential-looking flag, the `--flag=value` form and a `NAME=value` token are masked with `[hidden]` — and the token after a credential-looking flag is its value even when it begins with `-`, so `--api-key --verbose` stores `--api-key [hidden]` and a second `--api-key` is masked as a value too. A `command` that is one bare token without whitespace stays unmasked, because it cannot be told from a program name, the same limit as a bare `args` token; the stored reason is still one line of at most 300 characters with the mask applied before the cut, longest value first and a value under six characters left alone, so a failed server's own error line can no longer print that credential into the Bot's system prompt every turn ([#3281](#3281)). - A workflow start the host could not finish saying had one sentence — "the host did not create the run Bots within 60s" — with no node and no reason, so a lane whose node Bots were simply slower than the deadline looked like a silent hang and the same task was dispatched three times; the refusal now names the node the host never answered, the Bots it did create with how long each took, and, when the lane's node count no longer fits the deadline at that host's speed, the seconds it needs (a six-node line at about eleven seconds per Bot reads "needs about 66s … past the 60s deadline"), while a node Bot the host refuses carries the node and the host's own reason — an unavailable model, a taken Bot name, a full tree, or the host's error text — and `workflow/assign` reports a refused start as a failed answer (`ok: false` with `error.code` `bot/refused` and `error.details` naming the node) instead of a value inside the success envelope, so a caller cannot mistake a failed dispatch for a started run ([#3282](#3282)). - A Workflow now creates its run Bots four at a time instead of one after another, so a six-node line starts in about 20 seconds instead of about 66 and no longer misses the 60-second batch deadline a slow host used to hit ([#3286](#3286)). If the host refuses one node, the line stops asking for new Bots, waits for the ones already in flight, and releases every Bot it did create; the run still maps the graph's nodes to their Bots in the graph's own order. Written-by: Release
1 parent 5cc2dee commit 72d6287

10 files changed

Lines changed: 19 additions & 13 deletions

File tree

‎CHANGELOG.md‎

Lines changed: 13 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,17 @@ New entries are written as one fragment file per change in [changelog.d/](change
66

77
## [Unreleased]
88

9+
## [0.2.40] - 2026-11-22
10+
11+
### Fixed
12+
13+
- A Bot now learns from its system prompt that one of its own capabilities cannot be used right now, naming the capability and the reason, so it says "GitHub isn't connected (401 bad credentials)" before acting instead of agreeing to the work and failing half a turn later ([#3273](https://github.com/ThinkFlowLab/FlyBot/issues/3273)). Saving a capability URL that carries a username or password is refused, and an older error that quotes such a URL is stored with the userinfo masked, so a credential can never be printed into the Bot's system prompt ([#3273](https://github.com/ThinkFlowLab/FlyBot/issues/3273)).
14+
- A capability's stored failure reason no longer repeats a credential the user typed into the capability itself: when a server echoes a request header or an environment value back in its own error body, the value of a name that promises a credential (`key`, `token`, `secret`, `auth`, `password`, `passwd`, `credential`, `signature`, `cookie`, `session`, `bearer`, and `pat` as a whole segment — `X-Github-Pat` yes, `X-Patch-Id` no) is masked before the reason is stored, longest value first so one credential is never left as a surviving tail, so it can no longer be printed into the Bot's system prompt every turn ([#3275](https://github.com/ThinkFlowLab/FlyBot/issues/3275)).
15+
- A capability's stored failure reason no longer repeats a credential the user typed into the capability's own command or arguments, or under a header or environment name that promises one: a value after a credential-looking flag in a stdio server's `command`/`args` (the next token, the `--flag=value` form, or a `NAME=value` token), and the value of a header or environment name such as `sig`, `hmac` or `pass` — with `sig` and `pass` matched as whole segments, so `assign`, `compass` and `bypass` keep their values — is masked with `[hidden]` before the stored reason is cut at 300 characters, longest value first and a value under six characters left alone, so a failed server's own error line can no longer print that credential into the Bot's system prompt every turn ([#3278](https://github.com/ThinkFlowLab/FlyBot/issues/3278)).
16+
- A capability's stored failure reason no longer repeats a credential typed into a command line saved in the capability's own `command`, or a credential value that begins with `-`: a `command` containing a space or a tab is read as a command line and its tokens go through the same rules as `args` — the token after a credential-looking flag, the `--flag=value` form and a `NAME=value` token are masked with `[hidden]` — and the token after a credential-looking flag is its value even when it begins with `-`, so `--api-key --verbose` stores `--api-key [hidden]` and a second `--api-key` is masked as a value too. A `command` that is one bare token without whitespace stays unmasked, because it cannot be told from a program name, the same limit as a bare `args` token; the stored reason is still one line of at most 300 characters with the mask applied before the cut, longest value first and a value under six characters left alone, so a failed server's own error line can no longer print that credential into the Bot's system prompt every turn ([#3281](https://github.com/ThinkFlowLab/FlyBot/issues/3281)).
17+
- A workflow start the host could not finish saying had one sentence — "the host did not create the run Bots within 60s" — with no node and no reason, so a lane whose node Bots were simply slower than the deadline looked like a silent hang and the same task was dispatched three times; the refusal now names the node the host never answered, the Bots it did create with how long each took, and, when the lane's node count no longer fits the deadline at that host's speed, the seconds it needs (a six-node line at about eleven seconds per Bot reads "needs about 66s … past the 60s deadline"), while a node Bot the host refuses carries the node and the host's own reason — an unavailable model, a taken Bot name, a full tree, or the host's error text — and `workflow/assign` reports a refused start as a failed answer (`ok: false` with `error.code` `bot/refused` and `error.details` naming the node) instead of a value inside the success envelope, so a caller cannot mistake a failed dispatch for a started run ([#3282](https://github.com/ThinkFlowLab/FlyBot/issues/3282)).
18+
- A Workflow now creates its run Bots four at a time instead of one after another, so a six-node line starts in about 20 seconds instead of about 66 and no longer misses the 60-second batch deadline a slow host used to hit ([#3286](https://github.com/ThinkFlowLab/FlyBot/issues/3286)). If the host refuses one node, the line stops asking for new Bots, waits for the ones already in flight, and releases every Bot it did create; the run still maps the graph's nodes to their Bots in the graph's own order.
19+
920
## [0.2.39] - 2026-11-21
1021

1122
### Fixed
@@ -1613,7 +1624,8 @@ If you used the legacy `dsh-bot` package, remove it before you install `ds-bot`.
16131624
- Only one DSH can change a team at a time; a second DSH on the same DSH home opens it read-only ([Data and backups](ds-bot/README.md#data-and-backups)).
16141625
- Group chats use many tokens: each member reads the group and answers in turn.
16151626

1616-
[Unreleased]: https://github.com/ThinkFlowLab/FlyBot/compare/v0.2.39...HEAD
1627+
[Unreleased]: https://github.com/ThinkFlowLab/FlyBot/compare/v0.2.40...HEAD
1628+
[0.2.40]: https://github.com/ThinkFlowLab/FlyBot/compare/v0.2.39...v0.2.40
16171629
[0.2.39]: https://github.com/ThinkFlowLab/FlyBot/compare/v0.2.38...v0.2.39
16181630
[0.2.38]: https://github.com/ThinkFlowLab/FlyBot/compare/v0.2.37...v0.2.38
16191631
[0.2.37]: https://github.com/ThinkFlowLab/FlyBot/compare/v0.2.36...v0.2.37

‎changelog.d/3273.fixed.md‎

Lines changed: 0 additions & 1 deletion
This file was deleted.

‎changelog.d/3275.fixed.md‎

Lines changed: 0 additions & 1 deletion
This file was deleted.

‎changelog.d/3278.fixed.md‎

Lines changed: 0 additions & 1 deletion
This file was deleted.

‎changelog.d/3281.fixed.md‎

Lines changed: 0 additions & 1 deletion
This file was deleted.

‎changelog.d/3282.fixed.md‎

Lines changed: 0 additions & 1 deletion
This file was deleted.

‎changelog.d/3286.fixed.md‎

Lines changed: 0 additions & 1 deletion
This file was deleted.

‎core/package-lock.json‎

Lines changed: 2 additions & 2 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

‎core/package.json‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "ds-bot",
3-
"version": "0.2.39",
3+
"version": "0.2.40",
44
"description": "DS Bot: a team of long-lived Bots for DeepSeek Harness, with Main Bots, Bot-to-Bot messages and group chats",
55
"keywords": [
66
"dsh-plugin",

‎patches/ds-bot/0007-version-and-tooling.patch‎

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -95,14 +95,14 @@ diff --git a/package-lock.json b/package-lock.json
9595
{
9696
"name": "ds-bot",
9797
- "version": "0.1.5",
98-
+ "version": "0.2.39",
98+
+ "version": "0.2.40",
9999
"lockfileVersion": 3,
100100
"requires": true,
101101
"packages": {
102102
"": {
103103
"name": "ds-bot",
104104
- "version": "0.1.5",
105-
+ "version": "0.2.39",
105+
+ "version": "0.2.40",
106106
"license": "Apache-2.0",
107107
+ "dependencies": {
108108
+ "@larksuiteoapi/node-sdk": "1.76.0"
@@ -733,7 +733,7 @@ diff --git a/package.json b/package.json
733733
{
734734
"name": "ds-bot",
735735
- "version": "0.1.5",
736-
+ "version": "0.2.39",
736+
+ "version": "0.2.40",
737737
"description": "DS Bot: a team of long-lived Bots for DeepSeek Harness, with Main Bots, Bot-to-Bot messages and group chats",
738738
"keywords": [
739739
"dsh-plugin",

0 commit comments

Comments
 (0)