You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+5-1Lines changed: 5 additions & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -34,6 +34,7 @@ CodeCrow supports multiple version control systems. The AI analysis engine is th
34
34
|`/ask <question>`| ✅ | ✅ | ✅ |
35
35
|`/analyze`| ✅ | ✅ | ✅ |
36
36
|`/summarize`| ✅ | ✅ | ✅ |
37
+
|`/qa-doc`| ✅ | ✅ | ✅ |
37
38
38
39
### Dashboard & Issue Management
39
40
@@ -50,6 +51,8 @@ These features are platform-independent and available through the CodeCrow web U
50
51
| Project Analytics | Aggregated severity breakdown, analysis history, and branch health |
51
52
| AI Model Selection | Choose your LLM provider and model (OpenRouter, Anthropic, Google, OpenAI) |
52
53
| Workspace & Team Management | Roles (Owner, Admin, Member, Viewer), member invites, ownership transfer |
54
+
| Task Management (Jira) | Connect Jira Cloud to link PRs with tasks for QA documentation |
55
+
| QA Auto-Documentation | AI-generated QA docs posted as Jira comments after each analysis |
53
56
| Two-Factor Authentication | TOTP-based 2FA for sensitive operations |
54
57
55
58
### Setup Methods
@@ -105,7 +108,8 @@ The RAG pipeline (codebase indexing for context-aware reviews) provides enhanced
105
108
-**Context-Aware Reviews**: Powered by a custom RAG (Retrieval-Augmented Generation) pipeline using Qdrant vector storage.
106
109
-**Incremental Analysis**: Only scans changed code to keep feedback fast and cost-efficient.
107
110
-**Multi-Tenant Architecture**: Securely manage multiple teams and projects from a single dashboard.
108
-
-**Interactive Commands**: Command CodeCrow directly from PR comments using `/ask`, `/analyze`, and `/summarize`.
111
+
-**Interactive Commands**: Command CodeCrow directly from PR comments using `/ask`, `/analyze`, `/summarize`, and `/qa-doc`.
112
+
-**QA Auto-Documentation**: Automatically generate QA testing documentation from PR analysis and post it to linked Jira tickets. Task IDs are auto-detected from branch names, PR titles, or PR descriptions — or you can specify one explicitly with `/qa-doc PROJ-123`.
109
113
-**Issue Lifecycle**: Automatic tracking of resolved vs. open issues across analyses with deterministic and AI-based reconciliation.
110
114
-**Bring Your Own Model**: Connect your preferred LLM provider — OpenRouter, Anthropic, Google, or OpenAI.
Copy file name to clipboardExpand all lines: java-ecosystem/libs/analysis-engine/src/main/java/org/rostilos/codecrow/analysisengine/util/DiffParsingUtils.java
+29-3Lines changed: 29 additions & 3 deletions
Original file line number
Diff line number
Diff line change
@@ -149,15 +149,21 @@ public static int mapLineNumber(int oldLine, List<int[]> hunks, String fileDiff)
149
149
* Walk a hunk body line-by-line to map an old line number to its new position.
150
150
* <p>
151
151
* Context lines advance both counters; {@code -} lines advance only old;
152
-
* {@code +} lines advance only new. If the target old line was deleted,
153
-
* returns the original line number unchanged.
152
+
* {@code +} lines advance only new.
153
+
* <p>
154
+
* If the target old line was <b>deleted</b>, returns the new-file line number
155
+
* of the next surviving (context or added) line after the deletion block.
156
+
* This anchors the issue to the nearest relevant context in the new file
157
+
* rather than leaving it at a stale old position.
158
+
* Falls back to {@code hunkNewStart} if no surviving line is found.
0 commit comments