Open-source AI teammates in Slack, Teams, Discord, Telegram and Mattermost. Self-host it, with any agent harness and any model.
Python agent-orchestrationaiai-agentschatopsdiscordlangchainmcpmicrosoft-teamsmulti-agentopen-sourceopenaiself-hostedslack
Merge remote-tracking branch 'origin/hold-auth-rows' into hold-room-access
Abel Dantas6ac8c1930869
diff --cc CHANGELOG.mdindex b61d5afa5,a5f7b1234..5e43e349f--- a/CHANGELOG.md+++ b/CHANGELOG.md@@@ -159,15 -159,18 +159,27 @@@ version of their own to them without alcompares it only when someone signs in.#### Changed+ - **Workspaces belong to organizations. Upgrade by replacing every pod, and+ downgrade the database before rolling back.** Every existing workspace gets+ an organization of its own, and its owners become the organization's admins.+ An organization admin administers every workspace in it without being added+ to each. A release from before organizations doesn't know about organization+ admins: if old and new pods serve together during a rolling update, or after+ a rollback that keeps the new database, an owner removed from a workspace by+ an old pod is still the organization's admin and can come back into it. So+ for this release, replace every switch-core pod at once rather than rolling+ them, and to roll back, first downgrade the database to the revision before+ `238c68b7306e` (`alembic downgrade 238c68b7306e-1`), then start the older+ release.+- **A post's first checks are kept until a signal says they changed.**+ Every post checks that its agent is in the room and that no budget+ covering it has run out, and a controller relaying it checks the+ membership again: two transactions per post. Each process now keeps those+ answers as it keeps a controller token's rows. Triggers on `room_agents`,+ `rooms` and `usage_budgets` signal every change, so an answer is kept while+ the signal connection listens and for `AGENT_AUTH_CACHE_TTL_SECONDS`+ otherwise. A refusal is never kept. `ROOM_ACCESS_CACHE_MAX_ENTRIES`+ (20,000) bounds what is kept.- **An agent's stream reads in one database session per pass, and pooledconnections are no longer pinged before use.** A pass that delivered amessage opened a session for each of its reads, six pool checkouts and six