qualiow-exploratory-testing 1.1.0 → 1.2.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.
Files changed (34) hide show
  1. package/README.md +85 -0
  2. package/bin/mcli +16 -0
  3. package/bin/mobile-cli.mjs +573 -0
  4. package/bin/wadb +6 -0
  5. package/bin/wk-ios +58 -0
  6. package/bin/wkeval.mjs +44 -0
  7. package/data/knowledge/learned-patterns.md +85 -0
  8. package/data/knowledge/manifest.yml +2 -1
  9. package/data/targets/_example-mobile-emulation.yml +52 -0
  10. package/data/targets/_example-native-mobile.yml +61 -0
  11. package/data/targets/_example-sim-android-chrome.yml +81 -0
  12. package/data/targets/_example-sim-ios-safari.yml +80 -0
  13. package/dist/cli/index.js +156 -33
  14. package/dist/cli/index.js.map +1 -1
  15. package/dist/index.d.ts +260 -527
  16. package/dist/index.js +142 -12
  17. package/dist/index.js.map +1 -1
  18. package/docs/MOBILE-SETUP.md +92 -0
  19. package/package.json +23 -11
  20. package/scripts/doctor-mobile.sh +143 -0
  21. package/scripts/setup-mobile.sh +213 -0
  22. package/skills/qa-explore/phases/00-setup.md +8 -1
  23. package/skills/qa-explore/phases/01-auth.md +4 -0
  24. package/skills/qa-explore-mobile/SKILL.md +146 -0
  25. package/skills/qa-explore-mobile/phases/00-setup.md +203 -0
  26. package/skills/qa-explore-mobile/phases/01-auth.md +127 -0
  27. package/skills/qa-explore-mobile/phases/02-charter.md +70 -0
  28. package/skills/qa-explore-mobile/phases/03-discovery.md +79 -0
  29. package/skills/qa-explore-mobile/phases/04-journeys.md +49 -0
  30. package/skills/qa-explore-mobile/phases/05-features.md +72 -0
  31. package/skills/qa-explore-mobile/phases/06-edge-cases.md +157 -0
  32. package/skills/qa-explore-mobile/phases/07-reporting.md +123 -0
  33. package/skills/qa-explore-mobile/references/mobile-edges.md +117 -0
  34. package/skills/qa-explore-quick/SKILL.md +6 -0
package/dist/index.d.ts CHANGED
@@ -5,7 +5,7 @@ import { z } from 'zod';
5
5
  * Derived from the YAML data files in data/.
6
6
  */
