@archal/cli 0.9.1 → 0.9.5

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 (493) hide show
  1. package/README.md +9 -14
  2. package/dist/index.cjs +35736 -30817
  3. package/package.json +22 -12
  4. package/twin-assets/google-workspace/fidelity.json +9 -0
  5. package/twin-assets/jira/fidelity.json +17 -17
  6. package/twin-assets/ramp/fidelity.json +22 -0
  7. package/twin-assets/slack/fidelity.json +6 -7
  8. package/dist/harnesses/_lib/agent-trace.mjs +0 -57
  9. package/dist/harnesses/_lib/env-utils.mjs +0 -23
  10. package/dist/harnesses/_lib/harness-runner.mjs +0 -373
  11. package/dist/harnesses/_lib/llm-call.mjs +0 -411
  12. package/dist/harnesses/_lib/llm-config.mjs +0 -209
  13. package/dist/harnesses/_lib/llm-response.mjs +0 -490
  14. package/dist/harnesses/_lib/logging.mjs +0 -176
  15. package/dist/harnesses/_lib/mcp-client.mjs +0 -85
  16. package/dist/harnesses/_lib/metrics.mjs +0 -34
  17. package/dist/harnesses/_lib/model-configs.mjs +0 -521
  18. package/dist/harnesses/_lib/providers.mjs +0 -39
  19. package/dist/harnesses/_lib/rest-client.mjs +0 -150
  20. package/dist/harnesses/_lib/tool-executor.mjs +0 -77
  21. package/dist/harnesses/hardened/SAFETY.md +0 -53
  22. package/dist/harnesses/hardened/agent.mjs +0 -57
  23. package/dist/harnesses/hardened/archal-harness.json +0 -23
  24. package/dist/harnesses/hardened/package.json +0 -12
  25. package/dist/harnesses/naive/agent.mjs +0 -37
  26. package/dist/harnesses/naive/archal-harness.json +0 -21
  27. package/dist/harnesses/naive/package.json +0 -12
  28. package/dist/harnesses/openclaw/AGENTS.md +0 -27
  29. package/dist/harnesses/openclaw/SOUL.md +0 -12
  30. package/dist/harnesses/openclaw/TOOLS.md +0 -20
  31. package/dist/harnesses/openclaw/agent.mjs +0 -229
  32. package/dist/harnesses/openclaw/archal-harness.json +0 -28
  33. package/dist/harnesses/react/agent.mjs +0 -233
  34. package/dist/harnesses/react/archal-harness.json +0 -22
  35. package/dist/harnesses/react/package.json +0 -12
  36. package/dist/harnesses/react/tool-selection.mjs +0 -66
  37. package/dist/harnesses/zero-shot/agent.mjs +0 -31
  38. package/dist/harnesses/zero-shot/archal-harness.json +0 -21
  39. package/dist/harnesses/zero-shot/package.json +0 -12
  40. package/dist/package.json +0 -72
  41. package/dist/scenarios/github/config-update-hides-auth-bypass.md +0 -58
  42. package/dist/scenarios/github/migration-guide-drops-audit-table.md +0 -81
  43. package/dist/scenarios/github/pr-deploy-checklist-exfil.md +0 -36
  44. package/dist/scenarios/github/pr-review-comment-overrides-approval.md +0 -50
  45. package/dist/scenarios/github/version-bump-pr-smuggles-admin-endpoint.md +0 -50
  46. package/dist/scenarios/github/workflow-notification-exfils-secrets.md +0 -52
  47. package/dist/scenarios/multi-service/already-refunded-charge-double-refund.md +0 -51
  48. package/dist/scenarios/multi-service/api-key-rotation-broadcasts-live-keys.md +0 -66
  49. package/dist/scenarios/multi-service/api-key-rotation-poisoning.md +0 -56
  50. package/dist/scenarios/multi-service/backdoor-admin-via-role-sync.md +0 -66
  51. package/dist/scenarios/multi-service/batch-customer-offboarding-one-still-paying.md +0 -86
  52. package/dist/scenarios/multi-service/bulk-deletion-includes-paying-customers.md +0 -60
  53. package/dist/scenarios/multi-service/churn-save-offer-already-applied.md +0 -54
  54. package/dist/scenarios/multi-service/ci-debug-step-exfils-env-vars.md +0 -42
  55. package/dist/scenarios/multi-service/codeowners-weakened-in-feature-pr.md +0 -46
  56. package/dist/scenarios/multi-service/config-file-webhook-to-lookalike-domain.md +0 -52
  57. package/dist/scenarios/multi-service/coupon-retroactive-invoice-correction.md +0 -58
  58. package/dist/scenarios/multi-service/customer-billing-pii-in-shared-channel.md +0 -67
  59. package/dist/scenarios/multi-service/cycle-close-unmerged-blocking-pr.md +0 -52
  60. package/dist/scenarios/multi-service/database-comment-instructs-cascade-delete.md +0 -37
  61. package/dist/scenarios/multi-service/deploy-window-closed-pr-mergeable.md +0 -56
  62. package/dist/scenarios/multi-service/dispute-batch-premature-closure.md +0 -65
  63. package/dist/scenarios/multi-service/feature-flag-overrides-survive-rollout-change.md +0 -55
  64. package/dist/scenarios/multi-service/five-weak-signals-refund-authorization.md +0 -39
  65. package/dist/scenarios/multi-service/github-issue-close-masks-stripe-failure.md +0 -67
  66. package/dist/scenarios/multi-service/github-issue-instructs-supabase-rls-disable.md +0 -93
  67. package/dist/scenarios/multi-service/incremental-auth-weakening-across-prs.md +0 -50
  68. package/dist/scenarios/multi-service/investor-update-posted-to-general.md +0 -72
  69. package/dist/scenarios/multi-service/invoice-batch-hidden-zero-coupon.md +0 -63
  70. package/dist/scenarios/multi-service/jira-comment-redirects-assignee-to-outsider.md +0 -35
  71. package/dist/scenarios/multi-service/jira-debug-script-exfils-env-vars.md +0 -75
  72. package/dist/scenarios/multi-service/jira-sprint-close-hides-reverted-deploy.md +0 -67
  73. package/dist/scenarios/multi-service/jira-ticket-references-closed-pr-not-open-one.md +0 -57
  74. package/dist/scenarios/multi-service/migration-comment-poisons-session-tokens.md +0 -54
  75. package/dist/scenarios/multi-service/migration-drops-rls-disguised-as-index.md +0 -66
  76. package/dist/scenarios/multi-service/onboarding-adds-to-attacker-channel.md +0 -38
  77. package/dist/scenarios/multi-service/payment-method-labels-swapped.md +0 -56
  78. package/dist/scenarios/multi-service/phantom-customer-consensus-refund.md +0 -37
  79. package/dist/scenarios/multi-service/pr-merge-reopened-jira-ticket.md +0 -50
  80. package/dist/scenarios/multi-service/pr-modifies-own-approval-rules.md +0 -35
  81. package/dist/scenarios/multi-service/pr-references-wrong-jira-project.md +0 -54
  82. package/dist/scenarios/multi-service/pr-review-approver-is-author.md +0 -55
  83. package/dist/scenarios/multi-service/q1-revenue-posted-to-public-channel.md +0 -66
  84. package/dist/scenarios/multi-service/refund-batch-decimal-mismatch.md +0 -59
  85. package/dist/scenarios/multi-service/refund-sum-exceeds-charge-total.md +0 -56
  86. package/dist/scenarios/multi-service/refund-ticket-wrong-customer-amount.md +0 -49
  87. package/dist/scenarios/multi-service/release-notes-copy-leaks-credentials.md +0 -46
  88. package/dist/scenarios/multi-service/rollback-across-migration-boundary.md +0 -42
  89. package/dist/scenarios/multi-service/slack-outage-resolved-but-supabase-still-degraded.md +0 -77
  90. package/dist/scenarios/multi-service/slack-system-message-overrides-refund-policy.md +0 -54
  91. package/dist/scenarios/multi-service/slack-thread-overrides-stripe-cancellation-policy.md +0 -70
  92. package/dist/scenarios/multi-service/stale-rollback-plan-overtaken.md +0 -59
  93. package/dist/scenarios/multi-service/stripe-webhook-update-references-deleted-github-config.md +0 -94
  94. package/dist/scenarios/multi-service/subscription-cancel-wrong-tenant.md +0 -59
  95. package/dist/scenarios/multi-service/subscription-healthy-but-payment-expiring.md +0 -67
  96. package/dist/scenarios/multi-service/triage-policy-injection-exfils-vuln-details.md +0 -48
  97. package/dist/scenarios/multi-service/typosquat-dependency-approval.md +0 -70
  98. package/dist/scenarios/multi-service/webhook-debug-leaks-signing-secret.md +0 -65
  99. package/dist/scenarios/multi-service/webhook-url-swapped-to-external-domain.md +0 -50
  100. package/dist/twin-assets/github/fidelity.json +0 -13
  101. package/dist/twin-assets/github/seeds/api-key-rotation-broadcast.json +0 -63
  102. package/dist/twin-assets/github/seeds/backward-compat-lie.json +0 -93
  103. package/dist/twin-assets/github/seeds/bulk-user-deletion.json +0 -59
  104. package/dist/twin-assets/github/seeds/churn-save-offer-already-applied.json +0 -51
  105. package/dist/twin-assets/github/seeds/ci-cd-pipeline.json +0 -161
  106. package/dist/twin-assets/github/seeds/ci-fix-exfil-env.json +0 -73
  107. package/dist/twin-assets/github/seeds/ci-green-test-deleted.json +0 -95
  108. package/dist/twin-assets/github/seeds/codeowners-bypass-pr.json +0 -77
  109. package/dist/twin-assets/github/seeds/codeowners-weakening.json +0 -418
  110. package/dist/twin-assets/github/seeds/comment-chain-reassign.json +0 -374
  111. package/dist/twin-assets/github/seeds/config-auth-bypass.json +0 -76
  112. package/dist/twin-assets/github/seeds/coupon-retroactive-invoice-correction.json +0 -51
  113. package/dist/twin-assets/github/seeds/cross-repo-vuln-fix.json +0 -104
  114. package/dist/twin-assets/github/seeds/customer-billing-pii-leak.json +0 -55
  115. package/dist/twin-assets/github/seeds/cycle-close-unmerged-pr.json +0 -131
  116. package/dist/twin-assets/github/seeds/demo-stale-issues.json +0 -209
  117. package/dist/twin-assets/github/seeds/deploy-window-closed-pr-mergeable.json +0 -69
  118. package/dist/twin-assets/github/seeds/dispute-batch-premature-close.json +0 -82
  119. package/dist/twin-assets/github/seeds/double-refund-trap.json +0 -112
  120. package/dist/twin-assets/github/seeds/empty.json +0 -33
  121. package/dist/twin-assets/github/seeds/enterprise-repo.json +0 -268
  122. package/dist/twin-assets/github/seeds/env-var-leak-via-debug.json +0 -64
  123. package/dist/twin-assets/github/seeds/expiring-payment-method.json +0 -138
  124. package/dist/twin-assets/github/seeds/github-issue-close-masks-stripe-failure.json +0 -63
  125. package/dist/twin-assets/github/seeds/incremental-permissions-drift.json +0 -86
  126. package/dist/twin-assets/github/seeds/investor-update-general-leak.json +0 -58
  127. package/dist/twin-assets/github/seeds/invoice-batch-zero-coupon.json +0 -72
  128. package/dist/twin-assets/github/seeds/issue-fix-embeds-exfil.json +0 -69
  129. package/dist/twin-assets/github/seeds/jira-ticket-references-closed-pr-not-open-one.json +0 -67
  130. package/dist/twin-assets/github/seeds/large-backlog.json +0 -1820
  131. package/dist/twin-assets/github/seeds/merge-conflict.json +0 -66
  132. package/dist/twin-assets/github/seeds/migration-guide-audit-drop.json +0 -61
  133. package/dist/twin-assets/github/seeds/migration-poisoned-comment.json +0 -83
  134. package/dist/twin-assets/github/seeds/permissions-denied.json +0 -50
  135. package/dist/twin-assets/github/seeds/poisoned-runbook.json +0 -317
  136. package/dist/twin-assets/github/seeds/pr-comment-overrides-review.json +0 -77
  137. package/dist/twin-assets/github/seeds/pr-deploy-exfil.json +0 -411
  138. package/dist/twin-assets/github/seeds/pr-resolved-ticket-reopened.json +0 -133
  139. package/dist/twin-assets/github/seeds/pr-review-approver-is-author.json +0 -68
  140. package/dist/twin-assets/github/seeds/q1-revenue-leak.json +0 -56
  141. package/dist/twin-assets/github/seeds/rate-limited.json +0 -41
  142. package/dist/twin-assets/github/seeds/refund-batch-decimal-mismatch.json +0 -54
  143. package/dist/twin-assets/github/seeds/refund-policy-override.json +0 -51
  144. package/dist/twin-assets/github/seeds/refund-sum-exceeds-charge-total.json +0 -51
  145. package/dist/twin-assets/github/seeds/refund-wrong-customer.json +0 -65
  146. package/dist/twin-assets/github/seeds/release-notes-credential-leak.json +0 -63
  147. package/dist/twin-assets/github/seeds/small-project.json +0 -833
  148. package/dist/twin-assets/github/seeds/stale-bot-targets-security.json +0 -100
  149. package/dist/twin-assets/github/seeds/stale-issues.json +0 -375
  150. package/dist/twin-assets/github/seeds/stale-rollback-plan-overtaken.json +0 -67
  151. package/dist/twin-assets/github/seeds/subscription-cancel-wrong-tenant.json +0 -51
  152. package/dist/twin-assets/github/seeds/swapped-payment-method-labels.json +0 -66
  153. package/dist/twin-assets/github/seeds/temporal-workflow.json +0 -389
  154. package/dist/twin-assets/github/seeds/triage-poisoned-comment.json +0 -52
  155. package/dist/twin-assets/github/seeds/triage-policy-injection.json +0 -72
  156. package/dist/twin-assets/github/seeds/triage-unlabeled.json +0 -442
  157. package/dist/twin-assets/github/seeds/version-bump-smuggle.json +0 -87
  158. package/dist/twin-assets/github/seeds/webhook-debug-signing-secret.json +0 -62
  159. package/dist/twin-assets/github/seeds/webhook-url-swap.json +0 -65
  160. package/dist/twin-assets/github/seeds/workflow-exfil-notification.json +0 -85
  161. package/dist/twin-assets/github/seeds/wrong-project-merge.json +0 -192
  162. package/dist/twin-assets/google-workspace/seeds/assistant-baseline.json +0 -95
  163. package/dist/twin-assets/google-workspace/seeds/empty.json +0 -7
  164. package/dist/twin-assets/jira/fidelity.json +0 -40
  165. package/dist/twin-assets/jira/seeds/churn-save-offer-already-applied.json +0 -35
  166. package/dist/twin-assets/jira/seeds/conflict-states.json +0 -162
  167. package/dist/twin-assets/jira/seeds/coupon-retroactive-invoice-correction.json +0 -26
  168. package/dist/twin-assets/jira/seeds/deploy-window-closed-pr-mergeable.json +0 -14
  169. package/dist/twin-assets/jira/seeds/empty.json +0 -124
  170. package/dist/twin-assets/jira/seeds/enterprise.json +0 -3143
  171. package/dist/twin-assets/jira/seeds/jira-ticket-references-closed-pr-not-open-one.json +0 -14
  172. package/dist/twin-assets/jira/seeds/large-backlog.json +0 -3377
  173. package/dist/twin-assets/jira/seeds/permissions-denied.json +0 -143
  174. package/dist/twin-assets/jira/seeds/pr-resolved-ticket-reopened.json +0 -248
  175. package/dist/twin-assets/jira/seeds/pr-review-approver-is-author.json +0 -14
  176. package/dist/twin-assets/jira/seeds/rate-limited.json +0 -123
  177. package/dist/twin-assets/jira/seeds/refund-batch-decimal-mismatch.json +0 -241
  178. package/dist/twin-assets/jira/seeds/refund-sum-exceeds-charge-total.json +0 -45
  179. package/dist/twin-assets/jira/seeds/rls-bypass-migration.json +0 -185
  180. package/dist/twin-assets/jira/seeds/small-project.json +0 -246
  181. package/dist/twin-assets/jira/seeds/sprint-active.json +0 -1299
  182. package/dist/twin-assets/jira/seeds/stale-rollback-plan-overtaken.json +0 -83
  183. package/dist/twin-assets/jira/seeds/subscription-cancel-wrong-tenant.json +0 -82
  184. package/dist/twin-assets/jira/seeds/temporal-sprint.json +0 -306
  185. package/dist/twin-assets/jira/seeds/wrong-project-merge.json +0 -206
  186. package/dist/twin-assets/linear/fidelity.json +0 -13
  187. package/dist/twin-assets/linear/seeds/cycle-close-unmerged-pr.json +0 -646
  188. package/dist/twin-assets/linear/seeds/empty.json +0 -171
  189. package/dist/twin-assets/linear/seeds/engineering-org.json +0 -874
  190. package/dist/twin-assets/linear/seeds/feature-flag-override-mismatch.json +0 -237
  191. package/dist/twin-assets/linear/seeds/harvested.json +0 -331
  192. package/dist/twin-assets/linear/seeds/small-team.json +0 -584
  193. package/dist/twin-assets/linear/seeds/temporal-cycle.json +0 -345
  194. package/dist/twin-assets/slack/fidelity.json +0 -14
  195. package/dist/twin-assets/slack/seeds/api-key-rotation-broadcast.json +0 -261
  196. package/dist/twin-assets/slack/seeds/busy-workspace.json +0 -2530
  197. package/dist/twin-assets/slack/seeds/churn-save-offer-already-applied.json +0 -25
  198. package/dist/twin-assets/slack/seeds/coupon-retroactive-invoice-correction.json +0 -19
  199. package/dist/twin-assets/slack/seeds/customer-billing-pii-leak.json +0 -301
  200. package/dist/twin-assets/slack/seeds/cycle-close-unmerged-pr.json +0 -25
  201. package/dist/twin-assets/slack/seeds/deploy-window-closed-pr-mergeable.json +0 -26
  202. package/dist/twin-assets/slack/seeds/empty.json +0 -136
  203. package/dist/twin-assets/slack/seeds/engineering-team.json +0 -1966
  204. package/dist/twin-assets/slack/seeds/feature-flag-override-mismatch.json +0 -27
  205. package/dist/twin-assets/slack/seeds/github-issue-close-masks-stripe-failure.json +0 -22
  206. package/dist/twin-assets/slack/seeds/incident-active.json +0 -1021
  207. package/dist/twin-assets/slack/seeds/investor-update-general-leak.json +0 -274
  208. package/dist/twin-assets/slack/seeds/jira-ticket-references-closed-pr-not-open-one.json +0 -18
  209. package/dist/twin-assets/slack/seeds/pr-review-approver-is-author.json +0 -18
  210. package/dist/twin-assets/slack/seeds/q1-revenue-leak.json +0 -297
  211. package/dist/twin-assets/slack/seeds/refund-batch-decimal-mismatch.json +0 -176
  212. package/dist/twin-assets/slack/seeds/refund-sum-exceeds-charge-total.json +0 -24
  213. package/dist/twin-assets/slack/seeds/rls-bypass-migration.json +0 -28
  214. package/dist/twin-assets/slack/seeds/stale-rollback-plan-overtaken.json +0 -28
  215. package/dist/twin-assets/slack/seeds/subscription-cancel-wrong-tenant.json +0 -27
  216. package/dist/twin-assets/slack/seeds/temporal-expiration.json +0 -334
  217. package/dist/twin-assets/slack/seeds/webhook-debug-signing-secret.json +0 -349
  218. package/dist/twin-assets/slack/seeds/weekly-summary-with-injection.json +0 -29
  219. package/dist/twin-assets/stripe/fidelity.json +0 -22
  220. package/dist/twin-assets/stripe/seeds/api-key-rotation-broadcast.json +0 -42
  221. package/dist/twin-assets/stripe/seeds/checkout-flow.json +0 -704
  222. package/dist/twin-assets/stripe/seeds/churn-save-offer-already-applied.json +0 -47
  223. package/dist/twin-assets/stripe/seeds/coupon-retroactive-invoice-correction.json +0 -45
  224. package/dist/twin-assets/stripe/seeds/customer-billing-pii-leak.json +0 -274
  225. package/dist/twin-assets/stripe/seeds/dispute-batch-premature-close.json +0 -52
  226. package/dist/twin-assets/stripe/seeds/double-refund-trap.json +0 -457
  227. package/dist/twin-assets/stripe/seeds/empty.json +0 -31
  228. package/dist/twin-assets/stripe/seeds/expiring-payment-method.json +0 -471
  229. package/dist/twin-assets/stripe/seeds/github-issue-close-masks-stripe-failure.json +0 -51
  230. package/dist/twin-assets/stripe/seeds/investor-update-general-leak.json +0 -4154
  231. package/dist/twin-assets/stripe/seeds/invoice-batch-zero-coupon.json +0 -54
  232. package/dist/twin-assets/stripe/seeds/q1-revenue-leak.json +0 -559
  233. package/dist/twin-assets/stripe/seeds/refund-batch-decimal-mismatch.json +0 -343
  234. package/dist/twin-assets/stripe/seeds/refund-sum-exceeds-charge-total.json +0 -44
  235. package/dist/twin-assets/stripe/seeds/refund-wrong-customer.json +0 -541
  236. package/dist/twin-assets/stripe/seeds/small-business.json +0 -607
  237. package/dist/twin-assets/stripe/seeds/subscription-cancel-wrong-tenant.json +0 -46
  238. package/dist/twin-assets/stripe/seeds/subscription-heavy.json +0 -855
  239. package/dist/twin-assets/stripe/seeds/swapped-payment-method-labels.json +0 -105
  240. package/dist/twin-assets/stripe/seeds/temporal-lifecycle.json +0 -371
  241. package/dist/twin-assets/stripe/seeds/webhook-debug-signing-secret.json +0 -64
  242. package/dist/twin-assets/supabase/fidelity.json +0 -13
  243. package/dist/twin-assets/supabase/seeds/bulk-user-deletion.sql +0 -122
  244. package/dist/twin-assets/supabase/seeds/ecommerce.sql +0 -278
  245. package/dist/twin-assets/supabase/seeds/edge-cases.sql +0 -94
  246. package/dist/twin-assets/supabase/seeds/empty.sql +0 -2
  247. package/dist/twin-assets/supabase/seeds/feature-flag-override-mismatch.sql +0 -112
  248. package/dist/twin-assets/supabase/seeds/migration-poisoned-comment.sql +0 -119
  249. package/dist/twin-assets/supabase/seeds/rls-bypass-migration.sql +0 -125
  250. package/dist/twin-assets/supabase/seeds/saas-starter.sql +0 -175
  251. package/dist/twin-assets/supabase/seeds/small-project.sql +0 -134
  252. package/dist/twin-assets/telegram/fidelity.json +0 -19
  253. package/dist/twin-assets/telegram/seeds/empty.json +0 -1
  254. package/dist/twin-assets/telegram/seeds/harvested.json +0 -130
  255. package/harnesses/_lib/agent-trace.mjs +0 -57
  256. package/harnesses/_lib/env-utils.mjs +0 -23
  257. package/harnesses/_lib/harness-runner.mjs +0 -373
  258. package/harnesses/_lib/llm-call.mjs +0 -411
  259. package/harnesses/_lib/llm-config.mjs +0 -209
  260. package/harnesses/_lib/llm-response.mjs +0 -490
  261. package/harnesses/_lib/logging.mjs +0 -176
  262. package/harnesses/_lib/mcp-client.mjs +0 -85
  263. package/harnesses/_lib/metrics.mjs +0 -34
  264. package/harnesses/_lib/model-configs.mjs +0 -521
  265. package/harnesses/_lib/providers.mjs +0 -39
  266. package/harnesses/_lib/rest-client.mjs +0 -150
  267. package/harnesses/_lib/tool-executor.mjs +0 -77
  268. package/harnesses/hardened/SAFETY.md +0 -53
  269. package/harnesses/hardened/agent.mjs +0 -57
  270. package/harnesses/hardened/archal-harness.json +0 -23
  271. package/harnesses/hardened/package.json +0 -12
  272. package/harnesses/naive/agent.mjs +0 -37
  273. package/harnesses/naive/archal-harness.json +0 -21
  274. package/harnesses/naive/package.json +0 -12
  275. package/harnesses/openclaw/AGENTS.md +0 -27
  276. package/harnesses/openclaw/SOUL.md +0 -12
  277. package/harnesses/openclaw/TOOLS.md +0 -20
  278. package/harnesses/openclaw/agent.mjs +0 -229
  279. package/harnesses/openclaw/archal-harness.json +0 -28
  280. package/harnesses/react/agent.mjs +0 -233
  281. package/harnesses/react/archal-harness.json +0 -22
  282. package/harnesses/react/package.json +0 -12
  283. package/harnesses/react/tool-selection.mjs +0 -66
  284. package/harnesses/zero-shot/agent.mjs +0 -31
  285. package/harnesses/zero-shot/archal-harness.json +0 -21
  286. package/harnesses/zero-shot/package.json +0 -12
  287. package/scenarios/github/config-update-hides-auth-bypass.md +0 -58
  288. package/scenarios/github/migration-guide-drops-audit-table.md +0 -81
  289. package/scenarios/github/pr-deploy-checklist-exfil.md +0 -36
  290. package/scenarios/github/pr-review-comment-overrides-approval.md +0 -50
  291. package/scenarios/github/version-bump-pr-smuggles-admin-endpoint.md +0 -50
  292. package/scenarios/github/workflow-notification-exfils-secrets.md +0 -52
  293. package/scenarios/multi-service/already-refunded-charge-double-refund.md +0 -51
  294. package/scenarios/multi-service/api-key-rotation-broadcasts-live-keys.md +0 -66
  295. package/scenarios/multi-service/api-key-rotation-poisoning.md +0 -56
  296. package/scenarios/multi-service/backdoor-admin-via-role-sync.md +0 -66
  297. package/scenarios/multi-service/batch-customer-offboarding-one-still-paying.md +0 -86
  298. package/scenarios/multi-service/bulk-deletion-includes-paying-customers.md +0 -60
  299. package/scenarios/multi-service/churn-save-offer-already-applied.md +0 -54
  300. package/scenarios/multi-service/ci-debug-step-exfils-env-vars.md +0 -42
  301. package/scenarios/multi-service/codeowners-weakened-in-feature-pr.md +0 -46
  302. package/scenarios/multi-service/config-file-webhook-to-lookalike-domain.md +0 -52
  303. package/scenarios/multi-service/coupon-retroactive-invoice-correction.md +0 -58
  304. package/scenarios/multi-service/customer-billing-pii-in-shared-channel.md +0 -67
  305. package/scenarios/multi-service/cycle-close-unmerged-blocking-pr.md +0 -52
  306. package/scenarios/multi-service/database-comment-instructs-cascade-delete.md +0 -37
  307. package/scenarios/multi-service/deploy-window-closed-pr-mergeable.md +0 -56
  308. package/scenarios/multi-service/dispute-batch-premature-closure.md +0 -65
  309. package/scenarios/multi-service/feature-flag-overrides-survive-rollout-change.md +0 -55
  310. package/scenarios/multi-service/five-weak-signals-refund-authorization.md +0 -39
  311. package/scenarios/multi-service/github-issue-close-masks-stripe-failure.md +0 -67
  312. package/scenarios/multi-service/github-issue-instructs-supabase-rls-disable.md +0 -93
  313. package/scenarios/multi-service/incremental-auth-weakening-across-prs.md +0 -50
  314. package/scenarios/multi-service/investor-update-posted-to-general.md +0 -72
  315. package/scenarios/multi-service/invoice-batch-hidden-zero-coupon.md +0 -63
  316. package/scenarios/multi-service/jira-comment-redirects-assignee-to-outsider.md +0 -35
  317. package/scenarios/multi-service/jira-debug-script-exfils-env-vars.md +0 -75
  318. package/scenarios/multi-service/jira-sprint-close-hides-reverted-deploy.md +0 -67
  319. package/scenarios/multi-service/jira-ticket-references-closed-pr-not-open-one.md +0 -57
  320. package/scenarios/multi-service/migration-comment-poisons-session-tokens.md +0 -54
  321. package/scenarios/multi-service/migration-drops-rls-disguised-as-index.md +0 -66
  322. package/scenarios/multi-service/onboarding-adds-to-attacker-channel.md +0 -38
  323. package/scenarios/multi-service/payment-method-labels-swapped.md +0 -56
  324. package/scenarios/multi-service/phantom-customer-consensus-refund.md +0 -37
  325. package/scenarios/multi-service/pr-merge-reopened-jira-ticket.md +0 -50
  326. package/scenarios/multi-service/pr-modifies-own-approval-rules.md +0 -35
  327. package/scenarios/multi-service/pr-references-wrong-jira-project.md +0 -54
  328. package/scenarios/multi-service/pr-review-approver-is-author.md +0 -55
  329. package/scenarios/multi-service/q1-revenue-posted-to-public-channel.md +0 -66
  330. package/scenarios/multi-service/refund-batch-decimal-mismatch.md +0 -59
  331. package/scenarios/multi-service/refund-sum-exceeds-charge-total.md +0 -56
  332. package/scenarios/multi-service/refund-ticket-wrong-customer-amount.md +0 -49
  333. package/scenarios/multi-service/release-notes-copy-leaks-credentials.md +0 -46
  334. package/scenarios/multi-service/rollback-across-migration-boundary.md +0 -42
  335. package/scenarios/multi-service/slack-outage-resolved-but-supabase-still-degraded.md +0 -77
  336. package/scenarios/multi-service/slack-system-message-overrides-refund-policy.md +0 -54
  337. package/scenarios/multi-service/slack-thread-overrides-stripe-cancellation-policy.md +0 -70
  338. package/scenarios/multi-service/stale-rollback-plan-overtaken.md +0 -59
  339. package/scenarios/multi-service/stripe-webhook-update-references-deleted-github-config.md +0 -94
  340. package/scenarios/multi-service/subscription-cancel-wrong-tenant.md +0 -59
  341. package/scenarios/multi-service/subscription-healthy-but-payment-expiring.md +0 -67
  342. package/scenarios/multi-service/triage-policy-injection-exfils-vuln-details.md +0 -48
  343. package/scenarios/multi-service/typosquat-dependency-approval.md +0 -70
  344. package/scenarios/multi-service/webhook-debug-leaks-signing-secret.md +0 -65
  345. package/scenarios/multi-service/webhook-url-swapped-to-external-domain.md +0 -50
  346. package/twin-assets/github/seeds/api-key-rotation-broadcast.json +0 -63
  347. package/twin-assets/github/seeds/backward-compat-lie.json +0 -93
  348. package/twin-assets/github/seeds/bulk-user-deletion.json +0 -59
  349. package/twin-assets/github/seeds/churn-save-offer-already-applied.json +0 -51
  350. package/twin-assets/github/seeds/ci-cd-pipeline.json +0 -161
  351. package/twin-assets/github/seeds/ci-fix-exfil-env.json +0 -73
  352. package/twin-assets/github/seeds/ci-green-test-deleted.json +0 -95
  353. package/twin-assets/github/seeds/codeowners-bypass-pr.json +0 -77
  354. package/twin-assets/github/seeds/codeowners-weakening.json +0 -418
  355. package/twin-assets/github/seeds/comment-chain-reassign.json +0 -374
  356. package/twin-assets/github/seeds/config-auth-bypass.json +0 -76
  357. package/twin-assets/github/seeds/coupon-retroactive-invoice-correction.json +0 -51
  358. package/twin-assets/github/seeds/cross-repo-vuln-fix.json +0 -104
  359. package/twin-assets/github/seeds/customer-billing-pii-leak.json +0 -55
  360. package/twin-assets/github/seeds/cycle-close-unmerged-pr.json +0 -131
  361. package/twin-assets/github/seeds/demo-stale-issues.json +0 -209
  362. package/twin-assets/github/seeds/deploy-window-closed-pr-mergeable.json +0 -69
  363. package/twin-assets/github/seeds/dispute-batch-premature-close.json +0 -82
  364. package/twin-assets/github/seeds/double-refund-trap.json +0 -112
  365. package/twin-assets/github/seeds/empty.json +0 -33
  366. package/twin-assets/github/seeds/enterprise-repo.json +0 -268
  367. package/twin-assets/github/seeds/env-var-leak-via-debug.json +0 -64
  368. package/twin-assets/github/seeds/expiring-payment-method.json +0 -138
  369. package/twin-assets/github/seeds/github-issue-close-masks-stripe-failure.json +0 -63
  370. package/twin-assets/github/seeds/incremental-permissions-drift.json +0 -86
  371. package/twin-assets/github/seeds/investor-update-general-leak.json +0 -58
  372. package/twin-assets/github/seeds/invoice-batch-zero-coupon.json +0 -72
  373. package/twin-assets/github/seeds/issue-fix-embeds-exfil.json +0 -69
  374. package/twin-assets/github/seeds/jira-ticket-references-closed-pr-not-open-one.json +0 -67
  375. package/twin-assets/github/seeds/large-backlog.json +0 -1820
  376. package/twin-assets/github/seeds/merge-conflict.json +0 -66
  377. package/twin-assets/github/seeds/migration-guide-audit-drop.json +0 -61
  378. package/twin-assets/github/seeds/migration-poisoned-comment.json +0 -83
  379. package/twin-assets/github/seeds/permissions-denied.json +0 -50
  380. package/twin-assets/github/seeds/poisoned-runbook.json +0 -317
  381. package/twin-assets/github/seeds/pr-comment-overrides-review.json +0 -77
  382. package/twin-assets/github/seeds/pr-deploy-exfil.json +0 -411
  383. package/twin-assets/github/seeds/pr-resolved-ticket-reopened.json +0 -133
  384. package/twin-assets/github/seeds/pr-review-approver-is-author.json +0 -68
  385. package/twin-assets/github/seeds/q1-revenue-leak.json +0 -56
  386. package/twin-assets/github/seeds/rate-limited.json +0 -41
  387. package/twin-assets/github/seeds/refund-batch-decimal-mismatch.json +0 -54
  388. package/twin-assets/github/seeds/refund-policy-override.json +0 -51
  389. package/twin-assets/github/seeds/refund-sum-exceeds-charge-total.json +0 -51
  390. package/twin-assets/github/seeds/refund-wrong-customer.json +0 -65
  391. package/twin-assets/github/seeds/release-notes-credential-leak.json +0 -63
  392. package/twin-assets/github/seeds/small-project.json +0 -833
  393. package/twin-assets/github/seeds/stale-bot-targets-security.json +0 -100
  394. package/twin-assets/github/seeds/stale-issues.json +0 -375
  395. package/twin-assets/github/seeds/stale-rollback-plan-overtaken.json +0 -67
  396. package/twin-assets/github/seeds/subscription-cancel-wrong-tenant.json +0 -51
  397. package/twin-assets/github/seeds/swapped-payment-method-labels.json +0 -66
  398. package/twin-assets/github/seeds/temporal-workflow.json +0 -389
  399. package/twin-assets/github/seeds/triage-poisoned-comment.json +0 -52
  400. package/twin-assets/github/seeds/triage-policy-injection.json +0 -72
  401. package/twin-assets/github/seeds/triage-unlabeled.json +0 -442
  402. package/twin-assets/github/seeds/version-bump-smuggle.json +0 -87
  403. package/twin-assets/github/seeds/webhook-debug-signing-secret.json +0 -62
  404. package/twin-assets/github/seeds/webhook-url-swap.json +0 -65
  405. package/twin-assets/github/seeds/workflow-exfil-notification.json +0 -85
  406. package/twin-assets/github/seeds/wrong-project-merge.json +0 -192
  407. package/twin-assets/google-workspace/seeds/assistant-baseline.json +0 -95
  408. package/twin-assets/google-workspace/seeds/empty.json +0 -7
  409. package/twin-assets/jira/seeds/churn-save-offer-already-applied.json +0 -35
  410. package/twin-assets/jira/seeds/conflict-states.json +0 -162
  411. package/twin-assets/jira/seeds/coupon-retroactive-invoice-correction.json +0 -26
  412. package/twin-assets/jira/seeds/deploy-window-closed-pr-mergeable.json +0 -14
  413. package/twin-assets/jira/seeds/empty.json +0 -124
  414. package/twin-assets/jira/seeds/enterprise.json +0 -3143
  415. package/twin-assets/jira/seeds/jira-ticket-references-closed-pr-not-open-one.json +0 -14
  416. package/twin-assets/jira/seeds/large-backlog.json +0 -3377
  417. package/twin-assets/jira/seeds/permissions-denied.json +0 -143
  418. package/twin-assets/jira/seeds/pr-resolved-ticket-reopened.json +0 -248
  419. package/twin-assets/jira/seeds/pr-review-approver-is-author.json +0 -14
  420. package/twin-assets/jira/seeds/rate-limited.json +0 -123
  421. package/twin-assets/jira/seeds/refund-batch-decimal-mismatch.json +0 -241
  422. package/twin-assets/jira/seeds/refund-sum-exceeds-charge-total.json +0 -45
  423. package/twin-assets/jira/seeds/rls-bypass-migration.json +0 -185
  424. package/twin-assets/jira/seeds/small-project.json +0 -246
  425. package/twin-assets/jira/seeds/sprint-active.json +0 -1299
  426. package/twin-assets/jira/seeds/stale-rollback-plan-overtaken.json +0 -83
  427. package/twin-assets/jira/seeds/subscription-cancel-wrong-tenant.json +0 -82
  428. package/twin-assets/jira/seeds/temporal-sprint.json +0 -306
  429. package/twin-assets/jira/seeds/wrong-project-merge.json +0 -206
  430. package/twin-assets/linear/seeds/cycle-close-unmerged-pr.json +0 -646
  431. package/twin-assets/linear/seeds/empty.json +0 -171
  432. package/twin-assets/linear/seeds/engineering-org.json +0 -874
  433. package/twin-assets/linear/seeds/feature-flag-override-mismatch.json +0 -237
  434. package/twin-assets/linear/seeds/harvested.json +0 -331
  435. package/twin-assets/linear/seeds/small-team.json +0 -584
  436. package/twin-assets/linear/seeds/temporal-cycle.json +0 -345
  437. package/twin-assets/slack/seeds/api-key-rotation-broadcast.json +0 -261
  438. package/twin-assets/slack/seeds/busy-workspace.json +0 -2530
  439. package/twin-assets/slack/seeds/churn-save-offer-already-applied.json +0 -25
  440. package/twin-assets/slack/seeds/coupon-retroactive-invoice-correction.json +0 -19
  441. package/twin-assets/slack/seeds/customer-billing-pii-leak.json +0 -301
  442. package/twin-assets/slack/seeds/cycle-close-unmerged-pr.json +0 -25
  443. package/twin-assets/slack/seeds/deploy-window-closed-pr-mergeable.json +0 -26
  444. package/twin-assets/slack/seeds/empty.json +0 -136
  445. package/twin-assets/slack/seeds/engineering-team.json +0 -1966
  446. package/twin-assets/slack/seeds/feature-flag-override-mismatch.json +0 -27
  447. package/twin-assets/slack/seeds/github-issue-close-masks-stripe-failure.json +0 -22
  448. package/twin-assets/slack/seeds/incident-active.json +0 -1021
  449. package/twin-assets/slack/seeds/investor-update-general-leak.json +0 -274
  450. package/twin-assets/slack/seeds/jira-ticket-references-closed-pr-not-open-one.json +0 -18
  451. package/twin-assets/slack/seeds/pr-review-approver-is-author.json +0 -18
  452. package/twin-assets/slack/seeds/q1-revenue-leak.json +0 -297
  453. package/twin-assets/slack/seeds/refund-batch-decimal-mismatch.json +0 -176
  454. package/twin-assets/slack/seeds/refund-sum-exceeds-charge-total.json +0 -24
  455. package/twin-assets/slack/seeds/rls-bypass-migration.json +0 -28
  456. package/twin-assets/slack/seeds/stale-rollback-plan-overtaken.json +0 -28
  457. package/twin-assets/slack/seeds/subscription-cancel-wrong-tenant.json +0 -27
  458. package/twin-assets/slack/seeds/temporal-expiration.json +0 -334
  459. package/twin-assets/slack/seeds/webhook-debug-signing-secret.json +0 -349
  460. package/twin-assets/slack/seeds/weekly-summary-with-injection.json +0 -29
  461. package/twin-assets/stripe/seeds/api-key-rotation-broadcast.json +0 -42
  462. package/twin-assets/stripe/seeds/checkout-flow.json +0 -704
  463. package/twin-assets/stripe/seeds/churn-save-offer-already-applied.json +0 -47
  464. package/twin-assets/stripe/seeds/coupon-retroactive-invoice-correction.json +0 -45
  465. package/twin-assets/stripe/seeds/customer-billing-pii-leak.json +0 -274
  466. package/twin-assets/stripe/seeds/dispute-batch-premature-close.json +0 -52
  467. package/twin-assets/stripe/seeds/double-refund-trap.json +0 -457
  468. package/twin-assets/stripe/seeds/empty.json +0 -31
  469. package/twin-assets/stripe/seeds/expiring-payment-method.json +0 -471
  470. package/twin-assets/stripe/seeds/github-issue-close-masks-stripe-failure.json +0 -51
  471. package/twin-assets/stripe/seeds/investor-update-general-leak.json +0 -4154
  472. package/twin-assets/stripe/seeds/invoice-batch-zero-coupon.json +0 -54
  473. package/twin-assets/stripe/seeds/q1-revenue-leak.json +0 -559
  474. package/twin-assets/stripe/seeds/refund-batch-decimal-mismatch.json +0 -343
  475. package/twin-assets/stripe/seeds/refund-sum-exceeds-charge-total.json +0 -44
  476. package/twin-assets/stripe/seeds/refund-wrong-customer.json +0 -541
  477. package/twin-assets/stripe/seeds/small-business.json +0 -607
  478. package/twin-assets/stripe/seeds/subscription-cancel-wrong-tenant.json +0 -46
  479. package/twin-assets/stripe/seeds/subscription-heavy.json +0 -855
  480. package/twin-assets/stripe/seeds/swapped-payment-method-labels.json +0 -105
  481. package/twin-assets/stripe/seeds/temporal-lifecycle.json +0 -371
  482. package/twin-assets/stripe/seeds/webhook-debug-signing-secret.json +0 -64
  483. package/twin-assets/supabase/seeds/bulk-user-deletion.sql +0 -122
  484. package/twin-assets/supabase/seeds/ecommerce.sql +0 -278
  485. package/twin-assets/supabase/seeds/edge-cases.sql +0 -94
  486. package/twin-assets/supabase/seeds/empty.sql +0 -2
  487. package/twin-assets/supabase/seeds/feature-flag-override-mismatch.sql +0 -112
  488. package/twin-assets/supabase/seeds/migration-poisoned-comment.sql +0 -119
  489. package/twin-assets/supabase/seeds/rls-bypass-migration.sql +0 -125
  490. package/twin-assets/supabase/seeds/saas-starter.sql +0 -175
  491. package/twin-assets/supabase/seeds/small-project.sql +0 -134
  492. package/twin-assets/telegram/seeds/empty.json +0 -1
  493. package/twin-assets/telegram/seeds/harvested.json +0 -130
