Ruletypescript

Debugging Rule

Auto-generated from Empathy Framework learned patterns. Total patterns: 84

View Source

Debugging Patterns

Auto-generated from Empathy Framework learned patterns. Total patterns: 84


Bug Fix Patterns

When debugging similar issues, consider these historical fixes:

unknown

  • Root cause: fix: Improve text contrast in debug wizard header
  • Fix: See commit 848e6c8a
  • Files: website/app/tools/debug-wizard/page.tsx, website/components/debug-wizard/DebugWizard.tsx

unknown

  • Root cause: feat: Add Redis integration with environment-aware key prefixing
  • Fix: See commit fa236623
  • Files: website/app/api/debug-wizard/analyze/route.ts, website/app/api/debug-wizard/resolve/route.ts, website/app/api/debug-wizard/stats/route.ts

unknown

  • Root cause: feat: Add autonomous error scanning and repair to Debug Wizard
  • Fix: See commit 450f5972
  • Files: website/components/debug-wizard/DebugWizard.tsx

unknown

  • Root cause: feat: Improved DebugWizard UX with card-based file selection
  • Fix: See commit d92de34f
  • Files: website/components/debug-wizard/DebugWizard.tsx

unknown

  • Root cause: feat: Enhanced DebugWizard with folder selection and tree view
  • Fix: See commit 17526090
  • Files: website/components/debug-wizard/DebugWizard.tsx

unknown

  • Root cause: fix: Make GitHub Issues link clickable in FAQ page
  • Fix: See commit f669fb6a
  • Files: website/app/faq/page.tsx

type_mismatch

  • Root cause: fix: Resolve all ESLint errors and improve type safety
  • Fix: See commit 8d974c1a
  • Files: site/search/search_index.json, site/sitemap.xml, site/sitemap.xml.gz

type_mismatch

  • Root cause: fix: Fix ESLint errors - escape apostrophes and quotes in JSX
  • Fix: See commit 99335a29
  • Files: website/app/api/debug-wizard/analyze/route.ts, website/app/api/og/route.tsx, website/app/blog/page.tsx

unknown

  • Root cause: fix: Remove missing icon references from webmanifest
  • Fix: See commit 5179994c
  • Files: website/public/site.webmanifest

unknown

  • Root cause: feat: Add drag-and-drop file upload to debug wizard
  • Fix: See commit 4c6069af
  • Files: website/components/debug-wizard/DebugWizard.tsx

release_issue

  • Root cause: feat: Release v3.0.1 - XML-Enhanced Prompts & Security Fixes
  • Fix: See commit 8edfb707
  • Files: .claude/CLAUDE.md, .gitignore, CHANGELOG.md

import_error

  • Root cause: fix: Resolve import conflict between workflows.py and workflows/ package
  • Fix: See commit 1b928aec
  • Files: src/empathy_os/workflows/init.py

configuration

  • Root cause: ci: Add workflow_dispatch to PyPI publish workflow
  • Fix: See commit 32d3adcf
  • Files: .github/workflows/publish-pypi.yml

type_mismatch

  • Root cause: fix: Convert MkDocs relative asset paths to absolute for CSS loading
  • Fix: See commit 2ae52706
  • Files: scripts/fix_mkdocs_paths.py, .../framework-docs/FOREWORD_BY_CLAUDE/index.html, .../framework-docs/about-the-author/index.html

ui_issue

  • Root cause: fix: Force trailing slashes at all levels for MkDocs CSS compatibility
  • Fix: See commit 4e9157ce
  • Files: website/middleware.ts, website/next.config.ts, website/vercel.json

unknown

  • Root cause: fix: Use skipTrailingSlashRedirect to stop Next.js from stripping trailing slashes
  • Fix: See commit 55265287
  • Files: website/next.config.ts, website/vercel.json

unknown

  • Root cause: fix: Add Next.js middleware to enforce trailing slash for framework-docs
  • Fix: See commit 47662816
  • Files: website/middleware.ts

ui_issue

  • Root cause: fix: Add Vercel trailingSlash config for framework-docs CSS
  • Fix: See commit 994d5ad5
  • Files: website/vercel.json

unknown

  • Root cause: fix: Add vercel.json redirect for framework-docs trailing slash
  • Fix: See commit 0c56cfb1
  • Files: website/vercel.json

ui_issue

  • Root cause: fix: Add redirect to ensure trailing slash for framework-docs CSS paths
  • Fix: See commit 3ba1de27
  • Files: website/next.config.ts