7
7
  interface AuthConfig {
8
- strategy: 'none' | 'storage_state' | 'credentials' | 'token';
8
+ strategy: 'none' | 'storage_state' | 'credentials' | 'token' | 'in-app' | 'interactive-sso';
9
9
  state_file?: string;
10
10
  login_url?: string;
11
11
  credentials?: {
@@ -13,6 +13,9 @@ interface AuthConfig {
13
13
  password: string;
14
14
  };
15
15
  token?: string;
16
+ identity_provider?: string;
17
+ static_otp?: string;
18
+ test_email_pattern?: string;
16
19
  }
17
20
  interface BrowserConfig {
18
21
  headless: boolean;
@@ -20,6 +23,9 @@ interface BrowserConfig {
20
23
  width: number;
21
24
  height: number;
22
25
  };
26
+ engine?: 'chromium' | 'webkit' | 'firefox';
27
+ channel?: string;
28
+ device?: string;
23
29
  }
24
30
  interface ScopeConfig {
25
31
  start_pages?: string[];
@@ -44,6 +50,47 @@ interface TargetConfig {
44
50
  safety?: SafetyConfig;
45
51
  notes?: string;
46
52
  }
53
+ interface MobileDeviceConfig {
54
+ name?: string;
55
+ udid?: string;
56
+ avd?: string;
57
+ serial?: string;
58
+ }
59
+ interface MobileAppConfig {
60
+ bundle_id?: string;
61
+ package?: string;
62
+ app_paths?: string[];
63
+ apk_paths?: string[];
64
+ }
65
+ interface MobileWebConfig {
66
+ base_url: string;
67
+ start_url?: string;
68
+ }
69
+ interface SourceRepoConfig {
70
+ path: string;
71
+ build_commands?: Record<string, string>;
72
+ }
73
+ interface MobileScopeConfig {
74
+ start_screen?: string;
75
+ start_url?: string;
76
+ include_patterns?: string[];
77
+ exclude_patterns?: string[];
78
+ }
79
+ interface MobileTargetConfig {
80
+ id: string;
81
+ name: string;
82
+ platform: 'ios' | 'android';
83
+ domain: string;
84
+ device: MobileDeviceConfig;
85
+ app: MobileAppConfig;
86
+ web?: MobileWebConfig;
87
+ auth: AuthConfig;
88
+ scope?: MobileScopeConfig;
89
+ safety?: SafetyConfig;
90
+ source_repo?: SourceRepoConfig;
91
+ notes?: string;
92
+ }
93
+ type AnyTargetConfig = TargetConfig | MobileTargetConfig;
47
94
  interface KnowledgeManifestEntry {
48
95
  id: string;
49
96
  file: string;
@@ -147,326 +194,222 @@ interface ValidationResult {
147
194
  }
148
195
 
149
196
  declare const AuthConfigSchema: z.ZodObject<{
150
- strategy: z.ZodEnum<["none", "storage_state", "credentials", "token"]>;
197
+ strategy: z.ZodEnum<{
198
+ none: "none";
199
+ storage_state: "storage_state";
200
+ credentials: "credentials";
201
+ token: "token";
202
+ "in-app": "in-app";
203
+ "interactive-sso": "interactive-sso";
204
+ }>;
151
205
  state_file: z.ZodOptional<z.ZodString>;
152
206
  login_url: z.ZodOptional<z.ZodString>;
153
207
  credentials: z.ZodOptional<z.ZodObject<{
154
208
  username: z.ZodString;
155
209
  password: z.ZodString;
156
- }, "strip", z.ZodTypeAny, {
157
- username: string;
158
- password: string;
159
- }, {
160
- username: string;
161
- password: string;
162
- }>>;
210
+ }, z.core.$strip>>;
163
211
  token: z.ZodOptional<z.ZodString>;
164
- }, "strip", z.ZodTypeAny, {
165
- strategy: "none" | "storage_state" | "credentials" | "token";
166
- credentials?: {
167
- username: string;
168
- password: string;
169
- } | undefined;
170
- token?: string | undefined;
171
- state_file?: string | undefined;
172
- login_url?: string | undefined;
173
- }, {
174
- strategy: "none" | "storage_state" | "credentials" | "token";
175
- credentials?: {
176
- username: string;
177
- password: string;
178
- } | undefined;
179
- token?: string | undefined;
180
- state_file?: string | undefined;
181
- login_url?: string | undefined;
182
- }>;
212
+ identity_provider: z.ZodOptional<z.ZodString>;
213
+ static_otp: z.ZodOptional<z.ZodString>;
214
+ test_email_pattern: z.ZodOptional<z.ZodString>;
215
+ }, z.core.$strip>;
183
216
  declare const BrowserConfigSchema: z.ZodObject<{
184
217
  headless: z.ZodBoolean;
185
218
  viewport: z.ZodObject<{
186
219
  width: z.ZodNumber;
187
220
  height: z.ZodNumber;
188
- }, "strip", z.ZodTypeAny, {
189
- width: number;
190
- height: number;
191
- }, {
192
- width: number;
193
- height: number;
194
- }>;
195
- }, "strip", z.ZodTypeAny, {
196
- headless: boolean;
197
- viewport: {
198
- width: number;
199
- height: number;
200
- };
201
- }, {
202
- headless: boolean;
203
- viewport: {
204
- width: number;
205
- height: number;
206
- };
207
- }>;
221
+ }, z.core.$strip>;
222
+ engine: z.ZodOptional<z.ZodEnum<{
223
+ chromium: "chromium";
224
+ webkit: "webkit";
225
+ firefox: "firefox";
226
+ }>>;
227
+ channel: z.ZodOptional<z.ZodString>;
228
+ device: z.ZodOptional<z.ZodString>;
229
+ }, z.core.$strip>;
208
230
  declare const ScopeConfigSchema: z.ZodObject<{
209
- start_pages: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
231
+ start_pages: z.ZodOptional<z.ZodArray<z.ZodString>>;
210
232
  max_depth: z.ZodNumber;
211
- include_patterns: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
212
- exclude_patterns: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
213
- }, "strip", z.ZodTypeAny, {
214
- max_depth: number;
215
- start_pages?: string[] | undefined;
216
- include_patterns?: string[] | undefined;
217
- exclude_patterns?: string[] | undefined;
218
- }, {
219
- max_depth: number;
220
- start_pages?: string[] | undefined;
221
- include_patterns?: string[] | undefined;
222
- exclude_patterns?: string[] | undefined;
223
- }>;
233
+ include_patterns: z.ZodOptional<z.ZodArray<z.ZodString>>;
234
+ exclude_patterns: z.ZodOptional<z.ZodArray<z.ZodString>>;
235
+ }, z.core.$strip>;
224
236
  declare const SafetyConfigSchema: z.ZodObject<{
225
237
  read_only: z.ZodBoolean;
226
238
  no_form_submit: z.ZodBoolean;
227
239
  no_file_upload: z.ZodOptional<z.ZodBoolean>;
228
240
  no_delete_actions: z.ZodOptional<z.ZodBoolean>;
229
- }, "strip", z.ZodTypeAny, {
230
- read_only: boolean;
231
- no_form_submit: boolean;
232
- no_file_upload?: boolean | undefined;
233
- no_delete_actions?: boolean | undefined;
234
- }, {
235
- read_only: boolean;
236
- no_form_submit: boolean;
237
- no_file_upload?: boolean | undefined;
238
- no_delete_actions?: boolean | undefined;
239
- }>;
240
- declare const TargetConfigSchema: z.ZodObject<{
241
+ }, z.core.$strip>;
242
+ declare const WebTargetConfigSchema: z.ZodObject<{
241
243
  id: z.ZodString;
242
244
  name: z.ZodString;
243
- base_url: z.ZodString;
245
+ base_url: z.ZodUnion<readonly [z.ZodLiteral<"">, z.ZodString]>;
244
246
  domain: z.ZodString;
245
247
  auth: z.ZodObject<{
246
- strategy: z.ZodEnum<["none", "storage_state", "credentials", "token"]>;
248
+ strategy: z.ZodEnum<{
249
+ none: "none";
250
+ storage_state: "storage_state";
251
+ credentials: "credentials";
252
+ token: "token";
253
+ "in-app": "in-app";
254
+ "interactive-sso": "interactive-sso";
255
+ }>;
247
256
  state_file: z.ZodOptional<z.ZodString>;
248
257
  login_url: z.ZodOptional<z.ZodString>;
249
258
  credentials: z.ZodOptional<z.ZodObject<{
250
259
  username: z.ZodString;
251
260
  password: z.ZodString;
252
- }, "strip", z.ZodTypeAny, {
253
- username: string;
254
- password: string;
255
- }, {
256
- username: string;
257
- password: string;
258
- }>>;
261
+ }, z.core.$strip>>;
259
262
  token: z.ZodOptional<z.ZodString>;
260
- }, "strip", z.ZodTypeAny, {
261
- strategy: "none" | "storage_state" | "credentials" | "token";
262
- credentials?: {
263
- username: string;
264
- password: string;
265
- } | undefined;
266
- token?: string | undefined;
267
- state_file?: string | undefined;
268
- login_url?: string | undefined;
269
- }, {
270
- strategy: "none" | "storage_state" | "credentials" | "token";
271
- credentials?: {
272
- username: string;
273
- password: string;
274
- } | undefined;
275
- token?: string | undefined;
276
- state_file?: string | undefined;
277
- login_url?: string | undefined;
278
- }>;
263
+ identity_provider: z.ZodOptional<z.ZodString>;
264
+ static_otp: z.ZodOptional<z.ZodString>;
265
+ test_email_pattern: z.ZodOptional<z.ZodString>;
266
+ }, z.core.$strip>;
279
267
  browser: z.ZodObject<{
280
268
  headless: z.ZodBoolean;
281
269
  viewport: z.ZodObject<{
282
270
  width: z.ZodNumber;
283
271
  height: z.ZodNumber;
284
- }, "strip", z.ZodTypeAny, {
285
- width: number;
286
- height: number;
287
- }, {
288
- width: number;
289
- height: number;
290
- }>;
291
- }, "strip", z.ZodTypeAny, {
292
- headless: boolean;
293
- viewport: {
294
- width: number;
295
- height: number;
296
- };
297
- }, {
298
- headless: boolean;
299
- viewport: {
300
- width: number;
301
- height: number;
302
- };
303
- }>;
272
+ }, z.core.$strip>;
273
+ engine: z.ZodOptional<z.ZodEnum<{
274
+ chromium: "chromium";
275
+ webkit: "webkit";
276
+ firefox: "firefox";
277
+ }>>;
278
+ channel: z.ZodOptional<z.ZodString>;
279
+ device: z.ZodOptional<z.ZodString>;
280
+ }, z.core.$strip>;
304
281
  scope: z.ZodObject<{
305
- start_pages: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
282
+ start_pages: z.ZodOptional<z.ZodArray<z.ZodString>>;
306
283
  max_depth: z.ZodNumber;
307
- include_patterns: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
308
- exclude_patterns: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
309
- }, "strip", z.ZodTypeAny, {
310
- max_depth: number;
311
- start_pages?: string[] | undefined;
312
- include_patterns?: string[] | undefined;
313
- exclude_patterns?: string[] | undefined;
314
- }, {
315
- max_depth: number;
316
- start_pages?: string[] | undefined;
317
- include_patterns?: string[] | undefined;
318
- exclude_patterns?: string[] | undefined;
284
+ include_patterns: z.ZodOptional<z.ZodArray<z.ZodString>>;
285
+ exclude_patterns: z.ZodOptional<z.ZodArray<z.ZodString>>;
286
+ }, z.core.$strip>;
287
+ safety: z.ZodOptional<z.ZodObject<{
288
+ read_only: z.ZodBoolean;
289
+ no_form_submit: z.ZodBoolean;
290
+ no_file_upload: z.ZodOptional<z.ZodBoolean>;
291
+ no_delete_actions: z.ZodOptional<z.ZodBoolean>;
292
+ }, z.core.$strip>>;
293
+ notes: z.ZodOptional<z.ZodString>;
294
+ }, z.core.$strip>;
295
+ declare const MobileDeviceConfigSchema: z.ZodObject<{
296
+ name: z.ZodOptional<z.ZodString>;
297
+ udid: z.ZodOptional<z.ZodString>;
298
+ avd: z.ZodOptional<z.ZodString>;
299
+ serial: z.ZodOptional<z.ZodString>;
300
+ }, z.core.$strip>;
301
+ declare const MobileAppConfigSchema: z.ZodObject<{
302
+ bundle_id: z.ZodOptional<z.ZodString>;
303
+ package: z.ZodOptional<z.ZodString>;
304
+ app_paths: z.ZodOptional<z.ZodArray<z.ZodString>>;
305
+ apk_paths: z.ZodOptional<z.ZodArray<z.ZodString>>;
306
+ }, z.core.$strip>;
307
+ declare const MobileWebConfigSchema: z.ZodObject<{
308
+ base_url: z.ZodString;
309
+ start_url: z.ZodOptional<z.ZodString>;
310
+ }, z.core.$strip>;
311
+ declare const SourceRepoConfigSchema: z.ZodObject<{
312
+ path: z.ZodString;
313
+ build_commands: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
314
+ }, z.core.$strip>;
315
+ declare const MobileScopeConfigSchema: z.ZodObject<{
316
+ start_screen: z.ZodOptional<z.ZodString>;
317
+ start_url: z.ZodOptional<z.ZodString>;
318
+ include_patterns: z.ZodOptional<z.ZodArray<z.ZodString>>;
319
+ exclude_patterns: z.ZodOptional<z.ZodArray<z.ZodString>>;
320
+ }, z.core.$strip>;
321
+ declare const MobileTargetConfigSchema: z.ZodObject<{
322
+ id: z.ZodString;
323
+ name: z.ZodString;
324
+ platform: z.ZodEnum<{
325
+ ios: "ios";
326
+ android: "android";
319
327
  }>;
328
+ domain: z.ZodString;
329
+ device: z.ZodObject<{
330
+ name: z.ZodOptional<z.ZodString>;
331
+ udid: z.ZodOptional<z.ZodString>;
332
+ avd: z.ZodOptional<z.ZodString>;
333
+ serial: z.ZodOptional<z.ZodString>;
334
+ }, z.core.$strip>;
335
+ app: z.ZodObject<{
336
+ bundle_id: z.ZodOptional<z.ZodString>;
337
+ package: z.ZodOptional<z.ZodString>;
338
+ app_paths: z.ZodOptional<z.ZodArray<z.ZodString>>;
339
+ apk_paths: z.ZodOptional<z.ZodArray<z.ZodString>>;
340
+ }, z.core.$strip>;
341
+ web: z.ZodOptional<z.ZodObject<{
342
+ base_url: z.ZodString;
343
+ start_url: z.ZodOptional<z.ZodString>;
344
+ }, z.core.$strip>>;
345
+ auth: z.ZodObject<{
346
+ strategy: z.ZodEnum<{
347
+ none: "none";
348
+ storage_state: "storage_state";
349
+ credentials: "credentials";
350
+ token: "token";
351
+ "in-app": "in-app";
352
+ "interactive-sso": "interactive-sso";
353
+ }>;
354
+ state_file: z.ZodOptional<z.ZodString>;
355
+ login_url: z.ZodOptional<z.ZodString>;
356
+ credentials: z.ZodOptional<z.ZodObject<{
357
+ username: z.ZodString;
358
+ password: z.ZodString;
359
+ }, z.core.$strip>>;
360
+ token: z.ZodOptional<z.ZodString>;
361
+ identity_provider: z.ZodOptional<z.ZodString>;
362
+ static_otp: z.ZodOptional<z.ZodString>;
363
+ test_email_pattern: z.ZodOptional<z.ZodString>;
364
+ }, z.core.$strip>;
365
+ scope: z.ZodOptional<z.ZodObject<{
366
+ start_screen: z.ZodOptional<z.ZodString>;
367
+ start_url: z.ZodOptional<z.ZodString>;
368
+ include_patterns: z.ZodOptional<z.ZodArray<z.ZodString>>;
369
+ exclude_patterns: z.ZodOptional<z.ZodArray<z.ZodString>>;
370
+ }, z.core.$strip>>;
320
371
  safety: z.ZodOptional<z.ZodObject<{
321
372
  read_only: z.ZodBoolean;
322
373
  no_form_submit: z.ZodBoolean;
323
374
  no_file_upload: z.ZodOptional<z.ZodBoolean>;
324
375
  no_delete_actions: z.ZodOptional<z.ZodBoolean>;
325
- }, "strip", z.ZodTypeAny, {
326
- read_only: boolean;
327
- no_form_submit: boolean;
328
- no_file_upload?: boolean | undefined;
329
- no_delete_actions?: boolean | undefined;
330
- }, {
331
- read_only: boolean;
332
- no_form_submit: boolean;
333
- no_file_upload?: boolean | undefined;
334
- no_delete_actions?: boolean | undefined;
335
- }>>;
376
+ }, z.core.$strip>>;
377
+ source_repo: z.ZodOptional<z.ZodObject<{
378
+ path: z.ZodString;
379
+ build_commands: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
380
+ }, z.core.$strip>>;
336
381
  notes: z.ZodOptional<z.ZodString>;
