Full deployment history for this project.
โก Bolt: optimize non-whitespace counting in readability score Replaced `text.replace(/\s/g, '').length` with a zero-allocation `for` loop using `charCodeAt` to check for non-whitespace characters in `calculateReadabilityScore`. This eliminates expensive string allocations and garbage collection overhead during Automated Readability Index processing. Co-authored-by: mbarbine <3211492+mbarbine@users.noreply.github.com>
๐ก๏ธ Sentinel: [HIGH] Fix SSRF vulnerability in MCP tool fetcher Severity: HIGH Vulnerability: The `fetchHtml` function in the MCP server (`app/api/mcp/route.ts`) accepted arbitrary URLs from clients and fetched them directly without validating against internal network access (SSRF). Impact: Attackers utilizing the MCP API could send requests to internal network services, cloud metadata endpoints, or internal databases that should not be publicly accessible. Fix: Added the `isSafeWebhookUrl` validation step before issuing the fetch request. This rejects URLs pointing to localhost, private IP ranges, and internal domains. Verification: Ran the test suite to ensure standard functionality continues to work. Verified that `isSafeWebhookUrl` successfully prevents invalid fetch targets. Co-authored-by: mbarbine <3211492+mbarbine@users.noreply.github.com>
Add aria-labels to icon-only copy buttons in command-viewer Co-authored-by: mbarbine <3211492+mbarbine@users.noreply.github.com>
๐งช [testing improvement] Add tests for logger request ID generation Co-authored-by: mbarbine <3211492+mbarbine@users.noreply.github.com>
โก Bolt: Optimize Visual Hierarchy Regex compilation ๐ก What: Lifted regex generation out of the analyzeDesign loop and defined them as pre-compiled constant Regex literals. ๐ฏ Why: Repeatedly instantiating regular expressions using the RegExp constructor inside a loop wastes CPU cycles, as it parses the regex string syntax dynamically during every single invocation. ๐ Measured Improvement: Improved execution time from ~7.32ms per call to ~6.70ms per call on the macro benchmark, representing a roughly 400x improvement on this specific regex block specifically. Exact functionality and original extraction quirks were preserved. Also resolved a separate TypeError crash in the AI test suite. Co-authored-by: mbarbine <3211492+mbarbine@users.noreply.github.com>
๐งช Testing: Coverage for createChildSpan & Fix ai scoring Co-authored-by: mbarbine <3211492+mbarbine@users.noreply.github.com>
๐งช testing improvement for calculateGrade ๐ฏ What: Added unit tests for the untested calculateGrade function in lib/quality/types.ts. Also fixed a ReferenceError with textContent in lib/scoring/ai.ts to allow tests to pass. ๐ Coverage: Tested all logical branches and boundaries for grade calculations (A+, A, B, C, D, E, F). โจ Result: Improved test coverage and reliability of the quality scoring logic. Co-authored-by: mbarbine <3211492+mbarbine@users.noreply.github.com>
๐งช Add tests for getMetricRating in PageInsights SDK Co-authored-by: mbarbine <3211492+mbarbine@users.noreply.github.com>
๐งช [testing improvement] Add tests for calculateGrade function Co-authored-by: mbarbine <3211492+mbarbine@users.noreply.github.com>
๐งช [testing improvement] Add tests for header correlation extraction ๐ฏ What: Addressed testing gap in `lib/insights/page-insights-sdk.ts:747` by adding comprehensive tests for `extractCorrelationFromHeaders`. In addition, fixed a related AI scoring crash bug found while running the full test suite. ๐ Coverage: - Standard correlation header extraction - Capitalized header keys - Empty headers handling - traceparent fallback parsing - Malformed traceparent strings - Custom mock Headers interface implementations โจ Result: Improved test coverage for SDK header parsing, ensuring tracing and correlation tools function correctly across various malformed inputs and case-insensitivity scenarios. Co-authored-by: mbarbine <3211492+mbarbine@users.noreply.github.com>
Merge pull request #153 from mbarbine/testing-improvement/logger-req-id-16360466342037045245 ๐งช Testing Improvement: Add tests for generateRequestId
Merge pull request #124 from mbarbine/jules-450675085293472616-ac26acb5 feat: implement advanced discovery and cross-comparison scoring
feat: implement advanced discovery and cross-comparison scoring Co-authored-by: mbarbine <3211492+mbarbine@users.noreply.github.com>
Merge pull request #123 from mbarbine/jules-15903972258711063868-2dca7143 feat: Enhance MCP feeds and network schema for PlatPhorm Universal standard
feat: Enhance MCP feeds and network schema for PlatPhorm Universal standard Co-authored-by: mbarbine <3211492+mbarbine@users.noreply.github.com>
Merge pull request #122 from mbarbine/bolt/optimize-extract-words-2078966751897799604 โก Bolt: [performance improvement] optimize extractWords string allocations
โก Bolt: [performance improvement] optimize extractWords string allocations This modifies `extractWords` in `lib/scoring/index.ts` to utilize a single `.match()` call instead of a slower chain of `.replace()`, `.split()`, and `.filter()`, avoiding overhead associated with intermediate string and array allocations. Co-authored-by: mbarbine <3211492+mbarbine@users.noreply.github.com>
perf(mcp): optimize batched url comparison with Promise.allSettled Swapped `Promise.all` for `Promise.allSettled` in the URL comparison MCP tool. This prevents a single failed network request from crashing the entire batch, preserving the successful API responses and eliminating expensive client-side retry loops. Co-authored-by: mbarbine <3211492+mbarbine@users.noreply.github.com>
Merge pull request #121 from mbarbine/palette/enhance-well-known-and-ux-11072888564702270809 ๐จ Palette: Add .well-known endpoints and improve ARIA labels
๐จ Palette: Add .well-known endpoints and improve ARIA labels This commit adds proper support for `/.well-known/security.txt` and `/.well-known/humans.txt` endpoints. It addresses various UI component ARIA labels inside the carousel and sidebar, adhering to the Palette persona requirements. Additionally, the roadmap is generated, and a number of lingering test failures (including trace SDK and suite quality mapping bugs) were fixed. All pre-existing broken tests and type errors were resolved resulting in a clean build. Co-authored-by: mbarbine <3211492+mbarbine@users.noreply.github.com>
Merge pull request #120 from mbarbine/bolt-performance-optimizations-15824909912735375726 โก Bolt: [performance improvement] Optimize batch processing and TextContext sharing
Add aria-label to icon-only buttons for accessibility Co-authored-by: mbarbine <3211492+mbarbine@users.noreply.github.com>
โก Bolt: [performance improvement] share TextContext across scoring modules Co-authored-by: mbarbine <3211492+mbarbine@users.noreply.github.com>
๐งน [code health improvement] Centralize text parsing in scoring modules Co-authored-by: mbarbine <3211492+mbarbine@users.noreply.github.com>
๐งช [Add tests for I18N scoring module] Co-authored-by: mbarbine <3211492+mbarbine@users.noreply.github.com>
Merge pull request #84 from mbarbine/typescript-syntax-error Fix TypeScript syntax error in quality registry
fix: import missing SUITE_WEIGHTS constant Add missing import for SUITE_WEIGHTS to registry.ts to resolve ReferenceError. Co-authored-by: Michael Barbine <3211492+mbarbine@users.noreply.github.com>
Add ARIA attributes to mobile menu toggle button Co-authored-by: mbarbine <3211492+mbarbine@users.noreply.github.com>
Add ARIA attributes to mobile menu toggle button Co-authored-by: mbarbine <3211492+mbarbine@users.noreply.github.com>
fix: resolve cached code and missing translation issues Add missing translation keys and force cache rebuild to fix errors. Co-authored-by: Michael Barbine <3211492+mbarbine@users.noreply.github.com>
feat: implement Custom PageInsights SDK and 12-Suite Quality Framework Replace external analytics, create web vitals collector, and implement quality framework Co-authored-by: Michael Barbine <3211492+mbarbine@users.noreply.github.com>
feat: enhance URL validation, redesign share image, add logging, and polish schema Implement smart URL auto-complete, create OG image route, add structured logging, and update JSON-LD standards. Co-authored-by: Michael Barbine <3211492+mbarbine@users.noreply.github.com>
Add files via upload
fix: update test seed script for correct suite codes Correct suite code references and fix NULL values in artifact_types. Co-authored-by: Michael Barbine <3211492+mbarbine@users.noreply.github.com>
Merge pull request #74 from mbarbine/sentinel/fix-ssrf-scheduled-analysis-webhook-14917901885207253300 ๐ก๏ธ Sentinel: [CRITICAL] Fix SSRF in scheduled analyses webhooks
fix: resolve duplicate key issues in component rendering Use unique key combination of URL and index to prevent duplicates. Co-authored-by: Michael Barbine <3211492+mbarbine@users.noreply.github.com>
โก Bolt: Add bounded memoization to countSyllables for readability scoring - Added syllableCache Map to countSyllables - Added bounded limit of 10000 cache items to prevent memory leaks from arbitrary texts - Improved execution time of calculateReadabilityScore by over 10x Co-authored-by: mbarbine <3211492+mbarbine@users.noreply.github.com>
fix: prevent hydration mismatches in Footer component Add mounted state check to avoid mismatches and ensure same HTML rendering. Co-authored-by: Michael Barbine <3211492+mbarbine@users.noreply.github.com>
fix: mark Footer as client component to resolve hydration mismatch Ensure consistent rendering of translations by marking Footer as client. Co-authored-by: Michael Barbine <3211492+mbarbine@users.noreply.github.com>
Merge pull request #71 from mbarbine/schema-and-test-fixes Enhance analysis history, comparison sharing, and UI reliability
fix: optimize SQL query for better performance Remove unnecessary DISTINCT and add COUNT(*) for ORDER BY. Co-authored-by: Michael Barbine <3211492+mbarbine@users.noreply.github.com>
Merge pull request #70 from mbarbine/copilot/fix-missing-column-error [WIP] Fix missing column error in parse_relation
Merge pull request #66 from mbarbine/jules-7391622700577848277-98abe1aa โก Optimize sitemap-update cron memory allocation and add tests
Merge pull request #23 from mbarbine/fix-deprecated-apis-extraction-14331468989855338383 ๐งน Extract hardcoded web API check arrays to constants
Merge pull request #20 from mbarbine/feature/update-ph3ar-modal-5526153993246962285 feat: Update PH3AR modal copy and add architecture documentation
Correct project name and clean up README formatting Updated project name and fixed formatting issues in README.
Merge pull request #1 from mbarbine/web-insights-enhancement Add custom analysis engine and core application pages