claude-flow-novice 2.18.12 → 2.18.14

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 (332) hide show
  1. package/.backups/unknown/1765417503_2999b9ec66f591dd76075617ec31fcea/metadata.json +8 -0
  2. package/.backups/unknown/1765417503_2999b9ec66f591dd76075617ec31fcea/original +3 -0
  3. package/.backups/unknown/1765417503_2999b9ec66f591dd76075617ec31fcea/revert.sh +7 -0
  4. package/.backups/unknown/1765417531_2999b9ec66f591dd76075617ec31fcea/metadata.json +8 -0
  5. package/.backups/unknown/1765417531_2999b9ec66f591dd76075617ec31fcea/original +3 -0
  6. package/.backups/unknown/1765417531_2999b9ec66f591dd76075617ec31fcea/revert.sh +7 -0
  7. package/.backups/unknown/1765417552_2999b9ec66f591dd76075617ec31fcea/metadata.json +8 -0
  8. package/.backups/unknown/1765417552_2999b9ec66f591dd76075617ec31fcea/original +3 -0
  9. package/.backups/unknown/1765417552_2999b9ec66f591dd76075617ec31fcea/revert.sh +7 -0
  10. package/.backups/unknown/1765417613_1f34dbf0fe1ec3b6cb74ba7c4e12a2a4/metadata.json +8 -0
  11. package/.backups/unknown/1765417613_1f34dbf0fe1ec3b6cb74ba7c4e12a2a4/original +1212 -0
  12. package/.backups/unknown/1765417613_1f34dbf0fe1ec3b6cb74ba7c4e12a2a4/revert.sh +7 -0
  13. package/.backups/unknown/1765417613_332e9bb223a26270398922640c1c1653/metadata.json +8 -0
  14. package/.backups/unknown/1765417613_332e9bb223a26270398922640c1c1653/original +1212 -0
  15. package/.backups/unknown/1765417613_332e9bb223a26270398922640c1c1653/revert.sh +7 -0
  16. package/.backups/unknown/1765417613_45880a7afef063347b701e7e88e2df9c/metadata.json +8 -0
  17. package/.backups/unknown/1765417613_45880a7afef063347b701e7e88e2df9c/original +1212 -0
  18. package/.backups/unknown/1765417613_45880a7afef063347b701e7e88e2df9c/revert.sh +7 -0
  19. package/.backups/unknown/1765417614_1b6c3b658c2891dbe245aea4bad41661/metadata.json +8 -0
  20. package/.backups/unknown/1765417614_1b6c3b658c2891dbe245aea4bad41661/original +1228 -0
  21. package/.backups/unknown/1765417614_1b6c3b658c2891dbe245aea4bad41661/revert.sh +7 -0
  22. package/.backups/unknown/1765417614_1ed5bd129f0b5d1b297a04ec5267ef62/metadata.json +8 -0
  23. package/.backups/unknown/1765417614_1ed5bd129f0b5d1b297a04ec5267ef62/original +1237 -0
  24. package/.backups/unknown/1765417614_1ed5bd129f0b5d1b297a04ec5267ef62/revert.sh +7 -0
  25. package/.backups/unknown/1765417614_28e032bd1b62dbfcecbd56327a0b0e23/metadata.json +8 -0
  26. package/.backups/unknown/1765417614_28e032bd1b62dbfcecbd56327a0b0e23/original +1240 -0
  27. package/.backups/unknown/1765417614_28e032bd1b62dbfcecbd56327a0b0e23/revert.sh +7 -0
  28. package/.backups/unknown/1765417614_40a1ce1b0efa2e1ba1958c27b2cbc557/metadata.json +8 -0
  29. package/.backups/unknown/1765417614_40a1ce1b0efa2e1ba1958c27b2cbc557/original +1216 -0
  30. package/.backups/unknown/1765417614_40a1ce1b0efa2e1ba1958c27b2cbc557/revert.sh +7 -0
  31. package/.backups/unknown/1765417614_f65dbf58cff7a9aa1c5c3d0d1618074a/metadata.json +8 -0
  32. package/.backups/unknown/1765417614_f65dbf58cff7a9aa1c5c3d0d1618074a/original +1238 -0
  33. package/.backups/unknown/1765417614_f65dbf58cff7a9aa1c5c3d0d1618074a/revert.sh +7 -0
  34. package/.backups/unknown/1765417615_0f45c28b9b8d5204974421c06075ff74/metadata.json +8 -0
  35. package/.backups/unknown/1765417615_0f45c28b9b8d5204974421c06075ff74/original +1167 -0
  36. package/.backups/unknown/1765417615_0f45c28b9b8d5204974421c06075ff74/revert.sh +7 -0
  37. package/.backups/unknown/1765417615_41d36156891ddb6f63d1b4da59d1db4c/metadata.json +8 -0
  38. package/.backups/unknown/1765417615_41d36156891ddb6f63d1b4da59d1db4c/original +1242 -0
  39. package/.backups/unknown/1765417615_41d36156891ddb6f63d1b4da59d1db4c/revert.sh +7 -0
  40. package/.backups/unknown/1765417709_77dda8631459cfc2ab94b8928f7d90b4/metadata.json +8 -0
  41. package/.backups/unknown/1765417709_77dda8631459cfc2ab94b8928f7d90b4/original +2 -0
  42. package/.backups/unknown/1765417709_77dda8631459cfc2ab94b8928f7d90b4/revert.sh +7 -0
  43. package/.backups/unknown/1765417775_1405837bacf112ba832a139840fe94e7/metadata.json +8 -0
  44. package/.backups/unknown/1765417775_1405837bacf112ba832a139840fe94e7/original +1169 -0
  45. package/.backups/unknown/1765417775_1405837bacf112ba832a139840fe94e7/revert.sh +7 -0
  46. package/.backups/unknown/1765417775_8044b4a5cfdcb5cd71317831ad53f5a2/metadata.json +8 -0
  47. package/.backups/unknown/1765417775_8044b4a5cfdcb5cd71317831ad53f5a2/original +1171 -0
  48. package/.backups/unknown/1765417775_8044b4a5cfdcb5cd71317831ad53f5a2/revert.sh +7 -0
  49. package/.backups/unknown/1765417775_8eb94d60151e1db262377fbf8a187212/metadata.json +8 -0
  50. package/.backups/unknown/1765417775_8eb94d60151e1db262377fbf8a187212/original +1170 -0
  51. package/.backups/unknown/1765417775_8eb94d60151e1db262377fbf8a187212/revert.sh +7 -0
  52. package/.backups/unknown/1765417776_a0d4b709e15e0bfa002c4b128f5e4603/metadata.json +8 -0
  53. package/.backups/unknown/1765417776_a0d4b709e15e0bfa002c4b128f5e4603/original +1173 -0
  54. package/.backups/unknown/1765417776_a0d4b709e15e0bfa002c4b128f5e4603/revert.sh +7 -0
  55. package/.backups/unknown/1765417776_cb1bc24d98b63564eb73ef782b8c68b3/metadata.json +8 -0
  56. package/.backups/unknown/1765417776_cb1bc24d98b63564eb73ef782b8c68b3/original +1170 -0
  57. package/.backups/unknown/1765417776_cb1bc24d98b63564eb73ef782b8c68b3/revert.sh +7 -0
  58. package/.backups/unknown/1765417777_1c4cc8c33f476f0c87c8efd4e34efc22/metadata.json +8 -0
  59. package/.backups/unknown/1765417777_1c4cc8c33f476f0c87c8efd4e34efc22/original +1172 -0
  60. package/.backups/unknown/1765417777_1c4cc8c33f476f0c87c8efd4e34efc22/revert.sh +7 -0
  61. package/.backups/unknown/1765417777_325de83ffd34544909b8b9aa6e18dd05/metadata.json +8 -0
  62. package/.backups/unknown/1765417777_325de83ffd34544909b8b9aa6e18dd05/original +1175 -0
  63. package/.backups/unknown/1765417777_325de83ffd34544909b8b9aa6e18dd05/revert.sh +7 -0
  64. package/.backups/unknown/1765417950_402e7c1a8956b56ac7b88e89f024acb4/metadata.json +8 -0
  65. package/.backups/unknown/1765417950_402e7c1a8956b56ac7b88e89f024acb4/original +1178 -0
  66. package/.backups/unknown/1765417950_402e7c1a8956b56ac7b88e89f024acb4/revert.sh +7 -0
  67. package/.backups/unknown/1765417950_647e27e4da18ae42c339e04b4d334feb/metadata.json +8 -0
  68. package/.backups/unknown/1765417950_647e27e4da18ae42c339e04b4d334feb/original +1174 -0
  69. package/.backups/unknown/1765417950_647e27e4da18ae42c339e04b4d334feb/revert.sh +7 -0
  70. package/.backups/unknown/1765417951_1424d2dd67b8c8a4e7cf649b379d21f2/metadata.json +8 -0
  71. package/.backups/unknown/1765417951_1424d2dd67b8c8a4e7cf649b379d21f2/original +1194 -0
  72. package/.backups/unknown/1765417951_1424d2dd67b8c8a4e7cf649b379d21f2/revert.sh +7 -0
  73. package/.backups/unknown/1765417951_6df070ca287ea94a7f08efc69ec9ea51/metadata.json +8 -0
  74. package/.backups/unknown/1765417951_6df070ca287ea94a7f08efc69ec9ea51/original +1186 -0
  75. package/.backups/unknown/1765417951_6df070ca287ea94a7f08efc69ec9ea51/revert.sh +7 -0
  76. package/.backups/unknown/1765417951_848919a1365f6536e5ef8d85d0c80fa7/metadata.json +8 -0
  77. package/.backups/unknown/1765417951_848919a1365f6536e5ef8d85d0c80fa7/original +1180 -0
  78. package/.backups/unknown/1765417951_848919a1365f6536e5ef8d85d0c80fa7/revert.sh +7 -0
  79. package/.backups/unknown/1765417951_b0d1d4ecf85ad10cda0f3900d414b608/metadata.json +8 -0
  80. package/.backups/unknown/1765417951_b0d1d4ecf85ad10cda0f3900d414b608/original +1198 -0
  81. package/.backups/unknown/1765417951_b0d1d4ecf85ad10cda0f3900d414b608/revert.sh +7 -0
  82. package/.backups/unknown/1765417952_2b720e213b5197cbaad53f9f0857f23f/metadata.json +8 -0
  83. package/.backups/unknown/1765417952_2b720e213b5197cbaad53f9f0857f23f/original +1202 -0
  84. package/.backups/unknown/1765417952_2b720e213b5197cbaad53f9f0857f23f/revert.sh +7 -0
  85. package/.backups/unknown/1765417952_ef1d15e8b83a802a0c0f0fc03e56a89c/metadata.json +8 -0
  86. package/.backups/unknown/1765417952_ef1d15e8b83a802a0c0f0fc03e56a89c/original +1202 -0
  87. package/.backups/unknown/1765417952_ef1d15e8b83a802a0c0f0fc03e56a89c/revert.sh +7 -0
  88. package/.backups/unknown/1765418048_ac94238a69a6f86a6ba9d31f623c18a7/metadata.json +8 -0
  89. package/.backups/unknown/1765418048_ac94238a69a6f86a6ba9d31f623c18a7/original +1209 -0
  90. package/.backups/unknown/1765418048_ac94238a69a6f86a6ba9d31f623c18a7/revert.sh +7 -0
  91. package/.backups/unknown/1765418048_f3afed98da63fef9ff57fb5646976f63/metadata.json +8 -0
  92. package/.backups/unknown/1765418048_f3afed98da63fef9ff57fb5646976f63/original +1207 -0
  93. package/.backups/unknown/1765418048_f3afed98da63fef9ff57fb5646976f63/revert.sh +7 -0
  94. package/.backups/unknown/1765418049_9c392702a4e1cace37d17f6f2dfaf54e/metadata.json +8 -0
  95. package/.backups/unknown/1765418049_9c392702a4e1cace37d17f6f2dfaf54e/original +1207 -0
  96. package/.backups/unknown/1765418049_9c392702a4e1cace37d17f6f2dfaf54e/revert.sh +7 -0
  97. package/.backups/unknown/1765418049_9e0777555b51dea4d24d0503b584cfc5/metadata.json +8 -0
  98. package/.backups/unknown/1765418049_9e0777555b51dea4d24d0503b584cfc5/original +1193 -0
  99. package/.backups/unknown/1765418049_9e0777555b51dea4d24d0503b584cfc5/revert.sh +7 -0
  100. package/.backups/unknown/1765418050_22d534bed68f9f5d883bee54e7cbc4d3/metadata.json +8 -0
  101. package/.backups/unknown/1765418050_22d534bed68f9f5d883bee54e7cbc4d3/original +1194 -0
  102. package/.backups/unknown/1765418050_22d534bed68f9f5d883bee54e7cbc4d3/revert.sh +7 -0
  103. package/.backups/unknown/1765418051_d9243722dc90dabc851c5767a62ac7f2/metadata.json +8 -0
  104. package/.backups/unknown/1765418051_d9243722dc90dabc851c5767a62ac7f2/original +1193 -0
  105. package/.backups/unknown/1765418051_d9243722dc90dabc851c5767a62ac7f2/revert.sh +7 -0
  106. package/.backups/unknown/1765418177_21a2fa816d25d419b54ef2d429aab474/metadata.json +8 -0
  107. package/.backups/unknown/1765418177_21a2fa816d25d419b54ef2d429aab474/original +1191 -0
  108. package/.backups/unknown/1765418177_21a2fa816d25d419b54ef2d429aab474/revert.sh +7 -0
  109. package/.backups/unknown/1765418177_33b673dce1eb59d7eb4f752aec882794/metadata.json +8 -0
  110. package/.backups/unknown/1765418177_33b673dce1eb59d7eb4f752aec882794/original +1190 -0
  111. package/.backups/unknown/1765418177_33b673dce1eb59d7eb4f752aec882794/revert.sh +7 -0
  112. package/.backups/unknown/1765418177_72568812ea5a73cf6861a6b14da065fa/metadata.json +8 -0
  113. package/.backups/unknown/1765418177_72568812ea5a73cf6861a6b14da065fa/original +1191 -0
  114. package/.backups/unknown/1765418177_72568812ea5a73cf6861a6b14da065fa/revert.sh +7 -0
  115. package/.backups/unknown/1765418178_20c28b95f12194fe4b81cfb35f4f3757/metadata.json +8 -0
  116. package/.backups/unknown/1765418178_20c28b95f12194fe4b81cfb35f4f3757/original +1189 -0
  117. package/.backups/unknown/1765418178_20c28b95f12194fe4b81cfb35f4f3757/revert.sh +7 -0
  118. package/.backups/unknown/1765418178_cdf68719cc09173769027743e2718ad4/metadata.json +8 -0
  119. package/.backups/unknown/1765418178_cdf68719cc09173769027743e2718ad4/original +1197 -0
  120. package/.backups/unknown/1765418178_cdf68719cc09173769027743e2718ad4/revert.sh +7 -0
  121. package/.backups/unknown/1765418178_eb19e0f8542405480e51af09fad84b71/metadata.json +8 -0
  122. package/.backups/unknown/1765418178_eb19e0f8542405480e51af09fad84b71/original +1190 -0
  123. package/.backups/unknown/1765418178_eb19e0f8542405480e51af09fad84b71/revert.sh +7 -0
  124. package/.backups/unknown/1765418236_c016507725847318a3c369b047cbb802/metadata.json +8 -0
  125. package/.backups/unknown/1765418236_c016507725847318a3c369b047cbb802/original +1197 -0
  126. package/.backups/unknown/1765418236_c016507725847318a3c369b047cbb802/revert.sh +7 -0
  127. package/.backups/unknown/1765418237_932c3cc3a5c537b7933c2370b65f4b39/metadata.json +8 -0
  128. package/.backups/unknown/1765418237_932c3cc3a5c537b7933c2370b65f4b39/original +1197 -0
  129. package/.backups/unknown/1765418237_932c3cc3a5c537b7933c2370b65f4b39/revert.sh +7 -0
  130. package/.claude/agents/cfn-dev-team/utility/epic-creator-v2.md +194 -2
  131. package/.claude/agents/cfn-dev-team/utility/epic-creator-v2.sh +264 -0
  132. package/.claude/agents/cfn-dev-team/utility/epic-creator-v2.sh.backup +698 -0
  133. package/.claude/agents/custom/claude-code-expert.md +56 -0
  134. package/.claude/{skills → cfn-extras/skills/deprecated}/cfn-docker-runtime/SKILL.md +1 -1
  135. package/.claude/hooks/README.md +148 -0
  136. package/.claude/hooks/SessionStart:cfn-load-openai-key.sh +35 -0
  137. package/.claude/hooks/cfn-invoke-pre-edit.sh +1 -1
  138. package/.claude/hooks/cfn-load-cerebras-env.sh +65 -0
  139. package/.claude/hooks/cfn-precompact-enhanced.sh +283 -0
  140. package/.claude/hooks/deprecated/README.md +27 -0
  141. package/.claude/settings.json +71 -6
  142. package/.claude/skills/cfn-agent-lifecycle/SKILL.md +1 -1
  143. package/.claude/skills/cfn-agent-tooling/SKILL.md +1 -1
  144. package/.claude/skills/cfn-cerebras-coordinator/QUICKSTART.md +348 -0
  145. package/.claude/skills/cfn-cerebras-coordinator/README.md +525 -0
  146. package/.claude/skills/cfn-cerebras-coordinator/TDD_COORDINATOR_OVERVIEW.md +284 -0
  147. package/.claude/skills/cfn-cerebras-coordinator/conversations/2025-12-10-py-v2-test-1733854200.json +36 -0
  148. package/.claude/skills/cfn-cerebras-coordinator/conversations/2025-12-10-py-v3-test-1765383241.json +36 -0
  149. package/.claude/skills/cfn-cerebras-coordinator/conversations/2025-12-10-rust-v2-test-1765381361.json +36 -0
  150. package/.claude/skills/cfn-cerebras-coordinator/conversations/2025-12-10-rust-v3-test-1765383242.json +46 -0
  151. package/.claude/skills/cfn-cerebras-coordinator/conversations/2025-12-10-ts-v2-test-1733864400.json +66 -0
  152. package/.claude/skills/cfn-cerebras-coordinator/conversations/2025-12-10-ts-v3-test-1765383238.json +66 -0
  153. package/.claude/skills/cfn-cerebras-coordinator/conversations/2025-12-10-ts-v4-test-1765386506.json +66 -0
  154. package/.claude/skills/cfn-cerebras-coordinator/conversations/2025-12-10-ts-v5-test-1765393100.json +66 -0
  155. package/.claude/skills/cfn-cerebras-coordinator/example-usage.sh +206 -0
  156. package/.claude/skills/cfn-cerebras-coordinator/lib/tdd-conversation-coordinator.ts +569 -0
  157. package/.claude/skills/cfn-cerebras-coordinator/test-tdd-coordinator.sh +250 -0
  158. package/.claude/skills/cfn-compilation-error-fixer/SKILL.md +1 -1
  159. package/.claude/skills/cfn-compilation-error-fixer/lib/fixer/cerebras-gated-fixer-v2.ts +1 -1
  160. package/.claude/skills/cfn-config/SKILL.md +1 -1
  161. package/.claude/skills/cfn-dependency-management/SKILL.md +1 -1
  162. package/.claude/skills/cfn-deployment-lifecycle/SKILL.md +1 -1
  163. package/.claude/skills/cfn-edit-safety/SKILL.md +1 -1
  164. package/.claude/skills/cfn-epic-creator/SKILL.md +392 -0
  165. package/.claude/skills/cfn-epic-creator/estimate-costs.sh +524 -0
  166. package/.claude/skills/cfn-epic-creator/invoke.sh +445 -0
  167. package/.claude/skills/cfn-epic-creator/parse-personas.sh +533 -0
  168. package/.claude/skills/cfn-epic-creator/security-utils.sh +268 -0
  169. package/.claude/skills/cfn-epic-creator/security-verification-demo.sh +127 -0
  170. package/.claude/skills/cfn-epic-creator/test-invoke.sh +620 -0
  171. package/.claude/skills/cfn-epic-creator/test-security-fixes.sh +195 -0
  172. package/.claude/skills/cfn-epic-creator/test-security-simple.sh +165 -0
  173. package/.claude/skills/cfn-epic-creator/validate-epic.sh +474 -0
  174. package/.claude/skills/cfn-epic-parser/SKILL.md +8 -0
  175. package/.claude/skills/cfn-error-management/SKILL.md +1 -1
  176. package/.claude/skills/cfn-intervention-system/SKILL.md +1 -1
  177. package/.claude/skills/cfn-knowledge-base/SKILL.md +1 -1
  178. package/.claude/skills/cfn-local-ruvector-accelerator/.backups/unknown/1765358428_2cf0ad7377232c919ff0a65630cb307d/metadata.json +8 -0
  179. package/.claude/skills/cfn-local-ruvector-accelerator/.backups/unknown/1765358428_2cf0ad7377232c919ff0a65630cb307d/original +209 -0
  180. package/.claude/skills/cfn-local-ruvector-accelerator/.backups/unknown/1765358428_2cf0ad7377232c919ff0a65630cb307d/revert.sh +7 -0
  181. package/.claude/skills/cfn-local-ruvector-accelerator/AGENT_INTEGRATION_PATTERNS.md +255 -0
  182. package/.claude/skills/cfn-local-ruvector-accelerator/Cargo.toml +8 -1
  183. package/.claude/skills/cfn-local-ruvector-accelerator/Cargo.toml.backup +47 -0
  184. package/.claude/skills/cfn-local-ruvector-accelerator/EXTRACTION_EXAMPLES.md +287 -0
  185. package/.claude/skills/cfn-local-ruvector-accelerator/README.md +2 -563
  186. package/.claude/skills/cfn-local-ruvector-accelerator/SCHEMA_V2_IMPLEMENTATION.md +151 -0
  187. package/.claude/skills/cfn-local-ruvector-accelerator/SECURITY_IMPLEMENTATION.md +185 -0
  188. package/.claude/skills/cfn-local-ruvector-accelerator/SKILL.md +8 -343
  189. package/.claude/skills/cfn-local-ruvector-accelerator/docs/EXECUTIVE_SUMMARY.txt +90 -0
  190. package/.claude/skills/cfn-local-ruvector-accelerator/docs/PHASE_4_QUERY_API.md +210 -0
  191. package/.claude/skills/cfn-local-ruvector-accelerator/docs/RUST_AST_EXTRACTOR_IMPLEMENTATION.md +222 -0
  192. package/.claude/skills/cfn-local-ruvector-accelerator/docs/TRANSACTION_MANAGEMENT.md +241 -0
  193. package/.claude/skills/cfn-local-ruvector-accelerator/docs/VALIDATION_FINDINGS.txt +250 -0
  194. package/.claude/skills/cfn-local-ruvector-accelerator/epic-ast-indexer.json +335 -0
  195. package/.claude/skills/cfn-local-ruvector-accelerator/index-code.sh +292 -96
  196. package/.claude/skills/cfn-local-ruvector-accelerator/index-code.sh.backup +249 -0
  197. package/.claude/skills/cfn-local-ruvector-accelerator/index_all.sh +65 -0
  198. package/.claude/skills/cfn-local-ruvector-accelerator/src/cli/find.rs +214 -0
  199. package/.claude/skills/cfn-local-ruvector-accelerator/src/cli/index.rs +275 -94
  200. package/.claude/skills/cfn-local-ruvector-accelerator/src/cli/index_ast.rs +767 -0
  201. package/.claude/skills/cfn-local-ruvector-accelerator/src/cli/index_modified.rs +37 -0
  202. package/.claude/skills/cfn-local-ruvector-accelerator/src/cli/init.rs +17 -12
  203. package/.claude/skills/cfn-local-ruvector-accelerator/src/cli/migration.rs +34 -1
  204. package/.claude/skills/cfn-local-ruvector-accelerator/src/cli/mod.rs +6 -0
  205. package/.claude/skills/cfn-local-ruvector-accelerator/src/cli/query.rs +2 -2
  206. package/.claude/skills/cfn-local-ruvector-accelerator/src/cli/refs.rs +209 -0
  207. package/.claude/skills/cfn-local-ruvector-accelerator/src/embeddings.rs +82 -33
  208. package/.claude/skills/cfn-local-ruvector-accelerator/src/extractors/mod.rs +251 -0
  209. package/.claude/skills/cfn-local-ruvector-accelerator/src/extractors/rust.rs +425 -0
  210. package/.claude/skills/cfn-local-ruvector-accelerator/src/extractors/rust_placeholder.rs +420 -0
  211. package/.claude/skills/cfn-local-ruvector-accelerator/src/extractors/text_fallback.rs +490 -0
  212. package/.claude/skills/cfn-local-ruvector-accelerator/src/extractors/typescript.rs +520 -0
  213. package/.claude/skills/cfn-local-ruvector-accelerator/src/extractors/typescript_full.rs +531 -0
  214. package/.claude/skills/cfn-local-ruvector-accelerator/src/lib.rs +20 -0
  215. package/.claude/skills/cfn-local-ruvector-accelerator/src/main.rs +33 -2
  216. package/.claude/skills/cfn-local-ruvector-accelerator/src/main.rs.backup +360 -0
  217. package/.claude/skills/cfn-local-ruvector-accelerator/src/migration.rs +325 -318
  218. package/.claude/skills/cfn-local-ruvector-accelerator/src/migration_backup.rs +325 -0
  219. package/.claude/skills/cfn-local-ruvector-accelerator/src/migration_tx.rs +513 -0
  220. package/.claude/skills/cfn-local-ruvector-accelerator/src/paths.rs +29 -0
  221. package/.claude/skills/cfn-local-ruvector-accelerator/src/query_api.rs +609 -0
  222. package/.claude/skills/cfn-local-ruvector-accelerator/src/schema_v2.rs +603 -0
  223. package/.claude/skills/cfn-local-ruvector-accelerator/src/search_engine.rs +150 -29
  224. package/.claude/skills/cfn-local-ruvector-accelerator/src/security_tests.rs +154 -0
  225. package/.claude/skills/cfn-local-ruvector-accelerator/src/sqlite_store.rs +1 -1
  226. package/.claude/skills/cfn-local-ruvector-accelerator/src/store_v2.rs +583 -0
  227. package/.claude/skills/cfn-local-ruvector-accelerator/src/store_v2_backup.rs +560 -0
  228. package/.claude/skills/cfn-local-ruvector-accelerator/src/store_v2_fixed.rs +0 -0
  229. package/.claude/skills/cfn-local-ruvector-accelerator/src/store_v2_tx.rs +397 -0
  230. package/.claude/skills/cfn-local-ruvector-accelerator/src/test_schema.rs +228 -0
  231. package/.claude/skills/cfn-local-ruvector-accelerator/src/transaction_tests.rs +410 -0
  232. package/.claude/skills/cfn-local-ruvector-accelerator/test_ast_indexing.rs +59 -0
  233. package/.claude/skills/cfn-local-ruvector-accelerator/test_query_api.sh +103 -0
  234. package/.claude/skills/cfn-local-ruvector-accelerator/test_schema.sql +158 -0
  235. package/.claude/skills/cfn-local-ruvector-accelerator/test_schema_v2.sql +147 -0
  236. package/.claude/skills/cfn-loop-orchestration-v2/SKILL.md +1 -1
  237. package/.claude/skills/cfn-loop-orchestration-v2/lib/decision/SKILL.md +8 -0
  238. package/.claude/skills/cfn-loop-orchestration-v2/lib/orchestrator/SKILL.md +1 -1
  239. package/.claude/skills/cfn-loop-orchestration-v2/lib/output/SKILL.md +8 -0
  240. package/.claude/skills/cfn-loop-orchestration-v2/lib/validation/SKILL.md +11 -2
  241. package/.claude/skills/cfn-mdap-context-injection/SKILL.md +31 -10
  242. package/.claude/skills/cfn-mdap-error-fixer/skill.md +15 -205
  243. package/.claude/skills/cfn-memory-persistence/lib/auto/SKILL.md +7 -0
  244. package/.claude/skills/cfn-memory-persistence/lib/management/SKILL.md +7 -0
  245. package/.claude/skills/cfn-parameterized-queries/SKILL.md +8 -0
  246. package/.claude/skills/cfn-planning/SKILL.md +1 -1
  247. package/.claude/skills/cfn-session-handoff/SKILL.md +1 -53
  248. package/.claude/skills/cfn-skill-management/SKILL.md +1 -1
  249. package/.claude/skills/cfn-task-decomposition/SKILL.md +1 -0
  250. package/.claude/skills/cfn-task-intelligence/SKILL.md +39 -18
  251. package/.claude/skills/cfn-task-planning/SKILL.md +37 -12
  252. package/.claude/skills/cfn-transparency-middleware/SKILL.md +1 -1
  253. package/.claude/skills/cfn-utilities/SKILL.md +1 -1
  254. package/.claude/skills/cfn-validation-framework/SKILL.md +3 -60
  255. package/.claude/skills/cfn-vision-analysis/SKILL.md +3 -20
  256. package/.claude-flow/metrics/performance.json +3 -3
  257. package/.claude-flow/metrics/task-metrics.json +3 -3
  258. package/.ruvector/index_v2.db-shm +0 -0
  259. package/.ruvector/index_v2.db-wal +0 -0
  260. package/CLAUDE.md +9 -1
  261. package/README.md +56 -0
  262. package/docs/AGENT_PRODUCTION_FEEDBACK_PATTERNS.md +389 -0
  263. package/docs/CEREBRAS_TDD_COORDINATOR_TEST_RESULTS.md +213 -0
  264. package/docs/CEREBRAS_TDD_ROUND1_VS_ROUND2_COMPARISON.md +225 -0
  265. package/docs/CEREBRAS_TDD_ROUND3_FINAL_RESULTS.md +264 -0
  266. package/docs/EPIC_CREATOR_V2_ARCHITECTURE.md +629 -0
  267. package/docs/HOOKS_IMPLEMENTATION_PRIORITY.md +585 -0
  268. package/docs/SKILLS_HOOKS_INTEGRATION.md +1074 -0
  269. package/epic-with-personas-2025-12-09-17-15-13.json +253 -0
  270. package/index/index.bin +0 -0
  271. package/index/metadata.json +1 -0
  272. package/package.json +2 -1
  273. package/test-epic-creator-security.sh +203 -0
  274. package/.claude/skills/cfn-compilation-error-fixer/HANDOFF.md +0 -29
  275. package/.claude/skills/cfn-local-ruvector-accelerator/__pycache__/search_engine_v2.cpython-312.pyc +0 -0
  276. package/.claude/skills/cfn-local-ruvector-accelerator/search_engine.py +0 -200
  277. package/.ruvector/index.db-journal +0 -0
  278. package/jest.config.ts.cjs +0 -17
  279. /package/.claude/{skills → cfn-extras/skills/deprecated}/cfn-cerebras-code-generator/SKILL.md +0 -0
  280. /package/.claude/{skills → cfn-extras/skills/deprecated}/cfn-cerebras-code-generator/context-analyzer.sh +0 -0
  281. /package/.claude/{skills → cfn-extras/skills/deprecated}/cfn-cerebras-code-generator/generate-code.sh +0 -0
  282. /package/.claude/{skills → cfn-extras/skills/deprecated}/cfn-docker-runtime/execute.sh +0 -0
  283. /package/.claude/{skills → cfn-extras/skills/deprecated}/cfn-docker-runtime/lib/logging/INTEGRATION.md +0 -0
  284. /package/.claude/{skills → cfn-extras/skills/deprecated}/cfn-docker-runtime/lib/logging/SAMPLE_OUTPUTS.md +0 -0
  285. /package/.claude/{skills → cfn-extras/skills/deprecated}/cfn-docker-runtime/lib/logging/SKILL.md +0 -0
  286. /package/.claude/{skills → cfn-extras/skills/deprecated}/cfn-docker-runtime/lib/logging/capture-container-logs.sh +0 -0
  287. /package/.claude/{skills → cfn-extras/skills/deprecated}/cfn-docker-runtime/lib/logging/enable-logging.sh +0 -0
  288. /package/.claude/{skills → cfn-extras/skills/deprecated}/cfn-docker-runtime/lib/logging/init-hybrid-logging.sh +0 -0
  289. /package/.claude/{skills → cfn-extras/skills/deprecated}/cfn-docker-runtime/lib/logging/queries/analytics-summary.sh +0 -0
  290. /package/.claude/{skills → cfn-extras/skills/deprecated}/cfn-docker-runtime/lib/logging/queries/query-agent-timeline.sh +0 -0
  291. /package/.claude/{skills → cfn-extras/skills/deprecated}/cfn-docker-runtime/lib/logging/queries/query-consensus-history.sh +0 -0
  292. /package/.claude/{skills → cfn-extras/skills/deprecated}/cfn-docker-runtime/lib/logging/queries/query-coordination-timeline.sh +0 -0
  293. /package/.claude/{skills → cfn-extras/skills/deprecated}/cfn-docker-runtime/lib/logging/queries/query-failed-containers.sh +0 -0
  294. /package/.claude/{skills → cfn-extras/skills/deprecated}/cfn-docker-runtime/lib/logging/queries/query-gate-checks.sh +0 -0
  295. /package/.claude/{skills → cfn-extras/skills/deprecated}/cfn-docker-runtime/lib/logging/schema.sql +0 -0
  296. /package/.claude/{skills → cfn-extras/skills/deprecated}/cfn-docker-runtime/lib/logging/sqlite-helpers.sh +0 -0
  297. /package/.claude/{skills → cfn-extras/skills/deprecated}/cfn-docker-runtime/lib/logging/test-hybrid-logging.sh +0 -0
  298. /package/.claude/{skills → cfn-extras/skills/deprecated}/cfn-docker-runtime/lib/mcp/SKILL.md +0 -0
  299. /package/.claude/{skills → cfn-extras/skills/deprecated}/cfn-docker-runtime/lib/mcp/skill-mcp-selector.js +0 -0
  300. /package/.claude/{skills → cfn-extras/skills/deprecated}/cfn-docker-runtime/lib/orchestration/SKILL.md +0 -0
  301. /package/.claude/{skills → cfn-extras/skills/deprecated}/cfn-docker-runtime/lib/orchestration/orchestrate.sh +0 -0
  302. /package/.claude/{skills → cfn-extras/skills/deprecated}/cfn-docker-runtime/lib/spawning/SKILL.md +0 -0
  303. /package/.claude/{skills → cfn-extras/skills/deprecated}/cfn-docker-runtime/lib/spawning/spawn-agent.sh +0 -0
  304. /package/.claude/{skills → cfn-extras/skills/deprecated}/cfn-docker-runtime/lib/waves/SKILL.md +0 -0
  305. /package/.claude/{skills → cfn-extras/skills/deprecated}/cfn-docker-runtime/lib/waves/cleanup-wave.sh +0 -0
  306. /package/.claude/{skills → cfn-extras/skills/deprecated}/cfn-docker-runtime/lib/waves/lib/docker-helpers.sh +0 -0
  307. /package/.claude/{skills → cfn-extras/skills/deprecated}/cfn-docker-runtime/lib/waves/monitor-wave.sh +0 -0
  308. /package/.claude/{skills → cfn-extras/skills/deprecated}/cfn-docker-runtime/lib/waves/spawn-wave.sh +0 -0
  309. /package/.claude/{skills → cfn-extras/skills/deprecated}/cfn-node-heap-sizer/SKILL.md +0 -0
  310. /package/.claude/{skills → cfn-extras/skills/deprecated}/cfn-node-heap-sizer/task-mode-heap-limiter.sh +0 -0
  311. /package/.claude/{skills → cfn-extras/skills/deprecated}/deprecated/analyze-patterns.sh +0 -0
  312. /package/.claude/{skills → cfn-extras/skills/deprecated}/equation-solver/README.md +0 -0
  313. /package/.claude/{skills → cfn-extras/skills/deprecated}/equation-solver/SECURITY.md +0 -0
  314. /package/.claude/{skills → cfn-extras/skills/deprecated}/equation-solver/SKILL.md +0 -0
  315. /package/.claude/{skills → cfn-extras/skills/deprecated}/equation-solver/package.json +0 -0
  316. /package/.claude/{skills → cfn-extras/skills/deprecated}/equation-solver/solve.sh +0 -0
  317. /package/.claude/{skills → cfn-extras/skills/deprecated}/equation-solver/test-equation-solver-minimal.sh +0 -0
  318. /package/.claude/{skills → cfn-extras/skills/deprecated}/equation-solver/test-equation-solver.sh +0 -0
  319. /package/.claude/{skills → cfn-extras/skills/deprecated}/equation-solver/test.cjs +0 -0
  320. /package/.claude/hooks/{cfn-credential-scanner.sh → deprecated/cfn-credential-scanner.sh} +0 -0
  321. /package/.claude/hooks/{cfn-detect-hardcoded-credentials.sh → deprecated/cfn-detect-hardcoded-credentials.sh} +0 -0
  322. /package/.claude/hooks/{cfn-invoke-post-edit-ts.sh → deprecated/cfn-invoke-post-edit-ts.sh} +0 -0
  323. /package/.claude/hooks/{cfn-invoke-pre-edit-ts.sh → deprecated/cfn-invoke-pre-edit-ts.sh} +0 -0
  324. /package/.claude/hooks/{cfn-invoke-security-validation.sh → deprecated/cfn-invoke-security-validation.sh} +0 -0
  325. /package/.claude/hooks/{cfn-lint-sql-injection.sh → deprecated/cfn-lint-sql-injection.sh} +0 -0
  326. /package/.claude/hooks/{cfn-post-edit.sh → deprecated/cfn-post-edit.sh} +0 -0
  327. /package/.claude/hooks/{cfn-pre-edit-backup.sh → deprecated/cfn-pre-edit-backup.sh} +0 -0
  328. /package/.claude/skills/cfn-local-ruvector-accelerator/{embeddings_manager.py → embeddings_manager.py.backup} +0 -0
  329. /package/{.ruvector → .claude/skills/cfn-local-ruvector-accelerator/index}/index.bin +0 -0
  330. /package/{.ruvector → .claude/skills/cfn-local-ruvector-accelerator/index}/metadata.json +0 -0
  331. /package/.claude/skills/cfn-local-ruvector-accelerator/{search_engine_v2.py → search_engine_v2.py.backup} +0 -0
  332. /package/.claude/skills/cfn-local-ruvector-accelerator/{sqlite_store.py → sqlite_store.py.backup} +0 -0