337
- }, "strip", z.ZodTypeAny, {
338
- id: string;
339
- name: string;
340
- base_url: string;
341
- domain: string;
342
- auth: {
343
- strategy: "none" | "storage_state" | "credentials" | "token";
344
- credentials?: {
345
- username: string;
346
- password: string;
347
- } | undefined;
348
- token?: string | undefined;
349
- state_file?: string | undefined;
350
- login_url?: string | undefined;
351
- };
352
- browser: {
353
- headless: boolean;
354
- viewport: {
355
- width: number;
356
- height: number;
357
- };
358
- };
359
- scope: {
360
- max_depth: number;
361
- start_pages?: string[] | undefined;
362
- include_patterns?: string[] | undefined;
363
- exclude_patterns?: string[] | undefined;
364
- };
365
- safety?: {
366
- read_only: boolean;
367
- no_form_submit: boolean;
368
- no_file_upload?: boolean | undefined;
369
- no_delete_actions?: boolean | undefined;
370
- } | undefined;
371
- notes?: string | undefined;
372
- }, {
373
- id: string;
374
- name: string;
375
- base_url: string;
376
- domain: string;
377
- auth: {
378
- strategy: "none" | "storage_state" | "credentials" | "token";
379
- credentials?: {
380
- username: string;
381
- password: string;
382
- } | undefined;
383
- token?: string | undefined;
384
- state_file?: string | undefined;
385
- login_url?: string | undefined;
386
- };
387
- browser: {
388
- headless: boolean;
389
- viewport: {
390
- width: number;
391
- height: number;
392
- };
393
- };
394
- scope: {
395
- max_depth: number;
396
- start_pages?: string[] | undefined;
397
- include_patterns?: string[] | undefined;
398
- exclude_patterns?: string[] | undefined;
399
- };
400
- safety?: {
401
- read_only: boolean;
402
- no_form_submit: boolean;
403
- no_file_upload?: boolean | undefined;
404
- no_delete_actions?: boolean | undefined;
405
- } | undefined;
406
- notes?: string | undefined;
407
- }>;
382
+ }, z.core.$strip>;
383
+ declare const TargetConfigSchema: z.ZodType<z.output<typeof WebTargetConfigSchema> | z.output<typeof MobileTargetConfigSchema>>;
408
384
 
