From 27e28b0dd15e899c52b85fb4b32e66aa4112668a Mon Sep 17 00:00:00 2001 From: Gabriel Brown Date: Fri, 30 Oct 2026 14:58:46 -0400 Subject: [PATCH] Show mocks in T3 Code threads, and drop the t3 MCP servers that T3 already provides --- user/agents/AGENTS.md | 15 ++++++++++++++- user/agents/mcp/servers | 9 --------- user/agents/skills/frontend-design/SKILL.md | 6 +++++- user/agents/skills/grilling/SKILL.md | 4 ++-- user/agents/skills/prototype/UI.md | 16 +++++++++++----- 5 files changed, 32 insertions(+), 18 deletions(-) diff --git a/user/agents/AGENTS.md b/user/agents/AGENTS.md index ae3031e..2849141 100644 --- a/user/agents/AGENTS.md +++ b/user/agents/AGENTS.md @@ -53,11 +53,24 @@ I wanted to share some of my preferences here so we can be more aligned as we wo # Visual & Design Work -- Do not edit real components first unless asked to by the user. For any non-trivial UI, layout, or copy change, build serveral distinct static mocks, publish them with a simple http server, report the URL, and stop. Wait for a decision before implementing. +- Do not edit real components first unless asked to by the user. For any non-trivial UI, layout, or copy change, build several distinct static mocks, show them to me, and stop. Wait for a decision before implementing. + - In T3 Code, show each mock in the thread with `html_render`, and link the mock files by absolute path so they open full size in T3's file viewer. No server. + - Outside T3 Code, publish them with a simple http server and report the URL. - Avoid continuously repainting CSS animations (pulse, shimmer, blur, spinners); they peg the GPU on high-refresh displays. --- +# T3 Code + +I run my agents in T3 Code, and I want to stay in it rather than juggle terminals and browser windows. A thread has `T3CODE_THREAD_ID` set. + +- Show visuals in the thread: charts, tables, mocks, plans, to-do lists. `html_preview`, then `html_render`. +- Link files by absolute path. HTML, PDF, images and Markdown open rendered in T3's file viewer, beside the thread. Do not start an http server just so I can look at a file. +- Reach my other machines through T3's linked environments (`t3_environment_links`, then that environment's id), not through ssh, unless I ask for ssh. +- Claude in Chrome is still the browser for my own signed-in sessions. + +--- + # Blast Radius - Never touch production, live databases, or daily-driver build/preview channels unless explicitly asked to. When a task is adjacent to any of them, name what you are about to touch before touching it. diff --git a/user/agents/mcp/servers b/user/agents/mcp/servers index 4d6586b..6bdd8c9 100644 --- a/user/agents/mcp/servers +++ b/user/agents/mcp/servers @@ -42,12 +42,3 @@ sentry-gbrown stdio bin/sentry-gbrown SENTRY_GBROWN_TOKEN # end-to-end runs. The ticket skill captures its proof screenshots this way. # No token, hence no variable in the last column. playwright stdio bin/playwright - -# T3 Code environments, one per machine. Agents read projects and threads and, -# with more than read-only access, start and message threads there. No token: -# each is an OAuth server that asks for a pairing code from that machine on -# first sign-in, and the grant lasts 30 days. -t3-desktop http https://t3desktop.gbrown.org/mcp -t3-mac http https://t3mac.gbrown.org/mcp -t3-sr http https://t3sr.gbrown.org/mcp -t3-jr http https://t3jr.gbrown.org/mcp diff --git a/user/agents/skills/frontend-design/SKILL.md b/user/agents/skills/frontend-design/SKILL.md index 6f374d8..ded2ba2 100644 --- a/user/agents/skills/frontend-design/SKILL.md +++ b/user/agents/skills/frontend-design/SKILL.md @@ -64,7 +64,11 @@ This is the rule from my preferences, spelled out: way in one sentence, they are the same mock. 2. Build them as static pages. Real content, not grey boxes labelled "image here", because the content is where most of the design decisions turn out to matter. -3. Publish them with a simple http server, report the URL, and stop. +3. Show them, and stop. In T3 Code, render each direction in the thread with `html_preview` + then `html_render`, one direction per render so each expands full screen on its own, and + link the files by absolute path for the file viewer. `html_render` overrides a page + background, so a direction that paints its own goes inside an `