Skip to content

refactor(core): extract permission and composer semantics - #3634

Merged
trunk-io[bot] merged 19 commits into
mainfrom
posthog-code/share-mobile-inbox-transport
Jul 29, 2026
Merged

refactor(core): extract permission and composer semantics#3634
trunk-io[bot] merged 19 commits into
mainfrom
posthog-code/share-mobile-inbox-transport

Conversation

@richardsolomou

@richardsolomou richardsolomou commented Jul 21, 2026

Copy link
Copy Markdown
Member

Problem

Desktop permission, pending-prompt, plan-approval, and composer decisions were embedded in UI state and unavailable to other hosts.

Depends on #3633
Refs PostHog/posthog#76229

Changes

Phase 1 only: I extracted those existing decisions into tested core policies and switched desktop UI to consume them. Mobile remains unchanged in this PR.

How did you test this?

  • Full monorepo typecheck at this checkpoint
  • Final stack: 711 shared, 153 API-client, 2,599 core, and 451 mobile tests

Automatic notifications

  • Publish to changelog?
  • Alert Sales and Marketing teams?

Created with PostHog Code

@github-actions

github-actions Bot commented Jul 21, 2026

Copy link
Copy Markdown

React Doctor found no issues in the changed files. 🎉

Reviewed by React Doctor for commit df8b20a.

@richardsolomou
richardsolomou force-pushed the posthog-code/share-repository-integration-semantics branch from 9fa5d73 to d33f9fc Compare July 23, 2026 13:04
@richardsolomou
richardsolomou force-pushed the posthog-code/share-mobile-inbox-transport branch from fcec203 to 407d084 Compare July 23, 2026 13:06
@richardsolomou richardsolomou changed the title refactor(mobile): reuse shared inbox transport refactor(mobile): reuse inbox transport Jul 23, 2026
@richardsolomou
richardsolomou force-pushed the posthog-code/share-repository-integration-semantics branch from d33f9fc to 34b58d2 Compare July 23, 2026 13:36
@richardsolomou
richardsolomou force-pushed the posthog-code/share-mobile-inbox-transport branch from 407d084 to e340cac Compare July 23, 2026 13:36
@greptile-apps

greptile-apps Bot commented Jul 23, 2026

Copy link
Copy Markdown
Contributor

Reviews (1): Last reviewed commit: "Merge posthog-code/share-repository-inte..." | Re-trigger Greptile

@richardsolomou
richardsolomou force-pushed the posthog-code/share-mobile-inbox-transport branch from dab3bbc to 29378f7 Compare July 23, 2026 16:34
@richardsolomou
richardsolomou force-pushed the posthog-code/share-repository-integration-semantics branch from 2c40bfe to a7ef739 Compare July 23, 2026 17:28
@richardsolomou
richardsolomou force-pushed the posthog-code/share-mobile-inbox-transport branch from 29378f7 to 9d2bd25 Compare July 23, 2026 17:28
@richardsolomou
richardsolomou force-pushed the posthog-code/share-repository-integration-semantics branch from a7ef739 to ac5fe9a Compare July 23, 2026 18:55
@richardsolomou
richardsolomou force-pushed the posthog-code/share-mobile-inbox-transport branch from 9d2bd25 to 408b0a2 Compare July 23, 2026 18:55
@richardsolomou
richardsolomou force-pushed the posthog-code/share-repository-integration-semantics branch from ac5fe9a to e6b7199 Compare July 24, 2026 16:41
@richardsolomou
richardsolomou force-pushed the posthog-code/share-mobile-inbox-transport branch from 408b0a2 to 5a95631 Compare July 24, 2026 16:42
@richardsolomou richardsolomou changed the title refactor(mobile): reuse inbox transport refactor(core): extract permission and composer semantics Jul 24, 2026
@richardsolomou
richardsolomou force-pushed the posthog-code/share-repository-integration-semantics branch from e6b7199 to 343feed Compare July 24, 2026 16:47
Generated-By: PostHog Code
Task-Id: c1bbe3cf-742b-4b24-bf96-d11a18b4cf22
Generated-By: PostHog Code
Task-Id: c1bbe3cf-742b-4b24-bf96-d11a18b4cf22
Generated-By: PostHog Code
Task-Id: c1bbe3cf-742b-4b24-bf96-d11a18b4cf22
Generated-By: PostHog Code
Task-Id: c1bbe3cf-742b-4b24-bf96-d11a18b4cf22
Keep the extracted domain declaration as the single source after rebasing onto current main.

