@gate-forge/cli 0.14.0 → 0.15.1
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 +271 -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/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 +1 -1
- package/dist/commands/adopt.d.ts.map +1 -1
- package/dist/commands/adopt.js +3 -3
- package/dist/commands/adopt.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 +12 -7
- package/dist/commands/check.js.map +1 -1
- 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/test-gates.d.ts +83 -0
- package/dist/commands/test-gates.d.ts.map +1 -1
- package/dist/commands/test-gates.js +118 -48
- package/dist/commands/test-gates.js.map +1 -1
- package/dist/detector-trust.d.ts +35 -0
- package/dist/detector-trust.d.ts.map +1 -1
- package/dist/detector-trust.js +104 -17
- package/dist/detector-trust.js.map +1 -1
- package/dist/evaluate.d.ts +9 -0
- package/dist/evaluate.d.ts.map +1 -1
- package/dist/evaluate.js +34 -5
- package/dist/evaluate.js.map +1 -1
- 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/plugins.d.ts +34 -0
- package/dist/plugins.d.ts.map +1 -1
- package/dist/plugins.js +11 -5
- package/dist/plugins.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-cache.d.ts +4 -1
- package/dist/run-cache.d.ts.map +1 -1
- package/dist/run-cache.js +32 -39
- package/dist/run-cache.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/guides/QUICKSTART.md +7 -7
- package/guides/REFERENCE.md +92 -2
- package/guides/TEST-ENVIRONMENT.md +15 -8
- package/package.json +11 -11
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,276 @@
|
|
|
1
1
|
# Changelog
|
|
2
2
|
|
|
3
|
+
## 0.15.1
|
|
4
|
+
|
|
5
|
+
- **Fixed: client scan flags JSX-omitted props with destructuring
|
|
6
|
+
defaults.** When a declared wrapper's endpoint argument is guarded by
|
|
7
|
+
a component prop's literal destructuring default — `detail === null`
|
|
8
|
+
with `({ base, detail = null })` — a JSX usage that omits the
|
|
9
|
+
attribute now contributes the default value and the guard's matching
|
|
10
|
+
branch is proven, instead of failing closed; a usage that passes the
|
|
11
|
+
attribute keeps proving the other branch. The same resolution applies
|
|
12
|
+
when the props travel through a config object into a hook with a
|
|
13
|
+
destructured parameter, or as several positional arguments, and the
|
|
14
|
+
guard lives in the hook's body. A prop
|
|
15
|
+
with no default, a non-literal default (a call, an identifier), an
|
|
16
|
+
attribute present without a value, and spread usages (`{...props}`)
|
|
17
|
+
still block with `FRONTEND_CALL_TARGET_UNRESOLVED`. These per-usage
|
|
18
|
+
resolvers are additive precision only: when they cannot themselves
|
|
19
|
+
prove a call — a hook called from other hooks (no JSX usage sites),
|
|
20
|
+
a usage-supplied value that still leaves the endpoint unproven — the
|
|
21
|
+
call falls back to the plain configured-parameter model, which
|
|
22
|
+
resolves or fails closed exactly as before.
|
|
23
|
+
- **Fixed: client scan flags on interceptor replays.** Inside the error
|
|
24
|
+
handler of `client.interceptors.response.use`, re-sending the
|
|
25
|
+
intercepted error's own request config on the same client symbol —
|
|
26
|
+
`client(error.config)`, a `const` bound to it, or a destructured
|
|
27
|
+
`{ config }` handler parameter — is a replay of a request the scan has
|
|
28
|
+
already recorded: no call record, no `FRONTEND_CALL_TARGET_UNRESOLVED`.
|
|
29
|
+
A replay-shaped call on a different client symbol and a config-only
|
|
30
|
+
call outside any interceptor still block, and concrete calls inside
|
|
31
|
+
the handler are still recorded.
|
|
32
|
+
- **Fixed: wrapper call targets through JSX props.** A declared wrapper
|
|
33
|
+
whose endpoint argument is a function component's prop now resolves
|
|
34
|
+
through every JSX usage site of that component in the scanned set
|
|
35
|
+
(one unchanged-prop forwarding hop allowed) and emits one call per
|
|
36
|
+
distinct target. An unresolvable usage site, a member access on a
|
|
37
|
+
prop, or a component without usage sites keeps the unresolved
|
|
38
|
+
finding. JSX wrapper usages now bind the wrapper's first parameter
|
|
39
|
+
when no `parameter` is configured, matching the direct-call contract.
|
|
40
|
+
- **Fixed: run-cache key digested a different detector module than the one
|
|
41
|
+
that executes:** the plugin cache key resolved a bare package specifier
|
|
42
|
+
(e.g. `@gate-forge/pack-http`) against the target repository's
|
|
43
|
+
`node_modules`, while the in-process loader imported the specifier from
|
|
44
|
+
the CLI's own installation. When the two copies differed (an engine
|
|
45
|
+
rebuilt at the same version, or a repository with an older installed
|
|
46
|
+
pack), a changed engine could serve a stale cached scan. One shared
|
|
47
|
+
resolver (`resolveExecutedModule`) now decides the executed module for
|
|
48
|
+
both consumers with Node's own resolution from the CLI installation:
|
|
49
|
+
the loader imports exactly the resolver's entry URL, and the key
|
|
50
|
+
digests the same resolution's package tree — an unresolvable or
|
|
51
|
+
unreadable executed module leaves the plugin uncacheable (fail
|
|
52
|
+
closed), as before.
|
|
53
|
+
|
|
54
|
+
## 0.15.0
|
|
55
|
+
|
|
56
|
+
- **Fixed: github-pr base ref in detached PR checkouts:** the changed-file
|
|
57
|
+
provider and the `test-gates` carry-forward resolver now resolve
|
|
58
|
+
`GITHUB_BASE_REF` as the fetched remote ref `refs/remotes/origin/<base>`
|
|
59
|
+
first and as a local `<base>` only as a fallback — a checkout of the PR
|
|
60
|
+
head SHA has the base only as the remote-tracking ref, the gate used to
|
|
61
|
+
fail with `fatal: Not a valid object name <base>`, and a stale local
|
|
62
|
+
branch of the same name no longer shadows the fetched base. The value
|
|
63
|
+
must be a valid branch name (`git check-ref-format --branch`): revision
|
|
64
|
+
syntax and surrounding whitespace fail closed, as does neither candidate
|
|
65
|
+
resolving. The witnessed CI template drops its `GITHUB_BASE_REF` write
|
|
66
|
+
to `$GITHUB_ENV` and passes the branch name to the shell through `env:`;
|
|
67
|
+
the base `git fetch` and `GATEFORGE_CI_BASE_SHA` stay.
|
|
68
|
+
- **Candidate fast-path tree binding:** `check --candidate-commit` reuses a
|
|
69
|
+
receipt only when the sealed candidate tree matches the commit tree or
|
|
70
|
+
every extra sealed path is git-ignored (`git check-ignore`); non-ignored
|
|
71
|
+
worktree extras no longer satisfy containment alone.
|
|
72
|
+
- **Candidate-tree cache exclusions:** `.gateforge/ci-witnessed/` and
|
|
73
|
+
runner cache directories (`.vite`, `.vite-temp`, `.vitest`, `.turbo`) are
|
|
74
|
+
omitted from the sealed tree only when Git ignores that path; tracked or
|
|
75
|
+
untracked non-ignored bytes there are bound.
|
|
76
|
+
- **Witness shutdown:** `test-gates` returns immediately when a spawned
|
|
77
|
+
witness has already exited instead of waiting the full 30 s SIGKILL grace
|
|
78
|
+
and misreporting SIGKILL; attestation fetch parse failures are labeled
|
|
79
|
+
`(parse)` separately from `(transport)`.
|
|
80
|
+
- **GitLab CI engine pin:** The committed `.gateforge/ci/gitlab-gateforge.yml`
|
|
81
|
+
template is regenerated for 0.15.0 so `GATEFORGE_VERSION` matches the
|
|
82
|
+
installed CLI (same contract as the GitHub strict workflow manifest pin).
|
|
83
|
+
- **Repository hygiene:** `.gitignore` ignores `.gateforge/test-gates/` so
|
|
84
|
+
local run state does not pollute commits; GitHub strict workflow adds
|
|
85
|
+
`timeout-minutes` and explicit browser install steps.
|
|
86
|
+
- **Runtime reuse ephemeral list:** Reuse digests omit `.vite-temp` alongside
|
|
87
|
+
`.vite`, `.vitest`, `.cache`, and `.turbo` under approved reuse roots.
|
|
88
|
+
- **Vitest logical keys with `#` in titles:** Execution no longer rejects
|
|
89
|
+
enumerated tests whose title path contains `#` (only the first `#` separates
|
|
90
|
+
file from title path). A self-gate that registered such tests used to finish
|
|
91
|
+
with zero executed cases and blanket `RUN_INCOMPLETE` grading.
|
|
92
|
+
- **Vitest logical keys with `>` in titles:** Title segments escape literal
|
|
93
|
+
`>` (e.g. angle brackets in schema test names) so registration, the vitest
|
|
94
|
+
reporter, and supervision share one reconciliation key instead of splitting
|
|
95
|
+
on characters inside a test title. Playwright outcomes mapping,
|
|
96
|
+
catalog reconciliation, Cypress/pytest adapters, and `test-gates` progress
|
|
97
|
+
filtering now use the same `runnerLogicalKey` helper; pytest named runs
|
|
98
|
+
decode logical keys with `parseRunnerLogicalKey` instead of splitting on
|
|
99
|
+
`>`.
|
|
100
|
+
- **Supervised vitest dist rebuild:** The pack's vitest `global-setup` skips
|
|
101
|
+
the workspace dist rebuild and the post-run dist drift teardown when
|
|
102
|
+
`GATEFORGE_RUN_TOKEN` or `GATEFORGE_RUN_ID` is set (witnessed-session
|
|
103
|
+
child), so `gateforge test-gates` (which already builds dists) no longer
|
|
104
|
+
rewrites them mid-run or fails the runner on unrelated dist churn while
|
|
105
|
+
the supervisor enforces reuse digests.
|
|
106
|
+
- **Vitest `list` harness parity:** `vitest list` enumeration copies the
|
|
107
|
+
same test-harness `GATEFORGE_*` variables as execution (`pytest`/`cypress`
|
|
108
|
+
paths, …), so `describe.skipIf` suites register in the expected set when
|
|
109
|
+
they will run. Pack global-setup tests import the setup module from
|
|
110
|
+
TypeScript so list inventory matches execution without a pre-list dist
|
|
111
|
+
rebuild.
|
|
112
|
+
- **Witnessed session runner env:** `buildWitnessedSessionRunnerEnv` no longer
|
|
113
|
+
falls back to ambient `GATEFORGE_*` for run wiring; the supervisor-supplied
|
|
114
|
+
vars are the only source, so nested meta-tests under an outer vitest gate
|
|
115
|
+
cannot inherit the parent witness URL.
|
|
116
|
+
- **Vitest title paths with empty segments:** Blank `ancestorTitles` entries and
|
|
117
|
+
stray `>` joins no longer produce empty `titlePath` segments that fail execution
|
|
118
|
+
result sealing (`ZodError` on `outcomes[].titlePath`).
|
|
119
|
+
- **Playwright catalog gaps on disclaimed files:** Zero-instance parameterized
|
|
120
|
+
templates and dynamic-title gaps in files the runner never collects stay
|
|
121
|
+
visible as blocking catalog rows instead of disappearing when native
|
|
122
|
+
enumeration lists no instances.
|
|
123
|
+
- **Misplaced specs inside a runner `testDir`:** Files the static scan finds
|
|
124
|
+
under a runner's `testDir` but outside its `testMatch`/`include` are
|
|
125
|
+
`unclaimed` gaps again (explicit `testIgnore` and paths outside every
|
|
126
|
+
`testDir` stay `disclaimed`).
|
|
127
|
+
- **Runtime reuse digest and runner caches:** Ephemeral cache directories
|
|
128
|
+
(`.vite`, `.vitest`, `.cache`, `.turbo`) under a declared reuse root are
|
|
129
|
+
omitted from the reuse byte digest so parallel supervised runs in the owner
|
|
130
|
+
workspace do not fail nested `pre-commit`/`test-gates` with “reused
|
|
131
|
+
dependency bytes changed during the run” when only tooling caches move.
|
|
132
|
+
- **Nested supervised Playwright meta-tests:** `executeSupervisedPlaywright`
|
|
133
|
+
accepts `ambientEnv` and exports `stripGateforgeAmbient()` so pack tests
|
|
134
|
+
that spawn their own loopback witness do not inherit the parent
|
|
135
|
+
`gateforge test-gates` witness URL (which previously sent nested runner
|
|
136
|
+
reporters to the wrong witness and failed under the full vitest gate).
|
|
137
|
+
- **Supervised Playwright `execute` under an outer gate:** When `ambientEnv` is
|
|
138
|
+
omitted, `executeSupervisedPlaywright` strips ambient `GATEFORGE_*` wiring
|
|
139
|
+
unless `vars` already carry the supervisor witness URL, so a parent vitest
|
|
140
|
+
gate's exported witness URL no longer leaves nested playwright runs with
|
|
141
|
+
empty outcomes or failed runner binding tests.
|
|
142
|
+
- **Auto-session e2e nested `test-gates`:** Spawns strip the parent gate's
|
|
143
|
+
ambient `GATEFORGE_*` before starting nested playwright and gateforge runs.
|
|
144
|
+
- **Witness supervisor body limit:** `POST /runs/expected-set` (and other
|
|
145
|
+
supervisor JSON endpoints) accept bodies up to 8 MiB so large vitest
|
|
146
|
+
workspace self-gates can register the full enumeration without the witness
|
|
147
|
+
resetting the connection mid-read. Over-limit bodies answer HTTP 413 instead
|
|
148
|
+
of aborting the socket.
|
|
149
|
+
- **`witness.enumerationTimeoutSeconds`:** Vitest catalog/enumeration children
|
|
150
|
+
(`vitest list --json`) honor this optional bound (default 120s, max 3600s).
|
|
151
|
+
Large workspace suites no longer die as `vitest enumeration exceeded its
|
|
152
|
+
timeout and was killed` when the owner raises the limit in `.gateforge.yml`.
|
|
153
|
+
- **Vitest workspace file scope:** A root `test.projects[]` workspace config no
|
|
154
|
+
longer claims every `*.spec` under the repository; only each project's own
|
|
155
|
+
config selects files. Specs outside a project's `test.include` are disclaimed
|
|
156
|
+
rather than blocking inventory as phantom configured-runner gaps (Playwright
|
|
157
|
+
demo journeys in a vitest-monorepo self-gate).
|
|
158
|
+
- **Vitest-configured catalog:** When the configured runner enumerates vitest
|
|
159
|
+
tests, its rows replace static-scan duplicates (same logical key) instead of
|
|
160
|
+
failing catalog validation — the runner list is authoritative, like playwright
|
|
161
|
+
native reconciliation.
|
|
162
|
+
- **Vitest `list` enumeration:** Monorepo globalSetup no longer rebuilds or
|
|
163
|
+
asserts dist integrity during `vitest list` — inventory-only runs are not test
|
|
164
|
+
execution, and a gate step that already built workspace dists must not fail
|
|
165
|
+
enumeration teardown when list spans many projects.
|
|
166
|
+
- Supervised runs that spawn their own witness fetch the live attestation while
|
|
167
|
+
the witness still serves it, before the graceful stop. The fetch previously ran
|
|
168
|
+
after the stop, so those runs always reported `live attestation unavailable
|
|
169
|
+
(transport)` and sealed no live envelope. Re-seal refusals of tampered retained
|
|
170
|
+
evidence now name the sealed attestation digest check, which runs before the MAC check.
|
|
171
|
+
- A consumer whose UI runs on a SECOND browser app (a platform admin console
|
|
172
|
+
beside the tenant app) can declare it in `.gateforge.yml` under
|
|
173
|
+
`additionalAppOrigins`, one ENVIRONMENT VARIABLE NAME per extra origin. The
|
|
174
|
+
witness opens one additional loopback-attested observation proxy per
|
|
175
|
+
session and the Playwright fixture rewrites each app origin's requests onto
|
|
176
|
+
that origin's own proxy, so one test driving two apps keeps one session, one
|
|
177
|
+
attribution and one exchange ledger instead of passing while every claim on
|
|
178
|
+
the second app earns nothing. The UI-vs-test-code initiator classification
|
|
179
|
+
applies on every declared origin, test-code requests still never satisfy a
|
|
180
|
+
UI claim, an undeclared origin is still reported and still blocks, and
|
|
181
|
+
resolution fails closed on a declared variable the run does not set. Absent
|
|
182
|
+
declaration, nothing changes: no proxy, no variable, byte-identical startup.
|
|
183
|
+
The declaration is inside the owner-approved policy digest, so widening the
|
|
184
|
+
list is a policy-revision change.
|
|
185
|
+
|
|
186
|
+
- Automatic witnessed fixture preloads recognize Playwright 1.60's separate
|
|
187
|
+
worker and loader fork entries as well as 1.58's shared process entry;
|
|
188
|
+
binding failures fail loud in those children without loading app/helper processes.
|
|
189
|
+
- Witnesses of runs whose bound options request response shapes no longer
|
|
190
|
+
refuse the supervisor's PRE-run observe and server-e2e declarations with
|
|
191
|
+
409: the run-level `http.openapi` record sealed at bind time is run
|
|
192
|
+
metadata, not test evidence, so a fresh witness binds both declaration
|
|
193
|
+
sets and a response-shape run witnesses its full authorized HTTP ledger.
|
|
194
|
+
The declaration and run-context gates still refuse after any real test
|
|
195
|
+
record, open session, pre-observation or in-flight proxy exchange.
|
|
196
|
+
- Witnessed browser routing requires `GATEFORGE_APP_BASE_URL` only when a
|
|
197
|
+
page or browser context is used, preserving page-free supervised tests
|
|
198
|
+
and their original integrity diagnostics.
|
|
199
|
+
- Test-owned Playwright API request contexts route app-origin calls through
|
|
200
|
+
the current session proxy, including redirects, exposing witnessed
|
|
201
|
+
`httpLedger` rows marked `initiator: test-code` without satisfying UI
|
|
202
|
+
claims. Non-app origins, setup contexts and page/context-owned request
|
|
203
|
+
objects remain direct; the obsolete API exchange self-report channel is removed.
|
|
204
|
+
- Playwright reports retain per-test runner-observed UI actions and assertions
|
|
205
|
+
as a report-only `uiLedger` in full supervised runs as well as selection
|
|
206
|
+
reports, distinguishing journeys with identical HTTP traffic. Locator-free
|
|
207
|
+
keyboard and mouse input is retained alongside locator actions and assertions.
|
|
208
|
+
Signatures ignore source locations and normalize UUIDs/long digit runs;
|
|
209
|
+
each attempt is capped at 500 unique steps with truncation disclosed.
|
|
210
|
+
- `enforcement doctor` runs repository hooks only with `--hook-mutation`,
|
|
211
|
+
once in an isolated copy at low priority. Its 120 s deadline kills the
|
|
212
|
+
whole process tree, avoiding default full-hook workloads and orphaned
|
|
213
|
+
formatter processes after a timeout.
|
|
214
|
+
- Witnessed Playwright sessions also route pages from consumer-created browser
|
|
215
|
+
contexts and `browser.newPage()`, including overridden context/page fixtures
|
|
216
|
+
and popups. Consumer context routes retain the session rewrite; test-scoped
|
|
217
|
+
hooks are removed at teardown so later contexts cannot reuse a prior session.
|
|
218
|
+
- Supervised Playwright runs with missing/malformed/empty outcomes, or only
|
|
219
|
+
skipped outcomes and a failed exit, report
|
|
220
|
+
`RUNNER_STARTUP_FAILED`, the child exit code and the first 20 stderr lines
|
|
221
|
+
(8192 characters maximum, Gateforge token echoes redacted). JSON reports retain this
|
|
222
|
+
diagnostic; debug output drains child stderr before returning.
|
|
223
|
+
Successful all-skipped runs retain their existing execution envelope and
|
|
224
|
+
are not misclassified as runner startup failures.
|
|
225
|
+
- Playwright config discovery searches two directory levels breadth-first,
|
|
226
|
+
retaining root-first selection and multiple-config disclosure. Hidden,
|
|
227
|
+
dependency, build and Python environment directories are pruned at every
|
|
228
|
+
level; sealed-tree re-sealing uses the same convention.
|
|
229
|
+
- Observe-channel HTTP claim snapshots exclude static assets before deduplication
|
|
230
|
+
and the 500-exchange cap, using the ledger's existing request classification.
|
|
231
|
+
Unmatched truncated records stay blocking as missing with a cap diagnostic,
|
|
232
|
+
rather than blaming an unrelated endpoint; retained matches still satisfy.
|
|
233
|
+
Claim-free `http.exchanges` ledger snapshots keep their existing semantics.
|
|
234
|
+
- Observe persistence reads match collection responses against parameterized
|
|
235
|
+
declared routes, and repeated same-entity reads are credited once while
|
|
236
|
+
consuming every matching exchange. Repeated reads that resolve to different
|
|
237
|
+
entities remain blocking; create, update and delete still require exactly
|
|
238
|
+
one matching exchange.
|
|
239
|
+
- Witnessed Playwright runs automatically use the existing Gateforge fixture
|
|
240
|
+
for consumer `@playwright/test` imports, including CommonJS, ESM, TypeScript,
|
|
241
|
+
project extensions and root `test.test` calls, without editing specs.
|
|
242
|
+
Direct API calls remain diagnostics, never browser evidence. Execution results
|
|
243
|
+
and report execution summaries include `measuredTests` (tests with witness
|
|
244
|
+
sessions) and `executedTests`; ordinary unwitnessed runs stay unchanged.
|
|
245
|
+
- Session proxy routing yields to consumer context routes, preserving fulfilled
|
|
246
|
+
stubs and retaining the session rewrite when those handlers continue requests.
|
|
247
|
+
A later consumer page route that continues directly still takes precedence:
|
|
248
|
+
its outcome is unchanged, but that request bypasses session attribution.
|
|
249
|
+
- The automatic Playwright preload activates only in the test runner and its
|
|
250
|
+
forked test processes; inherited options leave application servers and helper
|
|
251
|
+
Node commands untouched, without loading the fixture or redirecting imports.
|
|
252
|
+
- Automatic root-module forwarding uses a separate test wrapper, preserving the
|
|
253
|
+
explicit Gateforge fixture's own API when plain and explicit imports coexist.
|
|
254
|
+
- Automatic preload binding failures name the selected runner and underlying
|
|
255
|
+
cause, and stop the child rather than continuing without witnessed fixtures.
|
|
256
|
+
- Shared CLI stub installs include Playwright's public `test` entry alongside
|
|
257
|
+
the CLI, so automatic fixture loading exercises the same install shape.
|
|
258
|
+
- Strict supervised result-contract tests pin both `executedTests` and
|
|
259
|
+
`measuredTests` in the sealed execution result's exact key set.
|
|
260
|
+
- Automatic witnessed sessions also cover the equivalent `playwright/test`
|
|
261
|
+
entry in CommonJS, ESM and project re-exporting helpers, preserving root
|
|
262
|
+
test properties and extension hooks without redirecting the plain library.
|
|
263
|
+
- Page-observation diagnostics now describe session-backed observation instead
|
|
264
|
+
of claiming plain-import tests require an explicit fixture. Clean passing
|
|
265
|
+
auto-session tests retain their page records under the same witness rules.
|
|
266
|
+
Twin comparison advice accepts both supported Playwright package imports
|
|
267
|
+
and the explicit fixture; uninstrumented or zero-traffic twins remain
|
|
268
|
+
explicitly not compared.
|
|
269
|
+
- ESM `playwright/test` imports preserve that entry's native named exports even
|
|
270
|
+
when a consumer's `@playwright/test` is a CommonJS-only shim. ESM and CommonJS
|
|
271
|
+
helpers share the same automatic fixture test wrapper and witness session.
|
|
272
|
+
- **Breaking:** `HTTP_CALL_UNRESOLVED` always blocks the gate; declare the wrapper in `scan.httpClients` or fix the call site — adoption and `http.callFindings: report` no longer forgive it.
|
|
273
|
+
|
|
3
274
|
## 0.14.0
|
|
4
275
|
|
|
5
276
|
Theme: In the witnessed run, Gateforge checks the API calls your UI actually
|
package/README.md
CHANGED
|
@@ -139,9 +139,21 @@ run), `2` config/usage error. `tests diagnose` has its own advisory contract
|
|
|
139
139
|
`enforcement doctor` fails the `playwright-projects` row — `test-gates`
|
|
140
140
|
needs a named project.
|
|
141
141
|
- Gateforge reads the FIRST of `playwright.config.{ts,mts,cts,js,mjs,cjs}`
|
|
142
|
-
at the repository root
|
|
142
|
+
at the repository root, then up to two directory levels down (breadth-first,
|
|
143
|
+
alphabetical, hidden/dependency/build/Python directories pruned). Multiple
|
|
144
|
+
configs are disclosed, but only the first is inventoried. A suffixed config such as
|
|
143
145
|
`playwright.config.e2e.js` is not read — rename it to
|
|
144
146
|
`playwright.config.js` if it is the suite to prove.
|
|
147
|
+
- If the supervised Playwright child reports missing/malformed/empty outcomes,
|
|
148
|
+
or all-skipped outcomes with a failed exit, `test-gates` prints
|
|
149
|
+
`RUNNER_STARTUP_FAILED`, its exit code and a bounded stderr excerpt even
|
|
150
|
+
with `--result-only`. JSON includes `diagnosticContext.runnerStartup`
|
|
151
|
+
(`cause`, `processExit`, `stderr`). The excerpt contains at most 20 lines
|
|
152
|
+
and 8192 characters; lines echoing `GATEFORGE_*TOKEN*` variables are redacted.
|
|
153
|
+
`GATEFORGE_DEBUG_RUNNER=1` additionally echoes child stdout/stderr live
|
|
154
|
+
to the parent's stderr. These diagnostics never count as execution evidence.
|
|
155
|
+
Successful all-skipped runs retain their ordinary outcome envelope, not a
|
|
156
|
+
startup failure diagnostic.
|
|
145
157
|
- Run-state hygiene is enforced, not forgiven: a committed run-state
|
|
146
158
|
directory or include globs that omit the spec directories fail closed —
|
|
147
159
|
gitignore `.gateforge/test-gates/` and include the spec globs.
|
package/bin/gateforge.js
CHANGED
|
@@ -33,5 +33,7 @@ main(process.argv.slice(2)) //
|
|
|
33
33
|
// main catches and prints expected failures; anything escaping here
|
|
34
34
|
// is an internal error and must never look like a clean run.
|
|
35
35
|
process.stderr.write(`gateforge: internal error: ${error instanceof Error ? error.stack : String(error)}\n`);
|
|
36
|
-
|
|
36
|
+
// Exit explicitly: a spawned witness child keeps the event loop alive
|
|
37
|
+
// after supervisor transport failures (ECONNRESET on expected-set).
|
|
38
|
+
process.exit(2);
|
|
37
39
|
});
|
|
@@ -0,0 +1,38 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* The owner's DECLARED additional app origins
|
|
3
|
+
* (`.gateforge.yml` `additionalAppOrigins`) resolved to the base URLs the
|
|
4
|
+
* run's environment carries.
|
|
5
|
+
*
|
|
6
|
+
* The declaration holds environment VARIABLE NAMES, not addresses: a
|
|
7
|
+
* consumer whose UI runs on a second browser app (a platform admin console
|
|
8
|
+
* beside the tenant app) names the variable its harness already exports, so
|
|
9
|
+
* the address never enters a candidate-controlled file — exactly the split
|
|
10
|
+
* `GATEFORGE_APP_BASE_URL` already keeps between config and operator env.
|
|
11
|
+
*
|
|
12
|
+
* Resolution FAILS CLOSED. A declared name the environment does not set (or
|
|
13
|
+
* sets to something that is not an absolute http(s) base URL) refuses the
|
|
14
|
+
* run instead of being skipped: a skip would put the consumer back where it
|
|
15
|
+
* started — a test that passes and earns nothing — behind a config that
|
|
16
|
+
* reads perfectly correct. The run boundary is the only place a declared
|
|
17
|
+
* origin can still be missing, so that is where the refusal belongs.
|
|
18
|
+
*/
|
|
19
|
+
import type { GateforgeConfig } from '@gate-forge/core';
|
|
20
|
+
/**
|
|
21
|
+
* The declared base URLs, in declaration order.
|
|
22
|
+
*
|
|
23
|
+
* Args:
|
|
24
|
+
* config: the loaded `.gateforge.yml` (its `additionalAppOrigins` list is
|
|
25
|
+
* the declaration; absent means none).
|
|
26
|
+
* env: the run's trusted operator environment (never the suite's).
|
|
27
|
+
*
|
|
28
|
+
* Returns:
|
|
29
|
+
* string[]: one absolute http(s) base URL per declared name. Empty for a
|
|
30
|
+
* repository that declares nothing — the single-origin path, byte for
|
|
31
|
+
* byte as before.
|
|
32
|
+
*
|
|
33
|
+
* Raises:
|
|
34
|
+
* UsageError: when a declared name is unset, blank, or does not hold an
|
|
35
|
+
* absolute http(s) base URL (fail closed, never a silent skip).
|
|
36
|
+
*/
|
|
37
|
+
export declare function resolveAdditionalAppOrigins(config: GateforgeConfig, env: NodeJS.ProcessEnv): string[];
|
|
38
|
+
//# sourceMappingURL=additional-app-origins.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"additional-app-origins.d.ts","sourceRoot":"","sources":["../src/additional-app-origins.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;;GAiBG;AACH,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,kBAAkB,CAAC;AAGxD;;;;;;;;;;;;;;;;GAgBG;AACH,wBAAgB,2BAA2B,CACzC,MAAM,EAAE,eAAe,EACvB,GAAG,EAAE,MAAM,CAAC,UAAU,GACrB,MAAM,EAAE,CA+BV"}
|
|
@@ -0,0 +1,46 @@
|
|
|
1
|
+
import { UsageError } from './errors.js';
|
|
2
|
+
/**
|
|
3
|
+
* The declared base URLs, in declaration order.
|
|
4
|
+
*
|
|
5
|
+
* Args:
|
|
6
|
+
* config: the loaded `.gateforge.yml` (its `additionalAppOrigins` list is
|
|
7
|
+
* the declaration; absent means none).
|
|
8
|
+
* env: the run's trusted operator environment (never the suite's).
|
|
9
|
+
*
|
|
10
|
+
* Returns:
|
|
11
|
+
* string[]: one absolute http(s) base URL per declared name. Empty for a
|
|
12
|
+
* repository that declares nothing — the single-origin path, byte for
|
|
13
|
+
* byte as before.
|
|
14
|
+
*
|
|
15
|
+
* Raises:
|
|
16
|
+
* UsageError: when a declared name is unset, blank, or does not hold an
|
|
17
|
+
* absolute http(s) base URL (fail closed, never a silent skip).
|
|
18
|
+
*/
|
|
19
|
+
export function resolveAdditionalAppOrigins(config, env) {
|
|
20
|
+
const declared = config.additionalAppOrigins ?? [];
|
|
21
|
+
const resolved = [];
|
|
22
|
+
for (const name of declared) {
|
|
23
|
+
const raw = env[name];
|
|
24
|
+
if (raw === undefined || raw.trim() === '') {
|
|
25
|
+
throw new UsageError(`additionalAppOrigins declares '${name}', but the run environment does not set it: ` +
|
|
26
|
+
`export ${name}=<the second app's base URL>, or remove the declaration — a declared origin ` +
|
|
27
|
+
'that cannot be resolved would run the suite against an unwitnessed app origin');
|
|
28
|
+
}
|
|
29
|
+
const value = raw.trim();
|
|
30
|
+
let url;
|
|
31
|
+
try {
|
|
32
|
+
url = new URL(value);
|
|
33
|
+
}
|
|
34
|
+
catch {
|
|
35
|
+
throw new UsageError(`additionalAppOrigins declares '${name}', but it is not an absolute URL (got '${value}'): ` +
|
|
36
|
+
'it must hold a base URL such as http://localhost:26303');
|
|
37
|
+
}
|
|
38
|
+
if (url.protocol !== 'http:' && url.protocol !== 'https:') {
|
|
39
|
+
throw new UsageError(`additionalAppOrigins declares '${name}', but '${value}' is not an http(s) base URL: ` +
|
|
40
|
+
'the observation proxy only fronts an HTTP app origin');
|
|
41
|
+
}
|
|
42
|
+
resolved.push(value);
|
|
43
|
+
}
|
|
44
|
+
return resolved;
|
|
45
|
+
}
|
|
46
|
+
//# sourceMappingURL=additional-app-origins.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"additional-app-origins.js","sourceRoot":"","sources":["../src/additional-app-origins.ts"],"names":[],"mappings":"AAmBA,OAAO,EAAE,UAAU,EAAE,MAAM,aAAa,CAAC;AAEzC;;;;;;;;;;;;;;;;GAgBG;AACH,MAAM,UAAU,2BAA2B,CACzC,MAAuB,EACvB,GAAsB;IAEtB,MAAM,QAAQ,GAAG,MAAM,CAAC,oBAAoB,IAAI,EAAE,CAAC;IACnD,MAAM,QAAQ,GAAa,EAAE,CAAC;IAC9B,KAAK,MAAM,IAAI,IAAI,QAAQ,EAAE,CAAC;QAC5B,MAAM,GAAG,GAAG,GAAG,CAAC,IAAI,CAAC,CAAC;QACtB,IAAI,GAAG,KAAK,SAAS,IAAI,GAAG,CAAC,IAAI,EAAE,KAAK,EAAE,EAAE,CAAC;YAC3C,MAAM,IAAI,UAAU,CAClB,kCAAkC,IAAI,8CAA8C;gBAClF,UAAU,IAAI,8EAA8E;gBAC5F,+EAA+E,CAClF,CAAC;QACJ,CAAC;QACD,MAAM,KAAK,GAAG,GAAG,CAAC,IAAI,EAAE,CAAC;QACzB,IAAI,GAAQ,CAAC;QACb,IAAI,CAAC;YACH,GAAG,GAAG,IAAI,GAAG,CAAC,KAAK,CAAC,CAAC;QACvB,CAAC;QAAC,MAAM,CAAC;YACP,MAAM,IAAI,UAAU,CAClB,kCAAkC,IAAI,0CAA0C,KAAK,MAAM;gBACzF,wDAAwD,CAC3D,CAAC;QACJ,CAAC;QACD,IAAI,GAAG,CAAC,QAAQ,KAAK,OAAO,IAAI,GAAG,CAAC,QAAQ,KAAK,QAAQ,EAAE,CAAC;YAC1D,MAAM,IAAI,UAAU,CAClB,kCAAkC,IAAI,WAAW,KAAK,gCAAgC;gBACpF,sDAAsD,CACzD,CAAC;QACJ,CAAC;QACD,QAAQ,CAAC,IAAI,CAAC,KAAK,CAAC,CAAC;IACvB,CAAC;IACD,OAAO,QAAQ,CAAC;AAClB,CAAC"}
|
package/dist/args.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"args.d.ts","sourceRoot":"","sources":["../src/args.ts"],"names":[],"mappings":"AASA,MAAM,WAAW,UAAU;IACzB,sEAAsE;IACtE,OAAO,EAAE,MAAM,CAAC,MAAM,EAAE,MAAM,GAAG,OAAO,GAAG,MAAM,EAAE,CAAC,CAAC;IACrD,+CAA+C;IAC/C,WAAW,EAAE,MAAM,EAAE,CAAC;CACvB;
|
|
1
|
+
{"version":3,"file":"args.d.ts","sourceRoot":"","sources":["../src/args.ts"],"names":[],"mappings":"AASA,MAAM,WAAW,UAAU;IACzB,sEAAsE;IACtE,OAAO,EAAE,MAAM,CAAC,MAAM,EAAE,MAAM,GAAG,OAAO,GAAG,MAAM,EAAE,CAAC,CAAC;IACrD,+CAA+C;IAC/C,WAAW,EAAE,MAAM,EAAE,CAAC;CACvB;AAwCD;;;;;;;;;GASG;AACH,wBAAgB,SAAS,CAAC,IAAI,EAAE,SAAS,MAAM,EAAE,GAAG,UAAU,CAoD7D;AAED;;;;;;;;;;;GAWG;AACH,wBAAgB,UAAU,CAAC,OAAO,EAAE,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,EAAE,IAAI,EAAE,MAAM,GAAG,MAAM,GAAG,SAAS,CAS7F;AAED;;;;;;;;;;;;;GAaG;AACH,wBAAgB,oBAAoB,CAClC,OAAO,EAAE,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,EAChC,IAAI,EAAE,MAAM,GACX,MAAM,EAAE,GAAG,SAAS,CAMtB;AAED;;;;;;;;;;;GAWG;AACH,wBAAgB,UAAU,CAAC,KAAK,EAAE,MAAM,GAAG,MAAM,CAEhD"}
|
package/dist/args.js
CHANGED
package/dist/args.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"args.js","sourceRoot":"","sources":["../src/args.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;AACH,OAAO,EAAE,UAAU,EAAE,MAAM,aAAa,CAAC;AASzC,iDAAiD;AACjD,MAAM,aAAa,GAAyB;IAC1C,IAAI,EAAE,IAAI;IACV,OAAO,EAAE,IAAI;IACb,UAAU,EAAE,IAAI;IAChB,MAAM,EAAE,IAAI;IACZ,IAAI,EAAE,IAAI;IACV,OAAO,EAAE,IAAI;IACb,OAAO,EAAE,IAAI;IACb,wBAAwB,EAAE,IAAI;IAC9B,0BAA0B,EAAE,IAAI;IAChC,QAAQ,EAAE,IAAI;IACd,aAAa,EAAE,IAAI;IACnB,YAAY,EAAE,IAAI;IAClB,MAAM,EAAE,IAAI;IACZ,aAAa,EAAE,IAAI;IACnB,YAAY,EAAE,IAAI;IAClB,eAAe,EAAE,IAAI;IACrB,EAAE,EAAE,IAAI;IACR,OAAO,EAAE,IAAI;IACb,MAAM,EAAE,IAAI;IACZ,WAAW,EAAE,IAAI;IACjB,KAAK,EAAE,IAAI;IACX,QAAQ,EAAE,IAAI;IACd,aAAa,EAAE,IAAI;IACnB,oBAAoB,EAAE,IAAI;IAC1B,SAAS,EAAE,IAAI;IACf,MAAM,EAAE,IAAI;IACZ,aAAa,EAAE,IA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85
|
* with the same mode and blob; false on any mismatch or unreadable
|
|
86
86
|
* listing (fail closed).
|
|
87
87
|
*/
|
|
88
|
-
export declare function candidateTreeCoversCommit(gitDir: string, env: NodeJS.ProcessEnv, treeId: string, commitish: string, docsExclusions?: readonly string[], cacheExclusions?: readonly string[]): boolean;
|
|
88
|
+
export declare function candidateTreeCoversCommit(gitDir: string, env: NodeJS.ProcessEnv, treeId: string, commitish: string, workspace: string, docsExclusions?: readonly string[], cacheExclusions?: readonly string[]): boolean;
|
|
89
89
|
/**
|
|
90
90
|
* Lists every path Git TRACKS in the work tree, as repo-relative posix
|
|
91
91
|
* paths.
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"candidate-tree.d.ts","sourceRoot":"","sources":["../src/candidate-tree.ts"],"names":[],"mappings":"AAgCA,OAAO,
|
|
1
|
+
{"version":3,"file":"candidate-tree.d.ts","sourceRoot":"","sources":["../src/candidate-tree.ts"],"names":[],"mappings":"AAgCA,OAAO,EAGL,KAAK,iBAAiB,EAEvB,MAAM,oBAAoB,CAAC;AA8B5B;;;GAGG;AACH,wBAAgB,qBAAqB,CAAC,GAAG,EAAE,MAAM,CAAC,UAAU,GAAG,MAAM,CAAC,UAAU,CAK/E;AAED,4FAA4F;AAC5F,MAAM,WAAW,kBAAkB;IACjC,sEAAsE;IACtE,IAAI,EAAE,MAAM,CAAC;IACb,uBAAuB;IACvB,GAAG,EAAE,MAAM,CAAC;IACZ,gCAAgC;IAChC,IAAI,EAAE,MAAM,CAAC;CACd;AAED,0DAA0D;AAC1D,MAAM,WAAW,qBAAqB;IACpC,0CAA0C;IAC1C,MAAM,EAAE,MAAM,CAAC;IACf,gDAAgD;IAChD,OAAO,EAAE,kBAAkB,EAAE,CAAC;CAC/B;AAED;;;;;;GAMG;AACH,wBAAgB,aAAa,CAAC,GAAG,EAAE,MAAM,EAAE,GAAG,EAAE,MAAM,CAAC,UAAU,GAAG,MAAM,GAAG,IAAI,CAShF;AA+SD;;;;;;;;;;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ePayload, sortTreeEntries } from './git-objects.js';
|
|
31
31
|
import { isAbsolute, join } from 'node:path';
|
|
32
32
|
import { UsageError } from './errors.js';
|
|
33
|
-
import { RuntimeReuseBoundaryError, validateRuntimeReuseMounts, } from './runtime-reuse.js';
|
|
33
|
+
import { skipCandidateTreeCacheDirectory, RuntimeReuseBoundaryError, validateRuntimeReuseMounts, } from './runtime-reuse.js';
|
|
34
|
+
import { pathIgnoredByGit, pathsIgnoredByGitCheckIgnore } from './git-ignored.js';
|
|
34
35
|
import { DEFAULT_STATE_DIR } from './state.js';
|
|
35
36
|
import { RUN_CACHE_DIR } from './run-cache.js';
|
|
36
37
|
/** 40-char lowercase sha1 hex. */
|
|
@@ -140,9 +141,13 @@ function collectEntries(writer, workspace, excludeDir, symlinks, reuseMounts, do
|
|
|
140
141
|
// `check` can write its fixed cache beside a run using a custom `--out`.
|
|
141
142
|
// Exclude only Gateforge's own cache root, not other ignored/state files.
|
|
142
143
|
const defaultCachePrefix = `${DEFAULT_STATE_DIR}/${RUN_CACHE_DIR}`;
|
|
144
|
+
/** CI witnessed runs may materialize ephemeral state beside the default gate dir. */
|
|
145
|
+
const ciWitnessedPrefix = '.gateforge/ci-witnessed';
|
|
146
|
+
const underCiWitnessed = (rel) => rel === ciWitnessedPrefix || rel.startsWith(`${ciWitnessedPrefix}/`);
|
|
143
147
|
const excluded = (rel) => (excludePrefix !== null && (rel === excludePrefix || rel.startsWith(`${excludePrefix}/`))) ||
|
|
144
148
|
rel === defaultCachePrefix ||
|
|
145
149
|
rel.startsWith(`${defaultCachePrefix}/`) ||
|
|
150
|
+
(underCiWitnessed(rel) && pathIgnoredByGit(workspace, rel)) ||
|
|
146
151
|
docsExclusions.some((folder) => rel === folder || rel.startsWith(`${folder}/`)) ||
|
|
147
152
|
cacheExclusions.includes(rel);
|
|
148
153
|
const inspectExcludedDirectory = (directory, relativeDirectory) => {
|
|
@@ -262,6 +267,9 @@ function collectEntries(writer, workspace, excludeDir, symlinks, reuseMounts, do
|
|
|
262
267
|
continue;
|
|
263
268
|
}
|
|
264
269
|
if (stat.isDirectory()) {
|
|
270
|
+
if (skipCandidateTreeCacheDirectory(workspace, current.rel, name)) {
|
|
271
|
+
continue;
|
|
272
|
+
}
|
|
265
273
|
stack.push({ dir: absolute, rel });
|
|
266
274
|
continue;
|
|
267
275
|
}
|
|
@@ -412,7 +420,7 @@ export function computeCandidateTreeSnapshot(gitDir, workspace, env, excludeDir,
|
|
|
412
420
|
* with the same mode and blob; false on any mismatch or unreadable
|
|
413
421
|
* listing (fail closed).
|
|
414
422
|
*/
|
|
415
|
-
export function candidateTreeCoversCommit(gitDir, env, treeId, commitish, docsExclusions = [], cacheExclusions = []) {
|
|
423
|
+
export function candidateTreeCoversCommit(gitDir, env, treeId, commitish, workspace, docsExclusions = [], cacheExclusions = []) {
|
|
416
424
|
const listed = (rev) => {
|
|
417
425
|
const result = plumbing(gitDir, env, ['ls-tree', '-r', '-z', rev]);
|
|
418
426
|
if (result.status !== 0)
|
|
@@ -444,6 +452,20 @@ export function candidateTreeCoversCommit(gitDir, env, treeId, commitish, docsEx
|
|
|
444
452
|
if (candidate.get(path) !== identity)
|
|
445
453
|
return false;
|
|
446
454
|
}
|
|
455
|
+
const extras = [];
|
|
456
|
+
for (const path of candidate.keys()) {
|
|
457
|
+
if (!committed.has(path))
|
|
458
|
+
extras.push(path);
|
|
459
|
+
}
|
|
460
|
+
if (extras.length === 0)
|
|
461
|
+
return true;
|
|
462
|
+
const ignored = pathsIgnoredByGitCheckIgnore(workspace, extras);
|
|
463
|
+
if (ignored === null)
|
|
464
|
+
return false;
|
|
465
|
+
for (const path of extras) {
|
|
466
|
+
if (!ignored.has(path))
|
|
467
|
+
return false;
|
|
468
|
+
}
|
|
447
469
|
return true;
|
|
448
470
|
}
|
|
449
471
|
/**
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"candidate-tree.js","sourceRoot":"","sources":["../src/candidate-tree.ts"],"names":[],"mappings":"AAAA;;;;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/B,MAAM,IAAI,UAAU,CAAC,uEAAuE,CAAC,CAAC;IAChG,CAAC;IACD,MAAM,IAAI,GAAG,QAAQ,CAAC,MAAM,EAAE,GAAG,EAAE,CAAC,UAAU,EAAE,IAAI,EAAE,MAAM,CAAC,CAAC,CAAC;IAC/D,IAAI,IAAI,CAAC,MAAM,KAAK,CAAC,IAAI,IAAI,CAAC,MAAM,CAAC,IAAI,EAAE,KAAK,MAAM,EAAE,CAAC;QACvD,MAAM,IAAI,UAAU,CAAC,qEAAqE,CAAC,CAAC;IAC9F,CAAC;IACD,OAAO,MAAM,CAAC;AAChB,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ci-witnessed-template.d.ts","sourceRoot":"","sources":["../src/ci-witnessed-template.ts"],"names":[],"mappings":"AAiBA,OAAO,KAAK,EAAE,EAAE,EAAE,MAAM,SAAS,CAAC;AAKlC,sDAAsD;AACtD,eAAO,MAAM,oBAAoB,wBAAwB,CAAC;AAC1D,4DAA4D;AAC5D,eAAO,MAAM,oBAAoB,cAAc,CAAC;AAChD,gEAAgE;AAChE,eAAO,MAAM,qBAAqB,uCAAuC,CAAC;AAC1E,wEAAwE;AACxE,eAAO,MAAM,qBAAqB,8CAA8C,CAAC;AAiDjF;;;;;;;;GAQG;AACH,wBAAgB,6BAA6B,IAAI,MAAM,CA2CtD;AAED;;;;;;;;;GASG;AACH,wBAAgB,6BAA6B,IAAI,MAAM,
|
|
1
|
+
{"version":3,"file":"ci-witnessed-template.d.ts","sourceRoot":"","sources":["../src/ci-witnessed-template.ts"],"names":[],"mappings":"AAiBA,OAAO,KAAK,EAAE,EAAE,EAAE,MAAM,SAAS,CAAC;AAKlC,sDAAsD;AACtD,eAAO,MAAM,oBAAoB,wBAAwB,CAAC;AAC1D,4DAA4D;AAC5D,eAAO,MAAM,oBAAoB,cAAc,CAAC;AAChD,gEAAgE;AAChE,eAAO,MAAM,qBAAqB,uCAAuC,CAAC;AAC1E,wEAAwE;AACxE,eAAO,MAAM,qBAAqB,8CAA8C,CAAC;AAiDjF;;;;;;;;GAQG;AACH,wBAAgB,6BAA6B,IAAI,MAAM,CA2CtD;AAED;;;;;;;;;GASG;AACH,wBAAgB,6BAA6B,IAAI,MAAM,CA0EtD;AA0DD;;;;;;;;;;GAUG;AACH,wBAAgB,wBAAwB,CAAC,EAAE,EAAE,EAAE,EAAE,QAAQ,EAAE,QAAQ,GAAG,QAAQ,GAAG,IAAI,CAOpF"}
|