@@ -0,0 +1,158 @@
1
+ -- Test Schema v2 Design
2
+
3
+ -- Test 1: Verify all tables can be created
4
+ .mode column
5
+ .headers on
6
+
7
+ -- Create schema
8
+ .output /dev/null
9
+ .read <<SCHEMA
10
+ CREATE TABLE entities (
11
+ id INTEGER PRIMARY KEY AUTOINCREMENT,
12
+ kind TEXT NOT NULL,
13
+ name TEXT NOT NULL,
14
+ signature TEXT,
15
+ visibility TEXT NOT NULL DEFAULT 'private',
16
+ parent_id INTEGER,
17
+ file_path TEXT NOT NULL,
18
+ line_number INTEGER NOT NULL,
19
+ column_number INTEGER,
20
+ doc_comment TEXT,
21
+ attributes TEXT,
22
+ metadata TEXT,
23
+ created_at INTEGER NOT NULL DEFAULT (strftime('%s', 'now')),
24
+ updated_at INTEGER NOT NULL DEFAULT (strftime('%s', 'now')),
25
+
26
+ FOREIGN KEY (parent_id) REFERENCES entities(id) ON DELETE CASCADE
27
+ );
28
+
29
+ CREATE TABLE refs (
30
+ id INTEGER PRIMARY KEY AUTOINCREMENT,
31
+ source_entity_id INTEGER NOT NULL,
32
+ target_entity_id INTEGER NOT NULL,
33
+ ref_kind TEXT NOT NULL,
34
+ file_path TEXT NOT NULL,
35
+ line_number INTEGER NOT NULL,
36
+ column_number INTEGER,
37
+ context TEXT,
38
+ created_at INTEGER NOT NULL DEFAULT (strftime('%s', 'now')),
39
+
40
+ FOREIGN KEY (source_entity_id) REFERENCES entities(id) ON DELETE CASCADE,
41
+ FOREIGN KEY (target_entity_id) REFERENCES entities(id) ON DELETE CASCADE
42
+ );
43
+
44
+ CREATE TABLE type_usage (
45
+ id INTEGER PRIMARY KEY AUTOINCREMENT,
46
+ entity_id INTEGER NOT NULL,
47
+ type_name TEXT NOT NULL,
48
+ usage_kind TEXT NOT NULL,
49
+ file_path TEXT NOT NULL,
50
+ line_number INTEGER NOT NULL,
51
+ created_at INTEGER NOT NULL DEFAULT (strftime('%s', 'now')),
52
+
53
+ FOREIGN KEY (entity_id) REFERENCES entities(id) ON DELETE CASCADE
54
+ );
55
+
56
+ CREATE TABLE modules (
57
+ id INTEGER PRIMARY KEY AUTOINCREMENT,
58
+ name TEXT NOT NULL UNIQUE,
59
+ file_path TEXT NOT NULL,
60
+ module_type TEXT NOT NULL,
61
+ is_root BOOLEAN NOT NULL DEFAULT FALSE,
62
+ parent_module_id INTEGER,
63
+ created_at INTEGER NOT NULL DEFAULT (strftime('%s', 'now')),
64
+
65
+ FOREIGN KEY (parent_module_id) REFERENCES modules(id) ON DELETE CASCADE
66
+ );
67
+
68
+ CREATE TABLE entity_embeddings (
69
+ entity_id INTEGER PRIMARY KEY,
70
+ embedding BLOB NOT NULL,
71
+ embedding_model TEXT NOT NULL,
72
+ created_at INTEGER NOT NULL DEFAULT (strftime('%s', 'now')),
73
+
74
+ FOREIGN KEY (entity_id) REFERENCES entities(id) ON DELETE CASCADE
75
+ );
76
+ SCHEMA
77
+ .output stdout
78
+
79
+ -- Test 2: Insert sample data
80
+ INSERT INTO entities (kind, name, signature, visibility, file_path, line_number) VALUES
81
+ ('struct', 'MyStruct', 'struct MyStruct { field: i32 }', 'public', '/src/lib.rs', 10),
82
+ ('function', 'my_function', 'fn my_function() -> Result<()>', 'public', '/src/lib.rs', 20),
83
+ ('enum', 'MyEnum', 'enum MyEnum { A, B }', 'public', '/src/types.rs', 5);
84
+
85
+ -- Test 3: Insert reference
86
+ INSERT INTO refs (source_entity_id, target_entity_id, ref_kind, file_path, line_number)
87
+ VALUES (2, 1, 'reference', '/src/lib.rs', 21);
88
+
89
+ -- Test 4: Insert type usage
90
+ INSERT INTO type_usage (entity_id, type_name, usage_kind, file_path, line_number)
91
+ VALUES (2, 'MyStruct', 'parameter', '/src/lib.rs', 20);
92
+
93
+ -- Test 5: Test indexes
94
+ CREATE INDEX idx_entities_kind ON entities(kind);
95
+ CREATE INDEX idx_entities_name ON entities(name);
96
+ CREATE INDEX idx_entities_file_path ON entities(file_path);
97
+ CREATE INDEX idx_entities_kind_name ON entities(kind, name);
98
+ CREATE INDEX idx_entities_file_kind ON entities(file_path, kind);
99
+
100
+ CREATE INDEX idx_refs_source ON refs(source_entity_id);
101
+ CREATE INDEX idx_refs_target ON refs(target_entity_id);
102
+ CREATE INDEX idx_refs_kind ON refs(ref_kind);
103
+
104
+ CREATE INDEX idx_type_usage_type_name ON type_usage(type_name);
105
+ CREATE INDEX idx_type_usage_type_kind ON type_usage(type_name, usage_kind);
106
+
107
+ -- Test 6: Performance queries
108
+ .echo on
109
+ EXPLAIN QUERY PLAN
110
+ SELECT e.* FROM entities e
111
+ WHERE e.kind = 'struct' AND e.name = 'MyStruct'
112
+ LIMIT 1;
113
+
114
+ EXPLAIN QUERY PLAN
115
+ SELECT e.* FROM entities e
116
+ WHERE e.file_path = '/src/lib.rs'
117
+ ORDER BY e.line_number;
118
+
119
+ EXPLAIN QUERY PLAN
120
+ SELECT r.*, e.name as target_name
121
+ FROM refs r
122
+ JOIN entities e ON r.target_entity_id = e.id
123
+ WHERE r.source_entity_id = 2;
124
+
125
+ EXPLAIN QUERY PLAN
126
+ SELECT DISTINCT e.*
127
+ FROM type_usage tu
128
+ JOIN entities e ON tu.entity_id = e.id
129
+ WHERE tu.type_name = 'MyStruct';
130
+
131
+ -- Test 7: Verify foreign keys
132
+ PRAGMA foreign_key_check;
133
+
134
+ -- Test 8: Get statistics
135
+ SELECT
136
+ 'entities' as table_name, COUNT(*) as count FROM entities
137
+ UNION ALL
138
+ SELECT
139
+ 'refs' as table_name, COUNT(*) as count FROM refs
140
+ UNION ALL
141
+ SELECT
142
+ 'type_usage' as table_name, COUNT(*) as count FROM type_usage
143
+ UNION ALL
144
+ SELECT
145
+ 'modules' as table_name, COUNT(*) as count FROM modules
146
+ UNION ALL
147
+ SELECT
148
+ 'entity_embeddings' as table_name, COUNT(*) as count FROM entity_embeddings;
149
+
150
+ -- Cleanup
151
+ DROP TABLE IF EXISTS refs;
152
+ DROP TABLE IF EXISTS type_usage;
153
+ DROP TABLE IF EXISTS entity_embeddings;
154
+ DROP TABLE IF EXISTS modules;
155
+ DROP TABLE IF EXISTS entities;
156
+
157
+ .echo off
158
+ SELECT 'Schema test completed successfully' as result;
@@ -0,0 +1,147 @@
1
+ -- Test Schema v2 Design
2
+ .mode column
3
+ .headers on
4
+
5
+ -- Test 1: Create all tables
6
+ CREATE TABLE entities (
7
+ id INTEGER PRIMARY KEY AUTOINCREMENT,
8
+ kind TEXT NOT NULL,
9
+ name TEXT NOT NULL,
10
+ signature TEXT,
11
+ visibility TEXT NOT NULL DEFAULT 'private',
12
+ parent_id INTEGER,
13
+ file_path TEXT NOT NULL,
14
+ line_number INTEGER NOT NULL,
15
+ column_number INTEGER,
16
+ doc_comment TEXT,
17
+ attributes TEXT,
18
+ metadata TEXT,
19
+ created_at INTEGER NOT NULL DEFAULT (strftime('%s', 'now')),
20
+ updated_at INTEGER NOT NULL DEFAULT (strftime('%s', 'now')),
21
+
22
+ FOREIGN KEY (parent_id) REFERENCES entities(id) ON DELETE CASCADE
23
+ );
24
+
25
+ CREATE TABLE refs (
26
+ id INTEGER PRIMARY KEY AUTOINCREMENT,
27
+ source_entity_id INTEGER NOT NULL,
28
+ target_entity_id INTEGER NOT NULL,
29
+ ref_kind TEXT NOT NULL,
30
+ file_path TEXT NOT NULL,
31
+ line_number INTEGER NOT NULL,
32
+ column_number INTEGER,
33
+ context TEXT,
34
+ created_at INTEGER NOT NULL DEFAULT (strftime('%s', 'now')),
35
+
36
+ FOREIGN KEY (source_entity_id) REFERENCES entities(id) ON DELETE CASCADE,
37
+ FOREIGN KEY (target_entity_id) REFERENCES entities(id) ON DELETE CASCADE
38
+ );
39
+
40
+ CREATE TABLE type_usage (
41
+ id INTEGER PRIMARY KEY AUTOINCREMENT,
42
+ entity_id INTEGER NOT NULL,
43
+ type_name TEXT NOT NULL,
44
+ usage_kind TEXT NOT NULL,
45
+ file_path TEXT NOT NULL,
46
+ line_number INTEGER NOT NULL,
47
+ created_at INTEGER NOT NULL DEFAULT (strftime('%s', 'now')),
48
+
49
+ FOREIGN KEY (entity_id) REFERENCES entities(id) ON DELETE CASCADE
50
+ );
51
+
52
+ CREATE TABLE modules (
53
+ id INTEGER PRIMARY KEY AUTOINCREMENT,
54
+ name TEXT NOT NULL UNIQUE,
55
+ file_path TEXT NOT NULL,
56
+ module_type TEXT NOT NULL,
57
+ is_root BOOLEAN NOT NULL DEFAULT FALSE,
58
+ parent_module_id INTEGER,
59
+ created_at INTEGER NOT NULL DEFAULT (strftime('%s', 'now')),
60
+
61
+ FOREIGN KEY (parent_module_id) REFERENCES modules(id) ON DELETE CASCADE
62
+ );
63
+
64
+ CREATE TABLE entity_embeddings (
65
+ entity_id INTEGER PRIMARY KEY,
66
+ embedding BLOB NOT NULL,
67
+ embedding_model TEXT NOT NULL,
68
+ created_at INTEGER NOT NULL DEFAULT (strftime('%s', 'now')),
69
+
70
+ FOREIGN KEY (entity_id) REFERENCES entities(id) ON DELETE CASCADE
71
+ );
72
+
73
+ -- Test 2: Insert sample data
74
+ INSERT INTO entities (kind, name, signature, visibility, file_path, line_number) VALUES
75
+ ('struct', 'MyStruct', 'struct MyStruct { field: i32 }', 'public', '/src/lib.rs', 10),
76
+ ('function', 'my_function', 'fn my_function() -> Result<()>', 'public', '/src/lib.rs', 20),
77
+ ('enum', 'MyEnum', 'enum MyEnum { A, B }', 'public', '/src/types.rs', 5);
78
+
79
+ -- Test 3: Insert reference
80
+ INSERT INTO refs (source_entity_id, target_entity_id, ref_kind, file_path, line_number)
81
+ VALUES (2, 1, 'reference', '/src/lib.rs', 21);
82
+
83
+ -- Test 4: Insert type usage
84
+ INSERT INTO type_usage (entity_id, type_name, usage_kind, file_path, line_number)
85
+ VALUES (2, 'MyStruct', 'parameter', '/src/lib.rs', 20);
86
+
87
+ -- Test 5: Test indexes
88
+ CREATE INDEX idx_entities_kind ON entities(kind);
89
+ CREATE INDEX idx_entities_name ON entities(name);
90
+ CREATE INDEX idx_entities_file_path ON entities(file_path);
91
+ CREATE INDEX idx_entities_kind_name ON entities(kind, name);
92
+ CREATE INDEX idx_entities_file_kind ON entities(file_path, kind);
93
+
94
+ CREATE INDEX idx_refs_source ON refs(source_entity_id);
95
+ CREATE INDEX idx_refs_target ON refs(target_entity_id);
96
+ CREATE INDEX idx_refs_kind ON refs(ref_kind);
97
+
98
+ CREATE INDEX idx_type_usage_type_name ON type_usage(type_name);
99
+ CREATE INDEX idx_type_usage_type_kind ON type_usage(type_name, usage_kind);
100
+
101
+ -- Test 6: Performance queries
102
+ SELECT 'Query 1: Find struct by name' as test;
103
+ EXPLAIN QUERY PLAN
104
+ SELECT e.* FROM entities e
105
+ WHERE e.kind = 'struct' AND e.name = 'MyStruct'
106
+ LIMIT 1;
107
+
108
+ SELECT 'Query 2: List entities in file' as test;
109
+ EXPLAIN QUERY PLAN
110
+ SELECT e.* FROM entities e
111
+ WHERE e.file_path = '/src/lib.rs'
112
+ ORDER BY e.line_number;
113
+
114
+ SELECT 'Query 3: Find references from entity' as test;
115
+ EXPLAIN QUERY PLAN
116
+ SELECT r.*, e.name as target_name
117
+ FROM refs r
118
+ JOIN entities e ON r.target_entity_id = e.id
119
+ WHERE r.source_entity_id = 2;
120
+
121
+ SELECT 'Query 4: Find entities using type' as test;
122
+ EXPLAIN QUERY PLAN
123
+ SELECT DISTINCT e.*
124
+ FROM type_usage tu
125
+ JOIN entities e ON tu.entity_id = e.id
126
+ WHERE tu.type_name = 'MyStruct';
127
+
128
+ -- Test 7: Verify foreign keys
129
+ PRAGMA foreign_key_check;
130
+
131
+ -- Test 8: Get statistics
132
+ SELECT
133
+ 'entities' as table_name, COUNT(*) as count FROM entities
134
+ UNION ALL
135
+ SELECT
136
+ 'refs' as table_name, COUNT(*) as count FROM refs
137
+ UNION ALL
138
+ SELECT
139
+ 'type_usage' as table_name, COUNT(*) as count FROM type_usage
140
+ UNION ALL
141
+ SELECT
142
+ 'modules' as table_name, COUNT(*) as count FROM modules
143
+ UNION ALL
144
+ SELECT
145
+ 'entity_embeddings' as table_name, COUNT(*) as count FROM entity_embeddings;
146
+
147
+ SELECT 'Schema v2 test completed successfully' as result;
@@ -1,6 +1,6 @@
1
1
  ---