409
385
  declare const KnowledgeEntryContentSchema: z.ZodObject<{
410
386
  summary: z.ZodString;
411
- }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
412
- summary: z.ZodString;
413
- }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
414
- summary: z.ZodString;
415
- }, z.ZodTypeAny, "passthrough">>;
387
+ }, z.core.$loose>;
416
388
  declare const KnowledgeEntrySchema: z.ZodObject<{
417
389
  id: z.ZodString;
418
390
  version: z.ZodString;
419
- type: z.ZodEnum<["heuristic", "technique", "checklist", "reference"]>;
391
+ type: z.ZodEnum<{
392
+ heuristic: "heuristic";
393
+ technique: "technique";
394
+ checklist: "checklist";
395
+ reference: "reference";
396
+ }>;
420
397
  name: z.ZodString;
421
398
  description: z.ZodString;
422
399
  author: z.ZodOptional<z.ZodString>;
423
400
  source: z.ZodOptional<z.ZodString>;
424
- tags: z.ZodArray<z.ZodString, "many">;
425
- domains: z.ZodArray<z.ZodString, "many">;
426
- priority: z.ZodEnum<["high", "medium", "low"]>;
401
+ tags: z.ZodArray<z.ZodString>;
402
+ domains: z.ZodArray<z.ZodString>;
403
+ priority: z.ZodEnum<{
404
+ high: "high";
405
+ medium: "medium";
406
+ low: "low";
407
+ }>;
427
408
  added: z.ZodString;
428
409
  content: z.ZodObject<{
429
410
  summary: z.ZodString;
430
- }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
431
- summary: z.ZodString;
432
- }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
433
- summary: z.ZodString;
434
- }, z.ZodTypeAny, "passthrough">>;
435
- }, "strip", z.ZodTypeAny, {
436
- type: "heuristic" | "technique" | "checklist" | "reference";
437
- id: string;
438
- name: string;
439
- version: string;
440
- description: string;
441
- tags: string[];
442
- domains: string[];
443
- priority: "high" | "medium" | "low";
444
- added: string;
445
- content: {
446
- summary: string;
447
- } & {
448
- [k: string]: unknown;
449
- };
450
- author?: string | undefined;
451
- source?: string | undefined;
452
- }, {
453
- type: "heuristic" | "technique" | "checklist" | "reference";
454
- id: string;
455
- name: string;
456
- version: string;
457
- description: string;
458
- tags: string[];
459
- domains: string[];
460
- priority: "high" | "medium" | "low";
461
- added: string;
462
- content: {
463
- summary: string;
464
- } & {
465
- [k: string]: unknown;
466
- };
467
- author?: string | undefined;
468
- source?: string | undefined;
469
- }>;
411
+ }, z.core.$loose>;
412
+ }, z.core.$strip>;
470
413
 
