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

Talk's direct lane: small edits go straight to a live preview branch in seconds; the check runs once at Publish #16832

Merged opened this

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

Merged

The owner wants Talk to feel like fly-by-wire: "show me this, now change this and that… each thing is like seconds", without interrupting the crew or wasting spend.

Notes

opened this

The owner wants Talk to feel like fly-by-wire: "show me this, now change this and that… each thing is like seconds", without interrupting the crew or wasting spend. Today a small Talk edit goes through tell to a crew builder run: 1m44s–6m20s, mostly opus writing tests, README and a version bump, plus a reviewer, failed-check loops and a frequent "Do it" hold. The preview swap-in itself is 0.6 s. Research: direct-lane.md.

Direct lane

  • Talk edits 1–3 files of copy, style, a value or a component directly; a shell, dependencies, migrations, tests or wider work go to the crew with tell. The reply names the lane; "just do it" or "have the crew" overrides.
  • The first write_file to this conversation's own talk-<id> branch in the person's own repo creates the branch and a draft pull marked talk:<id>. Each push deploys the preview (a talk asker in pushAsker, like drafts) and queues no check or review; the dead-draft sweep skips these.
  • Publish readies the pull, so the check runs once and the repo's own merge rules apply; it says "checking" while they wait. No direct merge to main for an existing app.
  • When the preview serves, the thread shows "Live in N s: <url>" and the log records talk edit live with ms.

The fence (heldWrite, src/http/mcp/shared.ts): a write_file to the conversation's own server-made talk branch is not held for "Do it" only when the repo is the person's own, the branch is not the default, the conversation's fenced reads were only files of that same repo, and the repo has no outside contributors. A test for each refusal (another person's repo, the default branch, a talk-* branch made outside this conversation, which is refused, not written, a conversation that read someone else's issue or comment, a repo with outside contributors). The receipt says "Written to your preview branch talk-…; Restore undoes it." Parallel first writes are serialized per conversation (validator finding).

Cost: Talk's own turn, an estimated $0.03–0.10 per edit, against $0.34–1.02 for a crew run. No crew slot.

Measure after release: message to new head serving (p50/p90), holds on talk writes (0), $ per edit, Restore rate.

tsc 0, gate exit 0, talk-lane 12/12 ×3 random order; related 1436 pass (3 fail on main on the Mac too). Not yet run end to end with a real preview runtime.

🤖 Generated with Claude Code

3 earlier comments
commented

<!-- look-pages 9e6ed3937904 --> Look pages for 9e6ed39, from the gate:

  • look pages (inferred): this pull changes src/web/pages/pull-verdict.ts, src/web/pages/pull.ts, src/web/talk_build.ts; the forge pictures /talk (src/web/talk_build.ts), the pages whose routes import it. A "Looks: <path>" or "No look: <why>" line in a commit message overrides
commented

<!-- look-pages 05dd77019200 --> Look pages for 05dd770, from the gate:

  • look pages (inferred): this pull changes src/web/pages/pull-verdict.ts, src/web/pages/pull.ts, src/web/talk_build.ts; the forge pictures /talk (src/web/talk_build.ts), the pages whose routes import it. A "Looks: <path>" or "No look: <why>" line in a commit message overrides
commented

<!-- look-pages 887c85013836 --> Look pages for 887c850, from the gate:

  • look pages (inferred): this pull changes src/web/pages/pull-verdict.ts, src/web/pages/pull.ts, src/web/talk_build.ts; the forge pictures /talk (src/web/talk_build.ts), the pages whose routes import it. A "Looks: <path>" or "No look: <why>" line in a commit message overrides
commented

<!-- look-pages 972caf62b43c --> Look pages for 972caf6, from the gate:

  • look pages (inferred): this pull changes src/web/pages/pull-verdict.ts, src/web/pages/pull.ts, src/web/talk_build.ts; the forge pictures /talk (src/web/talk_build.ts), the pages whose routes import it. A "Looks: <path>" or "No look: <why>" line in a commit message overrides
Sign in to join this conversation.

Search
↑↓ navigate ↵ open ⌘↵ its app esc close

Keyboard shortcuts

Docs