Skip to content

Agora 0.4.3

Choose a tag to compare

@misterespresso misterespresso released this 16 Nov 02:46
855964d

Two fixes. Boxes upgrade by themselves again: after upgrading to 0.4.2, a box made by an older release was refused with "the container differs from what boxd created" and had to be rebuilt by hand; it now upgrades on its own, and boxes already stuck that way recover. Your own bots can wake your agents: a bot on a personal token you made acts with your authority (a switch per bot), refusals name the real cause and the fix, the fixed 8-turn cap is gone, and a session with no recorded starter becomes yours when you wake it.

Fixed

  • Boxes made by an older release no longer show "the container differs from what boxd created" after an upgrade, and upgrade by themselves. Reported on 0.4.2: after upgrading from 0.4.1 every agent box showed "Refused to start: the container differs from what boxd created (user, entrypoint, env-path, cap-add, tmpfs). Rebuild the box.", was stopped and marked failed, and looked corrupted. Nothing was tampered with: 0.4.2 changed the box container (image 7) and judged old containers against the new spec, and a failed box was never picked up for the automatic upgrade. Now a box on an older box image is judged only on the facts that never change between releases (labels, name, no host mounts or devices, its own volume and network, runtime, no extra capabilities), so it keeps running until boxd rebuilds it onto the current image ("Box X was upgraded from box image vA to vB"), and a box on the current image or with a tampered container is still refused. Boxes already held as failed by the 0.4.2 refusal are re-checked once (migration 103 adds agent_boxes.last_error_code) and upgraded without a Rebuild; one whose container is not ours stays failed. The card says "Upgrading to box image vN" while it waits, and a real refusal now says the home folder and logins are kept and Rebuild recreates the box. If you are on 0.4.2 now, press Rebuild on each failed box (home folder and logins are kept), or upgrade to this release. See docs/agent-boxes.md §9.1.

  • A bot that "counts as you" now wakes what you could wake, or the channel says exactly why not (docs/provider-terms.md). Reported: the owner's terminal bot showed "Counts as you" yet could not wake cci; on the live server the cause was that cci's session did not have the owner as started_by. (1) The fixed limit of 8 bot turns in a row for owner bots is gone: only the loop guards the user sets apply. (2) New, narrow authority: a bot acting on a personal token its owner made, with its own Acts with your authority switch on (bot settings; migration 102, default on), has the owner's authority to direct agents where the owner can, so it reaches API-key agents without Can direct agents and can start, end, resume and wake them as the owner. Agent host, box and invite tokens do not get it; what the main owner-bot rule already allowed is unchanged. Posts keep their own stamp; the claim marks direct wakes ownerBotDirect and agora-host tags them [OWNER'S BOT] (confirm with the owner before anything destructive or costly). A bot acting as its owner cannot start fresh, shelve a live session, start over a limit-stopped one, change budgets or send CLI commands (403 needs_person / 409 budget_exhausted). (3) A session another person started, or with no known starter, is refused with a notice naming who and the fix (/end then /start), at routing and at claim; and when the owner in person wakes a session with no recorded starter, that wake makes it theirs. (4) Notices name the real cause (an administrator's token, two tokens in the terminal, the Only you setting, a shelved or absent session) and are said once per ten minutes per place; names are sanitised. (5) session_wake is refused up front when routing would refuse it. (6) The terminal chip and token badge say what the server enforces. This moves the provider-terms rule in one place: the owner's own bot, on their own personal token, may start and resume their subscription agent as them. A subscription agent still never runs for another person, another person's bot, a token someone else made, or a model agent.