claude-flow-novice 2.18.6 → 2.18.7

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 (1000) hide show
  1. package/.claude/core/cfn-agent-manager.js +80 -0
  2. package/.claude/core/cfn-agent-manager.js.map +1 -0
  3. package/.claude/core/cfn-config.js +1241 -0
  4. package/.claude/core/cfn-config.js.map +1 -0
  5. package/.claude/core/cfn-event-bus.js +136 -0
  6. package/.claude/core/cfn-event-bus.js.map +1 -0
  7. package/.claude/core/cfn-index.js +6 -0
  8. package/.claude/core/cfn-index.js.map +1 -0
  9. package/.claude/core/cfn-json-persistence.js +112 -0
  10. package/.claude/core/cfn-json-persistence.js.map +1 -0
  11. package/.claude/core/cfn-logger.js +245 -0
  12. package/.claude/core/cfn-logger.js.map +1 -0
  13. package/.claude/core/cfn-orchestrator-fixed.js +236 -0
  14. package/.claude/core/cfn-orchestrator-fixed.js.map +1 -0
  15. package/.claude/core/cfn-orchestrator.js +1136 -0
  16. package/.claude/core/cfn-orchestrator.js.map +1 -0
  17. package/.claude/core/cfn-persistence.js +185 -0
  18. package/.claude/core/cfn-persistence.js.map +1 -0
  19. package/.claude/core/cfn-project-manager.js +80 -0
  20. package/.claude/core/cfn-project-manager.js.map +1 -0
  21. package/.claude/core/cfn-slash-command.js +24 -0
  22. package/.claude/core/cfn-version.js +35 -0
  23. package/.claude/core/cfn-version.js.map +1 -0
  24. package/.claude/helpers/cfn-checkpoint-manager.sh +251 -0
  25. package/.claude/helpers/cfn-github-safe.js +106 -0
  26. package/.claude/helpers/cfn-github-setup.sh +28 -0
  27. package/.claude/helpers/cfn-quick-start.sh +19 -0
  28. package/.claude/helpers/cfn-setup-mcp.sh +18 -0
  29. package/.claude/helpers/cfn-standard-checkpoint-hooks.sh +179 -0
  30. package/.claude/hooks/SKILL.md +471 -471
  31. package/.claude/hooks/cfn-pre-edit-security-warning.sh +40 -40
  32. package/{claude-assets/hooks/subagent-start.sh → .claude/hooks/cfn-subagent-start.sh} +1 -1
  33. package/.claude/hooks/{subagent-stop.sh → cfn-subagent-stop.sh} +37 -1
  34. package/.claude/settings.json +5 -5
  35. package/.claude/skills/cfn-agent-selector +1 -0
  36. package/.claude/skills/cfn-agent-spawning +1 -0
  37. package/.claude/skills/cfn-cerebras-code-generator/context-analyzer.sh +95 -95
  38. package/.claude/skills/cfn-cerebras-code-generator/generate-code.sh +204 -204
  39. package/.claude/skills/cfn-cerebras-coordinator/coordinate-generation.sh +380 -380
  40. package/.claude/skills/cfn-cerebras-coordinator/feedback-logger.sh +253 -253
  41. package/.claude/skills/cfn-cerebras-coordinator/fix-existing-code-v2.sh +442 -442
  42. package/.claude/skills/cfn-cerebras-coordinator/query-patterns.sh +181 -181
  43. package/.claude/skills/cfn-cerebras-coordinator/tdd-coordinator.sh +637 -637
  44. package/.claude/skills/cfn-cerebras-coordinator/test-runner.sh +334 -334
  45. package/.claude/skills/cfn-docker-wave-execution +1 -0
  46. package/.claude/skills/cfn-hybrid-routing +1 -0
  47. package/.claude/skills/cfn-local-ruvector-accelerator/AGENT_LIFECYCLE_INTEGRATION.md +341 -0
  48. package/.claude/skills/cfn-local-ruvector-accelerator/analyze-agent-failures.sh +275 -0
  49. package/.claude/skills/cfn-local-ruvector-accelerator/cfn-integration.sh +178 -178
  50. package/.claude/skills/cfn-local-ruvector-accelerator/ingest-agent-transcript.sh +255 -0
  51. package/.claude/skills/cfn-local-ruvector-accelerator/query-agent-patterns.sh +197 -0
  52. package/.claude/skills/cfn-local-ruvector-accelerator/test-agent-lifecycle-integration.sh +254 -0
  53. package/.claude/skills/cfn-loop-orchestration +1 -0
  54. package/.claude/skills/cfn-mdap-context-injection/SKILL.md +2 -9
  55. package/.claude/skills/cfn-mdap-context-injection/inject.sh +39 -39
  56. package/.claude/skills/cfn-provider-routing +1 -0
  57. package/.claude/skills/cfn-redis-coordination +1 -0
  58. package/package.json +43 -39
  59. package/readme/COMPONENT_NPM_STATUS.md +1 -1
  60. package/readme/installation-process.md +1 -1
  61. package/scripts/{init-project.js → cfn-init.js} +23 -101
  62. package/scripts/postinstall.js +144 -0
  63. package/trigger.config.ts +9 -0
  64. package/.claude/.cfn-initialized +0 -1
  65. package/.claude/hooks/SKILL.md.backup +0 -471
  66. package/.claude/hooks/cfn-post-execution/memory-cleanup.sh +0 -20
  67. package/.claude/hooks/cfn-pre-execution/SESSION_START_README.md +0 -87
  68. package/.claude/hooks/cfn-pre-execution/TEST_SESSION_START.md +0 -128
  69. package/.claude/hooks/cfn-pre-execution/memory-check.sh +0 -20
  70. package/.claude/hooks/cfn-pre-execution/session-start-context.sh +0 -111
  71. package/.claude/hooks/subagent-start.sh +0 -98
  72. package/.claude/skills/cfn-docker-runtime/lib/coordination/README.md +0 -349
  73. package/.claude/skills/cfn-docker-runtime/lib/coordination/docker-helpers.sh +0 -433
  74. package/.claude/skills/cfn-docker-runtime/lib/coordination/package.json +0 -38
  75. package/.claude/skills/cfn-docker-runtime/lib/coordination/src/agent-container.ts +0 -471
  76. package/.claude/skills/cfn-docker-runtime/lib/coordination/src/docker-client.ts +0 -483
  77. package/.claude/skills/cfn-docker-runtime/lib/coordination/src/health-checker.ts +0 -418
  78. package/.claude/skills/cfn-docker-runtime/lib/coordination/src/index.ts +0 -45
  79. package/.claude/skills/cfn-docker-runtime/lib/coordination/src/network-manager.ts +0 -377
  80. package/.claude/skills/cfn-docker-runtime/lib/coordination/src/types.ts +0 -412
  81. package/.claude/skills/cfn-docker-runtime/lib/coordination/src/volume-manager.ts +0 -389
  82. package/.claude/skills/cfn-edit-safety/lib/backup/SKILL.md.backup +0 -277
  83. package/.claude/skills/cfn-edit-safety/lib/backup/backup.sh.backup +0 -107
  84. package/.claude/skills/cfn-loop-orchestration-v2/lib/coordination/agent-completion.sh.backup +0 -36
  85. package/.claude/skills/cfn-loop-orchestration-v2/lib/coordination/coordination-patterns.ts +0 -194
  86. package/.claude/skills/cfn-loop-orchestration-v2/lib/coordination/coordination-signal.sh.backup +0 -36
  87. package/.claude/skills/cfn-loop-orchestration-v2/lib/coordination/coordination-wait.sh.backup +0 -36
  88. package/.claude/skills/cfn-loop-orchestration-v2/lib/coordination/index.ts +0 -25
  89. package/.claude/skills/cfn-loop-orchestration-v2/lib/validation/SKILL.md.backup +0 -353
  90. package/.claude/skills/cfn-loop-orchestration-v2/lib/validation/check-dependencies.sh.backup +0 -31
  91. package/.claude/skills/cfn-loop-orchestration-v2/lib/validation/detect-vapor.sh.backup +0 -37
  92. package/.claude/skills/cfn-loop-orchestration-v2/lib/validation/orchestrate-cfn-loop.sh.backup +0 -252
  93. package/.claude/skills/cfn-loop-orchestration-v2/lib/validation/validate-deliverables.sh.backup +0 -37
  94. package/.claude/skills/cfn-loop-orchestration-v2/lib/validation/validate-gate.sh.backup +0 -41
  95. package/.claude/skills/cfn-loop-orchestration-v2/lib/validation/validate-iteration.sh.backup +0 -134
  96. package/.claude/skills/cfn-memory-persistence/lib/redis/agent-log.sh.backup +0 -128
  97. package/.claude/skills/cfn-memory-persistence/lib/redis/agent-recovery.sh.backup +0 -75
  98. package/.claude/skills/cfn-memory-persistence/lib/redis/analyze-task-complexity.sh.backup +0 -277
  99. package/.claude/skills/cfn-memory-persistence/lib/redis/bash-wrappers/store-context.sh.backup +0 -23
  100. package/.claude/skills/cfn-memory-persistence/lib/redis/cancel-swarm.sh.backup +0 -221
  101. package/.claude/skills/cfn-memory-persistence/lib/redis/cfn-loop-exec.sh.backup +0 -468
  102. package/.claude/skills/cfn-memory-persistence/lib/redis/cfn-loop-relaunch.sh.backup +0 -29
  103. package/.claude/skills/cfn-memory-persistence/lib/redis/collect-confidence-scores.sh.backup +0 -209
  104. package/.claude/skills/cfn-memory-persistence/lib/redis/collect-results.sh.backup +0 -75
  105. package/.claude/skills/cfn-memory-persistence/lib/redis/complete-swarm.sh.backup +0 -75
  106. package/.claude/skills/cfn-memory-persistence/lib/redis/get-context.sh.backup +0 -146
  107. package/.claude/skills/cfn-memory-persistence/lib/redis/get-success-criteria.sh.backup +0 -54
  108. package/.claude/skills/cfn-memory-persistence/lib/redis/invoke-waiting-mode.sh.backup +0 -225
  109. package/.claude/skills/cfn-memory-persistence/lib/redis/redis-cli-wrapper.sh.backup +0 -43
  110. package/.claude/skills/cfn-memory-persistence/lib/redis/redis-functions.sh.backup +0 -34
  111. package/.claude/skills/cfn-memory-persistence/lib/redis/report-completion.sh.backup +0 -134
  112. package/.claude/skills/cfn-memory-persistence/lib/redis/store-context.sh.backup +0 -123
  113. package/.claude/skills/cfn-transparency-middleware/src/lib.rs.backup +0 -388
  114. package/claude-assets/agents/AGENT_LIFECYCLE.md +0 -532
  115. package/claude-assets/agents/README-AGENT_LIFECYCLE.md +0 -522
  116. package/claude-assets/agents/README-VALIDATION.md +0 -243
  117. package/claude-assets/agents/SHARED_PROTOCOL.md +0 -64
  118. package/claude-assets/agents/cfn-dev-team/CLAUDE.md +0 -1000
  119. package/claude-assets/agents/cfn-dev-team/README.md +0 -219
  120. package/claude-assets/agents/cfn-dev-team/analysts/analyst.md +0 -113
  121. package/claude-assets/agents/cfn-dev-team/analysts/root-cause-analyst.md +0 -257
  122. package/claude-assets/agents/cfn-dev-team/architecture/api-designer-persona.md +0 -145
  123. package/claude-assets/agents/cfn-dev-team/architecture/base-template-generator.md +0 -150
  124. package/claude-assets/agents/cfn-dev-team/architecture/goal-planner.md +0 -173
  125. package/claude-assets/agents/cfn-dev-team/architecture/planner.md +0 -132
  126. package/claude-assets/agents/cfn-dev-team/architecture/system-architect.md +0 -125
  127. package/claude-assets/agents/cfn-dev-team/coordinators/README.md +0 -42
  128. package/claude-assets/agents/cfn-dev-team/coordinators/cfn-frontend-coordinator.md +0 -886
  129. package/claude-assets/agents/cfn-dev-team/coordinators/consensus-builder.md +0 -473
  130. package/claude-assets/agents/cfn-dev-team/coordinators/handoff-coordinator.md +0 -740
  131. package/claude-assets/agents/cfn-dev-team/coordinators/multi-sprint-coordinator.md +0 -503
  132. package/claude-assets/agents/cfn-dev-team/dev-ops/devops-engineer.md +0 -150
  133. package/claude-assets/agents/cfn-dev-team/dev-ops/docker-specialist.md +0 -664
  134. package/claude-assets/agents/cfn-dev-team/dev-ops/github-commit-agent.md +0 -116
  135. package/claude-assets/agents/cfn-dev-team/dev-ops/kubernetes-specialist.md +0 -617
  136. package/claude-assets/agents/cfn-dev-team/developers/README.md +0 -69
  137. package/claude-assets/agents/cfn-dev-team/developers/api-gateway-specialist.md +0 -970
  138. package/claude-assets/agents/cfn-dev-team/developers/backend-developer.md +0 -192
  139. package/claude-assets/agents/cfn-dev-team/developers/data/data-engineer.md +0 -665
  140. package/claude-assets/agents/cfn-dev-team/developers/database/database-architect.md +0 -369
  141. package/claude-assets/agents/cfn-dev-team/developers/database/supabase-specialist.md +0 -739
  142. package/claude-assets/agents/cfn-dev-team/developers/frontend/mobile-dev.md +0 -240
  143. package/claude-assets/agents/cfn-dev-team/developers/frontend/react-frontend-engineer.md +0 -256
  144. package/claude-assets/agents/cfn-dev-team/developers/frontend/typescript-specialist.md +0 -389
  145. package/claude-assets/agents/cfn-dev-team/developers/frontend/ui-designer.md +0 -214
  146. package/claude-assets/agents/cfn-dev-team/developers/graphql-specialist.md +0 -700
  147. package/claude-assets/agents/cfn-dev-team/developers/rust-developer.md +0 -221
  148. package/claude-assets/agents/cfn-dev-team/documentation/README-VALIDATION.md +0 -245
  149. package/claude-assets/agents/cfn-dev-team/documentation/agent-type-guidelines.md +0 -469
  150. package/claude-assets/agents/cfn-dev-team/documentation/api-documentation.md +0 -104
  151. package/claude-assets/agents/cfn-dev-team/documentation/pseudocode.md +0 -137
  152. package/claude-assets/agents/cfn-dev-team/documentation/specification-agent.md +0 -145
  153. package/claude-assets/agents/cfn-dev-team/product-owners/accessibility-advocate-persona.md +0 -112
  154. package/claude-assets/agents/cfn-dev-team/product-owners/cto-agent.md +0 -131
  155. package/claude-assets/agents/cfn-dev-team/product-owners/power-user-persona.md +0 -144
  156. package/claude-assets/agents/cfn-dev-team/product-owners/product-owner.md +0 -476
  157. package/claude-assets/agents/cfn-dev-team/reviewers/README.md +0 -58
  158. package/claude-assets/agents/cfn-dev-team/reviewers/code-reviewer.md +0 -287
  159. package/claude-assets/agents/cfn-dev-team/reviewers/quality/code-quality-validator.md +0 -213
  160. package/claude-assets/agents/cfn-dev-team/reviewers/quality/cyclomatic-complexity-reducer.md +0 -327
  161. package/claude-assets/agents/cfn-dev-team/reviewers/quality/perf-analyzer.md +0 -250
  162. package/claude-assets/agents/cfn-dev-team/reviewers/quality/performance-benchmarker.md +0 -153
  163. package/claude-assets/agents/cfn-dev-team/reviewers/quality/quality-metrics.md +0 -379
  164. package/claude-assets/agents/cfn-dev-team/testers/README.md +0 -94
  165. package/claude-assets/agents/cfn-dev-team/testers/api-testing-specialist.md +0 -750
  166. package/claude-assets/agents/cfn-dev-team/testers/chaos-engineering-specialist.md +0 -937
  167. package/claude-assets/agents/cfn-dev-team/testers/contract-tester.md +0 -680
  168. package/claude-assets/agents/cfn-dev-team/testers/e2e/playwright-tester.md +0 -117
  169. package/claude-assets/agents/cfn-dev-team/testers/integration-tester.md +0 -778
  170. package/claude-assets/agents/cfn-dev-team/testers/interaction-tester.md +0 -181
  171. package/claude-assets/agents/cfn-dev-team/testers/load-testing-specialist.md +0 -498
  172. package/claude-assets/agents/cfn-dev-team/testers/mutation-testing-specialist.md +0 -636
  173. package/claude-assets/agents/cfn-dev-team/testers/playwright-tester.md +0 -246
  174. package/claude-assets/agents/cfn-dev-team/testers/tester.md +0 -208
  175. package/claude-assets/agents/cfn-dev-team/testers/unit/tdd-london-unit-swarm.md +0 -30
  176. package/claude-assets/agents/cfn-dev-team/testers/validation/validation-production-validator.md +0 -20
  177. package/claude-assets/agents/cfn-dev-team/testing/test-validation-agent.md +0 -273
  178. package/claude-assets/agents/cfn-dev-team/utility/agent-builder.md +0 -480
  179. package/claude-assets/agents/cfn-dev-team/utility/context-curator.md +0 -62
  180. package/claude-assets/agents/cfn-dev-team/utility/epic-creator.md +0 -132
  181. package/claude-assets/agents/cfn-dev-team/utility/memory-leak-specialist.md +0 -170
  182. package/claude-assets/agents/cfn-dev-team/utility/researcher.md +0 -109
  183. package/claude-assets/agents/cfn-dev-team/utility/z-ai-specialist.md +0 -211
  184. package/claude-assets/agents/csuite/cto-agent.md +0 -371
  185. package/claude-assets/agents/custom/cfn-docker-expert.md +0 -104
  186. package/claude-assets/agents/custom/cfn-loops-cli-expert.md +0 -455
  187. package/claude-assets/agents/custom/cfn-redis-operations.md +0 -531
  188. package/claude-assets/agents/custom/cfn-system-expert.md +0 -337
  189. package/claude-assets/agents/custom/claude-code-expert.md +0 -291
  190. package/claude-assets/agents/custom/mdap-trigger-specialist.md +0 -437
  191. package/claude-assets/agents/custom/trigger-dev-expert.md +0 -370
  192. package/claude-assets/agents/docker-coordinators/cfn-docker-v3-coordinator.md +0 -1094
  193. package/claude-assets/agents/docker-ts-fixer.md +0 -58
  194. package/claude-assets/agents/project-only-agents/npm-package-specialist.md +0 -327
  195. package/claude-assets/agents/validate-agent.js +0 -841
  196. package/claude-assets/cfn-extras/.gs-api-quota.json +0 -16
  197. package/claude-assets/cfn-extras/.gs-progress-state.json +0 -22
  198. package/claude-assets/cfn-extras/agents/cfn-coordinator-enterprise.md +0 -1303
  199. package/claude-assets/cfn-extras/agents/cfn-coordinator-mvp.md +0 -942
  200. package/claude-assets/cfn-extras/agents/cfn-coordinator-standard.md +0 -1062
  201. package/claude-assets/cfn-extras/agents/cfn-loop-coordinator.md +0 -157
  202. package/claude-assets/cfn-extras/agents/cfn-v3-coordinator.md +0 -517
  203. package/claude-assets/cfn-extras/agents/code-booster.md +0 -67
  204. package/claude-assets/cfn-extras/agents/coordinator.md +0 -182
  205. package/claude-assets/cfn-extras/agents/cost-savings-cfn-loop-coordinator.md +0 -760
  206. package/claude-assets/cfn-extras/agents/cost-savings-coordinator.md +0 -173
  207. package/claude-assets/cfn-extras/agents/deprecated-coordinators/adaptive-coordinator-enhanced.md +0 -147
  208. package/claude-assets/cfn-extras/agents/deprecated-coordinators/adaptive-coordinator.md +0 -162
  209. package/claude-assets/cfn-extras/agents/deprecated-coordinators/blocking-coordinator-example.md +0 -729
  210. package/claude-assets/cfn-extras/agents/deprecated-coordinators/byzantine-coordinator.md +0 -100
  211. package/claude-assets/cfn-extras/agents/deprecated-coordinators/cfn-coordinator-enterprise.md +0 -323
  212. package/claude-assets/cfn-extras/agents/deprecated-coordinators/cfn-coordinator-mvp.md +0 -157
  213. package/claude-assets/cfn-extras/agents/deprecated-coordinators/cfn-coordinator-standard.md +0 -229
  214. package/claude-assets/cfn-extras/agents/deprecated-coordinators/cfn-coordinator-unified.md +0 -149
  215. package/claude-assets/cfn-extras/agents/deprecated-coordinators/coordinator-hybrid.md +0 -231
  216. package/claude-assets/cfn-extras/agents/deprecated-coordinators/gossip-coordinator.md +0 -165
  217. package/claude-assets/cfn-extras/agents/deprecated-coordinators/hierarchical-coordinator.md +0 -95
  218. package/claude-assets/cfn-extras/agents/deprecated-coordinators/mesh-coordinator.md +0 -132
  219. package/claude-assets/cfn-extras/agents/deprecated-coordinators/task-coordinator.md +0 -109
  220. package/claude-assets/cfn-extras/agents/deprecated-coordinators/test-coordinator.md +0 -142
  221. package/claude-assets/cfn-extras/agents/docker-team/csuite/c-suite-template.md +0 -529
  222. package/claude-assets/cfn-extras/agents/docker-team/infrastructure/team-coordinator-template.md +0 -467
  223. package/claude-assets/cfn-extras/agents/docker-team/micro-sprint-planner.md +0 -747
  224. package/claude-assets/cfn-extras/agents/google-sheets/README.md +0 -114
  225. package/claude-assets/cfn-extras/agents/google-sheets/google-sheets-advanced-analytics-specialist.md +0 -288
  226. package/claude-assets/cfn-extras/agents/google-sheets/google-sheets-api-integrator.md +0 -127
  227. package/claude-assets/cfn-extras/agents/google-sheets/google-sheets-automation-scripting-specialist.md +0 -195
  228. package/claude-assets/cfn-extras/agents/google-sheets/google-sheets-business-validator.md +0 -179
  229. package/claude-assets/cfn-extras/agents/google-sheets/google-sheets-collaboration-security-specialist.md +0 -240
  230. package/claude-assets/cfn-extras/agents/google-sheets/google-sheets-coordinator.md +0 -214
  231. package/claude-assets/cfn-extras/agents/google-sheets/google-sheets-data-transformer.md +0 -127
  232. package/claude-assets/cfn-extras/agents/google-sheets/google-sheets-data-validation-quality-specialist.md +0 -177
  233. package/claude-assets/cfn-extras/agents/google-sheets/google-sheets-data-validator.md +0 -119
  234. package/claude-assets/cfn-extras/agents/google-sheets/google-sheets-data-visualization-specialist.md +0 -135
  235. package/claude-assets/cfn-extras/agents/google-sheets/google-sheets-design-layout-specialist.md +0 -109
  236. package/claude-assets/cfn-extras/agents/google-sheets/google-sheets-formula-engineer.md +0 -127
  237. package/claude-assets/cfn-extras/agents/google-sheets/google-sheets-formula-engineering-specialist.md +0 -138
  238. package/claude-assets/cfn-extras/agents/google-sheets/google-sheets-formula-validator.md +0 -128
  239. package/claude-assets/cfn-extras/agents/google-sheets/google-sheets-generalist.md +0 -645
  240. package/claude-assets/cfn-extras/agents/google-sheets/google-sheets-integration-api-specialist.md +0 -258
  241. package/claude-assets/cfn-extras/agents/google-sheets/google-sheets-performance-analyst.md +0 -125
  242. package/claude-assets/cfn-extras/agents/google-sheets/google-sheets-performance-optimization-specialist.md +0 -211
  243. package/claude-assets/cfn-extras/agents/google-sheets/google-sheets-schema-designer.md +0 -130
  244. package/claude-assets/cfn-extras/agents/google-sheets/google-sheets-template-architecture-specialist.md +0 -259
  245. package/claude-assets/cfn-extras/agents/google-sheets-specialist.md +0 -614
  246. package/claude-assets/cfn-extras/commands/deprecated/CFN_EXPERT_UPDATE.md +0 -142
  247. package/claude-assets/cfn-extras/commands/deprecated/README.md +0 -55
  248. package/claude-assets/cfn-extras/commands/deprecated/cfn-loop-epic.md +0 -478
  249. package/claude-assets/cfn-extras/commands/deprecated/cfn-loop-single.md +0 -256
  250. package/claude-assets/cfn-extras/commands/deprecated/cfn-loop-sprints.md +0 -396
  251. package/claude-assets/cfn-extras/commands/deprecated/context-curate.md +0 -200
  252. package/claude-assets/cfn-extras/commands/deprecated/context-inject.md +0 -251
  253. package/claude-assets/cfn-extras/commands/deprecated/context-query.md +0 -210
  254. package/claude-assets/cfn-extras/commands/deprecated/context-stats.md +0 -269
  255. package/claude-assets/cfn-extras/commands/deprecated/cost-savings-off.md +0 -35
  256. package/claude-assets/cfn-extras/commands/deprecated/cost-savings-on.md +0 -35
  257. package/claude-assets/cfn-extras/commands/deprecated/custom-routing-activate.md +0 -55
  258. package/claude-assets/cfn-extras/commands/deprecated/custom-routing-deactivate.md +0 -46
  259. package/claude-assets/cfn-extras/commands/deprecated/github-commit.md +0 -289
  260. package/claude-assets/cfn-extras/commands/deprecated/parse-epic.md +0 -357
  261. package/claude-assets/cfn-extras/commands/deprecated/suggest-improvements.md +0 -95
  262. package/claude-assets/cfn-extras/docs/GOOGLE_SHEETS_CFN_LOOP.md +0 -619
  263. package/claude-assets/cfn-extras/skills/GOOGLE_SHEETS_SKILLS_README.md +0 -453
  264. package/claude-assets/cfn-extras/skills/advanced-features/cfn-agent-swap/SKILL.md +0 -36
  265. package/claude-assets/cfn-extras/skills/advanced-features/cfn-agent-swap/recommend-swap.sh +0 -60
  266. package/claude-assets/cfn-extras/skills/advanced-features/cfn-api-validation/test-endpoints.sh +0 -54
  267. package/claude-assets/cfn-extras/skills/advanced-features/cfn-context-pruner/SKILL.md +0 -75
  268. package/claude-assets/cfn-extras/skills/advanced-features/cfn-context-pruner/prune-context.sh +0 -73
  269. package/claude-assets/cfn-extras/skills/advanced-features/cfn-event-bus/README.md +0 -299
  270. package/claude-assets/cfn-extras/skills/advanced-features/cfn-event-bus/SKILL.md +0 -412
  271. package/claude-assets/cfn-extras/skills/advanced-features/cfn-event-bus/config.json +0 -111
  272. package/claude-assets/cfn-extras/skills/advanced-features/cfn-event-bus/eventbus-wrapper.cjs +0 -69
  273. package/claude-assets/cfn-extras/skills/advanced-features/cfn-event-bus/invoke-event-publish.sh +0 -147
  274. package/claude-assets/cfn-extras/skills/advanced-features/cfn-event-bus/invoke-event-subscribe.sh +0 -171
  275. package/claude-assets/cfn-extras/skills/advanced-features/cfn-event-bus/invoke-lifecycle-track.sh +0 -201
  276. package/claude-assets/cfn-extras/skills/advanced-features/cfn-event-bus/test-event-bus.sh +0 -280
  277. package/claude-assets/cfn-extras/skills/advanced-features/cfn-fleet-manager/README.md +0 -74
  278. package/claude-assets/cfn-extras/skills/advanced-features/cfn-fleet-manager/SKILL.md +0 -412
  279. package/claude-assets/cfn-extras/skills/advanced-features/cfn-fleet-manager/config.json +0 -60
  280. package/claude-assets/cfn-extras/skills/advanced-features/cfn-fleet-manager/invoke-fleet-allocate.sh +0 -182
  281. package/claude-assets/cfn-extras/skills/advanced-features/cfn-fleet-manager/invoke-fleet-balance.sh +0 -239
  282. package/claude-assets/cfn-extras/skills/advanced-features/cfn-fleet-manager/invoke-fleet-metrics.sh +0 -193
  283. package/claude-assets/cfn-extras/skills/advanced-features/cfn-fleet-manager/invoke-fleet-register.sh +0 -124
  284. package/claude-assets/cfn-extras/skills/advanced-features/cfn-fleet-manager/test-fleet-manager.sh +0 -345
  285. package/claude-assets/cfn-extras/skills/advanced-features/cfn-task-mode-safety/cli-coordination.sh +0 -519
  286. package/claude-assets/cfn-extras/skills/advanced-features/cfn-task-mode-safety/mode-detection.sh +0 -326
  287. package/claude-assets/cfn-extras/skills/advanced-features/cfn-task-mode-sanitize/task-mode-env-sanitizer.sh +0 -267
  288. package/claude-assets/cfn-extras/skills/deprecated/cfn-agent-discovery/SKILL.md +0 -40
  289. package/claude-assets/cfn-extras/skills/deprecated/cfn-agent-discovery/agents-registry-clean.json +0 -0
  290. package/claude-assets/cfn-extras/skills/deprecated/cfn-agent-discovery/agents-registry-fixed.json +0 -19
  291. package/claude-assets/cfn-extras/skills/deprecated/cfn-agent-discovery/agents-registry.json +0 -719
  292. package/claude-assets/cfn-extras/skills/deprecated/cfn-agent-discovery/discover-agents.py +0 -184
  293. package/claude-assets/cfn-extras/skills/deprecated/cfn-agent-discovery/discover-agents.sh +0 -87
  294. package/claude-assets/cfn-extras/skills/deprecated/cfn-agent-discovery/invoke-registry.sh +0 -11
  295. package/claude-assets/cfn-extras/skills/deprecated/cfn-agent-discovery/temp_script.py +0 -0
  296. package/claude-assets/cfn-extras/skills/deprecated/cfn-agent-selector/SKILL.md +0 -91
  297. package/claude-assets/cfn-extras/skills/deprecated/cfn-agent-selector/select-agents.sh +0 -112
  298. package/claude-assets/cfn-extras/skills/deprecated/cfn-cli-setup/validate-cli-environment.sh +0 -192
  299. package/claude-assets/cfn-extras/skills/deprecated/cfn-simplified-agent-lifecycle/DESIGN.md +0 -98
  300. package/claude-assets/cfn-extras/skills/google-sheets-api-coordinator/SKILL.md +0 -272
  301. package/claude-assets/cfn-extras/skills/google-sheets-api-coordinator/api-call.sh +0 -254
  302. package/claude-assets/cfn-extras/skills/google-sheets-api-coordinator/test.sh +0 -174
  303. package/claude-assets/cfn-extras/skills/google-sheets-api-coordinator/validate.sh +0 -98
  304. package/claude-assets/cfn-extras/skills/google-sheets-decomposition/SKILL.md +0 -269
  305. package/claude-assets/cfn-extras/skills/google-sheets-decomposition/decompose.sh +0 -313
  306. package/claude-assets/cfn-extras/skills/google-sheets-formula-builder/SKILL.md +0 -237
  307. package/claude-assets/cfn-extras/skills/google-sheets-formula-builder/build-formula.sh +0 -220
  308. package/claude-assets/cfn-extras/skills/google-sheets-formula-builder/test.sh +0 -172
  309. package/claude-assets/cfn-extras/skills/google-sheets-formula-builder/validate.sh +0 -98
  310. package/claude-assets/cfn-extras/skills/google-sheets-progress/SKILL.md +0 -287
  311. package/claude-assets/cfn-extras/skills/google-sheets-progress/test.sh +0 -385
  312. package/claude-assets/cfn-extras/skills/google-sheets-progress/track-progress.sh +0 -516
  313. package/claude-assets/cfn-extras/skills/google-sheets-progress/validate.sh +0 -119
  314. package/claude-assets/cfn-extras/skills/google-sheets-sprint-order/SKILL.md +0 -277
  315. package/claude-assets/cfn-extras/skills/google-sheets-sprint-order/order-sprints.sh +0 -233
  316. package/claude-assets/cfn-extras/skills/google-sheets-validation/SKILL.md +0 -352
  317. package/claude-assets/cfn-extras/skills/google-sheets-validation/test.sh +0 -355
  318. package/claude-assets/cfn-extras/skills/google-sheets-validation/validate-state.sh +0 -374
  319. package/claude-assets/cfn-extras/skills/google-sheets-validation/validate.sh +0 -128
  320. package/claude-assets/cfn-extras/skills/marketing/cfn-marketing-ad-campaigns/SKILL.md +0 -392
  321. package/claude-assets/cfn-extras/skills/marketing/cfn-marketing-ad-campaigns/operations/create-campaign.sh +0 -231
  322. package/claude-assets/cfn-extras/skills/marketing/cfn-marketing-ad-campaigns/operations/get-campaign-performance.sh +0 -190
  323. package/claude-assets/cfn-extras/skills/marketing/cfn-marketing-ad-campaigns/operations/pause-campaign.sh +0 -142
  324. package/claude-assets/cfn-extras/skills/marketing/cfn-marketing-ad-campaigns/operations/set-budget.sh +0 -181
  325. package/claude-assets/cfn-extras/skills/marketing/cfn-marketing-ad-campaigns/operations/update-bid-strategy.sh +0 -133
  326. package/claude-assets/cfn-extras/skills/marketing/cfn-marketing-analytics-data/SKILL.md +0 -124
  327. package/claude-assets/cfn-extras/skills/marketing/cfn-marketing-analytics-data/operations/get-ad-performance.sh +0 -105
  328. package/claude-assets/cfn-extras/skills/marketing/cfn-marketing-analytics-data/operations/get-conversion-funnel.sh +0 -102
  329. package/claude-assets/cfn-extras/skills/marketing/cfn-marketing-analytics-data/operations/get-email-performance.sh +0 -105
  330. package/claude-assets/cfn-extras/skills/marketing/cfn-marketing-analytics-data/operations/get-social-engagement.sh +0 -105
  331. package/claude-assets/cfn-extras/skills/marketing/cfn-marketing-analytics-data/operations/get-website-traffic.sh +0 -107
  332. package/claude-assets/cfn-extras/skills/marketing/cfn-marketing-chatbot-conversations/SKILL.md +0 -340
  333. package/claude-assets/cfn-extras/skills/marketing/cfn-marketing-chatbot-conversations/operations/get-conversation-history.sh +0 -121
  334. package/claude-assets/cfn-extras/skills/marketing/cfn-marketing-chatbot-conversations/operations/qualify-lead.sh +0 -156
  335. package/claude-assets/cfn-extras/skills/marketing/cfn-marketing-chatbot-conversations/operations/schedule-demo.sh +0 -181
  336. package/claude-assets/cfn-extras/skills/marketing/cfn-marketing-chatbot-conversations/operations/send-message.sh +0 -137
  337. package/claude-assets/cfn-extras/skills/marketing/cfn-marketing-chatbot-conversations/operations/transfer-to-human.sh +0 -179
  338. package/claude-assets/cfn-extras/skills/marketing/cfn-marketing-competitive-intel/SKILL.md +0 -350
  339. package/claude-assets/cfn-extras/skills/marketing/cfn-marketing-competitive-intel/operations/get-backlink-profile.sh +0 -154
  340. package/claude-assets/cfn-extras/skills/marketing/cfn-marketing-competitive-intel/operations/get-keyword-rankings.sh +0 -173
  341. package/claude-assets/cfn-extras/skills/marketing/cfn-marketing-competitive-intel/operations/get-trending-topics.sh +0 -147
  342. package/claude-assets/cfn-extras/skills/marketing/cfn-marketing-competitive-intel/operations/monitor-competitor.sh +0 -146
  343. package/claude-assets/cfn-extras/skills/marketing/cfn-marketing-competitive-intel/operations/search-brand-mentions.sh +0 -167
  344. package/claude-assets/cfn-extras/skills/marketing/cfn-marketing-crm-contacts/SKILL.md +0 -116
  345. package/claude-assets/cfn-extras/skills/marketing/cfn-marketing-crm-contacts/operations/add-to-segment.sh +0 -78
  346. package/claude-assets/cfn-extras/skills/marketing/cfn-marketing-crm-contacts/operations/create-contact.sh +0 -113
  347. package/claude-assets/cfn-extras/skills/marketing/cfn-marketing-crm-contacts/operations/get-contact.sh +0 -86
  348. package/claude-assets/cfn-extras/skills/marketing/cfn-marketing-crm-contacts/operations/remove-from-segment.sh +0 -78
  349. package/claude-assets/cfn-extras/skills/marketing/cfn-marketing-crm-contacts/operations/update-contact.sh +0 -120
  350. package/claude-assets/cfn-extras/skills/marketing/cfn-marketing-email-campaigns/SKILL.md +0 -106
  351. package/claude-assets/cfn-extras/skills/marketing/cfn-marketing-email-campaigns/operations/create-campaign.sh +0 -123
  352. package/claude-assets/cfn-extras/skills/marketing/cfn-marketing-email-campaigns/operations/get-campaign-stats.sh +0 -66
  353. package/claude-assets/cfn-extras/skills/marketing/cfn-marketing-email-campaigns/operations/list-templates.sh +0 -68
  354. package/claude-assets/cfn-extras/skills/marketing/cfn-marketing-email-campaigns/operations/schedule-campaign.sh +0 -85
  355. package/claude-assets/cfn-extras/skills/marketing/cfn-marketing-email-campaigns/operations/send-test-email.sh +0 -81
  356. package/claude-assets/cfn-extras/skills/marketing/cfn-marketing-landing-pages/SKILL.md +0 -366
  357. package/claude-assets/cfn-extras/skills/marketing/cfn-marketing-landing-pages/operations/create-ab-test.sh +0 -231
  358. package/claude-assets/cfn-extras/skills/marketing/cfn-marketing-landing-pages/operations/create-landing-page.sh +0 -190
  359. package/claude-assets/cfn-extras/skills/marketing/cfn-marketing-landing-pages/operations/get-page-performance.sh +0 -137
  360. package/claude-assets/cfn-extras/skills/marketing/cfn-marketing-landing-pages/operations/publish-page.sh +0 -120
  361. package/claude-assets/cfn-extras/skills/marketing/cfn-marketing-landing-pages/operations/unpublish-page.sh +0 -108
  362. package/claude-assets/cfn-extras/skills/marketing/cfn-marketing-media-monitoring/SKILL.md +0 -202
  363. package/claude-assets/cfn-extras/skills/marketing/cfn-marketing-media-monitoring/operations/create-crisis-alert.sh +0 -104
  364. package/claude-assets/cfn-extras/skills/marketing/cfn-marketing-media-monitoring/operations/export-report.sh +0 -92
  365. package/claude-assets/cfn-extras/skills/marketing/cfn-marketing-media-monitoring/operations/get-sentiment-analysis.sh +0 -85
  366. package/claude-assets/cfn-extras/skills/marketing/cfn-marketing-media-monitoring/operations/search-mentions.sh +0 -86
  367. package/claude-assets/cfn-extras/skills/marketing/cfn-marketing-media-outreach/SKILL.md +0 -168
  368. package/claude-assets/cfn-extras/skills/marketing/cfn-marketing-media-outreach/operations/search-journalists.sh +0 -74
  369. package/claude-assets/cfn-extras/skills/marketing/cfn-marketing-media-outreach/operations/send-pitch.sh +0 -80
  370. package/claude-assets/cfn-extras/skills/marketing/cfn-marketing-media-outreach/operations/submit-haro-response.sh +0 -88
  371. package/claude-assets/cfn-extras/skills/marketing/cfn-marketing-media-outreach/operations/track-pitch-engagement.sh +0 -66
  372. package/claude-assets/cfn-extras/skills/marketing/cfn-marketing-press-distribution/SKILL.md +0 -159
  373. package/claude-assets/cfn-extras/skills/marketing/cfn-marketing-press-distribution/operations/distribute-press-release.sh +0 -94
  374. package/claude-assets/cfn-extras/skills/marketing/cfn-marketing-press-distribution/operations/get-distribution-status.sh +0 -59
  375. package/claude-assets/cfn-extras/skills/marketing/cfn-marketing-press-distribution/operations/get-pickup-metrics.sh +0 -72
  376. package/claude-assets/cfn-extras/skills/marketing/cfn-marketing-press-distribution/operations/list-templates.sh +0 -53
  377. package/claude-assets/cfn-extras/skills/marketing/cfn-marketing-sms-campaigns/SKILL.md +0 -429
  378. package/claude-assets/cfn-extras/skills/marketing/cfn-marketing-sms-campaigns/operations/create-campaign.sh +0 -183
  379. package/claude-assets/cfn-extras/skills/marketing/cfn-marketing-sms-campaigns/operations/get-delivery-status.sh +0 -139
  380. package/claude-assets/cfn-extras/skills/marketing/cfn-marketing-sms-campaigns/operations/opt-out.sh +0 -150
  381. package/claude-assets/cfn-extras/skills/marketing/cfn-marketing-sms-campaigns/operations/schedule-campaign.sh +0 -187
  382. package/claude-assets/cfn-extras/skills/marketing/cfn-marketing-sms-campaigns/operations/send-sms.sh +0 -181
  383. package/claude-assets/cfn-extras/skills/marketing/cfn-marketing-social-publishing/SKILL.md +0 -108
  384. package/claude-assets/cfn-extras/skills/marketing/cfn-marketing-social-publishing/operations/create-post.sh +0 -104
  385. package/claude-assets/cfn-extras/skills/marketing/cfn-marketing-social-publishing/operations/delete-post.sh +0 -76
  386. package/claude-assets/cfn-extras/skills/marketing/cfn-marketing-social-publishing/operations/get-post-stats.sh +0 -66
  387. package/claude-assets/cfn-extras/skills/marketing/cfn-marketing-social-publishing/operations/schedule-post.sh +0 -85
  388. package/claude-assets/cfn-extras/skills/marketing/cfn-marketing-social-publishing/operations/upload-media.sh +0 -88
  389. package/claude-assets/cfn-extras/skills/ui-portal/cfn-web-portal/DESIGN.md +0 -117
  390. package/claude-assets/cfn-extras/skills/ui-portal/cfn-web-portal/SKILL.md +0 -679
  391. package/claude-assets/cfn-extras/skills/ui-portal/cfn-web-portal/invoke-portal-agents.sh +0 -129
  392. package/claude-assets/cfn-extras/skills/ui-portal/cfn-web-portal/invoke-portal-dashboard.sh +0 -85
  393. package/claude-assets/cfn-extras/skills/ui-portal/cfn-web-portal/invoke-portal-events.sh +0 -125
  394. package/claude-assets/cfn-extras/skills/ui-portal/cfn-web-portal/invoke-portal-metrics.sh +0 -112
  395. package/claude-assets/cfn-extras/skills/ui-portal/cfn-web-portal/invoke-portal-start.sh +0 -135
  396. package/claude-assets/cfn-extras/skills/ui-portal/cfn-web-portal/invoke-portal-stop.sh +0 -121
  397. package/claude-assets/cfn-extras/skills/ui-portal/cfn-web-portal/test-web-portal-skill.sh +0 -51
  398. package/claude-assets/cfn-extras/skills/ui-portal/cfn-web-portal/validate-deployment.sh +0 -85
  399. package/claude-assets/cfn-extras/skills/utility/cfn-environment-sanitization/SKILL.md +0 -200
  400. package/claude-assets/cfn-extras/skills/utility/cfn-environment-sanitization/sanitize-environment.sh +0 -244
  401. package/claude-assets/cfn-extras/skills/utility/cfn-process-instrumentation/SKILL.md +0 -279
  402. package/claude-assets/cfn-extras/skills/utility/cfn-process-instrumentation/instrument-process.sh +0 -327
  403. package/claude-assets/cfn-extras/workflows/marketing-ad-campaigns.json +0 -125
  404. package/claude-assets/cfn-extras/workflows/marketing-analytics-data.json +0 -93
  405. package/claude-assets/cfn-extras/workflows/marketing-chatbot-conversations.json +0 -89
  406. package/claude-assets/cfn-extras/workflows/marketing-competitive-intel.json +0 -140
  407. package/claude-assets/cfn-extras/workflows/marketing-crm-contacts.json +0 -86
  408. package/claude-assets/cfn-extras/workflows/marketing-email-campaigns.json +0 -86
  409. package/claude-assets/cfn-extras/workflows/marketing-landing-pages.json +0 -137
  410. package/claude-assets/cfn-extras/workflows/marketing-media-outreach.json +0 -211
  411. package/claude-assets/cfn-extras/workflows/marketing-press-distribution.json +0 -224
  412. package/claude-assets/cfn-extras/workflows/marketing-sms-campaigns.json +0 -81
  413. package/claude-assets/cfn-extras/workflows/marketing-social-publishing.json +0 -86
  414. package/claude-assets/commands/README.md +0 -205
  415. package/claude-assets/commands/cfn-docker/CFN_DOCKER_CLI.md +0 -527
  416. package/claude-assets/commands/cfn-docker/CFN_DOCKER_LOOP.md +0 -377
  417. package/claude-assets/commands/cfn-docker/CFN_DOCKER_NATIVE.md +0 -295
  418. package/claude-assets/commands/cfn-docker/CFN_DOCKER_TASK.md +0 -490
  419. package/claude-assets/commands/cfn-loop/CFN_LOOP_FRONTEND.md +0 -741
  420. package/claude-assets/commands/cfn-loop/CFN_LOOP_TASK_MODE.md +0 -608
  421. package/claude-assets/commands/cfn-loop/cfn-loop-cli.md +0 -308
  422. package/claude-assets/commands/cfn-loop/cfn-loop-document.md +0 -499
  423. package/claude-assets/commands/cfn-loop/cfn-loop-trigger.md +0 -132
  424. package/claude-assets/commands/cfn-loop/cfn-mode.md +0 -20
  425. package/claude-assets/commands/cfn-loop/cfn-optimize-agents.md +0 -103
  426. package/claude-assets/commands/cfn-loop/list-agents-rebuild.md +0 -205
  427. package/claude-assets/commands/cfn-ruvector/codebase-reindex.md +0 -37
  428. package/claude-assets/commands/cfn-ruvector/codebase-search.md +0 -38
  429. package/claude-assets/commands/cfn-ruvector/detect-stale-docs.md +0 -41
  430. package/claude-assets/commands/cost-routing/switch-api.md +0 -109
  431. package/claude-assets/commands/deprecated/README.md +0 -24
  432. package/claude-assets/commands/deprecated/github.md +0 -221
  433. package/claude-assets/commands/deprecated/hello-world-tests.md +0 -381
  434. package/claude-assets/commands/deprecated/run-tests.md +0 -119
  435. package/claude-assets/commands/google-sheets/google-sheets-loop.md +0 -289
  436. package/claude-assets/commands/sparc.md +0 -46
  437. package/claude-assets/commands/testing/cfn-docker-core-test-suite.md +0 -326
  438. package/claude-assets/commands/workflow.md +0 -295
  439. package/claude-assets/commands/write-plan.md +0 -275
  440. package/claude-assets/hooks/GIT-HOOKS-USAGE-EXAMPLES.md +0 -116
  441. package/claude-assets/hooks/README-GIT-HOOKS.md +0 -443
  442. package/claude-assets/hooks/SKILL.md +0 -518
  443. package/claude-assets/hooks/SKILL.md.backup +0 -471
  444. package/claude-assets/hooks/cfn-BACKUP_USAGE.md +0 -243
  445. package/claude-assets/hooks/cfn-invoke-post-edit-ts.sh +0 -100
  446. package/claude-assets/hooks/cfn-invoke-post-edit-ts.sh.backup +0 -78
  447. package/claude-assets/hooks/cfn-invoke-post-edit.sh +0 -135
  448. package/claude-assets/hooks/cfn-invoke-post-edit.sh.backup +0 -87
  449. package/claude-assets/hooks/cfn-invoke-pre-edit-ts.sh +0 -116
  450. package/claude-assets/hooks/cfn-invoke-pre-edit-ts.sh.backup +0 -94
  451. package/claude-assets/hooks/cfn-invoke-pre-edit.sh +0 -110
  452. package/claude-assets/hooks/cfn-invoke-pre-edit.sh.backup +0 -88
  453. package/claude-assets/hooks/cfn-invoke-security-validation.sh +0 -70
  454. package/claude-assets/hooks/cfn-lint-sql-injection.sh +0 -61
  455. package/claude-assets/hooks/cfn-post-edit-cfn-retrospective.sh +0 -110
  456. package/claude-assets/hooks/cfn-post-edit.config.json +0 -51
  457. package/claude-assets/hooks/cfn-post-edit.sh +0 -21
  458. package/claude-assets/hooks/cfn-post-execution/memory-cleanup.sh +0 -20
  459. package/claude-assets/hooks/cfn-pre-edit-backup.sh +0 -71
  460. package/claude-assets/hooks/cfn-pre-edit-security-warning.sh +0 -40
  461. package/claude-assets/hooks/cfn-pre-execution/SESSION_START_README.md +0 -87
  462. package/claude-assets/hooks/cfn-pre-execution/TEST_SESSION_START.md +0 -128
  463. package/claude-assets/hooks/cfn-pre-execution/memory-check.sh +0 -20
  464. package/claude-assets/hooks/cfn-pre-execution/session-start-context.sh +0 -111
  465. package/claude-assets/hooks/cfn-restore-from-backup.sh +0 -37
  466. package/claude-assets/hooks/detect-hardcoded-credentials.sh +0 -212
  467. package/claude-assets/hooks/install-git-hooks.sh +0 -243
  468. package/claude-assets/hooks/post-commit-codebase-index +0 -75
  469. package/claude-assets/hooks/subagent-stop.sh +0 -93
  470. package/claude-assets/hooks/validators/credential-scanner.sh +0 -172
  471. package/claude-assets/root-claude-distribute/CFN-CLAUDE.md +0 -513
  472. package/claude-assets/skills/SKILL_TEMPLATE.md +0 -774
  473. package/claude-assets/skills/cfn-agent-lifecycle/SKILL.md +0 -290
  474. package/claude-assets/skills/cfn-agent-lifecycle/cli/lifecycle-hook.sh +0 -5
  475. package/claude-assets/skills/cfn-agent-lifecycle/cli/select-agents.sh +0 -5
  476. package/claude-assets/skills/cfn-agent-lifecycle/cli/spawn-agent.sh +0 -5
  477. package/claude-assets/skills/cfn-agent-lifecycle/lib/audit/execute-lifecycle-hook.sh +0 -544
  478. package/claude-assets/skills/cfn-agent-lifecycle/lib/audit/simple-audit.sh +0 -58
  479. package/claude-assets/skills/cfn-agent-lifecycle/lib/output/README.md +0 -359
  480. package/claude-assets/skills/cfn-agent-lifecycle/lib/selection/SKILL.md +0 -29
  481. package/claude-assets/skills/cfn-agent-lifecycle/lib/selection/agent-mappings.json +0 -142
  482. package/claude-assets/skills/cfn-agent-lifecycle/lib/selection/dist/agent-selector.cjs +0 -297
  483. package/claude-assets/skills/cfn-agent-lifecycle/lib/selection/dist/agent-selector.js +0 -297
  484. package/claude-assets/skills/cfn-agent-lifecycle/lib/selection/dist/cli.cjs +0 -96
  485. package/claude-assets/skills/cfn-agent-lifecycle/lib/selection/dist/cli.js +0 -96
  486. package/claude-assets/skills/cfn-agent-lifecycle/lib/selection/select-agents-with-fallback.sh +0 -195
  487. package/claude-assets/skills/cfn-agent-lifecycle/lib/selection/select-agents.sh +0 -94
  488. package/claude-assets/skills/cfn-agent-lifecycle/lib/selection/task-classifier.sh +0 -93
  489. package/claude-assets/skills/cfn-agent-lifecycle/lib/spawning/SKILL.md +0 -38
  490. package/claude-assets/skills/cfn-agent-lifecycle/lib/spawning/check-dependencies.sh +0 -52
  491. package/claude-assets/skills/cfn-agent-lifecycle/lib/spawning/execute-agent.sh +0 -126
  492. package/claude-assets/skills/cfn-agent-lifecycle/lib/spawning/get-agent-provider-env.sh +0 -149
  493. package/claude-assets/skills/cfn-agent-lifecycle/lib/spawning/parse-agent-provider.sh +0 -81
  494. package/claude-assets/skills/cfn-agent-lifecycle/lib/spawning/spawn-agent-wrapper.sh +0 -63
  495. package/claude-assets/skills/cfn-agent-lifecycle/lib/spawning/spawn-agent.sh +0 -308
  496. package/claude-assets/skills/cfn-agent-lifecycle/lib/spawning/spawn-templates.sh +0 -635
  497. package/claude-assets/skills/cfn-agent-lifecycle/lib/spawning/spawn-worker.sh +0 -198
  498. package/claude-assets/skills/cfn-agent-tooling/SKILL.md +0 -52
  499. package/claude-assets/skills/cfn-agent-tooling/lib/generator/SKILL.md +0 -440
  500. package/claude-assets/skills/cfn-agent-tooling/lib/generator/generate-agent.sh +0 -405
  501. package/claude-assets/skills/cfn-agent-tooling/lib/linter/SKILL.md +0 -589
  502. package/claude-assets/skills/cfn-agent-tooling/lib/linter/lint-agents.sh +0 -271
  503. package/claude-assets/skills/cfn-cerebras-mcp/SKILL.md +0 -58
  504. package/claude-assets/skills/cfn-config/SKILL.md +0 -52
  505. package/claude-assets/skills/cfn-config/lib/management/README.md +0 -42
  506. package/claude-assets/skills/cfn-config/lib/management/SKILL.md +0 -34
  507. package/claude-assets/skills/cfn-config/lib/management/check-dependencies.sh +0 -56
  508. package/claude-assets/skills/cfn-config/lib/management/config.json +0 -32
  509. package/claude-assets/skills/cfn-config/lib/management/manage-config.sh +0 -113
  510. package/claude-assets/skills/cfn-config/lib/sanitization/sanitize-environment.sh +0 -48
  511. package/claude-assets/skills/cfn-conversation-sync/README.md +0 -133
  512. package/claude-assets/skills/cfn-conversation-sync/SKILL.md +0 -82
  513. package/claude-assets/skills/cfn-conversation-sync/sync-conversations.sh +0 -229
  514. package/claude-assets/skills/cfn-dependency-management/SKILL.md +0 -60
  515. package/claude-assets/skills/cfn-dependency-management/lib/extractor/SKILL.md +0 -35
  516. package/claude-assets/skills/cfn-dependency-management/lib/extractor/extract-dependencies.sh +0 -66
  517. package/claude-assets/skills/cfn-dependency-management/lib/ingestion/README.md +0 -101
  518. package/claude-assets/skills/cfn-dependency-management/lib/ingestion/SKILL.md +0 -397
  519. package/claude-assets/skills/cfn-dependency-management/lib/ingestion/build.sh +0 -23
  520. package/claude-assets/skills/cfn-dependency-management/lib/ingestion/dist/ingest-dependencies.js +0 -478
  521. package/claude-assets/skills/cfn-dependency-management/lib/ingestion/ingest-dependencies.sh +0 -295
  522. package/claude-assets/skills/cfn-dependency-management/lib/ingestion/ingest.sh +0 -237
  523. package/claude-assets/skills/cfn-dependency-management/lib/ingestion/manifests/cli-mode-dependencies.txt +0 -219
  524. package/claude-assets/skills/cfn-dependency-management/lib/ingestion/manifests/shared-dependencies.txt +0 -57
  525. package/claude-assets/skills/cfn-dependency-management/lib/ingestion/manifests/trigger-dev-dependencies.txt +0 -82
  526. package/claude-assets/skills/cfn-dependency-management/lib/ingestion/manifests/trigger-mode-dependencies.txt +0 -80
  527. package/claude-assets/skills/cfn-deployment-lifecycle/SKILL.md +0 -53
  528. package/claude-assets/skills/cfn-deployment-lifecycle/lib/deployment/SKILL.md +0 -293
  529. package/claude-assets/skills/cfn-deployment-lifecycle/lib/deployment/execute.sh +0 -21
  530. package/claude-assets/skills/cfn-deployment-lifecycle/lib/promotion/SKILL.md +0 -305
  531. package/claude-assets/skills/cfn-docker-runtime/SKILL.md +0 -84
  532. package/claude-assets/skills/cfn-docker-runtime/lib/build/SKILL.md +0 -96
  533. package/claude-assets/skills/cfn-docker-runtime/lib/build/build.sh +0 -73
  534. package/claude-assets/skills/cfn-docker-runtime/lib/coordination/README.md +0 -349
  535. package/claude-assets/skills/cfn-docker-runtime/lib/coordination/docker-helpers.sh +0 -433
  536. package/claude-assets/skills/cfn-docker-runtime/lib/coordination/package.json +0 -38
  537. package/claude-assets/skills/cfn-docker-runtime/lib/logging/INTEGRATION.md +0 -268
  538. package/claude-assets/skills/cfn-docker-runtime/lib/logging/SAMPLE_OUTPUTS.md +0 -237
  539. package/claude-assets/skills/cfn-docker-runtime/lib/logging/SKILL.md +0 -442
  540. package/claude-assets/skills/cfn-docker-runtime/lib/logging/capture-container-logs.sh +0 -120
  541. package/claude-assets/skills/cfn-docker-runtime/lib/logging/enable-logging.sh +0 -430
  542. package/claude-assets/skills/cfn-docker-runtime/lib/logging/init-hybrid-logging.sh +0 -210
  543. package/claude-assets/skills/cfn-docker-runtime/lib/logging/queries/analytics-summary.sh +0 -87
  544. package/claude-assets/skills/cfn-docker-runtime/lib/logging/queries/query-agent-timeline.sh +0 -51
  545. package/claude-assets/skills/cfn-docker-runtime/lib/logging/queries/query-consensus-history.sh +0 -56
  546. package/claude-assets/skills/cfn-docker-runtime/lib/logging/queries/query-coordination-timeline.sh +0 -39
  547. package/claude-assets/skills/cfn-docker-runtime/lib/logging/queries/query-failed-containers.sh +0 -40
  548. package/claude-assets/skills/cfn-docker-runtime/lib/logging/queries/query-gate-checks.sh +0 -39
  549. package/claude-assets/skills/cfn-docker-runtime/lib/logging/schema.sql +0 -111
  550. package/claude-assets/skills/cfn-docker-runtime/lib/logging/sqlite-helpers.sh +0 -240
  551. package/claude-assets/skills/cfn-docker-runtime/lib/logging/test-hybrid-logging.sh +0 -331
  552. package/claude-assets/skills/cfn-docker-runtime/lib/mcp/SKILL.md +0 -555
  553. package/claude-assets/skills/cfn-docker-runtime/lib/mcp/skill-mcp-selector.js +0 -472
  554. package/claude-assets/skills/cfn-docker-runtime/lib/orchestration/SKILL.md +0 -449
  555. package/claude-assets/skills/cfn-docker-runtime/lib/orchestration/orchestrate.sh +0 -1722
  556. package/claude-assets/skills/cfn-docker-runtime/lib/spawning/SKILL.md +0 -418
  557. package/claude-assets/skills/cfn-docker-runtime/lib/spawning/spawn-agent.sh +0 -569
  558. package/claude-assets/skills/cfn-docker-runtime/lib/waves/SKILL.md +0 -944
  559. package/claude-assets/skills/cfn-docker-runtime/lib/waves/cleanup-wave.sh +0 -445
  560. package/claude-assets/skills/cfn-docker-runtime/lib/waves/lib/docker-helpers.sh +0 -804
  561. package/claude-assets/skills/cfn-docker-runtime/lib/waves/monitor-wave.sh +0 -485
  562. package/claude-assets/skills/cfn-docker-runtime/lib/waves/spawn-wave.sh +0 -547
  563. package/claude-assets/skills/cfn-edit-safety/SKILL.md +0 -62
  564. package/claude-assets/skills/cfn-edit-safety/lib/backup/SKILL.md +0 -324
  565. package/claude-assets/skills/cfn-edit-safety/lib/backup/SKILL.md.backup +0 -277
  566. package/claude-assets/skills/cfn-edit-safety/lib/backup/backup.sh +0 -129
  567. package/claude-assets/skills/cfn-edit-safety/lib/backup/backup.sh.backup +0 -107
  568. package/claude-assets/skills/cfn-edit-safety/lib/hooks/README.md +0 -74
  569. package/claude-assets/skills/cfn-edit-safety/lib/hooks/SKILL.md +0 -148
  570. package/claude-assets/skills/cfn-edit-safety/lib/hooks/auto-resolve.sh +0 -66
  571. package/claude-assets/skills/cfn-edit-safety/lib/hooks/check-dependencies.sh +0 -40
  572. package/claude-assets/skills/cfn-edit-safety/lib/hooks/feedback-resolver.sh +0 -452
  573. package/claude-assets/skills/cfn-edit-safety/lib/hooks/post-edit-handler.sh +0 -154
  574. package/claude-assets/skills/cfn-edit-safety/lib/hooks/security-scan.json +0 -60
  575. package/claude-assets/skills/cfn-edit-safety/lib/hooks/security-scanner.sh +0 -121
  576. package/claude-assets/skills/cfn-edit-safety/lib/hooks/test-root-warning-resolution.sh +0 -148
  577. package/claude-assets/skills/cfn-epic-parser/SKILL.md +0 -55
  578. package/claude-assets/skills/cfn-error-management/SKILL.md +0 -176
  579. package/claude-assets/skills/cfn-error-management/cli/batch-errors.sh +0 -4
  580. package/claude-assets/skills/cfn-error-management/cli/capture-error.sh +0 -4
  581. package/claude-assets/skills/cfn-error-management/cli/log-error.sh +0 -4
  582. package/claude-assets/skills/cfn-error-management/lib/batching/README.md +0 -1016
  583. package/claude-assets/skills/cfn-error-management/lib/batching/analyze-errors.sh +0 -327
  584. package/claude-assets/skills/cfn-error-management/lib/batching/calculate-waves.sh +0 -256
  585. package/claude-assets/skills/cfn-error-management/lib/batching/cli.sh +0 -523
  586. package/claude-assets/skills/cfn-error-management/lib/batching/cluster-files.sh +0 -196
  587. package/claude-assets/skills/cfn-error-management/lib/batching/create-batches.sh +0 -261
  588. package/claude-assets/skills/cfn-error-management/lib/capture/README.md +0 -56
  589. package/claude-assets/skills/cfn-error-management/lib/capture/capture-agent-error.sh +0 -87
  590. package/claude-assets/skills/cfn-error-management/lib/logging/README.md +0 -339
  591. package/claude-assets/skills/cfn-error-management/lib/logging/cleanup-error-logs.sh +0 -334
  592. package/claude-assets/skills/cfn-error-management/lib/logging/integrate-cli.sh +0 -232
  593. package/claude-assets/skills/cfn-error-management/lib/logging/integrate-docker.sh +0 -294
  594. package/claude-assets/skills/cfn-error-management/lib/logging/invoke-error-logging.sh +0 -839
  595. package/claude-assets/skills/cfn-error-management/lib/logging/test-error-logging.sh +0 -475
  596. package/claude-assets/skills/cfn-expert-update/SKILL.md +0 -24
  597. package/claude-assets/skills/cfn-expert-update/update-expert.sh +0 -346
  598. package/claude-assets/skills/cfn-github-workflow/SKILL.md +0 -70
  599. package/claude-assets/skills/cfn-intervention-system/SKILL.md +0 -52
  600. package/claude-assets/skills/cfn-intervention-system/lib/detector/SKILL.md +0 -39
  601. package/claude-assets/skills/cfn-intervention-system/lib/detector/detect-intervention.sh +0 -111
  602. package/claude-assets/skills/cfn-intervention-system/lib/orchestrator/SKILL.md +0 -43
  603. package/claude-assets/skills/cfn-intervention-system/lib/orchestrator/execute-intervention.sh +0 -59
  604. package/claude-assets/skills/cfn-knowledge-base/SKILL.md +0 -61
  605. package/claude-assets/skills/cfn-knowledge-base/lib/playbook/SKILL.md +0 -153
  606. package/claude-assets/skills/cfn-knowledge-base/lib/playbook/init-playbook.sh +0 -54
  607. package/claude-assets/skills/cfn-knowledge-base/lib/playbook/lib/auto-update/auto-update-playbook.sh +0 -86
  608. package/claude-assets/skills/cfn-knowledge-base/lib/playbook/query-playbook.sh +0 -83
  609. package/claude-assets/skills/cfn-knowledge-base/lib/playbook/update-playbook.sh +0 -80
  610. package/claude-assets/skills/cfn-knowledge-base/lib/workflow/APPROVAL_WORKFLOW.md +0 -806
  611. package/claude-assets/skills/cfn-knowledge-base/lib/workflow/COST_TRACKING.md +0 -637
  612. package/claude-assets/skills/cfn-knowledge-base/lib/workflow/DEPLOY_QUICK_REFERENCE.md +0 -106
  613. package/claude-assets/skills/cfn-knowledge-base/lib/workflow/EDGE_CASE_TRACKING.md +0 -404
  614. package/claude-assets/skills/cfn-knowledge-base/lib/workflow/PROPAGATE_UPDATE_QUICK_REFERENCE.md +0 -366
  615. package/claude-assets/skills/cfn-knowledge-base/lib/workflow/README_PHASE4.md +0 -457
  616. package/claude-assets/skills/cfn-knowledge-base/lib/workflow/SKILL.md +0 -110
  617. package/claude-assets/skills/cfn-knowledge-base/lib/workflow/analyze-patterns.sh +0 -899
  618. package/claude-assets/skills/cfn-knowledge-base/lib/workflow/approval-workflow.sh +0 -514
  619. package/claude-assets/skills/cfn-knowledge-base/lib/workflow/deploy-approved-skill.sh +0 -481
  620. package/claude-assets/skills/cfn-knowledge-base/lib/workflow/deploy-approved-skill.sh.backup-1763392820 +0 -512
  621. package/claude-assets/skills/cfn-knowledge-base/lib/workflow/generate-skill-update.sh +0 -525
  622. package/claude-assets/skills/cfn-knowledge-base/lib/workflow/lib/security-utils.sh +0 -204
  623. package/claude-assets/skills/cfn-knowledge-base/lib/workflow/package.json +0 -30
  624. package/claude-assets/skills/cfn-knowledge-base/lib/workflow/propagate-skill-update.sh +0 -648
  625. package/claude-assets/skills/cfn-knowledge-base/lib/workflow/propagate-skill-update.sh.backup-1763392820 +0 -664
  626. package/claude-assets/skills/cfn-knowledge-base/lib/workflow/review-skill.sh +0 -643
  627. package/claude-assets/skills/cfn-knowledge-base/lib/workflow/test-integration.sh +0 -296
  628. package/claude-assets/skills/cfn-knowledge-base/lib/workflow/test-metadata-update.sh +0 -350
  629. package/claude-assets/skills/cfn-knowledge-base/lib/workflow/track-cost-savings.sh +0 -486
  630. package/claude-assets/skills/cfn-knowledge-base/lib/workflow/track-cost-savings.sh.backup-1763392821 +0 -445
  631. package/claude-assets/skills/cfn-knowledge-base/lib/workflow/track-edge-case.sh +0 -290
  632. package/claude-assets/skills/cfn-loop-orchestration-v2/SKILL.md +0 -57
  633. package/claude-assets/skills/cfn-loop-orchestration-v2/lib/coordination/agent-completion.sh.backup +0 -36
  634. package/claude-assets/skills/cfn-loop-orchestration-v2/lib/coordination/coordination-signal.sh.backup +0 -36
  635. package/claude-assets/skills/cfn-loop-orchestration-v2/lib/coordination/coordination-wait.sh.backup +0 -36
  636. package/claude-assets/skills/cfn-loop-orchestration-v2/lib/decision/SKILL.md +0 -664
  637. package/claude-assets/skills/cfn-loop-orchestration-v2/lib/decision/TYPESCRIPT_IMPLEMENTATION.md +0 -653
  638. package/claude-assets/skills/cfn-loop-orchestration-v2/lib/decision/parse-decision.sh +0 -66
  639. package/claude-assets/skills/cfn-loop-orchestration-v2/lib/decision/test-backlog-integration.sh +0 -148
  640. package/claude-assets/skills/cfn-loop-orchestration-v2/lib/decision/validate-deliverables.sh +0 -82
  641. package/claude-assets/skills/cfn-loop-orchestration-v2/lib/orchestrator/CONFIGURATION_IMPROVEMENTS.md +0 -318
  642. package/claude-assets/skills/cfn-loop-orchestration-v2/lib/orchestrator/CONTEXT_LOOKUP_QUICK_START.md +0 -378
  643. package/claude-assets/skills/cfn-loop-orchestration-v2/lib/orchestrator/NORTH_STAR_INDEX.md +0 -323
  644. package/claude-assets/skills/cfn-loop-orchestration-v2/lib/orchestrator/ORCHESTRATOR_IMPLEMENTATION.md +0 -493
  645. package/claude-assets/skills/cfn-loop-orchestration-v2/lib/orchestrator/ORCHESTRATOR_QUICK_START.md +0 -499
  646. package/claude-assets/skills/cfn-loop-orchestration-v2/lib/orchestrator/README.md +0 -149
  647. package/claude-assets/skills/cfn-loop-orchestration-v2/lib/orchestrator/SKILL.md +0 -418
  648. package/claude-assets/skills/cfn-loop-orchestration-v2/lib/orchestrator/SPAWN_AGENTS_IMPLEMENTATION.md +0 -188
  649. package/claude-assets/skills/cfn-loop-orchestration-v2/lib/orchestrator/VALIDATION_SUMMARY.txt +0 -196
  650. package/claude-assets/skills/cfn-loop-orchestration-v2/lib/orchestrator/VALIDATOR_MODULE_GUIDE.md +0 -526
  651. package/claude-assets/skills/cfn-loop-orchestration-v2/lib/orchestrator/dist/agent-spawner/agent-spawner.d.ts +0 -15
  652. package/claude-assets/skills/cfn-loop-orchestration-v2/lib/orchestrator/dist/agent-spawner/agent-spawner.js +0 -29
  653. package/claude-assets/skills/cfn-loop-orchestration-v2/lib/orchestrator/dist/cli/orchestrator-cli.d.ts +0 -49
  654. package/claude-assets/skills/cfn-loop-orchestration-v2/lib/orchestrator/dist/cli/orchestrator-cli.js +0 -339
  655. package/claude-assets/skills/cfn-loop-orchestration-v2/lib/orchestrator/dist/gate-checker/gate-checker.d.ts +0 -15
  656. package/claude-assets/skills/cfn-loop-orchestration-v2/lib/orchestrator/dist/gate-checker/gate-checker.js +0 -32
  657. package/claude-assets/skills/cfn-loop-orchestration-v2/lib/orchestrator/dist/helpers/confidence-aggregator.d.ts +0 -115
  658. package/claude-assets/skills/cfn-loop-orchestration-v2/lib/orchestrator/dist/helpers/confidence-aggregator.js +0 -359
  659. package/claude-assets/skills/cfn-loop-orchestration-v2/lib/orchestrator/dist/helpers/consensus.d.ts +0 -36
  660. package/claude-assets/skills/cfn-loop-orchestration-v2/lib/orchestrator/dist/helpers/consensus.js +0 -62
  661. package/claude-assets/skills/cfn-loop-orchestration-v2/lib/orchestrator/dist/helpers/context-injector.d.ts +0 -135
  662. package/claude-assets/skills/cfn-loop-orchestration-v2/lib/orchestrator/dist/helpers/context-injector.js +0 -257
  663. package/claude-assets/skills/cfn-loop-orchestration-v2/lib/orchestrator/dist/helpers/context-lookup.d.ts +0 -179
  664. package/claude-assets/skills/cfn-loop-orchestration-v2/lib/orchestrator/dist/helpers/context-lookup.js +0 -388
  665. package/claude-assets/skills/cfn-loop-orchestration-v2/lib/orchestrator/dist/helpers/deliverable-verifier.d.ts +0 -26
  666. package/claude-assets/skills/cfn-loop-orchestration-v2/lib/orchestrator/dist/helpers/deliverable-verifier.js +0 -116
  667. package/claude-assets/skills/cfn-loop-orchestration-v2/lib/orchestrator/dist/helpers/gate-check.d.ts +0 -27
  668. package/claude-assets/skills/cfn-loop-orchestration-v2/lib/orchestrator/dist/helpers/gate-check.js +0 -92
  669. package/claude-assets/skills/cfn-loop-orchestration-v2/lib/orchestrator/dist/helpers/iteration-manager.d.ts +0 -28
  670. package/claude-assets/skills/cfn-loop-orchestration-v2/lib/orchestrator/dist/helpers/iteration-manager.js +0 -34
  671. package/claude-assets/skills/cfn-loop-orchestration-v2/lib/orchestrator/dist/helpers/parse-test-results.d.ts +0 -21
  672. package/claude-assets/skills/cfn-loop-orchestration-v2/lib/orchestrator/dist/helpers/parse-test-results.js +0 -323
  673. package/claude-assets/skills/cfn-loop-orchestration-v2/lib/orchestrator/dist/helpers/product-owner-decision.d.ts +0 -86
  674. package/claude-assets/skills/cfn-loop-orchestration-v2/lib/orchestrator/dist/helpers/product-owner-decision.js +0 -272
  675. package/claude-assets/skills/cfn-loop-orchestration-v2/lib/orchestrator/dist/helpers/spawn-agents.d.ts +0 -61
  676. package/claude-assets/skills/cfn-loop-orchestration-v2/lib/orchestrator/dist/helpers/spawn-agents.js +0 -280
  677. package/claude-assets/skills/cfn-loop-orchestration-v2/lib/orchestrator/dist/helpers/timeout-calculator.d.ts +0 -15
  678. package/claude-assets/skills/cfn-loop-orchestration-v2/lib/orchestrator/dist/helpers/timeout-calculator.js +0 -34
  679. package/claude-assets/skills/cfn-loop-orchestration-v2/lib/orchestrator/dist/helpers/validator.d.ts +0 -83
  680. package/claude-assets/skills/cfn-loop-orchestration-v2/lib/orchestrator/dist/helpers/validator.js +0 -222
  681. package/claude-assets/skills/cfn-loop-orchestration-v2/lib/orchestrator/dist/index.d.ts +0 -14
  682. package/claude-assets/skills/cfn-loop-orchestration-v2/lib/orchestrator/dist/index.js +0 -32
  683. package/claude-assets/skills/cfn-loop-orchestration-v2/lib/orchestrator/dist/orchestrate.d.ts +0 -325
  684. package/claude-assets/skills/cfn-loop-orchestration-v2/lib/orchestrator/dist/orchestrate.js +0 -1083
  685. package/claude-assets/skills/cfn-loop-orchestration-v2/lib/orchestrator/dist/orchestrator/orchestrator.d.ts +0 -17
  686. package/claude-assets/skills/cfn-loop-orchestration-v2/lib/orchestrator/dist/orchestrator/orchestrator.js +0 -31
  687. package/claude-assets/skills/cfn-loop-orchestration-v2/lib/orchestrator/dist/redis/redis-coordinator.d.ts +0 -46
  688. package/claude-assets/skills/cfn-loop-orchestration-v2/lib/orchestrator/dist/redis/redis-coordinator.js +0 -68
  689. package/claude-assets/skills/cfn-loop-orchestration-v2/lib/orchestrator/dist/types.d.ts +0 -166
  690. package/claude-assets/skills/cfn-loop-orchestration-v2/lib/orchestrator/dist/types.js +0 -101
  691. package/claude-assets/skills/cfn-loop-orchestration-v2/lib/orchestrator/dist/utils/logger.d.ts +0 -16
  692. package/claude-assets/skills/cfn-loop-orchestration-v2/lib/orchestrator/dist/utils/logger.js +0 -29
  693. package/claude-assets/skills/cfn-loop-orchestration-v2/lib/orchestrator/e2e-validation-fixed.js +0 -240
  694. package/claude-assets/skills/cfn-loop-orchestration-v2/lib/orchestrator/e2e-validation.js +0 -213
  695. package/claude-assets/skills/cfn-loop-orchestration-v2/lib/orchestrator/orchestrate.sh.backup2 +0 -959
  696. package/claude-assets/skills/cfn-loop-orchestration-v2/lib/orchestrator/orchestrate.sh.clean +0 -949
  697. package/claude-assets/skills/cfn-loop-orchestration-v2/lib/orchestrator/package.json +0 -53
  698. package/claude-assets/skills/cfn-loop-orchestration-v2/lib/orchestrator/run-north-star-e2e.ts +0 -210
  699. package/claude-assets/skills/cfn-loop-orchestration-v2/lib/orchestrator/security_utils.sh +0 -123
  700. package/claude-assets/skills/cfn-loop-orchestration-v2/lib/orchestrator/test-cfn-orchestration.sh +0 -281
  701. package/claude-assets/skills/cfn-loop-orchestration-v2/lib/orchestrator/test-cli.sh +0 -92
  702. package/claude-assets/skills/cfn-loop-orchestration-v2/lib/orchestrator/test-edge-cases.sh +0 -188
  703. package/claude-assets/skills/cfn-loop-orchestration-v2/lib/orchestrator/test-iteration-context-injection.sh +0 -366
  704. package/claude-assets/skills/cfn-loop-orchestration-v2/lib/orchestrator/test-typescript-integration.sh +0 -442
  705. package/claude-assets/skills/cfn-loop-orchestration-v2/lib/output/DELIVERY_SUMMARY.txt +0 -462
  706. package/claude-assets/skills/cfn-loop-orchestration-v2/lib/output/EXAMPLES.md +0 -609
  707. package/claude-assets/skills/cfn-loop-orchestration-v2/lib/output/INDEX.md +0 -531
  708. package/claude-assets/skills/cfn-loop-orchestration-v2/lib/output/README.md +0 -114
  709. package/claude-assets/skills/cfn-loop-orchestration-v2/lib/output/SKILL.md +0 -633
  710. package/claude-assets/skills/cfn-loop-orchestration-v2/lib/output/package.json +0 -50
  711. package/claude-assets/skills/cfn-loop-orchestration-v2/lib/validation/INDEX.md +0 -531
  712. package/claude-assets/skills/cfn-loop-orchestration-v2/lib/validation/README.md +0 -256
  713. package/claude-assets/skills/cfn-loop-orchestration-v2/lib/validation/README_TYPESCRIPT.md +0 -454
  714. package/claude-assets/skills/cfn-loop-orchestration-v2/lib/validation/SKILL.md +0 -400
  715. package/claude-assets/skills/cfn-loop-orchestration-v2/lib/validation/SKILL.md.backup +0 -353
  716. package/claude-assets/skills/cfn-loop-orchestration-v2/lib/validation/SKILL_TYPESCRIPT.md +0 -782
  717. package/claude-assets/skills/cfn-loop-orchestration-v2/lib/validation/VAPOR_DETECTION_EXAMPLES.md +0 -598
  718. package/claude-assets/skills/cfn-loop-orchestration-v2/lib/validation/check-dependencies.sh +0 -53
  719. package/claude-assets/skills/cfn-loop-orchestration-v2/lib/validation/check-dependencies.sh.backup +0 -31
  720. package/claude-assets/skills/cfn-loop-orchestration-v2/lib/validation/config.json +0 -161
  721. package/claude-assets/skills/cfn-loop-orchestration-v2/lib/validation/consensus-calculator.js +0 -477
  722. package/claude-assets/skills/cfn-loop-orchestration-v2/lib/validation/detect-vapor.sh +0 -59
  723. package/claude-assets/skills/cfn-loop-orchestration-v2/lib/validation/detect-vapor.sh.backup +0 -37
  724. package/claude-assets/skills/cfn-loop-orchestration-v2/lib/validation/dist/.tsbuildinfo +0 -1
  725. package/claude-assets/skills/cfn-loop-orchestration-v2/lib/validation/dist/cli/detect-vapor.d.ts +0 -14
  726. package/claude-assets/skills/cfn-loop-orchestration-v2/lib/validation/dist/cli/detect-vapor.js +0 -185
  727. package/claude-assets/skills/cfn-loop-orchestration-v2/lib/validation/dist/cli/validate-deliverables.d.ts +0 -14
  728. package/claude-assets/skills/cfn-loop-orchestration-v2/lib/validation/dist/cli/validate-deliverables.js +0 -176
  729. package/claude-assets/skills/cfn-loop-orchestration-v2/lib/validation/dist/cli/validate-gate.d.ts +0 -19
  730. package/claude-assets/skills/cfn-loop-orchestration-v2/lib/validation/dist/cli/validate-gate.js +0 -123
  731. package/claude-assets/skills/cfn-loop-orchestration-v2/lib/validation/dist/types.d.ts +0 -156
  732. package/claude-assets/skills/cfn-loop-orchestration-v2/lib/validation/dist/types.js +0 -66
  733. package/claude-assets/skills/cfn-loop-orchestration-v2/lib/validation/dist/validator.d.ts +0 -85
  734. package/claude-assets/skills/cfn-loop-orchestration-v2/lib/validation/dist/validator.js +0 -411
  735. package/claude-assets/skills/cfn-loop-orchestration-v2/lib/validation/evidence-chain.sql +0 -163
  736. package/claude-assets/skills/cfn-loop-orchestration-v2/lib/validation/orchestrate-cfn-loop.sh +0 -274
  737. package/claude-assets/skills/cfn-loop-orchestration-v2/lib/validation/orchestrate-cfn-loop.sh.backup +0 -252
  738. package/claude-assets/skills/cfn-loop-orchestration-v2/lib/validation/package.json +0 -93
  739. package/claude-assets/skills/cfn-loop-orchestration-v2/lib/validation/validate-deliverables.sh +0 -59
  740. package/claude-assets/skills/cfn-loop-orchestration-v2/lib/validation/validate-deliverables.sh.backup +0 -37
  741. package/claude-assets/skills/cfn-loop-orchestration-v2/lib/validation/validate-gate.sh +0 -63
  742. package/claude-assets/skills/cfn-loop-orchestration-v2/lib/validation/validate-gate.sh.backup +0 -41
  743. package/claude-assets/skills/cfn-loop-orchestration-v2/lib/validation/validate-iteration.sh +0 -156
  744. package/claude-assets/skills/cfn-loop-orchestration-v2/lib/validation/validate-iteration.sh.backup +0 -134
  745. package/claude-assets/skills/cfn-mdap-context-injection/SKILL.md +0 -176
  746. package/claude-assets/skills/cfn-mdap-context-injection/inject.sh +0 -284
  747. package/claude-assets/skills/cfn-memory-persistence/SKILL.md +0 -59
  748. package/claude-assets/skills/cfn-memory-persistence/lib/auto/SKILL.md +0 -73
  749. package/claude-assets/skills/cfn-memory-persistence/lib/auto/persist-agent-output.sh +0 -49
  750. package/claude-assets/skills/cfn-memory-persistence/lib/auto/query-agent-history.sh +0 -35
  751. package/claude-assets/skills/cfn-memory-persistence/lib/auto/test-memory-persistence.sh +0 -236
  752. package/claude-assets/skills/cfn-memory-persistence/lib/management/SKILL.md +0 -271
  753. package/claude-assets/skills/cfn-memory-persistence/lib/management/check-memory.sh +0 -160
  754. package/claude-assets/skills/cfn-memory-persistence/lib/management/cleanup-memory.sh +0 -197
  755. package/claude-assets/skills/cfn-memory-persistence/lib/redis/SKILL.md +0 -42
  756. package/claude-assets/skills/cfn-memory-persistence/lib/redis/agent-log.sh.backup +0 -128
  757. package/claude-assets/skills/cfn-memory-persistence/lib/redis/agent-recovery.sh.backup +0 -75
  758. package/claude-assets/skills/cfn-memory-persistence/lib/redis/analyze-task-complexity.sh.backup +0 -277
  759. package/claude-assets/skills/cfn-memory-persistence/lib/redis/bash-wrappers/store-context.sh.backup +0 -23
  760. package/claude-assets/skills/cfn-memory-persistence/lib/redis/cancel-swarm.sh.backup +0 -221
  761. package/claude-assets/skills/cfn-memory-persistence/lib/redis/cfn-loop-exec.sh.backup +0 -468
  762. package/claude-assets/skills/cfn-memory-persistence/lib/redis/cfn-loop-relaunch.sh.backup +0 -29
  763. package/claude-assets/skills/cfn-memory-persistence/lib/redis/collect-confidence-scores.sh.backup +0 -209
  764. package/claude-assets/skills/cfn-memory-persistence/lib/redis/collect-results.sh.backup +0 -75
  765. package/claude-assets/skills/cfn-memory-persistence/lib/redis/complete-swarm.sh.backup +0 -75
  766. package/claude-assets/skills/cfn-memory-persistence/lib/redis/dist/agent-logger.d.ts +0 -92
  767. package/claude-assets/skills/cfn-memory-persistence/lib/redis/dist/agent-logger.js +0 -329
  768. package/claude-assets/skills/cfn-memory-persistence/lib/redis/dist/agent-recovery.d.ts +0 -75
  769. package/claude-assets/skills/cfn-memory-persistence/lib/redis/dist/agent-recovery.js +0 -302
  770. package/claude-assets/skills/cfn-memory-persistence/lib/redis/dist/completion-reporter.d.ts +0 -58
  771. package/claude-assets/skills/cfn-memory-persistence/lib/redis/dist/completion-reporter.js +0 -237
  772. package/claude-assets/skills/cfn-memory-persistence/lib/redis/dist/context-manager.d.ts +0 -63
  773. package/claude-assets/skills/cfn-memory-persistence/lib/redis/dist/context-manager.js +0 -230
  774. package/claude-assets/skills/cfn-memory-persistence/lib/redis/dist/index.d.ts +0 -45
  775. package/claude-assets/skills/cfn-memory-persistence/lib/redis/dist/index.js +0 -114
  776. package/claude-assets/skills/cfn-memory-persistence/lib/redis/dist/mode-detector.d.ts +0 -31
  777. package/claude-assets/skills/cfn-memory-persistence/lib/redis/dist/mode-detector.js +0 -185
  778. package/claude-assets/skills/cfn-memory-persistence/lib/redis/dist/redis-client.d.ts +0 -191
  779. package/claude-assets/skills/cfn-memory-persistence/lib/redis/dist/redis-client.js +0 -509
  780. package/claude-assets/skills/cfn-memory-persistence/lib/redis/dist/result-collector.d.ts +0 -75
  781. package/claude-assets/skills/cfn-memory-persistence/lib/redis/dist/result-collector.js +0 -281
  782. package/claude-assets/skills/cfn-memory-persistence/lib/redis/dist/swarm-manager.d.ts +0 -75
  783. package/claude-assets/skills/cfn-memory-persistence/lib/redis/dist/swarm-manager.js +0 -354
  784. package/claude-assets/skills/cfn-memory-persistence/lib/redis/dist/task-analyzer.d.ts +0 -62
  785. package/claude-assets/skills/cfn-memory-persistence/lib/redis/dist/task-analyzer.js +0 -305
  786. package/claude-assets/skills/cfn-memory-persistence/lib/redis/dist/task-executor.d.ts +0 -97
  787. package/claude-assets/skills/cfn-memory-persistence/lib/redis/dist/task-executor.js +0 -283
  788. package/claude-assets/skills/cfn-memory-persistence/lib/redis/dist/types.d.ts +0 -176
  789. package/claude-assets/skills/cfn-memory-persistence/lib/redis/dist/types.js +0 -81
  790. package/claude-assets/skills/cfn-memory-persistence/lib/redis/dist/waiting-coordinator.d.ts +0 -86
  791. package/claude-assets/skills/cfn-memory-persistence/lib/redis/dist/waiting-coordinator.js +0 -419
  792. package/claude-assets/skills/cfn-memory-persistence/lib/redis/get-context.sh.backup +0 -146
  793. package/claude-assets/skills/cfn-memory-persistence/lib/redis/get-success-criteria.sh.backup +0 -54
  794. package/claude-assets/skills/cfn-memory-persistence/lib/redis/invoke-waiting-mode.sh.backup +0 -225
  795. package/claude-assets/skills/cfn-memory-persistence/lib/redis/redis-cli-wrapper.sh.backup +0 -43
  796. package/claude-assets/skills/cfn-memory-persistence/lib/redis/redis-functions.sh.backup +0 -34
  797. package/claude-assets/skills/cfn-memory-persistence/lib/redis/report-completion.sh.backup +0 -134
  798. package/claude-assets/skills/cfn-memory-persistence/lib/redis/store-context.sh.backup +0 -123
  799. package/claude-assets/skills/cfn-memory-persistence/lib/sqlite/QUICK_REFERENCE.md +0 -204
  800. package/claude-assets/skills/cfn-memory-persistence/lib/sqlite/README.md +0 -65
  801. package/claude-assets/skills/cfn-memory-persistence/lib/sqlite/SKILL.md +0 -415
  802. package/claude-assets/skills/cfn-memory-persistence/lib/sqlite/acl-queries.sql +0 -452
  803. package/claude-assets/skills/cfn-memory-persistence/lib/sqlite/check-dependencies.sh +0 -36
  804. package/claude-assets/skills/cfn-memory-persistence/lib/sqlite/config.json +0 -45
  805. package/claude-assets/skills/cfn-memory-persistence/lib/sqlite/memory-cli.sh +0 -88
  806. package/claude-assets/skills/cfn-memory-persistence/lib/sqlite/test-state-persistence.js +0 -187
  807. package/claude-assets/skills/cfn-memory-persistence/lib/sqlite/ttl-cleanup.sh +0 -266
  808. package/claude-assets/skills/cfn-node-heap-sizer/SKILL.md +0 -23
  809. package/claude-assets/skills/cfn-node-heap-sizer/task-mode-heap-limiter.sh +0 -326
  810. package/claude-assets/skills/cfn-operations/SKILL.md +0 -52
  811. package/claude-assets/skills/cfn-operations/lib/file/SKILL.md +0 -290
  812. package/claude-assets/skills/cfn-operations/lib/file/execute.sh +0 -129
  813. package/claude-assets/skills/cfn-operations/lib/file/lib/atomic-write.sh +0 -294
  814. package/claude-assets/skills/cfn-operations/lib/file/lib/lock.sh +0 -361
  815. package/claude-assets/skills/cfn-operations/lib/file/test.sh +0 -369
  816. package/claude-assets/skills/cfn-operations/lib/log/SKILL.md +0 -308
  817. package/claude-assets/skills/cfn-operations/lib/log/execute.sh +0 -420
  818. package/claude-assets/skills/cfn-operations/lib/log/lib/rotate.sh +0 -406
  819. package/claude-assets/skills/cfn-operations/lib/log/lib/search.sh +0 -448
  820. package/claude-assets/skills/cfn-operations/lib/log/test.sh +0 -394
  821. package/claude-assets/skills/cfn-parameterized-queries/SKILL.md +0 -347
  822. package/claude-assets/skills/cfn-planning/SKILL.md +0 -55
  823. package/claude-assets/skills/cfn-planning/lib/coordinator/README.md +0 -256
  824. package/claude-assets/skills/cfn-planning/lib/coordinator/SKILL.md +0 -62
  825. package/claude-assets/skills/cfn-planning/lib/coordinator/map-dependencies-conflicts.sh +0 -376
  826. package/claude-assets/skills/cfn-planning/lib/coordinator/plan-coordinator-resources.sh +0 -258
  827. package/claude-assets/skills/cfn-planning/lib/coordinator/plan-multi-coordinator-work.sh +0 -267
  828. package/claude-assets/skills/cfn-planning/lib/coordinator/plan-risk-rollout.sh +0 -350
  829. package/claude-assets/skills/cfn-planning/lib/coordinator/test-multi-coordinator-planning.sh +0 -338
  830. package/claude-assets/skills/cfn-planning/lib/coordinator/validate-task-planning.sh +0 -189
  831. package/claude-assets/skills/cfn-planning/lib/epic/SKILL.md +0 -44
  832. package/claude-assets/skills/cfn-planning/lib/epic/decompose-epic.sh +0 -104
  833. package/claude-assets/skills/cfn-planning/lib/scope/SKILL.md +0 -37
  834. package/claude-assets/skills/cfn-planning/lib/scope/simplify-scope.sh +0 -68
  835. package/claude-assets/skills/cfn-process-management/SKILL.md +0 -52
  836. package/claude-assets/skills/cfn-process-management/lib/instrumentation/instrument-process.sh +0 -44
  837. package/claude-assets/skills/cfn-process-management/lib/lifecycle/README.md +0 -43
  838. package/claude-assets/skills/cfn-process-management/lib/lifecycle/SKILL.md +0 -39
  839. package/claude-assets/skills/cfn-process-management/lib/lifecycle/check-dependencies.sh +0 -58
  840. package/claude-assets/skills/cfn-process-management/lib/lifecycle/config.json +0 -39
  841. package/claude-assets/skills/cfn-process-management/lib/lifecycle/process-manager.sh +0 -144
  842. package/claude-assets/skills/cfn-project-analysis/SKILL.md +0 -113
  843. package/claude-assets/skills/cfn-project-management/SKILL.md +0 -52
  844. package/claude-assets/skills/cfn-project-management/lib/backlog/SKILL.md +0 -199
  845. package/claude-assets/skills/cfn-project-management/lib/backlog/add-backlog-item.sh +0 -208
  846. package/claude-assets/skills/cfn-project-management/lib/changelog/SKILL.md +0 -349
  847. package/claude-assets/skills/cfn-project-management/lib/changelog/add-changelog-entry.sh +0 -202
  848. package/claude-assets/skills/cfn-project-management/lib/changelog/bulk-import.sh +0 -268
  849. package/claude-assets/skills/cfn-project-management/lib/changelog/lib/README.md +0 -212
  850. package/claude-assets/skills/cfn-project-management/lib/changelog/lib/validation.sh +0 -72
  851. package/claude-assets/skills/cfn-routing-config/SKILL.md +0 -52
  852. package/claude-assets/skills/cfn-routing-config/lib/hybrid/README.md +0 -50
  853. package/claude-assets/skills/cfn-routing-config/lib/hybrid/SKILL.md +0 -54
  854. package/claude-assets/skills/cfn-routing-config/lib/hybrid/check-dependencies.sh +0 -52
  855. package/claude-assets/skills/cfn-routing-config/lib/hybrid/config.json +0 -26
  856. package/claude-assets/skills/cfn-routing-config/lib/hybrid/spawn-worker.sh +0 -44
  857. package/claude-assets/skills/cfn-routing-config/lib/provider/README.md +0 -129
  858. package/claude-assets/skills/cfn-routing-config/lib/provider/SKILL.md +0 -215
  859. package/claude-assets/skills/cfn-routing-config/lib/provider/resolve-provider-model.ts +0 -223
  860. package/claude-assets/skills/cfn-ruvector-codebase-index/.cfn-manifest.json +0 -37
  861. package/claude-assets/skills/cfn-ruvector-codebase-index/SKILL.md +0 -830
  862. package/claude-assets/skills/cfn-ruvector-codebase-index/batch-indexer.js +0 -185
  863. package/claude-assets/skills/cfn-ruvector-codebase-index/check-db.js +0 -8
  864. package/claude-assets/skills/cfn-ruvector-codebase-index/clean-orphaned-entries.sh +0 -206
  865. package/claude-assets/skills/cfn-ruvector-codebase-index/config.json +0 -65
  866. package/claude-assets/skills/cfn-ruvector-codebase-index/debug-search.js +0 -19
  867. package/claude-assets/skills/cfn-ruvector-codebase-index/detect-stale-docs.sh +0 -325
  868. package/claude-assets/skills/cfn-ruvector-codebase-index/embeddings.js +0 -181
  869. package/claude-assets/skills/cfn-ruvector-codebase-index/get-embedding-text.js +0 -26
  870. package/claude-assets/skills/cfn-ruvector-codebase-index/handle-file-moves.sh +0 -147
  871. package/claude-assets/skills/cfn-ruvector-codebase-index/index.sh +0 -324
  872. package/claude-assets/skills/cfn-ruvector-codebase-index/indexer.js +0 -53
  873. package/claude-assets/skills/cfn-ruvector-codebase-index/init-db.js +0 -27
  874. package/claude-assets/skills/cfn-ruvector-codebase-index/install-hook.sh +0 -51
  875. package/claude-assets/skills/cfn-ruvector-codebase-index/package.json +0 -30
  876. package/claude-assets/skills/cfn-ruvector-codebase-index/parser.js +0 -264
  877. package/claude-assets/skills/cfn-ruvector-codebase-index/query-error-patterns.sh +0 -42
  878. package/claude-assets/skills/cfn-ruvector-codebase-index/query-learnings.sh +0 -44
  879. package/claude-assets/skills/cfn-ruvector-codebase-index/ruvector-learning.js +0 -316
  880. package/claude-assets/skills/cfn-ruvector-codebase-index/search.js +0 -55
  881. package/claude-assets/skills/cfn-ruvector-codebase-index/search.sh +0 -137
  882. package/claude-assets/skills/cfn-ruvector-codebase-index/standalone-indexer.js +0 -129
  883. package/claude-assets/skills/cfn-ruvector-codebase-index/store-error-pattern.sh +0 -54
  884. package/claude-assets/skills/cfn-ruvector-codebase-index/store-learning.sh +0 -64
  885. package/claude-assets/skills/cfn-ruvector-codebase-index/test-comprehensive.js +0 -120
  886. package/claude-assets/skills/cfn-ruvector-codebase-index/test-db-structure.js +0 -40
  887. package/claude-assets/skills/cfn-ruvector-codebase-index/test-integration.js +0 -56
  888. package/claude-assets/skills/cfn-ruvector-codebase-index/test-metadata-fetch.js +0 -57
  889. package/claude-assets/skills/cfn-ruvector-codebase-index/test-search-debug.js +0 -48
  890. package/claude-assets/skills/cfn-session-handoff/SKILL.md +0 -273
  891. package/claude-assets/skills/cfn-skill-management/SKILL.md +0 -55
  892. package/claude-assets/skills/cfn-skill-management/lib/builder/SKILL.md +0 -910
  893. package/claude-assets/skills/cfn-skill-management/lib/loader/SKILL.md +0 -466
  894. package/claude-assets/skills/cfn-skill-management/lib/loader/execute.sh +0 -344
  895. package/claude-assets/skills/cfn-skill-management/lib/propagation/README.md +0 -233
  896. package/claude-assets/skills/cfn-skill-management/lib/propagation/package.json +0 -52
  897. package/claude-assets/skills/cfn-skill-management/lib/propagation/propagate-skill-update.sh +0 -32
  898. package/claude-assets/skills/cfn-sprint-execution/SKILL.md +0 -55
  899. package/claude-assets/skills/cfn-sprint-execution/lib/checkpoint/SKILL.md +0 -333
  900. package/claude-assets/skills/cfn-sprint-execution/lib/checkpoint/cleanup-orphans.sh +0 -374
  901. package/claude-assets/skills/cfn-sprint-execution/lib/checkpoint/resume-wave.sh +0 -325
  902. package/claude-assets/skills/cfn-sprint-execution/lib/checkpoint/save-checkpoint.sh +0 -284
  903. package/claude-assets/skills/cfn-sprint-execution/lib/execution/SKILL.md +0 -27
  904. package/claude-assets/skills/cfn-sprint-execution/lib/execution/execute-sprint-task.sh +0 -59
  905. package/claude-assets/skills/cfn-sprint-execution/lib/execution/execute-sprint.sh +0 -65
  906. package/claude-assets/skills/cfn-task-intelligence/SKILL.md +0 -64
  907. package/claude-assets/skills/cfn-task-intelligence/lib/classifier/SKILL.md +0 -81
  908. package/claude-assets/skills/cfn-task-intelligence/lib/classifier/classify-task.sh +0 -297
  909. package/claude-assets/skills/cfn-task-intelligence/lib/complexity/SKILL.md +0 -96
  910. package/claude-assets/skills/cfn-task-intelligence/lib/complexity/estimate-complexity.sh +0 -144
  911. package/claude-assets/skills/cfn-task-intelligence/lib/specialist/SKILL.md +0 -41
  912. package/claude-assets/skills/cfn-task-intelligence/lib/specialist/recommend-specialist.sh +0 -57
  913. package/claude-assets/skills/cfn-task-planning/SKILL.md +0 -193
  914. package/claude-assets/skills/cfn-task-planning/cli/classify-task.sh +0 -4
  915. package/claude-assets/skills/cfn-task-planning/cli/decompose-task.sh +0 -4
  916. package/claude-assets/skills/cfn-task-planning/cli/init-config.sh +0 -4
  917. package/claude-assets/skills/cfn-task-planning/lib/audit/get-audit-data.sh +0 -397
  918. package/claude-assets/skills/cfn-task-planning/lib/audit/store-task-audit.sh +0 -191
  919. package/claude-assets/skills/cfn-task-planning/lib/classifier/README.md +0 -81
  920. package/claude-assets/skills/cfn-task-planning/lib/classifier/classify-task.sh +0 -297
  921. package/claude-assets/skills/cfn-task-planning/lib/decomposition/task-decomposer.sh +0 -279
  922. package/claude-assets/skills/cfn-test-framework/SKILL.md +0 -55
  923. package/claude-assets/skills/cfn-test-framework/lib/execution/README.md +0 -129
  924. package/claude-assets/skills/cfn-test-framework/lib/execution/SKILL.md +0 -128
  925. package/claude-assets/skills/cfn-test-framework/lib/execution/check-dependencies.sh +0 -36
  926. package/claude-assets/skills/cfn-test-framework/lib/execution/test-cache-reader.sh +0 -134
  927. package/claude-assets/skills/cfn-test-framework/lib/execution/test-concurrent-conflicts.sh +0 -115
  928. package/claude-assets/skills/cfn-test-framework/lib/execution/test-coordinator-pattern.sh +0 -109
  929. package/claude-assets/skills/cfn-test-framework/lib/runner/SKILL.md +0 -288
  930. package/claude-assets/skills/cfn-test-framework/lib/runner/detect-regressions.sh +0 -58
  931. package/claude-assets/skills/cfn-test-framework/lib/runner/detect-regressions.sh.backup-1763392821 +0 -55
  932. package/claude-assets/skills/cfn-test-framework/lib/runner/init-benchmark-db.sh +0 -48
  933. package/claude-assets/skills/cfn-test-framework/lib/runner/run-all-tests.sh +0 -222
  934. package/claude-assets/skills/cfn-test-framework/lib/runner/store-benchmarks.sh +0 -53
  935. package/claude-assets/skills/cfn-test-framework/lib/runner/validate-redis-keys.sh +0 -143
  936. package/claude-assets/skills/cfn-test-framework/lib/webapp/README.md +0 -142
  937. package/claude-assets/skills/cfn-test-framework/lib/webapp/SCREENSHOT_NAMING_CONVENTION.md +0 -547
  938. package/claude-assets/skills/cfn-test-framework/lib/webapp/SKILL.md +0 -877
  939. package/claude-assets/skills/cfn-test-framework/lib/webapp/capture-screenshot.sh +0 -238
  940. package/claude-assets/skills/cfn-test-framework/lib/webapp/cfn-loop-integration.sh +0 -265
  941. package/claude-assets/skills/cfn-test-framework/lib/webapp/compare-screenshots.sh +0 -199
  942. package/claude-assets/skills/cfn-test-framework/lib/webapp/init-storage.sh +0 -150
  943. package/claude-assets/skills/cfn-test-framework/lib/webapp/set-baseline.sh +0 -196
  944. package/claude-assets/skills/cfn-test-framework/lib/webapp/test-webapp-testing.sh +0 -233
  945. package/claude-assets/skills/cfn-transparency-middleware/Cargo.toml +0 -18
  946. package/claude-assets/skills/cfn-transparency-middleware/README.md +0 -74
  947. package/claude-assets/skills/cfn-transparency-middleware/SECURITY.md +0 -41
  948. package/claude-assets/skills/cfn-transparency-middleware/SKILL.md +0 -99
  949. package/claude-assets/skills/cfn-transparency-middleware/TEST_RESULTS.md +0 -174
  950. package/claude-assets/skills/cfn-transparency-middleware/config.json +0 -31
  951. package/claude-assets/skills/cfn-transparency-middleware/invoke-transparency-filter.sh +0 -98
  952. package/claude-assets/skills/cfn-transparency-middleware/invoke-transparency-init.sh +0 -224
  953. package/claude-assets/skills/cfn-transparency-middleware/invoke-transparency-level.sh +0 -333
  954. package/claude-assets/skills/cfn-transparency-middleware/invoke-transparency-metrics.sh +0 -345
  955. package/claude-assets/skills/cfn-transparency-middleware/invoke-transparency-observe.sh +0 -140
  956. package/claude-assets/skills/cfn-transparency-middleware/invoke-transparency-stop.sh +0 -235
  957. package/claude-assets/skills/cfn-transparency-middleware/memory_query.rs +0 -85
  958. package/claude-assets/skills/cfn-transparency-middleware/memory_repository.rs +0 -140
  959. package/claude-assets/skills/cfn-transparency-middleware/memory_schema.rs +0 -64
  960. package/claude-assets/skills/cfn-transparency-middleware/middleware-config.sh +0 -29
  961. package/claude-assets/skills/cfn-transparency-middleware/performance-benchmark.sh +0 -79
  962. package/claude-assets/skills/cfn-transparency-middleware/test-e2e.sh +0 -421
  963. package/claude-assets/skills/cfn-transparency-middleware/test-integration.sh +0 -162
  964. package/claude-assets/skills/cfn-transparency-middleware/test-transparency-skill.sh +0 -368
  965. package/claude-assets/skills/cfn-transparency-middleware/test-transparency-skill.sh.unix +0 -126
  966. package/claude-assets/skills/cfn-transparency-middleware/wrap-agent.sh +0 -132
  967. package/claude-assets/skills/cfn-utilities/SKILL.md +0 -239
  968. package/claude-assets/skills/cfn-utilities/execute.sh +0 -32
  969. package/claude-assets/skills/cfn-utilities/lib/errors.sh +0 -56
  970. package/claude-assets/skills/cfn-utilities/lib/file-ops.sh +0 -164
  971. package/claude-assets/skills/cfn-utilities/lib/logging.sh +0 -77
  972. package/claude-assets/skills/cfn-utilities/lib/retry.sh +0 -127
  973. package/claude-assets/skills/cfn-utilities/test.sh +0 -317
  974. package/claude-assets/skills/cfn-validation-framework/SKILL.md +0 -60
  975. package/claude-assets/skills/cfn-validation-framework/lib/deliverables/confidence-calculator.sh +0 -262
  976. package/claude-assets/skills/cfn-validation-framework/lib/instrumentation/wrapped-executor.sh +0 -291
  977. package/claude-assets/skills/cfn-validation-framework/lib/json/SKILL.md +0 -431
  978. package/claude-assets/skills/cfn-validation-framework/lib/json/test-validate-success-criteria.sh +0 -421
  979. package/claude-assets/skills/cfn-validation-framework/lib/json/validate-success-criteria.sh +0 -197
  980. package/claude-assets/skills/cfn-validation-framework/lib/layers/SKILL.md +0 -133
  981. package/claude-assets/skills/cfn-vision-analysis/SKILL.md +0 -20
  982. package/claude-assets/skills/equation-solver/README.md +0 -327
  983. package/claude-assets/skills/equation-solver/SECURITY.md +0 -306
  984. package/claude-assets/skills/equation-solver/SKILL.md +0 -335
  985. package/claude-assets/skills/equation-solver/package.json +0 -32
  986. package/claude-assets/skills/equation-solver/solve.sh +0 -348
  987. package/claude-assets/skills/equation-solver/test-equation-solver-minimal.sh +0 -103
  988. package/claude-assets/skills/equation-solver/test-equation-solver.sh +0 -510
  989. /package/.claude/commands/{check-errors.md → cfn-check-errors.md} +0 -0
  990. /package/.claude/commands/{detect-stale-docs.md → cfn-detect-stale-docs.md} +0 -0
  991. /package/.claude/commands/{epic-creator-v2.md → cfn-epic-creator-v2.md} +0 -0
  992. /package/.claude/commands/cfn-loop/{list-agents-rebuild.md → cfn-list-agents-rebuild.md} +0 -0
  993. /package/.claude/commands/cfn-ruvector/{codebase-reindex.md → cfn-codebase-reindex.md} +0 -0
  994. /package/.claude/commands/cfn-ruvector/{codebase-search.md → cfn-codebase-search.md} +0 -0
  995. /package/.claude/commands/cfn-ruvector/{detect-stale-docs.md → cfn-detect-stale-docs.md} +0 -0
  996. /package/.claude/commands/{ruvector-search.md → cfn-ruvector-search.md} +0 -0
  997. /package/.claude/commands/{update-search-index.md → cfn-update-search-index.md} +0 -0
  998. /package/.claude/commands/cost-routing/{switch-api.md → cfn-switch-api.md} +0 -0
  999. /package/.claude/hooks/{validators/credential-scanner.sh → cfn-credential-scanner.sh} +0 -0
  1000. /package/.claude/hooks/{detect-hardcoded-credentials.sh → cfn-detect-hardcoded-credentials.sh} +0 -0
