@elnora-ai/linear 1.0.1 → 1.1.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 (299) hide show
  1. package/.claude-plugin/marketplace.json +7 -2
  2. package/.claude-plugin/plugin.json +1 -1
  3. package/CHANGELOG.md +13 -1
  4. package/README.md +116 -26
  5. package/agents/linear-issue-creator.md +129 -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 +189 -26
  10. package/commands/linear-cleanup.md +64 -29
  11. package/dist/cli.js +64 -1
  12. package/dist/cli.js.map +1 -1
  13. package/dist/client/auth.d.ts.map +1 -1
  14. package/dist/client/auth.js +13 -2
  15. package/dist/client/auth.js.map +1 -1
  16. package/dist/client/linear-client.d.ts +7 -0
  17. package/dist/client/linear-client.d.ts.map +1 -1
  18. package/dist/client/linear-client.js +13 -1
  19. package/dist/client/linear-client.js.map +1 -1
  20. package/dist/commands/agent-activities.d.ts +3 -0
  21. package/dist/commands/agent-activities.d.ts.map +1 -0
  22. package/dist/commands/agent-activities.js +144 -0
  23. package/dist/commands/agent-activities.js.map +1 -0
  24. package/dist/commands/agent-sessions.d.ts +3 -0
  25. package/dist/commands/agent-sessions.d.ts.map +1 -0
  26. package/dist/commands/agent-sessions.js +132 -0
  27. package/dist/commands/agent-sessions.js.map +1 -0
  28. package/dist/commands/attachments.d.ts +3 -0
  29. package/dist/commands/attachments.d.ts.map +1 -0
  30. package/dist/commands/attachments.js +265 -0
  31. package/dist/commands/attachments.js.map +1 -0
  32. package/dist/commands/audit.d.ts +3 -0
  33. package/dist/commands/audit.d.ts.map +1 -0
  34. package/dist/commands/audit.js +73 -0
  35. package/dist/commands/audit.js.map +1 -0
  36. package/dist/commands/comments.d.ts +3 -0
  37. package/dist/commands/comments.d.ts.map +1 -0
  38. package/dist/commands/comments.js +107 -0
  39. package/dist/commands/comments.js.map +1 -0
  40. package/dist/commands/completion.d.ts +3 -0
  41. package/dist/commands/completion.d.ts.map +1 -0
  42. package/dist/commands/completion.js +62 -0
  43. package/dist/commands/completion.js.map +1 -0
  44. package/dist/commands/context.d.ts +3 -0
  45. package/dist/commands/context.d.ts.map +1 -0
  46. package/dist/commands/context.js +94 -0
  47. package/dist/commands/context.js.map +1 -0
  48. package/dist/commands/curator.d.ts +14 -0
  49. package/dist/commands/curator.d.ts.map +1 -1
  50. package/dist/commands/curator.js +97 -19
  51. package/dist/commands/curator.js.map +1 -1
  52. package/dist/commands/customer-needs.d.ts +3 -0
  53. package/dist/commands/customer-needs.d.ts.map +1 -0
  54. package/dist/commands/customer-needs.js +198 -0
  55. package/dist/commands/customer-needs.js.map +1 -0
  56. package/dist/commands/customers.d.ts +5 -0
  57. package/dist/commands/customers.d.ts.map +1 -0
  58. package/dist/commands/customers.js +201 -0
  59. package/dist/commands/customers.js.map +1 -0
  60. package/dist/commands/cycles.d.ts +3 -0
  61. package/dist/commands/cycles.d.ts.map +1 -0
  62. package/dist/commands/cycles.js +67 -0
  63. package/dist/commands/cycles.js.map +1 -0
  64. package/dist/commands/documents.d.ts +3 -0
  65. package/dist/commands/documents.d.ts.map +1 -0
  66. package/dist/commands/documents.js +105 -0
  67. package/dist/commands/documents.js.map +1 -0
  68. package/dist/commands/favorites.d.ts +3 -0
  69. package/dist/commands/favorites.d.ts.map +1 -0
  70. package/dist/commands/favorites.js +101 -0
  71. package/dist/commands/favorites.js.map +1 -0
  72. package/dist/commands/index.d.ts +30 -0
  73. package/dist/commands/index.d.ts.map +1 -1
  74. package/dist/commands/index.js +30 -0
  75. package/dist/commands/index.js.map +1 -1
  76. package/dist/commands/initiatives.d.ts +3 -0
  77. package/dist/commands/initiatives.d.ts.map +1 -0
  78. package/dist/commands/initiatives.js +106 -0
  79. package/dist/commands/initiatives.js.map +1 -0
  80. package/dist/commands/issues.d.ts +21 -0
  81. package/dist/commands/issues.d.ts.map +1 -0
  82. package/dist/commands/issues.js +993 -0
  83. package/dist/commands/issues.js.map +1 -0
  84. package/dist/commands/labels.d.ts +3 -0
  85. package/dist/commands/labels.d.ts.map +1 -0
  86. package/dist/commands/labels.js +111 -0
  87. package/dist/commands/labels.js.map +1 -0
  88. package/dist/commands/milestones.d.ts +3 -0
  89. package/dist/commands/milestones.d.ts.map +1 -0
  90. package/dist/commands/milestones.js +94 -0
  91. package/dist/commands/milestones.js.map +1 -0
  92. package/dist/commands/notifications.d.ts +3 -0
  93. package/dist/commands/notifications.d.ts.map +1 -0
  94. package/dist/commands/notifications.js +130 -0
  95. package/dist/commands/notifications.js.map +1 -0
  96. package/dist/commands/project-labels.d.ts +3 -0
  97. package/dist/commands/project-labels.d.ts.map +1 -0
  98. package/dist/commands/project-labels.js +80 -0
  99. package/dist/commands/project-labels.js.map +1 -0
  100. package/dist/commands/project-relations.d.ts +3 -0
  101. package/dist/commands/project-relations.d.ts.map +1 -0
  102. package/dist/commands/project-relations.js +96 -0
  103. package/dist/commands/project-relations.js.map +1 -0
  104. package/dist/commands/projects.d.ts +3 -0
  105. package/dist/commands/projects.d.ts.map +1 -0
  106. package/dist/commands/projects.js +263 -0
  107. package/dist/commands/projects.js.map +1 -0
  108. package/dist/commands/quota.d.ts +3 -0
  109. package/dist/commands/quota.d.ts.map +1 -0
  110. package/dist/commands/quota.js +28 -0
  111. package/dist/commands/quota.js.map +1 -0
  112. package/dist/commands/reactions.d.ts +7 -0
  113. package/dist/commands/reactions.d.ts.map +1 -0
  114. package/dist/commands/reactions.js +53 -0
  115. package/dist/commands/reactions.js.map +1 -0
  116. package/dist/commands/relations.d.ts +3 -0
  117. package/dist/commands/relations.d.ts.map +1 -0
  118. package/dist/commands/relations.js +73 -0
  119. package/dist/commands/relations.js.map +1 -0
  120. package/dist/commands/states.d.ts +3 -0
  121. package/dist/commands/states.d.ts.map +1 -0
  122. package/dist/commands/states.js +52 -0
  123. package/dist/commands/states.js.map +1 -0
  124. package/dist/commands/status-updates.d.ts +3 -0
  125. package/dist/commands/status-updates.d.ts.map +1 -0
  126. package/dist/commands/status-updates.js +117 -0
  127. package/dist/commands/status-updates.js.map +1 -0
  128. package/dist/commands/sync.d.ts.map +1 -1
  129. package/dist/commands/sync.js +58 -18
  130. package/dist/commands/sync.js.map +1 -1
  131. package/dist/commands/teams.d.ts +3 -0
  132. package/dist/commands/teams.d.ts.map +1 -0
  133. package/dist/commands/teams.js +135 -0
  134. package/dist/commands/teams.js.map +1 -0
  135. package/dist/commands/templates.d.ts +3 -0
  136. package/dist/commands/templates.d.ts.map +1 -0
  137. package/dist/commands/templates.js +76 -0
  138. package/dist/commands/templates.js.map +1 -0
  139. package/dist/commands/users.d.ts +3 -0
  140. package/dist/commands/users.d.ts.map +1 -0
  141. package/dist/commands/users.js +40 -0
  142. package/dist/commands/users.js.map +1 -0
  143. package/dist/commands/views.d.ts +3 -0
  144. package/dist/commands/views.d.ts.map +1 -0
  145. package/dist/commands/views.js +177 -0
  146. package/dist/commands/views.js.map +1 -0
  147. package/dist/commands/webhooks.d.ts +3 -0
  148. package/dist/commands/webhooks.d.ts.map +1 -0
  149. package/dist/commands/webhooks.js +234 -0
  150. package/dist/commands/webhooks.js.map +1 -0
  151. package/dist/config/loader.d.ts.map +1 -1
  152. package/dist/config/loader.js +3 -0
  153. package/dist/config/loader.js.map +1 -1
  154. package/dist/config/types.d.ts +15 -1
  155. package/dist/config/types.d.ts.map +1 -1
  156. package/dist/config/types.js +1 -0
  157. package/dist/config/types.js.map +1 -1
  158. package/dist/curator/dispatch.d.ts +52 -0
  159. package/dist/curator/dispatch.d.ts.map +1 -0
  160. package/dist/curator/dispatch.js +144 -0
  161. package/dist/curator/dispatch.js.map +1 -0
  162. package/dist/curator/index.d.ts +5 -0
  163. package/dist/curator/index.d.ts.map +1 -0
  164. package/dist/curator/index.js +5 -0
  165. package/dist/curator/index.js.map +1 -0
  166. package/dist/curator/llm.d.ts +70 -0
  167. package/dist/curator/llm.d.ts.map +1 -0
  168. package/dist/curator/llm.js +107 -0
  169. package/dist/curator/llm.js.map +1 -0
  170. package/dist/curator/snapshot.d.ts +34 -0
  171. package/dist/curator/snapshot.d.ts.map +1 -0
  172. package/dist/curator/snapshot.js +127 -0
  173. package/dist/curator/snapshot.js.map +1 -0
  174. package/dist/curator/state.d.ts +50 -0
  175. package/dist/curator/state.d.ts.map +1 -0
  176. package/dist/curator/state.js +125 -0
  177. package/dist/curator/state.js.map +1 -0
  178. package/dist/lib/bulk-graphql.d.ts +144 -0
  179. package/dist/lib/bulk-graphql.d.ts.map +1 -0
  180. package/dist/lib/bulk-graphql.js +380 -0
  181. package/dist/lib/bulk-graphql.js.map +1 -0
  182. package/dist/lib/index.d.ts +2 -0
  183. package/dist/lib/index.d.ts.map +1 -0
  184. package/dist/lib/index.js +2 -0
  185. package/dist/lib/index.js.map +1 -0
  186. package/dist/output/cli.d.ts +17 -0
  187. package/dist/output/cli.d.ts.map +1 -0
  188. package/dist/output/cli.js +252 -0
  189. package/dist/output/cli.js.map +1 -0
  190. package/dist/output/formatter.d.ts +6 -0
  191. package/dist/output/formatter.d.ts.map +1 -1
  192. package/dist/output/formatter.js +10 -0
  193. package/dist/output/formatter.js.map +1 -1
  194. package/dist/output/index.d.ts +1 -0
  195. package/dist/output/index.d.ts.map +1 -1
  196. package/dist/output/index.js +1 -0
  197. package/dist/output/index.js.map +1 -1
  198. package/dist/scripts/sync-linear-templates.d.ts +26 -0
  199. package/dist/scripts/sync-linear-templates.d.ts.map +1 -0
  200. package/dist/scripts/sync-linear-templates.js +115 -0
  201. package/dist/scripts/sync-linear-templates.js.map +1 -0
  202. package/dist/signals/github-commits.d.ts +31 -0
  203. package/dist/signals/github-commits.d.ts.map +1 -0
  204. package/dist/signals/github-commits.js +127 -0
  205. package/dist/signals/github-commits.js.map +1 -0
  206. package/dist/signals/github-pr.d.ts +16 -0
  207. package/dist/signals/github-pr.d.ts.map +1 -0
  208. package/dist/signals/github-pr.js +98 -0
  209. package/dist/signals/github-pr.js.map +1 -0
  210. package/dist/signals/index.d.ts +4 -0
  211. package/dist/signals/index.d.ts.map +1 -1
  212. package/dist/signals/index.js +4 -0
  213. package/dist/signals/index.js.map +1 -1
  214. package/dist/signals/linear-issues.d.ts +20 -0
  215. package/dist/signals/linear-issues.d.ts.map +1 -0
  216. package/dist/signals/linear-issues.js +115 -0
  217. package/dist/signals/linear-issues.js.map +1 -0
  218. package/dist/signals/registry.d.ts +4 -3
  219. package/dist/signals/registry.d.ts.map +1 -1
  220. package/dist/signals/registry.js +33 -11
  221. package/dist/signals/registry.js.map +1 -1
  222. package/dist/signals/slack-messages.d.ts +20 -0
  223. package/dist/signals/slack-messages.d.ts.map +1 -0
  224. package/dist/signals/slack-messages.js +129 -0
  225. package/dist/signals/slack-messages.js.map +1 -0
  226. package/dist/utils/errors.d.ts +63 -0
  227. package/dist/utils/errors.d.ts.map +1 -0
  228. package/dist/utils/errors.js +94 -0
  229. package/dist/utils/errors.js.map +1 -0
  230. package/dist/utils/index.d.ts +9 -0
  231. package/dist/utils/index.d.ts.map +1 -0
  232. package/dist/utils/index.js +9 -0
  233. package/dist/utils/index.js.map +1 -0
  234. package/dist/utils/label-policy.d.ts +53 -0
  235. package/dist/utils/label-policy.d.ts.map +1 -0
  236. package/dist/utils/label-policy.js +93 -0
  237. package/dist/utils/label-policy.js.map +1 -0
  238. package/dist/utils/parse.d.ts +48 -0
  239. package/dist/utils/parse.d.ts.map +1 -0
  240. package/dist/utils/parse.js +133 -0
  241. package/dist/utils/parse.js.map +1 -0
  242. package/dist/utils/project-status.d.ts +6 -0
  243. package/dist/utils/project-status.d.ts.map +1 -0
  244. package/dist/utils/project-status.js +33 -0
  245. package/dist/utils/project-status.js.map +1 -0
  246. package/dist/utils/rate-limit.d.ts +24 -0
  247. package/dist/utils/rate-limit.d.ts.map +1 -0
  248. package/dist/utils/rate-limit.js +89 -0
  249. package/dist/utils/rate-limit.js.map +1 -0
  250. package/dist/utils/resolve.d.ts +84 -0
  251. package/dist/utils/resolve.d.ts.map +1 -0
  252. package/dist/utils/resolve.js +172 -0
  253. package/dist/utils/resolve.js.map +1 -0
  254. package/dist/utils/sleep.d.ts +2 -0
  255. package/dist/utils/sleep.d.ts.map +1 -0
  256. package/dist/utils/sleep.js +4 -0
  257. package/dist/utils/sleep.js.map +1 -0
  258. package/dist/utils/webhook-verify.d.ts +42 -0
  259. package/dist/utils/webhook-verify.d.ts.map +1 -0
  260. package/dist/utils/webhook-verify.js +65 -0
  261. package/dist/utils/webhook-verify.js.map +1 -0
  262. package/package.json +4 -1
  263. package/references/agent-description-template.md +31 -0
  264. package/references/cli-reference.md +227 -0
  265. package/references/curator-tiering-rules.md +76 -0
  266. package/references/label-policy.example.json +37 -0
  267. package/references/label-policy.placeholder.json +6 -0
  268. package/references/settings-template.md +30 -0
  269. package/references/sla-reference.md +70 -0
  270. package/references/template-index.md +34 -0
  271. package/references/workspace-labels.md +124 -0
  272. package/references/workspace-projects.md +56 -0
  273. package/references/workspace-routing.md +58 -0
  274. package/schemas/label-policy.json +72 -0
  275. package/skills/linear-workspace/SKILL.md +65 -4
  276. package/templates/ACC-PRO-provision.md +74 -0
  277. package/templates/ACC-PRV-privileged.md +66 -0
  278. package/templates/ACC-QTR-review.md +77 -0
  279. package/templates/ACC-REV-revoke.md +67 -0
  280. package/templates/AI-USE-capability.md +111 -0
  281. package/templates/AUD-CAP-corrective.md +89 -0
  282. package/templates/AUD-INT-internal.md +92 -0
  283. package/templates/AUD-MGT-management.md +110 -0
  284. package/templates/CHG-MAJ-major.md +110 -0
  285. package/templates/CHG-SIG-significant.md +83 -0
  286. package/templates/CHG-STD-standard.md +47 -0
  287. package/templates/LRN-DOC-lessons.md +75 -0
  288. package/templates/OPS-BCK-backup.md +99 -0
  289. package/templates/OPS-DAT-data-mod.md +98 -0
  290. package/templates/RCA-DOC-root-cause.md +105 -0
  291. package/templates/RSK-ASS-assessment.md +87 -0
  292. package/templates/RSK-VND-vendor.md +113 -0
  293. package/templates/SEC-INC-incident.md +76 -0
  294. package/templates/SEC-PEN-pentest.md +58 -0
  295. package/templates/SEC-VLN-vulnerability.md +69 -0
  296. package/templates/SLA-AVL-availability.md +86 -0
  297. package/templates/SLA-OPS-operational.md +70 -0
  298. package/templates/agent-server-template/README.md +88 -0
  299. package/templates/agent-server-template/server.example.ts +185 -0
