Skip to content

Add signed external office events - #132

Draft
iamlukethedev wants to merge 2 commits into
cursor/operations-center-8c98from
cursor/external-office-events-8c98
Draft

Add signed external office events#132
iamlukethedev wants to merge 2 commits into
cursor/operations-center-8c98from
cursor/external-office-events-8c98

Conversation

@iamlukethedev

@iamlukethedev iamlukethedev commented Apr 26, 2026

Copy link
Copy Markdown
Owner

Summary

  • Add signed POST /api/office/events and no-store GET /api/office/events for recent external office events.
  • Persist a bounded recent-event list under the Claw3D state directory.
  • Poll external office events from the office UI and merge them into the Ops Center activity stream.
  • Trigger confetti for incoming external events with effect: "confetti".
  • Document CLAW3D_OFFICE_EVENTS_SECRET and add route coverage for signatures and validation.

Testing

  • npm run test -- --run tests/unit/officeEventsRoute.test.ts tests/unit/operationsCenterPanel.test.ts tests/unit/stateAnimationMappingsEditor.test.tsx tests/unit/studioSettings.test.ts tests/unit/officeEventTriggers.test.ts
  • npm run typecheck
  • npm run smoke:dev-server
  • Browser walkthrough with CLAW3D_OFFICE_EVENTS_SECRET=test-secret: posted a signed HubSpot-style deal.closed event and verified Deal closed: Automotive account signed. appears in Ops Center with zero captured browser console errors.

external_office_event_ops.webm
External office event in Ops Center

To show artifacts inline, enable in settings.

Open in Web Open in Cursor 

cursoragent and others added 2 commits April 26, 2026 14:37
Co-authored-by: Luke The Dev <iamlukethedev@users.noreply.github.com>
Co-authored-by: Luke The Dev <iamlukethedev@users.noreply.github.com>
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.

2 participants