@gate-forge/cli 0.19.1 → 0.19.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 +20 -0
- package/guides/QUICKSTART.md +5 -5
- package/guides/REFERENCE.md +4 -1
- package/package.json +11 -11
package/CHANGELOG.md
CHANGED
|
@@ -2,6 +2,26 @@
|
|
|
2
2
|
|
|
3
3
|
## Unreleased
|
|
4
4
|
|
|
5
|
+
## 0.19.2
|
|
6
|
+
|
|
7
|
+
- **Fixed: transport obligations on `internal` routes are graded.**
|
|
8
|
+
A route classified `internal` (every unlinked `/health`, `/ops`,
|
|
9
|
+
`/metrics` route, or a certified internal route) that a policy matched
|
|
10
|
+
still got `http:request-observed`/`http:response-status-ok`, and then
|
|
11
|
+
always graded `invalid` ("carry no CRUD obligations"). This included
|
|
12
|
+
the `operational-only` transport case. They now grade like any route:
|
|
13
|
+
`missing` until the same witnessed exchange proves them. `crud:`/
|
|
14
|
+
`persistence:` on internal resources stay invalid. No policy or digest
|
|
15
|
+
change is needed.
|
|
16
|
+
|
|
17
|
+
- **Fixed: an `out-of-scope` endpoint no longer blocks on a source-link
|
|
18
|
+
guess.** An entry whose owner-approved disposition is `out-of-scope`
|
|
19
|
+
now skips the `BEHAVIOR_BINDING_MISMATCH` source-link check, because
|
|
20
|
+
no truthful config can clear a link that no declared effect can match
|
|
21
|
+
(for example a route that returns a hardcoded list but is linked to a
|
|
22
|
+
table by name). An expired disposition is void, and entries without a
|
|
23
|
+
disposition keep the check.
|
|
24
|
+
|
|
5
25
|
## 0.19.1
|
|
6
26
|
|
|
7
27
|
- **Fixed: Playwright UI actions count as page traffic, not test code.**
|
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.19.
|
|
28
|
-
@gate-forge/pack-playwright@0.19.
|
|
29
|
-
@gate-forge/pack-http@0.19.
|
|
30
|
-
@gate-forge/pack-fastapi@0.19.
|
|
31
|
-
@gate-forge/pack-sqlalchemy@0.19.
|
|
27
|
+
@gate-forge/cli@0.19.2 \
|
|
28
|
+
@gate-forge/pack-playwright@0.19.2 \
|
|
29
|
+
@gate-forge/pack-http@0.19.2 \
|
|
30
|
+
@gate-forge/pack-fastapi@0.19.2 \
|
|
31
|
+
@gate-forge/pack-sqlalchemy@0.19.2
|
|
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/guides/REFERENCE.md
CHANGED
|
@@ -1433,7 +1433,10 @@ Enforcement-relevant sections:
|
|
|
1433
1433
|
policies.yml rule obligation for that endpoint. An active table
|
|
1434
1434
|
disposition withholds `persistence:*` rule obligations for that table.
|
|
1435
1435
|
Expired dispositions excuse neither. `operational-only` still excuses
|
|
1436
|
-
no rule obligation (transport case only).
|
|
1436
|
+
no rule obligation (transport case only). Health/ops routes classify
|
|
1437
|
+
`internal`, and their transport case and any matched `http:*` rule
|
|
1438
|
+
obligation grade on the normal transport evidence.
|
|
1439
|
+
The check report lists each
|
|
1437
1440
|
withheld obligation as `excused` with the reason. `disposition list`
|
|
1438
1441
|
names the excuse (`rule-obligations`, `persistence`, or none).
|
|
1439
1442
|
The owner renews a timer with
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@gate-forge/cli",
|
|
3
|
-
"version": "0.19.
|
|
3
|
+
"version": "0.19.2",
|
|
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.19.
|
|
37
|
-
"@gate-forge/http-contract": "^0.19.
|
|
38
|
-
"@gate-forge/pack-alembic": "^0.19.
|
|
39
|
-
"@gate-forge/pack-fastapi": "^0.19.
|
|
40
|
-
"@gate-forge/pack-http": "^0.19.
|
|
41
|
-
"@gate-forge/pack-playwright": "^0.19.
|
|
42
|
-
"@gate-forge/pack-react-router": "^0.19.
|
|
43
|
-
"@gate-forge/pack-sqlalchemy": "^0.19.
|
|
44
|
-
"@gate-forge/pack-task": "^0.19.
|
|
45
|
-
"@gate-forge/plugin-protocol": "^0.19.
|
|
36
|
+
"@gate-forge/core": "^0.19.2",
|
|
37
|
+
"@gate-forge/http-contract": "^0.19.2",
|
|
38
|
+
"@gate-forge/pack-alembic": "^0.19.2",
|
|
39
|
+
"@gate-forge/pack-fastapi": "^0.19.2",
|
|
40
|
+
"@gate-forge/pack-http": "^0.19.2",
|
|
41
|
+
"@gate-forge/pack-playwright": "^0.19.2",
|
|
42
|
+
"@gate-forge/pack-react-router": "^0.19.2",
|
|
43
|
+
"@gate-forge/pack-sqlalchemy": "^0.19.2",
|
|
44
|
+
"@gate-forge/pack-task": "^0.19.2",
|
|
45
|
+
"@gate-forge/plugin-protocol": "^0.19.2",
|
|
46
46
|
"picomatch": "^4.0.7",
|
|
47
47
|
"yaml": "^2.8.1"
|
|
48
48
|
},
|