From a566722bb8a292daae62654e22e6fc1caf2ca052 Mon Sep 17 00:00:00 2001 From: Kisa Date: Sun, 21 Jun 2026 14:30:44 -0400 Subject: [PATCH] chore: wire shared-context startup pointer (build-spec Phase 3) Adds the Startup Ritual to signal/CLAUDE.md and records today's key rotation + Clerk-in-flux note in context/current-state.md, so Pi and Claude Code both read and write the same shared state file. Co-Authored-By: Claude Opus 4.8 (1M context) --- CLAUDE.md | 7 +++++++ context/current-state.md | 5 +++-- 2 files changed, 10 insertions(+), 2 deletions(-) diff --git a/CLAUDE.md b/CLAUDE.md index 6e929d1..41c85e5 100644 --- a/CLAUDE.md +++ b/CLAUDE.md @@ -9,6 +9,13 @@ worklist for supplier staff to prioritize outreach and capture revenue before it NOTE: Signal identifies gaps. It does not conduct outreach. Never write copy implying Signal contacts prescribers or patients directly. +## Startup Ritual (shared context with Pi) +At session start, before other work: +1. Read `context/current-state.md` in this repo. It is the shared state file that Pi and Claude Code both read at start and update at wrap-up; it holds the ACTIVE priority, the last 5 decisions, and open threads. +2. (Once Build Spec Phase 1 lands, also check TriLane Memory for new research_insights.) + +At wrap-up: update `context/current-state.md` with what you did and the next priority. + ## Core Value Proposition Shifts supplier staff time from reactive (appeals after denial) to proactive (preventing denial conditions). diff --git a/context/current-state.md b/context/current-state.md index 7a07427..d932279 100644 --- a/context/current-state.md +++ b/context/current-state.md @@ -5,6 +5,7 @@ NEXT: Claude Code to execute Build Spec Phase 1 (TriLane memory category). ## Decisions (last 5) +- 2026-06-21: SIGNAL_API_KEY rotated by Claude Code. Leaked key removed from Vercel + source; api.js now Clerk-token-only; exposure closed (old key returns 401). Frontend redeploy left to Pi's next signal-ui deploy. - 2026-06-21 — STTIL Shield is a standalone revenue product, not Signal add-on. - 2026-06-21 — AI Consent Addendum is open-source brand builder + Shield lead magnet. - 2026-06-21 — Game Center token naming: fun/professional names (e.g., 'Dwight Schrute', 'Grogu') for tokenized entities, no PII/PHI risk. @@ -13,7 +14,7 @@ NEXT: Claude Code to execute Build Spec Phase 1 (TriLane memory category). ## Open Threads (max 5) -- Clerk Production: DNS records propagating; app still not loading at signal-ui-xi.vercel.app. +- Clerk: live state in flux (Vercel Clerk var changed ~1h ago; deployed bundle shows mixed pk_test/pk_live). Claude Code did NOT touch Clerk this session. Pi to confirm current render state and own the prod migration. - Pi's Firecrawl Env Var: Needs pi restart from sourced shell (this session using `curl` workaround). - LabABLE Meeting: This week; pitch JV on Shield + AI Consent as their compliance solution. - Claude Code's Pilot E2E: Unbreak live app (P0-1) is top priority pending Clerk DNS. @@ -32,4 +33,4 @@ NEXT: Claude Code to execute Build Spec Phase 1 (TriLane memory category). TriLane Memory has 0 items. Phase 1.1 (Claude Code) will add `research_insight` category. Then plant the insights from this session via Claude Code. -## Updated: 2026-06-21 09:30 UTC +## Updated: 2026-06-21 (Claude Code: key rotation + shared-context pointers wired)