|
2 | 2 |
|
3 | 3 | ## Unreleased |
4 | 4 |
|
| 5 | +## Version 4.12.31, 11/30/2026 |
| 6 | + |
| 7 | +The pack's half of the agent work the engines release as 4.12.31, in lockstep with the Node.js pack, and the pack as an |
| 8 | +application server. **The audit:** every model turn of an agent loop is recorded in a transcript audit store on |
| 9 | +PostgreSQL, off the turn's path (Added 1; ADR-0035 in mercury-composable); a single call without tools joins it behind |
| 10 | +a switch (Added 11), and so do the questions, answers and advices of ask-a-person (Added 8). **Tools for an agent |
| 11 | +loop:** twelve built-in tools - files inside one workspace, the web inside an allowlist, a knowledge graph inside one |
| 12 | +database and a clock - each with a published catalog row (Added 2 and 3; ADR-0036), and recipes for the tools of |
| 13 | +existing MCP servers (Added 4). **Ask a person:** `person.ask` carries a loop's wait to a person and brings the |
| 14 | +decision back through a signed resume link (Added 5), and the agent-question app is the inbox, with its React UI |
| 15 | +(Added 6 and 9, Changed 1 to 4). **Documents:** a single `llm.chat` call takes images and PDF pages by reference |
| 16 | +(Added 12), and the helper takes uploads into the folder they are read from (Added 14). **The application server:** |
| 17 | +`rest.yaml` is the router of a Python application as it is of an engine application (Added 13 and 14, Changed 10, |
| 18 | +Documentation 1), the host serves static content (Added 7) and tells an application when it starts to stop |
| 19 | +(Added 10). **One rule for a value:** every YAML file is read by YAML 1.2.2, and a setting, a number, a time and a |
| 20 | +switch are read by one rule in both packs, a wrong value stopping the start by its key's name (Fixed 4 to 12). The |
| 21 | +floor is Python 3.11 (Changed 9). Driven live from the engines through this pack: the transcript audit store, the |
| 22 | +agent tools, ask-a-person with its UI, and a pack's functions as the provider of a hot-deployed graph |
| 23 | +(`transcript-audit-live-drive.md`, `agent-tools-live-drive.md`, `ask-a-person-live-drive.md`, |
| 24 | +`agent-question-ui-live-drive.md` and `hot-deploy-live-drive.md` in the engine repository). |
| 25 | + |
| 26 | +**Upgrade notes - READ:** a configuration file is read by YAML 1.2.2: `yes`, `no`, `on` and `off` are text and `010` |
| 27 | +is 10, so a switch or a flag written that way stops the start (Fixed 11); the LLM helper reads its settings when it |
| 28 | +starts, so a wrong value it never exercised stops the start (Fixed 9); an installation on Python 3.10 stays on 4.12.30 |
| 29 | +(Changed 9); a `-D` value that held a literal `${...}` is resolved (Changed 6); the distributions carry the license as |
| 30 | +`LICENSE` (Changed 12). For an application that ran the unreleased extensions from `main`, the entries under Fixed and |
| 31 | +Changed carry their own notes, `graph.ingest`'s first (Fixed 3). |
| 32 | + |
5 | 33 | ### Added |
6 | 34 |
|
7 | 35 | 1. **The transcript audit store: a durable, queryable record of every model turn (RFC-0012 in mercury-composable).** |
|
29 | 57 | browser. `llm.chat` records the loop's `x-graph-id` and `x-node` headers at the first turn; `llm.health` reports |
30 | 58 | `transcript_audit`. Pinned by `tests/test_transcript_audit.py` (28 tests on the memory store and a recording fake of |
31 | 59 | the connection pool) and a live test gated on `LLM_TRANSCRIPT_AUDIT_TEST_URL`; the shared loop vector file is |
32 | | - unchanged, since the audit is a side effect of a turn and not part of the loop contract. The Node twin follows in |
33 | | - lockstep. **Upgrade note:** none without `llm.transcript.audit`. A record saved by the previous helper (version 1) |
| 60 | + unchanged, since the audit is a side effect of a turn and not part of the loop contract. The Node.js pack carries |
| 61 | + the twin. **Upgrade note:** none without `llm.transcript.audit`. A record saved by the previous helper (version 1) |
34 | 62 | continues under the new one; its turns before the upgrade carry no facts, and the check logs them as unaudited. |
35 | 63 |
|
36 | 64 | 2. **The built-in agent tools: files inside one workspace, the web inside an allowlist, and a clock (RFC-0013 in |
|
211 | 239 | and a reply the helper judged unusable (its 422) are recorded with their cost, and a call that failed before the |
212 | 240 | model answered leaves no row. Pinned by the new shared file `tests/vectors/llm-audit-vectors.json` (25 cases, run |
213 | 241 | through the save, the check event and the function behind its mailbox) and six tests beside it; sixteen mutations |
214 | | - of the code and the file were each caught by a test. The Node twin follows in lockstep. **Upgrade note:** none |
| 242 | + of the code and the file were each caught by a test. The Node.js pack carries the twin. **Upgrade note:** none |
215 | 243 | without the switch; it is off by default, because it multiplies what the audit store holds. With it on, |
216 | 244 | `llm.transcript.store` must be set (the shipped `application.yml` sets `memory`), or the application stops at |
217 | 245 | start by name. |
|
237 | 265 | with the size and the SHA-256 of the source file as it was read, never its bytes. Not on `llm.stream` and not on a |
238 | 266 | loop turn (400). Pinned by the new shared file `tests/vectors/llm-attachments-vectors.json` (48 cases) over the |
239 | 267 | fixture files of `tests/fixtures/attachments`, and six tests beside it; thirty-one mutations of the code, the |
240 | | - vector file and a fixture were each caught by a test. The Node twin follows in lockstep. **Read:** the folder is |
| 268 | + vector file and a fixture were each caught by a test. The Node.js pack carries the twin. **Read:** the folder is |
241 | 269 | readable through the model by every caller that can reach the helper, and its files are sent to the provider - |
242 | 270 | choose it as deployment configuration and give it only what a graph may show a model. **Upgrade note:** none |
243 | 271 | without `attachments`; a call without the field reads no folder and sends text as before. |
|
346 | 374 | counts lines by the line feed; `pages` takes the digits 0 to 9 only; an allowlist entry that starts with a |
347 | 375 | class (`[ab].example.com`) is a pattern. |
348 | 376 |
|
349 | | - **Upgrade note:** the agent tools are in no release yet. For an application that runs them from `main`: an address |
| 377 | + **Upgrade note:** the agent tools are new in this release. For an application that ran them from `main`: an address |
350 | 378 | in `100.64.0.0/10` and an IPv4-mapped address are refused unless `tools.web.allow.private=true`, and a glob no |
351 | 379 | longer reaches beneath a symbolic link to a folder. |
352 | 380 |
|
|
581 | 609 | 3.11, the floor, and 3.14, the newest release the package lists - the floor catches what a user on it would hit |
582 | 610 | (a typing stub, a missing method, as the first run of #84 did on 3.10), the newest the deprecations ahead; |
583 | 611 | `fail-fast` is off so both results show. **Upgrade note:** an installation on Python 3.10 stays on 4.12.30 until |
584 | | - it moves to a supported interpreter; `pip` refuses the next release there by the declared floor. |
| 612 | + it moves to a supported interpreter; `pip` refuses this release there by the declared floor. |
585 | 613 | 10. **The ask-person and agent-question extensions serve their pages, endpoints and the device stream as `rest.yaml` |
586 | 614 | entries - the first adopters of REST automation in the pack (RFC-0018's open question on the hand-mounted routes; |
587 | 615 | Eric's direction of 2026-11-25).** Each extension gains a `resources/rest.yaml` and turns `rest.automation` on in |
|
603 | 631 | the row (whose `seq` is the cursor, as the React UI already reads it) and no `id:` line, which the engines' SSE |
604 | 632 | dialect has not; the JSON the UI reads keeps its nulls (an advice's `state`, a silent engine's `status`), which |
605 | 633 | the functions serialize themselves because the engines' renderer omits a null. **Upgrade note:** an installation |
606 | | - that reads these endpoints with its own client sees the error body gain `status`; nothing else changes. The Node |
607 | | - pack follows. |
| 634 | + that reads these endpoints with its own client sees the error body gain `status`; nothing else changes. The |
| 635 | + Node.js pack carries the same (mercury-nodejs #148). |
608 | 636 |
|
609 | 637 | 11. **Code quality: the findings of a local SonarQube and IDE round (2026-11-29) on this release's code, with no |
610 | 638 | behaviour change** - in lockstep with the Node pack. The 32 functions above the cognitive-complexity threshold of |
|
0 commit comments