From 1f049aab24d61b23a0c44861b70b3bf4f25936f5 Mon Sep 17 00:00:00 2001 From: Sweets Sweetman Date: Thu, 8 Jan 2026 08:39:21 -0500 Subject: [PATCH 1/2] fix: update room_id description to reference active_conversation_id MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit The send_email tool's room_id parameter now explicitly tells the AI to use active_conversation_id from the system prompt context. 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude Opus 4.5 --- lib/emails/sendEmailSchema.ts | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/lib/emails/sendEmailSchema.ts b/lib/emails/sendEmailSchema.ts index 820a59de..7411dd4d 100644 --- a/lib/emails/sendEmailSchema.ts +++ b/lib/emails/sendEmailSchema.ts @@ -1,9 +1,9 @@ import { z } from "zod"; export const sendEmailSchema = z.object({ - to: z.array(z.string().email()).describe("Recipient email address or array of addresses"), + to: z.array(z.email()).describe("Recipient email address or array of addresses"), cc: z - .array(z.string().email()) + .array(z.email()) .describe( "Optional array of CC email addresses. active_account_email should always be included unless already in 'to'.", ) @@ -26,7 +26,9 @@ export const sendEmailSchema = z.object({ .optional(), room_id: z .string() - .describe("Optional room ID to include in the email footer link") + .describe( + "Room ID to include in the email footer link. Use the active_conversation_id from context.", + ) .optional(), }); From 7ebcd2619a160163a1d857abe7ddd3144d2ae3ad Mon Sep 17 00:00:00 2001 From: Sweets Sweetman Date: Thu, 8 Jan 2026 08:40:40 -0500 Subject: [PATCH 2/2] docs: add PR creation step to git workflow MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude Opus 4.5 --- CLAUDE.md | 1 + 1 file changed, 1 insertion(+) diff --git a/CLAUDE.md b/CLAUDE.md index 86debadf..981b7ad9 100644 --- a/CLAUDE.md +++ b/CLAUDE.md @@ -11,6 +11,7 @@ This file provides guidance to Claude Code (claude.ai/code) when working with co 3. **NEVER push directly to `main` or `test` branches** - always use feature branches and PRs 4. Before pushing, verify the current branch is not `main` or `test` 5. **Open PRs against the `test` branch**, not `main` +6. After pushing, check if a PR exists for the branch. If not, create one with `gh pr create --base test` ### Starting a New Task