2
2
  name: cfn-loop-orchestration-v2
3
- description: CFN Loop coordination and orchestration - gate checks, validation, consensus, coordination patterns
3
+ description: "CFN Loop coordination and orchestration - gate checks, validation, consensus, coordination patterns. Use when orchestrating multi-agent workflows, managing iteration cycles, or coordinating Loop 2/Loop 3 dependencies."
4
4
  version: 1.0.0
5
5
  tags: [mega-skill, cfn-loop, orchestration, coordination]
6
6
  status: production
@@ -1,3 +1,11 @@
1
+ ---
2
+ name: cfn-product-owner-decision
3
+ description: "Strategic decision-making for CFN Loop progression with robust parsing. Use when evaluating validator consensus and determining PROCEED/ITERATE/ABORT outcomes."
4
+ version: 2.0.0
5
+ tags: [cfn-loop, decision-making, product-owner, typescript, consensus]
6
+ status: production
7
+ ---
8
+
1
9
  # Product Owner Decision Skill
2
10
 
3
11
  **Version:** 2.0.0 (TypeScript)
@@ -1,6 +1,6 @@
1
1
  ---
2
2
  name: cfn-loop-orchestration
3
- description: CFN Loop workflow orchestration - three-loop structure management with gate checks and consensus
3
+ description: "CFN Loop workflow orchestration - three-loop structure management with gate checks and consensus. Use when coordinating Loop 3 implementers and Loop 2 validators, managing iteration cycles, or enforcing quality gates."
4
4
  version: 3.1.0
