@bluefly/openstandardagents 0.2.4 → 0.2.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 (511) hide show
  1. package/.cursorrules +84 -0
  2. package/.devfile.yaml +87 -0
  3. package/.env.example +25 -3
  4. package/.github/ISSUE_TEMPLATE/bug_report.yml +63 -0
  5. package/.github/ISSUE_TEMPLATE/feature_request.yml +40 -0
  6. package/.github/workflows/dependabot-comment.yml +34 -0
  7. package/.github/workflows/pr-comment.yml +33 -0
  8. package/.github/workflows/release.yml +1 -1
  9. package/.husky/pre-commit +5 -0
  10. package/.kiro/config.json +21 -0
  11. package/.kiro/settings/mcp.json +61 -0
  12. package/.kiro/specs/scripts-migration-api-first/design.md +883 -0
  13. package/.kiro/specs/scripts-migration-api-first/requirements.md +165 -0
  14. package/.kiro/specs/scripts-migration-api-first/tasks.md +539 -0
  15. package/.kiro/specs/website-brand-identity/design.md +1060 -0
  16. package/.kiro/specs/website-brand-identity/requirements.md +287 -0
  17. package/.kiro/specs/website-brand-identity/tasks.md +981 -0
  18. package/.releaserc.json +5 -4
  19. package/.version.json +6 -0
  20. package/CHANGELOG.md +163 -96
  21. package/CONTRIBUTING.md +23 -5
  22. package/README.md +130 -43
  23. package/bin/ossa +24 -3
  24. package/bin/ossa-dev +42 -0
  25. package/bin/ossa-export +32 -0
  26. package/bin/ossa-generate +60 -0
  27. package/bin/ossa-health +40 -0
  28. package/bin/ossa-init +26 -0
  29. package/bin/ossa-validate-all +55 -0
  30. package/bin/ossa-version +23 -0
  31. package/bin/validate-ossa-0.2.4.ts +244 -0
  32. package/bin/validate-ossa-0.2.5-RC.ts +244 -0
  33. package/bin/validate-ossa.ts +273 -0
  34. package/dist/di-container.d.ts +1 -1
  35. package/dist/di-container.d.ts.map +1 -1
  36. package/dist/di-container.js.map +1 -1
  37. package/dist/repositories/schema.repository.d.ts +17 -2
  38. package/dist/repositories/schema.repository.d.ts.map +1 -1
  39. package/dist/repositories/schema.repository.js +102 -19
  40. package/dist/repositories/schema.repository.js.map +1 -1
  41. package/dist/services/generation.service.d.ts +7 -5
  42. package/dist/services/generation.service.d.ts.map +1 -1
  43. package/dist/services/generation.service.js +92 -44
  44. package/dist/services/generation.service.js.map +1 -1
  45. package/dist/services/github-sync/github-client.d.ts +14 -0
  46. package/dist/services/github-sync/github-client.d.ts.map +1 -0
  47. package/dist/services/github-sync/github-client.js +41 -0
  48. package/dist/services/github-sync/github-client.js.map +1 -0
  49. package/dist/services/github-sync/gitlab-client.d.ts +17 -0
  50. package/dist/services/github-sync/gitlab-client.d.ts.map +1 -0
  51. package/dist/services/github-sync/gitlab-client.js +42 -0
  52. package/dist/services/github-sync/gitlab-client.js.map +1 -0
  53. package/dist/services/github-sync/schemas.d.ts +46 -0
  54. package/dist/services/github-sync/schemas.d.ts.map +1 -0
  55. package/dist/services/github-sync/schemas.js +36 -0
  56. package/dist/services/github-sync/schemas.js.map +1 -0
  57. package/dist/services/github-sync/sync.service.d.ts +27 -0
  58. package/dist/services/github-sync/sync.service.d.ts.map +1 -0
  59. package/dist/services/github-sync/sync.service.js +99 -0
  60. package/dist/services/github-sync/sync.service.js.map +1 -0
  61. package/dist/services/gitlab-agent.service.d.ts +94 -0
  62. package/dist/services/gitlab-agent.service.d.ts.map +1 -0
  63. package/dist/services/gitlab-agent.service.js +162 -0
  64. package/dist/services/gitlab-agent.service.js.map +1 -0
  65. package/dist/services/migration.service.d.ts +3 -3
  66. package/dist/services/migration.service.d.ts.map +1 -1
  67. package/dist/services/migration.service.js +108 -61
  68. package/dist/services/migration.service.js.map +1 -1
  69. package/dist/services/release-automation/base-crud.service.d.ts +93 -0
  70. package/dist/services/release-automation/base-crud.service.d.ts.map +1 -0
  71. package/dist/services/release-automation/base-crud.service.js +68 -0
  72. package/dist/services/release-automation/base-crud.service.js.map +1 -0
  73. package/dist/services/release-automation/index.d.ts +12 -0
  74. package/dist/services/release-automation/index.d.ts.map +1 -0
  75. package/dist/services/release-automation/index.js +12 -0
  76. package/dist/services/release-automation/index.js.map +1 -0
  77. package/dist/services/release-automation/merge-request.service.d.ts +119 -0
  78. package/dist/services/release-automation/merge-request.service.d.ts.map +1 -0
  79. package/dist/services/release-automation/merge-request.service.js +212 -0
  80. package/dist/services/release-automation/merge-request.service.js.map +1 -0
  81. package/dist/services/release-automation/milestone.service.d.ts +104 -0
  82. package/dist/services/release-automation/milestone.service.d.ts.map +1 -0
  83. package/dist/services/release-automation/milestone.service.js +207 -0
  84. package/dist/services/release-automation/milestone.service.js.map +1 -0
  85. package/dist/services/release-automation/release.service.d.ts +118 -0
  86. package/dist/services/release-automation/release.service.d.ts.map +1 -0
  87. package/dist/services/release-automation/release.service.js +207 -0
  88. package/dist/services/release-automation/release.service.js.map +1 -0
  89. package/dist/services/release-automation/schemas/release.schema.d.ts +299 -0
  90. package/dist/services/release-automation/schemas/release.schema.d.ts.map +1 -0
  91. package/dist/services/release-automation/schemas/release.schema.js +269 -0
  92. package/dist/services/release-automation/schemas/release.schema.js.map +1 -0
  93. package/dist/services/release-automation/tag.service.d.ts +99 -0
  94. package/dist/services/release-automation/tag.service.d.ts.map +1 -0
  95. package/dist/services/release-automation/tag.service.js +180 -0
  96. package/dist/services/release-automation/tag.service.js.map +1 -0
  97. package/dist/services/release-automation/webhook.service.d.ts +37 -0
  98. package/dist/services/release-automation/webhook.service.d.ts.map +1 -0
  99. package/dist/services/release-automation/webhook.service.js +173 -0
  100. package/dist/services/release-automation/webhook.service.js.map +1 -0
  101. package/dist/services/runtime/claude/capability-mapper.d.ts +84 -0
  102. package/dist/services/runtime/claude/capability-mapper.d.ts.map +1 -0
  103. package/dist/services/runtime/claude/capability-mapper.js +245 -0
  104. package/dist/services/runtime/claude/capability-mapper.js.map +1 -0
  105. package/dist/services/runtime/claude/claude-adapter.d.ts +80 -0
  106. package/dist/services/runtime/claude/claude-adapter.d.ts.map +1 -0
  107. package/dist/services/runtime/claude/claude-adapter.js +287 -0
  108. package/dist/services/runtime/claude/claude-adapter.js.map +1 -0
  109. package/dist/services/runtime/claude/manifest-parser.d.ts +77 -0
  110. package/dist/services/runtime/claude/manifest-parser.d.ts.map +1 -0
  111. package/dist/services/runtime/claude/manifest-parser.js +169 -0
  112. package/dist/services/runtime/claude/manifest-parser.js.map +1 -0
  113. package/dist/services/runtime/claude/types.d.ts +115 -0
  114. package/dist/services/runtime/claude/types.d.ts.map +1 -0
  115. package/dist/services/runtime/claude/types.js +6 -0
  116. package/dist/services/runtime/claude/types.js.map +1 -0
  117. package/dist/services/runtime/openai.adapter.d.ts.map +1 -1
  118. package/dist/services/runtime/openai.adapter.js.map +1 -1
  119. package/dist/services/validation.service.d.ts.map +1 -1
  120. package/dist/services/validation.service.js +35 -11
  121. package/dist/services/validation.service.js.map +1 -1
  122. package/dist/services/validators/anthropic.validator.d.ts +2 -2
  123. package/dist/services/validators/anthropic.validator.d.ts.map +1 -1
  124. package/dist/services/validators/anthropic.validator.js +14 -9
  125. package/dist/services/validators/anthropic.validator.js.map +1 -1
  126. package/dist/services/validators/autogen.validator.d.ts +2 -2
  127. package/dist/services/validators/autogen.validator.d.ts.map +1 -1
  128. package/dist/services/validators/autogen.validator.js +18 -15
  129. package/dist/services/validators/autogen.validator.js.map +1 -1
  130. package/dist/services/validators/crewai.validator.d.ts +2 -2
  131. package/dist/services/validators/crewai.validator.d.ts.map +1 -1
  132. package/dist/services/validators/crewai.validator.js +18 -17
  133. package/dist/services/validators/crewai.validator.js.map +1 -1
  134. package/dist/services/validators/cursor.validator.d.ts +2 -2
  135. package/dist/services/validators/cursor.validator.d.ts.map +1 -1
  136. package/dist/services/validators/cursor.validator.js +15 -11
  137. package/dist/services/validators/cursor.validator.js.map +1 -1
  138. package/dist/services/validators/langchain.validator.d.ts +2 -2
  139. package/dist/services/validators/langchain.validator.d.ts.map +1 -1
  140. package/dist/services/validators/langchain.validator.js +14 -11
  141. package/dist/services/validators/langchain.validator.js.map +1 -1
  142. package/dist/services/validators/langflow.validator.d.ts +2 -2
  143. package/dist/services/validators/langflow.validator.d.ts.map +1 -1
  144. package/dist/services/validators/langflow.validator.js +14 -9
  145. package/dist/services/validators/langflow.validator.js.map +1 -1
  146. package/dist/services/validators/langgraph.validator.d.ts +2 -2
  147. package/dist/services/validators/langgraph.validator.d.ts.map +1 -1
  148. package/dist/services/validators/langgraph.validator.js +23 -18
  149. package/dist/services/validators/langgraph.validator.js.map +1 -1
  150. package/dist/services/validators/llamaindex.validator.d.ts +2 -2
  151. package/dist/services/validators/llamaindex.validator.d.ts.map +1 -1
  152. package/dist/services/validators/llamaindex.validator.js +19 -16
  153. package/dist/services/validators/llamaindex.validator.js.map +1 -1
  154. package/dist/services/validators/openai.validator.d.ts +2 -2
  155. package/dist/services/validators/openai.validator.d.ts.map +1 -1
  156. package/dist/services/validators/openai.validator.js +20 -16
  157. package/dist/services/validators/openai.validator.js.map +1 -1
  158. package/dist/services/validators/vercel-ai.validator.d.ts +2 -2
  159. package/dist/services/validators/vercel-ai.validator.d.ts.map +1 -1
  160. package/dist/services/validators/vercel-ai.validator.js +16 -15
  161. package/dist/services/validators/vercel-ai.validator.js.map +1 -1
  162. package/dist/spec/v0.2.0/ossa-0.2.0.schema.json +0 -0
  163. package/dist/spec/v0.2.1/ossa-0.2.1.schema.json +555 -0
  164. package/dist/spec/v0.2.3/CHANGELOG.md +7 -7
  165. package/dist/spec/v0.2.3/README.md +9 -9
  166. package/dist/spec/v0.2.3/migrations/v0.2.2-to-v0.2.3.md +18 -18
  167. package/{spec/v0.2.4-dev → dist/spec/v0.2.4}/CHANGELOG.md +8 -8
  168. package/dist/spec/{v0.2.4-dev → v0.2.4}/migrations/v0.2.3-to-v0.2.4.md +10 -10
  169. package/dist/spec/{v0.2.4-dev/ossa-0.2.4-dev.yaml → v0.2.4/ossa-0.2.4.yaml} +1 -1
  170. package/dist/spec/v0.2.5/CHANGELOG.md +401 -0
  171. package/dist/spec/v0.2.5/README.md +72 -0
  172. package/dist/spec/v0.2.5/migrations/v0.2.3-to-v0.2.4.md +599 -0
  173. package/dist/spec/v0.2.5/ossa-0.2.5.schema.json +1696 -0
  174. package/dist/spec/v0.2.5/ossa-0.2.5.yaml +581 -0
  175. package/dist/spec/v0.2.5-RC/CHANGELOG.md +401 -0
  176. package/dist/spec/v0.2.5-RC/README.md +72 -0
  177. package/{spec/v0.2.4-dev → dist/spec/v0.2.5-RC}/migrations/v0.2.3-to-v0.2.4.md +10 -10
  178. package/dist/spec/v0.2.5-RC/ossa-0.2.5-RC.schema.json +1696 -0
  179. package/dist/spec/v0.2.5-RC/ossa-0.2.5-RC.yaml +581 -0
  180. package/dist/spec/v0.2.6/CHANGELOG.md +401 -0
  181. package/dist/spec/v0.2.6/README.md +72 -0
  182. package/dist/spec/v0.2.6/migrations/v0.2.3-to-v0.2.4.md +599 -0
  183. package/dist/spec/v0.2.6/migrations/v0.2.5-RC-to-v0.2.6.md +65 -0
  184. package/dist/spec/v0.2.6/ossa-0.2.6.schema.json +1786 -0
  185. package/dist/spec/v0.2.6/ossa-0.2.6.yaml +581 -0
  186. package/dist/spec/v0.2.6-dev/CHANGELOG.md +164 -0
  187. package/dist/spec/v0.2.6-dev/README.md +75 -0
  188. package/dist/spec/v0.2.6-dev/migrations/v0.2.2-to-v0.2.3.md +343 -0
  189. package/dist/spec/v0.2.6-dev/migrations/v0.2.3-to-v0.2.4.md +599 -0
  190. package/dist/spec/v0.2.6-dev/ossa-0.2.5.schema.json +1696 -0
  191. package/dist/spec/v0.2.6-dev/ossa-0.2.5.yaml +581 -0
  192. package/dist/spec/{v0.2.5-dev/ossa-0.2.5-dev.schema.json → v0.2.6-dev/ossa-0.2.6-dev.schema.json} +323 -359
  193. package/dist/spec/v0.2.6-dev/ossa-0.2.6-dev.yaml +448 -0
  194. package/dist/spec/v0.2.7/core/agentgraph.md +324 -0
  195. package/dist/spec/v0.2.7/resources/agentgraph.yaml +135 -0
  196. package/dist/types/index.d.ts +6 -1
  197. package/dist/types/index.d.ts.map +1 -1
  198. package/docs/brand-guide/01-brand-overview.md +37 -0
  199. package/docs/brand-guide/02-logo-usage.md +43 -0
  200. package/docs/brand-guide/03-color-palette.md +70 -0
  201. package/docs/brand-guide/04-typography.md +82 -0
  202. package/docs/brand-guide/05-voice-and-tone.md +108 -0
  203. package/docs/brand-guide/06-visual-elements.md +137 -0
  204. package/docs/brand-guide/07-application-examples.md +153 -0
  205. package/docs/brand-guide/OssaLogo/OssA_Logo.svg +21 -0
  206. package/docs/brand-guide/OssaLogo/brand.af +0 -0
  207. package/docs/brand-guide/README.md +107 -0
  208. package/docs/comparison.md +315 -0
  209. package/docs/operations/automation-roadmap.md +245 -0
  210. package/docs/operations/github-sync-strategy.md +357 -0
  211. package/examples/anthropic/claude-assistant.ossa.json +5 -4
  212. package/examples/autogen/multi-agent.ossa.json +6 -4
  213. package/examples/bridges/Dockerfile.production +1 -1
  214. package/examples/crewai/research-team.ossa.json +14 -5
  215. package/examples/cursor/code-review-agent.ossa.json +21 -6
  216. package/examples/enterprise/agent.yml +1 -1
  217. package/examples/getting-started/hello-world-complete.ossa.yaml +2 -2
  218. package/examples/integration-patterns/agent-to-agent-orchestration.ossa.yaml +4 -4
  219. package/examples/langchain/chain-agent.ossa.json +21 -5
  220. package/examples/langflow/workflow-agent.ossa.json +2 -3
  221. package/examples/langgraph/state-machine-agent.ossa.json +2 -3
  222. package/examples/llamaindex/rag-agent.ossa.json +2 -3
  223. package/examples/openai/basic-agent.ossa.yaml +61 -0
  224. package/examples/openai/multi-tool-agent.ossa.json +188 -0
  225. package/examples/openai/swarm-agent.ossa.json +18 -5
  226. package/examples/openapi-extensions/README.md +1 -1
  227. package/examples/quickstart/support-agent.ossa.yaml +1 -1
  228. package/examples/vercel/edge-agent.ossa.json +5 -4
  229. package/infrastructure/gitlab-agent/rbac.yaml +126 -0
  230. package/infrastructure/gitlab-agent/values.yaml +150 -0
  231. package/infrastructure/k8s/monitoring/00-namespace.yaml +7 -0
  232. package/infrastructure/k8s/monitoring/01-prometheus.yaml +142 -0
  233. package/infrastructure/k8s/monitoring/02-grafana.yaml +63 -0
  234. package/infrastructure/k8s/monitoring/03-lightweight.yaml +121 -0
  235. package/infrastructure/k8s/monitoring/README.md +73 -0
  236. package/infrastructure/k8s/monitoring/deploy.sh +38 -0
  237. package/openapi/CHANGELOG.md +21 -0
  238. package/openapi/README.md +46 -0
  239. package/openapi/{ossa-core-api.openapi.yaml → core/ossa-core-api.openapi.yaml} +59 -4
  240. package/openapi/{ossa-registry.openapi.yaml → core/ossa-registry.openapi.yaml} +75 -2
  241. package/openapi/{unified-agent-gateway.openapi.yaml → core/unified-agent-gateway.openapi.yaml} +3 -3
  242. package/openapi/github-sync.yaml +115 -0
  243. package/openapi/reference-implementations/aiflow-bridge-api.openapi.yaml +136 -0
  244. package/openapi/reference-implementations/compliance-agent-api.openapi.yaml +192 -0
  245. package/openapi/reference-implementations/crewai-agent-api.openapi.yaml +149 -0
  246. package/openapi/reference-implementations/critic-agent-api.openapi.yaml +151 -0
  247. package/openapi/reference-implementations/document-analyzer-api.openapi.yaml +217 -0
  248. package/openapi/reference-implementations/getting-started-hello-world-api.openapi.yaml +149 -0
  249. package/openapi/reference-implementations/gitlab-ml-recommender-api.openapi.yaml +151 -0
  250. package/openapi/reference-implementations/governor-agent-api.openapi.yaml +193 -0
  251. package/openapi/reference-implementations/integrator-agent-api.openapi.yaml +165 -0
  252. package/openapi/reference-implementations/judge-agent-api.openapi.yaml +148 -0
  253. package/openapi/reference-implementations/k8s-troubleshooter-api.openapi.yaml +167 -0
  254. package/openapi/reference-implementations/langchain-agent-api.openapi.yaml +171 -0
  255. package/openapi/reference-implementations/monitor-agent-api.openapi.yaml +171 -0
  256. package/openapi/reference-implementations/orchestrator-agent-api.openapi.yaml +242 -0
  257. package/openapi/reference-implementations/quickstart-support-agent-api.openapi.yaml +187 -0
  258. package/openapi/{self-evolving-ecosystem.openapi.yaml → reference-implementations/self-evolving-ecosystem.openapi.yaml} +2 -2
  259. package/openapi/reference-implementations/worker-agent-api.openapi.yaml +208 -0
  260. package/openapi/reference-implementations/workflow-orchestrator-api.openapi.yaml +193 -0
  261. package/package.json +53 -22
  262. package/release.config.js +20 -5
  263. package/scripts/README.md +103 -0
  264. package/scripts/auto-rebase-mrs.ts +106 -0
  265. package/scripts/batch-dependabot.sh +57 -0
  266. package/scripts/bump-version.ts +57 -0
  267. package/scripts/configure-gitlab-branch-protection.ts +95 -0
  268. package/scripts/create-issue-helper.ts +238 -0
  269. package/scripts/create-milestone-issue.ts +73 -0
  270. package/scripts/enhanced-version-manager.ts +257 -0
  271. package/scripts/fix-schema-formats.js +82 -0
  272. package/scripts/gen-types.ts +51 -0
  273. package/scripts/gen-zod.ts +51 -0
  274. package/scripts/generate-agents-catalog.ts +77 -0
  275. package/scripts/generate-api-docs.ts +218 -0
  276. package/scripts/generate-cli-docs.ts +410 -0
  277. package/scripts/generate-config-docs.ts +109 -0
  278. package/scripts/generate-errors-docs.ts +76 -0
  279. package/scripts/generate-examples-docs.ts +99 -0
  280. package/scripts/generate-schema-docs.ts +296 -0
  281. package/scripts/generate-types-docs.ts +48 -0
  282. package/scripts/lib/exec.ts +37 -0
  283. package/scripts/lib/file-ops.ts +58 -0
  284. package/scripts/lib/version.ts +83 -0
  285. package/scripts/lowercase-docs.ts +43 -0
  286. package/scripts/manage-milestone-mrs.ts +279 -0
  287. package/scripts/process-doc-templates.ts +37 -0
  288. package/scripts/rebase-all-mrs.sh +75 -0
  289. package/scripts/schemas/package.schema.ts +75 -0
  290. package/scripts/setup-branch-protection.sh +33 -0
  291. package/scripts/sync-github-pr.sh +48 -0
  292. package/scripts/sync-version.js +40 -0
  293. package/scripts/sync-version.ts +39 -0
  294. package/scripts/sync-versions.ts +488 -0
  295. package/scripts/sync-wiki.sh +50 -0
  296. package/scripts/validate-all.js +127 -0
  297. package/scripts/validate-schema.ts +49 -0
  298. package/spec/v0.2.0/ossa-0.2.0.schema.json +0 -0
  299. package/spec/v0.2.1/ossa-0.2.1.schema.json +555 -0
  300. package/spec/v0.2.3/CHANGELOG.md +7 -7
  301. package/spec/v0.2.3/README.md +9 -9
  302. package/spec/v0.2.3/migrations/v0.2.2-to-v0.2.3.md +18 -18
  303. package/{dist/spec/v0.2.4-dev → spec/v0.2.4}/CHANGELOG.md +8 -8
  304. package/spec/v0.2.4/migrations/v0.2.3-to-v0.2.4.md +599 -0
  305. package/spec/{v0.2.4-dev/ossa-0.2.4-dev.yaml → v0.2.4/ossa-0.2.4.yaml} +1 -1
  306. package/spec/v0.2.5/CHANGELOG.md +401 -0
  307. package/spec/v0.2.5/README.md +72 -0
  308. package/spec/v0.2.5/migrations/v0.2.3-to-v0.2.4.md +599 -0
  309. package/spec/v0.2.5/ossa-0.2.5.schema.json +1696 -0
  310. package/spec/v0.2.5/ossa-0.2.5.yaml +581 -0
  311. package/spec/v0.2.5-RC/CHANGELOG.md +401 -0
  312. package/spec/v0.2.5-RC/README.md +72 -0
  313. package/spec/v0.2.5-RC/migrations/v0.2.3-to-v0.2.4.md +599 -0
  314. package/spec/v0.2.5-RC/ossa-0.2.5-RC.schema.json +1696 -0
  315. package/spec/v0.2.5-RC/ossa-0.2.5-RC.yaml +581 -0
  316. package/spec/v0.2.6/CHANGELOG.md +401 -0
  317. package/spec/v0.2.6/README.md +72 -0
  318. package/spec/v0.2.6/migrations/v0.2.3-to-v0.2.4.md +599 -0
  319. package/spec/v0.2.6/migrations/v0.2.5-RC-to-v0.2.6.md +65 -0
  320. package/spec/v0.2.6/ossa-0.2.6.schema.json +1786 -0
  321. package/spec/v0.2.6/ossa-0.2.6.yaml +581 -0
  322. package/spec/v0.2.6-dev/CHANGELOG.md +164 -0
  323. package/spec/v0.2.6-dev/README.md +75 -0
  324. package/spec/v0.2.6-dev/migrations/v0.2.2-to-v0.2.3.md +343 -0
  325. package/spec/v0.2.6-dev/migrations/v0.2.3-to-v0.2.4.md +599 -0
  326. package/spec/v0.2.6-dev/ossa-0.2.5.schema.json +1696 -0
  327. package/spec/v0.2.6-dev/ossa-0.2.5.yaml +581 -0
  328. package/spec/{v0.2.5-dev/ossa-0.2.5-dev.schema.json → v0.2.6-dev/ossa-0.2.6-dev.schema.json} +323 -359
  329. package/spec/v0.2.6-dev/ossa-0.2.6-dev.yaml +448 -0
  330. package/spec/v0.2.7/core/agentgraph.md +324 -0
  331. package/spec/v0.2.7/resources/agentgraph.yaml +135 -0
  332. package/website/{.lighthouserc.js → .lighthouserc.ts} +5 -1
  333. package/website/DESIGN_SYSTEM_IMPLEMENTATION.md +445 -0
  334. package/website/Dockerfile +18 -5
  335. package/website/app/about/page.tsx +60 -51
  336. package/website/app/blog/[slug]/page.tsx +61 -20
  337. package/website/app/blog/page.tsx +120 -33
  338. package/website/app/design-guide/page.tsx +511 -0
  339. package/website/app/docs/[[...slug]]/page.tsx +641 -143
  340. package/website/app/ecosystem/page.tsx +146 -111
  341. package/website/app/examples/page.tsx +51 -41
  342. package/website/app/globals.scss +370 -0
  343. package/website/app/layout.tsx +2 -2
  344. package/website/app/license/page.tsx +183 -0
  345. package/website/app/not-found.tsx +18 -0
  346. package/website/app/page.tsx +513 -236
  347. package/website/app/page.tsx.bak +679 -0
  348. package/website/app/page.tsx.bak2 +649 -0
  349. package/website/app/playground/page.tsx +25 -45
  350. package/website/app/schema/page.tsx +423 -392
  351. package/website/app/specification/page.tsx +245 -169
  352. package/website/components/Logo.tsx +75 -2
  353. package/website/components/docs/DocsSidebar.tsx +40 -3
  354. package/website/components/docs/MarkdownContent.tsx +265 -47
  355. package/website/components/docs/VersionSelector.tsx +64 -8
  356. package/website/components/examples/ExamplesViewer.tsx +2 -2
  357. package/website/components/layout/Footer.tsx +6 -1
  358. package/website/components/layout/Header.tsx +44 -42
  359. package/website/components/schema/SchemaComponentsAccordion.tsx +84 -0
  360. package/website/components/schema/SchemaExplorer.tsx +4 -4
  361. package/website/components/ui/Badge.tsx +82 -0
  362. package/website/components/ui/Button.tsx +116 -0
  363. package/website/components/ui/Card.tsx +167 -0
  364. package/website/components/ui/Checkbox.tsx +141 -0
  365. package/website/components/ui/Input.tsx +169 -0
  366. package/website/components/ui/Radio.tsx +141 -0
  367. package/website/components/ui/Select.tsx +182 -0
  368. package/website/components/ui/Tag.tsx +158 -0
  369. package/website/components/ui/Textarea.tsx +195 -0
  370. package/website/components/ui/index.ts +11 -0
  371. package/website/content/blog/OpenAPI-AI-Agents-Standard.md +276 -276
  372. package/website/content/blog/Why-Formal-Standards-Matter-Now.md +3 -14
  373. package/website/content/blog/gitlab-kubernetes-agent-ecosystem.md +286 -0
  374. package/website/content/blog/introducing-ossa-framework.md +1 -1
  375. package/website/content/blog/ossa-production-results.md +5 -5
  376. package/website/content/blog/welcome-to-ossa.md +2 -2
  377. package/website/content/blog/why-ai-agents-need-open-standard.md +5 -5
  378. package/website/content/docs/{00-HOME.md → 00-home.md} +18 -25
  379. package/website/content/docs/adapters/openai-adapter.md +693 -0
  380. package/website/content/docs/agents/catalog.md +28 -0
  381. package/website/content/docs/aiflow-framework-integration-with-ossa.md +107 -0
  382. package/website/content/docs/api-reference/index.md +38 -0
  383. package/website/content/docs/api-reference/ossa-core-api.md +634 -0
  384. package/website/content/docs/api-reference/ossa-registry-api.md +515 -0
  385. package/website/content/docs/api-reference/unified-agent-gateway.md +599 -0
  386. package/website/content/docs/architecture/execution-flow.md +3 -3
  387. package/website/content/docs/architecture/multi-agent-systems.md +4 -4
  388. package/website/content/docs/architecture/overview.md +4 -4
  389. package/website/content/docs/architecture/stack-integration.md +4 -4
  390. package/website/content/docs/changelog.md +4 -4
  391. package/website/content/docs/cli-reference/index.md +111 -0
  392. package/website/content/docs/cli-reference/ossa-agents.md +70 -0
  393. package/website/content/docs/cli-reference/ossa-export.md +56 -0
  394. package/website/content/docs/cli-reference/ossa-generate.md +66 -0
  395. package/website/content/docs/cli-reference/ossa-gitlab-agent.md +57 -0
  396. package/website/content/docs/cli-reference/ossa-import.md +56 -0
  397. package/website/content/docs/cli-reference/ossa-init.md +57 -0
  398. package/website/content/docs/cli-reference/ossa-migrate.md +62 -0
  399. package/website/content/docs/cli-reference/ossa-run.md +66 -0
  400. package/website/content/docs/cli-reference/ossa-schema.md +57 -0
  401. package/website/content/docs/cli-reference/ossa-setup.md +57 -0
  402. package/website/content/docs/cli-reference/ossa-validate.md +66 -0
  403. package/website/content/docs/configuration/index.md +97 -0
  404. package/website/content/docs/contributing.md +2 -2
  405. package/website/content/docs/deployment/github-mirroring.md +924 -0
  406. package/website/content/docs/documentation.md +100 -0
  407. package/website/content/docs/ecosystem/framework-support.md +551 -11
  408. package/website/content/docs/errors/index.md +10 -0
  409. package/website/content/docs/{AIFlow-Framework-Integration-with-OSSA.md → examples/aiflow-framework-integration-with-ossa.md} +2 -2
  410. package/website/content/docs/examples/catalog.md +300 -0
  411. package/website/content/docs/for-audiences/{Students-Researchers.md → students-researchers.md} +1 -1
  412. package/website/content/docs/getting-started/index.md +92 -0
  413. package/website/content/docs/getting-started/installation.md +7 -7
  414. package/website/content/docs/getting-started/running-agents.md +215 -13
  415. package/{docs → website/content/docs}/getting-started.md +10 -6
  416. package/website/content/docs/integrations/aiflow.md +2 -2
  417. package/website/content/docs/integrations/drupal.md +2 -2
  418. package/website/content/docs/migration-guides/agent-schema-comparison.md +232 -0
  419. package/website/content/docs/migration-guides/anthropic-mcp-to-ossa.md +5 -5
  420. package/website/content/docs/migration-guides/crewai-to-ossa.md +3 -3
  421. package/website/content/docs/migration-guides/drupal-eca-to-ossa.md +11 -11
  422. package/{docs/migration → website/content/docs/migration-guides}/general-agent-schema.yml +1 -9
  423. package/website/content/docs/migration-guides/index.md +1 -1
  424. package/website/content/docs/migration-guides/langchain-to-ossa.md +17 -17
  425. package/website/content/docs/migration-guides/langflow-to-ossa.md +3 -3
  426. package/website/content/docs/migration-guides/openai-to-ossa.md +10 -10
  427. package/website/content/docs/openapi-extensions/examples.md +9 -9
  428. package/website/content/docs/openapi-extensions/index.md +59 -3
  429. package/website/content/docs/openapi-extensions/operation-extensions.md +61 -2
  430. package/website/content/docs/openapi-extensions/root-extensions.md +49 -3
  431. package/{docs/OSSA-COMPLIANT-BADGE.md → website/content/docs/ossa-compliant-badge.md} +18 -15
  432. package/website/content/docs/pre-release/index.md +10 -10
  433. package/website/content/docs/readme.md +35 -0
  434. package/website/content/docs/releases/v0.2.6.md +99 -0
  435. package/website/content/docs/schema-reference/agent-capabilities.md +50 -0
  436. package/website/content/docs/schema-reference/agent-id.md +52 -0
  437. package/website/content/docs/schema-reference/agent-name.md +50 -0
  438. package/website/content/docs/schema-reference/agent-role.md +54 -0
  439. package/website/content/docs/schema-reference/agent-spec.md +2 -2
  440. package/website/content/docs/schema-reference/agent-version.md +50 -0
  441. package/website/content/docs/schema-reference/autonomy.md +5 -5
  442. package/website/content/docs/schema-reference/constraints.md +5 -5
  443. package/website/content/docs/schema-reference/index.md +26 -157
  444. package/website/content/docs/schema-reference/llm-config.md +1 -1
  445. package/website/content/docs/schema-reference/observability.md +5 -5
  446. package/website/content/docs/schema-reference/ossa-manifest.md +6 -6
  447. package/website/content/docs/schema-reference/taxonomy.md +3 -3
  448. package/website/content/docs/types-reference/index.md +105 -0
  449. package/website/content/docs/use-cases/00-index.md +1 -1
  450. package/{docs/VERSIONING.md → website/content/docs/versioning.md} +9 -5
  451. package/website/dev.sh +53 -0
  452. package/website/docker-compose.dev.yml +36 -0
  453. package/website/lib/version.ts +18 -1
  454. package/website/lib/versions.json +103 -0
  455. package/website/next.config.ts +3 -1
  456. package/website/package-lock.json +552 -18
  457. package/website/package.json +11 -5
  458. package/website/postcss.config.mjs +1 -1
  459. package/website/scripts/fetch-versions.js +166 -0
  460. package/website/scripts/generate-examples-index.js +163 -0
  461. package/website/scripts/merge-docs-to-wiki.ts +207 -0
  462. package/website/scripts/sync-version.js +28 -0
  463. package/website/scripts/sync-wiki.ts +64 -3
  464. package/website/scripts/upload-wiki.ts +199 -0
  465. package/website/styles/_spacing.scss +453 -0
  466. package/website/styles/_tokens.scss +245 -0
  467. package/website/styles/_typography.scss +361 -0
  468. package/website/styles/_variables.scss +287 -0
  469. package/website/tailwind.config.ts +127 -22
  470. package/.releaserc.json.disabled +0 -81
  471. package/dist/spec/v0.2.5-dev/CHANGELOG.md +0 -171
  472. package/dist/spec/v0.2.5-dev/examples/customer-support-graph.ossa.yaml +0 -362
  473. package/dist/spec/v0.2.5-dev/examples/parallel-processors.ossa.yaml +0 -464
  474. package/dist/spec/v0.2.5-dev/examples/research-team.ossa.yaml +0 -440
  475. package/dist/spec/v0.2.5-dev/migrations/v0.2.4-to-v0.2.5.md +0 -317
  476. package/dist/spec/v0.2.5-dev/ossa-0.2.5-dev.yaml +0 -409
  477. package/docs/README.md +0 -31
  478. package/docs/agent-openapi-spec.yml +0 -942
  479. package/docs/openapi-extensions.md +0 -930
  480. package/docs/schemas/openapi-extensions.schema.json +0 -486
  481. package/openapi/gitlab-orchestrator.openapi.yaml +0 -330
  482. package/ossa-website-swarm-tasks.json +0 -105
  483. package/spec/v0.2.5-dev/CHANGELOG.md +0 -171
  484. package/spec/v0.2.5-dev/examples/customer-support-graph.ossa.yaml +0 -362
  485. package/spec/v0.2.5-dev/examples/parallel-processors.ossa.yaml +0 -464
  486. package/spec/v0.2.5-dev/examples/research-team.ossa.yaml +0 -440
  487. package/spec/v0.2.5-dev/migrations/v0.2.4-to-v0.2.5.md +0 -317
  488. package/spec/v0.2.5-dev/ossa-0.2.5-dev.yaml +0 -409
  489. package/website/app/api/validate/route.ts +0 -88
  490. package/website/app/globals.css +0 -108
  491. package/website/content/docs/OpenAPI-Extensions.md +0 -498
  492. package/website/content/docs/core-concepts/project-structure.md +0 -348
  493. package/website/content/docs/examples/Migration-Guides.md +0 -214
  494. package/website/content/docs/examples.md +0 -71
  495. package/website/content/docs/for-audiences/Enterprises.md +0 -256
  496. package/website/content/docs/for-audiences/architects.md +0 -224
  497. package/website/content/docs/for-audiences/developers.md +0 -220
  498. package/website/content/docs/getting-started/5-minute-overview.md +0 -85
  499. package/website/content/docs/getting-started/Hello-World.md +0 -184
  500. package/website/content/docs/getting-started/first-agent.md +0 -196
  501. package/website/content/docs/migration-guides/00-index.md +0 -76
  502. package/website/content/docs/migration-guides/README.md +0 -133
  503. package/website/next.config.js +0 -17
  504. package/website/postcss.config.js +0 -7
  505. package/website/tailwind.config.js +0 -58
  506. /package/dist/spec/{v0.2.4-dev/ossa-0.2.4-dev.schema.json → v0.2.4/ossa-0.2.4.schema.json} +0 -0
  507. /package/openapi/{ossa-registry-api.openapi.yaml → core/ossa-registry-api.openapi.yaml} +0 -0
  508. /package/openapi/{drupal-agent-api.openapi.yaml → reference-implementations/drupal-agent-api.openapi.yaml} +0 -0
  509. /package/openapi/{helm-generator.openapi.yaml → reference-implementations/helm-generator.openapi.yaml} +0 -0
  510. /package/spec/{v0.2.4-dev/ossa-0.2.4-dev.schema.json → v0.2.4/ossa-0.2.4.schema.json} +0 -0
  511. /package/{docs/migration → website/content/docs/migration-guides}/migration-manifest.json +0 -0
@@ -0,0 +1,539 @@
1
+ # Implementation Plan
2
+
3
+ - [ ] 1. Set up foundation and shared infrastructure
4
+ - Create base repository interface and error hierarchy
5
+ - Move utilities from scripts/lib to src/utils
6
+ - Set up Zod schema directory structure
7
+ - Create OpenAPI spec templates
8
+ - _Requirements: 1.3, 6.1, 12.1_
9
+
10
+ - [ ] 1.1 Create base repository interface
11
+ - Define IRepository<T, ID> interface with CRUD methods
12
+ - Define IFileRepository<T> interface extending IRepository
13
+ - Add TypeScript types for repository operations
14
+ - _Requirements: 6.1_
15
+
16
+ - [ ] 1.2 Create error hierarchy
17
+ - Implement DomainError base class with code and details
18
+ - Implement ValidationError, NotFoundError, GitLabError, SchemaError
19
+ - Add error code constants
20
+ - _Requirements: 6.4, 12.5_
21
+
22
+ - [ ]* 1.3 Write property test for error types
23
+ - **Property 14: Repository Error Types**
24
+ - **Validates: Requirements 6.4**
25
+
26
+ - [ ]* 1.4 Write property test for utility error types
27
+ - **Property 24: Utility Error Types**
28
+ - **Validates: Requirements 12.5**
29
+
30
+ - [ ] 1.5 Move scripts/lib utilities to src/utils
31
+ - Move file-ops.ts to src/utils/file-ops.ts
32
+ - Move exec.ts to src/utils/exec.ts
33
+ - Move version.ts to src/utils/version.ts
34
+ - Update imports to use @utils/\* path aliases
35
+ - _Requirements: 12.1, 12.3_
36
+
37
+ - [ ]* 1.6 Write unit tests for file-ops utility
38
+ - Test readFile, writeFile, fileExists, requireFile
39
+ - Test error handling for missing files
40
+ - _Requirements: 12.1_
41
+
42
+ - [ ]* 1.7 Write unit tests for exec utility
43
+ - Test execCommand with valid commands
44
+ - Test error handling for failed commands
45
+ - _Requirements: 12.1_
46
+
47
+ - [ ] 1.8 Create Zod schema directory structure
48
+ - Create src/schemas/ directory
49
+ - Create placeholder files for version, documentation, gitlab, schema schemas
50
+ - Add index.ts for schema exports
51
+ - _Requirements: 7.5_
52
+
53
+ - [ ] 1.9 Create OpenAPI spec templates
54
+ - Create openapi/services/ directory
55
+ - Create template structure for service specs
56
+ - Add Redocly configuration for validation
57
+ - _Requirements: 8.1_
58
+
59
+ - [ ] 2. Implement Version Service and Repository
60
+ - Define OpenAPI spec for VersionService
61
+ - Implement VersionRepository with CRUD operations
62
+ - Implement VersionService with version management logic
63
+ - Create CLI commands for version operations
64
+ - _Requirements: 2.1, 2.2, 2.3, 2.4, 2.5_
65
+
66
+ - [ ] 2.1 Define OpenAPI spec for VersionService
67
+ - Create openapi/services/version-service.openapi.yaml
68
+ - Define operations: getCurrentVersion, bumpVersion, syncVersions, validateVersion
69
+ - Define schemas for VersionInfo, BumpType, SyncResult
70
+ - _Requirements: 8.1, 8.2_
71
+
72
+ - [ ] 2.2 Validate OpenAPI spec with Redocly
73
+ - Run Redocly CLI validation on version-service spec
74
+ - Fix any validation errors
75
+ - _Requirements: 8.4_
76
+
77
+ - [ ]* 2.3 Write property test for OpenAPI spec validity
78
+ - **Property 17: OpenAPI Specification Validity**
79
+ - **Validates: Requirements 8.4**
80
+
81
+ - [ ] 2.4 Create version domain types and schemas
82
+ - Create src/types/version.types.ts with VersionConfig, PackageJson, VersionBump interfaces
83
+ - Create src/schemas/version.schemas.ts with Zod schemas
84
+ - Add semver validation regex pattern
85
+ - _Requirements: 2.2, 7.1_
86
+
87
+ - [ ]* 2.5 Write property test for version string validation
88
+ - **Property 2: Version String Validation**
89
+ - **Validates: Requirements 2.2**
90
+
91
+ - [ ] 2.6 Implement VersionRepository
92
+ - Create src/repositories/version.repository.ts
93
+ - Implement CRUD operations for .version.json
94
+ - Implement read/write for package.json version field
95
+ - Add Zod validation for all data operations
96
+ - _Requirements: 2.3, 6.2, 6.3, 6.5_
97
+
98
+ - [ ]* 2.7 Write property test for repository data validation
99
+ - **Property 12: Repository Data Validation**
100
+ - **Validates: Requirements 6.2**
101
+
102
+ - [ ]* 2.8 Write property test for repository type safety
103
+ - **Property 13: Repository Type Safety**
104
+ - **Validates: Requirements 6.3**
105
+
106
+ - [ ]* 2.9 Write unit tests for VersionRepository
107
+ - Test create, read, update, delete, list operations
108
+ - Test error handling for missing files
109
+ - Mock file system operations
110
+ - _Requirements: 2.3, 6.1_
111
+
112
+ - [ ] 2.10 Implement VersionService
113
+ - Create src/services/version.service.ts
114
+ - Implement getCurrentVersion, bumpVersion, syncVersions, validateVersion methods
115
+ - Add input validation with Zod schemas
116
+ - Add output validation with Zod schemas
117
+ - Register service in DI container
118
+ - _Requirements: 2.1, 2.4, 2.5, 1.4, 7.2_
119
+
120
+ - [ ]* 2.11 Write property test for version bump correctness
121
+ - **Property 3: Version Bump Correctness**
122
+ - **Validates: Requirements 2.4**
123
+
124
+ - [ ]* 2.12 Write property test for version sync consistency
125
+ - **Property 4: Version Sync Consistency**
126
+ - **Validates: Requirements 2.5**
127
+
128
+ - [ ]* 2.13 Write property test for input validation
129
+ - **Property 1: Input Validation Universality**
130
+ - **Validates: Requirements 1.4, 7.1, 7.3**
131
+
132
+ - [ ]* 2.14 Write property test for output validation
133
+ - **Property 15: Service Output Validation**
134
+ - **Validates: Requirements 7.2**
135
+
136
+ - [ ]* 2.15 Write unit tests for VersionService
137
+ - Test getCurrentVersion with mocked repository
138
+ - Test bumpVersion for all bump types (major, minor, patch, rc, release)
139
+ - Test syncVersions with multiple files
140
+ - Test validateVersion with valid and invalid versions
141
+ - Test error handling
142
+ - _Requirements: 2.1, 2.4, 2.5_
143
+
144
+ - [ ] 2.16 Create CLI commands for version operations
145
+ - Create src/cli/commands/version.command.ts
146
+ - Implement bump, sync, current, validate subcommands
147
+ - Add argument validation with Zod
148
+ - Add service resolution from DI container
149
+ - Add error formatting
150
+ - _Requirements: 9.1, 9.2, 9.3, 9.4_
151
+
152
+ - [ ]* 2.17 Write property test for CLI service resolution
153
+ - **Property 18: CLI Service Resolution**
154
+ - **Validates: Requirements 9.2**
155
+
156
+ - [ ]* 2.18 Write property test for CLI argument validation
157
+ - **Property 19: CLI Argument Validation**
158
+ - **Validates: Requirements 9.3**
159
+
160
+ - [ ]* 2.19 Write property test for CLI error formatting
161
+ - **Property 20: CLI Error Formatting**
162
+ - **Validates: Requirements 9.4**
163
+
164
+ - [ ]* 2.20 Write integration tests for version CLI commands
165
+ - Test bump command end-to-end with temp directory
166
+ - Test sync command with multiple files
167
+ - Test error scenarios
168
+ - _Requirements: 9.1, 9.2, 9.3, 9.4_
169
+
170
+ - [ ] 2.21 Create deprecated wrapper scripts
171
+ - Create scripts/bump-version.ts wrapper with deprecation warning
172
+ - Create scripts/sync-version.ts wrapper with deprecation warning
173
+ - Create scripts/sync-versions.ts wrapper with deprecation warning
174
+ - Create scripts/enhanced-version-manager.ts wrapper with deprecation warning
175
+ - _Requirements: 11.1, 11.4_
176
+
177
+ - [ ]* 2.22 Write property test for migration backward compatibility
178
+ - **Property 21: Migration Backward Compatibility**
179
+ - **Validates: Requirements 11.1**
180
+
181
+ - [ ]* 2.23 Write property test for deprecation warnings
182
+ - **Property 22: Deprecation Warning Presence**
183
+ - **Validates: Requirements 11.4**
184
+
185
+ - [ ] 3. Checkpoint - Ensure all tests pass
186
+ - Ensure all tests pass, ask the user if questions arise.
187
+
188
+ - [ ] 4. Implement Documentation Service and Repository
189
+ - Define OpenAPI spec for DocumentationService
190
+ - Implement DocumentationRepository
191
+ - Implement MarkdownBuilder and OpenAPIParser utilities
192
+ - Implement DocumentationService
193
+ - Create CLI commands for documentation operations
194
+ - _Requirements: 3.1, 3.2, 3.3, 3.4, 3.5_
195
+
196
+ - [ ] 4.1 Define OpenAPI spec for DocumentationService
197
+ - Create openapi/services/documentation-service.openapi.yaml
198
+ - Define operations: generateApiDocs, generateCliDocs, generateSchemaDocs, generateExamplesDocs, generateAllDocs
199
+ - Define schemas for ApiDocsOptions, GenerationResult
200
+ - _Requirements: 8.1, 8.2_
201
+
202
+ - [ ] 4.2 Validate OpenAPI spec with Redocly
203
+ - Run Redocly CLI validation on documentation-service spec
204
+ - Fix any validation errors
205
+ - _Requirements: 8.4_
206
+
207
+ - [ ] 4.3 Create documentation domain types and schemas
208
+ - Create src/types/documentation.types.ts with OpenAPISpec, DocumentationMetadata, MarkdownSection interfaces
209
+ - Create src/schemas/documentation.schemas.ts with Zod schemas
210
+ - _Requirements: 3.2, 7.1_
211
+
212
+ - [ ]* 4.4 Write property test for documentation input validation
213
+ - **Property 5: Documentation Input Validation**
214
+ - **Validates: Requirements 3.2**
215
+
216
+ - [ ] 4.5 Implement MarkdownBuilder utility
217
+ - Create src/utils/markdown-builder.ts
218
+ - Implement methods for headings, code blocks, lists, tables, links
219
+ - Add fluent API for chaining operations
220
+ - _Requirements: 3.4_
221
+
222
+ - [ ]* 4.6 Write unit tests for MarkdownBuilder
223
+ - Test heading generation at different levels
224
+ - Test code block generation with language hints
225
+ - Test list and table generation
226
+ - Test link generation
227
+ - _Requirements: 3.4_
228
+
229
+ - [ ] 4.7 Implement OpenAPIParser utility
230
+ - Create src/utils/openapi-parser.ts
231
+ - Implement parsing of OpenAPI YAML/JSON specs
232
+ - Add type-safe interfaces for OpenAPI objects
233
+ - Add validation for required fields
234
+ - _Requirements: 3.3_
235
+
236
+ - [ ]* 4.8 Write unit tests for OpenAPIParser
237
+ - Test parsing valid OpenAPI specs
238
+ - Test error handling for invalid specs
239
+ - Test extraction of paths, operations, schemas
240
+ - _Requirements: 3.3_
241
+
242
+ - [ ] 4.9 Implement DocumentationRepository
243
+ - Create src/repositories/documentation.repository.ts
244
+ - Implement CRUD operations for markdown files
245
+ - Add directory creation and management
246
+ - Add Zod validation for documentation metadata
247
+ - _Requirements: 3.5, 6.1, 6.2_
248
+
249
+ - [ ]* 4.10 Write unit tests for DocumentationRepository
250
+ - Test create, read, update, delete operations for markdown files
251
+ - Test directory creation
252
+ - Test error handling
253
+ - _Requirements: 3.5, 6.1_
254
+
255
+ - [ ] 4.11 Implement DocumentationService
256
+ - Create src/services/documentation.service.ts
257
+ - Implement generateApiDocs, generateCliDocs, generateSchemaDocs, generateExamplesDocs methods
258
+ - Implement generateAllDocs orchestration method
259
+ - Add input validation with Zod schemas
260
+ - Add output validation with Zod schemas
261
+ - Register service in DI container
262
+ - _Requirements: 3.1, 3.2, 1.4, 7.2_
263
+
264
+ - [ ]* 4.12 Write property test for validation error detail
265
+ - **Property 16: Validation Error Detail**
266
+ - **Validates: Requirements 7.3**
267
+
268
+ - [ ]* 4.13 Write unit tests for DocumentationService
269
+ - Test generateApiDocs with mocked repository and parser
270
+ - Test generateCliDocs with mocked dependencies
271
+ - Test generateSchemaDocs with mocked dependencies
272
+ - Test generateAllDocs orchestration
273
+ - Test error handling
274
+ - _Requirements: 3.1, 3.2_
275
+
276
+ - [ ] 4.14 Create CLI commands for documentation operations
277
+ - Create src/cli/commands/docs.command.ts
278
+ - Implement api, cli, schema, examples, all subcommands
279
+ - Add argument validation with Zod
280
+ - Add service resolution from DI container
281
+ - Add progress indicators
282
+ - _Requirements: 9.1, 9.2, 9.3, 9.5_
283
+
284
+ - [ ]* 4.15 Write integration tests for documentation CLI commands
285
+ - Test api docs generation end-to-end
286
+ - Test all docs generation with multiple specs
287
+ - Test error scenarios
288
+ - _Requirements: 9.1, 9.2, 9.3_
289
+
290
+ - [ ] 4.16 Create deprecated wrapper scripts
291
+ - Create wrappers for all generate-\*-docs.ts scripts (8 total)
292
+ - Add deprecation warnings to each wrapper
293
+ - Delegate to DocumentationService methods
294
+ - _Requirements: 11.1, 11.4_
295
+
296
+ - [ ] 5. Checkpoint - Ensure all tests pass
297
+ - Ensure all tests pass, ask the user if questions arise.
298
+
299
+ - [ ] 6. Implement GitLab Service
300
+ - Define OpenAPI spec for GitLabService
301
+ - Implement retry utility with exponential backoff
302
+ - Implement GitLabService with GitLab operations
303
+ - Create CLI commands for GitLab operations
304
+ - _Requirements: 4.1, 4.2, 4.3, 4.4, 4.5_
305
+
306
+ - [ ] 6.1 Define OpenAPI spec for GitLabService
307
+ - Create openapi/services/gitlab-service.openapi.yaml
308
+ - Define operations: rebaseMergeRequests, configureBranchProtection, createIssue, createMilestoneIssue, manageMilestoneMRs
309
+ - Define schemas for RebaseOptions, RebaseResult, BranchProtectionConfig, IssueData, MilestoneData
310
+ - _Requirements: 8.1, 8.2_
311
+
312
+ - [ ] 6.2 Validate OpenAPI spec with Redocly
313
+ - Run Redocly CLI validation on gitlab-service spec
314
+ - Fix any validation errors
315
+ - _Requirements: 8.4_
316
+
317
+ - [ ] 6.3 Create GitLab domain types and schemas
318
+ - Create src/types/gitlab.types.ts with MergeRequest, Issue, Milestone interfaces
319
+ - Create src/schemas/gitlab.schemas.ts with Zod schemas
320
+ - Add validation for project IDs, MR IDs, issue data
321
+ - _Requirements: 4.3, 7.1_
322
+
323
+ - [ ]* 6.4 Write property test for GitLab input validation
324
+ - **Property 6: GitLab Input Validation**
325
+ - **Validates: Requirements 4.3**
326
+
327
+ - [ ] 6.5 Implement retry utility
328
+ - Create src/utils/retry.ts
329
+ - Implement exponential backoff algorithm
330
+ - Add configurable max retries and base delay
331
+ - Add retry condition predicate
332
+ - _Requirements: 4.4_
333
+
334
+ - [ ]* 6.6 Write property test for GitLab retry behavior
335
+ - **Property 7: GitLab Retry Behavior**
336
+ - **Validates: Requirements 4.4**
337
+
338
+ - [ ]* 6.7 Write unit tests for retry utility
339
+ - Test successful retry after failures
340
+ - Test exponential backoff timing
341
+ - Test max retries limit
342
+ - Test retry condition predicate
343
+ - _Requirements: 4.4_
344
+
345
+ - [ ] 6.8 Implement GitLabService
346
+ - Create src/services/gitlab.service.ts
347
+ - Implement rebaseMergeRequests, configureBranchProtection, createIssue, createMilestoneIssue, manageMilestoneMRs methods
348
+ - Add input validation with Zod schemas
349
+ - Add retry logic for rate limiting
350
+ - Add authentication token validation
351
+ - Register service in DI container
352
+ - _Requirements: 4.1, 4.2, 4.3, 4.4, 4.5, 1.4_
353
+
354
+ - [ ]* 6.9 Write property test for GitLab authentication validation
355
+ - **Property 8: GitLab Authentication Validation**
356
+ - **Validates: Requirements 4.5**
357
+
358
+ - [ ]* 6.10 Write unit tests for GitLabService
359
+ - Test rebaseMergeRequests with mocked GitLab client
360
+ - Test configureBranchProtection with mocked client
361
+ - Test createIssue and createMilestoneIssue
362
+ - Test manageMilestoneMRs
363
+ - Test retry logic with rate limit errors
364
+ - Test authentication validation
365
+ - _Requirements: 4.1, 4.2, 4.3, 4.4, 4.5_
366
+
367
+ - [ ] 6.11 Create CLI commands for GitLab operations
368
+ - Create src/cli/commands/gitlab.command.ts
369
+ - Implement rebase, protect, issue, milestone subcommands
370
+ - Add argument validation with Zod
371
+ - Add service resolution from DI container
372
+ - _Requirements: 9.1, 9.2, 9.3_
373
+
374
+ - [ ]* 6.12 Write integration tests for GitLab CLI commands
375
+ - Test rebase command with mocked GitLab API
376
+ - Test branch protection command
377
+ - Test issue creation command
378
+ - Test error scenarios
379
+ - _Requirements: 9.1, 9.2, 9.3_
380
+
381
+ - [ ] 6.13 Create deprecated wrapper scripts
382
+ - Create wrappers for auto-rebase-mrs.ts, configure-gitlab-branch-protection.ts, create-issue-helper.ts, create-milestone-issue.ts, manage-milestone-mrs.ts
383
+ - Add deprecation warnings to each wrapper
384
+ - Delegate to GitLabService methods
385
+ - _Requirements: 11.1, 11.4_
386
+
387
+ - [ ] 7. Checkpoint - Ensure all tests pass
388
+ - Ensure all tests pass, ask the user if questions arise.
389
+
390
+ - [ ] 8. Implement Schema Service
391
+ - Define OpenAPI spec for SchemaService
392
+ - Extend existing SchemaRepository
393
+ - Implement SchemaService extending existing validation service
394
+ - Create CLI commands for schema operations
395
+ - _Requirements: 5.1, 5.2, 5.3, 5.4, 5.5_
396
+
397
+ - [ ] 8.1 Define OpenAPI spec for SchemaService
398
+ - Create openapi/services/schema-service.openapi.yaml
399
+ - Define operations: validateSchema, fixSchemaFormats, generateTypes, generateZodSchemas
400
+ - Define schemas for ValidationOptions, FixResult, GenerationResult
401
+ - _Requirements: 8.1, 8.2_
402
+
403
+ - [ ] 8.2 Validate OpenAPI spec with Redocly
404
+ - Run Redocly CLI validation on schema-service spec
405
+ - Fix any validation errors
406
+ - _Requirements: 8.4_
407
+
408
+ - [ ] 8.3 Create schema operation types and schemas
409
+ - Create src/schemas/schema.schemas.ts with Zod schemas for schema operations
410
+ - Add validation for schema paths, options, formats
411
+ - _Requirements: 7.1_
412
+
413
+ - [ ] 8.4 Extend SchemaRepository
414
+ - Update src/repositories/schema.repository.ts
415
+ - Add methods for schema format fixing
416
+ - Add methods for type generation output
417
+ - _Requirements: 5.2, 6.1_
418
+
419
+ - [ ]* 8.5 Write unit tests for extended SchemaRepository
420
+ - Test new methods for format fixing
421
+ - Test type generation output handling
422
+ - _Requirements: 5.2, 6.1_
423
+
424
+ - [ ] 8.6 Implement SchemaService
425
+ - Create src/services/schema.service.ts extending existing validation service
426
+ - Implement validateSchema, fixSchemaFormats, generateTypes, generateZodSchemas methods
427
+ - Add input validation with Zod schemas
428
+ - Use json-schema-to-typescript for type generation
429
+ - Use json-schema-to-zod for Zod schema generation
430
+ - Register service in DI container
431
+ - _Requirements: 5.1, 5.2, 5.3, 5.4, 5.5, 1.4_
432
+
433
+ - [ ]* 8.7 Write property test for TypeScript generation validity
434
+ - **Property 9: TypeScript Generation Validity**
435
+ - **Validates: Requirements 5.3**
436
+
437
+ - [ ]* 8.8 Write property test for Zod schema generation validity
438
+ - **Property 10: Zod Schema Generation Validity**
439
+ - **Validates: Requirements 5.4**
440
+
441
+ - [ ]* 8.9 Write property test for schema format fix preservation
442
+ - **Property 11: Schema Format Fix Preservation**
443
+ - **Validates: Requirements 5.5**
444
+
445
+ - [ ]* 8.10 Write unit tests for SchemaService
446
+ - Test validateSchema with valid and invalid schemas
447
+ - Test fixSchemaFormats with unsupported formats
448
+ - Test generateTypes with various JSON schemas
449
+ - Test generateZodSchemas with various JSON schemas
450
+ - Test error handling
451
+ - _Requirements: 5.1, 5.2, 5.3, 5.4, 5.5_
452
+
453
+ - [ ] 8.11 Create CLI commands for schema operations
454
+ - Create src/cli/commands/schema.command.ts
455
+ - Implement validate, fix, gen-types, gen-zod subcommands
456
+ - Add argument validation with Zod
457
+ - Add service resolution from DI container
458
+ - _Requirements: 9.1, 9.2, 9.3_
459
+
460
+ - [ ]* 8.12 Write integration tests for schema CLI commands
461
+ - Test validate command with real schemas
462
+ - Test fix command with schemas containing unsupported formats
463
+ - Test gen-types command end-to-end
464
+ - Test gen-zod command end-to-end
465
+ - _Requirements: 9.1, 9.2, 9.3_
466
+
467
+ - [ ] 8.13 Create deprecated wrapper scripts
468
+ - Create wrappers for validate-schema.ts, fix-schema-formats.js, gen-types.ts, gen-zod.ts
469
+ - Add deprecation warnings to each wrapper
470
+ - Delegate to SchemaService methods
471
+ - _Requirements: 11.1, 11.4_
472
+
473
+ - [ ] 9. Checkpoint - Ensure all tests pass
474
+ - Ensure all tests pass, ask the user if questions arise.
475
+
476
+ - [ ] 10. Implement utility configuration validation
477
+ - Add configuration schemas for all utilities
478
+ - Add validation for utility configurations
479
+ - _Requirements: 12.4_
480
+
481
+ - [ ] 10.1 Create configuration schemas
482
+ - Add Zod schemas for file-ops configuration
483
+ - Add Zod schemas for exec configuration
484
+ - Add Zod schemas for retry configuration
485
+ - _Requirements: 12.4_
486
+
487
+ - [ ]* 10.2 Write property test for utility configuration validation
488
+ - **Property 23: Utility Configuration Validation**
489
+ - **Validates: Requirements 12.4**
490
+
491
+ - [ ]* 10.3 Write unit tests for configuration validation
492
+ - Test valid configurations pass validation
493
+ - Test invalid configurations are rejected
494
+ - _Requirements: 12.4_
495
+
496
+ - [ ] 11. Final integration and cleanup
497
+ - Verify all wrapper scripts work correctly
498
+ - Update all documentation
499
+ - Run full test suite
500
+ - Verify code coverage meets 80% threshold
501
+ - _Requirements: 11.1, 11.4, 11.5_
502
+
503
+ - [ ] 11.1 Verify wrapper script compatibility
504
+ - Run each wrapper script with test inputs
505
+ - Compare output with original script behavior
506
+ - Fix any discrepancies
507
+ - _Requirements: 11.1_
508
+
509
+ - [ ]* 11.2 Write integration tests for all wrapper scripts
510
+ - Test each wrapper produces same output as original
511
+ - Test deprecation warnings appear
512
+ - Test error handling matches original
513
+ - _Requirements: 11.1, 11.4_
514
+
515
+ - [ ] 11.3 Update documentation
516
+ - Update README.md with new service architecture
517
+ - Create migration guide for users
518
+ - Update CLI documentation
519
+ - Update API documentation
520
+ - Add architecture diagrams
521
+ - _Requirements: 11.5_
522
+
523
+ - [ ] 11.4 Run full test suite and verify coverage
524
+ - Run all unit tests
525
+ - Run all property-based tests
526
+ - Run all integration tests
527
+ - Generate coverage report
528
+ - Verify 80%+ coverage for all services
529
+ - _Requirements: 10.1_
530
+
531
+ - [ ] 11.5 Create migration guide
532
+ - Document migration process for users
533
+ - Provide examples of old vs new usage
534
+ - Document breaking changes (if any)
535
+ - Add troubleshooting section
536
+ - _Requirements: 11.4, 11.5_
537
+
538
+ - [ ] 12. Final Checkpoint - Ensure all tests pass
539
+ - Ensure all tests pass, ask the user if questions arise.