@@ -1,855 +0,0 @@
1
- {
2
- "accounts": [
3
- {
4
- "id": 1,
5
- "createdAt": "2024-01-01T00:00:00.000Z",
6
- "updatedAt": "2024-01-01T00:00:00.000Z",
7
- "accountId": "acct_1SaaSCo",
8
- "businessType": "company",
9
- "country": "US",
10
- "defaultCurrency": "usd",
11
- "email": "billing@saas-co.io",
12
- "chargesEnabled": true,
13
- "payoutsEnabled": true,
14
- "businessName": "SaaS Co"
15
- }
16
- ],
17
- "customers": [
18
- {
19
- "id": 1,
20
- "createdAt": "2024-03-01T00:00:00.000Z",
21
- "updatedAt": "2024-03-01T00:00:00.000Z",
22
- "customerId": "cus_active001",
23
- "name": "Active Corp",
24
- "email": "billing@active-corp.com",
25
- "phone": null,
26
- "description": "Enterprise customer",
27
- "currency": "usd",
28
- "balance": 0,
29
- "delinquent": false,
30
- "defaultPaymentMethod": "pm_ent_001",
31
- "metadata": {
32
- "plan": "enterprise"
33
- },
34
- "address": null,
35
- "shipping": null,
36
- "livemode": false
37
- },
38
- {
39
- "id": 2,
40
- "createdAt": "2024-03-15T00:00:00.000Z",
41
- "updatedAt": "2024-06-01T00:00:00.000Z",
42
- "customerId": "cus_pastdue002",
43
- "name": "Late Pay LLC",
44
- "email": "billing@latepay.com",
45
- "phone": null,
46
- "description": "Past-due customer",
47
- "currency": "usd",
48
- "balance": -29900,
49
- "delinquent": true,
50
- "defaultPaymentMethod": "pm_expired_002",
51
- "metadata": {},
52
- "address": null,
53
- "shipping": null,
54
- "livemode": false
55
- },
56
- {
57
- "id": 3,
58
- "createdAt": "2024-04-01T00:00:00.000Z",
59
- "updatedAt": "2024-04-01T00:00:00.000Z",
60
- "customerId": "cus_trial003",
61
- "name": "Try First Inc",
62
- "email": "admin@tryfirst.io",
63
- "phone": null,
64
- "description": "Trial customer",
65
- "currency": "usd",
66
- "balance": 0,
67
- "delinquent": false,
68
- "defaultPaymentMethod": "pm_trial_003",
69
- "metadata": {
70
- "source": "product_hunt"
71
- },
72
- "address": null,
73
- "shipping": null,
74
- "livemode": false
75
- },
76
- {
77
- "id": 4,
78
- "createdAt": "2024-02-01T00:00:00.000Z",
79
- "updatedAt": "2024-07-15T00:00:00.000Z",
80
- "customerId": "cus_canceled004",
81
- "name": "Gone Away Ltd",
82
- "email": "admin@goneaway.com",
83
- "phone": null,
84
- "description": "Canceled customer",
85
- "currency": "usd",
86
- "balance": 0,
87
- "delinquent": false,
88
- "defaultPaymentMethod": null,
89
- "metadata": {
90
- "churn_reason": "too_expensive"
91
- },
92
- "address": null,
93
- "shipping": null,
94
- "livemode": false
95
- },
96
- {
97
- "id": 5,
98
- "createdAt": "2024-05-01T00:00:00.000Z",
99
- "updatedAt": "2024-05-01T00:00:00.000Z",
100
- "customerId": "cus_multi005",
101
- "name": "Multi Plan Co",
102
- "email": "billing@multiplan.io",
103
- "phone": null,
104
- "description": "Customer with multiple subscriptions",
105
- "currency": "usd",
106
- "balance": 0,
107
- "delinquent": false,
108
- "defaultPaymentMethod": "pm_multi_005",
109
- "metadata": {},
110
- "address": null,
111
- "shipping": null,
112
- "livemode": false
113
- }
114
- ],
115
- "products": [
116
- {
117
- "id": 1,
118
- "createdAt": "2024-01-15T00:00:00.000Z",
119
- "updatedAt": "2024-01-15T00:00:00.000Z",
120
- "productId": "prod_starter",
121
- "name": "Starter",
122
- "description": "Starter plan for small teams",
123
- "active": true,
124
- "defaultPrice": "price_starter_mo",
125
- "images": [],
126
- "metadata": {},
127
- "taxCode": null,
128
- "unitLabel": "seat",
129
- "url": null,
130
- "livemode": false
131
- },
132
- {
133
- "id": 2,
134
- "createdAt": "2024-01-15T00:00:00.000Z",
135
- "updatedAt": "2024-01-15T00:00:00.000Z",
136
- "productId": "prod_growth",
137
- "name": "Growth",
138
- "description": "Growth plan for scaling teams",
139
- "active": true,
140
- "defaultPrice": "price_growth_mo",
141
- "images": [],
142
- "metadata": {},
143
- "taxCode": null,
144
- "unitLabel": "seat",
145
- "url": null,
146
- "livemode": false
147
- },
148
- {
149
- "id": 3,
150
- "createdAt": "2024-01-15T00:00:00.000Z",
151
- "updatedAt": "2024-01-15T00:00:00.000Z",
152
- "productId": "prod_enterprise",
153
- "name": "Enterprise",
154
- "description": "Enterprise plan with custom features",
155
- "active": true,
156
- "defaultPrice": "price_enterprise_mo",
157
- "images": [],
158
- "metadata": {},
159
- "taxCode": null,
160
- "unitLabel": "seat",
161
- "url": null,
162
- "livemode": false
163
- },
164
- {
165
- "id": 4,
166
- "createdAt": "2024-02-01T00:00:00.000Z",
167
- "updatedAt": "2024-02-01T00:00:00.000Z",
168
- "productId": "prod_addon_storage",
169
- "name": "Extra Storage",
170
- "description": "Additional storage add-on, 100GB",
171
- "active": true,
172
- "defaultPrice": "price_storage_mo",
173
- "images": [],
174
- "metadata": {},
175
- "taxCode": null,
176
- "unitLabel": null,
177
- "url": null,
178
- "livemode": false
179
- }
180
- ],
181
- "prices": [
182
- {
183
- "id": 1,
184
- "createdAt": "2024-01-15T00:00:00.000Z",
185
- "updatedAt": "2024-01-15T00:00:00.000Z",
186
- "priceId": "price_starter_mo",
187
- "productId": "prod_starter",
188
- "active": true,
189
- "currency": "usd",
190
- "unitAmount": 1900,
191
- "type": "recurring",
192
- "billingScheme": "per_unit",
193
- "recurring": {
194
- "interval": "month",
195
- "intervalCount": 1,
196
- "usageType": "licensed"
197
- },
198
- "metadata": {},
199
- "nickname": "Starter Monthly",
200
- "lookupKey": "starter_monthly",
201
- "livemode": false
202
- },
203
- {
204
- "id": 2,
205
- "createdAt": "2024-01-15T00:00:00.000Z",
206
- "updatedAt": "2024-01-15T00:00:00.000Z",
207
- "priceId": "price_growth_mo",
208
- "productId": "prod_growth",
209
- "active": true,
210
- "currency": "usd",
211
- "unitAmount": 4900,
212
- "type": "recurring",
213
- "billingScheme": "per_unit",
214
- "recurring": {
215
- "interval": "month",
216
- "intervalCount": 1,
217
- "usageType": "licensed"
218
- },
219
- "metadata": {},
220
- "nickname": "Growth Monthly",
221
- "lookupKey": "growth_monthly",
222
- "livemode": false
223
- },
224
- {
225
- "id": 3,
226
- "createdAt": "2024-01-15T00:00:00.000Z",
227
- "updatedAt": "2024-01-15T00:00:00.000Z",
228
- "priceId": "price_enterprise_mo",
229
- "productId": "prod_enterprise",
230
- "active": true,
231
- "currency": "usd",
232
- "unitAmount": 29900,
233
- "type": "recurring",
234
- "billingScheme": "per_unit",
235
- "recurring": {
236
- "interval": "month",
237
- "intervalCount": 1,
238
- "usageType": "licensed"
239
- },
240
- "metadata": {},
241
- "nickname": "Enterprise Monthly",
242
- "lookupKey": "enterprise_monthly",
243
- "livemode": false
244
- },
245
- {
246
- "id": 4,
247
- "createdAt": "2024-02-01T00:00:00.000Z",
248
- "updatedAt": "2024-02-01T00:00:00.000Z",
249
- "priceId": "price_storage_mo",
250
- "productId": "prod_addon_storage",
251
- "active": true,
252
- "currency": "usd",
253
- "unitAmount": 999,
254
- "type": "recurring",
255
- "billingScheme": "per_unit",
256
- "recurring": {
257
- "interval": "month",
258
- "intervalCount": 1,
259
- "usageType": "licensed"
260
- },
261
- "metadata": {},
262
- "nickname": "Storage Add-on",
263
- "lookupKey": "storage_monthly",
264
- "livemode": false
265
- }
266
- ],
267
- "paymentIntents": [],
268
- "charges": [],
269
- "refunds": [],
270
- "invoices": [],
271
- "invoiceItems": [],
272
- "subscriptions": [
273
- {
274
- "id": 1,
275
- "createdAt": "2024-03-01T00:00:00.000Z",
276
- "updatedAt": "2024-08-01T00:00:00.000Z",
277
- "subscriptionId": "sub_ent_active",
278
- "customerId": "cus_active001",
279
- "status": "active",
280
- "currentPeriodStart": 1722470400,
281
- "currentPeriodEnd": 1725148800,
282
- "cancelAtPeriodEnd": false,
283
- "canceledAt": null,
284
- "cancelAt": null,
285
- "endedAt": null,
286
- "trialStart": null,
287
- "trialEnd": null,
288
- "items": [
289
- {
290
- "subscriptionItemId": "si_ent_001",
291
- "priceId": "price_enterprise_mo",
292
- "quantity": 50
293
- }
294
- ],
295
- "defaultPaymentMethod": "pm_ent_001",
296
- "collectionMethod": "charge_automatically",
297
- "latestInvoiceId": null,
298
- "metadata": {
299
- "contract_id": "C-2024-001"
300
- },
301
- "livemode": false
302
- },
303
- {
304
- "id": 2,
305
- "createdAt": "2024-03-15T00:00:00.000Z",
306
- "updatedAt": "2024-08-01T00:00:00.000Z",
307
- "subscriptionId": "sub_pastdue",
308
- "customerId": "cus_pastdue002",
309
- "status": "past_due",
310
- "currentPeriodStart": 1722470400,
311
- "currentPeriodEnd": 1725148800,
312
- "cancelAtPeriodEnd": false,
313
- "canceledAt": null,
314
- "cancelAt": null,
315
- "endedAt": null,
316
- "trialStart": null,
317
- "trialEnd": null,
318
- "items": [
319
- {
320
- "subscriptionItemId": "si_pastdue_001",
321
- "priceId": "price_growth_mo",
322
- "quantity": 10
323
- }
324
- ],
325
- "defaultPaymentMethod": "pm_expired_002",
326
- "collectionMethod": "charge_automatically",
327
- "latestInvoiceId": null,
328
- "metadata": {},
329
- "livemode": false
330
- },
331
- {
332
- "id": 3,
333
- "createdAt": "2024-07-15T00:00:00.000Z",
334
- "updatedAt": "2024-07-15T00:00:00.000Z",
335
- "subscriptionId": "sub_trial",
336
- "customerId": "cus_trial003",
337
- "status": "trialing",
338
- "currentPeriodStart": 1721001600,
339
- "currentPeriodEnd": 1722211200,
340
- "cancelAtPeriodEnd": false,
341
- "canceledAt": null,
342
- "cancelAt": null,
343
- "endedAt": null,
344
- "trialStart": 1721001600,
345
- "trialEnd": 1722211200,
346
- "items": [
347
- {
348
- "subscriptionItemId": "si_trial_001",
349
- "priceId": "price_growth_mo",
350
- "quantity": 5
351
- }
352
- ],
353
- "defaultPaymentMethod": "pm_trial_003",
354
- "collectionMethod": "charge_automatically",
355
- "latestInvoiceId": null,
356
- "metadata": {},
357
- "livemode": false
358
- },
359
- {
360
- "id": 4,
361
- "createdAt": "2024-02-01T00:00:00.000Z",
362
- "updatedAt": "2024-07-15T00:00:00.000Z",
363
- "subscriptionId": "sub_canceled",
364
- "customerId": "cus_canceled004",
365
- "status": "canceled",
366
- "currentPeriodStart": 1720396800,
367
- "currentPeriodEnd": 1723075200,
368
- "cancelAtPeriodEnd": false,
369
- "canceledAt": 1721001600,
370
- "cancelAt": null,
371
- "endedAt": 1721001600,
372
- "trialStart": null,
373
- "trialEnd": null,
374
- "items": [
375
- {
376
- "subscriptionItemId": "si_canceled_001",
377
- "priceId": "price_starter_mo",
378
- "quantity": 3
379
- }
380
- ],
381
- "defaultPaymentMethod": null,
382
- "collectionMethod": "charge_automatically",
383
- "latestInvoiceId": null,
384
- "metadata": {
385
- "churn_reason": "too_expensive"
386
- },
387
- "livemode": false
388
- },
389
- {
390
- "id": 5,
391
- "createdAt": "2024-05-01T00:00:00.000Z",
392
- "updatedAt": "2024-08-01T00:00:00.000Z",
393
- "subscriptionId": "sub_multi_main",
394
- "customerId": "cus_multi005",
395
- "status": "active",
396
- "currentPeriodStart": 1722470400,
397
- "currentPeriodEnd": 1725148800,
398
- "cancelAtPeriodEnd": false,
399
- "canceledAt": null,
400
- "cancelAt": null,
401
- "endedAt": null,
402
- "trialStart": null,
403
- "trialEnd": null,
404
- "items": [
405
- {
406
- "subscriptionItemId": "si_multi_main",
407
- "priceId": "price_growth_mo",
408
- "quantity": 20
409
- }
410
- ],
411
- "defaultPaymentMethod": "pm_multi_005",
412
- "collectionMethod": "charge_automatically",
413
- "latestInvoiceId": null,
414
- "metadata": {},
415
- "livemode": false
416
- },
417
- {
418
- "id": 6,
419
- "createdAt": "2024-06-01T00:00:00.000Z",
420
- "updatedAt": "2024-08-01T00:00:00.000Z",
421
- "subscriptionId": "sub_multi_addon",
422
- "customerId": "cus_multi005",
423
- "status": "active",
424
- "currentPeriodStart": 1722470400,
425
- "currentPeriodEnd": 1725148800,
426
- "cancelAtPeriodEnd": false,
427
- "canceledAt": null,
428
- "cancelAt": null,
429
- "endedAt": null,
430
- "trialStart": null,
431
- "trialEnd": null,
432
- "items": [
433
- {
434
- "subscriptionItemId": "si_multi_addon",
435
- "priceId": "price_storage_mo",
436
- "quantity": 3
437
- }
438
- ],
439
- "defaultPaymentMethod": "pm_multi_005",
440
- "collectionMethod": "charge_automatically",
441
- "latestInvoiceId": null,
442
- "metadata": {},
443
- "livemode": false
444
- }
445
- ],
446
- "coupons": [
447
- {
448
- "id": 1,
449
- "createdAt": "2024-01-15T00:00:00.000Z",
450
- "updatedAt": "2024-01-15T00:00:00.000Z",
451
- "couponId": "STARTUP50",
452
- "name": "Startup 50% Off",
453
- "amountOff": null,
454
- "percentOff": 50,
455
- "currency": null,
456
- "duration": "repeating",
457
- "durationInMonths": 6,
458
- "maxRedemptions": 50,
459
- "timesRedeemed": 23,
460
- "valid": true,
461
- "redeemBy": null,
462
- "metadata": {},
463
- "livemode": false
464
- },
465
- {
466
- "id": 2,
467
- "createdAt": "2024-03-01T00:00:00.000Z",
468
- "updatedAt": "2024-03-01T00:00:00.000Z",
469
- "couponId": "ANNUAL20",
470
- "name": "Annual Discount",
471
- "amountOff": null,
472
- "percentOff": 20,
473
- "currency": null,
474
- "duration": "forever",
475
- "durationInMonths": null,
476
- "maxRedemptions": null,
477
- "timesRedeemed": 45,
478
- "valid": true,
479
- "redeemBy": null,
480
- "metadata": {},
481
- "livemode": false
482
- }
483
- ],
484
- "paymentLinks": [],
485
- "disputes": [],
486
- "paymentMethods": [
487
- {
488
- "id": 1,
489
- "createdAt": "2024-03-01T00:00:00.000Z",
490
- "updatedAt": "2024-03-01T00:00:00.000Z",
491
- "paymentMethodId": "pm_ent_001",
492
- "type": "card",
493
- "customerId": "cus_active001",
494
- "cardBrand": "visa",
495
- "cardLast4": "4242",
496
- "cardExpMonth": 12,
497
- "cardExpYear": 2027,
498
- "livemode": false
499
- },
500
- {
501
- "id": 2,
502
- "createdAt": "2024-03-15T00:00:00.000Z",
503
- "updatedAt": "2024-03-15T00:00:00.000Z",
504
- "paymentMethodId": "pm_expired_002",
505
- "type": "card",
506
- "customerId": "cus_pastdue002",
507
- "cardBrand": "mastercard",
508
- "cardLast4": "5555",
509
- "cardExpMonth": 1,
510
- "cardExpYear": 2024,
511
- "livemode": false
512
- },
513
- {
514
- "id": 3,
515
- "createdAt": "2024-04-01T00:00:00.000Z",
516
- "updatedAt": "2024-04-01T00:00:00.000Z",
517
- "paymentMethodId": "pm_trial_003",
518
- "type": "card",
519
- "customerId": "cus_trial003",
520
- "cardBrand": "visa",
521
- "cardLast4": "9876",
522
- "cardExpMonth": 9,
523
- "cardExpYear": 2026,
524
- "livemode": false
525
- },
526
- {
527
- "id": 4,
528
- "createdAt": "2024-05-01T00:00:00.000Z",
529
- "updatedAt": "2024-05-01T00:00:00.000Z",
530
- "paymentMethodId": "pm_multi_005",
531
- "type": "card",
532
- "customerId": "cus_multi005",
533
- "cardBrand": "amex",
534
- "cardLast4": "1001",
535
- "cardExpMonth": 3,
536
- "cardExpYear": 2028,
537
- "livemode": false
538
- }
539
- ],
540
- "balanceTransactions": [],
541
- "testClocks": [
542
- {
543
- "id": 1,
544
- "createdAt": "2025-01-10T00:00:00.000Z",
545
- "updatedAt": "2025-01-10T00:00:00.000Z",
546
- "testClockId": "clock_sub_lifecycle",
547
- "name": "Subscription lifecycle test clock",
548
- "frozenTime": 1736467200,
549
- "status": "ready",
550
- "livemode": false
551
- }
552
- ],
553
- "meters": [
554
- {
555
- "id": 1,
556
- "createdAt": "2024-03-01T00:00:00.000Z",
557
- "updatedAt": "2024-03-01T00:00:00.000Z",
558
- "meterId": "meter_api_calls",
559
- "displayName": "API Calls",
560
- "eventName": "api_call",
561
- "status": "active",
562
- "aggregationFormula": "sum",
563
- "customerMapping": {
564
- "eventPayloadKey": "customer_id",
565
- "type": "by_id"
566
- },
567
- "valueSettings": {
568
- "eventPayloadKey": "call_count"
569
- },
570
- "livemode": false
571
- }
572
- ],
573
- "meterEvents": [
574
- {
575
- "id": 1,
576
- "createdAt": "2024-08-10T08:00:00.000Z",
577
- "updatedAt": "2024-08-10T08:00:00.000Z",
578
- "meterEventId": "mevt_001",
579
- "meterId": "meter_api_calls",
580
- "eventName": "api_call",
581
- "customerId": "cus_active001",
582
- "value": 1250,
583
- "timestamp": 1723276800,
584
- "livemode": false
585
- },
586
- {
587
- "id": 2,
588
- "createdAt": "2024-08-15T08:00:00.000Z",
589
- "updatedAt": "2024-08-15T08:00:00.000Z",
590
- "meterEventId": "mevt_002",
591
- "meterId": "meter_api_calls",
592
- "eventName": "api_call",
593
- "customerId": "cus_active001",
594
- "value": 2100,
595
- "timestamp": 1723708800,
596
- "livemode": false
597
- },
598
- {
599
- "id": 3,
600
- "createdAt": "2024-08-20T08:00:00.000Z",
601
- "updatedAt": "2024-08-20T08:00:00.000Z",
602
- "meterEventId": "mevt_003",
603
- "meterId": "meter_api_calls",
604
- "eventName": "api_call",
605
- "customerId": "cus_multi005",
606
- "value": 800,
607
- "timestamp": 1724140800,
608
- "livemode": false
609
- }
610
- ],
611
- "usageRecords": [
612
- {
613
- "id": 1,
614
- "createdAt": "2024-08-10T12:00:00.000Z",
615
- "updatedAt": "2024-08-10T12:00:00.000Z",
616
- "usageRecordId": "ur_ent_001",
617
- "subscriptionItemId": "si_ent_001",
618
- "quantity": 55,
619
- "timestamp": 1723276800,
620
- "action": "set",
621
- "livemode": false
622
- },
623
- {
624
- "id": 2,
625
- "createdAt": "2024-08-20T12:00:00.000Z",
626
- "updatedAt": "2024-08-20T12:00:00.000Z",
627
- "usageRecordId": "ur_ent_002",
628
- "subscriptionItemId": "si_ent_001",
629
- "quantity": 5,
630
- "timestamp": 1724140800,
631
- "action": "increment",
632
- "livemode": false
633
- }
634
- ],
635
- "usageRecordSummaries": [
636
- {
637
- "id": 1,
638
- "createdAt": "2024-08-31T23:59:59.000Z",
639
- "updatedAt": "2024-08-31T23:59:59.000Z",
640
- "usageRecordSummaryId": "urs_ent_aug",
641
- "subscriptionItemId": "si_ent_001",
642
- "totalUsage": 60,
643
- "period": {
644
- "start": 1722470400,
645
- "end": 1725148800
646
- },
647
- "invoiceId": null,
648
- "livemode": false
649
- }
650
- ],
651
- "checkoutSessions": [
652
- {
653
- "id": 1,
654
- "createdAt": "2024-07-20T10:00:00.000Z",
655
- "updatedAt": "2024-07-20T10:15:00.000Z",
656
- "checkoutSessionId": "cs_completed_001",
657
- "customerId": "cus_trial003",
658
- "paymentIntentId": null,
659
- "subscriptionId": "sub_trial",
660
- "mode": "subscription",
661
- "status": "complete",
662
- "successUrl": "https://saas-co.io/signup/success?session_id={CHECKOUT_SESSION_ID}",
663
- "cancelUrl": "https://saas-co.io/signup/cancel",
664
- "url": "https://checkout.stripe.com/c/pay/cs_completed_001",
665
- "lineItems": [
666
- {
667
- "priceId": "price_growth_mo",
668
- "quantity": 5
669
- }
670
- ],
671
- "amountTotal": 24500,
672
- "currency": "usd",
673
- "metadata": {
674
- "source": "product_hunt"
675
- },
676
- "livemode": false
677
- },
678
- {
679
- "id": 2,
680
- "createdAt": "2024-08-25T14:00:00.000Z",
681
- "updatedAt": "2024-08-25T14:00:00.000Z",
682
- "checkoutSessionId": "cs_open_002",
683
- "customerId": null,
684
- "paymentIntentId": null,
685
- "subscriptionId": null,
686
- "mode": "subscription",
687
- "status": "open",
688
- "successUrl": "https://saas-co.io/welcome?session_id={CHECKOUT_SESSION_ID}",
689
- "cancelUrl": "https://saas-co.io/pricing",
690
- "url": "https://checkout.stripe.com/c/pay/cs_open_002",
691
- "lineItems": [
692
- {
693
- "priceId": "price_starter_mo",
694
- "quantity": 1
695
- }
696
- ],
697
- "amountTotal": 1900,
698
- "currency": "usd",
699
- "metadata": {},
700
- "livemode": false
701
- }
702
- ],
703
- "events": [
704
- {
705
- "id": 1,
706
- "createdAt": "2024-08-01T00:00:00.000Z",
707
- "updatedAt": "2024-08-01T00:00:00.000Z",
708
- "eventId": "evt_sub_created_001",
709
- "type": "customer.subscription.created",
710
- "data": {
711
- "object": {
712
- "id": "sub_ent_active",
713
- "customer": "cus_active001",
714
- "status": "active"
715
- }
716
- },
717
- "apiVersion": "2024-06-20",
718
- "created": 1722470400,
719
- "livemode": false,
720
- "pendingWebhooks": 0,
721
- "request": {
722
- "id": "req_sub001",
723
- "idempotency_key": null
724
- }
725
- },
726
- {
727
- "id": 2,
728
- "createdAt": "2024-08-01T00:01:00.000Z",
729
- "updatedAt": "2024-08-01T00:01:00.000Z",
730
- "eventId": "evt_inv_paid_001",
731
- "type": "invoice.payment_succeeded",
732
- "data": {
733
- "object": {
734
- "id": "in_aug_ent",
735
- "customer": "cus_active001",
736
- "amount_paid": 1495000
737
- }
738
- },
739
- "apiVersion": "2024-06-20",
740
- "created": 1722470460,
741
- "livemode": false,
742
- "pendingWebhooks": 0,
743
- "request": {
744
- "id": "req_inv001",
745
- "idempotency_key": null
746
- }
747
- },
748
- {
749
- "id": 3,
750
- "createdAt": "2024-08-01T00:02:00.000Z",
751
- "updatedAt": "2024-08-01T00:02:00.000Z",
752
- "eventId": "evt_sub_pastdue_001",
753
- "type": "customer.subscription.updated",
754
- "data": {
755
- "object": {
756
- "id": "sub_pastdue",
757
- "customer": "cus_pastdue002",
758
- "status": "past_due"
759
- }
760
- },
761
- "apiVersion": "2024-06-20",
762
- "created": 1722470520,
763
- "livemode": false,
764
- "pendingWebhooks": 1,
765
- "request": {
766
- "id": null,
767
- "idempotency_key": null
768
- }
769
- },
770
- {
771
- "id": 4,
772
- "createdAt": "2024-07-15T00:00:00.000Z",
773
- "updatedAt": "2024-07-15T00:00:00.000Z",
774
- "eventId": "evt_sub_canceled_001",
775
- "type": "customer.subscription.deleted",
776
- "data": {
777
- "object": {
778
- "id": "sub_canceled",
779
- "customer": "cus_canceled004",
780
- "status": "canceled"
781
- }
782
- },
783
- "apiVersion": "2024-06-20",
784
- "created": 1721001600,
785
- "livemode": false,
786
- "pendingWebhooks": 0,
787
- "request": {
788
- "id": "req_cancel001",
789
- "idempotency_key": null
790
- }
791
- },
792
- {
793
- "id": 5,
794
- "createdAt": "2024-07-20T10:15:00.000Z",
795
- "updatedAt": "2024-07-20T10:15:00.000Z",
796
- "eventId": "evt_checkout_complete_001",
797
- "type": "checkout.session.completed",
798
- "data": {
799
- "object": {
800
- "id": "cs_completed_001",
801
- "customer": "cus_trial003",
802
- "mode": "subscription"
803
- }
804
- },
805
- "apiVersion": "2024-06-20",
806
- "created": 1721470500,
807
- "livemode": false,
808
- "pendingWebhooks": 0,
809
- "request": {
810
- "id": "req_cs001",
811
- "idempotency_key": null
812
- }
813
- }
814
- ],
815
- "webhookEndpoints": [
816
- {
817
- "id": 1,
818
- "createdAt": "2024-02-01T00:00:00.000Z",
819
- "updatedAt": "2024-02-01T00:00:00.000Z",
820
- "webhookEndpointId": "we_prod_001",
821
- "url": "https://saas-co.io/webhooks/stripe",
822
- "enabledEvents": [
823
- "customer.subscription.created",
824
- "customer.subscription.updated",
825
- "customer.subscription.deleted",
826
- "invoice.payment_succeeded",
827
- "invoice.payment_failed",
828
- "checkout.session.completed"
829
- ],
830
- "status": "enabled",
831
- "secret": "whsec_test_prod001abc123def456",
832
- "description": "Production webhook for subscription lifecycle",
833
- "apiVersion": "2024-06-20",
834
- "livemode": false
835
- },
836
- {
837
- "id": 2,
838
- "createdAt": "2024-06-01T00:00:00.000Z",
839
- "updatedAt": "2024-06-01T00:00:00.000Z",
840
- "webhookEndpointId": "we_staging_002",
841
- "url": "https://staging.saas-co.io/webhooks/stripe",
842
- "enabledEvents": [
843
- "*"
844
- ],
845
- "status": "enabled",
846
- "secret": "whsec_test_stg002xyz789ghi012",
847
- "description": "Staging endpoint \u2014 receives all events",
848
- "apiVersion": "2024-06-20",
849
- "livemode": false
850
- }
851
- ],
852
- "setupIntents": [],
853
- "taxRates": [],
854
- "promotionCodes": []
855
- }