codecritique 1.0.0 → 1.1.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +82 -114
- package/package.json +10 -9
- package/src/content-retrieval.test.js +775 -0
- package/src/custom-documents.test.js +440 -0
- package/src/feedback-loader.test.js +529 -0
- package/src/llm.test.js +256 -0
- package/src/project-analyzer.test.js +747 -0
- package/src/rag-analyzer.js +12 -0
- package/src/rag-analyzer.test.js +1109 -0
- package/src/rag-review.test.js +317 -0
- package/src/setupTests.js +131 -0
- package/src/zero-shot-classifier-open.test.js +278 -0
- package/src/embeddings/cache-manager.js +0 -364
- package/src/embeddings/constants.js +0 -40
- package/src/embeddings/database.js +0 -921
- package/src/embeddings/errors.js +0 -208
- package/src/embeddings/factory.js +0 -447
- package/src/embeddings/file-processor.js +0 -851
- package/src/embeddings/model-manager.js +0 -337
- package/src/embeddings/similarity-calculator.js +0 -97
- package/src/embeddings/types.js +0 -113
- package/src/pr-history/analyzer.js +0 -579
- package/src/pr-history/bot-detector.js +0 -123
- package/src/pr-history/cli-utils.js +0 -204
- package/src/pr-history/comment-processor.js +0 -549
- package/src/pr-history/database.js +0 -819
- package/src/pr-history/github-client.js +0 -629
- package/src/technology-keywords.json +0 -753
- package/src/utils/command.js +0 -48
- package/src/utils/constants.js +0 -263
- package/src/utils/context-inference.js +0 -364
- package/src/utils/document-detection.js +0 -105
- package/src/utils/file-validation.js +0 -271
- package/src/utils/git.js +0 -232
- package/src/utils/language-detection.js +0 -170
- package/src/utils/logging.js +0 -24
- package/src/utils/markdown.js +0 -132
- package/src/utils/mobilebert-tokenizer.js +0 -141
- package/src/utils/pr-chunking.js +0 -276
- package/src/utils/string-utils.js +0 -28
package/src/rag-analyzer.js
CHANGED
|
@@ -121,6 +121,18 @@ Your review must contain ONLY issues where you have identified a DEFINITE proble
|
|
|
121
121
|
- "...should be validated" / "...should be verified"
|
|
122
122
|
- "...but there's no validation..." / "...but there's no verification..."
|
|
123
123
|
|
|
124
|
+
**AUTOMATIC REJECTION - Process/workflow suggestions that are NOT code fixes:**
|
|
125
|
+
- "Create a follow-up task..." / "Create a task to..."
|
|
126
|
+
- "Document the migration..." / "Document this change..." / "Document the experiment..."
|
|
127
|
+
- "Update any analytics..." / "Update any dashboards..." / "Update any reports..."
|
|
128
|
+
- "Update any queries..." / "Update downstream..."
|
|
129
|
+
- "Notify the team..." / "Communicate this change..." / "Make sure consumers are aware..."
|
|
130
|
+
- "Archive the data..." / "Migrate the data..." / "Ensure historical data..."
|
|
131
|
+
- "Plan the rollout..." / "Consider a phased rollout..." / "Manage this transition..."
|
|
132
|
+
- "Once the migration is complete..." / "Once all consumers have migrated..."
|
|
133
|
+
- "...can handle the new..." / "...can handle this change..."
|
|
134
|
+
- "...are aware of this change" / "...is properly archived"
|
|
135
|
+
|
|
124
136
|
**THE RULE**: If you cannot point to a SPECIFIC BUG or SPECIFIC VIOLATION and provide EXACT CODE to fix it, do not report it.
|
|
125
137
|
|
|
126
138
|
**GOOD issue**: "The function returns null on line 42 but the return type doesn't allow null. Fix: Change return type to \`string | null\`"
|