Skip to content

TensorQuay Agent 18.2.1

Choose a tag to compare

@TensorQuay-Dev TensorQuay-Dev released this 27 Nov 09:12
· 47 commits to main since this release
0cfb0a1

What this release fixes

  • "Stop now" works on an idle Desktop task. On Settings › Sandboxes, an idle Desktop task whose browser might hold
    a sign-in read as working and could not be stopped: a task that keeps its sign-in, one whose desktop a person had
    used through Take over, and every Desktop task after a gateway restart. It can be stopped now; the dialog still
    warns that a kept sign-in ends with the sandbox.
  • On a Desktop task, the window the agent was using stays in front when a run ends. The desktop's own browser is
    still closed and reopened with its sign-ins cleared at a run's end, but it no longer covers another application's
    window. The agent is also told that the browser closes when its turn ends, and to ask the person to Take over for a
    sign-in, never for a password in the chat.
  • A channel opens at its newest message and follows new ones, and an agent's posts are signed with its name in
    the channel
    , not its task's title.
  • A channel post's lists keep their numbers and bullets. An agent's answer that began "391." showed without its
    number, because a channel didn't style its posts' lists.
  • A sign-in sent before the page has loaded no longer puts the password in the address. Every form now sends its
    contents in the request body, never in the address where browser history and proxy logs keep it.
  • On a small local model the agent reads PDFs with the built-in reader. In our law-firm checks on a 27B local
    model the contract check passed 2 of 2 on the release build, in 14 and 17 minutes; in 18.2.0 the agent often
    hand-parsed the PDFs and ran out of time.
  • Stopping an agent team at the moment it hands out work no longer lets one more turn run after the team has
    ended. Agent teams remain experimental and off by default.
  • A page a server sends gzip-compressed is read by fetch_url (the first outside contribution to TensorQuay
    Agent), and a stray field on channel_post gets an answer that says how to fix the call.
  • The cookie library is updated past the advisory published on 18.2.0's release day (18.2.0 was not affected).

One addition

  • The scripted test model is a published image. deploy/install.sh --fake-model pulls it with the release's other
    images, so a first try without a model server builds nothing on your computer.

Upgrade note

  • Back up the database first (pg_dump), as for every release. 18.2.1 has no database migration.
  • Pull this release's images and restart, as the upgrade guide says. The fixes for PDFs and for the Desktop are in
    the runtime images: run deploy/pull-images.sh --workstation (and --desktop if you use it) again, and rebuild
    custom environments to get them. Environments built on 18.2.0 keep working.