@@ -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
+ ```
@@ -0,0 +1,76 @@
1
+ # SEC-INC: Security Incident Response
2
+
3
+ ## Quick Reference
4
+ - **SLA:** 15min-72hrs (severity-based)
5
+ - **Team:** *the team that owns this workflow in your workspace*
6
+ - **Project:** Security Incidents
7
+
8
+ ## Required Labels
9
+ - `Type: bug`
10
+ - `Layer: devops` or `Layer: backend`
11
+ - `Flag: security`
12
+ - `Flag: compliance`
13
+ - Severity label (see classification)
14
+
15
+ ## Severity Classification
16
+ | Severity | Response Time | Post-Review | Examples |
17
+ |----------|---------------|-------------|----------|
18
+ | Sev 0 (Critical) | 15 minutes | 3 days | Data breach, full outage, active attack |
19
+ | Sev 1 (High) | 1 hour | 5 days | Partial outage, unauthorized access attempt |
20
+ | Sev 2 (Medium) | 4 hours | 10 days | Failed control, suspicious activity |
21
+ | Sev 3 (Low) | 24 hours | 20 days | Policy violation, near-miss |
22
+
23
+ ## Issue Template
24
+ ```markdown
25
+ ## Security Incident Report
26
+
27
+ **Incident ID:** SEC-YYYY-XXX
28
+ **Date/Time Discovered:** [YYYY-MM-DD HH:MM UTC]
29
+ **Date/Time Reported:** [YYYY-MM-DD HH:MM UTC]
30
+ **Severity:** [Sev 0 / Sev 1 / Sev 2 / Sev 3]
31
+
32
+ ## Classification
33
+ - **Incident Type:** [Denial of Service / Unauthorized Access / Malicious Code / Data Breach / Policy Violation / Other]
34
+ - **Affected Systems:** [List systems/services affected]
35
+ - **Data Involved:** [Yes/No - if Yes, describe data types]
36
+ - **Customer Impact:** [Yes/No - if Yes, describe impact]
37
+
38
+ ## Initial Assessment
39
+ [Brief description of what happened and initial impact assessment]
40
+
41
+ ## Detection Method
42
+ - [ ] Automated monitoring/alerting
43
+ - [ ] User report
44
+ - [ ] Security scan
45
+ - [ ] Third-party notification
46
+ - [ ] Other: ___
47
+
48
+ ## Containment Actions Taken
49
+ - [ ] Isolated affected systems
50
+ - [ ] Preserved evidence (logs, screenshots)
51
+ - [ ] Reset compromised credentials
52
+ - [ ] Other: ___
53
+
54
+ ## Timeline of Events
55
+ | Time | Event |
56
+ |------|-------|
57
+ | | |
58
+
59
+ ## Escalation
60
+ - [ ] CTO notified (required for Sev 0/1)
61
+ - [ ] Legal notified (if data involved)
62
+ - [ ] Customer notification required? [Yes/No]
63
+
64
+ ## Next Steps
65
+ 1. [Action item]
66
+ 2. [Action item]
67
+
68
+ ## Resources
69
+ - Incident Response Process: `/security-compliance/incident-management/incident-response-process.md`
70
+ - RCA Template: Create linked RCA-DOC issue if Sev 0/1/2
71
+ ```
72
+
73
+ ## Escalation Rules
74
+ - Sev 0/1: Immediate notification to CTO
75
+ - Customer data involved: Notify Legal/CEO
76
+ - Breach determination: CEO + Legal review required
@@ -0,0 +1,58 @@
1
+ # SEC-PEN: Penetration Test Remediation
2
+
3
+ ## Quick Reference
4
+ - **SLA:** 30-90 days (severity-based)
5
+ - **Team:** *the team that owns this workflow in your workspace*
6
+ - **Project:** Pentest Remediation
7
+
8
+ ## Required Labels
9
+ - `Type: bug`
10
+ - `Flag: security`
11
+ - `Source: Penetration Test`
12
+ - Severity label based on finding risk rating
13
+
14
+ ## Issue Template
15
+ ```markdown
16
+ ## Penetration Test Finding Remediation
17
+
18
+ **Finding ID:** [From pentest report, e.g., PT-2025-001]
19
+ **Test Date:** [YYYY-MM-DD]
20
+ **Testing Firm:** [e.g., Workstreet]
21
+ **Report Section:** [Reference to report section]
22
+
23
+ ## Finding Details
24
+ - **Title:** [Finding title from report]
25
+ - **Severity:** [Critical / High / Medium / Low]
26
+ - **CVSS Score:** [X.X] (if provided)
27
+ - **Category:** [OWASP Top 10 category if applicable]
28
+
29
+ ## Description
30
+ [Copy finding description from pentest report]
31
+
32
+ ## Affected Component
33
+ - **URL/Endpoint:** [Affected URL or API endpoint]
34
+ - **System:** [Frontend / Backend / Infrastructure]
35
+
36
+ ## Proof of Concept
37
+ [Summary of how tester exploited the vulnerability]
38
+
39
+ ## Recommended Remediation
40
+ [Copy recommendation from pentest report]
41
+
42
+ ## Our Remediation Plan
43
+ [Describe specific steps we will take]
44
+
45
+ ## Acceptance Criteria
46
+ - [ ] Vulnerability remediated
47
+ - [ ] Verified by internal testing
48
+ - [ ] Ready for re-test by penetration tester
49
+
50
+ ## Verification
51
+ - [ ] Internal verification complete
52
+ - [ ] Re-test requested from [Testing Firm]
53
+ - [ ] Re-test passed
54
+
55
+ ## References
56
+ - Full Report: [Link to pentest report in Notion]
57
+ - Related CVEs: [If applicable]
58
+ ```
@@ -0,0 +1,69 @@
1
+ # SEC-VLN: Vulnerability Remediation
2
+
3
+ ## Quick Reference
4
+ - **SLA:** 30-90 days (severity-based)
5
+ - **Team:** *the team that owns this workflow in your workspace*
6
+ - **Project:** Vulnerability Management
7
+
8
+ ## Required Labels
9
+ - `Type: bug`
10
+ - `Flag: security`
11
+ - `Source: Vulnerability Scan` OR `Source: CodeQL` OR `Source: Penetration Test`
12
+ - Severity label based on CVSS score
13
+
14
+ ## Severity to SLA Mapping
15
+ | Severity | CVSS Score | Remediation SLA |
16
+ |----------|------------|-----------------|
17
+ | Critical | 9.0-10.0 | 30 days |
18
+ | High | 7.0-8.9 | 30 days |
19
+ | Medium | 4.0-6.9 | 60 days |
20
+ | Low | 0.1-3.9 | 90 days |
21
+
22
+ ## Issue Template
23
+ ```markdown
24
+ ## Vulnerability Remediation
25
+
26
+ **Vulnerability ID:** [CVE-XXXX-XXXXX or internal ID]
27
+ **First Detected:** [YYYY-MM-DD]
28
+ **Detection Source:** [Dependabot / CodeQL / AWS Inspector / Penetration Test / Manual]
29
+ **Remediation Deadline:** [YYYY-MM-DD] (per SLA)
30
+
31
+ ## Vulnerability Details
32
+ - **Affected Component:** [Package/library/system name]
33
+ - **Current Version:** [x.x.x]
34
+ - **Fixed Version:** [x.x.x] (if known)
35
+ - **CVSS Score:** [X.X]
36
+ - **Severity:** [Critical / High / Medium / Low]
37
+
38
+ ## Description
39
+ [Brief description of the vulnerability and potential impact]
40
+
41
+ ## Affected Systems
42
+ - [ ] Frontend
43
+ - [ ] Backend (.NET)
44
+ - [ ] AI Server (Python)
45
+ - [ ] Infrastructure (AWS)
46
+
47
+ ## Business Impact Assessment
48
+ [Describe potential business impact if exploited]
49
+
50
+ ## Proposed Remediation
51
+ - [ ] Upgrade dependency to version [x.x.x]
52
+ - [ ] Apply security patch
53
+ - [ ] Configuration change
54
+ - [ ] Code fix
55
+ - [ ] Accept risk (requires documented justification)
56
+
57
+ ## Risk Treatment Plan (if SLA cannot be met)
58
+ [Document justification and extended timeline if applicable]
59
+
60
+ ## Verification
61
+ - [ ] Fix implemented
62
+ - [ ] Re-scanned to confirm resolution
63
+ - [ ] No regression in functionality
64
+
65
+ ## References
66
+ - CVE Link: [URL]
67
+ - Advisory: [URL]
68
+ - Fix PR: [URL]
69
+ ```
@@ -0,0 +1,86 @@
1
+ # SLA-AVL: Platform Availability Incident
2
+
3
+ ## Quick Reference
4
+ - **SLA:** 1hr-14 days (severity-based)
5
+ - **Team:** *the team that owns this workflow in your workspace*
6
+ - **Project:** Availability Incidents
7
+
8
+ ## Severity Classification
9
+ | Severity | Description | Response SLA | Resolution Target |
10
+ |----------|-------------|--------------|-------------------|
11
+ | Critical | Complete outage | 1 hour | 8 hours |
12
+ | Medium | Core function impaired | 4 hours | 3 business days |
13
+ | Low | Minor issues | 1 business day | 14 business days |
14
+
15
+ ## Required Labels
16
+ - `Type: bug`
17
+ - `Layer: [affected layer]`
18
+ - Severity label based on impact
19
+
20
+ ## Issue Template
21
+ ```markdown
22
+ ## Platform Availability Incident
23
+
24
+ **Incident ID:** SLA-AVL-YYYY-XXX
25
+ **Start Time:** [YYYY-MM-DD HH:MM UTC]
26
+ **Detection Time:** [YYYY-MM-DD HH:MM UTC]
27
+ **Severity:** [Critical / Medium / Low]
28
+
29
+ ## Impact Assessment
30
+ - **Services Affected:** [List affected services]
31
+ - **Users Affected:** [All / Partial - describe scope]
32
+ - **Customer Impact:** [Description of customer-facing impact]
33
+ - **Workaround Available:** [Yes - describe / No]
34
+
35
+ ## Incident Description
36
+ [Brief description of the outage/issue]
37
+
38
+ ## Timeline
39
+ | Time (UTC) | Event |
40
+ |------------|-------|
41
+ | | Issue started |
42
+ | | Issue detected |
43
+ | | Investigation started |
44
+ | | |
45
+
46
+ ## Investigation
47
+
48
+ ### Initial Assessment
49
+ [What was observed, initial hypothesis]
50
+
51
+ ### Root Cause
52
+ [If identified - otherwise "Under investigation"]
53
+
54
+ ### Affected Components
55
+ - [ ] Frontend
56
+ - [ ] Backend API
57
+ - [ ] Database
58
+ - [ ] AI Server
59
+ - [ ] AWS Infrastructure
60
+ - [ ] Third-party service: [Name]
61
+
62
+ ## Resolution
63
+
64
+ ### Actions Taken
65
+ 1. [Action 1]
66
+ 2. [Action 2]
67
+
68
+ ### Resolution Time
69
+ - **Incident End Time:** [YYYY-MM-DD HH:MM UTC]
70
+ - **Total Duration:** [X hours Y minutes]
71
+ - **Resolution SLA Met:** [Yes / No]
72
+
73
+ ## Customer Communication
74
+ - [ ] Status page updated
75
+ - [ ] Affected customers notified
76
+ - [ ] Resolution notification sent
77
+
78
+ ## Follow-up Required
79
+ - [ ] Root Cause Analysis (create linked RCA-DOC if Critical/Medium)
80
+ - [ ] Preventive measures identified
81
+ - [ ] Post-mortem scheduled
82
+
83
+ ## SLA Credit Assessment
84
+ - **Uptime this month:** [XX.XX%]
85
+ - **Credit applicable:** [Yes - X% / No]
86
+ ```