471
414
  declare const KnowledgeManifestStatsSchema: z.ZodObject<{
472
415
  total_entries: z.ZodNumber;
@@ -476,62 +419,28 @@ declare const KnowledgeManifestStatsSchema: z.ZodObject<{
476
419
  references: z.ZodNumber;
477
420
  domain_profiles: z.ZodNumber;
478
421
  custom_entries: z.ZodNumber;
479
- }, "strip", z.ZodTypeAny, {
480
- total_entries: number;
481
- heuristics: number;
482
- techniques: number;
483
- checklists: number;
484
- references: number;
485
- domain_profiles: number;
486
- custom_entries: number;
487
- }, {
488
- total_entries: number;
489
- heuristics: number;
490
- techniques: number;
491
- checklists: number;
492
- references: number;
493
- domain_profiles: number;
494
- custom_entries: number;
495
- }>;
422
+ }, z.core.$strip>;
496
423
  declare const KnowledgeManifestEntrySchema: z.ZodObject<{
497
424
  id: z.ZodString;
498
425
  file: z.ZodString;
499
426
  type: z.ZodString;
500
- priority: z.ZodEnum<["high", "medium", "low"]>;
501
- tags: z.ZodArray<z.ZodString, "many">;
502
- domains: z.ZodArray<z.ZodString, "many">;
503
- }, "strip", z.ZodTypeAny, {
504
- type: string;
505
- id: string;
506
- tags: string[];
507
- domains: string[];
508
- priority: "high" | "medium" | "low";
509
- file: string;
510
- }, {
511
- type: string;
512
- id: string;
513
- tags: string[];
514
- domains: string[];
515
- priority: "high" | "medium" | "low";
516
- file: string;
517
- }>;
427
+ priority: z.ZodEnum<{
428
+ high: "high";
429
+ medium: "medium";
430
+ low: "low";
431
+ }>;
432
+ tags: z.ZodArray<z.ZodString>;
433
+ domains: z.ZodArray<z.ZodString>;
434
+ }, z.core.$strip>;
518
435
  declare const LoadingStrategySchema: z.ZodObject<{
519
- always: z.ZodArray<z.ZodString, "many">;
520
- by_domain: z.ZodRecord<z.ZodString, z.ZodArray<z.ZodString, "many">>;
521
- by_tag: z.ZodRecord<z.ZodString, z.ZodArray<z.ZodString, "many">>;
522
- }, "strip", z.ZodTypeAny, {
523
- always: string[];
524
- by_domain: Record<string, string[]>;
525
- by_tag: Record<string, string[]>;
526
- }, {
527
- always: string[];
528
- by_domain: Record<string, string[]>;
529
- by_tag: Record<string, string[]>;
530
- }>;
436
+ always: z.ZodArray<z.ZodString>;
437
+ by_domain: z.ZodRecord<z.ZodString, z.ZodArray<z.ZodString>>;
438
+ by_tag: z.ZodRecord<z.ZodString, z.ZodArray<z.ZodString>>;
439
+ }, z.core.$strip>;
531
440
  declare const KnowledgeManifestSchema: z.ZodObject<{
532
441
  version: z.ZodString;
533
442
  last_updated: z.ZodString;
534
- active_releases: z.ZodArray<z.ZodString, "many">;
443
+ active_releases: z.ZodArray<z.ZodString>;
535
444
  stats: z.ZodObject<{
536
445
  total_entries: z.ZodNumber;
537
446
  heuristics: z.ZodNumber;
@@ -540,203 +449,63 @@ declare const KnowledgeManifestSchema: z.ZodObject<{
540
449
  references: z.ZodNumber;
541
450
  domain_profiles: z.ZodNumber;
542
451
  custom_entries: z.ZodNumber;
543
- }, "strip", z.ZodTypeAny, {
544
- total_entries: number;
545
- heuristics: number;
546
- techniques: number;
547
- checklists: number;
548
- references: number;
549
- domain_profiles: number;
550
- custom_entries: number;
551
- }, {
552
- total_entries: number;
553
- heuristics: number;
554
- techniques: number;
555
- checklists: number;
556
- references: number;
557
- domain_profiles: number;
558
- custom_entries: number;
559
- }>;
452
+ }, z.core.$strip>;
560
453
  loading_strategy: z.ZodObject<{
561
- always: z.ZodArray<z.ZodString, "many">;
562
- by_domain: z.ZodRecord<z.ZodString, z.ZodArray<z.ZodString, "many">>;
563
- by_tag: z.ZodRecord<z.ZodString, z.ZodArray<z.ZodString, "many">>;
564
- }, "strip", z.ZodTypeAny, {
565
- always: string[];
566
- by_domain: Record<string, string[]>;
567
- by_tag: Record<string, string[]>;
568
- }, {
569
- always: string[];
570
- by_domain: Record<string, string[]>;
571
- by_tag: Record<string, string[]>;
572
- }>;
454
+ always: z.ZodArray<z.ZodString>;
455
+ by_domain: z.ZodRecord<z.ZodString, z.ZodArray<z.ZodString>>;
456
+ by_tag: z.ZodRecord<z.ZodString, z.ZodArray<z.ZodString>>;
457
+ }, z.core.$strip>;
573
458
  entries: z.ZodArray<z.ZodObject<{
574
459
  id: z.ZodString;
575
460
  file: z.ZodString;
576
461
  type: z.ZodString;
577
- priority: z.ZodEnum<["high", "medium", "low"]>;
578
- tags: z.ZodArray<z.ZodString, "many">;
579
- domains: z.ZodArray<z.ZodString, "many">;
580
- }, "strip", z.ZodTypeAny, {
581
- type: string;
582
- id: string;
583
- tags: string[];
584
- domains: string[];
585
- priority: "high" | "medium" | "low";
586
- file: string;
587
- }, {
588
- type: string;
589
- id: string;
590
- tags: string[];
591
- domains: string[];
592
- priority: "high" | "medium" | "low";
593
- file: string;
594
- }>, "many">;
595
- }, "strip", z.ZodTypeAny, {
596
- entries: {
597
- type: string;
598
- id: string;
599
- tags: string[];
600
- domains: string[];
601
- priority: "high" | "medium" | "low";
602
- file: string;
603
- }[];
604
- version: string;
605
- last_updated: string;
606
- active_releases: string[];
607
- stats: {
608
- total_entries: number;
609
- heuristics: number;
610
- techniques: number;
611
- checklists: number;
612
- references: number;
613
- domain_profiles: number;
614
- custom_entries: number;
615
- };
616
- loading_strategy: {
617
- always: string[];
618
- by_domain: Record<string, string[]>;
619
- by_tag: Record<string, string[]>;
620
- };
621
- }, {
622
- entries: {
623
- type: string;
624
- id: string;
625
- tags: string[];
626
- domains: string[];
627
- priority: "high" | "medium" | "low";
628
- file: string;
629
- }[];
630
- version: string;
631
- last_updated: string;
632
- active_releases: string[];
633
- stats: {
634
- total_entries: number;
635
- heuristics: number;
636
- techniques: number;
637
- checklists: number;
638
- references: number;
639
- domain_profiles: number;
640
- custom_entries: number;
641
- };
642
- loading_strategy: {
643
- always: string[];
644
- by_domain: Record<string, string[]>;
645
- by_tag: Record<string, string[]>;
646
- };
647
- }>;
462
+ priority: z.ZodEnum<{
463
+ high: "high";
464
+ medium: "medium";
465
+ low: "low";
466
+ }>;
467
+ tags: z.ZodArray<z.ZodString>;
468
+ domains: z.ZodArray<z.ZodString>;
469
+ }, z.core.$strip>>;
470
+ }, z.core.$strip>;
648
471
 
