feat(web): Company Brain proactiveness (automations) settings#1207
Conversation
Deploying with
|
| Status | Name | Latest Commit | Updated (UTC) |
|---|---|---|---|
| ✅ Deployment successful! View logs |
supermemory-mcp | 97888ce | Jul 07 2026, 09:22 PM |
Deploying with
|
| Status | Name | Latest Commit | Preview URL | Updated (UTC) |
|---|---|---|---|---|
| ✅ Deployment successful! View logs |
supermemory-app | 97888ce | Commit Preview URL Branch Preview URL |
Jul 07 2026, 09:23 PM |
|
Claude finished @MaheshtheDev's task in 1m 50s —— View job Review Complete
Summary: Reviewed the Company Brain proactiveness (automations) settings UI. The code is clean — no bugs, security issues, or logic errors found. Key areas verified:
Score: 10/10 — Good to ship. |
There was a problem hiding this comment.
Overview: Adds a Proactiveness settings tab for Company Brain channel/DM automations with cron scheduling, preset templates, and timezone-aware time conversion.
Issues found: None — this looks good to ship.
Reviewed areas:
- Cron conversion logic (
toUtcCron/fromUtcCron): Correctly handles local↔UTC conversion including day-of-week shifts when crossing midnight. UsesDateobjects for proper timezone math. - API error handling: Consistent pattern across all mutations with proper 403 handling and JSON parse fallbacks.
- Input validation: Title and channel requirements validated before save; empty prompts fall back to default.
- State management: React Query with proper cache keys including
org?.idfor org-scoped data;useReffor stable draft key generation. - Authorization: Admin check is case-insensitive as expected.
Score: 10/10
There was a problem hiding this comment.
💡 Codex Review
Here are some automated review suggestions for this pull request.
Reviewed commit: 31b9b5539f
ℹ️ About Codex in GitHub
Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you
- Open a pull request for review
- Mark a draft as ready
- Comment "@codex review".
If Codex has suggestions, it will comment; otherwise it will react with 👍.
Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".
There was a problem hiding this comment.
Summary
Reviewed — found 1 issue(s). This PR adds the Company Brain Proactiveness settings UI, including the new automations page, settings navigation entry points, and analytics event wiring. The review focused on the changed UI/API integration paths and found that the feature is enabled before the required backend routes are available.
Findings
apps/web/components/settings/company-brain-automations.tsx
- The new settings page calls the
/brain/automationsAPI, but the corresponding backend routes are not present/deployed, so list/channel loads and all save/delete/run actions fail.
Verdict
TestingManual browser/UI verification was completed with local scaffolding because no saved browser session was available and the production backend does not expose the new Commands run: curl -sS -X GET https://api.supermemory.ai/brain/automations/
curl -sS -X GET https://api.supermemory.ai/brain/automations/channels
curl -sS -X GET https://api.supermemory.ai/brain/automations/fake-id
curl -sS -X POST https://api.supermemory.ai/brain/automations/fake-id/run-now
curl -sS -X GET https://api.supermemory.ai/brain/mcp-connections/Result: Evidence artifacts: VerdictAttached Images and Videos 🎥 View recording: pr1207-company-brain-proactiveness-flow.webm |
Merge activity
|
Adds the **Proactiveness** settings tab for Company Brain channel/DM automations. - Accordion list of automations — collapsed rows with an instant enable toggle + **Run now**, expand to edit. - Two-column editor: prompt (left) / deliver-to channel or DM, frequency, day, time (right), with local-timezone-aware cron. - Preset gallery (connection-first, category-diverse) for empty state + a New-automation menu. - DM delivery option with a tooltip explaining channel visibility + personal-connection fallback. - Profile-menu entry (gated on Company Brain). Pairs with the API automations work: **supermemoryai/mono#2480**.
31b9b55 to
97888ce
Compare














Adds the Proactiveness settings tab for Company Brain channel/DM automations.
Pairs with the API automations work: supermemoryai/mono#2480.