@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,77 @@
1
+ # ACC-QTR: Quarterly Access Review
2
+
3
+ ## Quick Reference
4
+ - **SLA:** 30 days
5
+ - **Team:** *the team that owns this workflow in your workspace*
6
+ - **Project:** Quarterly Access Reviews
7
+
8
+ ## Required Labels
9
+ - `Type: research`
10
+ - `Flag: compliance`
11
+ - `Layer: devops`
12
+
13
+ ## Issue Template
14
+ ```markdown
15
+ ## Quarterly Access Review
16
+
17
+ **Review Period:** Q[1-4] [YYYY]
18
+ **Review Start Date:** [YYYY-MM-DD]
19
+ **Review Deadline:** [YYYY-MM-DD] (30 days from start)
20
+ **Reviewer:** [Name]
21
+
22
+ ## Scope of Review
23
+ Review all user access to ensure alignment with current job roles and least privilege principle.
24
+
25
+ ## Systems Under Review
26
+ - [ ] Google Workspace (accounts, groups, drive permissions)
27
+ - [ ] GitHub (organization members, repository access, team memberships)
28
+ - [ ] AWS (IAM users, roles, policies)
29
+ - [ ] Linear (workspace members, team access)
30
+ - [ ] Slack (workspace members, channel access)
31
+ - [ ] [Other systems]
32
+
33
+ ## Review Checklist
34
+
35
+ ### Per-System Review
36
+ For each system, verify:
37
+ - [ ] All active accounts belong to current employees/authorized contractors
38
+ - [ ] Access levels match current job responsibilities
39
+ - [ ] No terminated users still have access
40
+ - [ ] Group/team memberships are appropriate
41
+ - [ ] Privileged accounts are justified and documented
42
+
43
+ ### Access Matrix Verification
44
+ | User | System | Current Access | Appropriate? | Action Needed |
45
+ |------|--------|----------------|--------------|---------------|
46
+ | | | | Yes/No | |
47
+
48
+ ## Findings
49
+
50
+ ### Unauthorized Access Discovered
51
+ | User | System | Issue | Corrective Action | Ticket |
52
+ |------|--------|-------|-------------------|--------|
53
+ | | | | | |
54
+
55
+ ### Access Level Adjustments Needed
56
+ | User | System | Current | Should Be | Reason |
57
+ |------|--------|---------|-----------|--------|
58
+ | | | | | |
59
+
60
+ ### Orphaned Accounts
61
+ | Account | System | Last Activity | Action |
62
+ |---------|--------|---------------|--------|
63
+ | | | | |
64
+
65
+ ## Corrective Actions
66
+ [Create linked ACC-REV tickets for any required access removals]
67
+
68
+ ## Sign-off
69
+ - [ ] Review completed by: _________________ Date: _______
70
+ - [ ] Findings reviewed by management: _________________ Date: _______
71
+ - [ ] Corrective actions assigned
72
+
73
+ ## Attestation
74
+ I certify that this access review has been completed thoroughly and all findings have been documented and addressed.
75
+
76
+ Signature: _________________ Date: _______
77
+ ```
@@ -0,0 +1,67 @@
1
+ # ACC-REV: Access Revocation
2
+
3
+ ## Quick Reference
4
+ - **SLA:** 24 hours
5
+ - **Team:** *the team that owns this workflow in your workspace*
6
+ - **Project:** Access Revocation
7
+
8
+ ## Required Labels
9
+ - `Type: bug` (treating as urgent remediation)
10
+ - `Access Revocation` (3-day SLA, but target 24 hours)
11
+ - `Layer: devops`
12
+
13
+ ## Issue Template
14
+ ```markdown
15
+ ## Access Revocation Request
16
+
17
+ **Request ID:** ACC-REV-YYYY-XXX
18
+ **Request Date:** [YYYY-MM-DD HH:MM]
19
+ **DEADLINE:** [24 business hours from request]
20
+
21
+ ## URGENT: Complete within 24 business hours
22
+
23
+ ## Employee/Contractor Information
24
+ - **Name:** [Full name]
25
+ - **Role/Title:** [Job title]
26
+ - **Department:** [Department/Team]
27
+ - **Last Working Day:** [YYYY-MM-DD]
28
+ - **Termination Type:** [Voluntary / Involuntary / Contract End]
29
+
30
+ ## Revocation Checklist
31
+
32
+ ### Priority 1: Immediate (within 4 hours)
33
+ - [ ] Google Workspace account suspended
34
+ - [ ] GitHub organization membership removed
35
+ - [ ] AWS IAM access revoked
36
+ - [ ] Slack workspace deactivated
37
+ - [ ] Linear access removed
38
+ - [ ] MFA tokens invalidated
39
+ - [ ] Active sessions terminated
40
+
41
+ ### Priority 2: Same Day
42
+ - [ ] Email forwarding configured (if applicable)
43
+ - [ ] Shared passwords rotated (if any known)
44
+ - [ ] Service account credentials reset (if applicable)
45
+ - [ ] VPN/remote access disabled
46
+ - [ ] API keys/tokens revoked
47
+
48
+ ### Priority 3: Within 24 Hours
49
+ - [ ] Physical access/badge deactivated (if applicable)
50
+ - [ ] Forwarding rules reviewed
51
+ - [ ] Shared drive permissions audited
52
+ - [ ] Distribution list memberships removed
53
+
54
+ ## Data Handover
55
+ - [ ] Manager notified of data handover requirements
56
+ - [ ] Critical data/files transferred to manager
57
+ - [ ] Email archive created (if required for retention)
58
+
59
+ ## Verification
60
+ - [ ] All system access confirmed revoked
61
+ - [ ] Cannot authenticate to any system
62
+ - [ ] Revocation logged in access records
63
+
64
+ ## Sign-off
65
+ - [ ] IT Verification: _________________ Date: _______ Time: _______
66
+ - [ ] HR Confirmation: _________________ Date: _______
67
+ ```
@@ -0,0 +1,111 @@
1
+ # AI-USE: AI Capability Scope (Use-Case Approval)
2
+
3
+ ## Quick Reference
4
+ - **SLA:** 5-10 days
5
+ - **Team:** the team responsible for AI governance in your workspace (typically Operations, Compliance, or Security)
6
+ - **Project:** AI Governance
7
+ - **Scope:** Customer-facing AI capabilities only. Internal AI tooling (IDE assistants, agent-drafted ops emails, internal automations) is out of scope.
8
+
9
+ ## When to use this template
10
+
11
+ Open an `AI-USE` ticket when any of the following is true for a customer-facing AI capability:
12
+
13
+ - A new AI capability is being added (new use case).
14
+ - An existing capability is being materially expanded — new data modality, new decision impact, autonomous action, new customer-data type, regulated-adjacent surface area.
15
+ - Foundation-model **family** is being changed for the AI Service (e.g. moving primary inference from one vendor to another). Routine version swaps within the same family do NOT require this template — they ride the normal PR review.
16
+
17
+ Required by your organization's Responsible AI Policy (see `<your-AI-policy>` reference in this repo's documentation).
18
+
19
+ ## Required Labels
20
+ - `Type: compliance-task`
21
+ - `Template: AI-Use-Case`
22
+ - `Flag: compliance`
23
+ - `Flag: AI-Incident` — only if this scope record is opened in response to an AI incident
24
+
25
+ ## Issue Template
26
+
27
+ ```markdown
28
+ ## AI Capability Scope
29
+
30
+ **Capability ID:** AI-USE-YYYY-XXX
31
+ **Capability Name:** [Short descriptive name]
32
+ **Requested By:** [Name]
33
+ **Date Requested:** [YYYY-MM-DD]
34
+ **Status:** [Proposed / Under Review / Approved / Rejected / Withdrawn]
35
+
36
+ ## 1. Intended Purpose
37
+
38
+ [What this capability does and the user problem it solves. Write for a customer auditor — concrete, no marketing language.]
39
+
40
+ ## 2. Users
41
+
42
+ - **Customer-side users:** [Roles, seniority, domain expertise]
43
+ - **Internal users (if any):** [e.g. customer success engineers running the capability on behalf of the customer]
44
+ - **Out-of-scope users:** [Roles or contexts explicitly NOT supported]
45
+
46
+ ## 3. Data Sources
47
+
48
+ | Data source | Type | Customer Data? | Personal Data? | Notes |
49
+ |-------------|------|----------------|----------------|-------|
50
+ | [Source] | [Prompt / RAG corpus / Live retrieval / Vendor model weights] | [Y/N] | [Y/N] | [Retention, isolation, consent basis] |
51
+
52
+ ## 4. Foundation Models
53
+
54
+ | Vendor | Model family | Endpoint pattern | ZDR? | Listed in your Model Vendor Register? |
55
+ |--------|--------------|------------------|------|--------------------------------------|
56
+ | | | | | |
57
+
58
+ ## 5. Decision Impact
59
+
60
+ - **What does the Output inform?** [Customer-facing decision, workflow step, recommendation...]
61
+ - **Who is the human-in-the-loop?** [Role + decision they make before Output is acted on]
62
+ - **What happens if the Output is wrong?** [Realistic worst case in the customer's domain terms]
63
+ - **Is this High-Risk Use under EU AI Act Annex III or your Responsible AI Policy definition?** [Y/N + reasoning]
64
+
65
+ ## 6. Refusal Patterns
66
+
67
+ [What the system declines. Reference your Acceptable Use Policy categories. Note any new refusal patterns introduced for this capability.]
68
+
69
+ ## 7. Known Limitations
70
+
71
+ [Domain coverage gaps, hallucination risk areas, model-specific failure modes you've observed, latency characteristics, etc.]
72
+
73
+ ## 8. Reviews
74
+
75
+ - [ ] AI Governance Owner review
76
+ - [ ] CTO / Engineering lead review
77
+ - [ ] Acceptable Use Policy: capability stays within scope
78
+ - [ ] Data Management Policy: data sources, retention, and tenant isolation align
79
+ - [ ] Third-Party Management Policy: any new vendor recorded in the Model Vendor Register
80
+ - [ ] High-Risk Use risk assessment completed (only if § 5 flagged Y)
81
+
82
+ ## 9. Customer Disclosure
83
+
84
+ - [ ] Updates required to current Model Card? [Y/N — describe]
85
+ - [ ] Release notes drafted for affected customers? [Y/N — link]
86
+ - [ ] Per-customer playbook updates required? [Y/N — list customers]
87
+ - [ ] AI-generated labelling unchanged? [Y/N — describe any change]
88
+
89
+ ## 10. Approval
90
+
91
+ | Role | Name | Decision | Date |
92
+ |------|------|----------|------|
93
+ | AI Governance Owner | | | |
94
+ | CTO / Engineering lead | | | |
95
+
96
+ ## 11. Post-Approval Tracking
97
+
98
+ Link the implementation issue(s) and the corresponding GitHub PR(s):
99
+
100
+ - Implementation: [ISSUE-XXX]
101
+ - PR(s): [#XXX]
102
+ - Evaluation Suite results summary: [link or paste]
103
+ - Model Card updated: [link to PR or commit]
104
+ ```
105
+
106
+ ## Resources
107
+
108
+ - `<your-AI-policy>`: your Responsible AI Policy
109
+ - Model Vendor Register: your register of approved AI model vendors
110
+ - Acceptable Use Policy: your customer-facing AUP
111
+ - Risk Assessment template (for High-Risk Use): `RSK-ASS-assessment.md`
@@ -0,0 +1,89 @@
1
+ # AUD-CAP: Corrective Action Plan
2
+
3
+ ## Quick Reference
4
+ - **SLA:** 5-30 days (severity-based)
5
+ - **Team:** *the team that owns this workflow in your workspace*
6
+ - **Project:** Corrective Actions
7
+
8
+ ## Required Labels
9
+ - `Type: bug`
10
+ - `Flag: compliance`
11
+ - `Layer: [affected area]`
12
+ - Severity: Major NC = High, Minor NC = Medium
13
+
14
+ ## Issue Template
15
+ ```markdown
16
+ ## Corrective Action Plan
17
+
18
+ **CAP ID:** AUD-CAP-YYYY-XXX
19
+ **Source:** [Internal Audit / External Audit / Incident / Management Review]
20
+ **Source Reference:** [Audit report ID or incident ID]
21
+ **Finding Date:** [YYYY-MM-DD]
22
+
23
+ ## Finding Details
24
+ - **Finding Type:** [Major NC / Minor NC / Opportunity for Improvement]
25
+ - **Control/Area:** [ISO 27001 control reference or ISMS area]
26
+ - **Finding Description:** [Detailed description of the nonconformity]
27
+ - **Evidence:** [What evidence demonstrated the NC]
28
+
29
+ ## Root Cause Analysis
30
+ **Immediate Cause:**
31
+ [What directly caused the NC]
32
+
33
+ **Root Cause:**
34
+ [Underlying reason - use 5 Whys if needed]
35
+
36
+ **Contributing Factors:**
37
+ [Other factors that contributed]
38
+
39
+ ## Corrective Action Plan
40
+
41
+ ### Immediate Actions (Containment)
42
+ | Action | Owner | Deadline | Status |
43
+ |--------|-------|----------|--------|
44
+ | | | | |
45
+
46
+ ### Corrective Actions (Fix Root Cause)
47
+ | Action | Owner | Deadline | Status |
48
+ |--------|-------|----------|--------|
49
+ | | | | |
50
+
51
+ ### Preventive Actions (Prevent Recurrence)
52
+ | Action | Owner | Deadline | Status |
53
+ |--------|-------|----------|--------|
54
+ | | | | |
55
+
56
+ ## Resource Requirements
57
+ - **Personnel:** [Time/effort needed]
58
+ - **Budget:** [If applicable]
59
+ - **Tools/Systems:** [If needed]
60
+
61
+ ## Documentation Updates Required
62
+ - [ ] Policy update needed: [Which policy]
63
+ - [ ] Procedure update needed: [Which procedure]
64
+ - [ ] Training update needed: [Which training]
65
+ - [ ] Risk register update needed
66
+
67
+ ## Effectiveness Verification
68
+ **Verification Method:**
69
+ [How will we verify the corrective action was effective?]
70
+
71
+ **Verification Date:**
72
+ [When will effectiveness be checked]
73
+
74
+ **Verification Results:**
75
+ [To be completed after verification]
76
+
77
+ ## Approvals
78
+ - [ ] Action plan approved by: _________________ Date: _______
79
+ - [ ] Implementation verified by: _________________ Date: _______
80
+ - [ ] Effectiveness verified by: _________________ Date: _______
81
+
82
+ ## Closure
83
+ - [ ] All actions completed
84
+ - [ ] Effectiveness verified
85
+ - [ ] Documentation updated
86
+ - [ ] Finding closed
87
+
88
+ Closure Date: _________________ Closed By: _________________
89
+ ```
@@ -0,0 +1,92 @@
1
+ # AUD-INT: Internal Audit
2
+
3
+ ## Quick Reference
4
+ - **SLA:** 60 days
5
+ - **Team:** *the team that owns this workflow in your workspace*
6
+ - **Project:** Internal Audits
7
+
8
+ ## Required Labels
9
+ - `Type: research`
10
+ - `Flag: compliance`
11
+ - `Layer: [scope-dependent]`
12
+
13
+ ## Issue Template
14
+ ```markdown
15
+ ## ISMS Internal Audit
16
+
17
+ **Audit ID:** AUD-INT-YYYY-XXX
18
+ **Audit Period:** [YYYY-MM-DD to YYYY-MM-DD]
19
+ **Audit Type:** [Annual / Ad-hoc / Follow-up]
20
+
21
+ ## Audit Planning
22
+
23
+ ### Scope
24
+ [Define audit scope - which ISMS areas, controls, processes]
25
+
26
+ ### Objectives
27
+ 1. [Objective 1]
28
+ 2. [Objective 2]
29
+ 3. [Objective 3]
30
+
31
+ ### Auditor Information
32
+ - **Lead Auditor:** [Name]
33
+ - **Auditor(s):** [Names]
34
+ - **Independence Verification:** [Confirm auditors not implementing controls being audited]
35
+
36
+ ### Audit Schedule
37
+ | Date | Activity | Area/Control | Interviewee |
38
+ |------|----------|--------------|-------------|
39
+ | | | | |
40
+
41
+ ## Audit Criteria
42
+ - ISO 27001:2022 requirements
43
+ - Statement of Applicability controls
44
+ - Internal policies and procedures
45
+ - Regulatory requirements
46
+
47
+ ## Documents to Review
48
+ - [ ] Information Security Policy
49
+ - [ ] Risk Assessment and Treatment Plan
50
+ - [ ] Statement of Applicability
51
+ - [ ] [Other relevant documents]
52
+
53
+ ## Audit Execution Checklist
54
+ - [ ] Opening meeting conducted
55
+ - [ ] Document review completed
56
+ - [ ] Interviews conducted
57
+ - [ ] Evidence collected
58
+ - [ ] Control testing performed
59
+ - [ ] Closing meeting conducted
60
+
61
+ ## Findings Summary
62
+
63
+ ### Major Nonconformities
64
+ | Finding ID | Control/Area | Description | Evidence |
65
+ |------------|--------------|-------------|----------|
66
+ | | | | |
67
+
68
+ ### Minor Nonconformities
69
+ | Finding ID | Control/Area | Description | Evidence |
70
+ |------------|--------------|-------------|----------|
71
+ | | | | |
72
+
73
+ ### Opportunities for Improvement
74
+ | OFI ID | Area | Recommendation |
75
+ |--------|------|----------------|
76
+ | | | |
77
+
78
+ ### Conforming Controls
79
+ [List controls found to be operating effectively]
80
+
81
+ ## Corrective Action Requirements
82
+ [Create linked AUD-CAP tickets for each NC]
83
+
84
+ ## Report Distribution
85
+ - [ ] Draft report to Information Security Leader
86
+ - [ ] Final report to ISMS Governance Council
87
+ - [ ] Highlights presented at Management Review
88
+
89
+ ## Sign-off
90
+ - [ ] Lead Auditor: _________________ Date: _______
91
+ - [ ] Information Security Leader Review: _________________ Date: _______
92
+ ```
@@ -0,0 +1,110 @@
1
+ # AUD-MGT: Management Review
2
+
3
+ ## Quick Reference
4
+ - **SLA:** 30 days
5
+ - **Team:** *the team that owns this workflow in your workspace*
6
+ - **Project:** Management Reviews
7
+
8
+ ## Required Labels
9
+ - `Type: research`
10
+ - `Flag: compliance`
11
+ - `Layer: devops`
12
+
13
+ ## Issue Template
14
+ ```markdown
15
+ ## ISMS Management Review
16
+
17
+ **Review ID:** AUD-MGT-YYYY-XXX
18
+ **Review Date:** [YYYY-MM-DD]
19
+ **Review Period:** [Period being reviewed]
20
+ **Meeting Type:** [Annual / Quarterly / Ad-hoc]
21
+
22
+ ## Pre-Meeting Preparation
23
+
24
+ ### Required Inputs to Compile
25
+ - [ ] Status of previous management review actions
26
+ - [ ] Changes in external/internal context
27
+ - [ ] Changes in interested parties' needs
28
+ - [ ] ISMS performance metrics
29
+ - [ ] Audit results (internal and external)
30
+ - [ ] Nonconformity and corrective action status
31
+ - [ ] Risk assessment status
32
+ - [ ] Incident summary and trends
33
+ - [ ] Security objectives progress
34
+ - [ ] Feedback from stakeholders
35
+
36
+ ## Attendees (ISMS Governance Council)
37
+ | Name | Role | Present |
38
+ |------|------|---------|
39
+ | | CEO | [ ] |
40
+ | | CTO | [ ] |
41
+ | | | [ ] |
42
+
43
+ ## Agenda
44
+
45
+ ### 1. Previous Review Actions Status
46
+ | Action | Owner | Status | Notes |
47
+ |--------|-------|--------|-------|
48
+ | | | | |
49
+
50
+ ### 2. Context Changes
51
+ **External Changes:**
52
+ [Changes in regulatory, market, technology landscape]
53
+
54
+ **Internal Changes:**
55
+ [Organizational, process, technology changes]
56
+
57
+ ### 3. Performance Review
58
+ **Security Metrics:**
59
+ | Metric | Target | Actual | Status |
60
+ |--------|--------|--------|--------|
61
+ | | | | |
62
+
63
+ **Objectives Progress:**
64
+ | Objective | Progress | Status |
65
+ |-----------|----------|--------|
66
+ | | | |
67
+
68
+ ### 4. Audit Results Summary
69
+ - Internal audit findings: [Summary]
70
+ - External audit findings: [Summary]
71
+ - Open nonconformities: [Count and summary]
72
+
73
+ ### 5. Risk Assessment Status
74
+ - Risk register status: [Summary]
75
+ - High risks: [List]
76
+ - Risk treatment plan progress: [Summary]
77
+
78
+ ### 6. Incident Summary
79
+ - Total incidents this period: [Count]
80
+ - Incidents by severity: [Breakdown]
81
+ - Key incident trends: [Summary]
82
+ - Lessons learned implemented: [Summary]
83
+
84
+ ### 7. Resource Requirements
85
+ [Budget, personnel, tool needs]
86
+
87
+ ## Decisions Made
88
+
89
+ ### ISMS Changes Approved
90
+ | Change | Approved | Owner | Deadline |
91
+ |--------|----------|-------|----------|
92
+ | | Yes/No | | |
93
+
94
+ ### Actions Assigned
95
+ | Action | Owner | Deadline | Priority |
96
+ |--------|-------|----------|----------|
97
+ | | | | |
98
+
99
+ ### Resource Approvals
100
+ | Request | Approved | Amount | Notes |
101
+ |---------|----------|--------|-------|
102
+ | | Yes/No | | |
103
+
104
+ ## Sign-off
105
+ All Governance Council members approve these minutes and decisions:
106
+
107
+ | Name | Signature | Date |
108
+ |------|-----------|------|
109
+ | | | |
110
+ ```
@@ -0,0 +1,110 @@
1
+ # CHG-MAJ: ISMS Major Change (Category 3)
2
+
3
+ ## Quick Reference
4
+ - **SLA:** 15-30 days
5
+ - **Team:** *the team that owns this workflow in your workspace*
6
+ - **Project:** Major Changes
7
+
8
+ ## Required Labels
9
+ - `Type: feature` or `Type: improvement`
10
+ - `Flag: compliance`
11
+ - `Flag: security`
12
+ - `Layer: [all affected layers]`
13
+
14
+ ## Issue Template
15
+ ```markdown
16
+ ## ISMS Major Change Request
17
+
18
+ **Change ID:** ISMS-YYYY-XXX
19
+ **Category:** 3 - Major Change
20
+ **Requested By:** [Name]
21
+ **Date Requested:** [YYYY-MM-DD]
22
+ **Target Implementation:** [YYYY-MM-DD] (minimum 30 days from request)
23
+
24
+ ## Change Description
25
+ [Comprehensive description - affects ISMS scope/boundaries, security policy intent, organizational structure, introduces new technology, responds to regulatory changes, or post-incident modifications]
26
+
27
+ ## Change Type
28
+ - [ ] ISMS scope or boundary change
29
+ - [ ] Security policy intent change
30
+ - [ ] Organizational structure change
31
+ - [ ] New technology introduction
32
+ - [ ] Regulatory/legal requirement change
33
+ - [ ] Post-incident modification
34
+ - [ ] Other: ___
35
+
36
+ ## Affected Areas
37
+ ### Documents
38
+ | Document | Section | Type of Change |
39
+ |----------|---------|----------------|
40
+ | | | |
41
+
42
+ ### Systems
43
+ [List all affected systems]
44
+
45
+ ### Processes
46
+ [List all affected business processes]
47
+
48
+ ### Personnel/Roles
49
+ [List affected roles and responsibilities]
50
+
51
+ ## Business Justification
52
+ [Detailed justification including strategic alignment]
53
+
54
+ ## Comprehensive Risk Assessment
55
+ ### Identified Risks
56
+ | Risk | Likelihood | Impact | Risk Level | Mitigation |
57
+ |------|------------|--------|------------|------------|
58
+ | | | | | |
59
+
60
+ ### Risk Treatment Decisions
61
+ [Document risk treatment approach for each identified risk]
62
+
63
+ ## Resource Requirements
64
+ - **Personnel:** [Detailed time/effort breakdown]
65
+ - **Budget:** [Cost estimate with breakdown]
66
+ - **Training:** [Training plan if required]
67
+ - **External Support:** [Consultants/vendors if needed]
68
+
69
+ ## Implementation Plan
70
+ | Phase | Milestone | Actions | Owner | Start | End |
71
+ |-------|-----------|---------|-------|-------|-----|
72
+ | 1 | | | | | |
73
+ | 2 | | | | | |
74
+
75
+ ## Rollback Plan
76
+ [Comprehensive rollback procedure]
77
+
78
+ ## Communication Plan
79
+ | Audience | Message | Channel | Timing |
80
+ |----------|---------|---------|--------|
81
+ | | | | |
82
+
83
+ ## Training Plan
84
+ [If applicable - training requirements and schedule]
85
+
86
+ ## Approvals (Full ISMS Governance Council)
87
+ Management Review Meeting Date: [YYYY-MM-DD]
88
+
89
+ | Council Member | Role | Signature | Date |
90
+ |----------------|------|-----------|------|
91
+ | | CEO | | |
92
+ | | CTO | | |
93
+
94
+ ## Implementation Tracking
95
+ - [ ] 30-day notice period completed
96
+ - [ ] All approvals obtained
97
+ - [ ] Implementation commenced
98
+ - [ ] Milestone 1 complete
99
+ - [ ] Milestone 2 complete
100
+ - [ ] Full implementation complete
101
+ - [ ] Post-implementation review scheduled
102
+
103
+ ## Verification Checklist
104
+ - [ ] Change implemented per plan
105
+ - [ ] All affected documents updated
106
+ - [ ] Training completed (if required)
107
+ - [ ] Change log updated
108
+ - [ ] Effectiveness review scheduled
109
+ - [ ] Lessons learned documented
110
+ ```