@tienne/gestalt 0.122.0 → 0.123.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 (50) hide show
  1. package/dist/package.json +1 -1
  2. package/dist/plugin/.codex-plugin/plugin.json +1 -1
  3. package/dist/plugin/skills/_shared/pr-base.md +169 -0
  4. package/dist/plugin/skills/pr/SKILL.md +20 -10
  5. package/dist/plugin/skills/review/SKILL.md +43 -14
  6. package/dist/plugin/skills/ship/SKILL.md +127 -23
  7. package/dist/src/architecture/ir-schema.d.ts +26 -26
  8. package/dist/src/core/config.d.ts +12 -12
  9. package/dist/src/core/types.d.ts +64 -0
  10. package/dist/src/core/types.d.ts.map +1 -1
  11. package/dist/src/digest/blocks.d.ts +34 -34
  12. package/dist/src/digest/comments.d.ts +6 -6
  13. package/dist/src/digest/lens-schema.d.ts +2 -2
  14. package/dist/src/digest/lint-lens-context.d.ts +4 -4
  15. package/dist/src/digest/schema.d.ts +55 -55
  16. package/dist/src/lens/attach.d.ts +10 -10
  17. package/dist/src/mcp/schemas.d.ts +238 -225
  18. package/dist/src/mcp/schemas.d.ts.map +1 -1
  19. package/dist/src/mcp/schemas.js +86 -16
  20. package/dist/src/mcp/schemas.js.map +1 -1
  21. package/dist/src/mcp/tools/review-passthrough.d.ts.map +1 -1
  22. package/dist/src/mcp/tools/review-passthrough.js +61 -2
  23. package/dist/src/mcp/tools/review-passthrough.js.map +1 -1
  24. package/dist/src/mcp/tools/status.d.ts +1 -1
  25. package/dist/src/research/schema.d.ts +66 -66
  26. package/dist/src/research/target.d.ts +6 -6
  27. package/dist/src/review/consensus-input.d.ts +11 -0
  28. package/dist/src/review/consensus-input.d.ts.map +1 -0
  29. package/dist/src/review/consensus-input.js +102 -0
  30. package/dist/src/review/consensus-input.js.map +1 -0
  31. package/dist/src/review/passthrough-engine.d.ts +9 -2
  32. package/dist/src/review/passthrough-engine.d.ts.map +1 -1
  33. package/dist/src/review/passthrough-engine.js +58 -10
  34. package/dist/src/review/passthrough-engine.js.map +1 -1
  35. package/dist/src/review/verification.d.ts +48 -7
  36. package/dist/src/review/verification.d.ts.map +1 -1
  37. package/dist/src/review/verification.js +109 -23
  38. package/dist/src/review/verification.js.map +1 -1
  39. package/dist/src/review/verifier-record.d.ts +55 -0
  40. package/dist/src/review/verifier-record.d.ts.map +1 -0
  41. package/dist/src/review/verifier-record.js +228 -0
  42. package/dist/src/review/verifier-record.js.map +1 -0
  43. package/package.json +1 -1
  44. package/plugin/.codex-plugin/plugin.json +1 -1
  45. package/plugin/.mcp.json +1 -1
  46. package/plugin/mcp.json +1 -1
  47. package/plugin/skills/_shared/pr-base.md +169 -0
  48. package/plugin/skills/pr/SKILL.md +20 -10
  49. package/plugin/skills/review/SKILL.md +43 -14
  50. package/plugin/skills/ship/SKILL.md +127 -23
