Files
zopu-code/packages/backend/convex
2026-07-28 16:52:49 +05:30
..
2026-07-19 02:46:47 +05:30
2026-07-19 02:46:47 +05:30
2026-07-19 02:46:47 +05:30
2026-07-28 16:52:49 +05:30
2026-07-19 02:46:47 +05:30

Convex Backend

Convex is the only application API used by web, desktop, and mobile clients. The active backend covers the durable control plane through Slice 4: tenancy, projects, conversation turns, Signals, Work planning, approved Design slices, simulated Runs and Attempts, artifacts/delivery metadata, and Flue persistence.

Domain relations

  • organizations and organizationMembers own tenancy.
  • projects owns the single v0 Git source; projectContextDocuments stores repository context.
  • conversations, conversationTurns, conversationMessages, and conversationAttachments own chat admission and reactive history.
  • signals, signalConstraints, and signalSources preserve structured intent and exact evidence.
  • works, signalWorkAttachments, and workEvents own proposed Work and provenance.
  • workDefinitions, workQuestions, and workApprovals own versioned outcome contracts and approvals.
  • designPackets and workSlices preserve versioned implementation intent and executable slice order.
  • workRuns, workAttempts, workAttemptEvents, and resolverDecisions own bounded simulated execution and recovery.
  • workArtifacts and workDeliveries preserve evidence and delivery metadata without performing Git or sandbox work.

The flue* tables are infrastructure tables required by Flue's persistence contract. They are deliberately separate from the product relations.