@ipation/specbridge 1.0.1 → 1.0.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 +44 -0
- package/README.md +13 -1
- package/package.json +2 -2
package/CHANGELOG.md
CHANGED
|
@@ -7,6 +7,50 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
|
|
|
7
7
|
|
|
8
8
|
## [Unreleased]
|
|
9
9
|
|
|
10
|
+
## [1.0.2] - 2026-01-29
|
|
11
|
+
|
|
12
|
+
### Improved
|
|
13
|
+
|
|
14
|
+
#### Test Coverage
|
|
15
|
+
- **Overall coverage**: 54.34% → **67.37%** (+24% improvement)
|
|
16
|
+
- **Functions coverage**: 74.43% → **78.21%** (+5.08%)
|
|
17
|
+
- **Branches coverage**: 71.07% → **81.95%** (+15.3%)
|
|
18
|
+
- **Total tests**: 170 → **312** (+142 tests, +83.5% growth)
|
|
19
|
+
|
|
20
|
+
#### Verification Verifiers (Critical)
|
|
21
|
+
- **Module coverage**: 15.98% → **99.72%** 🎉
|
|
22
|
+
- Added `naming.test.ts` - 27 tests, 0% → 100% coverage
|
|
23
|
+
- Added `imports.test.ts` - 27 tests, 5.95% → 100% coverage
|
|
24
|
+
- Added `errors.test.ts` - 31 tests, 4.8% → 99.03% coverage
|
|
25
|
+
- Added `regex.test.ts` - 27 tests, 36.84% → 100% coverage
|
|
26
|
+
|
|
27
|
+
#### Inference Analyzers
|
|
28
|
+
- Added `base.test.ts` - 30 tests, 10% → 100% coverage
|
|
29
|
+
- Tests for `createPattern()`, `calculateConfidence()`, `extractSnippet()` helpers
|
|
30
|
+
|
|
31
|
+
#### Quality Metrics
|
|
32
|
+
- ✅ **312 tests passing** (100% pass rate)
|
|
33
|
+
- ✅ **67.37% test coverage** (exceeds 67% threshold)
|
|
34
|
+
- ✅ **No type errors**
|
|
35
|
+
- ✅ **Build succeeds**
|
|
36
|
+
- ✅ **Pre-commit hooks pass**
|
|
37
|
+
|
|
38
|
+
### Changed
|
|
39
|
+
- Updated coverage thresholds in `vitest.config.ts`:
|
|
40
|
+
- Lines: 54% → 67%
|
|
41
|
+
- Functions: 65% → 78%
|
|
42
|
+
- Branches: 65% → 78%
|
|
43
|
+
- Statements: 54% → 67%
|
|
44
|
+
|
|
45
|
+
## [1.0.1] - 2026-01-29
|
|
46
|
+
|
|
47
|
+
### Fixed
|
|
48
|
+
- Address 5 critical issues in v1.0.0 codebase
|
|
49
|
+
- Self-dogfooding implementation
|
|
50
|
+
|
|
51
|
+
### Added
|
|
52
|
+
- Applied SpecBridge to itself for validation
|
|
53
|
+
|
|
10
54
|
## [1.0.0] - 2026-01-29
|
|
11
55
|
|
|
12
56
|
### 🎉 First Stable Release
|
package/README.md
CHANGED
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
[](https://github.com/nouatzi/specbridge/actions)
|
|
4
4
|
[](https://www.npmjs.com/package/@ipation/specbridge)
|
|
5
5
|
[](https://opensource.org/licenses/MIT)
|
|
6
|
-
[](https://nodejs.org)
|
|
7
7
|
|
|
8
8
|
**Architecture Decision Runtime** - Transform architectural decisions into executable, verifiable constraints.
|
|
9
9
|
|
|
@@ -100,6 +100,18 @@ specbridge context src/api/auth.ts
|
|
|
100
100
|
|
|
101
101
|
Generates architectural context in Markdown format for AI code assistants.
|
|
102
102
|
|
|
103
|
+
## Dogfooding
|
|
104
|
+
|
|
105
|
+
SpecBridge uses itself to enforce its own architectural decisions! We verify:
|
|
106
|
+
|
|
107
|
+
- ✅ Error handling patterns (all errors extend SpecBridgeError)
|
|
108
|
+
- ✅ ESM import conventions (.js extensions required)
|
|
109
|
+
- ✅ Naming conventions (PascalCase/camelCase)
|
|
110
|
+
- ✅ TypeScript strict mode settings
|
|
111
|
+
- ✅ Domain-driven module structure
|
|
112
|
+
|
|
113
|
+
See our [Dogfooding Guide](docs/dogfooding-guide.md) to learn how we use SpecBridge on itself, or explore our decision files in `.specbridge/decisions/` as real-world examples.
|
|
114
|
+
|
|
103
115
|
## Decision File Format
|
|
104
116
|
|
|
105
117
|
Decisions are stored as YAML files in `.specbridge/decisions/`:
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@ipation/specbridge",
|
|
3
|
-
"version": "1.0.
|
|
3
|
+
"version": "1.0.2",
|
|
4
4
|
"description": "Architecture Decision Runtime - Transform architectural decisions into executable, verifiable constraints",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"main": "./dist/index.js",
|
|
@@ -20,7 +20,7 @@
|
|
|
20
20
|
"test": "vitest run",
|
|
21
21
|
"test:watch": "vitest",
|
|
22
22
|
"test:unit": "vitest run tests/unit/",
|
|
23
|
-
"test:integration": "vitest run
|
|
23
|
+
"test:integration": "vitest run --config vitest.integration.config.ts",
|
|
24
24
|
"test:coverage": "vitest run --coverage",
|
|
25
25
|
"test:ui": "vitest --ui",
|
|
26
26
|
"lint": "eslint . --ext .ts",
|