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

The terminal makes an organization you own from the palette, with the same rules and words as MCP `org_create` #7260

shipped production is serving it opened this has it
opened this

For: the owner setting up a client's forge from the terminal: the client's apps live under one organization, and today that first step needs a browser.

createOrg (src/actions/orgs.ts) is reached from the new-organization page and MCP org_create. No terminal command calls it.

Done:

  • [ ] A palette command in src/tui/forge.ts, "New organization", for a signed-in person (never an agent), asks for a name in a small screen src/tui/screens/neworg.ts and calls createOrg.
  • [ ] A taken, reserved or invalid name is refused with the same words as MCP org_create, and nothing is made; the name stays in the field to fix.
  • [ ] On success the screen says the organization's name and where it lives, and the new-repository screen offers it as an owner.
  • [ ] A new test/tui-neworg.test.ts: make one, refuse a taken and a reserved name, an agent session has no such command.

Files: src/tui/screens/neworg.ts, src/tui/forge.ts, one test. Risk: low; reuse the action.

Sign in to join this conversation.

↑↓ navigate ↵ open ⌘↵ its app esc close

Keyboard shortcuts

Docs