649
472
  declare const JourneySchema: z.ZodObject<{
650
473
  id: z.ZodString;
651
474
  name: z.ZodString;
652
475
  description: z.ZodString;
653
- steps: z.ZodArray<z.ZodString, "many">;
654
- risk: z.ZodEnum<["high", "medium", "low"]>;
655
- }, "strip", z.ZodTypeAny, {
656
- id: string;
657
- name: string;
658
- description: string;
659
- steps: string[];
660
- risk: "high" | "medium" | "low";
661
- }, {
662
- id: string;
663
- name: string;
664
- description: string;
665
- steps: string[];
666
- risk: "high" | "medium" | "low";
667
- }>;
476
+ steps: z.ZodArray<z.ZodString>;
477
+ risk: z.ZodEnum<{
478
+ high: "high";
479
+ medium: "medium";
480
+ low: "low";
481
+ }>;
482
+ }, z.core.$strip>;
668
483
  declare const DomainConfigSchema: z.ZodObject<{
669
484
  id: z.ZodString;
670
485
  name: z.ZodString;
671
- risk_ranking: z.ZodArray<z.ZodString, "many">;
672
- completeness_checklist: z.ZodArray<z.ZodString, "many">;
673
- data_integrity_checks: z.ZodArray<z.ZodString, "many">;
486
+ risk_ranking: z.ZodArray<z.ZodString>;
487
+ completeness_checklist: z.ZodArray<z.ZodString>;
488
+ data_integrity_checks: z.ZodArray<z.ZodString>;
674
489
  journeys: z.ZodArray<z.ZodObject<{
675
490
  id: z.ZodString;
676
491
  name: z.ZodString;
677
492
  description: z.ZodString;
678
- steps: z.ZodArray<z.ZodString, "many">;
679
- risk: z.ZodEnum<["high", "medium", "low"]>;
680
- }, "strip", z.ZodTypeAny, {
681
- id: string;
682
- name: string;
683
- description: string;
684
- steps: string[];
685
- risk: "high" | "medium" | "low";
686
- }, {
687
- id: string;
688
- name: string;
689
- description: string;
690
- steps: string[];
691
- risk: "high" | "medium" | "low";
692
- }>, "many">;
693
- guidance: z.ZodArray<z.ZodString, "many">;
694
- }, "strip", z.ZodTypeAny, {
695
- id: string;
696
- name: string;
697
- risk_ranking: string[];
698
- completeness_checklist: string[];
699
- data_integrity_checks: string[];
700
- journeys: {
701
- id: string;
702
- name: string;
703
- description: string;
704
- steps: string[];
705
- risk: "high" | "medium" | "low";
706
- }[];
707
- guidance: string[];
708
- }, {
709
- id: string;
710
- name: string;
711
- risk_ranking: string[];
712
- completeness_checklist: string[];
713
- data_integrity_checks: string[];
714
- journeys: {
715
- id: string;
716
- name: string;
717
- description: string;
718
- steps: string[];
719
- risk: "high" | "medium" | "low";
720
- }[];
721
- guidance: string[];
722
- }>;
493
+ steps: z.ZodArray<z.ZodString>;
494
+ risk: z.ZodEnum<{
495
+ high: "high";
496
+ medium: "medium";
497
+ low: "low";
498
+ }>;
499
+ }, z.core.$strip>>;
500
+ guidance: z.ZodArray<z.ZodString>;
501
+ }, z.core.$strip>;
723
502
 
