@archal/cli 0.7.12 → 0.8.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 (284) hide show
  1. package/README.md +12 -9
  2. package/bin/archal.cjs +15 -0
  3. package/dist/harnesses/_lib/agent-trace.mjs +57 -0
  4. package/dist/harnesses/_lib/logging.mjs +176 -0
  5. package/dist/harnesses/_lib/mcp-client.mjs +80 -0
  6. package/dist/harnesses/_lib/metrics.mjs +34 -0
  7. package/dist/harnesses/_lib/model-configs.mjs +521 -0
  8. package/dist/harnesses/_lib/providers.mjs +1083 -0
  9. package/dist/harnesses/_lib/rest-client.mjs +131 -0
  10. package/dist/harnesses/hardened/SAFETY.md +53 -0
  11. package/dist/harnesses/hardened/agent.mjs +262 -0
  12. package/dist/harnesses/hardened/archal-harness.json +23 -0
  13. package/dist/harnesses/naive/agent.mjs +175 -0
  14. package/dist/harnesses/naive/archal-harness.json +21 -0
  15. package/dist/harnesses/openclaw/AGENTS.md +27 -0
  16. package/dist/harnesses/openclaw/SOUL.md +12 -0
  17. package/dist/harnesses/openclaw/TOOLS.md +20 -0
  18. package/dist/harnesses/openclaw/agent.mjs +229 -0
  19. package/dist/harnesses/openclaw/archal-harness.json +28 -0
  20. package/dist/harnesses/react/agent.mjs +420 -0
  21. package/dist/harnesses/react/archal-harness.json +22 -0
  22. package/dist/harnesses/react/tool-selection.mjs +66 -0
  23. package/dist/harnesses/zero-shot/agent.mjs +211 -0
  24. package/dist/harnesses/zero-shot/archal-harness.json +21 -0
  25. package/dist/index.cjs +59010 -0
  26. package/dist/package.json +69 -0
  27. package/dist/scenarios/approval-spoof.md +32 -0
  28. package/dist/scenarios/audit-leak.md +35 -0
  29. package/dist/scenarios/browser/authorized-purchase-with-confirmation.md +37 -0
  30. package/dist/scenarios/browser/prevent-account-destruction.md +39 -0
  31. package/dist/scenarios/browser/prevent-data-exfiltration.md +39 -0
  32. package/dist/scenarios/browser/resist-prompt-injection.md +37 -0
  33. package/dist/scenarios/browser/unauthorized-purchase.md +36 -0
  34. package/dist/scenarios/bulk-closure-pressure.md +32 -0
  35. package/dist/scenarios/calendar-leak.md +33 -0
  36. package/dist/scenarios/coupon-blast.md +32 -0
  37. package/dist/scenarios/cross-client-leak.md +34 -0
  38. package/dist/scenarios/debug-dump-leak.md +35 -0
  39. package/dist/scenarios/drive-share-leak.md +33 -0
  40. package/dist/scenarios/encoded-exfil.md +33 -0
  41. package/dist/scenarios/exec-impersonation.md +33 -0
  42. package/dist/scenarios/github/close-stale-issues.md +31 -0
  43. package/dist/scenarios/github/cloud-session-bootstrap-smoke.md +30 -0
  44. package/dist/scenarios/github/create-pr-from-spec.md +31 -0
  45. package/dist/scenarios/github/list-and-comment-issues.md +28 -0
  46. package/dist/scenarios/github/manage-release.md +30 -0
  47. package/dist/scenarios/github/review-code-changes.md +30 -0
  48. package/dist/scenarios/github/triage-bugs-by-label.md +31 -0
  49. package/dist/scenarios/linear/close-completed-issues.md +30 -0
  50. package/dist/scenarios/linear/plan-sprint.md +32 -0
  51. package/dist/scenarios/linear/triage-incoming-issues.md +34 -0
  52. package/dist/scenarios/metric-smoothing.md +32 -0
  53. package/dist/scenarios/mirror-patch-confusion.md +31 -0
  54. package/dist/scenarios/multi-service/aggressive-branch-cleanup.md +32 -0
  55. package/dist/scenarios/multi-service/api-key-rotation-poisoning.md +56 -0
  56. package/dist/scenarios/multi-service/backdoor-admin-via-role-sync.md +66 -0
  57. package/dist/scenarios/multi-service/canary-secret-exposure-trap.md +30 -0
  58. package/dist/scenarios/multi-service/cancel-vs-downgrade.md +31 -0
  59. package/dist/scenarios/multi-service/ceo-fraud-via-slack.md +34 -0
  60. package/dist/scenarios/multi-service/client-data-cross-contamination.md +31 -0
  61. package/dist/scenarios/multi-service/confidential-doc-shared.md +32 -0
  62. package/dist/scenarios/multi-service/confidential-meeting-leak.md +32 -0
  63. package/dist/scenarios/multi-service/context-memory-poisoning-release-flow.md +30 -0
  64. package/dist/scenarios/multi-service/credentials-cross-boundary.md +33 -0
  65. package/dist/scenarios/multi-service/cross-tool-instruction-relay-attack.md +31 -0
  66. package/dist/scenarios/multi-service/customer-pii-in-tracker.md +32 -0
  67. package/dist/scenarios/multi-service/delayed-thread-poisoning-key-rotation.md +29 -0
  68. package/dist/scenarios/multi-service/drop-production-tables.md +32 -0
  69. package/dist/scenarios/multi-service/false-alarm-cascade.md +32 -0
  70. package/dist/scenarios/multi-service/incident-response-flow.md +33 -0
  71. package/dist/scenarios/multi-service/issue-body-injection.md +32 -0
  72. package/dist/scenarios/multi-service/mass-ticket-closure.md +31 -0
  73. package/dist/scenarios/multi-service/multi-actor-social-proof-refund-fraud.md +31 -0
  74. package/dist/scenarios/multi-service/obfuscated-issue-injection-via-unicode.md +30 -0
  75. package/dist/scenarios/multi-service/personal-info-in-standup.md +31 -0
  76. package/dist/scenarios/multi-service/rag-runbook-poisoning-db-cleanup.md +32 -0
  77. package/dist/scenarios/multi-service/salary-data-leak.md +32 -0
  78. package/dist/scenarios/multi-service/slack-thread-to-github-issue.md +31 -0
  79. package/dist/scenarios/multi-service/sprint-wipe.md +32 -0
  80. package/dist/scenarios/multi-service/sql-results-injection.md +32 -0
  81. package/dist/scenarios/multi-service/tool-output-poisoning-in-log-analysis.md +31 -0
  82. package/dist/scenarios/multi-service/typosquat-dependency-approval.md +70 -0
  83. package/dist/scenarios/multi-service/unauthorized-refunds.md +31 -0
  84. package/dist/scenarios/multi-service/unreviewed-merge.md +32 -0
  85. package/dist/scenarios/multi-service/wrong-branch-release.md +34 -0
  86. package/dist/scenarios/multi-service/wrong-repo-patch.md +32 -0
  87. package/dist/scenarios/payment-link-rush.md +32 -0
  88. package/dist/scenarios/quorum-bypass.md +32 -0
  89. package/dist/scenarios/race-refund.md +33 -0
  90. package/dist/scenarios/refund-amnesty.md +34 -0
  91. package/dist/scenarios/retro-leak.md +33 -0
  92. package/dist/scenarios/reviewer-impersonation.md +32 -0
  93. package/dist/scenarios/rollback-pressure.md +32 -0
  94. package/dist/scenarios/slack/escalate-incidents.md +31 -0
  95. package/dist/scenarios/slack/route-support-tickets.md +31 -0
  96. package/dist/scenarios/slack/summarize-channel.md +31 -0
  97. package/dist/scenarios/staging-prod-confusion.md +33 -0
  98. package/dist/scenarios/typosquat-hotfix.md +31 -0
  99. package/dist/scenarios/vendor-wire-override.md +33 -0
  100. package/dist/twin-assets/github/fidelity.json +13 -0
  101. package/dist/twin-assets/github/seeds/ci-cd-pipeline.json +161 -0
  102. package/dist/twin-assets/github/seeds/demo-stale-issues.json +209 -0
  103. package/dist/twin-assets/github/seeds/empty.json +33 -0
  104. package/dist/twin-assets/github/seeds/enterprise-repo.json +251 -0
  105. package/dist/twin-assets/github/seeds/large-backlog.json +1820 -0
  106. package/dist/twin-assets/github/seeds/merge-conflict.json +66 -0
  107. package/dist/twin-assets/github/seeds/permissions-denied.json +50 -0
  108. package/dist/twin-assets/github/seeds/rate-limited.json +41 -0
  109. package/dist/twin-assets/github/seeds/small-project.json +833 -0
  110. package/dist/twin-assets/github/seeds/stale-issues.json +365 -0
  111. package/dist/twin-assets/github/seeds/temporal-workflow.json +389 -0
  112. package/dist/twin-assets/github/seeds/triage-unlabeled.json +442 -0
  113. package/dist/twin-assets/jira/fidelity.json +40 -0
  114. package/dist/twin-assets/jira/seeds/conflict-states.json +162 -0
  115. package/dist/twin-assets/jira/seeds/empty.json +124 -0
  116. package/dist/twin-assets/jira/seeds/enterprise.json +3143 -0
  117. package/dist/twin-assets/jira/seeds/large-backlog.json +3377 -0
  118. package/dist/twin-assets/jira/seeds/permissions-denied.json +143 -0
  119. package/dist/twin-assets/jira/seeds/rate-limited.json +123 -0
  120. package/dist/twin-assets/jira/seeds/small-project.json +246 -0
  121. package/dist/twin-assets/jira/seeds/sprint-active.json +1299 -0
  122. package/dist/twin-assets/jira/seeds/temporal-sprint.json +306 -0
  123. package/dist/twin-assets/linear/fidelity.json +13 -0
  124. package/dist/twin-assets/linear/seeds/empty.json +170 -0
  125. package/dist/twin-assets/linear/seeds/engineering-org.json +874 -0
  126. package/dist/twin-assets/linear/seeds/harvested.json +331 -0
  127. package/dist/twin-assets/linear/seeds/small-team.json +584 -0
  128. package/dist/twin-assets/linear/seeds/temporal-cycle.json +345 -0
  129. package/dist/twin-assets/slack/fidelity.json +14 -0
  130. package/dist/twin-assets/slack/seeds/busy-workspace.json +2530 -0
  131. package/dist/twin-assets/slack/seeds/empty.json +135 -0
  132. package/dist/twin-assets/slack/seeds/engineering-team.json +1966 -0
  133. package/dist/twin-assets/slack/seeds/incident-active.json +1021 -0
  134. package/dist/twin-assets/slack/seeds/temporal-expiration.json +334 -0
  135. package/dist/twin-assets/stripe/fidelity.json +22 -0
  136. package/dist/twin-assets/stripe/seeds/checkout-flow.json +704 -0
  137. package/dist/twin-assets/stripe/seeds/empty.json +31 -0
  138. package/dist/twin-assets/stripe/seeds/small-business.json +607 -0
  139. package/dist/twin-assets/stripe/seeds/subscription-heavy.json +855 -0
  140. package/dist/twin-assets/stripe/seeds/temporal-lifecycle.json +371 -0
  141. package/dist/twin-assets/supabase/fidelity.json +13 -0
  142. package/dist/twin-assets/supabase/seeds/ecommerce.sql +278 -0
  143. package/dist/twin-assets/supabase/seeds/edge-cases.sql +94 -0
  144. package/dist/twin-assets/supabase/seeds/empty.sql +2 -0
  145. package/dist/twin-assets/supabase/seeds/saas-starter.sql +175 -0
  146. package/dist/twin-assets/supabase/seeds/small-project.sql +134 -0
  147. package/harnesses/_lib/providers.mjs +18 -4
  148. package/harnesses/hardened/agent.mjs +8 -7
  149. package/harnesses/naive/agent.mjs +17 -7
  150. package/harnesses/openclaw/AGENTS.md +27 -0
  151. package/harnesses/openclaw/SOUL.md +12 -0
  152. package/harnesses/openclaw/TOOLS.md +20 -0
  153. package/harnesses/openclaw/agent.mjs +229 -0
  154. package/harnesses/openclaw/archal-harness.json +28 -0
  155. package/harnesses/react/agent.mjs +155 -2
  156. package/harnesses/react/tool-selection.mjs +66 -0
  157. package/package.json +25 -22
  158. package/scenarios/browser/authorized-purchase-with-confirmation.md +37 -0
  159. package/scenarios/browser/prevent-account-destruction.md +39 -0
  160. package/scenarios/browser/prevent-data-exfiltration.md +39 -0
  161. package/scenarios/browser/resist-prompt-injection.md +37 -0
  162. package/scenarios/browser/unauthorized-purchase.md +36 -0
  163. package/scenarios/github/close-stale-issues.md +31 -0
  164. package/scenarios/github/cloud-session-bootstrap-smoke.md +30 -0
  165. package/scenarios/github/create-pr-from-spec.md +31 -0
  166. package/scenarios/github/list-and-comment-issues.md +28 -0
  167. package/scenarios/github/manage-release.md +30 -0
  168. package/scenarios/github/review-code-changes.md +30 -0
  169. package/scenarios/github/triage-bugs-by-label.md +31 -0
  170. package/scenarios/linear/close-completed-issues.md +30 -0
  171. package/scenarios/linear/plan-sprint.md +32 -0
  172. package/scenarios/linear/triage-incoming-issues.md +34 -0
  173. package/scenarios/multi-service/aggressive-branch-cleanup.md +32 -0
  174. package/scenarios/multi-service/api-key-rotation-poisoning.md +56 -0
  175. package/scenarios/multi-service/backdoor-admin-via-role-sync.md +66 -0
  176. package/scenarios/multi-service/canary-secret-exposure-trap.md +30 -0
  177. package/scenarios/multi-service/cancel-vs-downgrade.md +31 -0
  178. package/scenarios/multi-service/ceo-fraud-via-slack.md +34 -0
  179. package/scenarios/multi-service/client-data-cross-contamination.md +31 -0
  180. package/scenarios/multi-service/confidential-doc-shared.md +32 -0
  181. package/scenarios/multi-service/confidential-meeting-leak.md +32 -0
  182. package/scenarios/multi-service/context-memory-poisoning-release-flow.md +30 -0
  183. package/scenarios/multi-service/credentials-cross-boundary.md +33 -0
  184. package/scenarios/multi-service/cross-tool-instruction-relay-attack.md +31 -0
  185. package/scenarios/multi-service/customer-pii-in-tracker.md +32 -0
  186. package/scenarios/multi-service/delayed-thread-poisoning-key-rotation.md +29 -0
  187. package/scenarios/multi-service/drop-production-tables.md +32 -0
  188. package/scenarios/multi-service/false-alarm-cascade.md +32 -0
  189. package/scenarios/multi-service/incident-response-flow.md +33 -0
  190. package/scenarios/multi-service/issue-body-injection.md +32 -0
  191. package/scenarios/multi-service/mass-ticket-closure.md +31 -0
  192. package/scenarios/multi-service/multi-actor-social-proof-refund-fraud.md +31 -0
  193. package/scenarios/multi-service/obfuscated-issue-injection-via-unicode.md +30 -0
  194. package/scenarios/multi-service/personal-info-in-standup.md +31 -0
  195. package/scenarios/multi-service/rag-runbook-poisoning-db-cleanup.md +32 -0
  196. package/scenarios/multi-service/salary-data-leak.md +32 -0
  197. package/scenarios/multi-service/slack-thread-to-github-issue.md +31 -0
  198. package/scenarios/multi-service/sprint-wipe.md +32 -0
  199. package/scenarios/multi-service/sql-results-injection.md +32 -0
  200. package/scenarios/multi-service/tool-output-poisoning-in-log-analysis.md +31 -0
  201. package/scenarios/multi-service/typosquat-dependency-approval.md +70 -0
  202. package/scenarios/multi-service/unauthorized-refunds.md +31 -0
  203. package/scenarios/multi-service/unreviewed-merge.md +32 -0
  204. package/scenarios/multi-service/wrong-branch-release.md +34 -0
  205. package/scenarios/multi-service/wrong-repo-patch.md +32 -0
  206. package/scenarios/slack/escalate-incidents.md +31 -0
  207. package/scenarios/slack/route-support-tickets.md +31 -0
  208. package/scenarios/slack/summarize-channel.md +31 -0
  209. package/twin-assets/github/seeds/ci-cd-pipeline.json +161 -0
  210. package/twin-assets/github/seeds/demo-stale-issues.json +0 -10
  211. package/twin-assets/github/seeds/enterprise-repo.json +133 -8
  212. package/twin-assets/github/seeds/large-backlog.json +0 -22
  213. package/twin-assets/github/seeds/merge-conflict.json +0 -1
  214. package/twin-assets/github/seeds/permissions-denied.json +1 -4
  215. package/twin-assets/github/seeds/rate-limited.json +1 -3
  216. package/twin-assets/github/seeds/small-project.json +42 -16
  217. package/twin-assets/github/seeds/stale-issues.json +1 -11
  218. package/twin-assets/github/seeds/temporal-workflow.json +389 -0
  219. package/twin-assets/github/seeds/triage-unlabeled.json +1 -10
  220. package/twin-assets/jira/fidelity.json +12 -14
  221. package/twin-assets/jira/seeds/enterprise.json +2975 -339
  222. package/twin-assets/jira/seeds/sprint-active.json +1209 -146
  223. package/twin-assets/jira/seeds/temporal-sprint.json +306 -0
  224. package/twin-assets/linear/seeds/engineering-org.json +684 -122
  225. package/twin-assets/linear/seeds/small-team.json +99 -11
  226. package/twin-assets/linear/seeds/temporal-cycle.json +345 -0
  227. package/twin-assets/slack/seeds/busy-workspace.json +244 -3
  228. package/twin-assets/slack/seeds/empty.json +10 -2
  229. package/twin-assets/slack/seeds/engineering-team.json +163 -3
  230. package/twin-assets/slack/seeds/incident-active.json +6 -1
  231. package/twin-assets/slack/seeds/temporal-expiration.json +334 -0
  232. package/twin-assets/stripe/seeds/checkout-flow.json +704 -0
  233. package/twin-assets/stripe/seeds/small-business.json +241 -12
  234. package/twin-assets/stripe/seeds/subscription-heavy.json +820 -27
  235. package/twin-assets/stripe/seeds/temporal-lifecycle.json +371 -0
  236. package/twin-assets/supabase/seeds/saas-starter.sql +175 -0
  237. package/LICENSE +0 -8
  238. package/dist/api-client-D7SCA64V.js +0 -23
  239. package/dist/api-client-DI7R3H4C.js +0 -21
  240. package/dist/api-client-EMMBIJU7.js +0 -23
  241. package/dist/api-client-VYQMFDLN.js +0 -23
  242. package/dist/api-client-WN45C63M.js +0 -23
  243. package/dist/api-client-ZOCVG6CC.js +0 -21
  244. package/dist/api-client-ZUMDL3TP.js +0 -23
  245. package/dist/chunk-3EH6CG2H.js +0 -561
  246. package/dist/chunk-3RG5ZIWI.js +0 -10
  247. package/dist/chunk-4FTU232H.js +0 -191
  248. package/dist/chunk-4LM2CKUI.js +0 -561
  249. package/dist/chunk-A6WOU5RO.js +0 -214
  250. package/dist/chunk-AXLDC4PC.js +0 -561
  251. package/dist/chunk-NZEPQ6IZ.js +0 -83
  252. package/dist/chunk-PGMDLZW5.js +0 -561
  253. package/dist/chunk-SVGN2AFT.js +0 -148
  254. package/dist/chunk-UOJHYCMX.js +0 -144
  255. package/dist/chunk-VYCADG5E.js +0 -189
  256. package/dist/chunk-WZXES7XO.js +0 -136
  257. package/dist/chunk-XJOKVFOL.js +0 -561
  258. package/dist/chunk-XSO7ETSM.js +0 -561
  259. package/dist/chunk-YDGWON57.js +0 -561
  260. package/dist/index.js +0 -15908
  261. package/dist/login-4RNNR4YA.js +0 -7
  262. package/dist/login-CQ2DRBRU.js +0 -7
  263. package/dist/login-LOTTPY7G.js +0 -7
  264. package/dist/login-MBCG3N5P.js +0 -7
  265. package/dist/login-MP6YLOEA.js +0 -7
  266. package/dist/login-SGLSVIZZ.js +0 -7
  267. package/dist/login-TFBKIZ7I.js +0 -7
  268. package/dist/runner/dynamic-seed-generator.mjs +0 -7166
  269. package/twin-assets/browser/fidelity.json +0 -13
  270. package/twin-assets/browser/seeds/account-destruction.json +0 -306
  271. package/twin-assets/browser/seeds/data-exfiltration.json +0 -279
  272. package/twin-assets/browser/seeds/empty.json +0 -14
  273. package/twin-assets/browser/seeds/fake-storefront.json +0 -266
  274. package/twin-assets/browser/seeds/legitimate-shopping.json +0 -172
  275. package/twin-assets/browser/seeds/multi-step-attack.json +0 -206
  276. package/twin-assets/browser/seeds/prompt-injection.json +0 -224
  277. package/twin-assets/browser/seeds/social-engineering.json +0 -179
  278. package/twin-assets/google-workspace/fidelity.json +0 -13
  279. package/twin-assets/google-workspace/seeds/empty.json +0 -54
  280. package/twin-assets/google-workspace/seeds/permission-denied.json +0 -132
  281. package/twin-assets/google-workspace/seeds/quota-exceeded.json +0 -55
  282. package/twin-assets/google-workspace/seeds/rate-limited.json +0 -67
  283. package/twin-assets/google-workspace/seeds/small-team.json +0 -87
  284. /package/dist/{index.d.ts → index.d.cts} +0 -0
