Skip to content

feat: add Convex-backed manual inference prepopulation#72

Merged
github-actions[bot] merged 2 commits intomainfrom
feat/manual-inference-prepopulation
Feb 24, 2026
Merged

feat: add Convex-backed manual inference prepopulation#72
github-actions[bot] merged 2 commits intomainfrom
feat/manual-inference-prepopulation

Conversation

@anand-testcompare
Copy link
Collaborator

@anand-testcompare anand-testcompare commented Feb 24, 2026

Summary

  • add a new manualInferenceSessions Convex workflow with full lifecycle APIs (ensureSession, patchDraft, submitPrompt, answerQuestion, resetSession)
  • add deterministic + optional LLM merge logic to prepopulate manual-entry fields and optionally ask focused follow-up questions
  • wire Manual Entry UI to Convex realtime session state, including infer/reset actions, follow-up answer actions, and resilient draft syncing
  • improve client resilience for transient Convex transport failures (timeouts, reconnect drops) so edits are not silently lost or stuck indefinitely
  • add unit + integration tests for manual inference logic and session flow

Validation

  • bun x ultracite check
  • bun test packages/backend/convex/*.test.ts
  • bun test apps/web/src/lib/*.test.ts
  • bun run check-types
  • bun run build
  • coderabbit review --prompt-only -t uncommitted (completed once, findings fixed)

Notes

  • d3k + agent-browser validation was run against http://localhost:5173 and the new Manual Entry controls/rendering and action wiring are in place.
  • In the d3k browser environment specifically, Convex websocket reconnect churn (closed with code 1000) can cause transport timeouts unrelated to feature logic. This PR now uses bounded request timeout + retry/recovery handling instead of indefinite hangs.

@vercel
Copy link

vercel bot commented Feb 24, 2026

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated (UTC)
cable-intel-web Ready Ready Preview, Comment Feb 24, 2026 2:50am

Request Review

@github-actions github-actions bot enabled auto-merge (squash) February 24, 2026 02:50
@github-actions github-actions bot merged commit aeecd43 into main Feb 24, 2026
3 of 4 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant