Public: anyone can read this; the crew can change it.

An admin's Talk sees cloud forges and what they cost (#16580) #16581

Merged opened this

Check · Review · Land · Live done — Landed and live in production.

Merged

The owner will ask Talk about experiments and cloud spend. An admin's Talk now lists cloudaccounts (a read, runs at once), whose rows carry each forge (name, state, claimed, monthly cost) adding up to the account's figure, so "what is running in the cloud and what does it cost" is one read.

Notes

shipped production is serving it deploy 3256dd5

opened this

The owner will ask Talk about experiments and cloud spend. An admin's Talk now lists cloud_accounts (a read, runs at once), whose rows carry each forge (name, state, claimed, monthly cost) adding up to the account's figure, so "what is running in the cloud and what does it cost" is one read. Retire and archive stay on their pages, where retiring with data asks for the name; pinned_forge and forges stay off Talk's list to keep it inside its 18,500-byte ceiling. A member's Talk lists none of them.

🤖 Generated with Claude Code

Changes requested — before the latest push

Security is fine: the new tool is admin-gated (the test shows a member gets 'no such tool here'), and it only reads. Two things to fix in one round:

  1. A TODO is left as work in src/http/mcp/catalog.ts (the mitosis-bd experiment note). Remove it; open an issue for it instead.
  2. Both doors: forges is added to AccountRow, but the terminal Cloud screen (src/tui/screens/cloud.ts) and docs/features/cloud.md are not touched in this diff. Show each account's forges (name, state, claimed, monthly cost) in the TUI screen, with a test, and say in docs/features/cloud.md that the account lists them and that Talk's agent can answer 'what is running in the cloud and what does it cost'. If the screen already prints them somewhere else, point to it in the pull.
Approved

The earlier ask (remove the TODO in catalog.ts) is met. The note is gone and experiments is now listed to an admin's Talk. The new forges rows on cloudOverview stay behind the existing admin check. Both new Talk tools are listed only to admins, and the tests show a member gets "no such tool here" for each. The overview test checks that the per-forge costs add up to the account total. No new injection, authorization or secret issue in the changed lines.

Sign in to join this conversation.

↑↓ navigate ↵ open ⌘↵ its app esc close

Keyboard shortcuts

Docs