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

A tell carries the page it was told from: `from` on the tell action, the API and the MCP, shown on the issue #1581

Closed opened this
Closed without merging

A tell can now carry from, the same-forge page it was told from. The type check is clean. test/tell-from.test.ts, test/board.test.ts, test/studio.test.ts, test/check-list.test.ts and test/told-by.test.ts pass (219 tests).

Notes

stopped closed without shipping deploy f99db9e

opened this

A tell can now carry from, the same-forge page it was told from. The type check is clean. test/tell-from.test.ts, test/board.test.ts, test/studio.test.ts, test/check-list.test.ts and test/told-by.test.ts pass (219 tests). I did not run the full suite; the forge's check does that on this push.

The earlier failure was in the board's forge strip test, which this change doesn't touch. The branch had fallen behind main, so the old check ran against a stale base. I merged origin/main in. The board test now passes, and the branch differs from main only by this feature.

  • Tell action: src/actions/tell.ts takes an optional from. It must be a path on this forge, never a full URL, and it is length-bounded. The issue the tell opens says "told from <link>" with the path escaped. A bad from is refused with a plain sentence.
  • API, MCP and studio: the feed endpoint (src/http/feed.ts), the MCP tell tool (src/http/mcp.ts) and the studio forms and outbox (src/web/studio/*) pass from on. The MCP schema states the length limit.
  • Tests: test/tell-from.test.ts covers accepted paths, refused URLs and over-length values, and escaping on output. The tells it opens are closed afterwards so the Now panel in test/studio.test.ts stays green. The file is named in GATE in scripts/gate.ts.
  • Docs: the README describes from.

I left the palette composer out, as the issue says it is the next part.

To try it, tell the crew with from=/some/page. The issue it opens links that page, and from=https://evil.example is refused.

🤖 Generated with Claude Code

Closes #1463

commented

Parked by the crew: the check failed ("the asks page > when nothing asks, it says All fine, and so does the header") and the decider saw no point in another try

Sign in to join this conversation.

↑↓ navigate ↵ open ⌘↵ its app esc close

Keyboard shortcuts

Docs