@gate-forge/cli 0.13.10 → 0.15.0
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 +415 -0
- package/README.md +13 -1
- package/bin/gateforge.js +3 -1
- package/dist/additional-app-origins.d.ts +38 -0
- package/dist/additional-app-origins.d.ts.map +1 -0
- package/dist/additional-app-origins.js +46 -0
- package/dist/additional-app-origins.js.map +1 -0
- package/dist/adopted-baseline.d.ts +2 -0
- package/dist/adopted-baseline.d.ts.map +1 -1
- package/dist/adopted-baseline.js +1 -0
- package/dist/adopted-baseline.js.map +1 -1
- package/dist/args.d.ts.map +1 -1
- package/dist/args.js +1 -0
- package/dist/args.js.map +1 -1
- package/dist/candidate-tree.d.ts +1 -1
- package/dist/candidate-tree.d.ts.map +1 -1
- package/dist/candidate-tree.js +24 -2
- package/dist/candidate-tree.js.map +1 -1
- package/dist/ci-witnessed-template.d.ts.map +1 -1
- package/dist/ci-witnessed-template.js +7 -5
- package/dist/ci-witnessed-template.js.map +1 -1
- package/dist/cli.d.ts +1 -1
- package/dist/cli.d.ts.map +1 -1
- package/dist/cli.js +4 -1
- package/dist/cli.js.map +1 -1
- package/dist/commands/adapters.d.ts.map +1 -1
- package/dist/commands/adapters.js +17 -12
- package/dist/commands/adapters.js.map +1 -1
- package/dist/commands/adopt.d.ts.map +1 -1
- package/dist/commands/adopt.js +163 -13
- package/dist/commands/adopt.js.map +1 -1
- package/dist/commands/baseline.d.ts.map +1 -1
- package/dist/commands/baseline.js +23 -5
- package/dist/commands/baseline.js.map +1 -1
- package/dist/commands/blocking.d.ts.map +1 -1
- package/dist/commands/blocking.js +1 -0
- package/dist/commands/blocking.js.map +1 -1
- package/dist/commands/check.d.ts.map +1 -1
- package/dist/commands/check.js +60 -76
- package/dist/commands/check.js.map +1 -1
- package/dist/commands/config.d.ts +3 -0
- package/dist/commands/config.d.ts.map +1 -0
- package/dist/commands/config.js +106 -0
- package/dist/commands/config.js.map +1 -0
- package/dist/commands/enforcement.d.ts +12 -1
- package/dist/commands/enforcement.d.ts.map +1 -1
- package/dist/commands/enforcement.js +85 -34
- package/dist/commands/enforcement.js.map +1 -1
- package/dist/commands/init-presets.d.ts +11 -0
- package/dist/commands/init-presets.d.ts.map +1 -1
- package/dist/commands/init-presets.js +6 -0
- package/dist/commands/init-presets.js.map +1 -1
- package/dist/commands/init.d.ts.map +1 -1
- package/dist/commands/init.js +13 -1
- package/dist/commands/init.js.map +1 -1
- package/dist/commands/next.d.ts.map +1 -1
- package/dist/commands/next.js +33 -4
- package/dist/commands/next.js.map +1 -1
- package/dist/commands/test-gates.d.ts +90 -0
- package/dist/commands/test-gates.d.ts.map +1 -1
- package/dist/commands/test-gates.js +156 -50
- package/dist/commands/test-gates.js.map +1 -1
- package/dist/endpoint-compiler.d.ts.map +1 -1
- package/dist/endpoint-compiler.js +73 -6
- package/dist/endpoint-compiler.js.map +1 -1
- package/dist/evaluate.d.ts +40 -1
- package/dist/evaluate.d.ts.map +1 -1
- package/dist/evaluate.js +91 -4
- package/dist/evaluate.js.map +1 -1
- package/dist/evidence-authority.d.ts +68 -0
- package/dist/evidence-authority.d.ts.map +1 -0
- package/dist/evidence-authority.js +114 -0
- package/dist/evidence-authority.js.map +1 -0
- package/dist/execution.d.ts +0 -25
- package/dist/execution.d.ts.map +1 -1
- package/dist/execution.js +16 -11
- package/dist/execution.js.map +1 -1
- package/dist/git-ignored.d.ts +22 -0
- package/dist/git-ignored.d.ts.map +1 -1
- package/dist/git-ignored.js +49 -0
- package/dist/git-ignored.js.map +1 -1
- package/dist/pipeline.d.ts.map +1 -1
- package/dist/pipeline.js +1 -0
- package/dist/pipeline.js.map +1 -1
- package/dist/providers.d.ts +22 -0
- package/dist/providers.d.ts.map +1 -1
- package/dist/providers.js +60 -11
- package/dist/providers.js.map +1 -1
- package/dist/reseal.d.ts.map +1 -1
- package/dist/reseal.js +30 -14
- package/dist/reseal.js.map +1 -1
- package/dist/run-evidence.d.ts +1 -1
- package/dist/run-evidence.d.ts.map +1 -1
- package/dist/run-evidence.js +7 -3
- package/dist/run-evidence.js.map +1 -1
- package/dist/runtime-reuse.d.ts +8 -0
- package/dist/runtime-reuse.d.ts.map +1 -1
- package/dist/runtime-reuse.js +40 -0
- package/dist/runtime-reuse.js.map +1 -1
- package/dist/state.d.ts +19 -1
- package/dist/state.d.ts.map +1 -1
- package/dist/state.js +39 -1
- package/dist/state.js.map +1 -1
- package/guides/QUICKSTART.md +7 -7
- package/guides/REFERENCE.md +301 -1
- package/guides/TEST-ENVIRONMENT.md +15 -8
- package/package.json +11 -11
package/dist/state.js
CHANGED
|
@@ -31,7 +31,7 @@
|
|
|
31
31
|
import { lstatSync, mkdirSync, readFileSync, renameSync, rmSync, writeFileSync } from 'node:fs';
|
|
32
32
|
import { dirname, join, resolve } from 'node:path';
|
|
33
33
|
import { randomUUID } from 'node:crypto';
|
|
34
|
-
import { canonicalJson, compareStrings, fingerprintObligation, } from '@gate-forge/core';
|
|
34
|
+
import { canonicalJson, compareStrings, fingerprintObligation, HTTP_ENDPOINT_RESOURCE_KIND, } from '@gate-forge/core';
|
|
35
35
|
import { UsageError } from './errors.js';
|
|
36
36
|
/** Default run-state directory, repo-root-relative. */
|
|
37
37
|
export const DEFAULT_STATE_DIR = '.gateforge/test-gates';
|
|
@@ -115,6 +115,44 @@ export function httpRoutesView(graph) {
|
|
|
115
115
|
routes.sort((a, b) => compareStrings(a.resourceId, b.resourceId));
|
|
116
116
|
return routes;
|
|
117
117
|
}
|
|
118
|
+
/**
|
|
119
|
+
* The served/used denominator of the HTTP call rules (0.14 WP3
|
|
120
|
+
* R1/R5), derived from the SAME graph resources the route inventory
|
|
121
|
+
* comes from — no second scan, no second identity rule.
|
|
122
|
+
*
|
|
123
|
+
* `mountProvenances` carries the detector's proof that this route's
|
|
124
|
+
* router is mounted (plan finding 13); `consumed` is the static join the
|
|
125
|
+
* `consumed: true` policy matches on; `callSites` are the joined call
|
|
126
|
+
* sites (`file:line:col`). Core subtracts a proven-unmounted route from
|
|
127
|
+
* `served` only once the detector emits the fact at all.
|
|
128
|
+
*
|
|
129
|
+
* Args:
|
|
130
|
+
* graph: built resource graph.
|
|
131
|
+
*
|
|
132
|
+
* Returns:
|
|
133
|
+
* HttpCoverageRoute[]: one entry per `http.endpoint`, sorted by id.
|
|
134
|
+
*/
|
|
135
|
+
export function httpCoverageRoutesView(graph) {
|
|
136
|
+
const routes = [];
|
|
137
|
+
for (const resource of graph.resources) {
|
|
138
|
+
if (resource.id === null || resource.kind !== HTTP_ENDPOINT_RESOURCE_KIND)
|
|
139
|
+
continue;
|
|
140
|
+
const mountProvenances = resource.attributes['mountProvenances'];
|
|
141
|
+
const callSources = resource.attributes['callSources'];
|
|
142
|
+
routes.push({
|
|
143
|
+
resourceId: resource.id,
|
|
144
|
+
mountProvenances: Array.isArray(mountProvenances)
|
|
145
|
+
? mountProvenances.filter((value) => typeof value === 'string')
|
|
146
|
+
: [],
|
|
147
|
+
consumed: resource.attributes['frontendConsumed'] === true,
|
|
148
|
+
callSites: Array.isArray(callSources)
|
|
149
|
+
? callSources.filter((value) => typeof value === 'string')
|
|
150
|
+
: [],
|
|
151
|
+
});
|
|
152
|
+
}
|
|
153
|
+
routes.sort((left, right) => compareStrings(left.resourceId, right.resourceId));
|
|
154
|
+
return routes;
|
|
155
|
+
}
|
|
118
156
|
/**
|
|
119
157
|
* Builds the suite-visible obligation list: pin-#2 fingerprints plus the
|
|
120
158
|
* resource source/location from the graph (empty when the resource is
|
package/dist/state.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"state.js","sourceRoot":"","sources":["../src/state.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GA6BG;AACH,OAAO,EAAE,SAAS,EAAE,SAAS,EAAE,YAAY,EAAE,UAAU,EAAE,MAAM,EAAE,aAAa,EAAE,MAAM,SAAS,CAAC;AAChG,OAAO,EAAE,OAAO,EAAE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AI,EAAE,GAAG,EAAE,KAAK,CAAC,GAAG,EAAE,IAAI,EAAE,KAAK,CAAC,IAAI,EAAE,CAAC,CAAC;IACvE,CAAC;IACD,OAAO,OAAO,CAAC;AACjB,CAAC;AAED;;;;;;;GAOG;AACH,MAAM,UAAU,gBAAgB,CAAC,QAAgB;IAC/C,IAAI,CAAC;QACH,MAAM,CAAC,IAAI,CAAC,QAAQ,EAAE,cAAc,CAAC,EAAE,EAAE,KAAK,EAAE,IAAI,EAAE,CAAC,CAAC;IAC1D,CAAC;IAAC,MAAM,CAAC;QACP,8DAA8D;QAC9D,oEAAoE;IACtE,CAAC;AACH,CAAC;AAED,4EAA4E;AAC5E,MAAM,UAAU,sBAAsB,CAAC,QAAgB,EAAE,MAAe;IACtE,cAAc,CAAC,QAAQ,EAAE,kBAAkB,EAAE,MAAmB,CAAC,CAAC;AACpE,CAAC"}
|
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.
|
|
28
|
-
@gate-forge/pack-playwright@0.
|
|
29
|
-
@gate-forge/pack-http@0.
|
|
30
|
-
@gate-forge/pack-fastapi@0.
|
|
31
|
-
@gate-forge/pack-sqlalchemy@0.
|
|
27
|
+
@gate-forge/cli@0.15.0 \
|
|
28
|
+
@gate-forge/pack-playwright@0.15.0 \
|
|
29
|
+
@gate-forge/pack-http@0.15.0 \
|
|
30
|
+
@gate-forge/pack-fastapi@0.15.0 \
|
|
31
|
+
@gate-forge/pack-sqlalchemy@0.15.0
|
|
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`.
|
|
@@ -49,7 +49,7 @@ This installs every pack of the release; the scan still recommends the ones your
|
|
|
49
49
|
|
|
50
50
|
**You should see:** npm installs the packages without a Gateforge compatibility error.
|
|
51
51
|
|
|
52
|
-
**If not:** align every direct `@gate-forge/*` package to `0.
|
|
52
|
+
**If not:** align every direct `@gate-forge/*` package to `0.15.0`, then install again. Do not work around the compatibility error.
|
|
53
53
|
|
|
54
54
|
## 2. Pick a goal
|
|
55
55
|
|
|
@@ -501,7 +501,7 @@ the registry. To gate a release that is not on the registry yet (a local
|
|
|
501
501
|
regenerate:
|
|
502
502
|
|
|
503
503
|
```sh
|
|
504
|
-
GATEFORGE_CI_ENGINE_SOURCE=vendor/gate-forge-cli-0.
|
|
504
|
+
GATEFORGE_CI_ENGINE_SOURCE=vendor/gate-forge-cli-0.15.0.tgz \
|
|
505
505
|
gateforge enforce --ci github
|
|
506
506
|
```
|
|
507
507
|
|
package/guides/REFERENCE.md
CHANGED
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
# Gateforge CLI reference
|
|
2
2
|
|
|
3
|
+
|
|
3
4
|
The reference for the `gateforge` CLI: every command, flag, exit
|
|
4
5
|
code, and protocol, plus the usage documentation that lived in the
|
|
5
6
|
repository README before the 0.9.0 documentation split. Both halves
|
|
@@ -1274,8 +1275,95 @@ repo-root-relative. `changed.provider: auto` (the default) picks
|
|
|
1274
1275
|
instant for deterministic reports; `system` (default) freezes it at run
|
|
1275
1276
|
start.
|
|
1276
1277
|
|
|
1278
|
+
### A second app origin (`additionalAppOrigins`)
|
|
1279
|
+
|
|
1280
|
+
A consumer whose tests drive a SECOND browser app — a platform admin console
|
|
1281
|
+
beside the tenant app — declares it in `.gateforge.yml`:
|
|
1282
|
+
|
|
1283
|
+
```yaml
|
|
1284
|
+
additionalAppOrigins:
|
|
1285
|
+
- E2E_PLATFORM_BASE_URL
|
|
1286
|
+
```
|
|
1287
|
+
|
|
1288
|
+
Each entry is the NAME of an environment variable, never a base URL: the
|
|
1289
|
+
address stays operator-supplied (exactly as `GATEFORGE_APP_BASE_URL` is) and
|
|
1290
|
+
never enters a candidate-controlled file. An entry that is not an
|
|
1291
|
+
environment-variable name is a config error.
|
|
1292
|
+
|
|
1293
|
+
What it changes: the witness opens one observation proxy per declared
|
|
1294
|
+
origin per test session (each attested loopback-only, like the primary
|
|
1295
|
+
target), and the Playwright fixture rewrites requests for each app origin
|
|
1296
|
+
onto that origin's own session proxy. One test driving two apps therefore
|
|
1297
|
+
keeps ONE session, ONE attribution and ONE exchange ledger, instead of the
|
|
1298
|
+
second app's traffic passing unwitnessed while the test still passes.
|
|
1299
|
+
|
|
1300
|
+
What it does NOT change: endpoint→plane matching, the page route table, or
|
|
1301
|
+
what counts as proof. A test-code request on a declared origin is still
|
|
1302
|
+
marked `test-code` and still cannot satisfy a UI claim. An origin nobody
|
|
1303
|
+
declared is still reported as an unrouted origin and still blocks the claim,
|
|
1304
|
+
so declaring one app never silences the diagnostic for another.
|
|
1305
|
+
|
|
1306
|
+
Resolution is fail-closed: a declared name the run environment does not set,
|
|
1307
|
+
or sets to something that is not an absolute `http(s)` base URL, refuses the
|
|
1308
|
+
run with a `UsageError` naming the variable. A silent skip would leave the
|
|
1309
|
+
suite driving an unwitnessed app behind a config that reads correct.
|
|
1310
|
+
|
|
1311
|
+
Because the declaration lives in `.gateforge.yml`, it is inside the
|
|
1312
|
+
owner-approved policy digest like every other declaration there: widening
|
|
1313
|
+
the list moves the approved revision, so a candidate cannot widen its own
|
|
1314
|
+
app origins in the same commit that needs them.
|
|
1315
|
+
|
|
1316
|
+
### HTTP route source (`http.routeSource`)
|
|
1317
|
+
|
|
1318
|
+
`.gateforge.yml` accepts:
|
|
1319
|
+
|
|
1320
|
+
```yaml
|
|
1321
|
+
http:
|
|
1322
|
+
routeSource: both
|
|
1323
|
+
```
|
|
1324
|
+
|
|
1325
|
+
`routeSource` is `both` by default. `both` unions detector routes with the
|
|
1326
|
+
operations published in the app's OpenAPI document; `detectors` and
|
|
1327
|
+
`openapi` select only that source. In `both` mode, a route present in only
|
|
1328
|
+
one source produces a report-only `ROUTE_SOURCE_MISMATCH` finding. The union
|
|
1329
|
+
matters because OpenAPI may omit routes hidden from its schema, while
|
|
1330
|
+
detectors can also report routes not exposed by the running app.
|
|
1331
|
+
|
|
1332
|
+
OpenAPI path insertion order is not dispatch precedence. When multiple
|
|
1333
|
+
routes match a concrete request, the matcher uses proven detector
|
|
1334
|
+
`registration` order (same serving scope, distinct positions) and selects
|
|
1335
|
+
the first registered match. Without enough order evidence it returns an
|
|
1336
|
+
ambiguous result rather than guessing. A single full match resolves; no
|
|
1337
|
+
matching method and path is unmatched. Matching ignores query strings and
|
|
1338
|
+
accepts trailing-slash variants; positional parameters match one segment,
|
|
1339
|
+
and a trailing catch-all matches one or more segments.
|
|
1340
|
+
|
|
1277
1341
|
Enforcement-relevant sections:
|
|
1278
1342
|
|
|
1343
|
+
- `http.routeSource:` — the served-route inventory source: `both`
|
|
1344
|
+
(default), `detectors`, or `openapi`. `both` unions both inventories and
|
|
1345
|
+
reports source-only routes as report-only `ROUTE_SOURCE_MISMATCH` findings.
|
|
1346
|
+
- `http.callFindings:` — the channel the HTTP call findings (unmatched,
|
|
1347
|
+
ambiguous, unresolvable) use: `block` (default) or `report`. `block` fails
|
|
1348
|
+
the check on NEW findings; findings already recorded as debt by adoption are
|
|
1349
|
+
counted, not blocked. `report` prints and serializes new findings on the
|
|
1350
|
+
advisory channel and leaves the exit code alone. See "Adopting call findings"
|
|
1351
|
+
and "The HTTP call rules and the coverage summary" below.
|
|
1352
|
+
- `http.responseShape:` — `off` (default), `report`, or `block`: whether the
|
|
1353
|
+
witness checks each proxied JSON response body against the app's OpenAPI
|
|
1354
|
+
response schema. The document is read from `http.openapiPath:` (default
|
|
1355
|
+
`/openapi.json`) at run bind. `report` prints mismatches as advisories;
|
|
1356
|
+
`block` makes every consumed endpoint owe `http:response-matches-model`,
|
|
1357
|
+
so a wrong field type fails with `HTTP_RESPONSE_SHAPE_MISMATCH`. A route
|
|
1358
|
+
with no schema, or a run with no reachable document, is `unchecked` and
|
|
1359
|
+
never fails. A body over 1 MiB is refused as `HTTP_BODY_TOO_LARGE` for
|
|
1360
|
+
that obligation only. The light and normal presets write `report`, the
|
|
1361
|
+
strict preset writes `block`.
|
|
1362
|
+
- Read and write these settings with `gateforge config get <key>`,
|
|
1363
|
+
`gateforge config set <key> <value>`, and `gateforge config list`.
|
|
1364
|
+
`set` refuses a key the schema does not know or a value it rejects, and
|
|
1365
|
+
leaves `.gateforge.yml` untouched.
|
|
1366
|
+
|
|
1279
1367
|
- `enforcement:` — `mode: standard | managed` (default `standard`),
|
|
1280
1368
|
`strictE2E: boolean` (default `false`), and optional
|
|
1281
1369
|
`receiptStage: pre-push | pre-commit | ci`. New configs choose `pre-push`;
|
|
@@ -1298,6 +1386,10 @@ Enforcement-relevant sections:
|
|
|
1298
1386
|
`playwright` (the default when the key is absent), `pytest`, `vitest` or
|
|
1299
1387
|
`cypress`. `check`, `next`, `tests`, `test-gates`, `doctor` and `init`
|
|
1300
1388
|
all follow it. See `guides/RUNNER-NEUTRAL-EVIDENCE.md`.
|
|
1389
|
+
- `witness.enumerationTimeoutSeconds:` — optional wall-clock bound (seconds,
|
|
1390
|
+
1–3600) for vitest `list` children during catalog construction and
|
|
1391
|
+
`test-gates` enumeration. ABSENT = 120s. Raise it for large workspace
|
|
1392
|
+
suites whose enumeration outlasts the default.
|
|
1301
1393
|
- `project.paths.testTooling:` — globs the owner asserts are test/developer
|
|
1302
1394
|
tooling (`scripts/e2e/**`, `tools/dev/**`). A changed file matching one is
|
|
1303
1395
|
attributed `test-tooling:<file>`: scope-expanding exactly like test
|
|
@@ -1307,6 +1399,212 @@ Enforcement-relevant sections:
|
|
|
1307
1399
|
changing the list moves the approved revision. See "Developer and CI
|
|
1308
1400
|
tooling is owner-declared" above.
|
|
1309
1401
|
|
|
1402
|
+
### The exchange ledger (`http.exchanges`, `httpLedger`)
|
|
1403
|
+
|
|
1404
|
+
Every witnessed test session now leaves its HTTP exchanges as evidence,
|
|
1405
|
+
not only the sessions that carry claims. When a session that PASSED
|
|
1406
|
+
closes (and when a page sweep completes), the witness issues ONE
|
|
1407
|
+
claim-free record of kind `http.exchanges` carrying the same transport
|
|
1408
|
+
snapshot the per-claim `http.observed` records carry: the deduplicated,
|
|
1409
|
+
capped exchange list (`method`, `url`, `status`, `fetchDest`, `resourceType`),
|
|
1410
|
+
its watermark, and `truncated` when the cap cut the list. `fetchDest` is
|
|
1411
|
+
the lowercased `Sec-Fetch-Dest` value when present; otherwise the
|
|
1412
|
+
Playwright fixture derives it from the request resource type (`fetch`/`xhr`
|
|
1413
|
+
become `empty`, `document` becomes `document`, and assets retain their
|
|
1414
|
+
destination class). The fixture's `x-gateforge-resource-type` header is
|
|
1415
|
+
test-process supplied, not proof. When browser `Sec-Fetch-Dest` is absent, it
|
|
1416
|
+
supplies the fallback used to classify API traffic; that classification
|
|
1417
|
+
affects API call and response-shape findings, but never satisfies a transport
|
|
1418
|
+
obligation. A disagreement records `resourceTypeConflict: true` while
|
|
1419
|
+
preserving the browser destination.
|
|
1420
|
+
Missing both facts yields `null`. A session whose test did not pass drops its record, and
|
|
1421
|
+
`http.exchanges` cannot satisfy an obligation or serve as proof. Its rows
|
|
1422
|
+
supply the report and the R1-R5 evaluation.
|
|
1423
|
+
|
|
1424
|
+
At verdict time the report JSON carries `httpLedger` for a run that
|
|
1425
|
+
witnessed at least one such record:
|
|
1426
|
+
|
|
1427
|
+
```json
|
|
1428
|
+
{
|
|
1429
|
+
"httpLedger": {
|
|
1430
|
+
"rows": [
|
|
1431
|
+
{
|
|
1432
|
+
"testId": "tests/checkout#apples",
|
|
1433
|
+
"method": "GET",
|
|
1434
|
+
"path": "/items/apples",
|
|
1435
|
+
"status": 200,
|
|
1436
|
+
"fetchDest": "empty",
|
|
1437
|
+
"kind": "api",
|
|
1438
|
+
"route": "http.endpoint:GET /items/{}",
|
|
1439
|
+
"resolution": "match"
|
|
1440
|
+
}
|
|
1441
|
+
],
|
|
1442
|
+
"summary": { "exchanges": 1, "matched": 1, "unmatched": 0, "ambiguous": 0, "incomplete": 0 }
|
|
1443
|
+
}
|
|
1444
|
+
}
|
|
1445
|
+
```
|
|
1446
|
+
|
|
1447
|
+
One row per witnessed exchange, sorted by test id, method, path, and
|
|
1448
|
+
status. `path` is the query-stripped observed path; `fetchDest` is the
|
|
1449
|
+
effective lowercased destination (browser `Sec-Fetch-Dest` preferred,
|
|
1450
|
+
otherwise derived from Playwright's `resourceType`); `resourceType` retains
|
|
1451
|
+
that raw fixture value or is `null`; `resourceTypeConflict` is present when
|
|
1452
|
+
the two facts disagree. `route` is the resource id
|
|
1453
|
+
the ONE route matcher attributed it to, or `null`. `kind` is `api` only
|
|
1454
|
+
when `fetchDest` is exactly `empty`; `document` and `iframe` are `page`,
|
|
1455
|
+
other non-empty destinations (for example `script`, `style`, `image`, or
|
|
1456
|
+
`font`) are `asset`, and an absent/null destination is `unknown`.
|
|
1457
|
+
`resolution` is that matcher's answer — `match`, `nomatch`,
|
|
1458
|
+
`ambiguous` (with the equal candidates in `candidates`), or
|
|
1459
|
+
`incomplete` (an inventory entry cannot be attributed). If the route
|
|
1460
|
+
inventory is empty or unavailable, resolution is `incomplete` rather
|
|
1461
|
+
than `nomatch` and the summary reports `inventory: "unavailable"`; an
|
|
1462
|
+
unattributable route candidate reports `inventory: "incomplete"`.
|
|
1463
|
+
The `httpLedger` report field is report-only by itself; the exchange evidence
|
|
1464
|
+
is also consumed by the R1-R5 rules below, whose findings can affect the
|
|
1465
|
+
verdict and exit code through `http.callFindings`. The key is absent from runs
|
|
1466
|
+
that witnessed no session exchanges.
|
|
1467
|
+
`fetchDest: "empty"` alone identifies API traffic for R2/R3 findings.
|
|
1468
|
+
|
|
1469
|
+
### The HTTP call rules and the coverage summary (`http.callFindings`)
|
|
1470
|
+
|
|
1471
|
+
The ledger is not decoration: five rules run over it at verdict time.
|
|
1472
|
+
|
|
1473
|
+
- **R1 — API use means API use.** A route is USED when an API exchange
|
|
1474
|
+
(`fetchDest: "empty"`) matched it (a ledger row with `kind: "api"` and
|
|
1475
|
+
`resolution: "match"`) OR the static join consumed it (the endpoint
|
|
1476
|
+
carries `frontendConsumed: true`). Page, asset, and unknown traffic do
|
|
1477
|
+
not count as API calls or used API routes. A used route already owes
|
|
1478
|
+
`http:request-observed` + `http:response-status-ok`: those obligations
|
|
1479
|
+
are generated BEFORE the run by the `consumed: true` policy against the
|
|
1480
|
+
same join (or by every endpoint under
|
|
1481
|
+
`http.endpoint.requireObservation: all`), so no rule here invents an
|
|
1482
|
+
obligation.
|
|
1483
|
+
- **R2 — an unmatched API call is a defect only with a complete inventory.**
|
|
1484
|
+
Only `kind: "api"` rows with `resolution: "nomatch"` and status 404 or
|
|
1485
|
+
405 report `HTTP_CALL_UNMATCHED`, naming the test, method, path and
|
|
1486
|
+
missing-route statuses. Repeats are one finding. A nomatch with every
|
|
1487
|
+
other status reports `HTTP_ROUTE_NOT_INVENTORIED` as a report-only
|
|
1488
|
+
advisory: the app answered, so the detector inventory may be incomplete.
|
|
1489
|
+
This advisory is never blocking or adoptable debt. An empty route
|
|
1490
|
+
inventory or `incomplete` matcher result cannot prove a call unmatched.
|
|
1491
|
+
- **R3 — an ambiguous API call is a defect.** Only API rows matching
|
|
1492
|
+
several routes at equal specificity report `HTTP_CALL_AMBIGUOUS` with
|
|
1493
|
+
the candidates. Incomplete inventory placements and page/asset/unknown
|
|
1494
|
+
rows never produce R2/R3 findings.
|
|
1495
|
+
- **R4 — an unresolvable call site is never dropped.** A static call
|
|
1496
|
+
whose target the join cannot compute reports `HTTP_CALL_UNRESOLVED`
|
|
1497
|
+
with its `file:line`. It reads the unresolved call-site facts the graph
|
|
1498
|
+
already carries; the pre-existing `unresolved` blocking entries for the
|
|
1499
|
+
same sites stay exactly as they were.
|
|
1500
|
+
- **R5 — served but never used is a count.** It appears in the summary
|
|
1501
|
+
and is never a finding.
|
|
1502
|
+
|
|
1503
|
+
Which channel these findings use is the owner's:
|
|
1504
|
+
|
|
1505
|
+
- `http.callFindings: report | block` (default `block`) — in `report`
|
|
1506
|
+
mode every NEW finding is printed and serialized on the report's existing
|
|
1507
|
+
`advisories` channel and the exit code is untouched; in `block` mode the
|
|
1508
|
+
new findings join the run's blocking set and fail the check exactly like
|
|
1509
|
+
any other blocking finding. Findings already recorded as debt are counted,
|
|
1510
|
+
not blocked, in either mode (see "Adopting call findings" below).
|
|
1511
|
+
|
|
1512
|
+
Every run also carries the summary line — in the human report as
|
|
1513
|
+
|
|
1514
|
+
```
|
|
1515
|
+
HTTP: 782 served, 367 used, 340 proven, 27 missing, 12 unmatched, 0 ambiguous (complete route inventory)
|
|
1516
|
+
```
|
|
1517
|
+
|
|
1518
|
+
and in the json report under `httpCoverage` (absent from reports that do
|
|
1519
|
+
not compute it). When the route inventory is unavailable or incomplete,
|
|
1520
|
+
the summary names that status instead of treating unmatched traffic as a
|
|
1521
|
+
proven defect. `served` is the route table minus routes the detector
|
|
1522
|
+
PROVES unmounted: until a detector emits mount provenance, nothing is
|
|
1523
|
+
subtracted, because an absent proof is unknown served-ness rather than
|
|
1524
|
+
proof of dead code. `used` counts served routes with a caller, `proven`
|
|
1525
|
+
counts used routes whose BOTH transport obligations are `satisfied` (a
|
|
1526
|
+
waived or baselined obligation is a recorded forgiveness, never proof),
|
|
1527
|
+
and `missing` is `used` minus `proven`.
|
|
1528
|
+
|
|
1529
|
+
|
|
1530
|
+
### Adopting call findings (`http.callFindings`, debt, then new blocks)
|
|
1531
|
+
|
|
1532
|
+
Only blocking-eligible `HTTP_CALL_UNMATCHED` (404/405), `HTTP_CALL_AMBIGUOUS`
|
|
1533
|
+
and `HTTP_CALL_UNRESOLVED` findings are recorded as debt. `HTTP_ROUTE_NOT_INVENTORIED`
|
|
1534
|
+
is always advisory: it is never adopted and can never block. A NEW eligible finding
|
|
1535
|
+
blocks in `block` mode.
|
|
1536
|
+
|
|
1537
|
+
- **Identity.** Each finding has a fingerprint: a sha256 over a canonical
|
|
1538
|
+
description of the call. For UNMATCHED and AMBIGUOUS the description is the
|
|
1539
|
+
finding code, the HTTP method, the path shape, and the test id. The path shape
|
|
1540
|
+
drops the query and fragment and collapses any segment that is all digits, a
|
|
1541
|
+
UUID, or 16+ hex characters to `:id`. For UNRESOLVED it is the code, the file,
|
|
1542
|
+
and the scanner detail without its trailing `file:line`. The HTTP status and
|
|
1543
|
+
line numbers are NOT part of the identity, so a harmless edit does not churn
|
|
1544
|
+
the debt.
|
|
1545
|
+
- **Storage.** Recorded in the adoption receipt as the family marker
|
|
1546
|
+
`families['http-calls']`, never in the baseline document. The marker maps each
|
|
1547
|
+
finding's key to its fingerprint and lists the fingerprints as forgiven. It is
|
|
1548
|
+
written only when there are findings to record, so a repository with none keeps
|
|
1549
|
+
the 0.13 receipt shape.
|
|
1550
|
+
- **Migrating an adopted repository.** `gateforge adopt --family http-calls`
|
|
1551
|
+
previews what would be recorded (nothing is written); `--confirm` writes the
|
|
1552
|
+
marker. The marker is permanent, so a repeat is a loud no-op. Until it is
|
|
1553
|
+
recorded, `check` names the migration in one line. A repository with no
|
|
1554
|
+
receipt at all is pointed at the plain `gateforge adopt` instead.
|
|
1555
|
+
- **Debt count.** Adopted findings are counted as known debt in the report
|
|
1556
|
+
summary as `baselinedHttpCallFindings`. A FIXED finding leaves that count on
|
|
1557
|
+
the next run with no edit. Its fingerprint stays in the receipt until
|
|
1558
|
+
`gateforge baseline update --family-http-calls <fingerprint>...` shrinks it;
|
|
1559
|
+
`--family-http-calls=` keeps none.
|
|
1560
|
+
- **Known limitation.** A call that was fixed, then re-introduced identically,
|
|
1561
|
+
and not yet shrunk out of the receipt is forgiven again. Run
|
|
1562
|
+
`gateforge baseline update --family-http-calls` after a fix to close that
|
|
1563
|
+
window.
|
|
1564
|
+
- **Preset defaults.** `light` writes `callFindings: report` (advisory only);
|
|
1565
|
+
`normal` and `strict` write `callFindings: block`. A config with no
|
|
1566
|
+
`callFindings` key takes the schema default, `block`.
|
|
1567
|
+
|
|
1568
|
+
### Mount proofs (`mountProvenances`, `HTTP_ENDPOINT_UNMOUNTED`)
|
|
1569
|
+
|
|
1570
|
+
What "the detector PROVES unmounted" means in practice. The FastAPI pack
|
|
1571
|
+
walks each app's `include_router` graph ONCE and stamps every route it
|
|
1572
|
+
reaches with the chain it crossed, in the same `<module>:<var>` identity a
|
|
1573
|
+
route's `registration.scope` uses:
|
|
1574
|
+
|
|
1575
|
+
```
|
|
1576
|
+
include-chain:app.main:app → app.api:api_router → app.items:items_router
|
|
1577
|
+
```
|
|
1578
|
+
|
|
1579
|
+
The compiled `http.endpoint` carries those strings in `mountProvenances`
|
|
1580
|
+
(deduplicated, sorted; one entry per mount, so a router included by two
|
|
1581
|
+
apps yields two). A route declared by a router NO `include_router` targets
|
|
1582
|
+
carries none — it is still reported, because a declaration is a claim, but
|
|
1583
|
+
nothing proves an app serves it, and it therefore leaves `served`.
|
|
1584
|
+
|
|
1585
|
+
- **`HTTP_ENDPOINT_UNMOUNTED` (report-only).** Names each endpoint whose
|
|
1586
|
+
router nothing mounts, so the reader can mount the router or delete the
|
|
1587
|
+
dead code. It is deliberately not a blocking code, and it is minted only
|
|
1588
|
+
in a run that carries proofs at all: with no proof anywhere, the detector
|
|
1589
|
+
could not follow the mount graph, and an empty proof means "unknown",
|
|
1590
|
+
never "dead code".
|
|
1591
|
+
- **`conditional: true`.** A route declared inside a module-level
|
|
1592
|
+
`if`/`try`/`with`/`for`/`while` registers only when that branch runs, so
|
|
1593
|
+
its served-ness is unknown statically. Such an endpoint is MARKED, never
|
|
1594
|
+
dropped, and the flag is never a served-ness input: its router is mounted
|
|
1595
|
+
either way, so the route keeps its `mountProvenances` and its
|
|
1596
|
+
`registration` (which holds whenever the route does register).
|
|
1597
|
+
- **`adapters scaffold`** skips exactly these paths. With no mount proof
|
|
1598
|
+
anywhere in the graph it scaffolds nothing unmounted, for the same reason.
|
|
1599
|
+
|
|
1600
|
+
`gateforge next` names the caller of a used-but-unproven route: when the
|
|
1601
|
+
top item is one of its two transport contracts, the `why` line ends with
|
|
1602
|
+
`— this route is used by <testId | file:line:col>, …`, where the names
|
|
1603
|
+
are the witnessing tests whose exchange matched it (a page-sweep session
|
|
1604
|
+
prints as `page-sweep`) and the static call sites joined onto it. A
|
|
1605
|
+
non-HTTP obligation never gets an HTTP caller, and a proven route never
|
|
1606
|
+
names one.
|
|
1607
|
+
|
|
1310
1608
|
## Pages
|
|
1311
1609
|
|
|
1312
1610
|
Each detected frontend route creates two page promises: `page:loads` and
|
|
@@ -2304,7 +2602,9 @@ expected context, every witnessed record demotes to claimed-tier
|
|
|
2304
2602
|
`enforcement doctor` fails the `playwright-projects` row — `test-gates`
|
|
2305
2603
|
needs a named project.
|
|
2306
2604
|
- Gateforge reads the FIRST of `playwright.config.{ts,mts,cts,js,mjs,cjs}`
|
|
2307
|
-
at the repository root
|
|
2605
|
+
at the repository root, then up to two directory levels down (breadth-first,
|
|
2606
|
+
alphabetical, hidden/dependency/build/Python directories pruned). Multiple
|
|
2607
|
+
configs are disclosed, but only the first is inventoried. A suffixed config such as
|
|
2308
2608
|
`playwright.config.e2e.js` is not read — rename it to
|
|
2309
2609
|
`playwright.config.js` if it is the suite to prove.
|
|
2310
2610
|
- Run-state hygiene is enforced, not forgiven: a committed run-state
|
|
@@ -160,7 +160,7 @@ Four rules decide what a run does with a declared state:
|
|
|
160
160
|
- **A relative path is relative to the runner's working directory** —
|
|
161
161
|
the directory holding the playwright config the run uses. That is the
|
|
162
162
|
repository root for a root-level config and the project's own
|
|
163
|
-
directory for a config
|
|
163
|
+
directory for a config up to two levels down, which is exactly the directory
|
|
164
164
|
your setup test wrote the file from: the artifact the dependent project
|
|
165
165
|
reads is the artifact the setup project saved, wherever the config
|
|
166
166
|
lives. The file need not exist before the run; the setup project creates
|
|
@@ -924,6 +924,7 @@ the re-sealed receipt names parent 9f2c… but the run state retains no parent r
|
|
|
924
924
|
re-seal hop 1 claims a receipt parent but the run state retains a run-record (fail closed)
|
|
925
925
|
re-seal hop 1's parent receipt does not authenticate with this keyring: … (fail closed)
|
|
926
926
|
re-seal hop 2's parent receipt does not authenticate with this keyring: … (fail closed)
|
|
927
|
+
re-seal hop 1's retained evidence does not recompute: its retained evidence does not match the attestation its document seals (fail closed)
|
|
927
928
|
re-seal hop 1's retained evidence does not recompute: its evidence attestation does not verify with this keyring (fail closed)
|
|
928
929
|
re-sealed receipt claims 561 carried test(s) but its chain holds 560 carried outcome(s)
|
|
929
930
|
the re-sealed receipt carries 6 consecutive re-seals, past the bound of 5 — run the full suite
|
|
@@ -1216,13 +1217,19 @@ Link the pair in one of two ways, both read only when `twinPaths` is set:
|
|
|
1216
1217
|
else next to a bare `X`. Two described raw tests under one label link
|
|
1217
1218
|
nothing: name the pair with `twinOf`.
|
|
1218
1219
|
|
|
1219
|
-
Both tests must send their requests through the witness
|
|
1220
|
-
runs
|
|
1221
|
-
`@gate-forge/pack-playwright`
|
|
1222
|
-
|
|
1223
|
-
|
|
1224
|
-
|
|
1225
|
-
|
|
1220
|
+
Both tests must send their browser requests through the witness. Witnessed
|
|
1221
|
+
runs automatically instrument consumer `@playwright/test` and `playwright/test`
|
|
1222
|
+
imports; explicit `test` from `@gate-forge/pack-playwright` works too. A linked
|
|
1223
|
+
raw twin gets an observation-only session and issues no obligation evidence,
|
|
1224
|
+
regardless of which supported import it uses. Plain-import twins **are**
|
|
1225
|
+
compared, and their differing paths are reported.
|
|
1226
|
+
|
|
1227
|
+
An uninstrumented test (for example, one importing Playwright's test module
|
|
1228
|
+
by a direct filesystem path rather than a supported package specifier), or
|
|
1229
|
+
a test sending no requests through its session proxy, has no witnessed shapes.
|
|
1230
|
+
The pair is not compared, and the run says so on one line
|
|
1231
|
+
(`test-gates: twin pair not compared: the raw test '…' sent no request through
|
|
1232
|
+
the witness`), never as "the twins agree".
|
|
1226
1233
|
|
|
1227
1234
|
```bash
|
|
1228
1235
|
# A run with the pair linked reports the divergence and keeps its verdict:
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@gate-forge/cli",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.15.0",
|
|
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.
|
|
37
|
-
"@gate-forge/http-contract": "^0.
|
|
38
|
-
"@gate-forge/pack-fastapi": "^0.
|
|
39
|
-
"@gate-forge/pack-alembic": "^0.
|
|
40
|
-
"@gate-forge/pack-http": "^0.
|
|
41
|
-
"@gate-forge/pack-react-router": "^0.
|
|
42
|
-
"@gate-forge/pack-playwright": "^0.
|
|
43
|
-
"@gate-forge/pack-sqlalchemy": "^0.
|
|
44
|
-
"@gate-forge/pack-task": "^0.
|
|
45
|
-
"@gate-forge/plugin-protocol": "^0.
|
|
36
|
+
"@gate-forge/core": "^0.15.0",
|
|
37
|
+
"@gate-forge/http-contract": "^0.15.0",
|
|
38
|
+
"@gate-forge/pack-fastapi": "^0.15.0",
|
|
39
|
+
"@gate-forge/pack-alembic": "^0.15.0",
|
|
40
|
+
"@gate-forge/pack-http": "^0.15.0",
|
|
41
|
+
"@gate-forge/pack-react-router": "^0.15.0",
|
|
42
|
+
"@gate-forge/pack-playwright": "^0.15.0",
|
|
43
|
+
"@gate-forge/pack-sqlalchemy": "^0.15.0",
|
|
44
|
+
"@gate-forge/pack-task": "^0.15.0",
|
|
45
|
+
"@gate-forge/plugin-protocol": "^0.15.0",
|
|
46
46
|
"picomatch": "^4.0.7",
|
|
47
47
|
"yaml": "^2.8.1"
|
|
48
48
|
},
|