Skip to content

feat(search): make list_my_activity generally available - #10695

Open
waleedlatif1 wants to merge 2 commits into
stagingfrom
feat/lift-my-activity-flag
Open

waleedlatif1 wants to merge 2 commits into
stagingfrom
feat/lift-my-activity-flag

Conversation

@waleedlatif1

Copy link
Copy Markdown
Collaborator

Summary

  • Remove the my-activity feature flag (registry entry, MY_ACTIVITY fallback env, isMyActivityEnabled)
  • list_my_activity is now offered to every person in the Search MCP, the organization Assistant, organization chats and the Organization Search block; a workspace API key still never gets it (catalog requires: 'person')
  • The use case still authorizes every call: person principal + Organization Search availability
  • Mothership myActivity entitlement stays granted (vestigial, like workflowCode) until the worker stops gating the tool on it

Type of Change

  • New feature

Testing

  • lib/knowledge/mcp/server.test.ts, lib/knowledge/mcp/route-handler.test.ts (50 passed); server test now asserts the tool is listed for a person and withheld from a workspace API key
  • Dropped the flag-off integration case and the MY_ACTIVITY stubs from the activity integration tests
  • bun run generate (no drift), bun run lint, check:boundaries, check:test-patterns, check:comment-hygiene; full type-check and audits in CI

Checklist

  • Code follows project style guidelines
  • Self-reviewed my changes
  • Tests added/updated and passing (new tests pass the test-audit authoring gate)
  • No new warnings introduced
  • I confirm that I have read and agree to the terms outlined in the Contributor License Agreement (CLA)

Remove the my-activity feature flag. list_my_activity is offered to every person in the Search MCP, the organization Assistant, organization chats and the Organization Search block; its use case still authorizes each call (a person principal and Organization Search availability). The Mothership entitlement stays granted until the worker stops gating the tool on it.
@vercel

vercel Bot commented Dec 3, 2026 •

Copy link
Copy Markdown

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

1 Skipped Deployment
Project Deployment Actions Updated
docs Skipped Skipped Dec 3, 2026 7:24am UTC

Request Review

@cubic-dev-ai cubic-dev-ai Bot left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

No issues found across 11 files

Confidence score: 5/5

  • Automated review surfaced no issues in the provided summaries.
  • No files require special attention.

Turn on auto-fix | Re-trigger cubic

@blacksmith-sh

This comment has been minimized.

This branch was previously deployed

1 inactive deployment
Preview — c93eb6c0 Deployed Dec 3, 2026 by vercel[bot]
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