vibe-gate-mcp 0.1.1 → 0.1.2
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/CHANGELOG.md +11 -0
- package/dist/index.mjs +8 -0
- package/package.json +4 -2
package/CHANGELOG.md
CHANGED
|
@@ -5,6 +5,17 @@ All notable changes to this project will be documented in this file.
|
|
|
5
5
|
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
|
|
6
6
|
and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
|
|
7
7
|
|
|
8
|
+
## [0.1.2] - 2026-09-02
|
|
9
|
+
|
|
10
|
+
### Fixed
|
|
11
|
+
|
|
12
|
+
- Reject malformed cited line ranges with non-positive or reversed line numbers.
|
|
13
|
+
|
|
14
|
+
### Tests
|
|
15
|
+
|
|
16
|
+
- Added configuration loading and effective model resolution coverage.
|
|
17
|
+
- Added critical snippet extraction coverage for matching, ignored directories, limits, missing roots, and case-insensitive paths.
|
|
18
|
+
|
|
8
19
|
## [0.1.1] - 2026-08-31
|
|
9
20
|
|
|
10
21
|
### Fixed
|
package/dist/index.mjs
CHANGED
|
@@ -2756,6 +2756,14 @@ function validateLineNumbers(fileInfo, evidence) {
|
|
|
2756
2756
|
if (!fileInfo) return false;
|
|
2757
2757
|
const lineRange = extractLineRangeFromEvidence(evidence);
|
|
2758
2758
|
if (!lineRange) return true;
|
|
2759
|
+
if (lineRange.start <= 0 || lineRange.end <= 0) {
|
|
2760
|
+
debugLog(`[DEBUG] validateLineNumbers: REJECTING - invalid line numbers (start: ${lineRange.start}, end: ${lineRange.end})`);
|
|
2761
|
+
return false;
|
|
2762
|
+
}
|
|
2763
|
+
if (lineRange.start > lineRange.end) {
|
|
2764
|
+
debugLog(`[DEBUG] validateLineNumbers: REJECTING - start line ${lineRange.start} exceeds end line ${lineRange.end}`);
|
|
2765
|
+
return false;
|
|
2766
|
+
}
|
|
2759
2767
|
if (lineRange.start > fileInfo.totalLines) {
|
|
2760
2768
|
debugLog(`[DEBUG] validateLineNumbers: REJECTING - start line ${lineRange.start} exceeds total lines ${fileInfo.totalLines}`);
|
|
2761
2769
|
return false;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "vibe-gate-mcp",
|
|
3
|
-
"version": "0.1.
|
|
3
|
+
"version": "0.1.2",
|
|
4
4
|
"type": "module",
|
|
5
5
|
"description": "Adversarial Quality Gate MCP for vibe-coding: IDE AI vs Critic AI, human decides on deadlock",
|
|
6
6
|
"license": "MIT",
|
|
@@ -23,7 +23,9 @@
|
|
|
23
23
|
"engines": {
|
|
24
24
|
"node": ">=24"
|
|
25
25
|
},
|
|
26
|
-
"bin":
|
|
26
|
+
"bin": {
|
|
27
|
+
"vibe-gate-mcp": "dist/index.mjs"
|
|
28
|
+
},
|
|
27
29
|
"files": [
|
|
28
30
|
"dist",
|
|
29
31
|
"rules.json",
|