agentic-dev 0.2.11 → 0.2.12

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 (314) hide show
  1. package/README.md +53 -46
  2. package/package.json +8 -22
  3. package/.agent/prd.json +0 -29
  4. package/.agent/progress.txt +0 -1
  5. package/.agent/prompt.md +0 -21
  6. package/.agent/ralph-loop-state.json +0 -13
  7. package/.agent/ralph-supervisor-state.json +0 -12
  8. package/.agent/ralph-supervisor.sh +0 -238
  9. package/.agent/ralph.sh +0 -305
  10. package/.agent/runs/README.md +0 -7
  11. package/.agent/sdd-build-ast-audit.json +0 -13
  12. package/.claude/CLAUDE.md +0 -44
  13. package/.claude/agentic-dev.json +0 -3
  14. package/.claude/agents/ai-dev.md +0 -27
  15. package/.claude/agents/backend-dev.md +0 -26
  16. package/.claude/agents/db-dev.md +0 -26
  17. package/.claude/agents/devops.md +0 -27
  18. package/.claude/agents/frontend-dev.md +0 -25
  19. package/.claude/agents/github-ops.md +0 -25
  20. package/.claude/agents/test-dev.md +0 -26
  21. package/.claude/agents/uiux-designer.md +0 -25
  22. package/.claude/settings.json +0 -49
  23. package/.claude/settings.local.json +0 -8
  24. package/.claude/skills/sdd/SKILL.md +0 -189
  25. package/.claude/skills/sdd/agents/openai.yaml +0 -4
  26. package/.claude/skills/sdd/references/section-map.md +0 -67
  27. package/.claude/workspace-config.json +0 -3
  28. package/.codex/agentic-dev.json +0 -3
  29. package/.codex/agents/README.md +0 -22
  30. package/.codex/agents/api.toml +0 -11
  31. package/.codex/agents/architecture.toml +0 -11
  32. package/.codex/agents/ci.toml +0 -11
  33. package/.codex/agents/gitops.toml +0 -11
  34. package/.codex/agents/orchestrator.toml +0 -11
  35. package/.codex/agents/quality.toml +0 -11
  36. package/.codex/agents/runtime.toml +0 -11
  37. package/.codex/agents/security.toml +0 -11
  38. package/.codex/agents/specs.toml +0 -11
  39. package/.codex/agents/ui.toml +0 -11
  40. package/.codex/config.toml +0 -46
  41. package/.codex/skills/SKILL.md +0 -13
  42. package/.codex/skills/sdd/SKILL.md +0 -189
  43. package/.codex/skills/sdd/agents/openai.yaml +0 -4
  44. package/.codex/skills/sdd/references/section-map.md +0 -67
  45. package/.dockerignore +0 -8
  46. package/.env.example +0 -50
  47. package/.gitignore +0 -16
  48. package/AGENTS.md +0 -86
  49. package/SDD_SKILL.md +0 -589
  50. package/compose.yml +0 -206
  51. package/infra/compose/.env.dev.example +0 -28
  52. package/infra/compose/.env.prod.example +0 -29
  53. package/infra/compose/README.md +0 -35
  54. package/infra/compose/dev.yml +0 -125
  55. package/infra/compose/prod.yml +0 -126
  56. package/infra/terraform/README.md +0 -34
  57. package/infra/terraform/aws/data/.terraform.lock.hcl +0 -25
  58. package/infra/terraform/aws/data/README.md +0 -18
  59. package/infra/terraform/aws/data/main.tf +0 -147
  60. package/infra/terraform/aws/data/outputs.tf +0 -14
  61. package/infra/terraform/aws/data/variables.tf +0 -57
  62. package/infra/terraform/aws/data/versions.tf +0 -10
  63. package/infra/terraform/aws/domain/.terraform.lock.hcl +0 -25
  64. package/infra/terraform/aws/domain/README.md +0 -20
  65. package/infra/terraform/aws/domain/env/dev.tfvars.example +0 -6
  66. package/infra/terraform/aws/domain/env/prod.tfvars.example +0 -7
  67. package/infra/terraform/aws/domain/main.tf +0 -149
  68. package/infra/terraform/aws/domain/outputs.tf +0 -29
  69. package/infra/terraform/aws/domain/variables.tf +0 -58
  70. package/infra/terraform/aws/domain/versions.tf +0 -10
  71. package/infra/terraform/openstack/README.md +0 -38
  72. package/infra/terraform/openstack/dev/.terraform.lock.hcl +0 -24
  73. package/infra/terraform/openstack/dev/README.md +0 -18
  74. package/infra/terraform/openstack/dev/main.tf +0 -49
  75. package/infra/terraform/openstack/dev/providers.tf +0 -15
  76. package/infra/terraform/openstack/dev/terraform.tfvars.example +0 -54
  77. package/infra/terraform/openstack/dev/variables.tf +0 -210
  78. package/infra/terraform/openstack/dev/versions.tf +0 -10
  79. package/infra/terraform/openstack/modules/environment_host/main.tf +0 -143
  80. package/infra/terraform/openstack/modules/environment_host/outputs.tf +0 -25
  81. package/infra/terraform/openstack/modules/environment_host/templates/docker-host-user-data.sh.tftpl +0 -40
  82. package/infra/terraform/openstack/modules/environment_host/variables.tf +0 -145
  83. package/infra/terraform/openstack/modules/environment_host/versions.tf +0 -7
  84. package/infra/terraform/openstack/prod/.terraform.lock.hcl +0 -24
  85. package/infra/terraform/openstack/prod/README.md +0 -18
  86. package/infra/terraform/openstack/prod/main.tf +0 -49
  87. package/infra/terraform/openstack/prod/providers.tf +0 -15
  88. package/infra/terraform/openstack/prod/terraform.tfvars.example +0 -55
  89. package/infra/terraform/openstack/prod/variables.tf +0 -210
  90. package/infra/terraform/openstack/prod/versions.tf +0 -10
  91. package/infra/terraform/openstack/server/.terraform.lock.hcl +0 -45
  92. package/infra/terraform/openstack/server/README.md +0 -47
  93. package/infra/terraform/openstack/server/main.tf +0 -161
  94. package/infra/terraform/openstack/server/outputs.tf +0 -30
  95. package/infra/terraform/openstack/server/providers.tf +0 -30
  96. package/infra/terraform/openstack/server/templates/server-user-data.sh.tftpl +0 -50
  97. package/infra/terraform/openstack/server/variables.tf +0 -233
  98. package/infra/terraform/openstack/server/zz_aspace.auto.tfvars.example.json +0 -29
  99. package/pnpm-workspace.yaml +0 -2
  100. package/scripts/dev/audit_sdd_build_ast.py +0 -277
  101. package/sdd/01_planning/01_feature/INDEX.md +0 -16
  102. package/sdd/01_planning/01_feature/README.md +0 -76
  103. package/sdd/01_planning/01_feature/alerts_feature_spec.md +0 -55
  104. package/sdd/01_planning/01_feature/auth_feature_spec.md +0 -57
  105. package/sdd/01_planning/01_feature/catalog_feature_spec.md +0 -61
  106. package/sdd/01_planning/01_feature/fulfillment_feature_spec.md +0 -58
  107. package/sdd/01_planning/01_feature/health_feature_spec.md +0 -52
  108. package/sdd/01_planning/01_feature/inventory_feature_spec.md +0 -60
  109. package/sdd/01_planning/01_feature/order_feature_spec.md +0 -63
  110. package/sdd/01_planning/01_feature/shipping_feature_spec.md +0 -55
  111. package/sdd/01_planning/01_feature/support_feature_spec.md +0 -53
  112. package/sdd/01_planning/01_feature/user_feature_spec.md +0 -54
  113. package/sdd/01_planning/02_screen/INDEX.md +0 -13
  114. package/sdd/01_planning/02_screen/README.md +0 -41
  115. package/sdd/01_planning/02_screen/admin_screen_spec.pdf +0 -0
  116. package/sdd/01_planning/02_screen/assets/README.md +0 -16
  117. package/sdd/01_planning/02_screen/assets/example/README.md +0 -13
  118. package/sdd/01_planning/02_screen/landing_screen_spec.pdf +0 -0
  119. package/sdd/01_planning/02_screen/mobile_screen_spec.pdf +0 -0
  120. package/sdd/01_planning/02_screen/web_screen_spec.pdf +0 -0
  121. package/sdd/01_planning/03_architecture/INDEX.md +0 -9
  122. package/sdd/01_planning/03_architecture/README.md +0 -25
  123. package/sdd/01_planning/03_architecture/architecture_document_structure.md +0 -77
  124. package/sdd/01_planning/03_architecture/backend/README.md +0 -10
  125. package/sdd/01_planning/03_architecture/frontend/README.md +0 -12
  126. package/sdd/01_planning/03_architecture/infra/README.md +0 -10
  127. package/sdd/01_planning/03_architecture/tech-research/README.md +0 -4
  128. package/sdd/01_planning/03_architecture/templates_system_architecture.md +0 -84
  129. package/sdd/01_planning/04_data/INDEX.md +0 -4
  130. package/sdd/01_planning/04_data/README.md +0 -10
  131. package/sdd/01_planning/04_data/templates_data_modeling.md +0 -119
  132. package/sdd/01_planning/05_api/README.md +0 -12
  133. package/sdd/01_planning/05_api/templates_api_contract.md +0 -90
  134. package/sdd/01_planning/06_iac/README.md +0 -11
  135. package/sdd/01_planning/06_iac/templates_runtime_and_cicd_baseline.md +0 -46
  136. package/sdd/01_planning/07_integration/README.md +0 -11
  137. package/sdd/01_planning/07_integration/templates_frontend_api_integration.md +0 -46
  138. package/sdd/01_planning/08_nonfunctional/README.md +0 -7
  139. package/sdd/01_planning/09_security/README.md +0 -7
  140. package/sdd/01_planning/10_test/README.md +0 -12
  141. package/sdd/01_planning/10_test/templates_test_strategy.md +0 -60
  142. package/sdd/01_planning/INDEX.md +0 -19
  143. package/sdd/01_planning/README.md +0 -17
  144. package/sdd/02_plan/01_feature/README.md +0 -34
  145. package/sdd/02_plan/01_feature/_feature_todo_template.md +0 -29
  146. package/sdd/02_plan/02_screen/INDEX.md +0 -19
  147. package/sdd/02_plan/02_screen/README.md +0 -39
  148. package/sdd/02_plan/02_screen/_screen_todo_template.md +0 -60
  149. package/sdd/02_plan/03_architecture/README.md +0 -23
  150. package/sdd/02_plan/03_architecture/architecture_document_governance.md +0 -40
  151. package/sdd/02_plan/03_architecture/build_ast_runtime_tree_governance.md +0 -53
  152. package/sdd/02_plan/03_architecture/repository_governance.md +0 -39
  153. package/sdd/02_plan/03_architecture/runtime_and_structure_governance.md +0 -38
  154. package/sdd/02_plan/03_architecture/templates-hexagonal-template-architecture.md +0 -9
  155. package/sdd/02_plan/03_architecture/toolchain_governance.md +0 -98
  156. package/sdd/02_plan/04_data/README.md +0 -5
  157. package/sdd/02_plan/05_api/README.md +0 -5
  158. package/sdd/02_plan/06_iac/README.md +0 -11
  159. package/sdd/02_plan/06_iac/dev_runtime_delivery.md +0 -36
  160. package/sdd/02_plan/06_iac/template_runtime_delivery.md +0 -50
  161. package/sdd/02_plan/07_integration/README.md +0 -5
  162. package/sdd/02_plan/07_integration/frontend_live_integration.md +0 -31
  163. package/sdd/02_plan/08_nonfunctional/README.md +0 -5
  164. package/sdd/02_plan/08_nonfunctional/repository_hygiene.md +0 -26
  165. package/sdd/02_plan/09_security/README.md +0 -5
  166. package/sdd/02_plan/10_test/README.md +0 -11
  167. package/sdd/02_plan/10_test/regression_verification.md +0 -39
  168. package/sdd/02_plan/10_test/templates/README.md +0 -8
  169. package/sdd/02_plan/10_test/templates/ui_parity_web_contract.template.yaml +0 -23
  170. package/sdd/02_plan/10_test/verification_strategy.md +0 -43
  171. package/sdd/02_plan/99_generated/from_planning/ui_parity/.gitkeep +0 -1
  172. package/sdd/02_plan/README.md +0 -40
  173. package/sdd/03_build/01_feature/README.md +0 -20
  174. package/sdd/03_build/01_feature/domain/README.md +0 -3
  175. package/sdd/03_build/01_feature/domain/account_and_access.md +0 -20
  176. package/sdd/03_build/01_feature/domain/catalog_and_inventory.md +0 -20
  177. package/sdd/03_build/01_feature/domain/ordering_and_fulfillment.md +0 -21
  178. package/sdd/03_build/01_feature/domain/support_and_observability.md +0 -21
  179. package/sdd/03_build/01_feature/domain_surfaces.md +0 -28
  180. package/sdd/03_build/01_feature/service/README.md +0 -3
  181. package/sdd/03_build/01_feature/service/admin_surface.md +0 -15
  182. package/sdd/03_build/01_feature/service/landing_surface.md +0 -13
  183. package/sdd/03_build/01_feature/service/mobile_surface.md +0 -14
  184. package/sdd/03_build/01_feature/service/web_surface.md +0 -14
  185. package/sdd/03_build/02_screen/README.md +0 -25
  186. package/sdd/03_build/02_screen/_screen_build_template.md +0 -26
  187. package/sdd/03_build/02_screen/admin/README.md +0 -5
  188. package/sdd/03_build/02_screen/landing/README.md +0 -5
  189. package/sdd/03_build/02_screen/mobile/README.md +0 -5
  190. package/sdd/03_build/02_screen/web/README.md +0 -5
  191. package/sdd/03_build/03_architecture/README.md +0 -10
  192. package/sdd/03_build/03_architecture/architecture_document_governance.md +0 -30
  193. package/sdd/03_build/03_architecture/build_ast_runtime_tree_governance.md +0 -24
  194. package/sdd/03_build/03_architecture/repository_governance.md +0 -18
  195. package/sdd/03_build/03_architecture/toolchain_governance.md +0 -36
  196. package/sdd/03_build/06_iac/README.md +0 -3
  197. package/sdd/03_build/06_iac/dev_runtime_delivery.md +0 -10
  198. package/sdd/03_build/06_iac/template_runtime_delivery.md +0 -49
  199. package/sdd/03_build/07_integration/README.md +0 -3
  200. package/sdd/03_build/07_integration/frontend_live_integration.md +0 -11
  201. package/sdd/03_build/08_nonfunctional/README.md +0 -3
  202. package/sdd/03_build/08_nonfunctional/repository_hygiene.md +0 -10
  203. package/sdd/03_build/10_test/README.md +0 -9
  204. package/sdd/03_build/10_test/regression_verification.md +0 -16
  205. package/sdd/03_build/10_test/verification_harness.md +0 -11
  206. package/sdd/03_build/README.md +0 -35
  207. package/sdd/03_verify/01_feature/README.md +0 -5
  208. package/sdd/03_verify/01_feature/domain_verification.md +0 -14
  209. package/sdd/03_verify/01_feature/service_verification.md +0 -22
  210. package/sdd/03_verify/02_screen/README.md +0 -6
  211. package/sdd/03_verify/02_screen/_screen_verify_template.md +0 -20
  212. package/sdd/03_verify/02_screen/admin/README.md +0 -4
  213. package/sdd/03_verify/02_screen/landing/README.md +0 -4
  214. package/sdd/03_verify/02_screen/mobile/README.md +0 -4
  215. package/sdd/03_verify/02_screen/web/README.md +0 -4
  216. package/sdd/03_verify/03_architecture/README.md +0 -10
  217. package/sdd/03_verify/03_architecture/architecture_document_governance.md +0 -15
  218. package/sdd/03_verify/03_architecture/build_ast_runtime_tree_governance.md +0 -28
  219. package/sdd/03_verify/03_architecture/repository_governance.md +0 -16
  220. package/sdd/03_verify/03_architecture/toolchain_governance.md +0 -58
  221. package/sdd/03_verify/06_iac/README.md +0 -3
  222. package/sdd/03_verify/06_iac/dev_runtime_delivery.md +0 -10
  223. package/sdd/03_verify/06_iac/template_runtime_delivery.md +0 -42
  224. package/sdd/03_verify/07_integration/README.md +0 -3
  225. package/sdd/03_verify/07_integration/frontend_live_integration.md +0 -16
  226. package/sdd/03_verify/08_nonfunctional/README.md +0 -3
  227. package/sdd/03_verify/08_nonfunctional/repository_hygiene.md +0 -14
  228. package/sdd/03_verify/10_test/README.md +0 -9
  229. package/sdd/03_verify/10_test/regression_verification.md +0 -16
  230. package/sdd/03_verify/10_test/ui_parity/README.md +0 -4
  231. package/sdd/03_verify/10_test/ui_parity/loop_runs/.gitkeep +0 -0
  232. package/sdd/03_verify/10_test/ui_parity/reference/.gitkeep +0 -0
  233. package/sdd/03_verify/10_test/ui_parity/staged_runs/.gitkeep +0 -0
  234. package/sdd/03_verify/10_test/verification_harness.md +0 -17
  235. package/sdd/03_verify/README.md +0 -22
  236. package/sdd/05_operate/01_runbooks/.gitkeep +0 -1
  237. package/sdd/05_operate/01_runbooks/README.md +0 -4
  238. package/sdd/05_operate/02_delivery_status/README.md +0 -4
  239. package/sdd/05_operate/02_delivery_status/service_status.md +0 -16
  240. package/sdd/05_operate/README.md +0 -12
  241. package/sdd/99_toolchain/01_automation/.gitkeep +0 -1
  242. package/sdd/99_toolchain/01_automation/README.md +0 -76
  243. package/sdd/99_toolchain/01_automation/agentic-dev/analyze_proof_results.py +0 -132
  244. package/sdd/99_toolchain/01_automation/agentic-dev/analyze_route_gap.py +0 -85
  245. package/sdd/99_toolchain/01_automation/agentic-dev/assets/repo-contract.template.json +0 -75
  246. package/sdd/99_toolchain/01_automation/agentic-dev/bootstrap_frontend_parity.sh +0 -84
  247. package/sdd/99_toolchain/01_automation/agentic-dev/init_frontend_parity.sh +0 -33
  248. package/sdd/99_toolchain/01_automation/agentic-dev/init_repo_contract.sh +0 -51
  249. package/sdd/99_toolchain/01_automation/agentic-dev/repo-contract.json +0 -76
  250. package/sdd/99_toolchain/01_automation/agentic-dev/resolve_frontend_target.py +0 -52
  251. package/sdd/99_toolchain/01_automation/agentic-dev/resolve_repo_contract.py +0 -56
  252. package/sdd/99_toolchain/01_automation/agentic-dev/run_frontend_target.sh +0 -100
  253. package/sdd/99_toolchain/01_automation/agentic-dev/run_repo_phase.sh +0 -140
  254. package/sdd/99_toolchain/01_automation/agentic-dev/validate_json_schema.py +0 -39
  255. package/sdd/99_toolchain/01_automation/agentic-parity-harness-design.md +0 -291
  256. package/sdd/99_toolchain/01_automation/assets/admin_screen_capture/dashboard.png +0 -0
  257. package/sdd/99_toolchain/01_automation/assets/admin_screen_capture/login.png +0 -0
  258. package/sdd/99_toolchain/01_automation/assets/admin_screen_capture/queue.png +0 -0
  259. package/sdd/99_toolchain/01_automation/assets/admin_screen_capture/support.png +0 -0
  260. package/sdd/99_toolchain/01_automation/assets/landing_screen_capture/home.png +0 -0
  261. package/sdd/99_toolchain/01_automation/assets/landing_screen_capture/login.png +0 -0
  262. package/sdd/99_toolchain/01_automation/assets/landing_screen_capture/workspace.png +0 -0
  263. package/sdd/99_toolchain/01_automation/assets/mobile_screen_capture/dashboard.png +0 -0
  264. package/sdd/99_toolchain/01_automation/assets/mobile_screen_capture/fulfillment.png +0 -0
  265. package/sdd/99_toolchain/01_automation/assets/mobile_screen_capture/login.png +0 -0
  266. package/sdd/99_toolchain/01_automation/assets/web_screen_capture/dashboard.png +0 -0
  267. package/sdd/99_toolchain/01_automation/assets/web_screen_capture/login.png +0 -0
  268. package/sdd/99_toolchain/01_automation/assets/web_screen_capture/orders.png +0 -0
  269. package/sdd/99_toolchain/01_automation/build_asset_recipes.py +0 -10
  270. package/sdd/99_toolchain/01_automation/build_screen_spec_pdf.py +0 -427
  271. package/sdd/99_toolchain/01_automation/capture_screen_assets.mjs +0 -148
  272. package/sdd/99_toolchain/01_automation/harness-layout.md +0 -34
  273. package/sdd/99_toolchain/01_automation/parity-execution-tooling-design.md +0 -319
  274. package/sdd/99_toolchain/01_automation/playwright_exactness_manifest.py +0 -21
  275. package/sdd/99_toolchain/01_automation/run_playwright_exactness.py +0 -87
  276. package/sdd/99_toolchain/01_automation/screen_spec_manifest.py +0 -321
  277. package/sdd/99_toolchain/01_automation/spec_asset_builder.py +0 -274
  278. package/sdd/99_toolchain/01_automation/ui-contract-projection.md +0 -79
  279. package/sdd/99_toolchain/01_automation/ui-parity/README.md +0 -60
  280. package/sdd/99_toolchain/01_automation/ui-parity/cli/extract-reference-pages.mjs +0 -2
  281. package/sdd/99_toolchain/01_automation/ui-parity/cli/materialize-reference-assets.mjs +0 -58
  282. package/sdd/99_toolchain/01_automation/ui-parity/cli/normalize-reference-assets.mjs +0 -2
  283. package/sdd/99_toolchain/01_automation/ui-parity/cli/route-gap-report.mjs +0 -187
  284. package/sdd/99_toolchain/01_automation/ui-parity/cli/run-proof.mjs +0 -50
  285. package/sdd/99_toolchain/01_automation/ui-parity/cli/scaffold-contract.mjs +0 -62
  286. package/sdd/99_toolchain/01_automation/ui-parity/cli/upload-parity1.mjs +0 -2
  287. package/sdd/99_toolchain/01_automation/ui-parity/contracts/collector-metadata.schema.json +0 -33
  288. package/sdd/99_toolchain/01_automation/ui-parity/contracts/proof-result.schema.json +0 -76
  289. package/sdd/99_toolchain/01_automation/ui-parity/contracts/route-gap-report.schema.json +0 -95
  290. package/sdd/99_toolchain/01_automation/ui-parity/core/capture-runner.mjs +0 -55
  291. package/sdd/99_toolchain/01_automation/ui-parity/core/load-adapter.mjs +0 -25
  292. package/sdd/99_toolchain/01_automation/ui-parity/core/load-contract.mjs +0 -81
  293. package/sdd/99_toolchain/01_automation/ui-parity/core/paths.mjs +0 -23
  294. package/sdd/99_toolchain/01_automation/ui-parity/core/proof-runner.mjs +0 -255
  295. package/sdd/99_toolchain/01_automation/ui-parity/interfaces/ui-parity-artifact-layout.md +0 -23
  296. package/sdd/99_toolchain/01_automation/ui-parity/interfaces/ui-parity-proof-interface.md +0 -60
  297. package/sdd/99_toolchain/01_automation/ui-parity/interfaces/ui-parity-route-gap-interface.md +0 -82
  298. package/sdd/99_toolchain/01_automation/ui-parity/runtime/playwright-runtime.mjs +0 -16
  299. package/sdd/99_toolchain/01_automation/ui-parity/runtime/static-runtime.mjs +0 -6
  300. package/sdd/99_toolchain/02_policies/.gitkeep +0 -1
  301. package/sdd/99_toolchain/02_policies/build-ast-governance-policy.md +0 -22
  302. package/sdd/99_toolchain/02_policies/compose-runtime-baseline-policy.md +0 -24
  303. package/sdd/99_toolchain/02_policies/convention-storage-policy.md +0 -26
  304. package/sdd/99_toolchain/02_policies/main-push-before-dev-deploy-policy.md +0 -27
  305. package/sdd/99_toolchain/02_policies/regression-verification-policy.md +0 -22
  306. package/sdd/99_toolchain/03_templates/.gitkeep +0 -1
  307. package/sdd/99_toolchain/03_templates/asset_recipe_manifest.example.py +0 -38
  308. package/sdd/99_toolchain/03_templates/generated_assets/README.md +0 -11
  309. package/sdd/99_toolchain/03_templates/generated_assets/example-brand-lockup.svg +0 -3
  310. package/sdd/99_toolchain/03_templates/generated_assets/example-brand-mark.svg +0 -3
  311. package/sdd/99_toolchain/03_templates/generated_assets/example-brand-wordmark.svg +0 -3
  312. package/sdd/99_toolchain/03_templates/playwright_exactness_manifest.example.py +0 -21
  313. package/sdd/99_toolchain/README.md +0 -23
  314. package/sdd/README.md +0 -21
