V0/angellllkr eng bc50cd09#35
Open
Angel K (angellllkr-eng) wants to merge 912 commits into
Open
Conversation
Add Bulgarian decision-layer copy Add the missing bg localized copy block so the decision layer satisfies the supported LocaleCode map during production builds.
Signed-off-by: Angel K <282351876+angellllkr-eng@users.noreply.github.com>
Signed-off-by: Angel K <282351876+angellllkr-eng@users.noreply.github.com>
Signed-off-by: Angel K <282351876+angellllkr-eng@users.noreply.github.com>
There was a problem hiding this comment.
CodeQL found more than 20 potential problems in the proposed changes. Check the Files changed tab for more details.
Contributor
There was a problem hiding this comment.
Additional Suggestions:
components/LocaleAssist.tsxstarts with the stray fragmentll-site-i18ninstead of the"use client"directive and imports, leaving all React/lucide/locale symbols undefined and calling an undeclaredsetMarketCount, which breaks the build.
- MRAgentChat.tsx maintains its own
LocaleCodetype andsupportedLocalesarray that omit"bg", so Bulgarian users on/bgare detected as English and receive English MRagent replies.
| const dir = join(tmpdir(), `mindreply-preflight-${projectName}-${Date.now()}-${Math.random().toString(16).slice(2)}`); | ||
| mkdirSync(join(dir, ".vercel"), { recursive: true }); | ||
| writeFileSync( | ||
| join(dir, ".vercel", "project.json"), |
| assert(persistence.status === "skipped", "Missing Blob env must report skipped persistence."); | ||
| assert(persistence.urls === undefined, "Persistence must not expose Blob URLs."); | ||
| assert(!serializedStructured.includes(rawInput), "Structured output must not contain raw input."); | ||
| assert(!serializedStructured.includes("blob.vercel-storage.com"), "Structured output must not expose Blob storage URLs."); |
| check(checks, "website-completion-package", includes(publicText, "Website Completion Package"), "Live public surface must sell the Website Completion Package."); | ||
| check(checks, "package-price", includes(publicText, "GBP 600"), "Live public surface must show the GBP 600 entry offer."); | ||
| check(checks, "public-mailbox", includes(publicText, "info@mind-reply.com"), "Live public surface must use the public MindReply mailbox."); | ||
| check(checks, "no-personal-gmail", !/gmail\.com/i.test(publicText), "Live public surface must not expose personal Gmail addresses."); |
| } | ||
|
|
||
| const slackSecretPatterns = [ | ||
| /join\.slack\.com/i, |
|
|
||
| const slackSecretPatterns = [ | ||
| /join\.slack\.com/i, | ||
| /slack\.com\/join/i, |
Comment on lines
+124
to
+129
| body: JSON.stringify({ | ||
| from, | ||
| to, | ||
| subject: process.env.MINDREPLY_REPORT_SUBJECT || "MindReply hourly owner report", | ||
| text: report, | ||
| }), |
| } | ||
|
|
||
| function textFromMarkdown(markdown: string) { | ||
| return markdown.replace(/^# /gm, "").replace(/^## /gm, "\n").replace(/^- /gm, "- "); |
| } | ||
|
|
||
| function textFromMarkdown(markdown: string) { | ||
| return markdown.replace(/^# /gm, "").replace(/^## /gm, "\n").replace(/^- /gm, "- "); |
| } | ||
|
|
||
| export function textFromMarkdown(markdown: string) { | ||
| return markdown.replace(/^# /gm, "").replace(/^## /gm, "\n").replace(/^- /gm, "- "); |
Comment on lines
+11
to
+52
| runs-on: ubuntu-latest | ||
| steps: | ||
| - name: Checkout | ||
| uses: actions/checkout@v4 | ||
|
|
||
| - name: Setup Node | ||
| uses: actions/setup-node@v4 | ||
| with: | ||
| node-version: "20" | ||
|
|
||
| - name: Install | ||
| run: npm install --no-audit --fund=false --progress=false | ||
|
|
||
| - name: Verify Vercel build guard | ||
| run: npm run vercel:ignore:verify | ||
|
|
||
| - name: Verify decision layer contract | ||
| run: npx tsx scripts/verify-decision-layer.ts | ||
|
|
||
| - name: Verify production version contract | ||
| run: npx tsx scripts/verify-production-version-contract.ts | ||
|
|
||
| - name: Verify revenue i18n SEO surface | ||
| run: npx tsx scripts/verify-revenue-i18n-seo.ts | ||
|
|
||
| - name: Verify package delivery proof | ||
| run: npx tsx scripts/verify-package-delivery-proof.ts | ||
|
|
||
| - name: Verify invoice-first close path | ||
| run: npx tsx scripts/verify-invoice-first-close.ts | ||
|
|
||
| - name: Verify MRagent MCP | ||
| run: npm run mcp:verify | ||
|
|
||
| - name: Typecheck | ||
| run: npm run typecheck | ||
|
|
||
| - name: Build | ||
| run: npm run build | ||
|
|
||
| - name: Python backend tests | ||
| run: python -m unittest discover src |
Signed-off-by: Angel K <angellllkr@gmail.com>
Signed-off-by: Angel K <angellllkr@gmail.com>
Signed-off-by: Angel K <angellllkr@gmail.com>
Signed-off-by: Angel K <angellllkr@gmail.com>
Signed-off-by: Angel K <angellllkr@gmail.com>
dca5ccd to
8266f42
Compare
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.
No description provided.