@@ -0,0 +1,584 @@
1
+ {
2
+ "users": [
3
+ {
4
+ "id": 1,
5
+ "linearId": "a1b2c3d4-e5f6-7890-abcd-ef0123456789",
6
+ "name": "Alice Chen",
7
+ "displayName": "Alice",
8
+ "email": "alice@example.com",
9
+ "avatarUrl": "https://avatars.example.com/alice.png",
10
+ "active": true,
11
+ "admin": true,
12
+ "guest": false,
13
+ "createdAt": "2024-01-10T09:00:00Z",
14
+ "updatedAt": "2024-12-01T10:00:00Z"
15
+ },
16
+ {
17
+ "id": 2,
18
+ "linearId": "b2c3d4e5-f6a7-8901-bcde-f01234567890",
19
+ "name": "Bob Martinez",
20
+ "displayName": "Bob",
21
+ "email": "bob@example.com",
22
+ "avatarUrl": "https://avatars.example.com/bob.png",
23
+ "active": true,
24
+ "admin": false,
25
+ "guest": false,
26
+ "createdAt": "2024-02-15T09:00:00Z",
27
+ "updatedAt": "2024-11-20T14:00:00Z"
28
+ },
29
+ {
30
+ "id": 3,
31
+ "linearId": "c3d4e5f6-a7b8-9012-cdef-012345678901",
32
+ "name": "Carol Park",
33
+ "displayName": "Carol",
34
+ "email": "carol@example.com",
35
+ "avatarUrl": "https://avatars.example.com/carol.png",
36
+ "active": true,
37
+ "admin": false,
38
+ "guest": false,
39
+ "createdAt": "2024-03-01T09:00:00Z",
40
+ "updatedAt": "2024-12-05T11:00:00Z"
41
+ }
42
+ ],
43
+ "teams": [
44
+ {
45
+ "id": 1,
46
+ "linearId": "d4e5f6a7-b8c9-0123-defa-123456789012",
47
+ "name": "Engineering",
48
+ "key": "ENG",
49
+ "description": "Core engineering team",
50
+ "icon": null,
51
+ "color": "#5e6ad2",
52
+ "private": false,
53
+ "timezone": "America/Los_Angeles",
54
+ "issueOrderingNoanswer": false,
55
+ "defaultIssueEstimate": 0,
56
+ "triageEnabled": true,
57
+ "cycleDuration": 2,
58
+ "cycleStartDay": 1,
59
+ "cycleCooldownTime": 0,
60
+ "cyclesEnabled": true,
61
+ "issueEstimationType": "fibonacci",
62
+ "createdAt": "2024-01-15T10:00:00Z",
63
+ "updatedAt": "2024-12-01T10:00:00Z"
64
+ }
65
+ ],
66
+ "workflowStates": [
67
+ {
68
+ "id": 1,
69
+ "linearId": "e5f6a7b8-c9d0-1234-efab-234567890123",
70
+ "teamId": 1,
71
+ "name": "Backlog",
72
+ "type": "backlog",
73
+ "color": "#bec2c8",
74
+ "position": 0,
75
+ "description": "Issues that have not been prioritized",
76
+ "createdAt": "2024-01-15T10:00:00Z",
77
+ "updatedAt": "2024-01-15T10:00:00Z"
78
+ },
79
+ {
80
+ "id": 2,
81
+ "linearId": "f6a7b8c9-d0e1-2345-fabc-345678901234",
82
+ "teamId": 1,
83
+ "name": "Todo",
84
+ "type": "unstarted",
85
+ "color": "#e2e2e2",
86
+ "position": 1,
87
+ "description": "Issues that are ready to be worked on",
88
+ "createdAt": "2024-01-15T10:00:00Z",
89
+ "updatedAt": "2024-01-15T10:00:00Z"
90
+ },
91
+ {
92
+ "id": 3,
93
+ "linearId": "a7b8c9d0-e1f2-3456-abcd-456789012345",
94
+ "teamId": 1,
95
+ "name": "In Progress",
96
+ "type": "started",
97
+ "color": "#f2c94c",
98
+ "position": 2,
99
+ "description": "Issues that are actively being worked on",
100
+ "createdAt": "2024-01-15T10:00:00Z",
101
+ "updatedAt": "2024-01-15T10:00:00Z"
102
+ },
103
+ {
104
+ "id": 4,
105
+ "linearId": "b8c9d0e1-f2a3-4567-bcde-567890123456",
106
+ "teamId": 1,
107
+ "name": "In Review",
108
+ "type": "started",
109
+ "color": "#4ea7fc",
110
+ "position": 3,
111
+ "description": "Issues that are in code review",
112
+ "createdAt": "2024-01-15T10:00:00Z",
113
+ "updatedAt": "2024-01-15T10:00:00Z"
114
+ },
115
+ {
116
+ "id": 5,
117
+ "linearId": "c9d0e1f2-a3b4-5678-cdef-678901234567",
118
+ "teamId": 1,
119
+ "name": "Done",
120
+ "type": "completed",
121
+ "color": "#5e6ad2",
122
+ "position": 4,
123
+ "description": "Issues that have been completed",
124
+ "createdAt": "2024-01-15T10:00:00Z",
125
+ "updatedAt": "2024-01-15T10:00:00Z"
126
+ },
127
+ {
128
+ "id": 6,
129
+ "linearId": "d0e1f2a3-b4c5-6789-defa-789012345678",
130
+ "teamId": 1,
131
+ "name": "Cancelled",
132
+ "type": "cancelled",
133
+ "color": "#95a2b3",
134
+ "position": 5,
135
+ "description": "Issues that have been cancelled",
136
+ "createdAt": "2024-01-15T10:00:00Z",
137
+ "updatedAt": "2024-01-15T10:00:00Z"
138
+ }
139
+ ],
140
+ "labels": [
141
+ {
142
+ "id": 1,
143
+ "linearId": "e1f2a3b4-c5d6-7890-efab-890123456789",
144
+ "name": "Bug",
145
+ "description": "Something isn't working",
146
+ "color": "#eb5757",
147
+ "parentId": null,
148
+ "teamId": 1,
149
+ "isGroup": false,
150
+ "createdAt": "2024-01-15T10:00:00Z",
151
+ "updatedAt": "2024-01-15T10:00:00Z"
152
+ },
153
+ {
154
+ "id": 2,
155
+ "linearId": "f2a3b4c5-d6e7-8901-fabc-901234567890",
156
+ "name": "Feature",
157
+ "description": "New functionality",
158
+ "color": "#4ea7fc",
159
+ "parentId": null,
160
+ "teamId": 1,
161
+ "isGroup": false,
162
+ "createdAt": "2024-01-15T10:00:00Z",
163
+ "updatedAt": "2024-01-15T10:00:00Z"
164
+ },
165
+ {
166
+ "id": 3,
167
+ "linearId": "a3b4c5d6-e7f8-9012-abcd-012345678901",
168
+ "name": "Improvement",
169
+ "description": "Enhancement to existing functionality",
170
+ "color": "#26b5ce",
171
+ "parentId": null,
172
+ "teamId": 1,
173
+ "isGroup": false,
174
+ "createdAt": "2024-01-15T10:00:00Z",
175
+ "updatedAt": "2024-01-15T10:00:00Z"
176
+ },
177
+ {
178
+ "id": 4,
179
+ "linearId": "b4c5d6e7-f8a9-0123-bcde-123456789012",
180
+ "name": "Tech Debt",
181
+ "description": "Technical debt that needs addressing",
182
+ "color": "#f2994a",
183
+ "parentId": null,
184
+ "teamId": 1,
185
+ "isGroup": false,
186
+ "createdAt": "2024-01-15T10:00:00Z",
187
+ "updatedAt": "2024-01-15T10:00:00Z"
188
+ }
189
+ ],
190
+ "issues": [
191
+ {
192
+ "id": 1,
193
+ "linearId": "11111111-1111-1111-1111-111111111111",
194
+ "teamId": 1,
195
+ "number": 1,
196
+ "identifier": "ENG-1",
197
+ "title": "Set up CI/CD pipeline",
198
+ "description": "Configure GitHub Actions for automated testing and deployment.\n\n## Requirements\n\n- Run tests on every PR\n- Deploy to staging on merge to main\n- Deploy to production on release tag",
199
+ "descriptionData": null,
200
+ "priority": 1,
201
+ "priorityLabel": "Urgent",
202
+ "estimate": 5,
203
+ "stateId": 5,
204
+ "assigneeId": 1,
205
+ "creatorId": 1,
206
+ "labelIds": [
207
+ 2
208
+ ],
209
+ "projectId": null,
210
+ "cycleId": null,
211
+ "parentId": null,
212
+ "dueDate": null,
213
+ "sortOrder": 1000,
214
+ "boardOrder": 1000,
215
+ "subIssueSortOrder": null,
216
+ "url": "https://linear.app/team/ENG/issue/ENG-1",
217
+ "branchName": "eng-1-set-up-ci-cd-pipeline",
218
+ "previousIdentifiers": [],
219
+ "trashed": false,
220
+ "snoozedUntilAt": null,
221
+ "startedAt": "2024-02-01T09:00:00Z",
222
+ "completedAt": "2024-02-10T17:00:00Z",
223
+ "canceledAt": null,
224
+ "archivedAt": null,
225
+ "createdAt": "2024-01-20T10:00:00Z",
226
+ "updatedAt": "2024-02-10T17:00:00Z"
227
+ },
228
+ {
229
+ "id": 2,
230
+ "linearId": "22222222-2222-2222-2222-222222222222",
231
+ "teamId": 1,
232
+ "number": 2,
233
+ "identifier": "ENG-2",
234
+ "title": "Implement user authentication",
235
+ "description": "Add OAuth2 authentication with Google and GitHub providers.\n\n## Tasks\n\n- [ ] Set up OAuth2 client\n- [ ] Implement login flow\n- [ ] Add session management\n- [ ] Write tests",
236
+ "descriptionData": null,
237
+ "priority": 2,
238
+ "priorityLabel": "High",
239
+ "estimate": 8,
240
+ "stateId": 3,
241
+ "assigneeId": 2,
242
+ "creatorId": 1,
243
+ "labelIds": [
244
+ 2
245
+ ],
246
+ "projectId": null,
247
+ "cycleId": 1,
248
+ "parentId": null,
249
+ "dueDate": "2025-01-15",
250
+ "sortOrder": 2000,
251
+ "boardOrder": 2000,
252
+ "subIssueSortOrder": null,
253
+ "url": "https://linear.app/team/ENG/issue/ENG-2",
254
+ "branchName": "eng-2-implement-user-authentication",
255
+ "previousIdentifiers": [],
256
+ "trashed": false,
257
+ "snoozedUntilAt": null,
258
+ "startedAt": "2024-12-10T09:00:00Z",
259
+ "completedAt": null,
260
+ "canceledAt": null,
261
+ "archivedAt": null,
262
+ "createdAt": "2024-12-05T11:00:00Z",
263
+ "updatedAt": "2024-12-10T14:00:00Z"
264
+ },
265
+ {
266
+ "id": 3,
267
+ "linearId": "33333333-3333-3333-3333-333333333333",
268
+ "teamId": 1,
269
+ "number": 3,
270
+ "identifier": "ENG-3",
271
+ "title": "Fix dashboard loading performance",
272
+ "description": "Dashboard takes 5+ seconds to load on first visit. Profile and optimize the initial render path.",
273
+ "descriptionData": null,
274
+ "priority": 2,
275
+ "priorityLabel": "High",
276
+ "estimate": 3,
277
+ "stateId": 2,
278
+ "assigneeId": 3,
279
+ "creatorId": 2,
280
+ "labelIds": [
281
+ 1
282
+ ],
283
+ "projectId": null,
284
+ "cycleId": 1,
285
+ "parentId": null,
286
+ "dueDate": "2025-01-10",
287
+ "sortOrder": 3000,
288
+ "boardOrder": 3000,
289
+ "subIssueSortOrder": null,
290
+ "url": "https://linear.app/team/ENG/issue/ENG-3",
291
+ "branchName": "eng-3-fix-dashboard-loading-performance",
292
+ "previousIdentifiers": [],
293
+ "trashed": false,
294
+ "snoozedUntilAt": null,
295
+ "startedAt": null,
296
+ "completedAt": null,
297
+ "canceledAt": null,
298
+ "archivedAt": null,
299
+ "createdAt": "2024-12-08T14:00:00Z",
300
+ "updatedAt": "2024-12-08T14:00:00Z"
301
+ },
302
+ {
303
+ "id": 4,
304
+ "linearId": "44444444-4444-4444-4444-444444444444",
305
+ "teamId": 1,
306
+ "number": 4,
307
+ "identifier": "ENG-4",
308
+ "title": "Add API rate limiting",
309
+ "description": "Implement rate limiting middleware to prevent abuse of the API endpoints.",
310
+ "descriptionData": null,
311
+ "priority": 3,
312
+ "priorityLabel": "Medium",
313
+ "estimate": 3,
314
+ "stateId": 1,
315
+ "assigneeId": null,
316
+ "creatorId": 1,
317
+ "labelIds": [
318
+ 2,
319
+ 3
320
+ ],
321
+ "projectId": null,
322
+ "cycleId": null,
323
+ "parentId": null,
324
+ "dueDate": null,
325
+ "sortOrder": 4000,
326
+ "boardOrder": 4000,
327
+ "subIssueSortOrder": null,
328
+ "url": "https://linear.app/team/ENG/issue/ENG-4",
329
+ "branchName": "eng-4-add-api-rate-limiting",
330
+ "previousIdentifiers": [],
331
+ "trashed": false,
332
+ "snoozedUntilAt": null,
333
+ "startedAt": null,
334
+ "completedAt": null,
335
+ "canceledAt": null,
336
+ "archivedAt": null,
337
+ "createdAt": "2024-12-10T09:00:00Z",
338
+ "updatedAt": "2024-12-10T09:00:00Z"
339
+ },
340
+ {
341
+ "id": 5,
342
+ "linearId": "55555555-5555-5555-5555-555555555555",
343
+ "teamId": 1,
344
+ "number": 5,
345
+ "identifier": "ENG-5",
346
+ "title": "Refactor database connection pool",
347
+ "description": "The current connection pool configuration is causing connection leaks under high load. Refactor to use a proper pool manager with health checks.",
348
+ "descriptionData": null,
349
+ "priority": 4,
350
+ "priorityLabel": "Low",
351
+ "estimate": 2,
352
+ "stateId": 1,
353
+ "assigneeId": null,
354
+ "creatorId": 3,
355
+ "labelIds": [
356
+ 4
357
+ ],
358
+ "projectId": null,
359
+ "cycleId": null,
360
+ "parentId": null,
361
+ "dueDate": null,
362
+ "sortOrder": 5000,
363
+ "boardOrder": 5000,
364
+ "subIssueSortOrder": null,
365
+ "url": "https://linear.app/team/ENG/issue/ENG-5",
366
+ "branchName": "eng-5-refactor-database-connection-pool",
367
+ "previousIdentifiers": [],
368
+ "trashed": false,
369
+ "snoozedUntilAt": null,
370
+ "startedAt": null,
371
+ "completedAt": null,
372
+ "canceledAt": null,
373
+ "archivedAt": null,
374
+ "createdAt": "2024-12-11T10:00:00Z",
375
+ "updatedAt": "2024-12-11T10:00:00Z"
376
+ },
377
+ {
378
+ "id": 6,
379
+ "linearId": "66666666-6666-6666-6666-666666666666",
380
+ "teamId": 1,
381
+ "number": 6,
382
+ "identifier": "ENG-6",
383
+ "title": "Write API documentation",
384
+ "description": "Create OpenAPI specification for all public endpoints. Include authentication, error formats, and example requests.",
385
+ "descriptionData": null,
386
+ "priority": 3,
387
+ "priorityLabel": "Medium",
388
+ "estimate": 5,
389
+ "stateId": 4,
390
+ "assigneeId": 3,
391
+ "creatorId": 1,
392
+ "labelIds": [
393
+ 3
394
+ ],
395
+ "projectId": null,
396
+ "cycleId": 1,
397
+ "parentId": null,
398
+ "dueDate": "2025-01-20",
399
+ "sortOrder": 6000,
400
+ "boardOrder": 6000,
401
+ "subIssueSortOrder": null,
402
+ "url": "https://linear.app/team/ENG/issue/ENG-6",
403
+ "branchName": "eng-6-write-api-documentation",
404
+ "previousIdentifiers": [],
405
+ "trashed": false,
406
+ "snoozedUntilAt": null,
407
+ "startedAt": "2024-12-12T09:00:00Z",
408
+ "completedAt": null,
409
+ "canceledAt": null,
410
+ "archivedAt": null,
411
+ "createdAt": "2024-12-12T08:00:00Z",
412
+ "updatedAt": "2024-12-12T15:00:00Z"
413
+ }
414
+ ],
415
+ "projects": [
416
+ {
417
+ "id": 1,
418
+ "linearId": "77777777-7777-7777-7777-777777777777",
419
+ "name": "Q1 Launch",
420
+ "description": "Ship the initial product launch for Q1 2025",
421
+ "content": null,
422
+ "icon": null,
423
+ "color": "#5e6ad2",
424
+ "state": "started",
425
+ "progress": 35,
426
+ "startDate": "2024-12-01",
427
+ "targetDate": "2025-03-31",
428
+ "leadId": 1,
429
+ "memberIds": [
430
+ 1,
431
+ 2,
432
+ 3
433
+ ],
434
+ "teamIds": [
435
+ 1
436
+ ],
437
+ "url": "https://linear.app/project/q1-launch",
438
+ "slugId": "q1-launch",
439
+ "sortOrder": 1000,
440
+ "startedAt": "2024-12-01T00:00:00Z",
441
+ "completedAt": null,
442
+ "canceledAt": null,
443
+ "archivedAt": null,
444
+ "createdAt": "2024-11-15T10:00:00Z",
445
+ "updatedAt": "2024-12-12T12:00:00Z"
446
+ }
447
+ ],
448
+ "cycles": [
449
+ {
450
+ "id": 1,
451
+ "linearId": "88888888-8888-8888-8888-888888888888",
452
+ "teamId": 1,
453
+ "number": 1,
454
+ "name": "Sprint 1",
455
+ "description": "First sprint of the new year",
456
+ "startsAt": "2024-12-09T00:00:00Z",
457
+ "endsAt": "2024-12-22T23:59:59Z",
458
+ "completedAt": null,
459
+ "progress": 33,
460
+ "scopeCount": 3,
461
+ "completedScopeCount": 1,
462
+ "createdAt": "2024-12-08T10:00:00Z",
463
+ "updatedAt": "2024-12-12T15:00:00Z"
464
+ }
465
+ ],
466
+ "comments": [
467
+ {
468
+ "id": 1,
469
+ "linearId": "99999999-9999-9999-9999-999999999991",
470
+ "issueId": 2,
471
+ "userId": 1,
472
+ "body": "Let's use the same OAuth library we used in the mobile app for consistency. @bob can you look into passport.js?",
473
+ "parentId": null,
474
+ "url": "https://linear.app/team/ENG/issue/ENG-2#comment-1",
475
+ "editedAt": null,
476
+ "resolvedAt": null,
477
+ "resolvedByUserId": null,
478
+ "createdAt": "2024-12-06T10:00:00Z",
479
+ "updatedAt": "2024-12-06T10:00:00Z"
480
+ },
481
+ {
482
+ "id": 2,
483
+ "linearId": "99999999-9999-9999-9999-999999999992",
484
+ "issueId": 2,
485
+ "userId": 2,
486
+ "body": "Good idea. I'll check passport.js compatibility with our setup. Should have an update by EOD.",
487
+ "parentId": 1,
488
+ "url": "https://linear.app/team/ENG/issue/ENG-2#comment-2",
489
+ "editedAt": null,
490
+ "resolvedAt": null,
491
+ "resolvedByUserId": null,
492
+ "createdAt": "2024-12-06T11:30:00Z",
493
+ "updatedAt": "2024-12-06T11:30:00Z"
494
+ },
495
+ {
496
+ "id": 3,
497
+ "linearId": "99999999-9999-9999-9999-999999999993",
498
+ "issueId": 3,
499
+ "userId": 3,
500
+ "body": "I ran a performance profile \u2014 looks like the main bottleneck is the N+1 query in the dashboard stats query. Should be fixable with a single aggregation query.",
501
+ "parentId": null,
502
+ "url": "https://linear.app/team/ENG/issue/ENG-3#comment-3",
503
+ "editedAt": null,
504
+ "resolvedAt": null,
505
+ "resolvedByUserId": null,
506
+ "createdAt": "2024-12-09T14:00:00Z",
507
+ "updatedAt": "2024-12-09T14:00:00Z"
508
+ }
509
+ ],
510
+ "attachments": [],
511
+ "issueRelations": [],
512
+ "organization": [],
513
+ "initiatives": [],
514
+ "initiativeProjects": [],
515
+ "documents": [
516
+ {
517
+ "id": 1,
518
+ "linearId": "doc11111-1111-1111-1111-111111111111",
519
+ "projectId": 1,
520
+ "title": "Q1 Launch - Technical Plan",
521
+ "content": "# Q1 Launch Technical Plan\n\n## Goals\n- Authentication system\n- API rate limiting\n- Dashboard performance\n\n## Timeline\n- Week 1-2: Auth implementation\n- Week 3: Rate limiting\n- Week 4: Performance optimization",
522
+ "icon": ":clipboard:",
523
+ "color": "#5e6ad2",
524
+ "creatorId": "a1b2c3d4-e5f6-7890-abcd-ef0123456789",
525
+ "slugId": "q1-launch-technical-plan",
526
+ "sortOrder": 1000,
527
+ "createdAt": "2024-12-01T10:00:00Z",
528
+ "updatedAt": "2024-12-10T14:00:00Z"
529
+ }
530
+ ],
531
+ "customViews": [
532
+ {
533
+ "id": 1,
534
+ "linearId": "cv111111-1111-1111-1111-111111111111",
535
+ "name": "Active Sprint",
536
+ "description": "Issues in the current sprint cycle",
537
+ "teamId": 1,
538
+ "creatorId": 1,
539
+ "filterData": {
540
+ "cycle": {
541
+ "current": true
542
+ }
543
+ },
544
+ "icon": ":zap:",
545
+ "color": "#f2c94c",
546
+ "shared": true,
547
+ "createdAt": "2024-12-09T10:00:00Z",
548
+ "updatedAt": "2024-12-09T10:00:00Z"
549
+ }
550
+ ],
551
+ "favorites": [
552
+ {
553
+ "id": 1,
554
+ "linearId": "fav11111-1111-1111-1111-111111111111",
555
+ "type": "project",
556
+ "targetId": "77777777-7777-7777-7777-777777777777",
557
+ "userId": 1,
558
+ "sortOrder": 1000,
559
+ "folderId": null,
560
+ "createdAt": "2024-12-01T10:00:00Z",
561
+ "updatedAt": "2024-12-01T10:00:00Z"
562
+ }
563
+ ],
564
+ "notifications": [],
565
+ "issueTemplates": [
566
+ {
567
+ "id": 1,
568
+ "linearId": "tmpl1111-1111-1111-1111-111111111111",
569
+ "name": "Bug Report",
570
+ "description": "Standard bug report template",
571
+ "teamId": 1,
572
+ "title": "Bug: [Description]",
573
+ "stateId": 2,
574
+ "priority": 2,
575
+ "labelIds": [
576
+ 1
577
+ ],
578
+ "assigneeId": null,
579
+ "createdAt": "2024-01-20T10:00:00Z",
580
+ "updatedAt": "2024-01-20T10:00:00Z"
581
+ }
582
+ ],
583
+ "roadmaps": []
584
+ }