Convex-only Slice 1: clients talk to Convex, Flue is a private worker #20
Reference in New Issue
Block a user
No description provided.
Delete Branch "feat/auth-and-project-requests"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Summary
Normalizes the topology so web/desktop/mobile clients communicate only with Convex. Convex admits durable commands, dispatches private Flue turns through
FLUE_URL, and stores the product-facing result before clients observe it.Changes
Architecture
/api/flueretained through Caddy as the private Convex-to-Flue gateway (no browser use).Convex backend (normalized relational core)
organizations,organizationMembers(tenancy)projects,projectContextDocumentsconversations,conversationTurns,conversationMessages,conversationAttachmentssignals,signalConstraints,signalSources,works,signalWorkAttachments,workEventsWeb client
use-chat-agentreads reactive Convex rows and sends throughconversationMessages.send.useConvexAuth(isAuthenticated && !isRefreshing) plus personal-org bootstrap.react/react-domto19.2.8via catalog to fix SSR dual-React crash.Removed (~16.6k net lines)
Verification
End-to-end on cheaptricks (
https://zopu.cheaptricks.puter.wtf):Closes the loop on the Convex-only refactor and the auth race fixes.