@@ -165,8 +165,8 @@ export declare const captureSchema: z.ZodObject<{
165
165
  /** kind가 figma일 때 화면을 읽어 온 노드 링크. 근거를 되짚을 때 쓴다 */
166
166
  figmaUrl: z.ZodOptional<z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, string, string>>;
167
167
  }, "strip", z.ZodTypeAny, {
168
- path: string;
169
168
  id: string;
169
+ path: string;
170
170
  kind: "store" | "figma" | "direct" | "own-app" | "own-web" | "reference-db" | "video-frame";
171
171
  pii: "none" | "unchecked" | "replaced";
172
172
  productId: string;
@@ -177,8 +177,8 @@ export declare const captureSchema: z.ZodObject<{
177
177
  frameNo?: string | undefined;
178
178
  figmaUrl?: string | undefined;
179
179
  }, {
180
- path: string;
181
180
  id: string;
181
+ path: string;
182
182
  kind: "store" | "figma" | "direct" | "own-app" | "own-web" | "reference-db" | "video-frame";
183
183
  pii: "none" | "unchecked" | "replaced";
184
184
  productId: string;
@@ -247,8 +247,8 @@ export declare const findingSchema: z.ZodEffects<z.ZodObject<{
247
247
  /** 이번 시안에서 다루지 않는 페인이면 그 이유. 적으면 안 풀린 페인 경고에서 빠진다 */
248
248
  excludedReason: z.ZodOptional<z.ZodString>;
249
249
  }, "strip", z.ZodTypeAny, {
250
- text: string;
251
250
  id: string;
251
+ text: string;
252
252
  kind: "design" | "wow" | "pain" | "insight";
253
253
  evidence: ({
254
254
  type: "capture";
@@ -274,8 +274,8 @@ export declare const findingSchema: z.ZodEffects<z.ZodObject<{
274
274
  concrete?: string | undefined;
275
275
  excludedReason?: string | undefined;
276
276
  }, {
277
- text: string;
278
277
  id: string;
278
+ text: string;
279
279
  kind: "design" | "wow" | "pain" | "insight";
280
280
  basis: "absent" | "observation" | "company-statement" | "interpretation" | "unconfirmed";
281
281
  referenceId: string;
@@ -301,8 +301,8 @@ export declare const findingSchema: z.ZodEffects<z.ZodObject<{
301
301
  concrete?: string | undefined;
302
302
  excludedReason?: string | undefined;
303
303
  }>, {
304
- text: string;
305
304
  id: string;
305
+ text: string;
306
306
  kind: "design" | "wow" | "pain" | "insight";
307
307
  evidence: ({
308
308
  type: "capture";
@@ -328,8 +328,8 @@ export declare const findingSchema: z.ZodEffects<z.ZodObject<{
328
328
  concrete?: string | undefined;
329
329
  excludedReason?: string | undefined;
330
330
  }, {
331
- text: string;
332
331
  id: string;
332
+ text: string;
333
333
  kind: "design" | "wow" | "pain" | "insight";
334
334
  basis: "absent" | "observation" | "company-statement" | "interpretation" | "unconfirmed";
335
335
  referenceId: string;
@@ -372,8 +372,8 @@ declare const adoptionSchema: z.ZodEffects<z.ZodObject<{
372
372
  /** 채택하지 않은 이유. rejected면 필수 */
373
373
  reason: z.ZodOptional<z.ZodString>;
374
374
  }, "strip", z.ZodTypeAny, {
375
- status: "adopted" | "candidate" | "rejected";
376
375
  id: string;
376
+ status: "adopted" | "candidate" | "rejected";
377
377
  variant: string;
378
378
  referenceIds: string[];
379
379
  adopted: string[];
@@ -383,8 +383,8 @@ declare const adoptionSchema: z.ZodEffects<z.ZodObject<{
383
383
  reason?: string | undefined;
384
384
  placement?: string | undefined;
385
385
  }, {
386
- status: "adopted" | "candidate" | "rejected";
387
386
  id: string;
387
+ status: "adopted" | "candidate" | "rejected";
388
388
  variant: string;
389
389
  reason?: string | undefined;
390
390
  referenceIds?: string[] | undefined;
@@ -394,8 +394,8 @@ declare const adoptionSchema: z.ZodEffects<z.ZodObject<{
394
394
  takesFindingIds?: string[] | undefined;
395
395
  solvesFindingIds?: string[] | undefined;
396
396
  }>, {
397
- status: "adopted" | "candidate" | "rejected";
398
397
  id: string;
398
+ status: "adopted" | "candidate" | "rejected";
399
399
  variant: string;
400
400
  referenceIds: string[];
401
401
  adopted: string[];
@@ -405,8 +405,8 @@ declare const adoptionSchema: z.ZodEffects<z.ZodObject<{
405
405
  reason?: string | undefined;
406
406
  placement?: string | undefined;
407
407
  }, {
408
- status: "adopted" | "candidate" | "rejected";
409
408
  id: string;
409
+ status: "adopted" | "candidate" | "rejected";
410
410
  variant: string;
411
411
  reason?: string | undefined;
412
412
  referenceIds?: string[] | undefined;
@@ -475,8 +475,8 @@ export declare const metricCaseSchema: z.ZodEffects<z.ZodObject<{
475
475
  /** 언제의 값인지 */
476
476
  period: z.ZodOptional<z.ZodString>;
477
477
  }, "strip", z.ZodTypeAny, {
478
- value: string;
479
478
  id: string;
479
+ value: string;
480
480
  evidence: ({
481
481
  type: "capture";
482
482
  captureId: string;
@@ -500,8 +500,8 @@ export declare const metricCaseSchema: z.ZodEffects<z.ZodObject<{
500
500
  denominator?: string | undefined;
501
501
  productId?: string | undefined;
502
502
  }, {
503
- value: string;
504
503
  id: string;
504
+ value: string;
505
505
  metric: string;
506
506
  basis: "absent" | "observation" | "company-statement" | "interpretation" | "unconfirmed";
507
507
  company: string;
@@ -525,8 +525,8 @@ export declare const metricCaseSchema: z.ZodEffects<z.ZodObject<{
525
525
  denominator?: string | undefined;
526
526
  productId?: string | undefined;
527
527
  }>, {
528
- value: string;
529
528
  id: string;
529
+ value: string;
530
530
  evidence: ({
531
531
  type: "capture";
532
532
  captureId: string;
@@ -550,8 +550,8 @@ export declare const metricCaseSchema: z.ZodEffects<z.ZodObject<{
550
550
  denominator?: string | undefined;
551
551
  productId?: string | undefined;
552
552
  }, {
553
- value: string;
554
553
  id: string;
554
+ value: string;
555
555
  metric: string;
556
556
  basis: "absent" | "observation" | "company-statement" | "interpretation" | "unconfirmed";
557
557
  company: string;
@@ -826,16 +826,16 @@ declare const attemptSchema: z.ZodObject<{
826
826
  limit: z.ZodOptional<z.ZodString>;
827
827
  captureIds: z.ZodDefault<z.ZodArray<z.ZodString, "many">>;
828
828
  }, "strip", z.ZodTypeAny, {
829
- text: string;
830
829
  id: string;
830
+ text: string;
831
831
  result: "partial" | "found" | "not-found" | "too-many";
832
832
  captureIds: string[];
833
833
  what: string;
834
834
  limit?: string | undefined;
835
835
  referenceId?: string | undefined;
836
836
  }, {
837
- text: string;
838
837
  id: string;
838
+ text: string;
839
839
  result: "partial" | "found" | "not-found" | "too-many";
840
840
  what: string;
841
841
  limit?: string | undefined;
@@ -1272,8 +1272,8 @@ export declare const researchSchema: z.ZodEffects<z.ZodObject<{
1272
1272
  value: z.ZodString;
1273
1273
  method: z.ZodEnum<["internal", "proxy", "business", "market", "case", "assumption"]>;
1274
1274
  }, "strip", z.ZodTypeAny, {
1275
- value: string;
1276
1275
  id: string;
1276
+ value: string;
1277
1277
  evidence: ({
1278
1278
  type: "capture";
1279
1279
  captureId: string;
@@ -1293,8 +1293,8 @@ export declare const researchSchema: z.ZodEffects<z.ZodObject<{
1293
1293
  basis: "absent" | "observation" | "company-statement" | "interpretation" | "unconfirmed";
1294
1294
  note?: string | undefined;
1295
1295
  }, {
1296
- value: string;
1297
1296
  id: string;
1297
+ value: string;
1298
1298
  method: "internal" | "proxy" | "business" | "market" | "case" | "assumption";
1299
1299
  label: string;
1300
1300
  basis: "absent" | "observation" | "company-statement" | "interpretation" | "unconfirmed";
@@ -1314,8 +1314,8 @@ export declare const researchSchema: z.ZodEffects<z.ZodObject<{
1314
1314
  url: string;
1315
1315
  })[] | undefined;
1316
1316
  }>, {
1317
- value: string;
1318
1317
  id: string;
1318
+ value: string;
1319
1319
  evidence: ({
1320
1320
  type: "capture";
1321
1321
  captureId: string;
@@ -1335,8 +1335,8 @@ export declare const researchSchema: z.ZodEffects<z.ZodObject<{
1335
1335
  basis: "absent" | "observation" | "company-statement" | "interpretation" | "unconfirmed";
1336
1336
  note?: string | undefined;
1337
1337
  }, {
1338
- value: string;
1339
1338
  id: string;
1339
+ value: string;
1340
1340
  method: "internal" | "proxy" | "business" | "market" | "case" | "assumption";
1341
1341
  label: string;
1342
1342
  basis: "absent" | "observation" | "company-statement" | "interpretation" | "unconfirmed";
@@ -1459,8 +1459,8 @@ export declare const researchSchema: z.ZodEffects<z.ZodObject<{
1459
1459
  denominator: string;
1460
1460
  };
1461
1461
  steps: {
1462
- value: string;
1463
1462
  id: string;
1463
+ value: string;
1464
1464
  evidence: ({
1465
1465
  type: "capture";
1466
1466
  captureId: string;
@@ -1558,8 +1558,8 @@ export declare const researchSchema: z.ZodEffects<z.ZodObject<{
1558
1558
  denominator: string;
1559
1559
  };
1560
1560
  steps?: {
1561
- value: string;
1562
1561
  id: string;
1562
+ value: string;
1563
1563
  method: "internal" | "proxy" | "business" | "market" | "case" | "assumption";
1564
1564
  label: string;
1565
1565
  basis: "absent" | "observation" | "company-statement" | "interpretation" | "unconfirmed";
@@ -1753,8 +1753,8 @@ export declare const researchSchema: z.ZodEffects<z.ZodObject<{
1753
1753
  /** kind가 figma일 때 화면을 읽어 온 노드 링크. 근거를 되짚을 때 쓴다 */
1754
1754
  figmaUrl: z.ZodOptional<z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, string, string>>;
1755
1755
  }, "strip", z.ZodTypeAny, {
1756
- path: string;
1757
1756
  id: string;
1757
+ path: string;
1758
1758
  kind: "store" | "figma" | "direct" | "own-app" | "own-web" | "reference-db" | "video-frame";
1759
1759
  pii: "none" | "unchecked" | "replaced";
1760
1760
  productId: string;
@@ -1765,8 +1765,8 @@ export declare const researchSchema: z.ZodEffects<z.ZodObject<{
1765
1765
  frameNo?: string | undefined;
1766
1766
  figmaUrl?: string | undefined;
1767
1767
  }, {
1768
- path: string;
1769
1768
  id: string;
1769
+ path: string;
1770
1770
  kind: "store" | "figma" | "direct" | "own-app" | "own-web" | "reference-db" | "video-frame";
1771
1771
  pii: "none" | "unchecked" | "replaced";
1772
1772
  productId: string;
@@ -2143,8 +2143,8 @@ export declare const researchSchema: z.ZodEffects<z.ZodObject<{
2143
2143
  /** 이번 시안에서 다루지 않는 페인이면 그 이유. 적으면 안 풀린 페인 경고에서 빠진다 */
2144
2144
  excludedReason: z.ZodOptional<z.ZodString>;
2145
2145
  }, "strip", z.ZodTypeAny, {
2146
- text: string;
2147
2146
  id: string;
2147
+ text: string;
2148
2148
  kind: "design" | "wow" | "pain" | "insight";
2149
2149
  evidence: ({
2150
2150
  type: "capture";
@@ -2170,8 +2170,8 @@ export declare const researchSchema: z.ZodEffects<z.ZodObject<{
2170
2170
  concrete?: string | undefined;
2171
2171
  excludedReason?: string | undefined;
2172
2172
  }, {
2173
- text: string;
2174
2173
  id: string;
2174
+ text: string;
2175
2175
  kind: "design" | "wow" | "pain" | "insight";
2176
2176
  basis: "absent" | "observation" | "company-statement" | "interpretation" | "unconfirmed";
2177
2177
  referenceId: string;
@@ -2197,8 +2197,8 @@ export declare const researchSchema: z.ZodEffects<z.ZodObject<{
2197
2197
  concrete?: string | undefined;
2198
2198
  excludedReason?: string | undefined;
2199
2199
  }>, {
2200
- text: string;
2201
2200
  id: string;
2201
+ text: string;
2202
2202
  kind: "design" | "wow" | "pain" | "insight";
2203
2203
  evidence: ({
2204
2204
  type: "capture";
@@ -2224,8 +2224,8 @@ export declare const researchSchema: z.ZodEffects<z.ZodObject<{
2224
2224
  concrete?: string | undefined;
2225
2225
  excludedReason?: string | undefined;
2226
2226
  }, {
2227
- text: string;
2228
2227
  id: string;
2228
+ text: string;
2229
2229
  kind: "design" | "wow" | "pain" | "insight";
2230
2230
  basis: "absent" | "observation" | "company-statement" | "interpretation" | "unconfirmed";
2231
2231
  referenceId: string;
@@ -2262,8 +2262,8 @@ export declare const researchSchema: z.ZodEffects<z.ZodObject<{
2262
2262
  userViewpoint: string;
2263
2263
  bizViewpoint: string;
2264
2264
  findings: {
2265
- text: string;
2266
2265
  id: string;
2266
+ text: string;
2267
2267
  kind: "design" | "wow" | "pain" | "insight";
2268
2268
  evidence: ({
2269
2269
  type: "capture";
@@ -2300,8 +2300,8 @@ export declare const researchSchema: z.ZodEffects<z.ZodObject<{
2300
2300
  userViewpoint?: string | undefined;
2301
2301
  bizViewpoint?: string | undefined;
2302
2302
  findings?: {
2303
- text: string;
2304
2303
  id: string;
2304
+ text: string;
2305
2305
  kind: "design" | "wow" | "pain" | "insight";
2306
2306
  basis: "absent" | "observation" | "company-statement" | "interpretation" | "unconfirmed";
2307
2307
  referenceId: string;
@@ -2346,8 +2346,8 @@ export declare const researchSchema: z.ZodEffects<z.ZodObject<{
2346
2346
  /** 채택하지 않은 이유. rejected면 필수 */
2347
2347
  reason: z.ZodOptional<z.ZodString>;
2348
2348
  }, "strip", z.ZodTypeAny, {
2349
- status: "adopted" | "candidate" | "rejected";
2350
2349
  id: string;
2350
+ status: "adopted" | "candidate" | "rejected";
2351
2351
  variant: string;
2352
2352
  referenceIds: string[];
2353
2353
  adopted: string[];
@@ -2357,8 +2357,8 @@ export declare const researchSchema: z.ZodEffects<z.ZodObject<{
2357
2357
  reason?: string | undefined;
2358
2358
  placement?: string | undefined;
2359
2359
  }, {
2360
- status: "adopted" | "candidate" | "rejected";
2361
2360
  id: string;
2361
+ status: "adopted" | "candidate" | "rejected";
2362
2362
  variant: string;
2363
2363
  reason?: string | undefined;
2364
2364
  referenceIds?: string[] | undefined;
@@ -2368,8 +2368,8 @@ export declare const researchSchema: z.ZodEffects<z.ZodObject<{
2368
2368
  takesFindingIds?: string[] | undefined;
2369
2369
  solvesFindingIds?: string[] | undefined;
2370
2370
  }>, {
2371
- status: "adopted" | "candidate" | "rejected";
2372
2371
  id: string;
2372
+ status: "adopted" | "candidate" | "rejected";
2373
2373
  variant: string;
2374
2374
  referenceIds: string[];
2375
2375
  adopted: string[];
@@ -2379,8 +2379,8 @@ export declare const researchSchema: z.ZodEffects<z.ZodObject<{
2379
2379
  reason?: string | undefined;
2380
2380
  placement?: string | undefined;
2381
2381
  }, {
2382
- status: "adopted" | "candidate" | "rejected";
2383
2382
  id: string;
2383
+ status: "adopted" | "candidate" | "rejected";
2384
2384
  variant: string;
2385
2385
  reason?: string | undefined;
2386
2386
  referenceIds?: string[] | undefined;
@@ -2579,16 +2579,16 @@ export declare const researchSchema: z.ZodEffects<z.ZodObject<{
2579
2579
  limit: z.ZodOptional<z.ZodString>;
2580
2580
  captureIds: z.ZodDefault<z.ZodArray<z.ZodString, "many">>;
2581
2581
  }, "strip", z.ZodTypeAny, {
2582
- text: string;
2583
2582
  id: string;
2583
+ text: string;
2584
2584
  result: "partial" | "found" | "not-found" | "too-many";
2585
2585
  captureIds: string[];
2586
2586
  what: string;
2587
2587
  limit?: string | undefined;
2588
2588
  referenceId?: string | undefined;
2589
2589
  }, {
2590
- text: string;
2591
2590
  id: string;
2591
+ text: string;
2592
2592
  result: "partial" | "found" | "not-found" | "too-many";
2593
2593
  what: string;
2594
2594
  limit?: string | undefined;
@@ -2648,8 +2648,8 @@ export declare const researchSchema: z.ZodEffects<z.ZodObject<{
2648
2648
  parentId?: string | undefined;
2649
2649
  }[];
2650
2650
  attempts: {
2651
- text: string;
2652
2651
  id: string;
2652
+ text: string;
2653
2653
  result: "partial" | "found" | "not-found" | "too-many";
2654
2654
  captureIds: string[];
2655
2655
  what: string;
@@ -2698,8 +2698,8 @@ export declare const researchSchema: z.ZodEffects<z.ZodObject<{
2698
2698
  parentId?: string | undefined;
2699
2699
  }[] | undefined;
2700
2700
  attempts?: {
2701
- text: string;
2702
2701
  id: string;
2702
+ text: string;
2703
2703
  result: "partial" | "found" | "not-found" | "too-many";
2704
2704
  what: string;
2705
2705
  limit?: string | undefined;
@@ -2934,8 +2934,8 @@ export declare const researchSchema: z.ZodEffects<z.ZodObject<{
2934
2934
  /** 언제의 값인지 */
2935
2935
  period: z.ZodOptional<z.ZodString>;
2936
2936
  }, "strip", z.ZodTypeAny, {
2937
- value: string;
2938
2937
  id: string;
2938
+ value: string;
2939
2939
  evidence: ({
2940
2940
  type: "capture";
2941
2941
  captureId: string;
@@ -2959,8 +2959,8 @@ export declare const researchSchema: z.ZodEffects<z.ZodObject<{
2959
2959
  denominator?: string | undefined;
2960
2960
  productId?: string | undefined;
2961
2961
  }, {
2962
- value: string;
2963
2962
  id: string;
2963
+ value: string;
2964
2964
  metric: string;
2965
2965
  basis: "absent" | "observation" | "company-statement" | "interpretation" | "unconfirmed";
2966
2966
  company: string;
@@ -2984,8 +2984,8 @@ export declare const researchSchema: z.ZodEffects<z.ZodObject<{
2984
2984
  denominator?: string | undefined;
2985
2985
  productId?: string | undefined;
2986
2986
  }>, {
2987
- value: string;
2988
2987
  id: string;
2988
+ value: string;
2989
2989
  evidence: ({
2990
2990
  type: "capture";
2991
2991
  captureId: string;
@@ -3009,8 +3009,8 @@ export declare const researchSchema: z.ZodEffects<z.ZodObject<{
3009
3009
  denominator?: string | undefined;
3010
3010
  productId?: string | undefined;
3011
3011
  }, {
3012
- value: string;
3013
3012
  id: string;
3013
+ value: string;
3014
3014
  metric: string;
3015
3015
  basis: "absent" | "observation" | "company-statement" | "interpretation" | "unconfirmed";
3016
3016
  company: string;
@@ -3449,8 +3449,8 @@ export declare const researchSchema: z.ZodEffects<z.ZodObject<{
3449
3449
  parentId?: string | undefined;
3450
3450
  }[];
3451
3451
  attempts: {
3452
- text: string;
3453
3452
  id: string;
3453
+ text: string;
3454
3454
  result: "partial" | "found" | "not-found" | "too-many";
3455
3455
  captureIds: string[];
3456
3456
  what: string;
@@ -3473,8 +3473,8 @@ export declare const researchSchema: z.ZodEffects<z.ZodObject<{
3473
3473
  productIds: string[];
3474
3474
  }[];
3475
3475
  captures: {
3476
- path: string;
3477
3476
  id: string;
3477
+ path: string;
3478
3478
  kind: "store" | "figma" | "direct" | "own-app" | "own-web" | "reference-db" | "video-frame";
3479
3479
  pii: "none" | "unchecked" | "replaced";
3480
3480
  productId: string;
@@ -3583,8 +3583,8 @@ export declare const researchSchema: z.ZodEffects<z.ZodObject<{
3583
3583
  userViewpoint: string;
3584
3584
  bizViewpoint: string;
3585
3585
  findings: {
3586
- text: string;
3587
3586
  id: string;
3587
+ text: string;
3588
3588
  kind: "design" | "wow" | "pain" | "insight";
3589
3589
  evidence: ({
3590
3590
  type: "capture";
@@ -3612,8 +3612,8 @@ export declare const researchSchema: z.ZodEffects<z.ZodObject<{
3612
3612
  }[];
3613
3613
  };
3614
3614
  adoptions: {
3615
- status: "adopted" | "candidate" | "rejected";
3616
3615
  id: string;
3616
+ status: "adopted" | "candidate" | "rejected";
3617
3617
  variant: string;
3618
3618
  referenceIds: string[];
3619
3619
  adopted: string[];
@@ -3655,8 +3655,8 @@ export declare const researchSchema: z.ZodEffects<z.ZodObject<{
3655
3655
  todo?: string | undefined;
3656
3656
  }[];
3657
3657
  metricCases: {
3658
- value: string;
3659
3658
  id: string;
3659
+ value: string;
3660
3660
  evidence: ({
3661
3661
  type: "capture";
3662
3662
  captureId: string;
@@ -3709,8 +3709,8 @@ export declare const researchSchema: z.ZodEffects<z.ZodObject<{
3709
3709
  denominator: string;
3710
3710
  };
3711
3711
  steps: {
3712
- value: string;
3713
3712
  id: string;
3713
+ value: string;
3714
3714
  evidence: ({
3715
3715
  type: "capture";
3716
3716
  captureId: string;
@@ -3893,8 +3893,8 @@ export declare const researchSchema: z.ZodEffects<z.ZodObject<{
3893
3893
  denominator: string;
3894
3894
  };
3895
3895
  steps?: {
3896
- value: string;
3897
3896
  id: string;
3897
+ value: string;
3898
3898
  method: "internal" | "proxy" | "business" | "market" | "case" | "assumption";
3899
3899
  label: string;
3900
3900
  basis: "absent" | "observation" | "company-statement" | "interpretation" | "unconfirmed";
@@ -4000,8 +4000,8 @@ export declare const researchSchema: z.ZodEffects<z.ZodObject<{
4000
4000
  parentId?: string | undefined;
4001
4001
  }[] | undefined;
4002
4002
  attempts?: {
4003
- text: string;
4004
4003
  id: string;
4004
+ text: string;
4005
4005
  result: "partial" | "found" | "not-found" | "too-many";
4006
4006
  what: string;
4007
4007
  limit?: string | undefined;
@@ -4024,8 +4024,8 @@ export declare const researchSchema: z.ZodEffects<z.ZodObject<{
4024
4024
  productIds: string[];
4025
4025
  }[] | undefined;
4026
4026
  captures?: {
4027
- path: string;
4028
4027
  id: string;
4028
+ path: string;
4029
4029
  kind: "store" | "figma" | "direct" | "own-app" | "own-web" | "reference-db" | "video-frame";
4030
4030
  pii: "none" | "unchecked" | "replaced";
4031
4031
  productId: string;
@@ -4137,8 +4137,8 @@ export declare const researchSchema: z.ZodEffects<z.ZodObject<{
4137
4137
  userViewpoint?: string | undefined;
4138
4138
  bizViewpoint?: string | undefined;
4139
4139
  findings?: {
4140
- text: string;
4141
4140
  id: string;
4141
+ text: string;
4142
4142
  kind: "design" | "wow" | "pain" | "insight";
4143
4143
  basis: "absent" | "observation" | "company-statement" | "interpretation" | "unconfirmed";
4144
4144
  referenceId: string;
@@ -4166,8 +4166,8 @@ export declare const researchSchema: z.ZodEffects<z.ZodObject<{
4166
4166
  }[] | undefined;
4167
4167
  } | undefined;
4168
4168
  adoptions?: {
4169
- status: "adopted" | "candidate" | "rejected";
4170
4169
  id: string;
4170
+ status: "adopted" | "candidate" | "rejected";
4171
4171
  variant: string;
4172
4172
  reason?: string | undefined;
4173
4173
  referenceIds?: string[] | undefined;
@@ -4209,8 +4209,8 @@ export declare const researchSchema: z.ZodEffects<z.ZodObject<{
4209
4209
  todo?: string | undefined;
4210
4210
  }[] | undefined;
4211
4211
  metricCases?: {
4212
- value: string;
4213
4212
  id: string;
4213
+ value: string;
4214
4214
  metric: string;
4215
4215
  basis: "absent" | "observation" | "company-statement" | "interpretation" | "unconfirmed";
4216
4216
  company: string;
@@ -4313,8 +4313,8 @@ export declare const researchSchema: z.ZodEffects<z.ZodObject<{
4313
4313
  parentId?: string | undefined;
4314
4314
  }[];
4315
4315
  attempts: {
4316
- text: string;
4317
4316
  id: string;
4317
+ text: string;
4318
4318
  result: "partial" | "found" | "not-found" | "too-many";
4319
4319
  captureIds: string[];
4320
4320
  what: string;
@@ -4337,8 +4337,8 @@ export declare const researchSchema: z.ZodEffects<z.ZodObject<{
4337
4337
  productIds: string[];
4338
4338
  }[];
4339
4339
  captures: {
4340
- path: string;
4341
4340
  id: string;
4341
+ path: string;
4342
4342
  kind: "store" | "figma" | "direct" | "own-app" | "own-web" | "reference-db" | "video-frame";
4343
4343
  pii: "none" | "unchecked" | "replaced";
4344
4344
  productId: string;
@@ -4447,8 +4447,8 @@ export declare const researchSchema: z.ZodEffects<z.ZodObject<{
4447
4447
  userViewpoint: string;
4448
4448
  bizViewpoint: string;
4449
4449
  findings: {
4450
- text: string;
4451
4450
  id: string;
4451
+ text: string;
4452
4452
  kind: "design" | "wow" | "pain" | "insight";
4453
4453
  evidence: ({
4454
4454
  type: "capture";
@@ -4476,8 +4476,8 @@ export declare const researchSchema: z.ZodEffects<z.ZodObject<{
4476
4476
  }[];
4477
4477
  };
4478
4478
  adoptions: {
4479
- status: "adopted" | "candidate" | "rejected";
4480
4479
  id: string;
4480
+ status: "adopted" | "candidate" | "rejected";
4481
4481
  variant: string;
4482
4482
  referenceIds: string[];
4483
4483
  adopted: string[];
@@ -4519,8 +4519,8 @@ export declare const researchSchema: z.ZodEffects<z.ZodObject<{
4519
4519
  todo?: string | undefined;
4520
4520
  }[];
4521
4521
  metricCases: {
4522
- value: string;
4523
4522
  id: string;
4523
+ value: string;
4524
4524
  evidence: ({
4525
4525
  type: "capture";
4526
4526
  captureId: string;
@@ -4573,8 +4573,8 @@ export declare const researchSchema: z.ZodEffects<z.ZodObject<{
4573
4573
  denominator: string;
4574
4574
  };
4575
4575
  steps: {
4576
- value: string;
4577
4576
  id: string;
4577
+ value: string;
4578
4578
  evidence: ({
4579
4579
  type: "capture";
4580
4580
  captureId: string;
@@ -4757,8 +4757,8 @@ export declare const researchSchema: z.ZodEffects<z.ZodObject<{
4757
4757
  denominator: string;
4758
4758
  };
4759
4759
  steps?: {
4760
- value: string;
4761
4760
  id: string;
4761
+ value: string;
4762
4762
  method: "internal" | "proxy" | "business" | "market" | "case" | "assumption";
4763
4763
  label: string;
4764
4764
  basis: "absent" | "observation" | "company-statement" | "interpretation" | "unconfirmed";
@@ -4864,8 +4864,8 @@ export declare const researchSchema: z.ZodEffects<z.ZodObject<{
4864
4864
  parentId?: string | undefined;
4865
4865
  }[] | undefined;
4866
4866
  attempts?: {
4867
- text: string;
4868
4867
  id: string;
4868
+ text: string;
4869
4869
  result: "partial" | "found" | "not-found" | "too-many";
4870
4870
  what: string;
4871
4871
  limit?: string | undefined;
@@ -4888,8 +4888,8 @@ export declare const researchSchema: z.ZodEffects<z.ZodObject<{
4888
4888
  productIds: string[];
4889
4889
  }[] | undefined;
4890
4890
  captures?: {
4891
- path: string;
4892
4891
  id: string;
4892
+ path: string;
4893
4893
  kind: "store" | "figma" | "direct" | "own-app" | "own-web" | "reference-db" | "video-frame";
4894
4894
  pii: "none" | "unchecked" | "replaced";
4895
4895
  productId: string;
@@ -5001,8 +5001,8 @@ export declare const researchSchema: z.ZodEffects<z.ZodObject<{
5001
5001
  userViewpoint?: string | undefined;
5002
5002
  bizViewpoint?: string | undefined;
5003
5003
  findings?: {
5004
- text: string;
5005
5004
  id: string;
5005
+ text: string;
5006
5006
  kind: "design" | "wow" | "pain" | "insight";
5007
5007
  basis: "absent" | "observation" | "company-statement" | "interpretation" | "unconfirmed";
5008
5008
  referenceId: string;
@@ -5030,8 +5030,8 @@ export declare const researchSchema: z.ZodEffects<z.ZodObject<{
5030
5030
  }[] | undefined;
5031
5031
  } | undefined;
5032
5032
  adoptions?: {
5033
- status: "adopted" | "candidate" | "rejected";
5034
5033
  id: string;
5034
+ status: "adopted" | "candidate" | "rejected";
5035
5035
  variant: string;
5036
5036
  reason?: string | undefined;
5037
5037
  referenceIds?: string[] | undefined;
@@ -5073,8 +5073,8 @@ export declare const researchSchema: z.ZodEffects<z.ZodObject<{
5073
5073
  todo?: string | undefined;
5074
5074
  }[] | undefined;
5075
5075
  metricCases?: {
5076
- value: string;
5077
5076
  id: string;
5077
+ value: string;
5078
5078
  metric: string;
5079
5079
  basis: "absent" | "observation" | "company-statement" | "interpretation" | "unconfirmed";
5080
5080
  company: string;