@elnora-ai/linear 1.0.1 → 2.0.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 (302) hide show
  1. package/.claude-plugin/marketplace.json +7 -2
  2. package/.claude-plugin/plugin.json +1 -1
  3. package/CHANGELOG.md +25 -1
  4. package/README.md +275 -25
  5. package/agents/linear-issue-creator.md +135 -17
  6. package/agents/linear-issue-reviewer.md +122 -23
  7. package/agents/linear-issue-updater.md +137 -25
  8. package/agents/linear-state-curator.md +173 -0
  9. package/agents/linear-url-to-issues.md +190 -26
  10. package/commands/linear-cleanup.md +64 -29
  11. package/dist/cli.js +69 -1
  12. package/dist/cli.js.map +1 -1
  13. package/dist/client/auth.d.ts +10 -0
  14. package/dist/client/auth.d.ts.map +1 -1
  15. package/dist/client/auth.js +50 -3
  16. package/dist/client/auth.js.map +1 -1
  17. package/dist/client/linear-client.d.ts +7 -0
  18. package/dist/client/linear-client.d.ts.map +1 -1
  19. package/dist/client/linear-client.js +13 -1
  20. package/dist/client/linear-client.js.map +1 -1
  21. package/dist/commands/agent-activities.d.ts +3 -0
  22. package/dist/commands/agent-activities.d.ts.map +1 -0
  23. package/dist/commands/agent-activities.js +144 -0
  24. package/dist/commands/agent-activities.js.map +1 -0
  25. package/dist/commands/agent-sessions.d.ts +3 -0
  26. package/dist/commands/agent-sessions.d.ts.map +1 -0
  27. package/dist/commands/agent-sessions.js +132 -0
  28. package/dist/commands/agent-sessions.js.map +1 -0
  29. package/dist/commands/attachments.d.ts +3 -0
  30. package/dist/commands/attachments.d.ts.map +1 -0
  31. package/dist/commands/attachments.js +265 -0
  32. package/dist/commands/attachments.js.map +1 -0
  33. package/dist/commands/audit.d.ts +3 -0
  34. package/dist/commands/audit.d.ts.map +1 -0
  35. package/dist/commands/audit.js +73 -0
  36. package/dist/commands/audit.js.map +1 -0
  37. package/dist/commands/comments.d.ts +3 -0
  38. package/dist/commands/comments.d.ts.map +1 -0
  39. package/dist/commands/comments.js +107 -0
  40. package/dist/commands/comments.js.map +1 -0
  41. package/dist/commands/completion.d.ts +3 -0
  42. package/dist/commands/completion.d.ts.map +1 -0
  43. package/dist/commands/completion.js +62 -0
  44. package/dist/commands/completion.js.map +1 -0
  45. package/dist/commands/context.d.ts +3 -0
  46. package/dist/commands/context.d.ts.map +1 -0
  47. package/dist/commands/context.js +94 -0
  48. package/dist/commands/context.js.map +1 -0
  49. package/dist/commands/curator.d.ts +14 -0
  50. package/dist/commands/curator.d.ts.map +1 -1
  51. package/dist/commands/curator.js +97 -19
  52. package/dist/commands/curator.js.map +1 -1
  53. package/dist/commands/customer-needs.d.ts +3 -0
  54. package/dist/commands/customer-needs.d.ts.map +1 -0
  55. package/dist/commands/customer-needs.js +198 -0
  56. package/dist/commands/customer-needs.js.map +1 -0
  57. package/dist/commands/customers.d.ts +5 -0
  58. package/dist/commands/customers.d.ts.map +1 -0
  59. package/dist/commands/customers.js +201 -0
  60. package/dist/commands/customers.js.map +1 -0
  61. package/dist/commands/cycles.d.ts +3 -0
  62. package/dist/commands/cycles.d.ts.map +1 -0
  63. package/dist/commands/cycles.js +67 -0
  64. package/dist/commands/cycles.js.map +1 -0
  65. package/dist/commands/documents.d.ts +3 -0
  66. package/dist/commands/documents.d.ts.map +1 -0
  67. package/dist/commands/documents.js +105 -0
  68. package/dist/commands/documents.js.map +1 -0
  69. package/dist/commands/favorites.d.ts +3 -0
  70. package/dist/commands/favorites.d.ts.map +1 -0
  71. package/dist/commands/favorites.js +101 -0
  72. package/dist/commands/favorites.js.map +1 -0
  73. package/dist/commands/index.d.ts +30 -0
  74. package/dist/commands/index.d.ts.map +1 -1
  75. package/dist/commands/index.js +30 -0
  76. package/dist/commands/index.js.map +1 -1
  77. package/dist/commands/initiatives.d.ts +3 -0
  78. package/dist/commands/initiatives.d.ts.map +1 -0
  79. package/dist/commands/initiatives.js +106 -0
  80. package/dist/commands/initiatives.js.map +1 -0
  81. package/dist/commands/issues.d.ts +21 -0
  82. package/dist/commands/issues.d.ts.map +1 -0
  83. package/dist/commands/issues.js +1083 -0
  84. package/dist/commands/issues.js.map +1 -0
  85. package/dist/commands/labels.d.ts +3 -0
  86. package/dist/commands/labels.d.ts.map +1 -0
  87. package/dist/commands/labels.js +111 -0
  88. package/dist/commands/labels.js.map +1 -0
  89. package/dist/commands/milestones.d.ts +3 -0
  90. package/dist/commands/milestones.d.ts.map +1 -0
  91. package/dist/commands/milestones.js +94 -0
  92. package/dist/commands/milestones.js.map +1 -0
  93. package/dist/commands/notifications.d.ts +3 -0
  94. package/dist/commands/notifications.d.ts.map +1 -0
  95. package/dist/commands/notifications.js +130 -0
  96. package/dist/commands/notifications.js.map +1 -0
  97. package/dist/commands/project-labels.d.ts +3 -0
  98. package/dist/commands/project-labels.d.ts.map +1 -0
  99. package/dist/commands/project-labels.js +80 -0
  100. package/dist/commands/project-labels.js.map +1 -0
  101. package/dist/commands/project-relations.d.ts +3 -0
  102. package/dist/commands/project-relations.d.ts.map +1 -0
  103. package/dist/commands/project-relations.js +96 -0
  104. package/dist/commands/project-relations.js.map +1 -0
  105. package/dist/commands/projects.d.ts +3 -0
  106. package/dist/commands/projects.d.ts.map +1 -0
  107. package/dist/commands/projects.js +263 -0
  108. package/dist/commands/projects.js.map +1 -0
  109. package/dist/commands/quota.d.ts +3 -0
  110. package/dist/commands/quota.d.ts.map +1 -0
  111. package/dist/commands/quota.js +28 -0
  112. package/dist/commands/quota.js.map +1 -0
  113. package/dist/commands/reactions.d.ts +7 -0
  114. package/dist/commands/reactions.d.ts.map +1 -0
  115. package/dist/commands/reactions.js +53 -0
  116. package/dist/commands/reactions.js.map +1 -0
  117. package/dist/commands/relations.d.ts +3 -0
  118. package/dist/commands/relations.d.ts.map +1 -0
  119. package/dist/commands/relations.js +73 -0
  120. package/dist/commands/relations.js.map +1 -0
  121. package/dist/commands/states.d.ts +3 -0
  122. package/dist/commands/states.d.ts.map +1 -0
  123. package/dist/commands/states.js +52 -0
  124. package/dist/commands/states.js.map +1 -0
  125. package/dist/commands/status-updates.d.ts +3 -0
  126. package/dist/commands/status-updates.d.ts.map +1 -0
  127. package/dist/commands/status-updates.js +117 -0
  128. package/dist/commands/status-updates.js.map +1 -0
  129. package/dist/commands/sync.d.ts.map +1 -1
  130. package/dist/commands/sync.js +58 -18
  131. package/dist/commands/sync.js.map +1 -1
  132. package/dist/commands/teams.d.ts +3 -0
  133. package/dist/commands/teams.d.ts.map +1 -0
  134. package/dist/commands/teams.js +135 -0
  135. package/dist/commands/teams.js.map +1 -0
  136. package/dist/commands/templates.d.ts +3 -0
  137. package/dist/commands/templates.d.ts.map +1 -0
  138. package/dist/commands/templates.js +76 -0
  139. package/dist/commands/templates.js.map +1 -0
  140. package/dist/commands/users.d.ts +3 -0
  141. package/dist/commands/users.d.ts.map +1 -0
  142. package/dist/commands/users.js +40 -0
  143. package/dist/commands/users.js.map +1 -0
  144. package/dist/commands/views.d.ts +3 -0
  145. package/dist/commands/views.d.ts.map +1 -0
  146. package/dist/commands/views.js +177 -0
  147. package/dist/commands/views.js.map +1 -0
  148. package/dist/commands/webhooks.d.ts +3 -0
  149. package/dist/commands/webhooks.d.ts.map +1 -0
  150. package/dist/commands/webhooks.js +234 -0
  151. package/dist/commands/webhooks.js.map +1 -0
  152. package/dist/config/loader.d.ts.map +1 -1
  153. package/dist/config/loader.js +3 -0
  154. package/dist/config/loader.js.map +1 -1
  155. package/dist/config/types.d.ts +15 -1
  156. package/dist/config/types.d.ts.map +1 -1
  157. package/dist/config/types.js +1 -0
  158. package/dist/config/types.js.map +1 -1
  159. package/dist/curator/dispatch.d.ts +52 -0
  160. package/dist/curator/dispatch.d.ts.map +1 -0
  161. package/dist/curator/dispatch.js +144 -0
  162. package/dist/curator/dispatch.js.map +1 -0
  163. package/dist/curator/index.d.ts +5 -0
  164. package/dist/curator/index.d.ts.map +1 -0
  165. package/dist/curator/index.js +5 -0
  166. package/dist/curator/index.js.map +1 -0
  167. package/dist/curator/llm.d.ts +70 -0
  168. package/dist/curator/llm.d.ts.map +1 -0
  169. package/dist/curator/llm.js +107 -0
  170. package/dist/curator/llm.js.map +1 -0
  171. package/dist/curator/snapshot.d.ts +34 -0
  172. package/dist/curator/snapshot.d.ts.map +1 -0
  173. package/dist/curator/snapshot.js +127 -0
  174. package/dist/curator/snapshot.js.map +1 -0
  175. package/dist/curator/state.d.ts +50 -0
  176. package/dist/curator/state.d.ts.map +1 -0
  177. package/dist/curator/state.js +125 -0
  178. package/dist/curator/state.js.map +1 -0
  179. package/dist/lib/bulk-graphql.d.ts +144 -0
  180. package/dist/lib/bulk-graphql.d.ts.map +1 -0
  181. package/dist/lib/bulk-graphql.js +380 -0
  182. package/dist/lib/bulk-graphql.js.map +1 -0
  183. package/dist/lib/index.d.ts +2 -0
  184. package/dist/lib/index.d.ts.map +1 -0
  185. package/dist/lib/index.js +2 -0
  186. package/dist/lib/index.js.map +1 -0
  187. package/dist/output/cli.d.ts +17 -0
  188. package/dist/output/cli.d.ts.map +1 -0
  189. package/dist/output/cli.js +252 -0
  190. package/dist/output/cli.js.map +1 -0
  191. package/dist/output/formatter.d.ts +6 -0
  192. package/dist/output/formatter.d.ts.map +1 -1
  193. package/dist/output/formatter.js +10 -0
  194. package/dist/output/formatter.js.map +1 -1
  195. package/dist/output/index.d.ts +1 -0
  196. package/dist/output/index.d.ts.map +1 -1
  197. package/dist/output/index.js +1 -0
  198. package/dist/output/index.js.map +1 -1
  199. package/dist/scripts/sync-linear-templates.d.ts +26 -0
  200. package/dist/scripts/sync-linear-templates.d.ts.map +1 -0
  201. package/dist/scripts/sync-linear-templates.js +115 -0
  202. package/dist/scripts/sync-linear-templates.js.map +1 -0
  203. package/dist/signals/github-commits.d.ts +31 -0
  204. package/dist/signals/github-commits.d.ts.map +1 -0
  205. package/dist/signals/github-commits.js +127 -0
  206. package/dist/signals/github-commits.js.map +1 -0
  207. package/dist/signals/github-pr.d.ts +16 -0
  208. package/dist/signals/github-pr.d.ts.map +1 -0
  209. package/dist/signals/github-pr.js +98 -0
  210. package/dist/signals/github-pr.js.map +1 -0
  211. package/dist/signals/index.d.ts +4 -0
  212. package/dist/signals/index.d.ts.map +1 -1
  213. package/dist/signals/index.js +4 -0
  214. package/dist/signals/index.js.map +1 -1
  215. package/dist/signals/linear-issues.d.ts +20 -0
  216. package/dist/signals/linear-issues.d.ts.map +1 -0
  217. package/dist/signals/linear-issues.js +115 -0
  218. package/dist/signals/linear-issues.js.map +1 -0
  219. package/dist/signals/registry.d.ts +4 -3
  220. package/dist/signals/registry.d.ts.map +1 -1
  221. package/dist/signals/registry.js +33 -11
  222. package/dist/signals/registry.js.map +1 -1
  223. package/dist/signals/slack-messages.d.ts +20 -0
  224. package/dist/signals/slack-messages.d.ts.map +1 -0
  225. package/dist/signals/slack-messages.js +129 -0
  226. package/dist/signals/slack-messages.js.map +1 -0
  227. package/dist/utils/errors.d.ts +81 -0
  228. package/dist/utils/errors.d.ts.map +1 -0
  229. package/dist/utils/errors.js +110 -0
  230. package/dist/utils/errors.js.map +1 -0
  231. package/dist/utils/index.d.ts +9 -0
  232. package/dist/utils/index.d.ts.map +1 -0
  233. package/dist/utils/index.js +9 -0
  234. package/dist/utils/index.js.map +1 -0
  235. package/dist/utils/label-policy.d.ts +60 -0
  236. package/dist/utils/label-policy.d.ts.map +1 -0
  237. package/dist/utils/label-policy.js +103 -0
  238. package/dist/utils/label-policy.js.map +1 -0
  239. package/dist/utils/parse.d.ts +48 -0
  240. package/dist/utils/parse.d.ts.map +1 -0
  241. package/dist/utils/parse.js +133 -0
  242. package/dist/utils/parse.js.map +1 -0
  243. package/dist/utils/project-status.d.ts +6 -0
  244. package/dist/utils/project-status.d.ts.map +1 -0
  245. package/dist/utils/project-status.js +33 -0
  246. package/dist/utils/project-status.js.map +1 -0
  247. package/dist/utils/rate-limit.d.ts +24 -0
  248. package/dist/utils/rate-limit.d.ts.map +1 -0
  249. package/dist/utils/rate-limit.js +89 -0
  250. package/dist/utils/rate-limit.js.map +1 -0
  251. package/dist/utils/resolve.d.ts +84 -0
  252. package/dist/utils/resolve.d.ts.map +1 -0
  253. package/dist/utils/resolve.js +172 -0
  254. package/dist/utils/resolve.js.map +1 -0
  255. package/dist/utils/sleep.d.ts +2 -0
  256. package/dist/utils/sleep.d.ts.map +1 -0
  257. package/dist/utils/sleep.js +4 -0
  258. package/dist/utils/sleep.js.map +1 -0
  259. package/dist/utils/webhook-verify.d.ts +42 -0
  260. package/dist/utils/webhook-verify.d.ts.map +1 -0
  261. package/dist/utils/webhook-verify.js +65 -0
  262. package/dist/utils/webhook-verify.js.map +1 -0
  263. package/package.json +7 -2
  264. package/references/agent-description-template.md +31 -0
  265. package/references/cli-reference.md +227 -0
  266. package/references/curator-tiering-rules.md +78 -0
  267. package/references/label-policy.example.json +37 -0
  268. package/references/label-policy.placeholder.json +6 -0
  269. package/references/settings-template.md +30 -0
  270. package/references/signal-sources.example.json +0 -8
  271. package/references/sla-reference.md +70 -0
  272. package/references/template-index.md +34 -0
  273. package/references/workspace-labels.md +124 -0
  274. package/references/workspace-projects.md +56 -0
  275. package/references/workspace-routing.md +58 -0
  276. package/schemas/label-policy.json +72 -0
  277. package/scripts/postinstall.mjs +195 -0
  278. package/skills/linear-workspace/SKILL.md +65 -4
  279. package/templates/ACC-PRO-provision.md +74 -0
  280. package/templates/ACC-PRV-privileged.md +66 -0
  281. package/templates/ACC-QTR-review.md +77 -0
  282. package/templates/ACC-REV-revoke.md +67 -0
  283. package/templates/AI-USE-capability.md +111 -0
  284. package/templates/AUD-CAP-corrective.md +89 -0
  285. package/templates/AUD-INT-internal.md +92 -0
  286. package/templates/AUD-MGT-management.md +110 -0
  287. package/templates/CHG-MAJ-major.md +110 -0
  288. package/templates/CHG-SIG-significant.md +83 -0
  289. package/templates/CHG-STD-standard.md +47 -0
  290. package/templates/LRN-DOC-lessons.md +75 -0
  291. package/templates/OPS-BCK-backup.md +99 -0
  292. package/templates/OPS-DAT-data-mod.md +98 -0
  293. package/templates/RCA-DOC-root-cause.md +105 -0
  294. package/templates/RSK-ASS-assessment.md +87 -0
  295. package/templates/RSK-VND-vendor.md +113 -0
  296. package/templates/SEC-INC-incident.md +76 -0
  297. package/templates/SEC-PEN-pentest.md +58 -0
  298. package/templates/SEC-VLN-vulnerability.md +69 -0
  299. package/templates/SLA-AVL-availability.md +86 -0
  300. package/templates/SLA-OPS-operational.md +70 -0
  301. package/templates/agent-server-template/README.md +88 -0
  302. package/templates/agent-server-template/server.example.ts +185 -0