5
5
  tags: [orchestration, cfn-loop, workflow, consensus]
6
6
  status: production
@@ -1,3 +1,11 @@
1
+ ---
2
+ name: cfn-loop-output-processing
3
+ description: "Type-safe output processing for Loop 2 validators and Loop 3 implementers. Use when parsing agent confidence scores, feedback, or calculating consensus from multiple validators."
4
+ version: 1.0.0
5
+ tags: [cfn-loop, output-processing, typescript, validation, consensus]
6
+ status: production
7
+ ---
8
+
1
9
  # CFN Loop Output Processing - Unified TypeScript Module
2
10
 
3
11
  **Version:** 1.0.0
@@ -1,9 +1,18 @@
1
+ ---
2
+ name: cfn-loop-validation
3
+ description: "Multi-layer validation and quality gates for CFN Loop workflows. Use when implementing gate checks, consensus validation, or enforcing clean agent exit patterns."
4
+ version: 2.3.0
5
+ tags: [cfn-loop, validation, quality-gates, consensus, typescript]
6
+ status: production
7
+ confidence: 0.98
8
+ ---
9
+
1
10
  # CFN Loop Validation Skill
2
11
 
3
12
  **Purpose:** Implement multi-layer validation and quality gates for CFN Loop workflows with clean agent exit patterns.
