Skip to content

v0.111.0

Choose a tag to compare

@davidfarah2003 davidfarah2003 released this 27 Oct 19:04
5a9323f

Install or update: npm i -g cotal-ai@0.111.0

Changes in this release

  • Bound the issued-authority stores. A generation now carries its horizon in its first 8 hex digits, every issued and accepted row is written with a NATS per-message TTL that removes it 60 seconds after that horizon, and both stores set allow_msg_ttl. Every resolution, renewal and retirement refuses a generation at or past its horizon before it reads the store, so a removed key that is written again is never read. Horizons are the bearer expiry for a user-auth manager-caller view, the instrument expiry for a control-caller instrument, the assignment expiry for a platform supervisor, and 30 days after spawn for a managed static seat, whose renewals stop there (rotation is tracked in #4942). The issuer credential gains STREAM.INFO on the accepted store, and every issuer and resolver (the one-shot and held issuer sessions and the manager) checks both stores' shape when it binds. Breaking: a space's KV_cotal_issued_<space> and KV_cotal_accepted_<space> created by an earlier release are refused by every binder before it reads or writes them. Stop the space's auth service, callout replicas and managers, back up both streams with nats stream backup, remove them with nats stream rm, and start this release to recreate them. Generations issued before the upgrade refuse afterwards.
  • Two next steps now run as written. Bare cotal's Start here row for a stack whose recorded store cap is below the floor names cotal up --max-file-store 67108865, with the label saying a store cap of 67108865 or more, instead of a command that ends in "or more" and fails on it; the folder note keeps its sentence. The width wrapper keeps a backticked command that starts with cd whole, as it already did for one that starts with cotal, so the manager-start refusal's cd <folder> && cotal manager start never breaks across lines.

What's Changed

Full Changelog: v0.110.0...v0.111.0