Repository navigation
Commit 72d6287
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: Release1 parent 5cc2dee commit 72d6287
10 files changed
Lines changed: 19 additions & 13 deletions
File tree
- changelog.d
- core
- patches/ds-bot
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
6 | 6 | | |
7 | 7 | | |
8 | 8 | | |
| 9 | + | |
| 10 | + | |
| 11 | + | |
| 12 | + | |
| 13 | + | |
| 14 | + | |
| 15 | + | |
| 16 | + | |
| 17 | + | |
| 18 | + | |
| 19 | + | |
9 | 20 | | |
10 | 21 | | |
11 | 22 | | |
| |||
1613 | 1624 | | |
1614 | 1625 | | |
1615 | 1626 | | |
1616 | | - | |
| 1627 | + | |
| 1628 | + | |
1617 | 1629 | | |
1618 | 1630 | | |
1619 | 1631 | | |
| |||
This file was deleted.
This file was deleted.
This file was deleted.
This file was deleted.
This file was deleted.
This file was deleted.
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | 1 | | |
2 | 2 | | |
3 | | - | |
| 3 | + | |
4 | 4 | | |
5 | 5 | | |
6 | 6 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
95 | 95 | | |
96 | 96 | | |
97 | 97 | | |
98 | | - | |
| 98 | + | |
99 | 99 | | |
100 | 100 | | |
101 | 101 | | |
102 | 102 | | |
103 | 103 | | |
104 | 104 | | |
105 | | - | |
| 105 | + | |
106 | 106 | | |
107 | 107 | | |
108 | 108 | | |
| |||
733 | 733 | | |
734 | 734 | | |
735 | 735 | | |
736 | | - | |
| 736 | + | |
737 | 737 | | |
738 | 738 | | |
739 | 739 | | |
| |||
0 commit comments