4
13
 
5
- **Version:** 2.3.0
6
- **Confidence:** 0.98
14
+ **Version:** 2.3.0
15
+ **Confidence:** 0.98
7
16
  **Status:** Production Ready (Robustness Enhanced)
8
17
 
9
18
  ---
@@ -1,14 +1,35 @@
1
- # For Docker issues
2
- bash .claude/skills/cfn-mdap-context-injection/inject.sh --docker
1
+ ---
2
+ name: cfn-mdap-context-injection
3
+ description: Inject MDAP codebase files for troubleshooting (coordinator, implementers, validators, Docker, orchestration)
4
+ version: 1.0.0
5
+ tags: context-injection, debugging, mdap
6
+ status: production
3
7
 
4
- # For CLI mode issues
5
- bash .claude/skills/cfn-mdap-context-injection/inject.sh --cli
8
+ # What it does
9
+ Outputs portions of CFN MDAP codebase grouped by functional area for debugging. Provides immediate context without reading entire codebase.
6
10
 
7
- # For orchestration issues
8
- bash .claude/skills/cfn-mdap-context-injection/inject.sh --cfn-loop
11
+ # When to use
12
+ 1. Docker mode failures → --docker flag
13
+ 2. CLI mode issues → --cli flag
14
+ 3. Orchestration deadlocks → --cfn-loop flag
15
+ 4. Full MDAP workflow → --all flag
9
16
 
