Register curator actor #11

Merged
Sai-karthik merged 1 commits from prm-71-register-curator-actor into staging 2026-06-24 11:46:01 +00:00
Owner

Summary

  • Registers curatorActor in the Rivet registry.
  • Converts Curator HTTP routes to call client.curatorActor.getOrCreate(["user", userId]).
  • Keeps curatorService as the direct internal facade for analytics/nightly calls.
  • Adds lightweight per-user actor state for action timestamps, sprint reads, plan generations, completions, and last event id.

Verification

  • npm run typecheck
  • npm run build

Evidence

  • src/actors/registry.ts includes curatorActor in setup({ use }).
  • /v1/curator/* routes now resolve the registered actor handle before calling Curator actions.
  • Branch is rebased on latest origin/staging commit 750a6ab.
## Summary - Registers `curatorActor` in the Rivet registry. - Converts Curator HTTP routes to call `client.curatorActor.getOrCreate(["user", userId])`. - Keeps `curatorService` as the direct internal facade for analytics/nightly calls. - Adds lightweight per-user actor state for action timestamps, sprint reads, plan generations, completions, and last event id. ## Verification - `npm run typecheck` - `npm run build` ## Evidence - `src/actors/registry.ts` includes `curatorActor` in `setup({ use })`. - `/v1/curator/*` routes now resolve the registered actor handle before calling Curator actions. - Branch is rebased on latest `origin/staging` commit `750a6ab`.
Sai-karthik added 1 commit 2026-06-24 11:25:06 +00:00
Sai-karthik merged commit e88bc02012 into staging 2026-06-24 11:46:01 +00:00
Sign in to join this conversation.
No Reviewers
No Label
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: growqr-app/growqr-backend#11
No description provided.