chore(cdk): strip leftover /about MCP URL and TOKEN Amplify env - #87
Merged
Merged
Conversation
/about is gone; nothing in web/ reads NEXT_PUBLIC_MCP_URL or NEXT_PUBLIC_MCP_TOKEN. Stop injecting the shared team bearer into Amplify. Keep NEXT_PUBLIC_MCP_HOST for /brains copy-paste snippets. Co-authored-by: Jaime Ginorio <jaime.ginorio@finditpr.com>
jginorio
marked this pull request as ready for review
September 17, 2026 14:02
This was referenced Sep 19, 2026
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.
Summary
/aboutis gone (root redirects to/knowledge) and nothing inweb/readsNEXT_PUBLIC_MCP_URLorNEXT_PUBLIC_MCP_TOKEN. This PR strips the leftover Amplify env plumbing — same shape as merged #85MARKETING_URLstrip.mcpEnvVarspush ofNEXT_PUBLIC_MCP_URLandNEXT_PUBLIC_MCP_TOKEN(including the shared team bearer)/aboutcomments that justified injecting those keysNEXT_PUBLIC_MCP_HOSTfor/brainscopy-paste snippets (per-brain tokens still come from/api/brains/[id]/token)NEXT_PUBLIC_MCP_HOSTstill isKeep
NEXT_PUBLIC_MCP_HOST(still used on/brains)APP_URL/ hostedAPP_MODE/ALLOW_PUBLIC_SIGNUPBILLING_ENABLED/ hosted plumbing that is still intentionalMARKETING_URLstrip (already done)Leave alone
WIKI_*/START_WIKI_GEN_FN_NAME)Test plan
web/has zero readers ofNEXT_PUBLIC_MCP_URL/NEXT_PUBLIC_MCP_TOKEN(NEXT_PUBLIC_MCP_HOSTremains inweb/app/brains/page.tsx)stack-synth.test.ts— 2/2 pass (leftover URL/TOKEN are not Amplify env; hostedNEXT_PUBLIC_MCP_HOSTstays)amplify.ymlstill does not grep those two keys into.env.production