@@ -1,50 +0,0 @@
1
- #!/bin/bash
2
- set -Eeuo pipefail
3
-
4
- mkdir -p ${runtime_root}
5
-
6
- cat > ${runtime_root}/server.env <<'ENVEOF'
7
- ${backend_env_text}
8
- ENVEOF
9
-
10
- install_container_runtime() {
11
- if command -v apt-get >/dev/null 2>&1; then
12
- export DEBIAN_FRONTEND=noninteractive
13
- apt-get update
14
- apt-get install -y docker.io git ca-certificates curl
15
- elif command -v dnf >/dev/null 2>&1; then
16
- dnf update -y
17
- dnf install -y docker git ca-certificates curl
18
- else
19
- yum update -y
20
- yum install -y docker git ca-certificates curl
21
- fi
22
-
23
- systemctl enable docker
24
- systemctl start docker
25
- usermod -aG docker ubuntu >/dev/null 2>&1 || true
26
-
27
- docker rm -f ${backend_container_name} >/dev/null 2>&1 || true
28
-
29
- if [ -n "${backend_container_image}" ]; then
30
- docker pull "${backend_container_image}"
31
- docker run -d \
32
- --name "${backend_container_name}" \
33
- --restart unless-stopped \
34
- --env-file ${runtime_root}/server.env \
35
- -p ${backend_port}:${backend_port} \
36
- "${backend_container_image}"
37
- elif [ -n "${backend_repo_url}" ]; then
38
- rm -rf "${runtime_root}/src"
39
- git clone --depth 1 --branch "${backend_repo_ref}" "${backend_repo_url}" "${runtime_root}/src"
40
- docker build -t ${backend_container_name}:bootstrap "${runtime_root}/src/${backend_repo_subdir}"
41
- docker run -d \
42
- --name "${backend_container_name}" \
43
- --restart unless-stopped \
44
- --env-file ${runtime_root}/server.env \
45
- -p ${backend_port}:${backend_port} \
46
- ${backend_container_name}:bootstrap
47
- fi
48
- }
49
-
50
- install_container_runtime
@@ -1,233 +0,0 @@
1
- variable "auth_url" {
2
- type = string
3
- description = "OpenStack Keystone auth URL."
4
- }
5
-
6
- variable "region" {
7
- type = string
8
- description = "OpenStack region name."
9
- default = "RegionOne"
10
- }
11
-
12
- variable "interface" {
13
- type = string
14
- description = "OpenStack endpoint interface."
15
- default = "public"
16
- }
17
-
18
- variable "auth_type" {
19
- type = string
20
- description = "OpenStack auth type."
21
- default = "password"
22
- }
23
-
24
- variable "username" {
25
- type = string
26
- description = "OpenStack username."
27
- default = ""
28
- }
29
-
30
- variable "password" {
31
- type = string
32
- description = "OpenStack password."
33
- default = ""
34
- sensitive = true
35
- }
36
-
37
- variable "project_name" {
38
- type = string
39
- description = "OpenStack project name."
40
- default = ""
41
- }
42
-
43
- variable "user_domain_name" {
44
- type = string
45
- description = "OpenStack user domain name."
46
- default = "Default"
47
- }
48
-
49
- variable "project_domain_name" {
50
- type = string
51
- description = "OpenStack project domain name."
52
- default = "Default"
53
- }
54
-
55
- variable "application_credential_id" {
56
- type = string
57
- description = "OpenStack application credential id."
58
- default = ""
59
- }
60
-
61
- variable "application_credential_secret" {
62
- type = string
63
- description = "OpenStack application credential secret."
64
- default = ""
65
- sensitive = true
66
- }
67
-
68
- variable "insecure" {
69
- type = bool
70
- description = "Disable TLS validation."
71
- default = false
72
- }
73
-
74
- variable "service_name" {
75
- type = string
76
- description = "Service short name."
77
- default = "template-service"
78
- }
79
-
80
- variable "application_name" {
81
- type = string
82
- description = "Human-readable application name passed to the backend environment."
83
- default = "Template API"
84
- }
85
-
86
- variable "phase" {
87
- type = string
88
- description = "Deployment phase."
89
- default = "dev"
90
-
91
- validation {
92
- condition = contains(["dev", "prod"], lower(var.phase))
93
- error_message = "phase must be one of: dev, prod"
94
- }
95
- }
96
-
97
- variable "external_network_name" {
98
- type = string
99
- description = "External provider network used for router gateway and floating IP."
100
- default = "public"
101
- }
102
-
103
- variable "app_network_name" {
104
- type = string
105
- description = "Tenant app network name. Leave empty to derive from service+phase."
106
- default = ""
107
- }
108
-
109
- variable "app_subnet_name" {
110
- type = string
111
- description = "Tenant app subnet name. Leave empty to derive from service+phase."
112
- default = ""
113
- }
114
-
115
- variable "app_subnet_cidr" {
116
- type = string
117
- description = "App subnet CIDR."
118
- default = "10.42.0.0/24"
119
- }
120
-
121
- variable "dns_nameservers" {
122
- type = list(string)
123
- description = "Optional DNS nameservers for the app subnet."
124
- default = ["1.1.1.1", "8.8.8.8"]
125
- }
126
-
127
- variable "backend_image_name" {
128
- type = string
129
- description = "Boot image name for the API compute instance."
130
- default = "ubuntu-24.04-noble-amd64"
131
- }
132
-
133
- variable "instance_flavor_name" {
134
- type = string
135
- description = "Flavor for the API compute instance."
136
- default = "m1.small"
137
- }
138
-
139
- variable "backend_port" {
140
- type = number
141
- description = "API service port."
142
- default = 8080
143
- }
144
-
145
- variable "associate_floating_ip" {
146
- type = bool
147
- description = "Whether to attach a floating IP to the API instance."
148
- default = true
149
- }
150
-
151
- variable "backend_ingress_cidrs" {
152
- type = list(string)
153
- description = "CIDRs allowed to reach the API service port."
154
- default = ["0.0.0.0/0"]
155
- }
156
-
157
- variable "ssh_ingress_cidrs" {
158
- type = list(string)
159
- description = "CIDRs allowed to SSH to the API instance."
160
- default = []
161
- }
162
-
163
- variable "ssh_keypair_name" {
164
- type = string
165
- description = "OpenStack keypair name used for browser-terminal SSH access."
166
- default = ""
167
- }
168
-
169
- variable "ssh_public_key" {
170
- type = string
171
- description = "Public key material registered in OpenStack for browser-terminal SSH access."
172
- default = ""
173
- }
174
-
175
- variable "desired_state" {
176
- type = string
177
- description = "Desired server instance power state."
178
- default = "running"
179
-
180
- validation {
181
- condition = contains(["running", "stopped"], lower(var.desired_state))
182
- error_message = "desired_state must be one of: running, stopped"
183
- }
184
- }
185
-
186
- variable "backend_container_image" {
187
- type = string
188
- description = "Prebuilt backend image. If empty, repo bootstrap build is used."
189
- default = ""
190
- }
191
-
192
- variable "backend_container_name" {
193
- type = string
194
- description = "Runtime container name."
195
- default = "template-service-server"
196
- }
197
-
198
- variable "backend_repo_url" {
199
- type = string
200
- description = "Repo URL used for bootstrap build."
201
- default = "https://github.com/example-org/example-service.git"
202
- }
203
-
204
- variable "backend_repo_ref" {
205
- type = string
206
- description = "Repo ref for bootstrap build."
207
- default = "main"
208
- }
209
-
210
- variable "backend_repo_subdir" {
211
- type = string
212
- description = "Repo-relative server directory."
213
- default = "server"
214
- }
215
-
216
- variable "jwt_secret_key" {
217
- type = string
218
- description = "JWT secret key. Leave empty to auto-generate."
219
- default = ""
220
- sensitive = true
221
- }
222
-
223
- variable "backend_env" {
224
- type = map(string)
225
- description = "Additional backend environment variables."
226
- default = {}
227
- }
228
-
229
- variable "tags" {
230
- type = map(string)
231
- description = "Additional metadata tags."
232
- default = {}
233
- }
@@ -1,29 +0,0 @@
1
- {
2
- "auth_type": "password",
3
- "auth_url": "https://keystone.example.com:5000/v3",
4
- "backend_repo_ref": "main",
5
- "backend_repo_url": "https://github.com/example-org/example-service.git",
6
- "backend_image_name": "ubuntu-24.04-noble-amd64",
7
- "backend_port": 8080,
8
- "instance_flavor_name": "m1.small",
9
- "ssh_ingress_cidrs": ["0.0.0.0/0"],
10
- "ssh_keypair_name": "template-dev-terminal",
11
- "ssh_public_key": "ssh-ed25519 AAAA... replace-me",
12
- "insecure": false,
13
- "interface": "public",
14
- "phase": "dev",
15
- "external_network_name": "public",
16
- "app_subnet_cidr": "10.52.0.0/24",
17
- "project_domain_name": "Default",
18
- "project_name": "template-service",
19
- "region": "RegionOne",
20
- "service_name": "template-service",
21
- "application_name": "Template API",
22
- "user_domain_name": "Default",
23
- "username": "admin",
24
- "backend_env": {
25
- "API_PREFIX": "/api/v1",
26
- "DATABASE_BACKEND": "postgres",
27
- "POSTGRES_URL": "postgresql://template:template@db:5432/template"
28
- }
29
- }
@@ -1,2 +0,0 @@
1
- packages:
2
- - client/*
@@ -1,277 +0,0 @@
1
- #!/usr/bin/env python3
2
-
3
- from __future__ import annotations
4
-
5
- import argparse
6
- import json
7
- import re
8
- from pathlib import Path
9
-
10
-
11
- ROOT = Path(__file__).resolve().parents[2]
12
-
13
- SERVICE_DOCS = {
14
- "mobile": ROOT / "sdd/03_build/01_feature/service/mobile_surface.md",
15
- "web": ROOT / "sdd/03_build/01_feature/service/web_surface.md",
16
- "admin": ROOT / "sdd/03_build/01_feature/service/admin_surface.md",
17
- "landing": ROOT / "sdd/03_build/01_feature/service/landing_surface.md",
18
- }
19
-
20
- BUILD_AST_DOC = ROOT / "sdd/03_build/03_architecture/build_ast_runtime_tree_governance.md"
21
-
22
-
23
- def read(path: Path) -> str:
24
- return path.read_text(encoding="utf-8")
25
-
26
-
27
- def score(value: float, maximum: float) -> int:
28
- if maximum <= 0:
29
- return 0
30
- scaled = round((value / maximum) * 10)
31
- return max(0, min(10, scaled))
32
-
33
-
34
- def contains_all(text: str, needles: list[str]) -> bool:
35
- return all(needle in text for needle in needles)
36
-
37
-
38
- def ast_similarity() -> tuple[int, list[str]]:
39
- findings: list[str] = []
40
- points = 0.0
41
- maximum = 10.0
42
-
43
- mobile = read(SERVICE_DOCS["mobile"])
44
- if contains_all(
45
- mobile,
46
- [
47
- "client/mobile/src/main.tsx",
48
- "AuthProvider",
49
- "BrowserRouter",
50
- "client/mobile/src/app/App.tsx",
51
- "ProtectedRoute",
52
- "InShell",
53
- "DashboardPage",
54
- "FulfillmentPage",
55
- "ShippingPage",
56
- ],
57
- ):
58
- points += 2.5
59
- else:
60
- findings.append("mobile surface summary does not reflect the real provider/router/shell chain.")
61
-
62
- web = read(SERVICE_DOCS["web"])
63
- if contains_all(
64
- web,
65
- [
66
- "client/web/src/main.tsx",
67
- "AuthProvider",
68
- "BrowserRouter",
69
- "client/web/src/app/App.tsx",
70
- "ProtectedRoute",
71
- "AppShell",
72
- "DashboardPage",
73
- "OrdersPage",
74
- ],
75
- ):
76
- points += 2.5
77
- else:
78
- findings.append("web surface summary does not reflect the real app shell route tree.")
79
-
80
- admin = read(SERVICE_DOCS["admin"])
81
- if contains_all(
82
- admin,
83
- [
84
- "client/admin/src/main.tsx",
85
- "AuthProvider",
86
- "BrowserRouter",
87
- "client/admin/src/app/App.tsx",
88
- "ProtectedRoute",
89
- "AdminShell",
90
- "AdminDashboardPage",
91
- "AdminQueuePage",
92
- "AdminSupportPage",
93
- ],
94
- ):
95
- points += 2.5
96
- else:
97
- findings.append("admin surface summary does not reflect the real admin shell route tree.")
98
-
99
- landing = read(SERVICE_DOCS["landing"])
100
- if contains_all(
101
- landing,
102
- [
103
- "client/landing/src/main.tsx",
104
- "AuthProvider",
105
- "BrowserRouter",
106
- "client/landing/src/App.tsx",
107
- "LandingHomePage",
108
- "LandingLoginPage",
109
- "ProtectedRoute",
110
- "LandingShell",
111
- "LandingWorkspacePage",
112
- ],
113
- ):
114
- points += 2.5
115
- else:
116
- findings.append("landing surface summary does not reflect the public and gated route assembly.")
117
-
118
- return score(points, maximum), findings
119
-
120
-
121
- def implementation_traceability() -> tuple[int, list[str]]:
122
- findings: list[str] = []
123
- points = 0.0
124
- maximum = 10.0
125
-
126
- mobile = read(SERVICE_DOCS["mobile"])
127
- if contains_all(
128
- mobile,
129
- [
130
- "server/main.py",
131
- "server/api/http/app.py",
132
- "server/api/http/router.py",
133
- "contexts/auth/contracts/http/router.py",
134
- "contexts/fulfillment/contracts/http/router.py",
135
- "contexts/shipping/contracts/http/router.py",
136
- ],
137
- ):
138
- points += 2.0
139
- else:
140
- findings.append("mobile surface summary does not trace route leaves to backend contract leaves.")
141
-
142
- web = read(SERVICE_DOCS["web"])
143
- if contains_all(
144
- web,
145
- [
146
- "server/main.py",
147
- "server/api/http/app.py",
148
- "server/api/http/router.py",
149
- "contexts/auth/contracts/http/router.py",
150
- "contexts/catalog/contracts/http/router.py",
151
- "contexts/orders/contracts/http/router.py",
152
- ],
153
- ):
154
- points += 2.0
155
- else:
156
- findings.append("web surface summary does not trace dashboard and orders routes to backend contracts.")
157
-
158
- admin = read(SERVICE_DOCS["admin"])
159
- if contains_all(
160
- admin,
161
- [
162
- "server/main.py",
163
- "server/api/http/app.py",
164
- "server/api/http/router.py",
165
- "contexts/alerts/contracts/http/router.py",
166
- "contexts/inventory/contracts/http/router.py",
167
- "contexts/support/contracts/http/router.py",
168
- ],
169
- ):
170
- points += 2.0
171
- else:
172
- findings.append("admin surface summary does not trace admin routes to backend contracts.")
173
-
174
- landing = read(SERVICE_DOCS["landing"])
175
- if contains_all(
176
- landing,
177
- [
178
- "server/main.py",
179
- "server/api/http/app.py",
180
- "server/api/http/router.py",
181
- "contexts/catalog/contracts/http/router.py",
182
- "contexts/health/contracts/http/router.py",
183
- "contexts/user/contracts/http/router.py",
184
- ],
185
- ):
186
- points += 2.0
187
- else:
188
- findings.append("landing surface summary does not trace public/workspace routes to backend contracts.")
189
-
190
- architecture = read(BUILD_AST_DOC)
191
- if contains_all(
192
- architecture,
193
- [
194
- ".agent/ralph.sh",
195
- ".claude/agents/",
196
- ".codex/skills/SKILL.md",
197
- "infra/terraform/README.md",
198
- ],
199
- ):
200
- points += 2.0
201
- else:
202
- findings.append("build AST architecture summary does not retain the canonical harness and infra roots.")
203
-
204
- return score(points, maximum), findings
205
-
206
-
207
- def human_agent_readability() -> tuple[int, list[str]]:
208
- findings: list[str] = []
209
- points = 10.0
210
- maximum = 10.0
211
-
212
- build_md_files = sorted((ROOT / "sdd/03_build").rglob("*.md"))
213
- combined = "\n".join(read(path) for path in build_md_files)
214
-
215
- pattern_penalties = [
216
- (r"## Current Build Note", 2.0, "build docs still use a Current Build Note section instead of current-state structure."),
217
- (r"\bRalph\b", 2.0, "build docs still contain Ralph loop narrative."),
218
- (r"2026-\d{2}-\d{2}", 2.0, "build docs still contain dated history markers."),
219
- (r"이번 턴", 1.0, "build docs still contain turn-specific execution narrative."),
220
- (r"run `\d+", 1.0, "build docs still contain run-id style execution narrative."),
221
- (r"\biteration\b", 1.0, "build docs still contain iteration-oriented loop narrative."),
222
- ]
223
-
224
- for pattern, penalty, message in pattern_penalties:
225
- if re.search(pattern, combined):
226
- points -= penalty
227
- findings.append(message)
228
-
229
- for path in SERVICE_DOCS.values():
230
- if len(read(path).splitlines()) > 80:
231
- points -= 0.5
232
- findings.append(f"{path.name} is too large to serve as a concise runtime tree summary.")
233
-
234
- if points < 0:
235
- points = 0
236
-
237
- return score(points, maximum), findings
238
-
239
-
240
- def main() -> int:
241
- parser = argparse.ArgumentParser()
242
- parser.add_argument("--write", type=Path, default=None)
243
- args = parser.parse_args()
244
-
245
- ast_score, ast_findings = ast_similarity()
246
- trace_score, trace_findings = implementation_traceability()
247
- readability_score, readability_findings = human_agent_readability()
248
-
249
- payload = {
250
- "scores": {
251
- "ast_similarity": ast_score,
252
- "implementation_traceability": trace_score,
253
- "human_agent_readability": readability_score,
254
- },
255
- "all_ten": ast_score == 10 and trace_score == 10 and readability_score == 10,
256
- "findings": {
257
- "ast_similarity": ast_findings,
258
- "implementation_traceability": trace_findings,
259
- "human_agent_readability": readability_findings,
260
- },
261
- }
262
-
263
- output = json.dumps(payload, ensure_ascii=False, indent=2)
264
- print(output)
265
-
266
- if args.write is not None:
267
- target = args.write
268
- if not target.is_absolute():
269
- target = ROOT / target
270
- target.parent.mkdir(parents=True, exist_ok=True)
271
- target.write_text(output + "\n", encoding="utf-8")
272
-
273
- return 0 if payload["all_ten"] else 1
274
-
275
-
276
- if __name__ == "__main__":
277
- raise SystemExit(main())
@@ -1,16 +0,0 @@
1
- # Feature Index
2
-
3
- 현재 canonical feature spec은 backend domain 기준으로 작성한다.
4
-
5
- - [auth_feature_spec.md](./auth_feature_spec.md)
6
- - [alerts_feature_spec.md](./alerts_feature_spec.md)
7
- - [catalog_feature_spec.md](./catalog_feature_spec.md)
8
- - [fulfillment_feature_spec.md](./fulfillment_feature_spec.md)
9
- - [health_feature_spec.md](./health_feature_spec.md)
10
- - [inventory_feature_spec.md](./inventory_feature_spec.md)
11
- - [order_feature_spec.md](./order_feature_spec.md)
12
- - [shipping_feature_spec.md](./shipping_feature_spec.md)
13
- - [support_feature_spec.md](./support_feature_spec.md)
14
- - [user_feature_spec.md](./user_feature_spec.md)
15
-
16
- 현재 canonical owner domain은 `auth`, `user`, `catalog`, `inventory`, `orders`, `fulfillment`, `shipping`, `alerts`, `support`, `health`다.
@@ -1,76 +0,0 @@
1
- # Feature Planning
2
-
3
- ## Naming
4
-
5
- - Folder name: `01_feature`
6
- - Document naming: `{domain}_feature_spec.md`
7
- - Source-of-truth feature spec files are backend domain based.
8
-
9
- ## Scope
10
-
11
- - feature spec은 DDD 관점의 도메인 유스케이스 문서다.
12
- - route, navigation, sidebar, modal, tab, client local state, 화면 전이는 feature spec에 쓰지 않는다.
13
- - 위 항목은 `02_screen`에서 관리한다.
14
- - 하나의 feature code는 하나의 핵심 query 또는 command 유스케이스를 대표한다.
15
-
16
- ## Implementation Basis
17
-
18
- - `Bounded Context`는 실제 backend owner module에 맞춰 작성한다.
19
- - feature spec은 현재 구현을 기준으로 먼저 정리하고, 미구현 요구는 `02_plan` backlog로 관리한다.
20
- - frontend-only mock, redirect, client local state machine은 feature spec에 쓰지 않는다.
21
- - 개별 domain feature spec은 `Purpose -> Scope -> Actor Summary -> Domain Summary -> Aggregate / Model -> Use Case Matrix` 흐름을 기본 뼈대로 사용한다.
22
-
23
- ## Code Rule
24
-
25
- - Feature code format: `{DOMAIN}-F{NNN}`
26
- - 각 segment는 고정 길이로 유지한다.
27
-
28
- | Segment | Rule | Example |
29
- | --- | --- | --- |
30
- | `DOMAIN` | 3-letter uppercase domain code | `AUT`, `USR`, `CAT` |
31
- | `TYPE` | feature 식별자 고정값 | `F` |
32
- | `NNN` | 3-digit sequence | `001`, `002` |
33
-
34
- 현재 canonical backend domain code는 `AUT`, `USR`, `CAT`, `INV`, `ORD`, `FUL`, `SHP`, `ALR`, `SUP`, `HLT`다.
35
-
36
- ## Required Fields
37
-
38
- 모든 feature row는 아래 정보를 포함한다.
39
-
40
- | Field | Purpose |
41
- | --- | --- |
42
- | `Feature Code` | 유스케이스의 고유 식별자 |
43
- | `Use Case` | 비즈니스 의도 |
44
- | `Actor` | 유스케이스를 시작하거나 소비하는 주체 |
45
- | `Bounded Context` | 해당 유스케이스가 속한 DDD 경계 |
46
- | `Aggregate / Model` | 핵심 aggregate, entity, policy, read model |
47
- | `Type` | `Query` 또는 `Command` |
48
- | `Preconditions` | 유스케이스가 성립하기 위한 선행 조건 |
49
- | `Domain Outcome` | 도메인 상태 변화 또는 조회 결과 |
50
- | `Invariant / Business Rule` | 반드시 지켜야 하는 규칙 |
51
-
52
- 개별 domain feature spec은 use case matrix 외에 아래 섹션을 포함한다.
53
-
54
- | Section | Purpose |
55
- | --- | --- |
56
- | `Scope` | 포함/제외 범위를 분리해 screen, transport, backlog와의 경계를 명시한다 |
57
- | `Actor Summary` | use case matrix에 등장하는 각 actor의 책임과 사용 맥락을 설명한다 |
58
-
59
- ## Document Boundary
60
-
61
- | Folder | Role |
62
- | --- | --- |
63
- | `01_feature` | actor, use case, aggregate, invariant 중심의 도메인 유스케이스 |
64
- | `02_screen` | route, UI surface, CTA, local interaction, transition |
65
- | `03_architecture` | bounded context 관계, 시스템 경계, 런타임 구조 |
66
- | `04_data` | 저장 모델, 관계, 키 정책 |
67
- | `05_api` | request/response, endpoint contract, transport 규약 |
68
-
69
- ## Writing Rule
70
-
71
- - feature spec은 도메인 유스케이스 문서다.
72
- - `Type`은 `Query` 또는 `Command`만 사용한다.
73
- - use case matrix에 등장하는 모든 actor는 같은 문서의 `Actor Summary`에서 최소 1회 설명한다.
74
- - actor 이름은 화면 이름이 아니라 도메인 상호작용을 시작하거나 소비하는 주체 기준으로 유지한다.
75
- - 식별자는 UUID v7을 기준으로 해석하고, legacy numeric id는 기준 식별자로 간주하지 않는다.
76
- - 기본 정렬은 `created_at` 또는 time-ordered UUID v7을 사용하고, 명시 순서가 필요해질 때만 `order` 계열 필드를 추가한다.