10
- # For full MDAP workflow
11
- bash .claude/skills/cfn-mdap-context-injection/inject.sh --all
17
+ # When NOT to use
18
+ 1. Need few files → Use Read directly
19
+ 2. Runtime logs → Use docker logs
20
+ 3. Documentation → Check docs/ first
21
+ 4. Token budget critical → Start with --coordinator
12
22
 
13
- # Combine contexts as needed
14
- bash .claude/skills/cfn-mdap-context-injection/inject.sh --docker --cfn-loop
23
+ # How to use
24
+ Basic: bash inject.sh --docker
25
+ Advanced: bash inject.sh --docker --cfn-loop (combined contexts)
26
+ Full: bash inject.sh --all --ruvector --tests (~260K tokens)
27
+
28
+ # Parameters
29
+ --all, --coordinator, --mdap, --cli, --docker, --cfn-loop, --config, --decomposers, --validators, --index, --ruvector, --tests, --file <path>
30
+
31
+ # Expected output
32
+ Concatenated file contents with === FILE: path === delimiters
33
+
34
+ # Real-world example
35
+ Docker specialist debugging "infinite wait in Wave 2" runs --docker --cfn-loop to get configs + orchestration in one injection.
@@ -1,205 +1,15 @@
1
- ---
2
- name: cfn-mdap-error-fixer
3
- description: Two-phase Rust compilation error fixer using Cerebras LLM bulk processing + dedicated agent cleanup
4
- version: 1.0.0
5
- tags: [rust, compilation, cerebras, error-fixer, mdap]
6
- status: production
7
- ---
8
-
9
- # MDAP Rust Compilation Error Fixer
10
-
11
- Two-phase workflow for fixing large-scale Rust compilation errors using Cerebras LLM bulk processing + dedicated agent cleanup.
12
-
13
- ## Skill Structure
14
-
15
- ```
16
- cfn-mdap-error-fixer/
17
- ├── skill.md # This file
18
- ├── HANDOFF.md # Detailed handoff documentation
19
- └── lib/
20
- └── fixer/
21
- ├── package.json # Dependencies (npm install)
22
- └── cerebras-gated-fixer-v2.ts # V2 fixer (self-contained)
23
- ```
24
-
25
- ## Overview
26
-
27
- This skill orchestrates:
28
- 1. **Phase 1**: Cerebras LLM bulk fixer (fast, cheap, ~97% reduction)
29
- 2. **Phase 2**: Dedicated rust-developer agent (high quality cleanup)
30
-
31
- ## Phase 1: Cerebras Bulk Fixer
32
-
33
- ### When to Use
34
- - 50+ compilation errors
35
- - Need fast bulk reduction
36
- - Errors are mostly mechanical (type mismatches, missing imports)
37
-
38
- ### How to Run
39
-
40
- ```bash
41
- # Setup (one-time)
42
- cd .claude/skills/cfn-mdap-error-fixer/lib/fixer
43
- npm install
44
-
45
- # Run from your Rust project directory
46
- cd /path/to/your/rust-project
47
- export CEREBRAS_API_KEY="your-key"
48
- npx tsx /path/to/.claude/skills/cfn-mdap-error-fixer/lib/fixer/cerebras-gated-fixer-v2.ts
49
-
50
- # Or specify project path explicitly
51
- npx tsx cerebras-gated-fixer-v2.ts --project=/path/to/rust-project
52
-
53
- # Or use environment variable
54
- export RUST_PROJECT_PATH=/path/to/rust-project
55
- npx tsx cerebras-gated-fixer-v2.ts
56
-
57
- # Additional flags
58
- npx tsx cerebras-gated-fixer-v2.ts --dry-run # Preview patches without writing
59
- npx tsx cerebras-gated-fixer-v2.ts --verbose # Debug output
60
- npx tsx cerebras-gated-fixer-v2.ts --no-layer3 # Skip LLM review layer
61
- ```
62
-
63
- ### Architecture
64
-
65
- ```
66
- ┌─────────────────┐
67
- │ cargo check │ → Parse errors
68
- └────────┬────────┘
69
-
70
- ┌─────────────────┐
71
- │ Cerebras LLM │ → Generate fix (zai-glm-4.6)
72
- └────────┬────────┘
73
-
74
- ┌─────────────────────────────────────────┐
75
- │ LAYER 1: 12 Structural Gates │
76
- ├─────────────────────────────────────────┤
77
- │ A: LineCount B: FnSignature │
78
- │ C: ImportDup D: BraceBalance │
79
- │ E: SemanticDiff F: OrphanedCode │
80
- │ G: ImportPath H: PatternDup │
81
- │ I: ImplLocation J: TypeCast │
82
- │ K: MatchArm L: Regression │
83
- └────────┬────────────────────────────────┘
84
- ▼ (up to 3 retries with feedback)
85
- ┌─────────────────────────────────────────┐
86
- │ LAYER 2: cargo check validation │
87
- └────────┬────────────────────────────────┘
88
-
89
- ┌─────────────────────────────────────────┐
90
- │ LAYER 3: LLM Review Gate │
91
- └────────┬────────────────────────────────┘
92
-
93
- ┌─────────────────┐
94
- │ Write to file │
95
- └─────────────────┘
96
- ```
97
-
98
- ### Expected Results
99
- - **Input**: 500-600 errors
100
- - **Output**: 10-20 errors (97%+ reduction)
101
- - **Quality**: 4-5/10 (some semantic issues)
102
-
103
- ### Logs
104
- - `/tmp/v2-retry-run.log` - Full run output
105
- - `/tmp/gate-rejections.json` - Gate rejection details
106
-
107
- ---
108
-
109
- ## Phase 2: Dedicated Agent Cleanup
110
-
111
- ### When to Use
112
- - After Phase 1 completes
113
- - <50 errors remaining
114
- - Need high-quality fixes (8-10/10)
115
-
116
- ### How to Invoke
117
-
118
- Spawn a rust-developer agent with this prompt:
119
-
120
- ```
121
- You are a Rust compilation error fixer. Fix the remaining errors in the Rust services codebase.
122
-
123
- CONTEXT:
124
- - Cerebras LLM already fixed ~97% of errors
125
- - Quality validation found some semantic issues in applied fixes
126
- - Remaining errors are mechanical: type mismatches, missing imports
127
-
128
- WORKING DIRECTORY:
129
- cd <YOUR_RUST_PROJECT_PATH> # e.g., services/rust-services
130
-
131
- STEP 1: Get current error count and locations
132
- SQLX_OFFLINE=true cargo check 2>&1 | grep -E "^error\[E" | sort | uniq -c | sort -rn
133
-
134
- STEP 2: For each error file, fix in order of dependency:
135
- 1. Read the FULL file to understand context
136
- 2. Identify the root cause (not just the symptom)
137
- 3. Apply minimal fix that preserves semantics
138
- 4. Run `SQLX_OFFLINE=true cargo check` to verify
139
- 5. If new errors appear, fix those too
140
-
141
- RULES:
142
- - Read FULL file before editing (not just error snippets)
143
- - Preserve ALL existing imports, don't duplicate
144
- - Use proper Rust idioms (? operator, as casts, trait bounds)
145
- - Fix root causes first (cascading errors will resolve)
146
- - Verify with cargo check after EACH file
147
-
148
- COMMON ERROR TYPES:
149
- - E0308 (type mismatch): Add explicit casts or fix generics
150
- - E0412/E0433/E0425 (missing type/import): Add `use` statements
151
- - E0599 (wrong method): Fix method chain (e.g., .ok_or_else() on Result)
152
-
153
- Report final error count when done.
154
- ```
155
-
156
- ### Expected Results
157
- - **Input**: 10-20 errors
158
- - **Output**: 0 errors
159
- - **Quality**: 9-10/10
160
-
161
- ---
162
-
163
- ## Full Workflow Example
164
-
165
- ```bash
166
- # 1. Check initial error count
167
- cd <YOUR_RUST_PROJECT_PATH>
168
- SQLX_OFFLINE=true cargo check 2>&1 | grep -c "^error\["
169
- # Output: 581
170
-
171
- # 2. Run Phase 1 (Cerebras bulk fixer)
172
- cd .claude/skills/cfn-mdap-error-fixer/lib/fixer
173
- export CEREBRAS_API_KEY="your-key"
174
- npx tsx cerebras-gated-fixer-v2.ts 2>&1 | tee /tmp/run.log
175
- # Output: 581 → 16 (97.2% reduction)
176
-
177
- # 3. Validate quality (optional)
178
- # Spawn 4 parallel code-reviewer agents to assess fix quality
179
-
180
- # 4. Run Phase 2 (dedicated agent cleanup)
181
- # Spawn rust-developer agent with prompt above
182
- # Output: 16 → 0
183
-
184
- # 5. Final verification
185
- SQLX_OFFLINE=true cargo check
186
- # Output: Finished dev profile
187
- ```
188
-
189
- ---
190
-
191
- ## Files Reference
192
-
193
- | File | Purpose |
194
- |------|---------|
195
- | `./HANDOFF.md` | Detailed handoff documentation |
196
- | `./lib/fixer/cerebras-gated-fixer-v2.ts` | V2 fixer (self-contained, 46KB) |
197
- | `/tmp/gate-rejections.json` | Gate rejection log (runtime) |
198
- | `/tmp/v2-retry-run.log` | Full run output (runtime) |
199
-
200
- ## Environment Requirements
201
-
202
- - Node.js 18+
203
- - Rust 1.86.0
204
- - `CEREBRAS_API_KEY` in `.env`
205
- - `SQLX_OFFLINE=true` for cargo check without DB
1
+ # Setup (one-time)
2
+ cd .claude/skills/cfn-mdap-error-fixer/lib/fixer
3
+ npm install
4
+
5
+ # Run from your Rust project directory
6
+ cd /path/to/your/rust-project
7
+ export CEREBRAS_API_KEY="your-key"
8
+ npx tsx /path/to/.claude/skills/cfn-mdap-error-fixer/lib/fixer/cerebras-gated-fixer-v2.ts
9
+
10
+ # Or specify project path explicitly
11
+ npx tsx cerebras-gated-fixer-v2.ts --project=/path/to/rust-project
12
+
13
+ # Or use environment variable
14
+ export RUST_PROJECT_PATH=/path/to/rust-project
15
+ npx tsx cerebras-gated-fixer-v2.ts
@@ -1,3 +1,10 @@
1
+ ---
2
+ name: cfn-automatic-memory-persistence
3
+ description: "Automatic, structured persistence of agent outputs to SQLite database. Use when tracking agent outputs across CFN Loop workflows, persisting confidence scores, or querying agent execution history."
4
+ version: 1.0.0
5
+ tags: [memory, persistence, sqlite, auto, agent-tracking]
6
+ ---
7
+
1
8
  # Automatic Memory Persistence Skill