Known issues

  • The majority rule can surprise (see 18.2.0's notes): a proposal's author is not counted until they vote, and two
    people cannot decide against two agents. We will revisit the rule in a later release.
  • Writing files in a sandbox is slower than on the host, most of all on microVM installs (see 18.2.0's notes); the
    measurement is being redone on a larger sample.
  • Agent teams (experimental, off by default): a gateway restart at the moment a lead calls done can lose that
    call.
    The lead is reminded twice; when it still doesn't call done, the team ends at its idle stop (30 minutes by
    default).
  • While a person holds a Desktop through Take over, "Stop now" says "It is working now". The stop is rightly
    refused then, but the words should say that a person has the desktop. Hand back first.

Every change in 18.2.1

A fix release for what real use of 18.2.0 found: "Stop now" on an idle Desktop task, the Desktop's browser coming to
the front at a run's end, a channel opening at its oldest message, agents' posts signed with their tasks' titles, PDFs
on a small local model, an agent team stopped while it hands out work, gzip pages, a channel post's lists losing their
numbers, and a sign-in sent before the page had loaded putting the password in the address. One addition: the scripted
test model is a published image, so a first try builds nothing. No database migration and no protocol change. The
fixes for PDFs and the Desktop are in the runtime images: pull the release's images again, and rebuild custom
environments to get them.

Added

  • The scripted test model is a published image (REL-U-014). deploy/install.sh --fake-model and
    deploy/pull-images.sh --fake-model pull tensorquay-agent-fake-model with the release's other images, so a first
    try without a model server builds nothing on the computer. Before, the installer built the test model there, which
    took minutes and needed a working image build. A fix release adds nothing as a rule; this is the one exception in
    18.2.1, so that the quick start works without a build.

Fixed

  • A channel opens at its newest message and follows new ones (WEB-U-541, WEB-E2E-150). It goes to the bottom once
    its log is read, follows what arrives there until the reader scrolls up, and comes back to the newest after the
    reader's own post. In 18.2.0 a channel opened at its oldest message.
  • A channel post's lists keep their numbers and bullets (WEB-E2E-151). Posts, proposals and to-dos are styled as a
    task's answers are. In 18.2.0 every list in a channel lost its markers, and an answer that began with a number and a
    full stop, such as "391. That is 17 times 23.", showed without the number.
  • For maintainers: the KVM gate runs every microVM test, whatever fails (tools/check.sh --kvm). One failing test
    stopped the run before: on the 18.2 candidates 19 of 97 tests never ran, and no CI runner has KVM to run them
    instead.
  • An agent's post shows its name in the channel, not its task's title (WEB-U-542). An agent added as "Analyst", the
    name people write after "@" and Members shows, posted under its task's title in 18.2.0.
  • A stopped agent team runs no one after its end (GW-I-395 to GW-I-397). When a helper's message woke the lead
    at the moment a person stopped the team, the wake could be stored just after the stop had dropped the waiting
    turns, and the lead then ran after the team ended; a helper's first turn could do the same, and a helper brought
    back for another round kept its waiting turn through the stop. A team's own turn is now stored only while its
    team runs with that task in it, and the stop drops a brought-back helper's turn too.
  • On a small local model the agent reads PDFs with read_file (PROMPT-U-030, prompt version 16). The Workstation's
    libraries line says "Read PDFs with read_file.", and read_file's description starts with what it does for a PDF. In
    our law-firm checks on a local 27B model the agent used it in 3 of 3 attempts and wrote no parser (in 18.2.0: 1 of 8,
    the others looking for a PDF library or hand-writing one until the time limit).
  • A stray channel_post field gets an answer that says how to fix the call (TOOL-U-162). The refusal names what
    that post type takes, which types take the field, and to send the call again without it. In 18.2.0 it said only
    that the field was not taken; in one of our checks a local model resent the same call three times and the run ended.
  • On a Desktop task, the window the agent was using stays in front when a run ends (RT-I-066). At a run's end the
    desktop's own browser is closed and reopened with its sign-ins cleared (unless the task keeps its sign-in). In
    18.2.0 the reopened browser came to the front and covered another application's window, which looked as if that
    application had been closed. The window that was in front before is now brought back, unless it was the desktop's
    own browser. Only that very window comes back, checked again after the reset (RT-I-067), so a Take over's typing
    reaches the reopened browser.
  • The computer tool says that the desktop's browser closes when a turn ends, and how a person signs in
    (TOOL-U-163).
    Its description tells the agent not to end a turn expecting a page to stay open, and, for a sign-in
    only the person can do, to ask them to press Take over, sign in on the desktop and hand back; never to ask for a
    password in the chat.
  • For maintainers: a release's images are joined under the version again (REL-U-015). 18.2.0's release run
    published each architecture's images and then failed to join them under 18.2.0: GitHub's runners had updated
    Docker, which refuses the index annotations the step added. The join now takes none, lives in
    tools/release/join-images.sh with its own test, and can be run again for a published version from the Actions page
    (Release images, join_version), which is how 18.2.0's version tags were published.
  • "Stop now" works on an idle Desktop task that may hold a sign-in (GW-I-398). On Settings › Sandboxes, an idle
    Desktop task read as working and its Stop now was dimmed whenever its browser might hold a sign-in: a task that keeps
    its sign-in, a Take over since its last run, a new sandbox before its first run ended, and every Desktop after a
    gateway restart. Kept on, such a task doesn't idle out either, so it held a Desktop place until its lifetime's end
    unless the keep was switched off or the task deleted. Stop now is refused only while a run is working, a message is
    waiting, or a person holds the desktop through Take over; the dialog still warns that a kept sign-in ends with the
    sandbox. An idle Desktop that may hold a sign-in still never gives way to a waiting task by itself. Before, in
    18.1.0 to 18.2.0, the stop asked the question meant for giving way.
  • A page a server sends gzip-compressed is read (TOOL-U-010). fetch_url asked for an uncompressed page but
    refused one a server compressed anyway ("compressed responses are not supported"); it now reads gzip, with the same
    2 MiB limit on what it unpacks, so a small compressed file can't expand past it. Other encodings are still refused,
    now by name.

Security

  • A form sent before the page's script has loaded keeps what it holds out of the address (SEC-070). Every form
    posts. Before, a sign-in clicked while the page was still loading went to /login?email=…&password=…, where the
    browser's history and any proxy's access log kept the password; the same held for the join page and the forms that
    take keys.
  • The cookie library is cookie 0.18.3 (it was 0.18.2), past RUSTSEC-2026-0594: private cookies' nonces could
    repeat in a process that forks workers. TensorQuay Agent was never affected: the gateway uses plain cookies only
    (the private-cookie feature isn't compiled in) and never forks; the update keeps the dependency audit (G-05) clean.

Upgrade notes

  • Back up the database first (pg_dump), as for every release; 18.2.1 has no migration.
  • Pull this release's images and restart (Upgrading to a new release).
    Run deploy/pull-images.sh --workstation (and --desktop where it is used) again: the fixes for PDFs and for the
    Desktop are in the runtime images. Custom environments built on 18.2.0 keep working; rebuild them to get those fixes.

Install this release: git clone --branch v18.2.1 https://github.com/TensorQuay/tensorquay-agent.git && cd tensorquay-agent && deploy/install.sh
(the install guide does the same by
hand). Upgrading: back up the database first, then follow
Upgrading to a new release.
The full history is in CHANGELOG.md.