Skip to content

fix(phai): say "PostHog AI" instead of "Max" in MCP tool approval - #69754

Merged
cvolzer3 merged 1 commit into
masterfrom
fix/phai-mcp-approval-copy
Jul 9, 2026
Merged

fix(phai): say "PostHog AI" instead of "Max" in MCP tool approval#69754
cvolzer3 merged 1 commit into
masterfrom
fix/phai-mcp-approval-copy

Conversation

@cvolzer3

@cvolzer3 cvolzer3 commented Jul 9, 2026

Copy link
Copy Markdown
Contributor

Problem

When PostHog AI asks the user to approve an MCP tool call, the approval prompt still says "Max wants to call list_issues on Linear." The agent is no longer called Max, it's PostHog AI.

Changes

One-line copy change in format_dangerous_operation_preview in ee/hogai/tools/call_mcp_server/tool.py: the approval preview now reads "PostHog AI wants to call ...".

How did you test this code?

No behavior change, just a string. I grepped the repo to confirm no tests assert on the old copy and no other "Max wants ..." strings remain. Lint and ci:preflight passed.

Automatic notifications

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

Docs update

🤖 Agent context

Autonomy: Human-driven (agent-assisted)

Claude Code found the string via grep, made the one-line edit in a worktree, and opened this PR. No skills were invoked. No other occurrences of the old "Max" naming were found in approval copy.

@cvolzer3 cvolzer3 added the skip-agent-review Save $$$, skip auto agent reviews (Greptile) — use for trivial or chore PRs label Jul 9, 2026
@cvolzer3 cvolzer3 self-assigned this Jul 9, 2026
@cvolzer3 cvolzer3 added the stamphog Request AI approval (no full review) label Jul 9, 2026
@cvolzer3
cvolzer3 marked this pull request as ready for review July 9, 2026 16:37
@pr-assigner-resolver-posthog
pr-assigner-resolver-posthog Bot requested a review from a team July 9, 2026 16:37
@greptile-apps

greptile-apps Bot commented Jul 9, 2026

Copy link
Copy Markdown
Contributor

Reviews (1): Last reviewed commit: "fix(phai): say "PostHog AI" instead of "..." | Re-trigger Greptile

@github-actions github-actions 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.

Trivial one-line copy string change with no behavior impact, author has strong familiarity and owns the area, and a bot reviewer reacted positively with no concerns raised.

  • Author wrote 100% of the modified lines and has 5 merged PRs in these paths (familiarity STRONG).
  • 👍 on the PR from greptile-apps[bot], hex-security-app[bot].
Gate mechanics and policy version
Gate Result
prerequisites all clear
deny-list no deny categories matched
size 2L, 1F substantive — within ceiling
tier T1-agent / T1a-trivial (2L, 1F, single-area, fix)
stamphog 2.0.0b3 .stamphog/policy.yml @ 8d11530 · reviewed head 81d48cb

@cvolzer3
cvolzer3 enabled auto-merge (squash) July 9, 2026 16:39
@trunk-io

trunk-io Bot commented Jul 9, 2026

Copy link
Copy Markdown

Static BadgeStatic BadgeStatic BadgeStatic Badge

View Full Report ↗︎Docs

@github-actions

github-actions Bot commented Jul 9, 2026

Copy link
Copy Markdown
Contributor

🤖 CI report

Playwright — all passed

All tests passed.

View test results →

@cvolzer3
cvolzer3 merged commit 3e9ec2c into master Jul 9, 2026
418 of 500 checks passed
@cvolzer3
cvolzer3 deleted the fix/phai-mcp-approval-copy branch July 9, 2026 19:03
@deployment-status-posthog

deployment-status-posthog Bot commented Jul 9, 2026

Copy link
Copy Markdown

Deploy status

Environment Status Deployed At Workflow
dev ✅ Deployed 2026-07-09 19:38 UTC Run
prod-us ✅ Deployed 2026-07-09 19:52 UTC Run
prod-eu ✅ Deployed 2026-07-09 19:55 UTC Run

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

skip-agent-review Save $$$, skip auto agent reviews (Greptile) — use for trivial or chore PRs stamphog Request AI approval (no full review)

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant