@weavelogic/knowledge-graph-agent 0.2.0 → 0.3.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 (585) hide show
  1. package/README.md +686 -304
  2. package/dist/_virtual/_commonjsHelpers.js +7 -0
  3. package/dist/_virtual/_commonjsHelpers.js.map +1 -0
  4. package/dist/_virtual/additionalItems.js +5 -0
  5. package/dist/_virtual/additionalItems.js.map +1 -0
  6. package/dist/_virtual/additionalProperties.js +5 -0
  7. package/dist/_virtual/additionalProperties.js.map +1 -0
  8. package/dist/_virtual/ajv.js +6 -0
  9. package/dist/_virtual/ajv.js.map +1 -0
  10. package/dist/_virtual/ajv2.js +5 -0
  11. package/dist/_virtual/ajv2.js.map +1 -0
  12. package/dist/_virtual/allOf.js +5 -0
  13. package/dist/_virtual/allOf.js.map +1 -0
  14. package/dist/_virtual/anyOf.js +5 -0
  15. package/dist/_virtual/anyOf.js.map +1 -0
  16. package/dist/_virtual/applicability.js +5 -0
  17. package/dist/_virtual/applicability.js.map +1 -0
  18. package/dist/_virtual/boolSchema.js +5 -0
  19. package/dist/_virtual/boolSchema.js.map +1 -0
  20. package/dist/_virtual/code.js +5 -0
  21. package/dist/_virtual/code.js.map +1 -0
  22. package/dist/_virtual/code2.js +5 -0
  23. package/dist/_virtual/code2.js.map +1 -0
  24. package/dist/_virtual/const.js +5 -0
  25. package/dist/_virtual/const.js.map +1 -0
  26. package/dist/_virtual/contains.js +5 -0
  27. package/dist/_virtual/contains.js.map +1 -0
  28. package/dist/_virtual/core.js +5 -0
  29. package/dist/_virtual/core.js.map +1 -0
  30. package/dist/_virtual/dataType.js +5 -0
  31. package/dist/_virtual/dataType.js.map +1 -0
  32. package/dist/_virtual/defaults.js +5 -0
  33. package/dist/_virtual/defaults.js.map +1 -0
  34. package/dist/_virtual/dependencies.js +5 -0
  35. package/dist/_virtual/dependencies.js.map +1 -0
  36. package/dist/_virtual/draft7.js +5 -0
  37. package/dist/_virtual/draft7.js.map +1 -0
  38. package/dist/_virtual/enum.js +5 -0
  39. package/dist/_virtual/enum.js.map +1 -0
  40. package/dist/_virtual/equal.js +5 -0
  41. package/dist/_virtual/equal.js.map +1 -0
  42. package/dist/_virtual/errors.js +5 -0
  43. package/dist/_virtual/errors.js.map +1 -0
  44. package/dist/_virtual/format.js +5 -0
  45. package/dist/_virtual/format.js.map +1 -0
  46. package/dist/_virtual/formats.js +5 -0
  47. package/dist/_virtual/formats.js.map +1 -0
  48. package/dist/_virtual/id.js +5 -0
  49. package/dist/_virtual/id.js.map +1 -0
  50. package/dist/_virtual/if.js +5 -0
  51. package/dist/_virtual/if.js.map +1 -0
  52. package/dist/_virtual/index.js +8 -0
  53. package/dist/_virtual/index.js.map +1 -0
  54. package/dist/_virtual/index10.js +5 -0
  55. package/dist/_virtual/index10.js.map +1 -0
  56. package/dist/_virtual/index11.js +5 -0
  57. package/dist/_virtual/index11.js.map +1 -0
  58. package/dist/_virtual/index12.js +5 -0
  59. package/dist/_virtual/index12.js.map +1 -0
  60. package/dist/_virtual/index2.js +5 -0
  61. package/dist/_virtual/index2.js.map +1 -0
  62. package/dist/_virtual/index3.js +5 -0
  63. package/dist/_virtual/index3.js.map +1 -0
  64. package/dist/_virtual/index4.js +5 -0
  65. package/dist/_virtual/index4.js.map +1 -0
  66. package/dist/_virtual/index5.js +5 -0
  67. package/dist/_virtual/index5.js.map +1 -0
  68. package/dist/_virtual/index6.js +5 -0
  69. package/dist/_virtual/index6.js.map +1 -0
  70. package/dist/_virtual/index7.js +5 -0
  71. package/dist/_virtual/index7.js.map +1 -0
  72. package/dist/_virtual/index8.js +5 -0
  73. package/dist/_virtual/index8.js.map +1 -0
  74. package/dist/_virtual/index9.js +5 -0
  75. package/dist/_virtual/index9.js.map +1 -0
  76. package/dist/_virtual/items.js +5 -0
  77. package/dist/_virtual/items.js.map +1 -0
  78. package/dist/_virtual/items2020.js +5 -0
  79. package/dist/_virtual/items2020.js.map +1 -0
  80. package/dist/_virtual/keyword.js +5 -0
  81. package/dist/_virtual/keyword.js.map +1 -0
  82. package/dist/_virtual/limit.js +5 -0
  83. package/dist/_virtual/limit.js.map +1 -0
  84. package/dist/_virtual/limitItems.js +5 -0
  85. package/dist/_virtual/limitItems.js.map +1 -0
  86. package/dist/_virtual/limitLength.js +5 -0
  87. package/dist/_virtual/limitLength.js.map +1 -0
  88. package/dist/_virtual/limitNumber.js +5 -0
  89. package/dist/_virtual/limitNumber.js.map +1 -0
  90. package/dist/_virtual/limitProperties.js +5 -0
  91. package/dist/_virtual/limitProperties.js.map +1 -0
  92. package/dist/_virtual/metadata.js +5 -0
  93. package/dist/_virtual/metadata.js.map +1 -0
  94. package/dist/_virtual/multipleOf.js +5 -0
  95. package/dist/_virtual/multipleOf.js.map +1 -0
  96. package/dist/_virtual/names.js +5 -0
  97. package/dist/_virtual/names.js.map +1 -0
  98. package/dist/_virtual/not.js +5 -0
  99. package/dist/_virtual/not.js.map +1 -0
  100. package/dist/_virtual/oneOf.js +5 -0
  101. package/dist/_virtual/oneOf.js.map +1 -0
  102. package/dist/_virtual/pattern.js +5 -0
  103. package/dist/_virtual/pattern.js.map +1 -0
  104. package/dist/_virtual/patternProperties.js +5 -0
  105. package/dist/_virtual/patternProperties.js.map +1 -0
  106. package/dist/_virtual/prefixItems.js +5 -0
  107. package/dist/_virtual/prefixItems.js.map +1 -0
  108. package/dist/_virtual/properties.js +5 -0
  109. package/dist/_virtual/properties.js.map +1 -0
  110. package/dist/_virtual/propertyNames.js +5 -0
  111. package/dist/_virtual/propertyNames.js.map +1 -0
  112. package/dist/_virtual/ref.js +5 -0
  113. package/dist/_virtual/ref.js.map +1 -0
  114. package/dist/_virtual/ref_error.js +5 -0
  115. package/dist/_virtual/ref_error.js.map +1 -0
  116. package/dist/_virtual/required.js +5 -0
  117. package/dist/_virtual/required.js.map +1 -0
  118. package/dist/_virtual/resolve.js +5 -0
  119. package/dist/_virtual/resolve.js.map +1 -0
  120. package/dist/_virtual/rules.js +5 -0
  121. package/dist/_virtual/rules.js.map +1 -0
  122. package/dist/_virtual/scope.js +5 -0
  123. package/dist/_virtual/scope.js.map +1 -0
  124. package/dist/_virtual/subschema.js +5 -0
  125. package/dist/_virtual/subschema.js.map +1 -0
  126. package/dist/_virtual/thenElse.js +5 -0
  127. package/dist/_virtual/thenElse.js.map +1 -0
  128. package/dist/_virtual/types.js +5 -0
  129. package/dist/_virtual/types.js.map +1 -0
  130. package/dist/_virtual/ucs2length.js +5 -0
  131. package/dist/_virtual/ucs2length.js.map +1 -0
  132. package/dist/_virtual/uniqueItems.js +5 -0
  133. package/dist/_virtual/uniqueItems.js.map +1 -0
  134. package/dist/_virtual/uri.js +5 -0
  135. package/dist/_virtual/uri.js.map +1 -0
  136. package/dist/_virtual/util.js +5 -0
  137. package/dist/_virtual/util.js.map +1 -0
  138. package/dist/_virtual/validation_error.js +5 -0
  139. package/dist/_virtual/validation_error.js.map +1 -0
  140. package/dist/agents/analyst-agent.d.ts +230 -0
  141. package/dist/agents/analyst-agent.d.ts.map +1 -0
  142. package/dist/agents/analyst-agent.js +793 -0
  143. package/dist/agents/analyst-agent.js.map +1 -0
  144. package/dist/agents/architect-agent.d.ts +248 -0
  145. package/dist/agents/architect-agent.d.ts.map +1 -0
  146. package/dist/agents/architect-agent.js +685 -0
  147. package/dist/agents/architect-agent.js.map +1 -0
  148. package/dist/agents/base-agent.d.ts +169 -0
  149. package/dist/agents/base-agent.d.ts.map +1 -0
  150. package/dist/agents/base-agent.js +441 -0
  151. package/dist/agents/base-agent.js.map +1 -0
  152. package/dist/agents/coder-agent.d.ts +191 -0
  153. package/dist/agents/coder-agent.d.ts.map +1 -0
  154. package/dist/agents/coder-agent.js +1008 -0
  155. package/dist/agents/coder-agent.js.map +1 -0
  156. package/dist/agents/index.d.ts +18 -0
  157. package/dist/agents/index.d.ts.map +1 -0
  158. package/dist/agents/index.js +40 -0
  159. package/dist/agents/index.js.map +1 -0
  160. package/dist/agents/registry.d.ts +213 -0
  161. package/dist/agents/registry.d.ts.map +1 -0
  162. package/dist/agents/registry.js +419 -0
  163. package/dist/agents/registry.js.map +1 -0
  164. package/dist/agents/researcher-agent.d.ts +226 -0
  165. package/dist/agents/researcher-agent.d.ts.map +1 -0
  166. package/dist/agents/researcher-agent.js +572 -0
  167. package/dist/agents/researcher-agent.js.map +1 -0
  168. package/dist/agents/rules-engine.d.ts +320 -0
  169. package/dist/agents/rules-engine.d.ts.map +1 -0
  170. package/dist/agents/rules-engine.js +552 -0
  171. package/dist/agents/rules-engine.js.map +1 -0
  172. package/dist/agents/tester-agent.d.ts +219 -0
  173. package/dist/agents/tester-agent.d.ts.map +1 -0
  174. package/dist/agents/tester-agent.js +683 -0
  175. package/dist/agents/tester-agent.js.map +1 -0
  176. package/dist/agents/types.d.ts +425 -0
  177. package/dist/agents/types.d.ts.map +1 -0
  178. package/dist/agents/types.js +57 -0
  179. package/dist/agents/types.js.map +1 -0
  180. package/dist/caching/index.d.ts +55 -0
  181. package/dist/caching/index.d.ts.map +1 -0
  182. package/dist/caching/index.js +206 -0
  183. package/dist/caching/index.js.map +1 -0
  184. package/dist/caching/lru-cache.d.ts +254 -0
  185. package/dist/caching/lru-cache.d.ts.map +1 -0
  186. package/dist/caching/types.d.ts +95 -0
  187. package/dist/caching/types.d.ts.map +1 -0
  188. package/dist/chunking/chunker.d.ts +94 -0
  189. package/dist/chunking/chunker.d.ts.map +1 -0
  190. package/dist/chunking/index.d.ts +125 -0
  191. package/dist/chunking/index.d.ts.map +1 -0
  192. package/dist/chunking/index.js +283 -0
  193. package/dist/chunking/index.js.map +1 -0
  194. package/dist/chunking/types.d.ts +92 -0
  195. package/dist/chunking/types.d.ts.map +1 -0
  196. package/dist/cli/commands/commit.d.ts +11 -0
  197. package/dist/cli/commands/commit.d.ts.map +1 -0
  198. package/dist/cli/commands/commit.js +379 -0
  199. package/dist/cli/commands/commit.js.map +1 -0
  200. package/dist/cli/commands/config.d.ts +8 -0
  201. package/dist/cli/commands/config.d.ts.map +1 -0
  202. package/dist/cli/commands/config.js +107 -0
  203. package/dist/cli/commands/config.js.map +1 -0
  204. package/dist/cli/commands/cultivate.d.ts +16 -0
  205. package/dist/cli/commands/cultivate.d.ts.map +1 -0
  206. package/dist/cli/commands/cultivate.js +254 -0
  207. package/dist/cli/commands/cultivate.js.map +1 -0
  208. package/dist/cli/commands/diagnostics.d.ts +8 -0
  209. package/dist/cli/commands/diagnostics.d.ts.map +1 -0
  210. package/dist/cli/commands/diagnostics.js +140 -0
  211. package/dist/cli/commands/diagnostics.js.map +1 -0
  212. package/dist/cli/commands/generate.d.ts +13 -0
  213. package/dist/cli/commands/generate.d.ts.map +1 -0
  214. package/dist/cli/commands/init-primitives.d.ts +19 -0
  215. package/dist/cli/commands/init-primitives.d.ts.map +1 -0
  216. package/dist/cli/commands/init-primitives.js +208 -0
  217. package/dist/cli/commands/init-primitives.js.map +1 -0
  218. package/dist/cli/commands/sop.d.ts +14 -0
  219. package/dist/cli/commands/sop.d.ts.map +1 -0
  220. package/dist/cli/commands/sop.js +598 -0
  221. package/dist/cli/commands/sop.js.map +1 -0
  222. package/dist/cli/index.d.ts.map +1 -1
  223. package/dist/cli/index.js +40 -1
  224. package/dist/cli/index.js.map +1 -1
  225. package/dist/config/index.d.ts +153 -0
  226. package/dist/config/index.d.ts.map +1 -0
  227. package/dist/config/index.js +141 -0
  228. package/dist/config/index.js.map +1 -0
  229. package/dist/config/manager.d.ts +136 -0
  230. package/dist/config/manager.d.ts.map +1 -0
  231. package/dist/config/types.d.ts +127 -0
  232. package/dist/config/types.d.ts.map +1 -0
  233. package/dist/core/cache.d.ts +185 -0
  234. package/dist/core/cache.d.ts.map +1 -0
  235. package/dist/core/cache.js +435 -0
  236. package/dist/core/cache.js.map +1 -0
  237. package/dist/cultivation/deep-analyzer.d.ts +129 -0
  238. package/dist/cultivation/deep-analyzer.d.ts.map +1 -0
  239. package/dist/cultivation/deep-analyzer.js +322 -0
  240. package/dist/cultivation/deep-analyzer.js.map +1 -0
  241. package/dist/cultivation/index.d.ts +13 -0
  242. package/dist/cultivation/index.d.ts.map +1 -0
  243. package/dist/cultivation/seed-generator.d.ts +92 -0
  244. package/dist/cultivation/seed-generator.d.ts.map +1 -0
  245. package/dist/cultivation/seed-generator.js +1033 -0
  246. package/dist/cultivation/seed-generator.js.map +1 -0
  247. package/dist/cultivation/types.d.ts +230 -0
  248. package/dist/cultivation/types.d.ts.map +1 -0
  249. package/dist/generators/claude-md.d.ts +7 -0
  250. package/dist/generators/claude-md.d.ts.map +1 -1
  251. package/dist/generators/claude-md.js.map +1 -1
  252. package/dist/generators/docs-init.d.ts +6 -0
  253. package/dist/generators/docs-init.d.ts.map +1 -1
  254. package/dist/generators/docs-init.js.map +1 -1
  255. package/dist/health/checks.d.ts +135 -0
  256. package/dist/health/checks.d.ts.map +1 -0
  257. package/dist/health/index.d.ts +119 -0
  258. package/dist/health/index.d.ts.map +1 -0
  259. package/dist/health/index.js +191 -0
  260. package/dist/health/index.js.map +1 -0
  261. package/dist/health/monitor.d.ts +146 -0
  262. package/dist/health/monitor.d.ts.map +1 -0
  263. package/dist/health/types.d.ts +135 -0
  264. package/dist/health/types.d.ts.map +1 -0
  265. package/dist/index.d.ts +30 -0
  266. package/dist/index.d.ts.map +1 -1
  267. package/dist/index.js +173 -1
  268. package/dist/index.js.map +1 -1
  269. package/dist/integrations/auto-commit.d.ts +175 -0
  270. package/dist/integrations/auto-commit.d.ts.map +1 -0
  271. package/dist/integrations/auto-commit.js +399 -0
  272. package/dist/integrations/auto-commit.js.map +1 -0
  273. package/dist/integrations/git.d.ts +299 -0
  274. package/dist/integrations/git.d.ts.map +1 -0
  275. package/dist/integrations/git.js +465 -0
  276. package/dist/integrations/git.js.map +1 -0
  277. package/dist/mcp-server/bin.d.ts +11 -0
  278. package/dist/mcp-server/bin.d.ts.map +1 -0
  279. package/dist/mcp-server/handlers/index.d.ts +57 -0
  280. package/dist/mcp-server/handlers/index.d.ts.map +1 -0
  281. package/dist/mcp-server/handlers/index.js +235 -0
  282. package/dist/mcp-server/handlers/index.js.map +1 -0
  283. package/dist/mcp-server/index.d.ts +28 -0
  284. package/dist/mcp-server/index.d.ts.map +1 -0
  285. package/dist/mcp-server/server.d.ts +133 -0
  286. package/dist/mcp-server/server.d.ts.map +1 -0
  287. package/dist/mcp-server/server.js +280 -0
  288. package/dist/mcp-server/server.js.map +1 -0
  289. package/dist/mcp-server/tools/agents/index.d.ts +10 -0
  290. package/dist/mcp-server/tools/agents/index.d.ts.map +1 -0
  291. package/dist/mcp-server/tools/agents/list.d.ts +19 -0
  292. package/dist/mcp-server/tools/agents/list.d.ts.map +1 -0
  293. package/dist/mcp-server/tools/agents/spawn.d.ts +19 -0
  294. package/dist/mcp-server/tools/agents/spawn.d.ts.map +1 -0
  295. package/dist/mcp-server/tools/graph/generate.d.ts +21 -0
  296. package/dist/mcp-server/tools/graph/generate.d.ts.map +1 -0
  297. package/dist/mcp-server/tools/graph/index.d.ts +11 -0
  298. package/dist/mcp-server/tools/graph/index.d.ts.map +1 -0
  299. package/dist/mcp-server/tools/graph/query.d.ts +22 -0
  300. package/dist/mcp-server/tools/graph/query.d.ts.map +1 -0
  301. package/dist/mcp-server/tools/graph/stats.d.ts +22 -0
  302. package/dist/mcp-server/tools/graph/stats.d.ts.map +1 -0
  303. package/dist/mcp-server/tools/health.d.ts +21 -0
  304. package/dist/mcp-server/tools/health.d.ts.map +1 -0
  305. package/dist/mcp-server/tools/index.d.ts +13 -0
  306. package/dist/mcp-server/tools/index.d.ts.map +1 -0
  307. package/dist/mcp-server/tools/registry.d.ts +90 -0
  308. package/dist/mcp-server/tools/registry.d.ts.map +1 -0
  309. package/dist/mcp-server/tools/registry.js +663 -0
  310. package/dist/mcp-server/tools/registry.js.map +1 -0
  311. package/dist/mcp-server/tools/search/index.d.ts +10 -0
  312. package/dist/mcp-server/tools/search/index.d.ts.map +1 -0
  313. package/dist/mcp-server/tools/search/nodes.d.ts +22 -0
  314. package/dist/mcp-server/tools/search/nodes.d.ts.map +1 -0
  315. package/dist/mcp-server/tools/search/tags.d.ts +22 -0
  316. package/dist/mcp-server/tools/search/tags.d.ts.map +1 -0
  317. package/dist/mcp-server/types/index.d.ts +286 -0
  318. package/dist/mcp-server/types/index.d.ts.map +1 -0
  319. package/dist/memory/index.d.ts +10 -0
  320. package/dist/memory/index.d.ts.map +1 -0
  321. package/dist/memory/vault-sync.d.ts +212 -0
  322. package/dist/memory/vault-sync.d.ts.map +1 -0
  323. package/dist/memory/vault-sync.js +463 -0
  324. package/dist/memory/vault-sync.js.map +1 -0
  325. package/dist/node_modules/@modelcontextprotocol/sdk/dist/esm/server/index.js +296 -0
  326. package/dist/node_modules/@modelcontextprotocol/sdk/dist/esm/server/index.js.map +1 -0
  327. package/dist/node_modules/@modelcontextprotocol/sdk/dist/esm/server/zod-compat.js +71 -0
  328. package/dist/node_modules/@modelcontextprotocol/sdk/dist/esm/server/zod-compat.js.map +1 -0
  329. package/dist/node_modules/@modelcontextprotocol/sdk/dist/esm/server/zod-json-schema-compat.js +26 -0
  330. package/dist/node_modules/@modelcontextprotocol/sdk/dist/esm/server/zod-json-schema-compat.js.map +1 -0
  331. package/dist/node_modules/@modelcontextprotocol/sdk/dist/esm/shared/protocol.js +407 -0
  332. package/dist/node_modules/@modelcontextprotocol/sdk/dist/esm/shared/protocol.js.map +1 -0
  333. package/dist/node_modules/@modelcontextprotocol/sdk/dist/esm/types.js +1332 -0
  334. package/dist/node_modules/@modelcontextprotocol/sdk/dist/esm/types.js.map +1 -0
  335. package/dist/node_modules/@modelcontextprotocol/sdk/dist/esm/validation/ajv-provider.js +71 -0
  336. package/dist/node_modules/@modelcontextprotocol/sdk/dist/esm/validation/ajv-provider.js.map +1 -0
  337. package/dist/node_modules/ajv/dist/ajv.js +84 -0
  338. package/dist/node_modules/ajv/dist/ajv.js.map +1 -0
  339. package/dist/node_modules/ajv/dist/compile/codegen/code.js +160 -0
  340. package/dist/node_modules/ajv/dist/compile/codegen/code.js.map +1 -0
  341. package/dist/node_modules/ajv/dist/compile/codegen/index.js +728 -0
  342. package/dist/node_modules/ajv/dist/compile/codegen/index.js.map +1 -0
  343. package/dist/node_modules/ajv/dist/compile/codegen/scope.js +152 -0
  344. package/dist/node_modules/ajv/dist/compile/codegen/scope.js.map +1 -0
  345. package/dist/node_modules/ajv/dist/compile/errors.js +131 -0
  346. package/dist/node_modules/ajv/dist/compile/errors.js.map +1 -0
  347. package/dist/node_modules/ajv/dist/compile/index.js +234 -0
  348. package/dist/node_modules/ajv/dist/compile/index.js.map +1 -0
  349. package/dist/node_modules/ajv/dist/compile/names.js +44 -0
  350. package/dist/node_modules/ajv/dist/compile/names.js.map +1 -0
  351. package/dist/node_modules/ajv/dist/compile/ref_error.js +22 -0
  352. package/dist/node_modules/ajv/dist/compile/ref_error.js.map +1 -0
  353. package/dist/node_modules/ajv/dist/compile/resolve.js +163 -0
  354. package/dist/node_modules/ajv/dist/compile/resolve.js.map +1 -0
  355. package/dist/node_modules/ajv/dist/compile/rules.js +35 -0
  356. package/dist/node_modules/ajv/dist/compile/rules.js.map +1 -0
  357. package/dist/node_modules/ajv/dist/compile/util.js +173 -0
  358. package/dist/node_modules/ajv/dist/compile/util.js.map +1 -0
  359. package/dist/node_modules/ajv/dist/compile/validate/applicability.js +27 -0
  360. package/dist/node_modules/ajv/dist/compile/validate/applicability.js.map +1 -0
  361. package/dist/node_modules/ajv/dist/compile/validate/boolSchema.js +58 -0
  362. package/dist/node_modules/ajv/dist/compile/validate/boolSchema.js.map +1 -0
  363. package/dist/node_modules/ajv/dist/compile/validate/dataType.js +193 -0
  364. package/dist/node_modules/ajv/dist/compile/validate/dataType.js.map +1 -0
  365. package/dist/node_modules/ajv/dist/compile/validate/defaults.js +43 -0
  366. package/dist/node_modules/ajv/dist/compile/validate/defaults.js.map +1 -0
  367. package/dist/node_modules/ajv/dist/compile/validate/index.js +522 -0
  368. package/dist/node_modules/ajv/dist/compile/validate/index.js.map +1 -0
  369. package/dist/node_modules/ajv/dist/compile/validate/keyword.js +126 -0
  370. package/dist/node_modules/ajv/dist/compile/validate/keyword.js.map +1 -0
  371. package/dist/node_modules/ajv/dist/compile/validate/subschema.js +89 -0
  372. package/dist/node_modules/ajv/dist/compile/validate/subschema.js.map +1 -0
  373. package/dist/node_modules/ajv/dist/core.js +628 -0
  374. package/dist/node_modules/ajv/dist/core.js.map +1 -0
  375. package/dist/node_modules/ajv/dist/refs/data.json.js +24 -0
  376. package/dist/node_modules/ajv/dist/refs/data.json.js.map +1 -0
  377. package/dist/node_modules/ajv/dist/refs/json-schema-draft-07.json.js +25 -0
  378. package/dist/node_modules/ajv/dist/refs/json-schema-draft-07.json.js.map +1 -0
  379. package/dist/node_modules/ajv/dist/runtime/equal.js +16 -0
  380. package/dist/node_modules/ajv/dist/runtime/equal.js.map +1 -0
  381. package/dist/node_modules/ajv/dist/runtime/ucs2length.js +30 -0
  382. package/dist/node_modules/ajv/dist/runtime/ucs2length.js.map +1 -0
  383. package/dist/node_modules/ajv/dist/runtime/uri.js +16 -0
  384. package/dist/node_modules/ajv/dist/runtime/uri.js.map +1 -0
  385. package/dist/node_modules/ajv/dist/runtime/validation_error.js +20 -0
  386. package/dist/node_modules/ajv/dist/runtime/validation_error.js.map +1 -0
  387. package/dist/node_modules/ajv/dist/vocabularies/applicator/additionalItems.js +59 -0
  388. package/dist/node_modules/ajv/dist/vocabularies/applicator/additionalItems.js.map +1 -0
  389. package/dist/node_modules/ajv/dist/vocabularies/applicator/additionalProperties.js +114 -0
  390. package/dist/node_modules/ajv/dist/vocabularies/applicator/additionalProperties.js.map +1 -0
  391. package/dist/node_modules/ajv/dist/vocabularies/applicator/allOf.js +32 -0
  392. package/dist/node_modules/ajv/dist/vocabularies/applicator/allOf.js.map +1 -0
  393. package/dist/node_modules/ajv/dist/vocabularies/applicator/anyOf.js +22 -0
  394. package/dist/node_modules/ajv/dist/vocabularies/applicator/anyOf.js.map +1 -0
  395. package/dist/node_modules/ajv/dist/vocabularies/applicator/contains.js +100 -0
  396. package/dist/node_modules/ajv/dist/vocabularies/applicator/contains.js.map +1 -0
  397. package/dist/node_modules/ajv/dist/vocabularies/applicator/dependencies.js +103 -0
  398. package/dist/node_modules/ajv/dist/vocabularies/applicator/dependencies.js.map +1 -0
  399. package/dist/node_modules/ajv/dist/vocabularies/applicator/if.js +75 -0
  400. package/dist/node_modules/ajv/dist/vocabularies/applicator/if.js.map +1 -0
  401. package/dist/node_modules/ajv/dist/vocabularies/applicator/index.js +68 -0
  402. package/dist/node_modules/ajv/dist/vocabularies/applicator/index.js.map +1 -0
  403. package/dist/node_modules/ajv/dist/vocabularies/applicator/items.js +64 -0
  404. package/dist/node_modules/ajv/dist/vocabularies/applicator/items.js.map +1 -0
  405. package/dist/node_modules/ajv/dist/vocabularies/applicator/items2020.js +43 -0
  406. package/dist/node_modules/ajv/dist/vocabularies/applicator/items2020.js.map +1 -0
  407. package/dist/node_modules/ajv/dist/vocabularies/applicator/not.js +36 -0
  408. package/dist/node_modules/ajv/dist/vocabularies/applicator/not.js.map +1 -0
  409. package/dist/node_modules/ajv/dist/vocabularies/applicator/oneOf.js +64 -0
  410. package/dist/node_modules/ajv/dist/vocabularies/applicator/oneOf.js.map +1 -0
  411. package/dist/node_modules/ajv/dist/vocabularies/applicator/patternProperties.js +81 -0
  412. package/dist/node_modules/ajv/dist/vocabularies/applicator/patternProperties.js.map +1 -0
  413. package/dist/node_modules/ajv/dist/vocabularies/applicator/prefixItems.js +22 -0
  414. package/dist/node_modules/ajv/dist/vocabularies/applicator/prefixItems.js.map +1 -0
  415. package/dist/node_modules/ajv/dist/vocabularies/applicator/properties.js +66 -0
  416. package/dist/node_modules/ajv/dist/vocabularies/applicator/properties.js.map +1 -0
  417. package/dist/node_modules/ajv/dist/vocabularies/applicator/propertyNames.js +49 -0
  418. package/dist/node_modules/ajv/dist/vocabularies/applicator/propertyNames.js.map +1 -0
  419. package/dist/node_modules/ajv/dist/vocabularies/applicator/thenElse.js +23 -0
  420. package/dist/node_modules/ajv/dist/vocabularies/applicator/thenElse.js.map +1 -0
  421. package/dist/node_modules/ajv/dist/vocabularies/code.js +140 -0
  422. package/dist/node_modules/ajv/dist/vocabularies/code.js.map +1 -0
  423. package/dist/node_modules/ajv/dist/vocabularies/core/id.js +19 -0
  424. package/dist/node_modules/ajv/dist/vocabularies/core/id.js.map +1 -0
  425. package/dist/node_modules/ajv/dist/vocabularies/core/index.js +27 -0
  426. package/dist/node_modules/ajv/dist/vocabularies/core/index.js.map +1 -0
  427. package/dist/node_modules/ajv/dist/vocabularies/core/ref.js +132 -0
  428. package/dist/node_modules/ajv/dist/vocabularies/core/ref.js.map +1 -0
  429. package/dist/node_modules/ajv/dist/vocabularies/discriminator/index.js +114 -0
  430. package/dist/node_modules/ajv/dist/vocabularies/discriminator/index.js.map +1 -0
  431. package/dist/node_modules/ajv/dist/vocabularies/discriminator/types.js +18 -0
  432. package/dist/node_modules/ajv/dist/vocabularies/discriminator/types.js.map +1 -0
  433. package/dist/node_modules/ajv/dist/vocabularies/draft7.js +31 -0
  434. package/dist/node_modules/ajv/dist/vocabularies/draft7.js.map +1 -0
  435. package/dist/node_modules/ajv/dist/vocabularies/format/format.js +95 -0
  436. package/dist/node_modules/ajv/dist/vocabularies/format/format.js.map +1 -0
  437. package/dist/node_modules/ajv/dist/vocabularies/format/index.js +16 -0
  438. package/dist/node_modules/ajv/dist/vocabularies/format/index.js.map +1 -0
  439. package/dist/node_modules/ajv/dist/vocabularies/metadata.js +27 -0
  440. package/dist/node_modules/ajv/dist/vocabularies/metadata.js.map +1 -0
  441. package/dist/node_modules/ajv/dist/vocabularies/validation/const.js +36 -0
  442. package/dist/node_modules/ajv/dist/vocabularies/validation/const.js.map +1 -0
  443. package/dist/node_modules/ajv/dist/vocabularies/validation/enum.js +56 -0
  444. package/dist/node_modules/ajv/dist/vocabularies/validation/enum.js.map +1 -0
  445. package/dist/node_modules/ajv/dist/vocabularies/validation/index.js +52 -0
  446. package/dist/node_modules/ajv/dist/vocabularies/validation/index.js.map +1 -0
  447. package/dist/node_modules/ajv/dist/vocabularies/validation/limitItems.js +34 -0
  448. package/dist/node_modules/ajv/dist/vocabularies/validation/limitItems.js.map +1 -0
  449. package/dist/node_modules/ajv/dist/vocabularies/validation/limitLength.js +39 -0
  450. package/dist/node_modules/ajv/dist/vocabularies/validation/limitLength.js.map +1 -0
  451. package/dist/node_modules/ajv/dist/vocabularies/validation/limitNumber.js +37 -0
  452. package/dist/node_modules/ajv/dist/vocabularies/validation/limitNumber.js.map +1 -0
  453. package/dist/node_modules/ajv/dist/vocabularies/validation/limitProperties.js +34 -0
  454. package/dist/node_modules/ajv/dist/vocabularies/validation/limitProperties.js.map +1 -0
  455. package/dist/node_modules/ajv/dist/vocabularies/validation/multipleOf.js +33 -0
  456. package/dist/node_modules/ajv/dist/vocabularies/validation/multipleOf.js.map +1 -0
  457. package/dist/node_modules/ajv/dist/vocabularies/validation/pattern.js +34 -0
  458. package/dist/node_modules/ajv/dist/vocabularies/validation/pattern.js.map +1 -0
  459. package/dist/node_modules/ajv/dist/vocabularies/validation/required.js +89 -0
  460. package/dist/node_modules/ajv/dist/vocabularies/validation/required.js.map +1 -0
  461. package/dist/node_modules/ajv/dist/vocabularies/validation/uniqueItems.js +75 -0
  462. package/dist/node_modules/ajv/dist/vocabularies/validation/uniqueItems.js.map +1 -0
  463. package/dist/node_modules/ajv-formats/dist/formats.js +209 -0
  464. package/dist/node_modules/ajv-formats/dist/formats.js.map +1 -0
  465. package/dist/node_modules/ajv-formats/dist/index.js +51 -0
  466. package/dist/node_modules/ajv-formats/dist/index.js.map +1 -0
  467. package/dist/node_modules/ajv-formats/dist/limit.js +80 -0
  468. package/dist/node_modules/ajv-formats/dist/limit.js.map +1 -0
  469. package/dist/node_modules/fast-deep-equal/index.js +39 -0
  470. package/dist/node_modules/fast-deep-equal/index.js.map +1 -0
  471. package/dist/node_modules/fast-uri/index.js +261 -0
  472. package/dist/node_modules/fast-uri/index.js.map +1 -0
  473. package/dist/node_modules/fast-uri/lib/schemes.js +215 -0
  474. package/dist/node_modules/fast-uri/lib/schemes.js.map +1 -0
  475. package/dist/node_modules/fast-uri/lib/utils.js +261 -0
  476. package/dist/node_modules/fast-uri/lib/utils.js.map +1 -0
  477. package/dist/node_modules/json-schema-traverse/index.js +92 -0
  478. package/dist/node_modules/json-schema-traverse/index.js.map +1 -0
  479. package/dist/node_modules/zod/v4/classic/errors.js +37 -0
  480. package/dist/node_modules/zod/v4/classic/errors.js.map +1 -0
  481. package/dist/node_modules/zod/v4/classic/iso.js +43 -0
  482. package/dist/node_modules/zod/v4/classic/iso.js.map +1 -0
  483. package/dist/node_modules/zod/v4/classic/parse.js +13 -0
  484. package/dist/node_modules/zod/v4/classic/parse.js.map +1 -0
  485. package/dist/node_modules/zod/v4/classic/schemas.js +688 -0
  486. package/dist/node_modules/zod/v4/classic/schemas.js.map +1 -0
  487. package/dist/node_modules/zod/v4/core/api.js +492 -0
  488. package/dist/node_modules/zod/v4/core/api.js.map +1 -0
  489. package/dist/node_modules/zod/v4/core/checks.js +405 -0
  490. package/dist/node_modules/zod/v4/core/checks.js.map +1 -0
  491. package/dist/node_modules/zod/v4/core/core.js +58 -0
  492. package/dist/node_modules/zod/v4/core/core.js.map +1 -0
  493. package/dist/node_modules/zod/v4/core/doc.js +38 -0
  494. package/dist/node_modules/zod/v4/core/doc.js.map +1 -0
  495. package/dist/node_modules/zod/v4/core/errors.js +82 -0
  496. package/dist/node_modules/zod/v4/core/errors.js.map +1 -0
  497. package/dist/node_modules/zod/v4/core/parse.js +60 -0
  498. package/dist/node_modules/zod/v4/core/parse.js.map +1 -0
  499. package/dist/node_modules/zod/v4/core/regexes.js +87 -0
  500. package/dist/node_modules/zod/v4/core/regexes.js.map +1 -0
  501. package/dist/node_modules/zod/v4/core/registries.js +52 -0
  502. package/dist/node_modules/zod/v4/core/registries.js.map +1 -0
  503. package/dist/node_modules/zod/v4/core/schemas.js +1283 -0
  504. package/dist/node_modules/zod/v4/core/schemas.js.map +1 -0
  505. package/dist/node_modules/zod/v4/core/util.js +341 -0
  506. package/dist/node_modules/zod/v4/core/util.js.map +1 -0
  507. package/dist/node_modules/zod/v4/core/versions.js +9 -0
  508. package/dist/node_modules/zod/v4/core/versions.js.map +1 -0
  509. package/dist/node_modules/zod-to-json-schema/dist/esm/parsers/string.js +2 -0
  510. package/dist/node_modules/zod-to-json-schema/dist/esm/parsers/string.js.map +1 -0
  511. package/dist/reasoning/index.d.ts +74 -0
  512. package/dist/reasoning/index.d.ts.map +1 -0
  513. package/dist/reasoning/index.js +124 -0
  514. package/dist/reasoning/index.js.map +1 -0
  515. package/dist/reasoning/tracker.d.ts +210 -0
  516. package/dist/reasoning/tracker.d.ts.map +1 -0
  517. package/dist/reasoning/types.d.ts +146 -0
  518. package/dist/reasoning/types.d.ts.map +1 -0
  519. package/dist/recovery/backup.d.ts +110 -0
  520. package/dist/recovery/backup.d.ts.map +1 -0
  521. package/dist/recovery/index.d.ts +70 -0
  522. package/dist/recovery/index.d.ts.map +1 -0
  523. package/dist/recovery/index.js +186 -0
  524. package/dist/recovery/index.js.map +1 -0
  525. package/dist/recovery/integrity.d.ts +74 -0
  526. package/dist/recovery/integrity.d.ts.map +1 -0
  527. package/dist/recovery/types.d.ts +94 -0
  528. package/dist/recovery/types.d.ts.map +1 -0
  529. package/dist/services/index.d.ts +130 -0
  530. package/dist/services/index.d.ts.map +1 -0
  531. package/dist/services/index.js +134 -0
  532. package/dist/services/index.js.map +1 -0
  533. package/dist/services/manager.d.ts +140 -0
  534. package/dist/services/manager.d.ts.map +1 -0
  535. package/dist/services/types.d.ts +106 -0
  536. package/dist/services/types.d.ts.map +1 -0
  537. package/dist/services/watchers.d.ts +95 -0
  538. package/dist/services/watchers.d.ts.map +1 -0
  539. package/dist/sops/compliance-checker.d.ts +83 -0
  540. package/dist/sops/compliance-checker.d.ts.map +1 -0
  541. package/dist/sops/compliance-checker.js +399 -0
  542. package/dist/sops/compliance-checker.js.map +1 -0
  543. package/dist/sops/gap-analyzer.d.ts +124 -0
  544. package/dist/sops/gap-analyzer.d.ts.map +1 -0
  545. package/dist/sops/gap-analyzer.js +313 -0
  546. package/dist/sops/gap-analyzer.js.map +1 -0
  547. package/dist/sops/index.d.ts +14 -0
  548. package/dist/sops/index.d.ts.map +1 -0
  549. package/dist/sops/overlay-manager.d.ts +115 -0
  550. package/dist/sops/overlay-manager.d.ts.map +1 -0
  551. package/dist/sops/overlay-manager.js +394 -0
  552. package/dist/sops/overlay-manager.js.map +1 -0
  553. package/dist/sops/registry.d.ts +73 -0
  554. package/dist/sops/registry.d.ts.map +1 -0
  555. package/dist/sops/registry.js +919 -0
  556. package/dist/sops/registry.js.map +1 -0
  557. package/dist/sops/types.d.ts +377 -0
  558. package/dist/sops/types.d.ts.map +1 -0
  559. package/dist/sops/types.js +46 -0
  560. package/dist/sops/types.js.map +1 -0
  561. package/dist/utils/error-recovery.d.ts +230 -0
  562. package/dist/utils/error-recovery.d.ts.map +1 -0
  563. package/dist/utils/error-recovery.js +228 -0
  564. package/dist/utils/error-recovery.js.map +1 -0
  565. package/dist/utils/error-taxonomy.d.ts +149 -0
  566. package/dist/utils/error-taxonomy.d.ts.map +1 -0
  567. package/dist/utils/error-taxonomy.js +260 -0
  568. package/dist/utils/error-taxonomy.js.map +1 -0
  569. package/dist/utils/index.d.ts +11 -0
  570. package/dist/utils/index.d.ts.map +1 -0
  571. package/dist/utils/logger.d.ts +139 -0
  572. package/dist/utils/logger.d.ts.map +1 -0
  573. package/dist/utils/logger.js +311 -0
  574. package/dist/utils/logger.js.map +1 -0
  575. package/dist/workflows/index.d.ts +11 -0
  576. package/dist/workflows/index.d.ts.map +1 -0
  577. package/dist/workflows/registry.d.ts +118 -0
  578. package/dist/workflows/registry.d.ts.map +1 -0
  579. package/dist/workflows/registry.js +575 -0
  580. package/dist/workflows/registry.js.map +1 -0
  581. package/dist/workflows/types.d.ts +322 -0
  582. package/dist/workflows/types.d.ts.map +1 -0
  583. package/dist/workflows/types.js +16 -0
  584. package/dist/workflows/types.js.map +1 -0
  585. package/package.json +1 -1
