Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Binary file removed .DS_Store
Binary file not shown.
36 changes: 35 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
@@ -1,3 +1,37 @@
# Logs
logs
*.log
npm-debug.log*
yarn-debug.log*
yarn-error.log*
pnpm-debug.log*
lerna-debug.log*

node_modules
dist
dist-ssr
*.local

# Environment variables
.env
.env.local

# Tests
tests/
Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

⚠️ Potential issue | 🟠 Major

Ignoring the entire tests/ directory prevents committing test files.

Line 20 ignores the entire tests/ directory. This pattern will exclude all test source files from version control, which is almost certainly incorrect. Test code should be committed to the repository.

If the intent is to ignore test artifacts or coverage reports, use more specific patterns like:

  • tests/__pycache__/ (already covered by line 61)
  • tests/.pytest_cache/ (already covered by line 76)
  • tests/coverage/
  • tests/output/
🧪 Recommended fix
-# Tests
-tests/
-vitest.config.js
-TEST_*.md
-TESTING_*.md
+# Test artifacts (not test source files)
+tests/coverage/
+tests/output/
+TEST_*.md
+TESTING_*.md

Note: vitest.config.js should also be committed as it's a configuration file (see separate comment).

🤖 Prompt for AI Agents
Verify each finding against the current code and only fix it if needed.

In @.gitignore at line 20, Remove the broad ignore entry "tests/" from
.gitignore so test source files are tracked; instead add only specific test
artifact patterns you want ignored (e.g., "tests/__pycache__/",
"tests/.pytest_cache/", "tests/coverage/", "tests/output/") and ensure test
config files like "vitest.config.js" remain committed.

vitest.config.js
TEST_*.md
TESTING_*.md

# Editor directories and files
.vscode/*
!.vscode/extensions.json
.idea
.DS_Store
*.suo
*.ntvs*
*.njsproj
*.sln
*.sw?
Comment on lines +1 to +34
Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

⚠️ Potential issue | 🟠 Major

Remove duplicate ignore patterns.

The newly added section (lines 1-34) contains numerous patterns that already exist in the organized section below (lines 35-172):

  • .env (line 16 duplicates lines 43-44)
  • node_modules (line 10 duplicates line 108)
  • dist (line 11 duplicates lines 70, 117)
  • logs (line 2 duplicates line 160)
  • *.log (line 3 duplicates line 159)
  • npm-debug.log*, yarn-debug.log*, yarn-error.log* (lines 4-6 duplicate lines 109-111)
  • .vscode/* / !.vscode/extensions.json (lines 26-27 duplicate lines 137-138)
  • .idea (line 28 duplicates line 140)
  • .DS_Store (line 29 duplicates line 149)
  • Editor swap files (line 34 duplicates lines 144-145)

While duplicate patterns don't break functionality, they create maintenance burden and confusion.

🧹 Recommended cleanup

Remove the duplicate section (lines 1-34) and rely on the existing well-organized patterns (lines 35-172). If any patterns in lines 1-34 are truly unique (e.g., dist-ssr, *.local, TEST_*.md, TESTING_*.md), merge them into the appropriate categorized sections below.

🤖 Prompt for AI Agents
Verify each finding against the current code and only fix it if needed.

In @.gitignore around lines 1 - 34, Remove the duplicate leading ignore block
(the added top section) and rely on the existing organized ignore entries;
specifically delete the repeated patterns such as .env, node_modules, dist,
logs, *.log, npm-debug.log*, yarn-debug.log*, yarn-error.log*, .vscode/* and
!.vscode/extensions.json, .idea, .DS_Store and editor swap entries, and instead
merge any truly unique entries from the removed block (e.g., dist-ssr, *.local,
TEST_*.md, TESTING_*.md) into the appropriate categorized sections already
present in the file.

# ═══════════════════════════════════════════════════════════════════
# NEXUS — .gitignore
# Place this file at the repo ROOT: nexus/.gitignore
Expand Down Expand Up @@ -135,4 +169,4 @@ logs/

*.so
*.dylib
*.dll
*.dll
1 change: 1 addition & 0 deletions README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@

Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
48 changes: 0 additions & 48 deletions ai-brain/analytics/analytics_service.py

This file was deleted.

24 changes: 0 additions & 24 deletions ai-brain/analytics/benchmark.py

This file was deleted.

22 changes: 0 additions & 22 deletions ai-brain/analytics/funnel_analysis.py

This file was deleted.

13 changes: 0 additions & 13 deletions ai-brain/analytics/roi_calculator.py

This file was deleted.

12 changes: 0 additions & 12 deletions ai-brain/analytics/tenant_ranking.py

This file was deleted.

9 changes: 0 additions & 9 deletions ai-brain/analytics/zombie_detector.py

This file was deleted.

Binary file removed ai-brain/api/__pycache__/app.cpython-314.pyc
Binary file not shown.
Binary file removed ai-brain/api/__pycache__/routes.cpython-314.pyc
Binary file not shown.
6 changes: 0 additions & 6 deletions ai-brain/api/app.py

This file was deleted.

70 changes: 0 additions & 70 deletions ai-brain/api/routes.py

This file was deleted.

Binary file not shown.
Binary file not shown.
Binary file not shown.
14 changes: 0 additions & 14 deletions ai-brain/graph/feature_relationships.py

This file was deleted.

22 changes: 0 additions & 22 deletions ai-brain/graph/graph_builder.py

This file was deleted.

16 changes: 0 additions & 16 deletions ai-brain/graph/neo4j_client.py

This file was deleted.

Binary file not shown.
Binary file not shown.
6 changes: 0 additions & 6 deletions ai-brain/ingestion/event_consumer.py

This file was deleted.

9 changes: 0 additions & 9 deletions ai-brain/ingestion/mock_consumer.py

This file was deleted.

Loading