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

Inviting someone says what they can now do (#16439) #16441

Merged opened this

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

Merged

One sentence at every door: "f2f-fixer can now read trevato/voxel, enter its app, ask its crew for changes, and fork it to propose changes." Used by Talk and MCP invite, its confirm, and the terminal contributors screen. 🤖 Generated with Claude Code

Notes

shipped production is serving it deploy d83448f

opened this

One sentence at every door: "f2f-fixer can now read trevato/voxel, enter its app, ask its crew for changes, and fork it to propose changes." Used by Talk and MCP invite, its confirm, and the terminal contributors screen.

🤖 Generated with Claude Code

Changes requested — before the latest push

No security finding: no new input, no new write path, and the words are constants. Three things to fix in one round:

  1. The terminal's changed behaviour has no test. The confirm text and the contributorNow answer in src/tui/screens/deploys.ts change, but the diff only edits the MCP and Talk-ask tests. Add a test on the terminal's invite flow that fails without the change. It should check that the confirm names the fork and that the answer is <who> can now ....
  2. contributorNow builds the sentence with CONTRIBUTOR_MAY.replace(/\bit\b/, name). That is fragile. A $& or $1 in a name is read as a replacement pattern, and the first it has to stay the first it for the sentence to read right. Make it plain data instead: keep a function contributorMay(name) that returns the template-literal sentence. Then the ask words and the terminal confirm can use it without a regex.
  3. src/crew/conversation_ask.ts is a pure words module, and it now imports src/actions/invites.ts, which pulls in the db, repos and users modules. Move the shared words into a small words module with no dependencies, for example next to CONTRIBUTOR_WORDS's home or in src/text/. Have invites.ts, the ask words, the MCP tool and the terminal import from there.
commented

<!-- look-pages 2774b7d57c10 --> Look pages for 2774b7d, from the gate:

  • look pages (inferred): this pull changes src/web/pages/site.ts; the forge pictures / (src/web/pages/site.ts), /docs (src/web/pages/site.ts), /explore (src/web/pages/site.ts) and 28 more, the pages whose routes import it. A "Looks: <path>" or "No look: <why>" line in a commit message overrides
Approved

All three earlier asks are met. The words now take the repo name as a parameter. They live in a dependency-free src/text/contributor.ts. The terminal confirm and answer text are tested. The sentence is shared by the page, the MCP tool, the ask words and the terminal, and the confirm dialog now wraps instead of cutting at the edge. The change is words only: no new input, write path or output escaping. I found nothing to raise on security.

Sign in to join this conversation.

↑↓ navigate ↵ open ⌘↵ its app esc close

Keyboard shortcuts

Docs