@gate-forge/cli 0.18.2 → 0.18.3
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 +22 -0
- package/guides/QUICKSTART.md +5 -5
- package/package.json +11 -11
package/CHANGELOG.md
CHANGED
|
@@ -2,6 +2,28 @@
|
|
|
2
2
|
|
|
3
3
|
## Unreleased
|
|
4
4
|
|
|
5
|
+
## 0.18.3
|
|
6
|
+
|
|
7
|
+
- **An undeclared E2E kind can no longer bypass the observed-mocking
|
|
8
|
+
refusal.** The mapping resolver's §5.3 check refused a sidecar entry
|
|
9
|
+
that declared an E2E kind (`browser-e2e`, `observed-e2e`, `api-e2e`)
|
|
10
|
+
for a test whose catalog row observed mocking, but an entry that left
|
|
11
|
+
`kind` out skipped the check entirely: inference kept the row's E2E
|
|
12
|
+
kind, the entry bound, and its claims reached the grading seam (the
|
|
13
|
+
witnessed lane injects sidecar claims kind-blind, so the mocked
|
|
14
|
+
test's evidence could grade the obligation). The mock refusal now
|
|
15
|
+
keys on the effective kind (`entry.kind ?? row.inferredKind`): a
|
|
16
|
+
mocked row whose inferred kind is E2E raises the same
|
|
17
|
+
`TEST_MAPPING_AMBIGUOUS` problem, `TEST_KIND_UNKNOWN` handling is
|
|
18
|
+
unchanged, and unmocked or non-E2E rows bind exactly as before.
|
|
19
|
+
Declaring the kind honestly was already refused (exit 2 at
|
|
20
|
+
declaration time), so omitting `kind` was the only way to keep a
|
|
21
|
+
mocked E2E mapping — that hole is closed. Consumer scan with the
|
|
22
|
+
fixed engine: cp-mr98 turns 0 entries newly ambiguous (its 7
|
|
23
|
+
`TEST_MAPPING_AMBIGUOUS` entries are all pre-existing declared-kind
|
|
24
|
+
contradictions); pm/suite-combined-2's check runs at review (its
|
|
25
|
+
recorded gate-before is `TEST_MAPPING_AMBIGUOUS` 0).
|
|
26
|
+
|
|
5
27
|
## 0.18.2
|
|
6
28
|
|
|
7
29
|
- **Session open runs the observe-declared resource snapshots
|
package/guides/QUICKSTART.md
CHANGED
|
@@ -24,11 +24,11 @@ Example for a React frontend, FastAPI backend, and SQLAlchemy data layer:
|
|
|
24
24
|
|
|
25
25
|
```sh
|
|
26
26
|
npm i -D \
|
|
27
|
-
@gate-forge/cli@0.18.
|
|
28
|
-
@gate-forge/pack-playwright@0.18.
|
|
29
|
-
@gate-forge/pack-http@0.18.
|
|
30
|
-
@gate-forge/pack-fastapi@0.18.
|
|
31
|
-
@gate-forge/pack-sqlalchemy@0.18.
|
|
27
|
+
@gate-forge/cli@0.18.3 \
|
|
28
|
+
@gate-forge/pack-playwright@0.18.3 \
|
|
29
|
+
@gate-forge/pack-http@0.18.3 \
|
|
30
|
+
@gate-forge/pack-fastapi@0.18.3 \
|
|
31
|
+
@gate-forge/pack-sqlalchemy@0.18.3
|
|
32
32
|
```
|
|
33
33
|
|
|
34
34
|
Use the project-local `gateforge` binary from your npm script or add `node_modules/.bin` to your shell `PATH`. If the scan recommends other packs, add only the ones your code uses, at the same version. A mismatched Gateforge package contract can stop the CLI with exit code 2 and `GATEFORGE_PACKAGE_INCOMPATIBLE`.
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@gate-forge/cli",
|
|
3
|
-
"version": "0.18.
|
|
3
|
+
"version": "0.18.3",
|
|
4
4
|
"gateforgeCompatibility": {
|
|
5
5
|
"supervisedFixtureProtocol": "gateforge.supervised-playwright.v1"
|
|
6
6
|
},
|
|
@@ -33,16 +33,16 @@
|
|
|
33
33
|
"test": "vitest run"
|
|
34
34
|
},
|
|
35
35
|
"dependencies": {
|
|
36
|
-
"@gate-forge/core": "^0.18.
|
|
37
|
-
"@gate-forge/http-contract": "^0.18.
|
|
38
|
-
"@gate-forge/pack-
|
|
39
|
-
"@gate-forge/pack-
|
|
40
|
-
"@gate-forge/pack-http": "^0.18.
|
|
41
|
-
"@gate-forge/pack-
|
|
42
|
-
"@gate-forge/pack-
|
|
43
|
-
"@gate-forge/pack-sqlalchemy": "^0.18.
|
|
44
|
-
"@gate-forge/pack-task": "^0.18.
|
|
45
|
-
"@gate-forge/plugin-protocol": "^0.18.
|
|
36
|
+
"@gate-forge/core": "^0.18.3",
|
|
37
|
+
"@gate-forge/http-contract": "^0.18.3",
|
|
38
|
+
"@gate-forge/pack-alembic": "^0.18.3",
|
|
39
|
+
"@gate-forge/pack-fastapi": "^0.18.3",
|
|
40
|
+
"@gate-forge/pack-http": "^0.18.3",
|
|
41
|
+
"@gate-forge/pack-playwright": "^0.18.3",
|
|
42
|
+
"@gate-forge/pack-react-router": "^0.18.3",
|
|
43
|
+
"@gate-forge/pack-sqlalchemy": "^0.18.3",
|
|
44
|
+
"@gate-forge/pack-task": "^0.18.3",
|
|
45
|
+
"@gate-forge/plugin-protocol": "^0.18.3",
|
|
46
46
|
"picomatch": "^4.0.7",
|
|
47
47
|
"yaml": "^2.8.1"
|
|
48
48
|
},
|