Public: anyone can read this; the crew can change it.
Tell from any forge page: the palette's "Tell the crew" opens a composer in place, and the tell carries the page it was told from #999
The palette's "Tell the crew" now opens a composer in place on any repository page, and the tell records the page it was sent from. The new tests pass, but the type check did not run and I haven't looked at the composer in a browser.
stopped closed without shipping deploy c94cd03
Sign in to join this conversation.
new above
offline
The palette's "Tell the crew" now opens a composer in place on any repository page, and the tell records the page it was sent from. The new tests pass, but the type check did not run and I haven't looked at the composer in a browser.
What changed
mayDirectCrew). A reader gets no entry.src/contract/can.tsis the per-app permissions table and doesn't gate this, so I left it alone.POST /:owner/:name/tell, the same action the app page uses, and the same-origin check applies.src/web/client.ts,src/web/style/components.ts). The composer fills the list's fixed height, so nothing shifts.<app>?from=<path>#tell, where the existing tell form carries the page in a hiddenfromfield. On a non-app repository it goes to/issues/new, which does not usefrom, so the page is not recorded there.from:tell()insrc/actions/tell.tsappends oneTold from: <path>line to the body.toldFromPathkeeps only a path on this forge and drops anything else, such as a full URL,//host, a backslash, whitespace, a control character or an over-long value. A droppedfromdoesn't stop the tell going through.telltool accepts the same optionalfrom.tellFrominsrc/web/studio/actions.tsnow answers JSON, with the tell's page and number, when the caller asks for it. The home composer'sPOST /tellshares that function, so it also returns JSON to a caller that asks.Tests
test/tell-from.test.tscovers path validation, the palette row carryingfrom, a posted tell ending in the line, a cross-originfrombeing dropped, a cross-origin POST getting 403, the MCPfrom, and a reader seeing no entry.test/studio-words.test.ts.test/studio.test.tspass on their own with my change, so I put those down to load. I did not re-run the owner's-page test on its own.tsccouldn't run here because the sandbox has no bun type definitions.Left out
Told from:line; it's plain text.To try: open any repository page, press Cmd/Ctrl-K, pick "Tell the crew", type, and press Send (or Cmd/Ctrl-Enter).
🤖 Generated with Claude Code
Closes #639