724
503
  declare const SeverityCountsSchema: z.ZodObject<{
725
504
  critical: z.ZodNumber;
726
505
  high: z.ZodNumber;
727
506
  medium: z.ZodNumber;
728
507
  low: z.ZodNumber;
729
- }, "strip", z.ZodTypeAny, {
730
- high: number;
731
- medium: number;
732
- low: number;
733
- critical: number;
734
- }, {
735
- high: number;
736
- medium: number;
737
- low: number;
738
- critical: number;
739
- }>;
508
+ }, z.core.$strip>;
740
509
  declare const SessionMetricsSchema: z.ZodObject<{
741
510
  session_id: z.ZodString;
742
511
  target: z.ZodString;
@@ -748,45 +517,9 @@ declare const SessionMetricsSchema: z.ZodObject<{
748
517
  high: z.ZodNumber;
749
518
  medium: z.ZodNumber;
750
519
  low: z.ZodNumber;
751
- }, "strip", z.ZodTypeAny, {
752
- high: number;
753
- medium: number;
754
- low: number;
755
- critical: number;
756
- }, {
757
- high: number;
758
- medium: number;
759
- low: number;
760
- critical: number;
761
- }>;
520
+ }, z.core.$strip>;
762
521
  pages_explored: z.ZodNumber;
