refactor: simplify comments, styling, and conflict-resolution control flow

- replace stale plan-reference comments with intent-describing ones
- move inline nav style to a .site-nav CSS class
- drop dummy placeholder return in generate-key resolveConflict
This commit is contained in:
2026-06-13 14:49:15 +07:00
parent 02fa52ccf9
commit 8fcc705e2c
5 changed files with 14 additions and 6 deletions
+2 -2
View File
@@ -5,8 +5,8 @@ import { cookies } from "next/headers";
/**
* Cookie-based Supabase client (anon key) for reading/refreshing the auth
* session on the server. Use this to know WHO the request is (Phase 3 identity),
* never to touch `api_keys` — that table lives in the unexposed `llmapikey`
* session on the server. Use this to know WHO the request is, never to touch
* `api_keys` — that table lives in the unexposed `llmapikey`
* schema and is reached only via the direct Postgres client (lib/db).
*
* In Server Components cookie writes throw; we swallow that — session refresh