fix(phai): say "PostHog AI" instead of "Max" in MCP tool approval - #69754
Merged
Conversation
cvolzer3
marked this pull request as ready for review
July 9, 2026 16:37
Contributor
|
Reviews (1): Last reviewed commit: "fix(phai): say "PostHog AI" instead of "..." | Re-trigger Greptile |
Contributor
There was a problem hiding this comment.
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
enabled auto-merge (squash)
July 9, 2026 16:39
Contributor
🤖 CI report |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
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_previewinee/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
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.