Generated-By: PostHog Code
Task-Id: c1bbe3cf-742b-4b24-bf96-d11a18b4cf22
@richardsolomou
richardsolomou force-pushed the posthog-code/share-repository-integration-semantics branch from 4722c58 to 72c431a Compare July 28, 2026 09:06
@richardsolomou
richardsolomou force-pushed the posthog-code/share-mobile-inbox-transport branch from 02b95d6 to 13aa78f Compare July 28, 2026 09:06
Generated-By: PostHog Code
Task-Id: c1bbe3cf-742b-4b24-bf96-d11a18b4cf22
@richardsolomou
richardsolomou force-pushed the posthog-code/share-repository-integration-semantics branch from 72c431a to 468d1a8 Compare July 28, 2026 09:28
@richardsolomou
richardsolomou force-pushed the posthog-code/share-mobile-inbox-transport branch from 13aa78f to 84f149c Compare July 28, 2026 09:28
Preserve the shared model-policy extraction while incorporating current main's Modal model support.

Generated-By: PostHog Code
Task-Id: c1bbe3cf-742b-4b24-bf96-d11a18b4cf22
Generated-By: PostHog Code
Task-Id: c1bbe3cf-742b-4b24-bf96-d11a18b4cf22
Generated-By: PostHog Code
Task-Id: c1bbe3cf-742b-4b24-bf96-d11a18b4cf22
Generated-By: PostHog Code
Task-Id: c1bbe3cf-742b-4b24-bf96-d11a18b4cf22
Generated-By: PostHog Code
Task-Id: c1bbe3cf-742b-4b24-bf96-d11a18b4cf22
Generated-By: PostHog Code
Task-Id: c1bbe3cf-742b-4b24-bf96-d11a18b4cf22
Generated-By: PostHog Code
Task-Id: c1bbe3cf-742b-4b24-bf96-d11a18b4cf22
Generated-By: PostHog Code
Task-Id: c1bbe3cf-742b-4b24-bf96-d11a18b4cf22
Generated-By: PostHog Code
Task-Id: c1bbe3cf-742b-4b24-bf96-d11a18b4cf22
Generated-By: PostHog Code
Task-Id: c1bbe3cf-742b-4b24-bf96-d11a18b4cf22
Generated-By: PostHog Code
Task-Id: c1bbe3cf-742b-4b24-bf96-d11a18b4cf22
Generated-By: PostHog Code
Task-Id: c1bbe3cf-742b-4b24-bf96-d11a18b4cf22
@richardsolomou
richardsolomou force-pushed the posthog-code/share-mobile-inbox-transport branch from 84f149c to 0a1c884 Compare July 29, 2026 07:58
@richardsolomou
richardsolomou force-pushed the posthog-code/share-repository-integration-semantics branch from 468d1a8 to 36f9b39 Compare July 29, 2026 07:58
Base automatically changed from posthog-code/share-repository-integration-semantics to main July 29, 2026 10:44
@trunk-io

trunk-io Bot commented Jul 29, 2026

Copy link
Copy Markdown

😎 Merged successfully - details.

@trunk-io
trunk-io Bot merged commit a52ddb0 into main Jul 29, 2026
34 checks passed
@trunk-io
trunk-io Bot deleted the posthog-code/share-mobile-inbox-transport branch July 29, 2026 11:31
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