@@ -0,0 +1,919 @@
1
+ import { SOPPriority, SOPCategory } from "./types.js";
2
+ const SOP_SOURCE_BASE_URL = "https://github.com/AISDLC/AI-SDLC-SOPs/blob/main/sops";
3
+ const SOP_REGISTRY = [
4
+ // ============================================
5
+ // PROGRAM & PROJECT MANAGEMENT (1000-1010)
6
+ // ============================================
7
+ {
8
+ id: "SOP-1000-01-AI",
9
+ number: 1e3,
10
+ title: "AI-Integrated Program and Project Management",
11
+ description: "Establishes governance for AI program oversight, project initiation, and lifecycle management.",
12
+ category: SOPCategory.PROGRAM_MANAGEMENT,
13
+ priority: SOPPriority.CRITICAL,
14
+ version: "1.0",
15
+ sourceUrl: `${SOP_SOURCE_BASE_URL}/SOP-1000-01-AI_AI-Integrated-Program-and-Project-Management.md`,
16
+ scope: "All AI-enabled programs and projects from inception to completion.",
17
+ requirements: [
18
+ { id: "REQ-1000-01", description: "Define project charter with AI-specific scope", mandatory: true, verification: "document", evidence: ["Project Charter"] },
19
+ { id: "REQ-1000-02", description: "Establish AI-IRB liaison assignment", mandatory: true, verification: "document", evidence: ["Liaison Assignment"] },
20
+ { id: "REQ-1000-03", description: "Create project plan with AI milestones", mandatory: true, verification: "document", evidence: ["Project Plan"] }
21
+ ],
22
+ checkpoints: [
23
+ { id: "CP-1000-01", name: "Project Initiation", trigger: "phase-start", phase: "initiation", requirements: ["REQ-1000-01", "REQ-1000-02"], irbRequired: true, approvers: ["Project Sponsor", "AI-IRB Liaison"] }
24
+ ],
25
+ relatedSOPs: ["SOP-1001-01-AI", "SOP-1006-01-AI", "SOP-1054-01-AI"],
26
+ tags: ["program-management", "project-management", "governance", "irb"],
27
+ irbTypicallyRequired: true,
28
+ applicableTo: ["all"]
29
+ },
30
+ {
31
+ id: "SOP-1001-01-AI",
32
+ number: 1001,
33
+ title: "Document Governance and AI-IRB Compliance",
34
+ description: "Controls document creation, review, approval, and retention for AI-SDLC projects.",
35
+ category: SOPCategory.PROGRAM_MANAGEMENT,
36
+ priority: SOPPriority.HIGH,
37
+ version: "1.0",
38
+ sourceUrl: `${SOP_SOURCE_BASE_URL}/SOP-1001-01-AI_Document-Governance-and-AI-IRB-Compliance.md`,
39
+ scope: "All documentation artifacts in AI-SDLC projects.",
40
+ requirements: [
41
+ { id: "REQ-1001-01", description: "Implement document version control", mandatory: true, verification: "automated", evidence: ["VCS Repository"] },
42
+ { id: "REQ-1001-02", description: "Establish document review workflow", mandatory: true, verification: "document", evidence: ["Review Workflow"] },
43
+ { id: "REQ-1001-03", description: "Define retention policies", mandatory: true, verification: "document", evidence: ["Retention Policy"] }
44
+ ],
45
+ checkpoints: [],
46
+ relatedSOPs: ["SOP-1000-01-AI", "SOP-2002-01-AI"],
47
+ tags: ["documentation", "governance", "version-control", "retention"],
48
+ irbTypicallyRequired: false,
49
+ applicableTo: ["all"]
50
+ },
51
+ {
52
+ id: "SOP-1002-01-AI",
53
+ number: 1002,
54
+ title: "Capacity Management",
55
+ description: "Manages compute resources, HPC allocations, and infrastructure capacity for AI workloads.",
56
+ category: SOPCategory.PROGRAM_MANAGEMENT,
57
+ priority: SOPPriority.MEDIUM,
58
+ version: "1.0",
59
+ sourceUrl: `${SOP_SOURCE_BASE_URL}/SOP-1002-01-AI_Capacity-Management.md`,
60
+ scope: "AI infrastructure and compute resource management.",
61
+ requirements: [
62
+ { id: "REQ-1002-01", description: "Assess capacity requirements", mandatory: true, verification: "document", evidence: ["Capacity Assessment"] },
63
+ { id: "REQ-1002-02", description: "Monitor resource utilization", mandatory: true, verification: "automated", evidence: ["Monitoring Dashboard"] }
64
+ ],
65
+ checkpoints: [],
66
+ relatedSOPs: ["SOP-1007-01-AI"],
67
+ tags: ["capacity", "infrastructure", "resources", "hpc"],
68
+ irbTypicallyRequired: false,
69
+ applicableTo: ["ml-training", "inference", "hpc"]
70
+ },
71
+ {
72
+ id: "SOP-1003-01-AI",
73
+ number: 1003,
74
+ title: "Configuration Management",
75
+ description: "Controls versioning, change management, and configuration tracking for AI systems.",
76
+ category: SOPCategory.PROGRAM_MANAGEMENT,
77
+ priority: SOPPriority.CRITICAL,
78
+ version: "1.0",
79
+ sourceUrl: `${SOP_SOURCE_BASE_URL}/SOP-1003-01-AI_Configuration-Management.md`,
80
+ scope: "All configuration items including code, models, data schemas, and environment definitions.",
81
+ requirements: [
82
+ { id: "REQ-1003-01", description: "Use approved version control system", mandatory: true, verification: "automated", evidence: ["VCS Repository"] },
83
+ { id: "REQ-1003-02", description: "Implement change request process", mandatory: true, verification: "document", evidence: ["Change Request Log"] },
84
+ { id: "REQ-1003-03", description: "Maintain configuration baseline", mandatory: true, verification: "document", evidence: ["Configuration Baseline"] },
85
+ { id: "REQ-1003-04", description: "Document rollback procedures", mandatory: true, verification: "document", evidence: ["Rollback Plan"] }
86
+ ],
87
+ checkpoints: [
88
+ { id: "CP-1003-01", name: "Change Approval", trigger: "milestone", requirements: ["REQ-1003-02"], irbRequired: false, approvers: ["Configuration Manager"] }
89
+ ],
90
+ relatedSOPs: ["SOP-1001-01-AI", "SOP-1200-01-AI"],
91
+ tags: ["configuration", "version-control", "change-management", "baseline"],
92
+ irbTypicallyRequired: false,
93
+ applicableTo: ["all"]
94
+ },
95
+ {
96
+ id: "SOP-1004-01-AI",
97
+ number: 1004,
98
+ title: "Procurement and Purchasing for AI-Enabled Systems",
99
+ description: "Governs acquisition of AI tools, services, and third-party components.",
100
+ category: SOPCategory.PROGRAM_MANAGEMENT,
101
+ priority: SOPPriority.MEDIUM,
102
+ version: "1.0",
103
+ sourceUrl: `${SOP_SOURCE_BASE_URL}/SOP-1004-01-AI_Procurement-and-Purchasing-for-AI-Enabled-Systems.md`,
104
+ scope: "Procurement of AI-related tools, services, and vendor relationships.",
105
+ requirements: [
106
+ { id: "REQ-1004-01", description: "Conduct vendor AI capability assessment", mandatory: true, verification: "document", evidence: ["Vendor Assessment"] },
107
+ { id: "REQ-1004-02", description: "Review third-party AI ethical compliance", mandatory: true, verification: "review", evidence: ["Ethics Review"] }
108
+ ],
109
+ checkpoints: [],
110
+ relatedSOPs: ["SOP-1006-01-AI"],
111
+ tags: ["procurement", "vendors", "third-party", "acquisition"],
112
+ irbTypicallyRequired: true,
113
+ applicableTo: ["third-party-ai", "vendor-integration"]
114
+ },
115
+ {
116
+ id: "SOP-1005-01-AI",
117
+ number: 1005,
118
+ title: "AI-Integrated Release Planning",
119
+ description: "Plans and coordinates AI system releases including model deployments.",
120
+ category: SOPCategory.PROGRAM_MANAGEMENT,
121
+ priority: SOPPriority.HIGH,
122
+ version: "1.0",
123
+ sourceUrl: `${SOP_SOURCE_BASE_URL}/SOP-1005-01-AI_AI-Integrated-Release-Planning.md`,
124
+ scope: "All AI system releases and model deployments.",
125
+ requirements: [
126
+ { id: "REQ-1005-01", description: "Create release plan with AI validation gates", mandatory: true, verification: "document", evidence: ["Release Plan"] },
127
+ { id: "REQ-1005-02", description: "Define rollback criteria", mandatory: true, verification: "document", evidence: ["Rollback Criteria"] }
128
+ ],
129
+ checkpoints: [],
130
+ relatedSOPs: ["SOP-1220-01-AI", "SOP-1003-01-AI"],
131
+ tags: ["release", "deployment", "planning"],
132
+ irbTypicallyRequired: false,
133
+ applicableTo: ["all"]
134
+ },
135
+ {
136
+ id: "SOP-1006-01-AI",
137
+ number: 1006,
138
+ title: "AI-IRB Engagement and Ethical Review Procedure",
139
+ description: "Defines AI-IRB engagement process and ethical review requirements.",
140
+ category: SOPCategory.PROGRAM_MANAGEMENT,
141
+ priority: SOPPriority.CRITICAL,
142
+ version: "1.0",
143
+ sourceUrl: `${SOP_SOURCE_BASE_URL}/SOP-1006-01-AI_AI-IRB-Engagement-and-Ethical-Review-Procedure.md`,
144
+ scope: "All projects requiring AI-IRB review and ethical assessment.",
145
+ requirements: [
146
+ { id: "REQ-1006-01", description: "Submit AI-IRB review request", mandatory: true, verification: "document", evidence: ["IRB Request Form"] },
147
+ { id: "REQ-1006-02", description: "Complete ethical impact assessment", mandatory: true, verification: "document", evidence: ["Ethics Assessment"] },
148
+ { id: "REQ-1006-03", description: "Obtain IRB approval before deployment", mandatory: true, verification: "document", evidence: ["IRB Approval"] }
149
+ ],
150
+ checkpoints: [
151
+ { id: "CP-1006-01", name: "IRB Initial Review", trigger: "phase-start", phase: "initiation", requirements: ["REQ-1006-01"], irbRequired: true, approvers: ["AI-IRB Committee"] },
152
+ { id: "CP-1006-02", name: "IRB Final Approval", trigger: "phase-end", phase: "validation", requirements: ["REQ-1006-03"], irbRequired: true, approvers: ["AI-IRB Committee"] }
153
+ ],
154
+ relatedSOPs: ["SOP-1300-01-AI", "SOP-1053-01-AI", "SOP-1305-01-AI"],
155
+ tags: ["irb", "ethics", "review", "approval", "governance"],
156
+ irbTypicallyRequired: true,
157
+ applicableTo: ["all"]
158
+ },
159
+ {
160
+ id: "SOP-1007-01-AI",
161
+ number: 1007,
162
+ title: "AI Asset Management",
163
+ description: "Tracks and manages AI assets including models, datasets, and infrastructure.",
164
+ category: SOPCategory.PROGRAM_MANAGEMENT,
165
+ priority: SOPPriority.MEDIUM,
166
+ version: "1.0",
167
+ sourceUrl: `${SOP_SOURCE_BASE_URL}/SOP-1007-01-AI_AI-Asset-Management.md`,
168
+ scope: "All AI assets throughout their lifecycle.",
169
+ requirements: [
170
+ { id: "REQ-1007-01", description: "Maintain AI asset registry", mandatory: true, verification: "document", evidence: ["Asset Registry"] },
171
+ { id: "REQ-1007-02", description: "Track asset ownership and responsibility", mandatory: true, verification: "document", evidence: ["Ownership Records"] }
172
+ ],
173
+ checkpoints: [],
174
+ relatedSOPs: ["SOP-1020-01-AI", "SOP-1002-01-AI"],
175
+ tags: ["assets", "inventory", "tracking", "models", "datasets"],
176
+ irbTypicallyRequired: false,
177
+ applicableTo: ["all"]
178
+ },
179
+ {
180
+ id: "SOP-1008-01-AI",
181
+ number: 1008,
182
+ title: "AI Incident and Escalation Management",
183
+ description: "Defines incident response and escalation procedures for AI systems.",
184
+ category: SOPCategory.PROGRAM_MANAGEMENT,
185
+ priority: SOPPriority.CRITICAL,
186
+ version: "1.0",
187
+ sourceUrl: `${SOP_SOURCE_BASE_URL}/SOP-1008-01-AI_AI-Incident-and-Escalation-Management.md`,
188
+ scope: "All AI-related incidents including bias events, failures, and security breaches.",
189
+ requirements: [
190
+ { id: "REQ-1008-01", description: "Define incident classification criteria", mandatory: true, verification: "document", evidence: ["Incident Classification"] },
191
+ { id: "REQ-1008-02", description: "Establish escalation matrix", mandatory: true, verification: "document", evidence: ["Escalation Matrix"] },
192
+ { id: "REQ-1008-03", description: "Document incident response procedures", mandatory: true, verification: "document", evidence: ["Response Procedures"] }
193
+ ],
194
+ checkpoints: [],
195
+ relatedSOPs: ["SOP-1061-01-AI", "SOP-1010-01-AI"],
196
+ tags: ["incident", "escalation", "response", "crisis"],
197
+ irbTypicallyRequired: true,
198
+ applicableTo: ["production"]
199
+ },
200
+ {
201
+ id: "SOP-1009-01-AI",
202
+ number: 1009,
203
+ title: "AI Model Drift and Re-Validation Procedure",
204
+ description: "Detects and addresses model drift requiring revalidation.",
205
+ category: SOPCategory.PROGRAM_MANAGEMENT,
206
+ priority: SOPPriority.HIGH,
207
+ version: "1.0",
208
+ sourceUrl: `${SOP_SOURCE_BASE_URL}/SOP-1009-01-AI_AI-Model-Drift-and-Re-Validation-Procedure.md`,
209
+ scope: "Production AI models requiring drift monitoring.",
210
+ requirements: [
211
+ { id: "REQ-1009-01", description: "Establish drift detection thresholds", mandatory: true, verification: "document", evidence: ["Drift Thresholds"] },
212
+ { id: "REQ-1009-02", description: "Implement drift monitoring", mandatory: true, verification: "automated", evidence: ["Monitoring System"] },
213
+ { id: "REQ-1009-03", description: "Define revalidation triggers", mandatory: true, verification: "document", evidence: ["Revalidation Criteria"] }
214
+ ],
215
+ checkpoints: [],
216
+ relatedSOPs: ["SOP-1013-01-AI", "SOP-1304-01-AI"],
217
+ tags: ["drift", "monitoring", "revalidation", "performance"],
218
+ irbTypicallyRequired: false,
219
+ applicableTo: ["production-ml"]
220
+ },
221
+ {
222
+ id: "SOP-1010-01-AI",
223
+ number: 1010,
224
+ title: "AI-SDLC Site Monitoring and Incident Management",
225
+ description: "Monitors AI system health and manages site-level incidents.",
226
+ category: SOPCategory.PROGRAM_MANAGEMENT,
227
+ priority: SOPPriority.HIGH,
228
+ version: "1.0",
229
+ sourceUrl: `${SOP_SOURCE_BASE_URL}/SOP-1010-01-AI_AI-SDLC-Site-Monitoring-and-Incident-Management.md`,
230
+ scope: "Production AI systems and infrastructure.",
231
+ requirements: [
232
+ { id: "REQ-1010-01", description: "Implement real-time monitoring", mandatory: true, verification: "automated", evidence: ["Monitoring Dashboard"] },
233
+ { id: "REQ-1010-02", description: "Define alerting thresholds", mandatory: true, verification: "document", evidence: ["Alert Configuration"] }
234
+ ],
235
+ checkpoints: [],
236
+ relatedSOPs: ["SOP-1008-01-AI", "SOP-1061-01-AI"],
237
+ tags: ["monitoring", "site", "operations", "alerting"],
238
+ irbTypicallyRequired: false,
239
+ applicableTo: ["production"]
240
+ },
241
+ // ============================================
242
+ // OPERATIONS & MAINTENANCE (1011-1060)
243
+ // ============================================
244
+ {
245
+ id: "SOP-1011-01-AI",
246
+ number: 1011,
247
+ title: "AI Feature Decommissioning and Model Retirement",
248
+ description: "Procedures for retiring AI features and models from production.",
249
+ category: SOPCategory.OPERATIONS,
250
+ priority: SOPPriority.MEDIUM,
251
+ version: "1.0",
252
+ sourceUrl: `${SOP_SOURCE_BASE_URL}/SOP-1011-01-AI_AI-Feature-Decommissioning-and-Model-Retirement.md`,
253
+ scope: "AI models and features being retired from service.",
254
+ requirements: [
255
+ { id: "REQ-1011-01", description: "Create decommissioning plan", mandatory: true, verification: "document", evidence: ["Decommissioning Plan"] },
256
+ { id: "REQ-1011-02", description: "Notify stakeholders", mandatory: true, verification: "document", evidence: ["Stakeholder Communication"] },
257
+ { id: "REQ-1011-03", description: "Archive model artifacts", mandatory: true, verification: "document", evidence: ["Archive Records"] }
258
+ ],
259
+ checkpoints: [],
260
+ relatedSOPs: ["SOP-1306-01-AI", "SOP-1020-01-AI"],
261
+ tags: ["decommissioning", "retirement", "sunset", "end-of-life"],
262
+ irbTypicallyRequired: false,
263
+ applicableTo: ["all"]
264
+ },
265
+ {
266
+ id: "SOP-1012-01-AI",
267
+ number: 1012,
268
+ title: "AI Model Explainability and Interpretability Procedure",
269
+ description: "Ensures AI models meet explainability and interpretability standards.",
270
+ category: SOPCategory.OPERATIONS,
271
+ priority: SOPPriority.HIGH,
272
+ version: "1.0",
273
+ sourceUrl: `${SOP_SOURCE_BASE_URL}/SOP-1012-01-AI_AI-Model-Explainability-and-Interpretability-Procedure.md`,
274
+ scope: "AI models requiring explanation of decisions.",
275
+ requirements: [
276
+ { id: "REQ-1012-01", description: "Document model explanation methods", mandatory: true, verification: "document", evidence: ["Explainability Documentation"] },
277
+ { id: "REQ-1012-02", description: "Implement interpretability features", mandatory: true, verification: "test", evidence: ["Feature Implementation"] }
278
+ ],
279
+ checkpoints: [],
280
+ relatedSOPs: ["SOP-1302-01-AI", "SOP-1301-01-AI"],
281
+ tags: ["explainability", "interpretability", "transparency", "xai"],
282
+ irbTypicallyRequired: true,
283
+ applicableTo: ["decision-systems", "regulated"]
284
+ },
285
+ {
286
+ id: "SOP-1013-01-AI",
287
+ number: 1013,
288
+ title: "AI Model Post-Production Monitoring and Ongoing Validation",
289
+ description: "Continuous monitoring and validation of production AI models.",
290
+ category: SOPCategory.OPERATIONS,
291
+ priority: SOPPriority.CRITICAL,
292
+ version: "1.0",
293
+ sourceUrl: `${SOP_SOURCE_BASE_URL}/SOP-1013-01-AI_AI-Model-Post-Production-Monitoring-and-Ongoing-Validation.md`,
294
+ scope: "All production AI models.",
295
+ requirements: [
296
+ { id: "REQ-1013-01", description: "Implement continuous monitoring", mandatory: true, verification: "automated", evidence: ["Monitoring System"] },
297
+ { id: "REQ-1013-02", description: "Schedule periodic validation", mandatory: true, verification: "document", evidence: ["Validation Schedule"] },
298
+ { id: "REQ-1013-03", description: "Track performance metrics", mandatory: true, verification: "automated", evidence: ["Metrics Dashboard"] }
299
+ ],
300
+ checkpoints: [
301
+ { id: "CP-1013-01", name: "Periodic Validation", trigger: "scheduled", requirements: ["REQ-1013-02"], irbRequired: false, approvers: ["Data Science Lead"] }
302
+ ],
303
+ relatedSOPs: ["SOP-1009-01-AI", "SOP-1304-01-AI"],
304
+ tags: ["monitoring", "validation", "production", "performance"],
305
+ irbTypicallyRequired: false,
306
+ applicableTo: ["production-ml"]
307
+ },
308
+ {
309
+ id: "SOP-1014-01-AI",
310
+ number: 1014,
311
+ title: "Regulatory and Ethical AI Compliance Verification",
312
+ description: "Verifies AI systems comply with regulatory and ethical requirements.",
313
+ category: SOPCategory.OPERATIONS,
314
+ priority: SOPPriority.CRITICAL,
315
+ version: "1.0",
316
+ sourceUrl: `${SOP_SOURCE_BASE_URL}/SOP-1014-01-AI_Regulatory-and-Ethical-AI-Compliance-Verification.md`,
317
+ scope: "All AI systems subject to regulatory or ethical requirements.",
318
+ requirements: [
319
+ { id: "REQ-1014-01", description: "Identify applicable regulations", mandatory: true, verification: "document", evidence: ["Regulatory Mapping"] },
320
+ { id: "REQ-1014-02", description: "Conduct compliance audit", mandatory: true, verification: "audit", evidence: ["Audit Report"] },
321
+ { id: "REQ-1014-03", description: "Maintain compliance evidence", mandatory: true, verification: "document", evidence: ["Compliance Records"] }
322
+ ],
323
+ checkpoints: [],
324
+ relatedSOPs: ["SOP-1006-01-AI", "SOP-1300-01-AI", "SOP-1305-01-AI"],
325
+ tags: ["regulatory", "compliance", "ethics", "audit"],
326
+ irbTypicallyRequired: true,
327
+ applicableTo: ["regulated", "high-risk"]
328
+ },
329
+ {
330
+ id: "SOP-1015-01-AI",
331
+ number: 1015,
332
+ title: "AI Knowledge Transfer and Handover Procedure",
333
+ description: "Ensures proper knowledge transfer for AI systems.",
334
+ category: SOPCategory.OPERATIONS,
335
+ priority: SOPPriority.MEDIUM,
336
+ version: "1.0",
337
+ sourceUrl: `${SOP_SOURCE_BASE_URL}/SOP-1015-01-AI_AI-Knowledge-Transfer-and-Handover-Procedure.md`,
338
+ scope: "AI systems transitioning between teams or entering maintenance.",
339
+ requirements: [
340
+ { id: "REQ-1015-01", description: "Create knowledge transfer documentation", mandatory: true, verification: "document", evidence: ["Transfer Documentation"] },
341
+ { id: "REQ-1015-02", description: "Conduct handover sessions", mandatory: true, verification: "document", evidence: ["Session Records"] }
342
+ ],
343
+ checkpoints: [],
344
+ relatedSOPs: ["SOP-1100-01-AI", "SOP-1101-01-AI"],
345
+ tags: ["knowledge-transfer", "handover", "documentation", "training"],
346
+ irbTypicallyRequired: false,
347
+ applicableTo: ["all"]
348
+ },
349
+ {
350
+ id: "SOP-1020-01-AI",
351
+ number: 1020,
352
+ title: "AI Model Lifecycle Management",
353
+ description: "Governs AI model lifecycle from development through retirement.",
354
+ category: SOPCategory.OPERATIONS,
355
+ priority: SOPPriority.CRITICAL,
356
+ version: "1.0",
357
+ sourceUrl: `${SOP_SOURCE_BASE_URL}/SOP-1020-01-AI_AI-Model-Lifecycle-Management.md`,
358
+ scope: "All AI models throughout their lifecycle.",
359
+ requirements: [
360
+ { id: "REQ-1020-01", description: "Define lifecycle stages", mandatory: true, verification: "document", evidence: ["Lifecycle Definition"] },
361
+ { id: "REQ-1020-02", description: "Track model versions", mandatory: true, verification: "automated", evidence: ["Version Registry"] },
362
+ { id: "REQ-1020-03", description: "Document stage transitions", mandatory: true, verification: "document", evidence: ["Transition Records"] }
363
+ ],
364
+ checkpoints: [],
365
+ relatedSOPs: ["SOP-1052-01-AI", "SOP-1007-01-AI", "SOP-1011-01-AI"],
366
+ tags: ["lifecycle", "model-management", "versioning", "mlops"],
367
+ irbTypicallyRequired: false,
368
+ applicableTo: ["ml"]
369
+ },
370
+ {
371
+ id: "SOP-1030-01-AI",
372
+ number: 1030,
373
+ title: "AI Ad-Hoc Reporting Procedure",
374
+ description: "Procedures for generating ad-hoc AI performance and compliance reports.",
375
+ category: SOPCategory.OPERATIONS,
376
+ priority: SOPPriority.LOW,
377
+ version: "1.0",
378
+ sourceUrl: `${SOP_SOURCE_BASE_URL}/SOP-1030-01-AI_AI-Ad-Hoc-Reporting-Procedure.md`,
379
+ scope: "Custom reporting needs for AI systems.",
380
+ requirements: [
381
+ { id: "REQ-1030-01", description: "Define report request process", mandatory: false, verification: "document", evidence: ["Request Process"] }
382
+ ],
383
+ checkpoints: [],
384
+ relatedSOPs: [],
385
+ tags: ["reporting", "ad-hoc", "analytics"],
386
+ irbTypicallyRequired: false,
387
+ applicableTo: ["all"]
388
+ },
389
+ {
390
+ id: "SOP-1040-01-AI",
391
+ number: 1040,
392
+ title: "Requirements Definition",
393
+ description: "Establishes requirements gathering and documentation for AI systems.",
394
+ category: SOPCategory.OPERATIONS,
395
+ priority: SOPPriority.CRITICAL,
396
+ version: "1.0",
397
+ sourceUrl: `${SOP_SOURCE_BASE_URL}/SOP-1040-01-AI_Requirements-Definition.md`,
398
+ scope: "All AI project requirements including functional, ethical, and compliance.",
399
+ requirements: [
400
+ { id: "REQ-1040-01", description: "Conduct stakeholder elicitation", mandatory: true, verification: "document", evidence: ["Stakeholder Interviews"] },
401
+ { id: "REQ-1040-02", description: "Document requirements with acceptance criteria", mandatory: true, verification: "document", evidence: ["Requirements Document"] },
402
+ { id: "REQ-1040-03", description: "Include fairness and bias requirements", mandatory: true, verification: "document", evidence: ["Fairness Requirements"] },
403
+ { id: "REQ-1040-04", description: "Obtain requirements sign-off", mandatory: true, verification: "document", evidence: ["Sign-off Record"] }
404
+ ],
405
+ checkpoints: [
406
+ { id: "CP-1040-01", name: "Requirements Approval", trigger: "phase-end", phase: "requirements", requirements: ["REQ-1040-04"], irbRequired: true, approvers: ["Product Manager", "AI-IRB Liaison"] }
407
+ ],
408
+ relatedSOPs: ["SOP-1006-01-AI", "SOP-1200-01-AI"],
409
+ tags: ["requirements", "elicitation", "specification", "fairness"],
410
+ irbTypicallyRequired: true,
411
+ applicableTo: ["all"]
412
+ },
413
+ // Security SOPs (1050-1055)
414
+ {
415
+ id: "SOP-1050-01-AI",
416
+ number: 1050,
417
+ title: "AI Security Administration and Governance",
418
+ description: "Establishes security governance for AI systems.",
419
+ category: SOPCategory.OPERATIONS,
420
+ priority: SOPPriority.CRITICAL,
421
+ version: "1.0",
422
+ sourceUrl: `${SOP_SOURCE_BASE_URL}/SOP-1050-01-AI_AI-Security-Administration-and-Governance.md`,
423
+ scope: "Security governance for all AI systems.",
424
+ requirements: [
425
+ { id: "REQ-1050-01", description: "Define security policies for AI", mandatory: true, verification: "document", evidence: ["Security Policy"] },
426
+ { id: "REQ-1050-02", description: "Implement access controls", mandatory: true, verification: "automated", evidence: ["Access Control Configuration"] }
427
+ ],
428
+ checkpoints: [],
429
+ relatedSOPs: ["SOP-1051-01-AI", "SOP-1055-01-AI", "SOP-1303-01-AI"],
430
+ tags: ["security", "governance", "access-control", "policy"],
431
+ irbTypicallyRequired: false,
432
+ applicableTo: ["all"]
433
+ },
434
+ {
435
+ id: "SOP-1051-01-AI",
436
+ number: 1051,
437
+ title: "AI Security Administration and Oversight",
438
+ description: "Ongoing security oversight and monitoring for AI systems.",
439
+ category: SOPCategory.OPERATIONS,
440
+ priority: SOPPriority.HIGH,
441
+ version: "1.0",
442
+ sourceUrl: `${SOP_SOURCE_BASE_URL}/SOP-1051-01-AI_AI-Security-Administration-and-Oversight.md`,
443
+ scope: "Security monitoring and oversight activities.",
444
+ requirements: [
445
+ { id: "REQ-1051-01", description: "Conduct security monitoring", mandatory: true, verification: "automated", evidence: ["Security Logs"] },
446
+ { id: "REQ-1051-02", description: "Perform security reviews", mandatory: true, verification: "review", evidence: ["Security Review Report"] }
447
+ ],
448
+ checkpoints: [],
449
+ relatedSOPs: ["SOP-1050-01-AI", "SOP-1055-01-AI"],
450
+ tags: ["security", "monitoring", "oversight"],
451
+ irbTypicallyRequired: false,
452
+ applicableTo: ["all"]
453
+ },
454
+ {
455
+ id: "SOP-1052-01-AI",
456
+ number: 1052,
457
+ title: "AI Model Lifecycle Oversight and Governance",
458
+ description: "Governance oversight for AI model lifecycle management.",
459
+ category: SOPCategory.OPERATIONS,
460
+ priority: SOPPriority.HIGH,
461
+ version: "1.0",
462
+ sourceUrl: `${SOP_SOURCE_BASE_URL}/SOP-1052-01-AI_AI-Model-Lifecycle-Oversight-and-Governance.md`,
463
+ scope: "Governance oversight of model lifecycle.",
464
+ requirements: [
465
+ { id: "REQ-1052-01", description: "Establish lifecycle governance board", mandatory: true, verification: "document", evidence: ["Governance Charter"] },
466
+ { id: "REQ-1052-02", description: "Define stage gate criteria", mandatory: true, verification: "document", evidence: ["Stage Gate Criteria"] }
467
+ ],
468
+ checkpoints: [],
469
+ relatedSOPs: ["SOP-1020-01-AI", "SOP-1300-01-AI"],
470
+ tags: ["lifecycle", "governance", "oversight", "stage-gate"],
471
+ irbTypicallyRequired: true,
472
+ applicableTo: ["ml"]
473
+ },
474
+ {
475
+ id: "SOP-1053-01-AI",
476
+ number: 1053,
477
+ title: "Ethical Risk Assessment and Mitigation",
478
+ description: "Assesses and mitigates ethical risks in AI systems.",
479
+ category: SOPCategory.OPERATIONS,
480
+ priority: SOPPriority.CRITICAL,
481
+ version: "1.0",
482
+ sourceUrl: `${SOP_SOURCE_BASE_URL}/SOP-1053-01-AI_Ethical-Risk-Assessment-and-Mitigation.md`,
483
+ scope: "All AI systems with potential ethical implications.",
484
+ requirements: [
485
+ { id: "REQ-1053-01", description: "Conduct ethical risk assessment", mandatory: true, verification: "document", evidence: ["Risk Assessment"] },
486
+ { id: "REQ-1053-02", description: "Develop mitigation strategies", mandatory: true, verification: "document", evidence: ["Mitigation Plan"] },
487
+ { id: "REQ-1053-03", description: "Monitor ethical risks ongoing", mandatory: true, verification: "document", evidence: ["Risk Monitoring Log"] }
488
+ ],
489
+ checkpoints: [],
490
+ relatedSOPs: ["SOP-1006-01-AI", "SOP-1305-01-AI", "SOP-1301-01-AI"],
491
+ tags: ["ethics", "risk", "assessment", "mitigation"],
492
+ irbTypicallyRequired: true,
493
+ applicableTo: ["all"]
494
+ },
495
+ {
496
+ id: "SOP-1054-01-AI",
497
+ number: 1054,
498
+ title: "AI-Regulated Project Approvals and Sponsorship",
499
+ description: "Approval process for AI projects in regulated environments.",
500
+ category: SOPCategory.OPERATIONS,
501
+ priority: SOPPriority.HIGH,
502
+ version: "1.0",
503
+ sourceUrl: `${SOP_SOURCE_BASE_URL}/SOP-1054-01-AI_AI-Regulated-Project-Approvals-and-Sponsorship.md`,
504
+ scope: "AI projects in regulated industries.",
505
+ requirements: [
506
+ { id: "REQ-1054-01", description: "Obtain sponsor approval", mandatory: true, verification: "document", evidence: ["Sponsor Approval"] },
507
+ { id: "REQ-1054-02", description: "Complete regulatory impact assessment", mandatory: true, verification: "document", evidence: ["Impact Assessment"] }
508
+ ],
509
+ checkpoints: [],
510
+ relatedSOPs: ["SOP-1000-01-AI", "SOP-1014-01-AI"],
511
+ tags: ["regulated", "approval", "sponsorship", "compliance"],
512
+ irbTypicallyRequired: true,
513
+ applicableTo: ["regulated"]
514
+ },
515
+ {
516
+ id: "SOP-1055-01-AI",
517
+ number: 1055,
518
+ title: "Computer System Controls",
519
+ description: "Technical controls for AI system security and integrity.",
520
+ category: SOPCategory.OPERATIONS,
521
+ priority: SOPPriority.HIGH,
522
+ version: "1.0",
523
+ sourceUrl: `${SOP_SOURCE_BASE_URL}/SOP-1055-01-AI_Computer-System-Controls.md`,
524
+ scope: "Technical security controls for AI infrastructure.",
525
+ requirements: [
526
+ { id: "REQ-1055-01", description: "Implement system hardening", mandatory: true, verification: "automated", evidence: ["Hardening Configuration"] },
527
+ { id: "REQ-1055-02", description: "Maintain audit logs", mandatory: true, verification: "automated", evidence: ["Audit Logs"] }
528
+ ],
529
+ checkpoints: [],
530
+ relatedSOPs: ["SOP-1050-01-AI", "SOP-1051-01-AI"],
531
+ tags: ["security", "controls", "hardening", "audit"],
532
+ irbTypicallyRequired: false,
533
+ applicableTo: ["all"]
534
+ },
535
+ {
536
+ id: "SOP-1060-01-AI",
537
+ number: 1060,
538
+ title: "Service Level Agreement",
539
+ description: "Defines SLAs for AI system performance and availability.",
540
+ category: SOPCategory.OPERATIONS,
541
+ priority: SOPPriority.MEDIUM,
542
+ version: "1.0",
543
+ sourceUrl: `${SOP_SOURCE_BASE_URL}/SOP-1060-01-AI_Service-Level-Agreement.md`,
544
+ scope: "AI systems with defined service levels.",
545
+ requirements: [
546
+ { id: "REQ-1060-01", description: "Define SLA metrics", mandatory: true, verification: "document", evidence: ["SLA Document"] },
547
+ { id: "REQ-1060-02", description: "Establish monitoring for SLA compliance", mandatory: true, verification: "automated", evidence: ["SLA Dashboard"] }
548
+ ],
549
+ checkpoints: [],
550
+ relatedSOPs: ["SOP-1010-01-AI", "SOP-1013-01-AI"],
551
+ tags: ["sla", "performance", "availability", "service"],
552
+ irbTypicallyRequired: false,
553
+ applicableTo: ["production"]
554
+ },
555
+ {
556
+ id: "SOP-1061-01-AI",
557
+ number: 1061,
558
+ title: "Incident Tracking",
559
+ description: "Tracking and management of AI-related incidents.",
560
+ category: SOPCategory.OPERATIONS,
561
+ priority: SOPPriority.HIGH,
562
+ version: "1.0",
563
+ sourceUrl: `${SOP_SOURCE_BASE_URL}/SOP-1061-01-AI_Incident-Tracking.md`,
564
+ scope: "All AI-related incidents.",
565
+ requirements: [
566
+ { id: "REQ-1061-01", description: "Log all incidents in tracking system", mandatory: true, verification: "automated", evidence: ["Incident Log"] },
567
+ { id: "REQ-1061-02", description: "Track incident resolution", mandatory: true, verification: "automated", evidence: ["Resolution Records"] }
568
+ ],
569
+ checkpoints: [],
570
+ relatedSOPs: ["SOP-1008-01-AI", "SOP-1010-01-AI"],
571
+ tags: ["incident", "tracking", "resolution", "logging"],
572
+ irbTypicallyRequired: false,
573
+ applicableTo: ["production"]
574
+ },
575
+ // ============================================
576
+ // TRAINING & DEVELOPMENT (1100-1220)
577
+ // ============================================
578
+ {
579
+ id: "SOP-1100-01-AI",
580
+ number: 1100,
581
+ title: "Documentation of Training",
582
+ description: "Records training activities for AI system operators and developers.",
583
+ category: SOPCategory.DEVELOPMENT,
584
+ priority: SOPPriority.MEDIUM,
585
+ version: "1.0",
586
+ sourceUrl: `${SOP_SOURCE_BASE_URL}/SOP-1100-01-AI_Documentation-of-Training.md`,
587
+ scope: "Training records for AI system personnel.",
588
+ requirements: [
589
+ { id: "REQ-1100-01", description: "Maintain training records", mandatory: true, verification: "document", evidence: ["Training Records"] },
590
+ { id: "REQ-1100-02", description: "Track certification status", mandatory: true, verification: "document", evidence: ["Certification Log"] }
591
+ ],
592
+ checkpoints: [],
593
+ relatedSOPs: ["SOP-1101-01-AI", "SOP-1015-01-AI"],
594
+ tags: ["training", "records", "certification", "documentation"],
595
+ irbTypicallyRequired: false,
596
+ applicableTo: ["all"]
597
+ },
598
+ {
599
+ id: "SOP-1101-01-AI",
600
+ number: 1101,
601
+ title: "Training and Documentation",
602
+ description: "Training program development and delivery for AI systems.",
603
+ category: SOPCategory.DEVELOPMENT,
604
+ priority: SOPPriority.MEDIUM,
605
+ version: "1.0",
606
+ sourceUrl: `${SOP_SOURCE_BASE_URL}/SOP-1101-01-AI_Training-and-Documentation.md`,
607
+ scope: "Development of training materials and programs.",
608
+ requirements: [
609
+ { id: "REQ-1101-01", description: "Develop training curriculum", mandatory: true, verification: "document", evidence: ["Training Curriculum"] },
610
+ { id: "REQ-1101-02", description: "Deliver training sessions", mandatory: true, verification: "document", evidence: ["Training Delivery Records"] }
611
+ ],
612
+ checkpoints: [],
613
+ relatedSOPs: ["SOP-1100-01-AI", "SOP-1015-01-AI"],
614
+ tags: ["training", "curriculum", "education", "documentation"],
615
+ irbTypicallyRequired: false,
616
+ applicableTo: ["all"]
617
+ },
618
+ {
619
+ id: "SOP-1200-01-AI",
620
+ number: 1200,
621
+ title: "Development",
622
+ description: "AI system development lifecycle procedures including coding, review, and integration.",
623
+ category: SOPCategory.DEVELOPMENT,
624
+ priority: SOPPriority.CRITICAL,
625
+ version: "1.0",
626
+ sourceUrl: `${SOP_SOURCE_BASE_URL}/SOP-1200-01-AI_Development.md`,
627
+ scope: "All AI development activities from design through integration.",
628
+ requirements: [
629
+ { id: "REQ-1200-01", description: "Follow approved technical design", mandatory: true, verification: "review", evidence: ["Design Document"] },
630
+ { id: "REQ-1200-02", description: "Execute unit tests with documentation", mandatory: true, verification: "test", evidence: ["Unit Test Results"] },
631
+ { id: "REQ-1200-03", description: "Conduct peer code reviews", mandatory: true, verification: "review", evidence: ["Review Records"] },
632
+ { id: "REQ-1200-04", description: "Complete integration testing", mandatory: true, verification: "test", evidence: ["Integration Test Results"] },
633
+ { id: "REQ-1200-05", description: "Notify AI-IRB of AI functionality changes", mandatory: true, verification: "document", evidence: ["IRB Notification"] }
634
+ ],
635
+ checkpoints: [
636
+ { id: "CP-1200-01", name: "Development Start", trigger: "phase-start", phase: "development", requirements: ["REQ-1200-01"], irbRequired: false, approvers: ["Development Lead"] },
637
+ { id: "CP-1200-02", name: "QA Handover", trigger: "phase-end", phase: "development", requirements: ["REQ-1200-02", "REQ-1200-03", "REQ-1200-04"], irbRequired: true, approvers: ["Development Lead", "QA Manager"] }
638
+ ],
639
+ relatedSOPs: ["SOP-1040-01-AI", "SOP-1210-01-AI", "SOP-1003-01-AI"],
640
+ tags: ["development", "coding", "review", "testing", "integration"],
641
+ irbTypicallyRequired: true,
642
+ applicableTo: ["all"]
643
+ },
644
+ {
645
+ id: "SOP-1210-01-AI",
646
+ number: 1210,
647
+ title: "Quality Function",
648
+ description: "Quality assurance processes for AI systems.",
649
+ category: SOPCategory.DEVELOPMENT,
650
+ priority: SOPPriority.CRITICAL,
651
+ version: "1.0",
652
+ sourceUrl: `${SOP_SOURCE_BASE_URL}/SOP-1210-01-AI_Quality-Function.md`,
653
+ scope: "All quality assurance activities for AI systems.",
654
+ requirements: [
655
+ { id: "REQ-1210-01", description: "Create quality plan", mandatory: true, verification: "document", evidence: ["Quality Plan"] },
656
+ { id: "REQ-1210-02", description: "Develop test strategy", mandatory: true, verification: "document", evidence: ["Test Strategy"] },
657
+ { id: "REQ-1210-03", description: "Execute test cycles", mandatory: true, verification: "test", evidence: ["Test Results"] },
658
+ { id: "REQ-1210-04", description: "Track and resolve defects", mandatory: true, verification: "automated", evidence: ["Defect Log"] },
659
+ { id: "REQ-1210-05", description: "Verify AI-IRB compliance in testing", mandatory: true, verification: "review", evidence: ["Compliance Verification"] }
660
+ ],
661
+ checkpoints: [
662
+ { id: "CP-1210-01", name: "Quality Plan Approval", trigger: "phase-start", phase: "qa", requirements: ["REQ-1210-01"], irbRequired: true, approvers: ["QA Manager", "AI-IRB Liaison"] },
663
+ { id: "CP-1210-02", name: "Test Completion", trigger: "phase-end", phase: "qa", requirements: ["REQ-1210-03", "REQ-1210-04"], irbRequired: false, approvers: ["QA Manager"] }
664
+ ],
665
+ relatedSOPs: ["SOP-1200-01-AI", "SOP-1220-01-AI", "SOP-1301-01-AI"],
666
+ tags: ["quality", "testing", "qa", "defects", "validation"],
667
+ irbTypicallyRequired: true,
668
+ applicableTo: ["all"]
669
+ },
670
+ {
671
+ id: "SOP-1220-01-AI",
672
+ number: 1220,
673
+ title: "Deployment",
674
+ description: "AI system deployment procedures and production release.",
675
+ category: SOPCategory.DEVELOPMENT,
676
+ priority: SOPPriority.CRITICAL,
677
+ version: "1.0",
678
+ sourceUrl: `${SOP_SOURCE_BASE_URL}/SOP-1220-01-AI_Deployment.md`,
679
+ scope: "All AI system deployments to production.",
680
+ requirements: [
681
+ { id: "REQ-1220-01", description: "Complete deployment checklist", mandatory: true, verification: "document", evidence: ["Deployment Checklist"] },
682
+ { id: "REQ-1220-02", description: "Obtain production sign-off", mandatory: true, verification: "document", evidence: ["Sign-off Record"] },
683
+ { id: "REQ-1220-03", description: "Execute deployment with rollback capability", mandatory: true, verification: "automated", evidence: ["Deployment Log"] },
684
+ { id: "REQ-1220-04", description: "Verify post-deployment health", mandatory: true, verification: "automated", evidence: ["Health Check Results"] }
685
+ ],
686
+ checkpoints: [
687
+ { id: "CP-1220-01", name: "Deployment Approval", trigger: "phase-start", phase: "deployment", requirements: ["REQ-1220-01", "REQ-1220-02"], irbRequired: true, approvers: ["Release Manager", "AI-IRB Liaison"] },
688
+ { id: "CP-1220-02", name: "Production Verification", trigger: "phase-end", phase: "deployment", requirements: ["REQ-1220-04"], irbRequired: false, approvers: ["Operations Lead"] }
689
+ ],
690
+ relatedSOPs: ["SOP-1005-01-AI", "SOP-1210-01-AI", "SOP-1013-01-AI"],
691
+ tags: ["deployment", "release", "production", "rollback"],
692
+ irbTypicallyRequired: true,
693
+ applicableTo: ["all"]
694
+ },
695
+ // ============================================
696
+ // GOVERNANCE & SPECIALIZED CONTROLS (1300-2000)
697
+ // ============================================
698
+ {
699
+ id: "SOP-1300-01-AI",
700
+ number: 1300,
701
+ title: "AI-IRB Governance and Oversight",
702
+ description: "Establishes AI-IRB governance structure and oversight responsibilities.",
703
+ category: SOPCategory.GOVERNANCE,
704
+ priority: SOPPriority.CRITICAL,
705
+ version: "1.0",
706
+ sourceUrl: `${SOP_SOURCE_BASE_URL}/SOP-1300-01-AI_AI-IRB-Governance-and-Oversight.md`,
707
+ scope: "AI-IRB committee structure and oversight processes.",
708
+ requirements: [
709
+ { id: "REQ-1300-01", description: "Establish AI-IRB committee", mandatory: true, verification: "document", evidence: ["Committee Charter"] },
710
+ { id: "REQ-1300-02", description: "Define IRB review criteria", mandatory: true, verification: "document", evidence: ["Review Criteria"] },
711
+ { id: "REQ-1300-03", description: "Conduct regular IRB meetings", mandatory: true, verification: "document", evidence: ["Meeting Minutes"] }
712
+ ],
713
+ checkpoints: [],
714
+ relatedSOPs: ["SOP-1006-01-AI", "SOP-1052-01-AI"],
715
+ tags: ["irb", "governance", "oversight", "committee", "ethics"],
716
+ irbTypicallyRequired: true,
717
+ applicableTo: ["all"]
718
+ },
719
+ {
720
+ id: "SOP-1301-01-AI",
721
+ number: 1301,
722
+ title: "AI Bias and Fairness Evaluation",
723
+ description: "Evaluates and mitigates bias in AI systems.",
724
+ category: SOPCategory.GOVERNANCE,
725
+ priority: SOPPriority.CRITICAL,
726
+ version: "1.0",
727
+ sourceUrl: `${SOP_SOURCE_BASE_URL}/SOP-1301-01-AI_AI-Bias-and-Fairness-Evaluation.md`,
728
+ scope: "All AI systems making decisions affecting individuals.",
729
+ requirements: [
730
+ { id: "REQ-1301-01", description: "Identify protected attributes", mandatory: true, verification: "document", evidence: ["Attribute Analysis"] },
731
+ { id: "REQ-1301-02", description: "Define fairness metrics", mandatory: true, verification: "document", evidence: ["Metrics Definition"] },
732
+ { id: "REQ-1301-03", description: "Execute bias testing", mandatory: true, verification: "test", evidence: ["Bias Test Results"] },
733
+ { id: "REQ-1301-04", description: "Implement bias mitigation", mandatory: true, verification: "document", evidence: ["Mitigation Evidence"] },
734
+ { id: "REQ-1301-05", description: "Monitor for bias post-deployment", mandatory: true, verification: "automated", evidence: ["Monitoring Dashboard"] }
735
+ ],
736
+ checkpoints: [
737
+ { id: "CP-1301-01", name: "Bias Plan Approval", trigger: "phase-start", phase: "validation", requirements: ["REQ-1301-01", "REQ-1301-02"], irbRequired: true, approvers: ["AI-IRB Committee"] },
738
+ { id: "CP-1301-02", name: "Bias Evaluation", trigger: "phase-end", phase: "validation", requirements: ["REQ-1301-03", "REQ-1301-04"], irbRequired: true, approvers: ["AI-IRB Committee"] }
739
+ ],
740
+ relatedSOPs: ["SOP-1006-01-AI", "SOP-1053-01-AI", "SOP-1210-01-AI"],
741
+ tags: ["bias", "fairness", "ethics", "discrimination", "evaluation"],
742
+ irbTypicallyRequired: true,
743
+ applicableTo: ["decision-systems", "ml"]
744
+ },
745
+ {
746
+ id: "SOP-1302-01-AI",
747
+ number: 1302,
748
+ title: "AI Explainability and Model Transparency",
749
+ description: "Ensures AI models meet transparency and explainability requirements.",
750
+ category: SOPCategory.GOVERNANCE,
751
+ priority: SOPPriority.HIGH,
752
+ version: "1.0",
753
+ sourceUrl: `${SOP_SOURCE_BASE_URL}/SOP-1302-01-AI_AI-Explainability-and-Model-Transparency.md`,
754
+ scope: "AI models requiring explanation capabilities.",
755
+ requirements: [
756
+ { id: "REQ-1302-01", description: "Define explainability requirements", mandatory: true, verification: "document", evidence: ["Requirements Document"] },
757
+ { id: "REQ-1302-02", description: "Implement explanation mechanisms", mandatory: true, verification: "test", evidence: ["Implementation Evidence"] },
758
+ { id: "REQ-1302-03", description: "Document model decision factors", mandatory: true, verification: "document", evidence: ["Factor Documentation"] }
759
+ ],
760
+ checkpoints: [],
761
+ relatedSOPs: ["SOP-1012-01-AI", "SOP-1301-01-AI"],
762
+ tags: ["explainability", "transparency", "xai", "interpretability"],
763
+ irbTypicallyRequired: true,
764
+ applicableTo: ["decision-systems", "regulated"]
765
+ },
766
+ {
767
+ id: "SOP-1303-01-AI",
768
+ number: 1303,
769
+ title: "AI Data Protection and Privacy",
770
+ description: "Protects data privacy in AI systems.",
771
+ category: SOPCategory.GOVERNANCE,
772
+ priority: SOPPriority.CRITICAL,
773
+ version: "1.0",
774
+ sourceUrl: `${SOP_SOURCE_BASE_URL}/SOP-1303-01-AI_AI-Data-Protection-and-Privacy.md`,
775
+ scope: "AI systems processing personal or sensitive data.",
776
+ requirements: [
777
+ { id: "REQ-1303-01", description: "Conduct data protection impact assessment", mandatory: true, verification: "document", evidence: ["DPIA Report"] },
778
+ { id: "REQ-1303-02", description: "Implement data minimization", mandatory: true, verification: "review", evidence: ["Data Inventory"] },
779
+ { id: "REQ-1303-03", description: "Establish data retention limits", mandatory: true, verification: "document", evidence: ["Retention Policy"] },
780
+ { id: "REQ-1303-04", description: "Implement privacy controls", mandatory: true, verification: "automated", evidence: ["Privacy Controls"] }
781
+ ],
782
+ checkpoints: [],
783
+ relatedSOPs: ["SOP-1050-01-AI", "SOP-1014-01-AI"],
784
+ tags: ["privacy", "data-protection", "gdpr", "pii", "security"],
785
+ irbTypicallyRequired: true,
786
+ applicableTo: ["pii", "sensitive-data"]
787
+ },
788
+ {
789
+ id: "SOP-1304-01-AI",
790
+ number: 1304,
791
+ title: "AI Validation and Monitoring",
792
+ description: "Validates and monitors AI system performance.",
793
+ category: SOPCategory.GOVERNANCE,
794
+ priority: SOPPriority.CRITICAL,
795
+ version: "1.0",
796
+ sourceUrl: `${SOP_SOURCE_BASE_URL}/SOP-1304-01-AI_AI-Validation-and-Monitoring.md`,
797
+ scope: "All AI systems requiring validation.",
798
+ requirements: [
799
+ { id: "REQ-1304-01", description: "Define validation criteria", mandatory: true, verification: "document", evidence: ["Validation Criteria"] },
800
+ { id: "REQ-1304-02", description: "Execute validation testing", mandatory: true, verification: "test", evidence: ["Validation Results"] },
801
+ { id: "REQ-1304-03", description: "Implement continuous monitoring", mandatory: true, verification: "automated", evidence: ["Monitoring System"] },
802
+ { id: "REQ-1304-04", description: "Define drift detection thresholds", mandatory: true, verification: "document", evidence: ["Drift Thresholds"] }
803
+ ],
804
+ checkpoints: [
805
+ { id: "CP-1304-01", name: "Validation Approval", trigger: "phase-end", phase: "validation", requirements: ["REQ-1304-01", "REQ-1304-02"], irbRequired: true, approvers: ["QA Manager", "AI-IRB Liaison"] }
806
+ ],
807
+ relatedSOPs: ["SOP-1009-01-AI", "SOP-1013-01-AI", "SOP-1210-01-AI"],
808
+ tags: ["validation", "monitoring", "performance", "drift"],
809
+ irbTypicallyRequired: true,
810
+ applicableTo: ["ml", "production"]
811
+ },
812
+ {
813
+ id: "SOP-1305-01-AI",
814
+ number: 1305,
815
+ title: "AI Ethical Risk and Impact Assessment",
816
+ description: "Assesses ethical risks and impacts of AI systems.",
817
+ category: SOPCategory.GOVERNANCE,
818
+ priority: SOPPriority.CRITICAL,
819
+ version: "1.0",
820
+ sourceUrl: `${SOP_SOURCE_BASE_URL}/SOP-1305-01-AI_AI-Ethical-Risk-and-Impact-Assessment.md`,
821
+ scope: "All AI systems with potential ethical implications.",
822
+ requirements: [
823
+ { id: "REQ-1305-01", description: "Conduct ethical impact assessment", mandatory: true, verification: "document", evidence: ["Impact Assessment"] },
824
+ { id: "REQ-1305-02", description: "Identify stakeholder impacts", mandatory: true, verification: "document", evidence: ["Stakeholder Analysis"] },
825
+ { id: "REQ-1305-03", description: "Develop ethical risk register", mandatory: true, verification: "document", evidence: ["Risk Register"] }
826
+ ],
827
+ checkpoints: [],
828
+ relatedSOPs: ["SOP-1006-01-AI", "SOP-1053-01-AI", "SOP-1014-01-AI"],
829
+ tags: ["ethics", "risk", "impact", "assessment", "stakeholders"],
830
+ irbTypicallyRequired: true,
831
+ applicableTo: ["all"]
832
+ },
833
+ {
834
+ id: "SOP-1306-01-AI",
835
+ number: 1306,
836
+ title: "AI End-of-Life and Sunset Process",
837
+ description: "Procedures for AI system end-of-life and sunset.",
838
+ category: SOPCategory.GOVERNANCE,
839
+ priority: SOPPriority.MEDIUM,
840
+ version: "1.0",
841
+ sourceUrl: `${SOP_SOURCE_BASE_URL}/SOP-1306-01-AI_AI-End-of-Life-and-Sunset-Process.md`,
842
+ scope: "AI systems being retired.",
843
+ requirements: [
844
+ { id: "REQ-1306-01", description: "Create sunset plan", mandatory: true, verification: "document", evidence: ["Sunset Plan"] },
845
+ { id: "REQ-1306-02", description: "Notify stakeholders", mandatory: true, verification: "document", evidence: ["Notification Records"] },
846
+ { id: "REQ-1306-03", description: "Archive system artifacts", mandatory: true, verification: "document", evidence: ["Archive Records"] },
847
+ { id: "REQ-1306-04", description: "Complete data disposition", mandatory: true, verification: "document", evidence: ["Disposition Records"] }
848
+ ],
849
+ checkpoints: [],
850
+ relatedSOPs: ["SOP-1011-01-AI", "SOP-1020-01-AI"],
851
+ tags: ["sunset", "end-of-life", "retirement", "archive"],
852
+ irbTypicallyRequired: false,
853
+ applicableTo: ["all"]
854
+ },
855
+ // ============================================
856
+ // QUALITY RECORDS (2000+)
857
+ // ============================================
858
+ {
859
+ id: "SOP-2002-01-AI",
860
+ number: 2002,
861
+ title: "Control of Quality Records",
862
+ description: "Controls quality records throughout their lifecycle.",
863
+ category: SOPCategory.QUALITY,
864
+ priority: SOPPriority.MEDIUM,
865
+ version: "1.0",
866
+ sourceUrl: `${SOP_SOURCE_BASE_URL}/SOP-2002-01-AI_Control-of-Quality-Records.md`,
867
+ scope: "All quality records in AI-SDLC projects.",
868
+ requirements: [
869
+ { id: "REQ-2002-01", description: "Define quality record types", mandatory: true, verification: "document", evidence: ["Record Types"] },
870
+ { id: "REQ-2002-02", description: "Establish record retention", mandatory: true, verification: "document", evidence: ["Retention Schedule"] },
871
+ { id: "REQ-2002-03", description: "Implement record security", mandatory: true, verification: "automated", evidence: ["Security Controls"] }
872
+ ],
873
+ checkpoints: [],
874
+ relatedSOPs: ["SOP-1001-01-AI", "SOP-1210-01-AI"],
875
+ tags: ["quality", "records", "retention", "documentation"],
876
+ irbTypicallyRequired: false,
877
+ applicableTo: ["all"]
878
+ }
879
+ ];
880
+ function getSOPById(id) {
881
+ return SOP_REGISTRY.find((sop) => sop.id === id);
882
+ }
883
+ function getSOPsByCategory(category) {
884
+ return SOP_REGISTRY.filter((sop) => sop.category === category);
885
+ }
886
+ function getSOPsRequiringIRB() {
887
+ return SOP_REGISTRY.filter((sop) => sop.irbTypicallyRequired);
888
+ }
889
+ function searchSOPs(keyword) {
890
+ const lower = keyword.toLowerCase();
891
+ return SOP_REGISTRY.filter(
892
+ (sop) => sop.title.toLowerCase().includes(lower) || sop.description.toLowerCase().includes(lower) || sop.tags.some((tag) => tag.includes(lower))
893
+ );
894
+ }
895
+ function getAllSOPs() {
896
+ return [...SOP_REGISTRY];
897
+ }
898
+ function getSopCount() {
899
+ return SOP_REGISTRY.length;
900
+ }
901
+ function getCategories() {
902
+ const categories = /* @__PURE__ */ new Set();
903
+ for (const sop of SOP_REGISTRY) {
904
+ categories.add(sop.category);
905
+ }
906
+ return Array.from(categories);
907
+ }
908
+ export {
909
+ SOP_REGISTRY,
910
+ SOP_SOURCE_BASE_URL,
911
+ getAllSOPs,
912
+ getCategories,
913
+ getSOPById,
914
+ getSOPsByCategory,
915
+ getSOPsRequiringIRB,
916
+ getSopCount,
917
+ searchSOPs
918
+ };
919
+ //# sourceMappingURL=registry.js.map