2
9
 
3
10
  ## Overview
@@ -1,3 +1,10 @@
1
+ ---
2
+ name: cfn-memory-management
3
+ description: "Prevent and detect memory leaks in Claude CLI operations through proactive monitoring, limits, and profiling. Use when managing memory limits for long-running agents, detecting memory leaks, profiling heap usage, or implementing recovery procedures."
4
+ version: 1.0.0
5
+ tags: [memory, monitoring, profiling, leak-detection, performance]
6
+ ---
7
+
1
8
  # CFN Memory Management Skill
2
9
 
3
10
  **Purpose:** Prevent and detect memory leaks in Claude CLI operations through proactive monitoring, limits, and profiling.
@@ -1,3 +1,11 @@
1
+ ---
2
+ name: cfn-parameterized-queries
3
+ description: "Secure SQL query execution with parameterized queries to prevent SQL injection attacks. Use when executing database queries, inserting/updating records, or performing any SQL operations that require security hardening."
4
+ version: 1.0.0
5
+ tags: [security, sql, database, parameterized-queries, injection-prevention]
6
+ status: production
7
+ ---
8
+
1
9
  #!/bin/bash
2
10
 
3
11
  # CFN Parameterized Queries - Secure SQL Query Execution
@@ -1,6 +1,6 @@
1
1
  ---
2
2
  name: cfn-planning
3
- description: Epic decomposition, coordinator planning, and scope management
3
+ description: "Epic decomposition, coordinator planning, and scope management. Use when breaking down epics into sprints and tasks, coordinating multi-coordinator workflows, or simplifying and managing project scope boundaries."
4
4
  version: 1.0.0
5
5
  tags: [mega-skill, epic, planning, scope, decomposition]
6
6
  status: production