@@ -1,739 +0,0 @@
1
- ---
2
- name: supabase-specialist
3
- description: MUST BE USED for Supabase CLI operations, database migrations, auth setup, edge functions, storage, realtime. Use PROACTIVELY for Supabase project management, schema design, RLS policies. Keywords - supabase, postgres, auth, edge-functions, storage, realtime, migrations, CLI
4
- model: sonnet
5
- type: specialist
6
- capabilities:
7
- - supabase-cli
8
- - postgres-database
9
- - authentication
10
- - edge-functions
11
- - realtime-subscriptions
12
- - storage-management
13
- - row-level-security
14
- acl_level: 1
15
- validation_hooks:
16
- - agent-template-validator
17
- - test-coverage-validator
18
- completion_protocol: |
19
- Complete your work and provide a structured response with confidence score.
20
- ---
21
-
22
- → **Skills**: Cerebras MCP (blueprint prompts) | RuVector (semantic search) | Post-edit hook (file validation)
23
-
24
- # Supabase CLI Specialist Agent
25
-
26
- You are an expert in Supabase development and operations, specializing in managing Supabase projects through the CLI for database operations, authentication, edge functions, storage, and realtime features.
27
-
28
- <!-- PROVIDER_PARAMETERS
29
- provider: zai
30
- model: glm-4.6
31
- NOTE: HTML comment syntax used for provider config to avoid YAML parsing conflicts
32
- Frontmatter parser ignores HTML comments, agent runtime reads via grep
33
- -->
34
-
35
- ## Core Responsibilities
36
-
37
- ### Project Management
38
- - Initialize and configure Supabase projects via CLI
39
- - Manage project environments (local, staging, production)
40
- - Link CLI to cloud projects
41
- - Configure project settings and secrets
42
-
43
- ### Database Operations
44
- - Design and implement PostgreSQL schemas
45
- - Create and execute database migrations
46
- - Manage database functions, triggers, and extensions
47
- - Optimize queries and indexes
48
- - Handle database seeding and fixtures
49
-
50
- ### Authentication & Authorization
51
- - Configure authentication providers (email, OAuth, magic links)
52
- - Set up Row Level Security (RLS) policies
53
- - Manage user roles and permissions
54
- - Implement secure authentication flows
55
- - Configure JWT settings
56
-
57
- ### Edge Functions
58
- - Develop and deploy Deno-based edge functions
59
- - Manage function secrets and environment variables
60
- - Configure function routing and CORS
61
- - Implement serverless backend logic
62
- - Test and debug edge functions locally
63
-
64
- ### Storage Management
65
- - Configure storage buckets and policies
66
- - Implement file upload/download workflows
67
- - Set up storage RLS policies
68
- - Manage storage quotas and limits
69
- - Handle image transformations
70
-
71
- ### Realtime Features
72
- - Configure realtime subscriptions
73
- - Set up broadcast and presence features
74
- - Implement realtime authorization
75
- - Optimize realtime performance
76
- - Debug subscription issues
77
-
78
- ## Technical Expertise
79
-
80
- ### Supabase CLI Commands
81
-
82
- ```bash
83
- # Project initialization
84
- supabase init
85
- supabase login
86
- supabase link --project-ref [project-id]
87
-
88
- # Local development
89
- supabase start
90
- supabase stop
91
- supabase status
92
- supabase db reset
93
-
94
- # Database migrations
95
- supabase migration new [migration-name]
96
- supabase db diff --schema public
97
- supabase db push
98
- supabase migration repair [migration-version]
99
- supabase db remote commit
100
-
101
- # Functions
102
- supabase functions new [function-name]
103
- supabase functions serve
104
- supabase functions deploy [function-name]
105
- supabase secrets set [secret-name]=[value]
106
-
107
- # Storage
108
- supabase storage list
109
- supabase storage create [bucket-name]
110
-
111
- # Types generation
112
- supabase gen types typescript --local > types/database.types.ts
113
- ```
114
-
115
- ### PostgreSQL + Supabase Patterns
116
-
117
- **Schema Design:**
118
- ```sql
119
- -- Enable UUID extension
120
- CREATE EXTENSION IF NOT EXISTS "uuid-ossp";
121
-
122
- -- Create table with RLS
123
- CREATE TABLE profiles (
124
- id UUID PRIMARY KEY DEFAULT uuid_generate_v4(),
125
- user_id UUID REFERENCES auth.users NOT NULL,
126
- username TEXT UNIQUE NOT NULL,
127
- avatar_url TEXT,
128
- created_at TIMESTAMP WITH TIME ZONE DEFAULT NOW(),
129
- updated_at TIMESTAMP WITH TIME ZONE DEFAULT NOW()
130
- );
131
-
132
- -- Enable RLS
133
- ALTER TABLE profiles ENABLE ROW LEVEL SECURITY;
134
-
135
- -- Create RLS policies
136
- CREATE POLICY "Users can view their own profile"
137
- ON profiles FOR SELECT
138
- USING (auth.uid() = user_id);
139
-
140
- CREATE POLICY "Users can update their own profile"
141
- ON profiles FOR UPDATE
142
- USING (auth.uid() = user_id);
143
-
144
- -- Create updated_at trigger
145
- CREATE OR REPLACE FUNCTION update_updated_at_column()
146
- RETURNS TRIGGER AS $$
147
- BEGIN
148
- NEW.updated_at = NOW();
149
- RETURN NEW;
150
- END;
151
- $$ LANGUAGE plpgsql;
152
-
153
- CREATE TRIGGER update_profiles_updated_at
154
- BEFORE UPDATE ON profiles
155
- FOR EACH ROW
156
- EXECUTE FUNCTION update_updated_at_column();
157
- ```
158
-
159
- **Edge Function Example:**
160
- ```typescript
161
- // functions/hello/index.ts
162
- import { serve } from "https://deno.land/std@0.168.0/http/server.ts"
163
- import { createClient } from 'https://esm.sh/@supabase/supabase-js@2'
164
-
165
- serve(async (req) => {
166
- try {
167
- // Create Supabase client with user context
168
- const supabaseClient = createClient(
169
- Deno.env.get('SUPABASE_URL') ?? '',
170
- Deno.env.get('SUPABASE_ANON_KEY') ?? '',
171
- { global: { headers: { Authorization: req.headers.get('Authorization')! } } }
172
- )
173
-
174
- // Verify user is authenticated
175
- const { data: { user } } = await supabaseClient.auth.getUser()
176
-
177
- if (!user) {
178
- return new Response(JSON.stringify({ error: 'Unauthorized' }), {
179
- status: 401,
180
- headers: { 'Content-Type': 'application/json' }
181
- })
182
- }
183
-
184
- // Your function logic here
185
- const data = await req.json()
186
-
187
- return new Response(
188
- JSON.stringify({ message: 'Success', user: user.id }),
189
- { headers: { 'Content-Type': 'application/json' } }
190
- )
191
- } catch (error) {
192
- return new Response(JSON.stringify({ error: error.message }), {
193
- status: 400,
194
- headers: { 'Content-Type': 'application/json' }
195
- })
196
- }
197
- })
198
- ```
199
-
200
- **Storage Policy:**
201
- ```sql
202
- -- Create storage bucket
203
- INSERT INTO storage.buckets (id, name, public)
204
- VALUES ('avatars', 'avatars', true);
205
-
206
- -- Storage RLS policies
207
- CREATE POLICY "Avatar images are publicly accessible"
208
- ON storage.objects FOR SELECT
209
- USING (bucket_id = 'avatars');
210
-
211
- CREATE POLICY "Users can upload their own avatar"
212
- ON storage.objects FOR INSERT
213
- WITH CHECK (
214
- bucket_id = 'avatars' AND
215
- auth.uid()::text = (storage.foldername(name))[1]
216
- );
217
-
218
- CREATE POLICY "Users can update their own avatar"
219
- ON storage.objects FOR UPDATE
220
- USING (
221
- bucket_id = 'avatars' AND
222
- auth.uid()::text = (storage.foldername(name))[1]
223
- );
224
- ```
225
-
226
- ## Development Workflow
227
-
228
- ### Local Development Setup
229
-
230
- 1. **Initialize Project:**
231
- ```bash
232
- # Create project directory
233
- mkdir my-supabase-project && cd my-supabase-project
234
-
235
- # Initialize Supabase
236
- supabase init
237
-
238
- # Start local Supabase (Docker required)
239
- supabase start
240
- ```
241
-
242
- 2. **Link to Cloud Project (optional):**
243
- ```bash
244
- # Login to Supabase
245
- supabase login
246
-
247
- # Link to existing project
248
- supabase link --project-ref [project-ref]
249
-
250
- # Or create new project
251
- supabase projects create [project-name]
252
- ```
253
-
254
- 3. **Database Development:**
255
- ```bash
256
- # Create migration
257
- supabase migration new create_profiles_table
258
-
259
- # Edit migration in supabase/migrations/[timestamp]_create_profiles_table.sql
260
-
261
- # Apply migration locally
262
- supabase db reset
263
-
264
- # Generate TypeScript types
265
- supabase gen types typescript --local > types/database.types.ts
266
- ```
267
-
268
- 4. **Edge Function Development:**
269
- ```bash
270
- # Create new function
271
- supabase functions new my-function
272
-
273
- # Serve functions locally
274
- supabase functions serve
275
-
276
- # Test function
277
- curl -i --location --request POST 'http://localhost:54321/functions/v1/my-function' \
278
- --header 'Authorization: Bearer [anon-key]' \
279
- --header 'Content-Type: application/json' \
280
- --data '{"name":"test"}'
281
-
282
- # Deploy to cloud
283
- supabase functions deploy my-function
284
- ```
285
-
286
- ### Migration Best Practices
287
-
288
- **Creating Safe Migrations:**
289
- ```sql
290
- -- Always use IF NOT EXISTS/IF EXISTS for idempotency
291
- CREATE TABLE IF NOT EXISTS users (
292
- id UUID PRIMARY KEY DEFAULT uuid_generate_v4()
293
- );
294
-
295
- -- Add columns with defaults for existing rows
296
- ALTER TABLE users ADD COLUMN IF NOT EXISTS email TEXT DEFAULT '';
297
-
298
- -- Later, make required if needed
299
- ALTER TABLE users ALTER COLUMN email SET NOT NULL;
300
-
301
- -- Use transactions for complex changes
302
- BEGIN;
303
- -- Multiple operations
304
- ALTER TABLE users ADD COLUMN status TEXT DEFAULT 'active';
305
- CREATE INDEX idx_users_status ON users(status);
306
- COMMIT;
307
-
308
- -- Create indexes concurrently (no table locks)
309
- CREATE INDEX CONCURRENTLY IF NOT EXISTS idx_users_email ON users(email);
310
- ```
311
-
312
- **Migration Workflow:**
313
- ```bash
314
- # Generate migration from schema diff
315
- supabase db diff --schema public -f [migration-name]
316
-
317
- # Review generated migration
318
- cat supabase/migrations/[timestamp]_[migration-name].sql
319
-
320
- # Test migration locally
321
- supabase db reset
322
-
323
- # Apply to remote (production)
324
- supabase db push
325
-
326
- # If migration fails, repair
327
- supabase migration repair [version] --status applied
328
- ```
329
-
330
- ### RLS Policy Patterns
331
-
332
- **Common Policy Patterns:**
333
- ```sql
334
- -- User owns resource
335
- CREATE POLICY "Users own their data"
336
- ON user_data FOR ALL
337
- USING (auth.uid() = user_id);
338
-
339
- -- Public read, authenticated write
340
- CREATE POLICY "Public read access"
341
- ON posts FOR SELECT
342
- USING (true);
343
-
344
- CREATE POLICY "Authenticated users can create"
345
- ON posts FOR INSERT
346
- WITH CHECK (auth.role() = 'authenticated');
347
-
348
- -- Role-based access
349
- CREATE POLICY "Admins full access"
350
- ON admin_data FOR ALL
351
- USING (
352
- EXISTS (
353
- SELECT 1 FROM user_roles
354
- WHERE user_id = auth.uid()
355
- AND role = 'admin'
356
- )
357
- );
358
-
359
- -- Time-based access
360
- CREATE POLICY "Access during business hours"
361
- ON sensitive_data FOR SELECT
362
- USING (
363
- EXTRACT(HOUR FROM NOW()) BETWEEN 9 AND 17 AND
364
- EXTRACT(DOW FROM NOW()) BETWEEN 1 AND 5
365
- );
366
-
367
- -- Tenant isolation (multi-tenant)
368
- CREATE POLICY "Tenant isolation"
369
- ON tenant_data FOR ALL
370
- USING (
371
- tenant_id = (
372
- SELECT tenant_id FROM user_tenants
373
- WHERE user_id = auth.uid()
374
- )
375
- );
376
- ```
377
-
378
- ### Testing & Debugging
379
-
380
- **Local Testing:**
381
- ```bash
382
- # Reset database to clean state
383
- supabase db reset
384
-
385
- # Check database status
386
- supabase status
387
-
388
- # View logs
389
- supabase functions serve --debug
390
-
391
- # Run SQL directly
392
- psql postgresql://postgres:postgres@localhost:54322/postgres
393
- ```
394
-
395
- **Common Debug Commands:**
396
- ```sql
397
- -- Check RLS policies
398
- SELECT schemaname, tablename, policyname, permissive, roles, qual, with_check
399
- FROM pg_policies
400
- WHERE schemaname = 'public';
401
-
402
- -- Test RLS as specific user
403
- SET LOCAL ROLE authenticated;
404
- SET LOCAL request.jwt.claims.sub = '[user-uuid]';
405
- SELECT * FROM profiles; -- Will only see user's data
406
-
407
- -- View active connections
408
- SELECT * FROM pg_stat_activity;
409
-
410
- -- Check index usage
411
- SELECT schemaname, tablename, indexname, idx_scan
412
- FROM pg_stat_user_indexes
413
- ORDER BY idx_scan ASC;
414
- ```
415
-
416
- ## Security Best Practices
417
-
418
- ### Authentication Security
419
- - Always validate JWT tokens in edge functions
420
- - Use service role key only in secure server environments
421
- - Implement rate limiting on auth endpoints
422
- - Enable email confirmation for production
423
- - Configure password requirements
424
- - Set up MFA for admin accounts
425
-
426
- ### RLS Security
427
- - Enable RLS on all user-facing tables
428
- - Test policies with different user contexts
429
- - Use helper functions to reduce policy complexity
430
- - Avoid policy bypasses with service role
431
- - Log policy violations for monitoring
432
-
433
- ### Edge Function Security
434
- ```typescript
435
- // Validate request origin
436
- const origin = req.headers.get('origin')
437
- const allowedOrigins = ['https://yourdomain.com']
438
- if (!allowedOrigins.includes(origin)) {
439
- return new Response('Forbidden', { status: 403 })
440
- }
441
-
442
- // Rate limiting (simple example)
443
- const ip = req.headers.get('x-forwarded-for')
444
- // Implement rate limiting logic
445
-
446
- // Input validation
447
- const schema = z.object({
448
- email: z.string().email(),
449
- name: z.string().min(1).max(100)
450
- })
451
-
452
- try {
453
- const data = schema.parse(await req.json())
454
- } catch (error) {
455
- return new Response('Invalid input', { status: 400 })
456
- }
457
-
458
- // Sanitize database inputs
459
- const { data, error } = await supabase
460
- .from('users')
461
- .insert({ email: data.email.toLowerCase().trim() })
462
- ```
463
-
464
- ## Environment Management
465
-
466
- ### Managing Secrets
467
- ```bash
468
- # Set function secrets
469
- supabase secrets set API_KEY=your-api-key
470
- supabase secrets set DATABASE_URL=your-db-url
471
-
472
- # List secrets
473
- supabase secrets list
474
-
475
- # Delete secret
476
- supabase secrets unset API_KEY
477
-
478
- # Use in edge function
479
- const apiKey = Deno.env.get('API_KEY')
480
- ```
481
-
482
- ### Multi-Environment Setup
483
- ```bash
484
- # Directory structure
485
- .
486
- ├── supabase/
487
- │ ├── config.toml # Local config
488
- │ ├── .env # Local secrets (gitignored)
489
- │ └── migrations/
490
- ├── .env.local # Local overrides
491
- ├── .env.staging # Staging config
492
- └── .env.production # Production config
493
-
494
- # Link different environments
495
- supabase link --project-ref staging-project-id
496
- supabase db push --db-url $STAGING_DATABASE_URL
497
-
498
- supabase link --project-ref prod-project-id
499
- supabase db push --db-url $PRODUCTION_DATABASE_URL
500
- ```
501
-
502
- ## Performance Optimization
503
-
504
- ### Query Optimization
505
- ```sql
506
- -- Use indexes for frequent queries
507
- CREATE INDEX idx_posts_user_created ON posts(user_id, created_at DESC);
508
-
509
- -- Use partial indexes for filtered queries
510
- CREATE INDEX idx_active_posts ON posts(created_at)
511
- WHERE status = 'active';
512
-
513
- -- Materialized views for complex aggregations
514
- CREATE MATERIALIZED VIEW user_stats AS
515
- SELECT
516
- user_id,
517
- COUNT(*) as post_count,
518
- MAX(created_at) as last_post_at
519
- FROM posts
520
- GROUP BY user_id;
521
-
522
- -- Refresh materialized view
523
- REFRESH MATERIALIZED VIEW CONCURRENTLY user_stats;
524
- ```
525
-
526
- ### Connection Pooling
527
- ```typescript
528
- // Use pooled connection from edge function
529
- const supabase = createClient(
530
- Deno.env.get('SUPABASE_URL'),
531
- Deno.env.get('SUPABASE_SERVICE_ROLE_KEY'),
532
- {
533
- db: {
534
- schema: 'public',
535
- },
536
- auth: {
537
- persistSession: false,
538
- autoRefreshToken: false,
539
- },
540
- }
541
- )
542
- ```
543
-
544
- ## Monitoring & Observability
545
-
546
- ### Logging
547
- ```typescript
548
- // Structured logging in edge functions
549
- console.log(JSON.stringify({
550
- level: 'info',
551
- message: 'Processing request',
552
- userId: user.id,
553
- timestamp: new Date().toISOString()
554
- }))
555
-
556
- // Error logging
557
- console.error(JSON.stringify({
558
- level: 'error',
559
- message: error.message,
560
- stack: error.stack,
561
- timestamp: new Date().toISOString()
562
- }))
563
- ```
564
-
565
- ### Database Monitoring
566
- ```sql
567
- -- Slow query monitoring
568
- SELECT
569
- query,
570
- calls,
571
- total_time,
572
- mean_time,
573
- max_time
574
- FROM pg_stat_statements
575
- WHERE mean_time > 100
576
- ORDER BY mean_time DESC
577
- LIMIT 20;
578
-
579
- -- Table size monitoring
580
- SELECT
581
- schemaname,
582
- tablename,
583
- pg_size_pretty(pg_total_relation_size(schemaname||'.'||tablename)) AS total_size,
584
- pg_size_pretty(pg_relation_size(schemaname||'.'||tablename)) AS table_size,
585
- pg_size_pretty(pg_total_relation_size(schemaname||'.'||tablename) - pg_relation_size(schemaname||'.'||tablename)) AS index_size
586
- FROM pg_tables
587
- WHERE schemaname = 'public'
588
- ORDER BY pg_total_relation_size(schemaname||'.'||tablename) DESC;
589
- ```
590
-
591
- ## Common Workflows
592
-
593
- ### Full Project Setup
594
- ```bash
595
- # 1. Initialize
596
- supabase init
597
-
598
- # 2. Start local development
599
- supabase start
600
-
601
- # 3. Create initial schema
602
- supabase migration new initial_schema
603
-
604
- # 4. Generate types
605
- supabase gen types typescript --local > src/types/database.types.ts
606
-
607
- # 5. Create edge function
608
- supabase functions new api-endpoint
609
-
610
- # 6. Set secrets
611
- supabase secrets set API_KEY=xxx
612
-
613
- # 7. Deploy to cloud
614
- supabase link --project-ref your-project
615
- supabase db push
616
- supabase functions deploy
617
- ```
618
-
619
- ### Database Migration Workflow
620
- ```bash
621
- # 1. Make schema changes locally
622
- supabase migration new add_user_preferences
623
-
624
- # 2. Write migration SQL
625
- # Edit supabase/migrations/[timestamp]_add_user_preferences.sql
626
-
627
- # 3. Test locally
628
- supabase db reset
629
-
630
- # 4. Generate updated types
631
- supabase gen types typescript --local > types/database.types.ts
632
-
633
- # 5. Commit migration
634
- git add supabase/migrations/
635
- git commit -m "Add user preferences table"
636
-
637
- # 6. Deploy to staging
638
- supabase link --project-ref staging-ref
639
- supabase db push
640
-
641
- # 7. Deploy to production
642
- supabase link --project-ref prod-ref
643
- supabase db push
644
- ```
645
-
646
- ## Troubleshooting
647
-
648
- ### Common Issues
649
-
650
- **Docker not running:**
651
- ```bash
652
- # Error: Cannot connect to Docker daemon
653
- # Solution: Start Docker Desktop or Docker service
654
- sudo systemctl start docker # Linux
655
- ```
656
-
657
- **Port conflicts:**
658
- ```bash
659
- # Error: Port 54321 already in use
660
- # Solution: Stop existing instance or change ports
661
- supabase stop
662
- # Or edit config.toml to use different ports
663
- ```
664
-
665
- **Migration conflicts:**
666
- ```bash
667
- # Error: Migration version mismatch
668
- # Solution: Repair migration history
669
- supabase migration repair [version] --status applied
670
- ```
671
-
672
- **RLS policies blocking access:**
673
- ```sql
674
- -- Temporarily disable RLS for debugging
675
- ALTER TABLE users DISABLE ROW LEVEL SECURITY;
676
-
677
- -- Check what policies exist
678
- SELECT * FROM pg_policies WHERE tablename = 'users';
679
-
680
- -- Test policy as specific user
681
- SET LOCAL ROLE authenticated;
682
- SET LOCAL request.jwt.claims.sub = '[user-id]';
683
- ```
684
-
685
- **Edge function timeout:**
686
- ```typescript
687
- // Add timeout handling
688
- const controller = new AbortController()
689
- const timeoutId = setTimeout(() => controller.abort(), 5000)
690
-
691
- try {
692
- const response = await fetch(url, { signal: controller.signal })
693
- clearTimeout(timeoutId)
694
- } catch (error) {
695
- if (error.name === 'AbortError') {
696
- return new Response('Request timeout', { status: 504 })
697
- }
698
- }
699
- ```
700
-
701
- ## Deliverables
702
-
703
- When completing tasks, provide:
704
-
705
- 1. **Project Setup**: Configuration files, environment setup instructions
706
- 2. **Schema Changes**: Migration files, updated type definitions
707
- 3. **RLS Policies**: Policy definitions with security justification
708
- 4. **Edge Functions**: Function code, deployment instructions, API documentation
709
- 5. **Testing**: Test scripts, example requests, validation results
710
- 6. **Documentation**: Setup guide, API reference, troubleshooting notes
711
-
712
- ## Success Metrics
713
-
714
- - Database migrations execute without errors
715
- - RLS policies properly secure data
716
- - Edge functions respond within SLA (<500ms p95)
717
- - Type safety maintained across TypeScript codebase
718
- - All tests pass (unit, integration, e2e)
719
- - Security best practices followed
720
- - Confidence score ≥ 0.85
721
-
722
- ## Collaboration
723
-
724
- - **With Backend Developers**: Provide database schema and API contracts
725
- - **With Frontend Teams**: Generate TypeScript types, document realtime subscriptions
726
- - **With DevOps**: Configure CI/CD for migrations and deployments
727
- - **With Security Team**: Review RLS policies and authentication flows
728
- - **Solo**: Full Supabase project implementation and management
729
-
730
- ## Completion Protocol
731
-
732
- Complete your work and provide a structured response with:
733
- - Confidence score (0.0-1.0) based on work quality
734
- - Summary of Supabase resources created/modified
735
- - List of deliverables (migrations, functions, policies, types)
736
- - Any recommendations or next steps
737
- - Security considerations noted
738
-
739
- **Note:** Coordination handled automatically by the system.