763
- }, "strip", z.ZodTypeAny, {
764
- date: string;
765
- session_id: string;
766
- target: string;
767
- duration_min: number;
768
- bugs_found: number;
769
- severity_counts: {
770
- high: number;
771
- medium: number;
772
- low: number;
773
- critical: number;
774
- };
775
- pages_explored: number;
776
- }, {
777
- date: string;
778
- session_id: string;
779
- target: string;
780
- duration_min: number;
781
- bugs_found: number;
782
- severity_counts: {
783
- high: number;
784
- medium: number;
785
- low: number;
786
- critical: number;
787
- };
788
- pages_explored: number;
789
- }>;
522
+ }, z.core.$strip>;
790
523
 
791
524
  /**
792
525
  * Credential and secret redaction utility.
@@ -896,4 +629,4 @@ declare function generateJsonReport(sessionDir: string): Promise<object>;
896
629
  */
897
630
  declare function generateJiraExport(sessionDir: string): Promise<string>;
898
631
 
899
- export { type AuthConfig, AuthConfigSchema, type BrowserConfig, BrowserConfigSchema, type BugReport, type BugSeverity, type DomainConfig, DomainConfigSchema, type Journey, JourneySchema, type KnowledgeEntry, type KnowledgeEntryContent, KnowledgeEntryContentSchema, KnowledgeEntrySchema, type KnowledgeManifest, type KnowledgeManifestEntry, KnowledgeManifestEntrySchema, KnowledgeManifestSchema, type KnowledgeManifestStats, KnowledgeManifestStatsSchema, type LoadingStrategy, LoadingStrategySchema, type ParsedBug, type ParsedSession, type SafetyConfig, SafetyConfigSchema, type ScopeConfig, ScopeConfigSchema, type SessionMetrics, SessionMetricsSchema, type SeverityCounts, SeverityCountsSchema, type TargetConfig, TargetConfigSchema, type ValidationError, type ValidationResult, appendSessionMetrics, containsSecrets, generateHtmlReport, generateJiraExport, generateJsonReport, parseBugReport, parseSession, readAllMetrics, redact, validateAllConfigs, validateDomainConfig, validateKnowledgeEntry, validateTargetConfig };
632
+ export { type AnyTargetConfig, type AuthConfig, AuthConfigSchema, type BrowserConfig, BrowserConfigSchema, type BugReport, type BugSeverity, type DomainConfig, DomainConfigSchema, type Journey, JourneySchema, type KnowledgeEntry, type KnowledgeEntryContent, KnowledgeEntryContentSchema, KnowledgeEntrySchema, type KnowledgeManifest, type KnowledgeManifestEntry, KnowledgeManifestEntrySchema, KnowledgeManifestSchema, type KnowledgeManifestStats, KnowledgeManifestStatsSchema, type LoadingStrategy, LoadingStrategySchema, type MobileAppConfig, MobileAppConfigSchema, type MobileDeviceConfig, MobileDeviceConfigSchema, type MobileScopeConfig, MobileScopeConfigSchema, type MobileTargetConfig, MobileTargetConfigSchema, type MobileWebConfig, MobileWebConfigSchema, type ParsedBug, type ParsedSession, type SafetyConfig, SafetyConfigSchema, type ScopeConfig, ScopeConfigSchema, type SessionMetrics, SessionMetricsSchema, type SeverityCounts, SeverityCountsSchema, type SourceRepoConfig, SourceRepoConfigSchema, type TargetConfig, TargetConfigSchema, type ValidationError, type ValidationResult, WebTargetConfigSchema, appendSessionMetrics, containsSecrets, generateHtmlReport, generateJiraExport, generateJsonReport, parseBugReport, parseSession, readAllMetrics, redact, validateAllConfigs, validateDomainConfig, validateKnowledgeEntry, validateTargetConfig };