Signal/context/current-state.md
Kisa a566722bb8 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) <noreply@anthropic.com>
2026-06-21 14:30:44 -04:00

36 lines
2.2 KiB
Markdown

# current-state
ACTIVE: Finalizing architecture for STTIL Shield + AI Consent Addendum. Claude Code to execute Build Spec Phase 1 (TriLane memory).
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.
- 2026-06-20 — current-state.md bridges Pi and Claude Code. Both read at start, both write at wrap-up.
- 2026-06-18 — SSA principle adopted: sparse, content-dependent, time-weighted retrieval.
## Open Threads (max 5)
- 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.
## Stack
- Signal: PHI contained in `patient_id` field (name, MRN, account #s) — requires tokenization.
- Model for Pi: `openrouter/google/gemini-2.5-flash` (image-capable, cheap, agentic).
- Signal-api: Railway (signal-api-production-91c2)
- Signal-ui: Vercel (signal-ui-xi.vercel.app)
- Supabase: itmospnregdyiatbbdwl (JWT key)
- TriLane: localhost:8000 (signal/sessions/scale-software workspaces)
- Clerk: production key deployed to Vercel, auth to `clerk.sttilsolutions.com`, Google OAuth configured.
## Tip
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 (Claude Code: key rotation + shared-context pointers wired)