@@ -0,0 +1,83 @@
1
+ # CHG-SIG: ISMS Significant Change (Category 2)
2
+
3
+ ## Quick Reference
4
+ - **SLA:** 5-10 days
5
+ - **Team:** *the team that owns this workflow in your workspace*
6
+ - **Project:** Significant Changes
7
+
8
+ ## Required Labels
9
+ - `Type: improvement`
10
+ - `Flag: compliance`
11
+ - `Flag: security` (if security control affected)
12
+ - `Layer: [affected layers]`
13
+
14
+ ## Issue Template
15
+ ```markdown
16
+ ## ISMS Significant Change Request
17
+
18
+ **Change ID:** ISMS-YYYY-XXX
19
+ **Category:** 2 - Significant Change
20
+ **Requested By:** [Name]
21
+ **Date Requested:** [YYYY-MM-DD]
22
+ **Target Implementation:** [YYYY-MM-DD]
23
+
24
+ ## Change Description
25
+ [Detailed description - affects existing security controls, procedures, risk treatment plans, or objectives]
26
+
27
+ ## Affected Areas
28
+ - [ ] Security controls
29
+ - [ ] Procedures
30
+ - [ ] Risk treatment plans
31
+ - [ ] ISMS objectives
32
+ - [ ] Other: ___
33
+
34
+ ## Affected Documents
35
+ | Document | Section | Type of Change |
36
+ |----------|---------|----------------|
37
+ | | | |
38
+
39
+ ## Justification
40
+ [Business or security justification for this change]
41
+
42
+ ## Impact Assessment
43
+ ### Systems Affected
44
+ [List systems or processes affected]
45
+
46
+ ### Stakeholders Affected
47
+ [List roles or teams impacted]
48
+
49
+ ### Potential Risks
50
+ [Describe potential negative impacts]
51
+
52
+ ### Mitigation Measures
53
+ [How will risks be mitigated?]
54
+
55
+ ## Resource Requirements
56
+ - **Personnel:** [Time/effort needed]
57
+ - **Budget:** [If applicable]
58
+ - **Training:** [If required]
59
+
60
+ ## Implementation Plan
61
+ | Step | Action | Owner | Target Date |
62
+ |------|--------|-------|-------------|
63
+ | 1 | | | |
64
+ | 2 | | | |
65
+
66
+ ## Rollback Plan
67
+ [Describe how to revert if change causes issues]
68
+
69
+ ## Communication Requirements
70
+ - [ ] Affected stakeholders notified
71
+ - [ ] Training scheduled (if needed)
72
+
73
+ ## Approvals
74
+ - [ ] Information Security Management Leader: _________________ Date: _______
75
+ - [ ] ISMS Governance Council Member: _________________ Date: _______
76
+
77
+ ## Implementation Verification
78
+ - [ ] Change implemented as planned
79
+ - [ ] No deviations from plan (or deviations documented)
80
+ - [ ] Affected documents updated
81
+ - [ ] Change log updated
82
+ - [ ] Post-implementation review completed
83
+ ```
@@ -0,0 +1,47 @@
1
+ # CHG-STD: ISMS Standard Change (Category 1)
2
+
3
+ ## Quick Reference
4
+ - **SLA:** 1-2 days
5
+ - **Team:** *the team that owns this workflow in your workspace*
6
+ - **Project:** Standard Changes
7
+
8
+ ## Required Labels
9
+ - `Type: improvement`
10
+ - `Flag: compliance`
11
+ - `Layer: [affected layer]`
12
+
13
+ ## Issue Template
14
+ ```markdown
15
+ ## ISMS Standard Change Request
16
+
17
+ **Change ID:** ISMS-YYYY-XXX
18
+ **Category:** 1 - Standard Change
19
+ **Requested By:** [Name]
20
+ **Date Requested:** [YYYY-MM-DD]
21
+
22
+ ## Change Description
23
+ [Describe the change - should be minor documentation updates, clarifications, or non-intent-changing reviews]
24
+
25
+ ## Affected Documents
26
+ - [ ] Document: [filename] - Section: [section]
27
+
28
+ ## Justification
29
+ [Why is this change needed?]
30
+
31
+ ## Risk Assessment
32
+ **Risk Level:** Minimal
33
+ [Standard changes by definition have minimal risk - no changes to security controls or policy intent]
34
+
35
+ ## Implementation Plan
36
+ 1. [Step 1]
37
+ 2. [Step 2]
38
+
39
+ ## Approval
40
+ - [ ] Information Security Management Leader: _________________ Date: _______
41
+
42
+ ## Verification Checklist
43
+ - [ ] Change implemented as described
44
+ - [ ] Document version updated
45
+ - [ ] Change log updated
46
+ - [ ] No unintended impacts observed
47
+ ```
@@ -0,0 +1,75 @@
1
+ # LRN-DOC: Lessons Learned
2
+
3
+ ## Quick Reference
4
+ - **SLA:** 10-20 days
5
+ - **Team:** *the team that owns this workflow in your workspace*
6
+ - **Project:** Lessons Learned
7
+
8
+ ## Required Labels
9
+ - `Type: research`
10
+ - `Flag: compliance`
11
+ - `Layer: [affected area]`
12
+
13
+ ## Issue Template
14
+ ```markdown
15
+ ## Lessons Learned Review
16
+
17
+ **Review ID:** LRN-YYYY-XXX
18
+ **Incident Reference:** [Link to incident ticket]
19
+ **RCA Reference:** [Link to RCA ticket]
20
+ **Meeting Date:** [YYYY-MM-DD]
21
+
22
+ ## Meeting Details
23
+ - **Facilitator:** [Name]
24
+ - **Participants:** [List all participants]
25
+ - **Duration:** [X hours]
26
+
27
+ ## Incident Recap
28
+ [Brief summary of the incident - link to full RCA for details]
29
+
30
+ ## Discussion Topics
31
+
32
+ ### What Went Well
33
+ | Item | Details | How to Reinforce |
34
+ |------|---------|------------------|
35
+ | | | |
36
+
37
+ ### What Could Be Improved
38
+ | Item | Details | Proposed Improvement |
39
+ |------|---------|---------------------|
40
+ | | | |
41
+
42
+ ### What Was Confusing or Unclear
43
+ | Item | Details | Clarification Needed |
44
+ |------|---------|---------------------|
45
+ | | | |
46
+
47
+ ## Key Learnings
48
+ 1. [Learning 1]
49
+ 2. [Learning 2]
50
+ 3. [Learning 3]
51
+
52
+ ## Action Items
53
+ | Action | Owner | Target Date | Priority | Ticket |
54
+ |--------|-------|-------------|----------|--------|
55
+ | | | | | |
56
+
57
+ ## Process Improvements
58
+ [Suggested changes to incident response or other processes]
59
+
60
+ ## Training Needs
61
+ [Any training identified as needed]
62
+
63
+ ## Documentation Updates
64
+ - [ ] Runbook updates needed
65
+ - [ ] Procedure updates needed
66
+ - [ ] Training material updates needed
67
+
68
+ ## Follow-up
69
+ - [ ] Action items created in Linear
70
+ - [ ] Next check-in date: [YYYY-MM-DD]
71
+
72
+ ## Sign-off
73
+ - [ ] Facilitator: _________________ Date: _______
74
+ - [ ] Team Lead: _________________ Date: _______
75
+ ```
@@ -0,0 +1,99 @@
1
+ # OPS-BCK: Backup Restore Test
2
+
3
+ ## Quick Reference
4
+ - **SLA:** RTO: 2 hours
5
+ - **Team:** *the team that owns this workflow in your workspace*
6
+ - **Project:** Backup & DR Testing
7
+
8
+ ## Required Labels
9
+ - `Type: research`
10
+ - `Flag: compliance`
11
+ - `Layer: devops`
12
+
13
+ ## Issue Template
14
+ ```markdown
15
+ ## Backup Restore Test
16
+
17
+ **Test ID:** OPS-BCK-YYYY-QX
18
+ **Test Date:** [YYYY-MM-DD]
19
+ **Quarter:** Q[1-4] [YYYY]
20
+ **Test Type:** [RDS Snapshot / RDS Point-in-Time / S3 Version / Full DR Simulation]
21
+
22
+ ## Recovery Objectives
23
+ - **RTO (Recovery Time Objective):** 2 hours
24
+ - **RPO (Recovery Point Objective):** 15 minutes
25
+
26
+ ## Test Scope
27
+ - [ ] RDS PostgreSQL Database
28
+ - [ ] S3 Production Bucket
29
+ - [ ] ECR Container Images (Q4 only)
30
+ - [ ] ECS Task Definitions (Q4 only)
31
+
32
+ ## Pre-Test Checklist
33
+ - [ ] Test environment prepared
34
+ - [ ] Backup source identified (snapshot ID or timestamp)
35
+ - [ ] Test plan reviewed
36
+ - [ ] Rollback plan ready
37
+
38
+ ## Test Execution
39
+
40
+ ### Test 1: [Test Type]
41
+ **Start Time:** [HH:MM]
42
+ **End Time:** [HH:MM]
43
+ **Recovery Time:** [XX minutes]
44
+
45
+ **Steps Performed:**
46
+ 1. [ ] [Step 1]
47
+ 2. [ ] [Step 2]
48
+ 3. [ ] [Step 3]
49
+
50
+ **Validation Queries:**
51
+ ```sql
52
+ -- Record counts
53
+ SELECT COUNT(*) FROM [table];
54
+
55
+ -- Recent data check
56
+ SELECT * FROM [table] WHERE created_at > NOW() - INTERVAL '7 days' LIMIT 5;
57
+
58
+ -- Data integrity
59
+ [Specific integrity checks]
60
+ ```
61
+
62
+ **Results:**
63
+ | Check | Expected | Actual | Pass/Fail |
64
+ |-------|----------|--------|-----------|
65
+ | Recovery time | < 2 hours | | |
66
+ | Data present | Yes | | |
67
+ | No data loss beyond RPO | < 15 min | | |
68
+ | Integrity checks | Pass | | |
69
+
70
+ ## Cleanup
71
+ - [ ] Test instances terminated
72
+ - [ ] Test data removed
73
+ - [ ] Costs verified
74
+
75
+ ## Issues Encountered
76
+ | Issue | Impact | Resolution | Follow-up Needed |
77
+ |-------|--------|------------|------------------|
78
+ | | | | |
79
+
80
+ ## Results Summary
81
+ - **Overall Result:** [PASS / FAIL]
82
+ - **Recovery Time Achieved:** [XX minutes]
83
+ - **Data Loss:** [None / XX minutes]
84
+ - **RTO Met:** [Yes / No]
85
+ - **RPO Met:** [Yes / No]
86
+
87
+ ## Corrective Actions
88
+ [Create linked tickets if any issues found]
89
+
90
+ ## Sign-off
91
+ - [ ] Test performed by: _________________ Date: _______
92
+ - [ ] Results verified by: _________________ Date: _______
93
+ - [ ] CTO approval: _________________ Date: _______
94
+
95
+ ## Evidence
96
+ - [ ] Screenshots captured
97
+ - [ ] Logs preserved
98
+ - [ ] Notion Restore Test Record updated
99
+ ```
@@ -0,0 +1,98 @@
1
+ # OPS-DAT: Production Data Modification
2
+
3
+ ## Quick Reference
4
+ - **SLA:** 1-2 days
5
+ - **Team:** *the team that owns this workflow in your workspace*
6
+ - **Project:** Data Modifications
7
+
8
+ ## Required Labels
9
+ - `Type: bug`
10
+ - `Flag: security`
11
+ - `Layer: backend`
12
+
13
+ ## Issue Template
14
+ ```markdown
15
+ ## Production Data Modification Request
16
+
17
+ **Request ID:** OPS-DAT-YYYY-XXX
18
+ **Request Date:** [YYYY-MM-DD]
19
+ **Requestor:** [Name]
20
+ **Urgency:** [Emergency / Standard]
21
+
22
+ ## Modification Details
23
+ - **Database:** [Production database name]
24
+ - **Table(s):** [Affected tables]
25
+ - **Record Count:** [Estimated number of records affected]
26
+ - **Modification Type:** [UPDATE / DELETE / INSERT / Correction]
27
+
28
+ ## Business Justification
29
+ [Explain why this modification is needed and why it cannot be done through the application]
30
+
31
+ ## Data Description
32
+ **Records to be modified:**
33
+ [Describe the specific records - criteria for selection]
34
+
35
+ **Current State:**
36
+ [What the data looks like now]
37
+
38
+ **Desired State:**
39
+ [What the data should look like after modification]
40
+
41
+ ## Pre-Modification Checklist
42
+ - [ ] Recent backup verified (within last [X] hours)
43
+ - [ ] Query tested on development database
44
+ - [ ] Peer review completed
45
+ - [ ] Rollback plan prepared
46
+
47
+ ## SQL Query
48
+ ```sql
49
+ -- VERIFICATION: Check records before modification
50
+ SELECT [columns]
51
+ FROM [table]
52
+ WHERE [conditions];
53
+
54
+ -- Expected affected rows: [X]
55
+
56
+ -- MODIFICATION (within transaction)
57
+ BEGIN TRANSACTION;
58
+
59
+ UPDATE/DELETE [table]
60
+ SET [columns] = [values]
61
+ WHERE [conditions];
62
+
63
+ -- Verify changes
64
+ SELECT [columns]
65
+ FROM [table]
66
+ WHERE [conditions];
67
+
68
+ -- If correct: COMMIT;
69
+ -- If incorrect: ROLLBACK;
70
+ ```
71
+
72
+ ## Rollback Plan
73
+ ```sql
74
+ -- Rollback query if needed
75
+ [Reverse operation SQL]
76
+ ```
77
+
78
+ ## Approvals
79
+ - [ ] Peer review by: _________________ Date: _______
80
+ - [ ] CTO approval: _________________ Date: _______ (required)
81
+ - [ ] Data owner notification: _________________ Date: _______
82
+
83
+ ## Execution Log
84
+ - **Executed by:** [Name]
85
+ - **Execution time:** [YYYY-MM-DD HH:MM]
86
+ - **Records affected:** [Actual count]
87
+ - **Transaction status:** [COMMITTED / ROLLED BACK]
88
+
89
+ ## Verification
90
+ - [ ] Post-modification query run
91
+ - [ ] Results match expected outcome
92
+ - [ ] Application functionality verified
93
+ - [ ] No unintended side effects
94
+
95
+ ## Documentation
96
+ - [ ] Change logged
97
+ - [ ] Audit trail preserved
98
+ ```
@@ -0,0 +1,105 @@
1
+ # RCA-DOC: Root Cause Analysis
2
+
3
+ ## Quick Reference
4
+ - **SLA:** 3-20 days
5
+ - **Team:** *the team that owns this workflow in your workspace*
6
+ - **Project:** Root Cause Analysis
7
+
8
+ ## Timeline by Severity
9
+ | Severity | RCA Deadline |
10
+ |----------|--------------|
11
+ | Sev 0 | 3 business days |
12
+ | Sev 1 | 5 business days |
13
+ | Sev 2 | 10 business days |
14
+ | Sev 3 | 20 business days |
15
+
16
+ ## Required Labels
17
+ - `Type: research`
18
+ - `Flag: security` (if security incident)
19
+ - `Flag: compliance`
20
+ - `Layer: [affected area]`
21
+
22
+ ## Issue Template
23
+ ```markdown
24
+ ## Root Cause Analysis
25
+
26
+ **RCA ID:** RCA-YYYY-XXX
27
+ **Incident Reference:** [Link to incident ticket]
28
+ **Incident Date:** [YYYY-MM-DD]
29
+ **RCA Completion Deadline:** [YYYY-MM-DD]
30
+
31
+ ## Executive Summary
32
+ [2-3 sentence summary of incident and root cause]
33
+
34
+ ## Incident Summary
35
+ - **Incident Type:** [Type]
36
+ - **Severity:** [Sev 0-3]
37
+ - **Duration:** [X hours Y minutes]
38
+ - **Impact:** [Summary of impact]
39
+
40
+ ## Timeline Reconstruction
41
+ | Time | Event | Source |
42
+ |------|-------|--------|
43
+ | | | |
44
+
45
+ ## Problem Statement
46
+ [Clear statement of what went wrong]
47
+
48
+ ## Root Cause Analysis
49
+
50
+ ### 5 Whys Analysis
51
+ 1. Why did [immediate cause] happen?
52
+ - Because [reason 1]
53
+ 2. Why did [reason 1] happen?
54
+ - Because [reason 2]
55
+ 3. Why did [reason 2] happen?
56
+ - Because [reason 3]
57
+ 4. Why did [reason 3] happen?
58
+ - Because [reason 4]
59
+ 5. Why did [reason 4] happen?
60
+ - Because [ROOT CAUSE]
61
+
62
+ ### Root Cause
63
+ [Statement of the fundamental root cause]
64
+
65
+ ### Contributing Factors
66
+ 1. [Factor 1]
67
+ 2. [Factor 2]
68
+ 3. [Factor 3]
69
+
70
+ ## What Went Well
71
+ - [Positive 1]
72
+ - [Positive 2]
73
+
74
+ ## What Could Be Improved
75
+ - [Improvement 1]
76
+ - [Improvement 2]
77
+
78
+ ## Corrective Actions
79
+
80
+ ### Immediate Actions (Completed)
81
+ | Action | Owner | Status |
82
+ |--------|-------|--------|
83
+ | | | Done |
84
+
85
+ ### Short-term Actions (1-2 weeks)
86
+ | Action | Owner | Target Date | Ticket |
87
+ |--------|-------|-------------|--------|
88
+ | | | | |
89
+
90
+ ### Long-term Actions (1-3 months)
91
+ | Action | Owner | Target Date | Ticket |
92
+ |--------|-------|-------------|--------|
93
+ | | | | |
94
+
95
+ ## Preventive Measures
96
+ [How will we prevent similar incidents in the future?]
97
+
98
+ ## Lessons Learned
99
+ [Key takeaways for the team]
100
+
101
+ ## Sign-off
102
+ - [ ] RCA Author: _________________ Date: _______
103
+ - [ ] Team Lead Review: _________________ Date: _______
104
+ - [ ] Management Approval: _________________ Date: _______
105
+ ```
@@ -0,0 +1,87 @@
1
+ # RSK-ASS: Risk Assessment
2
+
3
+ ## Quick Reference
4
+ - **SLA:** 30 days
5
+ - **Team:** *the team that owns this workflow in your workspace*
6
+ - **Project:** Risk Assessments
7
+
8
+ ## Required Labels
9
+ - `Type: research`
10
+ - `Flag: compliance`
11
+ - `Flag: security`
12
+ - `Layer: devops`
13
+
14
+ ## Issue Template
15
+ ```markdown
16
+ ## Risk Assessment
17
+
18
+ **Assessment ID:** RSK-ASS-YYYY-XXX
19
+ **Assessment Date:** [YYYY-MM-DD]
20
+ **Assessment Type:** [Annual / Triggered / Ad-hoc]
21
+ **Trigger:** [Annual schedule / Organizational change / Technology change / Incident / Other]
22
+
23
+ ## Scope
24
+ [Define what's being assessed - full ISMS, specific system, specific process]
25
+
26
+ ## Assessment Team
27
+ - **Lead:** [Name]
28
+ - **Participants:** [Names]
29
+
30
+ ## Methodology
31
+ - Risk assessment framework: [e.g., ISO 27005]
32
+ - Likelihood scale: [1-5 or Low/Medium/High]
33
+ - Impact scale: [1-5 or Low/Medium/High]
34
+ - Risk calculation: [Likelihood x Impact]
35
+
36
+ ## Asset Inventory
37
+ | Asset | Type | Owner | Criticality |
38
+ |-------|------|-------|-------------|
39
+ | | | | |
40
+
41
+ ## Threat Identification
42
+ | Threat | Source | Target Assets |
43
+ |--------|--------|---------------|
44
+ | | | |
45
+
46
+ ## Vulnerability Assessment
47
+ | Vulnerability | Affected Assets | Current Controls |
48
+ |---------------|-----------------|------------------|
49
+ | | | |
50
+
51
+ ## Risk Register
52
+ | Risk ID | Risk Description | Asset | Threat | Vulnerability | Likelihood | Impact | Risk Level | Treatment |
53
+ |---------|------------------|-------|--------|---------------|------------|--------|------------|-----------|
54
+ | | | | | | | | | |
55
+
56
+ ## Risk Evaluation
57
+
58
+ ### High Risks Requiring Treatment
59
+ | Risk ID | Risk | Current Level | Treatment Decision |
60
+ |---------|------|---------------|-------------------|
61
+ | | | | |
62
+
63
+ ### Accepted Risks
64
+ | Risk ID | Risk | Level | Justification for Acceptance |
65
+ |---------|------|-------|------------------------------|
66
+ | | | | |
67
+
68
+ ## Risk Treatment Plan
69
+ [Create linked issues for each risk requiring treatment]
70
+
71
+ | Risk ID | Treatment | Control(s) | Owner | Target Date | Status |
72
+ |---------|-----------|------------|-------|-------------|--------|
73
+ | | | | | | |
74
+
75
+ ## Residual Risk Assessment
76
+ | Risk ID | Original Level | After Treatment | Acceptable? |
77
+ |---------|----------------|-----------------|-------------|
78
+ | | | | |
79
+
80
+ ## Statement of Applicability Impact
81
+ [Document any changes needed to SoA based on this assessment]
82
+
83
+ ## Sign-off
84
+ - [ ] Risk Assessment completed by: _________________ Date: _______
85
+ - [ ] Reviewed by ISMS Governance Council: _________________ Date: _______
86
+ - [ ] Risk Treatment Plan approved: _________________ Date: _______
87
+ ```
@@ -0,0 +1,113 @@
1
+ # RSK-VND: Third-Party Vendor Assessment
2
+
3
+ ## Quick Reference
4
+ - **SLA:** 30 days
5
+ - **Team:** *the team that owns this workflow in your workspace*
6
+ - **Project:** Vendor Assessments
7
+
8
+ ## Required Labels
9
+ - `Type: research`
10
+ - `Flag: compliance`
11
+ - `Flag: security`
12
+ - `Layer: devops`
13
+
14
+ ## Issue Template
15
+ ```markdown
16
+ ## Third-Party Vendor Assessment
17
+
18
+ **Assessment ID:** RSK-VND-YYYY-XXX
19
+ **Assessment Date:** [YYYY-MM-DD]
20
+ **Assessment Type:** [New Vendor / Annual Review / Change Reassessment]
21
+
22
+ ## Vendor Information
23
+ - **Vendor Name:** [Company name]
24
+ - **Service Description:** [What service they provide]
25
+ - **Contract Start Date:** [If known]
26
+ - **Contract Value:** [Annual value if known]
27
+ - **Primary Contact:** [Name, email]
28
+
29
+ ## Data Access Assessment
30
+ ### Data Types Accessed
31
+ - [ ] Customer data
32
+ - [ ] Employee data
33
+ - [ ] Financial data
34
+ - [ ] Intellectual property
35
+ - [ ] Production systems access
36
+ - [ ] No sensitive data access
37
+
38
+ ### Access Method
39
+ - [ ] Direct system access
40
+ - [ ] Data export/transfer
41
+ - [ ] API integration
42
+ - [ ] Physical access
43
+ - [ ] No direct access
44
+
45
+ ## Security Assessment
46
+
47
+ ### Certifications and Audits
48
+ | Certification | Status | Expiry Date | Verified |
49
+ |---------------|--------|-------------|----------|
50
+ | SOC 2 Type II | | | [ ] |
51
+ | ISO 27001 | | | [ ] |
52
+ | Other: | | | [ ] |
53
+
54
+ ### Security Controls Checklist
55
+ | Control Area | Adequate? | Notes |
56
+ |--------------|-----------|-------|
57
+ | Information Security Policy | Yes/No/NA | |
58
+ | Access Control | Yes/No/NA | |
59
+ | Encryption (at rest and in transit) | Yes/No/NA | |
60
+ | Incident Response | Yes/No/NA | |
61
+ | Business Continuity | Yes/No/NA | |
62
+ | Employee Background Checks | Yes/No/NA | |
63
+ | Secure Development (if applicable) | Yes/No/NA | |
64
+ | Vulnerability Management | Yes/No/NA | |
65
+
66
+ ### Documentation Reviewed
67
+ - [ ] SOC 2 Type II report
68
+ - [ ] ISO 27001 certificate
69
+ - [ ] Security questionnaire response
70
+ - [ ] Privacy policy
71
+ - [ ] Terms of service
72
+ - [ ] Data processing agreement
73
+
74
+ ## Risk Assessment
75
+
76
+ ### Identified Risks
77
+ | Risk | Likelihood | Impact | Risk Level | Mitigation |
78
+ |------|------------|--------|------------|------------|
79
+ | | | | | |
80
+
81
+ ### Risk Level: [High / Medium / Low]
82
+
83
+ ## Contractual Requirements
84
+ - [ ] NDA/CDA in place
85
+ - [ ] Data processing agreement required
86
+ - [ ] Security requirements in contract
87
+ - [ ] SLA defined
88
+ - [ ] Right to audit clause
89
+ - [ ] Exit/transition clause
90
+
91
+ ## Decision
92
+
93
+ ### Recommendation
94
+ - [ ] **Approve** - Vendor meets security requirements
95
+ - [ ] **Approve with Conditions** - Requires additional controls (specify below)
96
+ - [ ] **Reject** - Unacceptable security posture
97
+ - [ ] **Defer** - Requires additional information
98
+
99
+ ### Conditions (if applicable)
100
+ [List any conditions that must be met]
101
+
102
+ ### Risk Acceptance (if applicable)
103
+ [Document any residual risks being accepted and justification]
104
+
105
+ ## Approvals
106
+ - [ ] Assessment completed by: _________________ Date: _______
107
+ - [ ] Security review by: _________________ Date: _______
108
+ - [ ] Final approval by: _________________ Date: _______
109
+
110
+ ## Ongoing Monitoring
111
+ - Annual review date: [YYYY-MM-DD]
112
+ - Review trigger events: [List events that require reassessment]
113
+ ```