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,60 +0,0 @@
1
- # UI Parity Tooling
2
-
3
- 이 디렉터리는 템플릿을 복제한 각 서비스 레포에서 사용하는 repo-local parity 실행 도구의 정본이다.
4
-
5
- 계층:
6
-
7
- - `core/`: parity 결과 생성과 공통 유틸
8
- - `cli/`: scaffold, proof, route-gap 같은 진입점
9
- - `contracts/`: output/metadata schema 예시
10
- - `interfaces/`: 실행 계약과 산출물 규약 문서
11
- - `runtime/`: 브라우저 런타임 adapter
12
-
13
- 복제 직후 초기화:
14
-
15
- ```bash
16
- bash sdd/99_toolchain/01_automation/agentic-dev/init_frontend_parity.sh . web
17
- ```
18
-
19
- 이 명령은 다음을 생성한다.
20
-
21
- - `sdd/99_toolchain/01_automation/agentic-dev/repo-contract.json`
22
- - `.codex/agentic-dev.json`
23
- - `.claude/agentic-dev.json`
24
- - `sdd/02_plan/10_test/templates/ui_parity_web_contract.yaml`
25
- - `sdd/02_plan/99_generated/from_planning/ui_parity/ui_parity_route_gap_report.json`
26
- - `sdd/02_plan/99_generated/from_planning/ui_parity/ui_parity_route_gap_report.md`
27
-
28
- 대상 프론트 선택:
29
-
30
- - 기본 대상은 `sdd/99_toolchain/01_automation/agentic-dev/repo-contract.json`의 `frontend.default_target`에서 결정한다.
31
- - `web`, `mobile`, `admin`, `landing` 같은 각 프론트는 `frontend.targets.<id>`에 `dir`, `adapter_path`, `screens_path`, `routes_path`, `preview_url`을 선언한다.
32
- 예시 `dir` 값은 `client/web`처럼 실제 디렉터리 경로를 가리킨다.
33
- - `init_frontend_parity.sh`, `bootstrap_frontend_parity.sh`, `run_frontend_target.sh`는 모두 이 metadata만 읽고 동작한다.
34
-
35
- 첫 proof 부트스트랩:
36
-
37
- ```bash
38
- bash sdd/99_toolchain/01_automation/agentic-dev/bootstrap_frontend_parity.sh . web
39
- ```
40
-
41
- 이 명령은 preview 서버를 띄운 뒤 reference materialization, route-gap gate, proof gate까지 수행한다.
42
- `plan_audit`와 `proof` gate는 각각 route-gap/proof JSON을 schema까지 검증한 뒤 판정한다.
43
-
44
- 기본 사용 예시:
45
-
46
- ```bash
47
- node sdd/99_toolchain/01_automation/ui-parity/cli/scaffold-contract.mjs \
48
- --adapter client/web/scripts/ui-parity-web-adapter.mjs \
49
- --out sdd/02_plan/10_test/templates/ui_parity_web_contract.yaml
50
-
51
- node sdd/99_toolchain/01_automation/ui-parity/cli/run-proof.mjs \
52
- --adapter client/web/scripts/ui-parity-web-adapter.mjs \
53
- --contract sdd/02_plan/10_test/templates/ui_parity_web_contract.yaml \
54
- --out sdd/03_verify/10_test/ui_parity/templates_web_agentic_dev_latest.json
55
- ```
56
-
57
- 관련 계약:
58
-
59
- - [UI Parity Proof Interface](interfaces/ui-parity-proof-interface.md)
60
- - [UI Parity Route Gap Interface](interfaces/ui-parity-route-gap-interface.md)
@@ -1,2 +0,0 @@
1
- #!/usr/bin/env node
2
- console.log("extract-reference-pages is a template placeholder. Replace with a service-specific planning asset extractor when references are available.");
@@ -1,58 +0,0 @@
1
- #!/usr/bin/env node
2
- import path from "node:path";
3
- import { createRequire } from "node:module";
4
-
5
- import { loadAdapter } from "../core/load-adapter.mjs";
6
- import { loadContract } from "../core/load-contract.mjs";
7
- import { captureScreen, sanitizeFileName } from "../core/capture-runner.mjs";
8
- import { createPlaywrightRuntime } from "../runtime/playwright-runtime.mjs";
9
-
10
- function parseArgs(argv) {
11
- const args = {
12
- adapter: "",
13
- contract: "",
14
- };
15
- for (let index = 2; index < argv.length; index += 1) {
16
- const token = argv[index];
17
- if (token === "--adapter" && argv[index + 1]) {
18
- args.adapter = argv[++index];
19
- } else if (token === "--contract" && argv[index + 1]) {
20
- args.contract = argv[++index];
21
- }
22
- }
23
- if (!args.adapter || !args.contract) {
24
- throw new Error("Usage: materialize-reference-assets.mjs --adapter <path> --contract <path>");
25
- }
26
- return args;
27
- }
28
-
29
- const args = parseArgs(process.argv);
30
- const { resolvedPath, adapter } = await loadAdapter(args.adapter);
31
- const requireFromAdapter = createRequire(resolvedPath);
32
- const yaml = requireFromAdapter("yaml");
33
- const { contract } = loadContract(args.contract, (text) => yaml.parse(text));
34
- const runtime = await createPlaywrightRuntime(requireFromAdapter);
35
- const baseUrl = adapter.targetBaseUrl ?? contract.targetBaseUrl ?? "http://127.0.0.1:4301";
36
- const viewport = adapter.viewport ?? { width: 1440, height: 1024 };
37
- const repoRoot = contract.repoRoot ?? process.cwd();
38
-
39
- let generated = 0;
40
- for (const screen of contract.screens) {
41
- const targetPath = path.resolve(
42
- repoRoot,
43
- screen.referenceImage ?? `sdd/03_verify/10_test/ui_parity/reference/${sanitizeFileName(screen.id)}.png`,
44
- );
45
- await captureScreen({
46
- browser: runtime.browser,
47
- screen,
48
- adapter,
49
- outputPath: targetPath,
50
- baseUrl,
51
- viewport,
52
- });
53
- generated += 1;
54
- console.log(`reference_image=${targetPath}`);
55
- }
56
-
57
- await runtime.dispose();
58
- console.log(`generated=${generated}`);
@@ -1,2 +0,0 @@
1
- #!/usr/bin/env node
2
- console.log("normalize-reference-assets is a template placeholder. Replace with a service-specific reference normalization pipeline.");
@@ -1,187 +0,0 @@
1
- #!/usr/bin/env node
2
- import fs from "node:fs";
3
- import path from "node:path";
4
- import { ensureDirectory, writeJson } from "../core/paths.mjs";
5
-
6
- function loadJson(jsonPath) {
7
- return JSON.parse(fs.readFileSync(jsonPath, "utf8"));
8
- }
9
-
10
- function parseArgs(argv) {
11
- const args = {
12
- service: "",
13
- screens: "",
14
- routes: "",
15
- out: "",
16
- markdownOut: "",
17
- };
18
- for (let index = 2; index < argv.length; index += 1) {
19
- const token = argv[index];
20
- if (token === "--service" && argv[index + 1]) {
21
- args.service = argv[++index];
22
- } else if (token === "--screens" && argv[index + 1]) {
23
- args.screens = argv[++index];
24
- } else if (token === "--routes" && argv[index + 1]) {
25
- args.routes = argv[++index];
26
- } else if (token === "--out" && argv[index + 1]) {
27
- args.out = argv[++index];
28
- } else if (token === "--markdown-out" && argv[index + 1]) {
29
- args.markdownOut = argv[++index];
30
- }
31
- }
32
- if (!args.screens || !args.routes || !args.out) {
33
- throw new Error(
34
- "Usage: route-gap-report.mjs [--service <name>] --screens <json> --routes <json> --out <json> [--markdown-out <md>]",
35
- );
36
- }
37
- return args;
38
- }
39
-
40
- function normalizeStringArray(values) {
41
- if (!Array.isArray(values)) return [];
42
- return [...new Set(values.map((value) => String(value ?? "").trim()).filter(Boolean))];
43
- }
44
-
45
- function routeStatusFor(entry, routeUsage) {
46
- if (!entry) return "missing";
47
- const binding = String(entry.binding ?? entry.mode ?? "direct").trim().toLowerCase();
48
- if (binding === "stateful") return "stateful";
49
- if (binding === "shared") return "shared";
50
- if (binding === "missing") return "missing";
51
- const route = String(entry.route ?? "").trim();
52
- if (!route) return "missing";
53
- if ((routeUsage.get(route) ?? 0) > 1) return "shared";
54
- return "direct";
55
- }
56
-
57
- function bindingSourceFor(entry) {
58
- if (!entry) return "missing";
59
- return entry.binding || entry.mode ? "explicit" : "inferred";
60
- }
61
-
62
- function coverageStateFor(status) {
63
- if (status === "direct") return "route_bound";
64
- if (status === "shared") return "shared_route";
65
- if (status === "stateful") return "state_transition";
66
- return "unmapped";
67
- }
68
-
69
- function evidenceLevelFor(status, bindingSource, hasNotes, hasTags) {
70
- if (status === "missing") return "missing";
71
- if (status === "stateful") return "weak";
72
- if (status === "shared") return hasNotes || hasTags ? "medium" : "weak";
73
- if (bindingSource === "explicit" && (hasNotes || hasTags)) return "strong";
74
- if (bindingSource === "explicit") return "medium";
75
- return hasNotes || hasTags ? "medium" : "weak";
76
- }
77
-
78
- function renderMarkdown(report) {
79
- const lines = [
80
- "# UI Parity Route Gap Report",
81
- "",
82
- `- Service: ${report.service}`,
83
- `- Generated At: ${report.generated_at}`,
84
- `- Total: ${report.summary.total}`,
85
- `- Direct: ${report.summary.direct}`,
86
- `- Shared: ${report.summary.shared}`,
87
- `- Stateful: ${report.summary.stateful}`,
88
- `- Missing: ${report.summary.missing}`,
89
- `- Coverage Ratio: ${report.summary.coverage_ratio}`,
90
- `- Strong Evidence: ${report.summary.strong_evidence}`,
91
- `- With Notes: ${report.summary.with_notes}`,
92
- `- With Tags: ${report.summary.with_tags}`,
93
- "",
94
- "| ID | Title | Route | Status | Evidence | Tags | Linked Screens |",
95
- "| --- | --- | --- | --- | --- | --- | --- |",
96
- ];
97
- for (const screen of report.screens) {
98
- lines.push(
99
- `| ${screen.id} | ${screen.title} | ${screen.route ?? ""} | ${screen.status} | ${screen.evidence_level} | ${screen.tags.join(", ")} | ${screen.duplicate_route_ids.join(", ")} |`,
100
- );
101
- }
102
- return `${lines.join("\n")}\n`;
103
- }
104
-
105
- const args = parseArgs(process.argv);
106
- const screens = loadJson(path.resolve(args.screens));
107
- const routes = loadJson(path.resolve(args.routes));
108
- const routeUsage = new Map();
109
- for (const routeEntry of routes) {
110
- const route = String(routeEntry.route ?? "").trim();
111
- if (!route) continue;
112
- routeUsage.set(route, (routeUsage.get(route) ?? 0) + 1);
113
- }
114
-
115
- const routeMap = new Map(routes.map((entry) => [entry.id, entry]));
116
- const duplicateRouteGroups = [];
117
- const rows = screens.map((screen) => {
118
- const entry = routeMap.get(screen.id) ?? null;
119
- const status = routeStatusFor(entry, routeUsage);
120
- const route = entry?.route ?? null;
121
- const duplicateRouteIds =
122
- route && (routeUsage.get(route) ?? 0) > 1
123
- ? routes.filter((routeEntry) => routeEntry.route === route && routeEntry.id !== screen.id).map((routeEntry) => routeEntry.id)
124
- : [];
125
- if (route && duplicateRouteIds.length > 0 && !duplicateRouteGroups.some((group) => group.route === route)) {
126
- duplicateRouteGroups.push({
127
- route,
128
- screen_ids: routes.filter((routeEntry) => routeEntry.route === route).map((routeEntry) => routeEntry.id),
129
- });
130
- }
131
- const tags = normalizeStringArray([...(screen.tags ?? []), ...(entry?.tags ?? [])]);
132
- const notes = normalizeStringArray([...(screen.notes ?? []), ...(entry?.notes ?? [])]);
133
- const bindingSource = bindingSourceFor(entry);
134
- return {
135
- id: screen.id,
136
- title: screen.title,
137
- route,
138
- status,
139
- binding: String(entry?.binding ?? entry?.mode ?? status),
140
- binding_source: bindingSource,
141
- coverage_state: coverageStateFor(status),
142
- evidence_level: evidenceLevelFor(status, bindingSource, notes.length > 0, tags.length > 0),
143
- route_defined: Boolean(route),
144
- has_notes: notes.length > 0,
145
- has_tags: tags.length > 0,
146
- duplicate_route_ids: duplicateRouteIds,
147
- tags,
148
- notes,
149
- };
150
- });
151
-
152
- const report = {
153
- generated_at: new Date().toISOString(),
154
- service: args.service || path.basename(path.dirname(path.resolve(args.screens))),
155
- screens_path: path.resolve(args.screens),
156
- routes_path: path.resolve(args.routes),
157
- summary: {
158
- total: rows.length,
159
- direct: rows.filter((row) => row.status === "direct").length,
160
- shared: rows.filter((row) => row.status === "shared").length,
161
- stateful: rows.filter((row) => row.status === "stateful").length,
162
- missing: rows.filter((row) => row.status === "missing").length,
163
- coverage_ratio: rows.length > 0 ? Number((rows.filter((row) => row.status === "direct").length / rows.length).toFixed(4)) : 0,
164
- explicit_bindings: rows.filter((row) => row.binding_source === "explicit").length,
165
- strong_evidence: rows.filter((row) => row.evidence_level === "strong").length,
166
- medium_evidence: rows.filter((row) => row.evidence_level === "medium").length,
167
- weak_evidence: rows.filter((row) => row.evidence_level === "weak").length,
168
- with_notes: rows.filter((row) => row.has_notes).length,
169
- with_tags: rows.filter((row) => row.has_tags).length,
170
- duplicate_route_groups: duplicateRouteGroups.length,
171
- },
172
- duplicate_route_groups: duplicateRouteGroups,
173
- screens: rows,
174
- };
175
-
176
- ensureDirectory(path.dirname(path.resolve(args.out)));
177
- writeJson(path.resolve(args.out), report);
178
-
179
- if (args.markdownOut) {
180
- ensureDirectory(path.dirname(path.resolve(args.markdownOut)));
181
- fs.writeFileSync(path.resolve(args.markdownOut), renderMarkdown(report), "utf8");
182
- }
183
-
184
- console.log(`route_gap_output=${path.resolve(args.out)}`);
185
- if (args.markdownOut) {
186
- console.log(`route_gap_markdown=${path.resolve(args.markdownOut)}`);
187
- }
@@ -1,50 +0,0 @@
1
- #!/usr/bin/env node
2
- import path from "node:path";
3
- import { createRequire } from "node:module";
4
- import { loadAdapter } from "../core/load-adapter.mjs";
5
- import { loadContract } from "../core/load-contract.mjs";
6
- import { runProof } from "../core/proof-runner.mjs";
7
- import { createPlaywrightRuntime } from "../runtime/playwright-runtime.mjs";
8
-
9
- function parseArgs(argv) {
10
- const args = {
11
- adapter: "",
12
- contract: "",
13
- out: "",
14
- };
15
- for (let index = 2; index < argv.length; index += 1) {
16
- const token = argv[index];
17
- if (token === "--adapter" && argv[index + 1]) {
18
- args.adapter = argv[++index];
19
- } else if (token === "--contract" && argv[index + 1]) {
20
- args.contract = argv[++index];
21
- } else if (token === "--out" && argv[index + 1]) {
22
- args.out = argv[++index];
23
- }
24
- }
25
- if (!args.adapter || !args.contract || !args.out) {
26
- throw new Error("Usage: run-proof.mjs --adapter <path> --contract <path> --out <path>");
27
- }
28
- return args;
29
- }
30
-
31
- const args = parseArgs(process.argv);
32
- const { resolvedPath, adapter } = await loadAdapter(args.adapter);
33
- const requireFromAdapter = createRequire(resolvedPath);
34
- const yaml = requireFromAdapter("yaml");
35
- const { resolvedPath: resolvedContractPath, contract } = loadContract(args.contract, (text) => yaml.parse(text));
36
- const runtime = await createPlaywrightRuntime(requireFromAdapter);
37
- const payload = await runProof({
38
- adapterPath: path.relative(process.cwd(), resolvedPath),
39
- contractPath: path.relative(process.cwd(), resolvedContractPath),
40
- outPath: path.resolve(args.out),
41
- adapter,
42
- contract,
43
- browser: runtime.browser,
44
- requireFromAdapter,
45
- });
46
- await runtime.dispose();
47
- console.log(`proof_output=${path.resolve(args.out)}`);
48
- console.log(`screens=${payload.summary.total}`);
49
- console.log(`missing_reference=${payload.summary.missing_reference}`);
50
- console.log(`capture_error=${payload.summary.capture_error}`);
@@ -1,62 +0,0 @@
1
- #!/usr/bin/env node
2
- import fs from "node:fs";
3
- import path from "node:path";
4
- import { loadAdapter } from "../core/load-adapter.mjs";
5
- import { ensureDirectory } from "../core/paths.mjs";
6
-
7
- function parseArgs(argv) {
8
- const args = {
9
- adapter: "",
10
- out: "",
11
- };
12
- for (let index = 2; index < argv.length; index += 1) {
13
- const token = argv[index];
14
- if (token === "--adapter" && argv[index + 1]) {
15
- args.adapter = argv[++index];
16
- } else if (token === "--out" && argv[index + 1]) {
17
- args.out = argv[++index];
18
- }
19
- }
20
- if (!args.adapter || !args.out) {
21
- throw new Error("Usage: scaffold-contract.mjs --adapter <path> --out <path>");
22
- }
23
- return args;
24
- }
25
-
26
- function renderYaml(adapterPath, adapter) {
27
- const screens = Array.isArray(adapter.screens) ? adapter.screens : [];
28
- const lines = [
29
- "kind: ui-parity",
30
- "metadata:",
31
- ` service: ${adapter.service ?? "replace-service-name"}`,
32
- " generated_by: sdd/99_toolchain/01_automation/ui-parity/cli/scaffold-contract.mjs",
33
- "spec:",
34
- ` target_base_url: ${adapter.targetBaseUrl ?? "http://127.0.0.1:4301"}`,
35
- ` adapter_path: ${adapterPath}`,
36
- "screens:",
37
- ];
38
- if (screens.length === 0) {
39
- lines.push(" - id: TMP_001");
40
- lines.push(" route: /");
41
- lines.push(" reference_image: sdd/03_verify/10_test/ui_parity/reference/TMP_001.png");
42
- } else {
43
- for (const screen of screens) {
44
- lines.push(` - id: ${screen.id}`);
45
- lines.push(` route: ${screen.route}`);
46
- lines.push(
47
- ` reference_image: ${screen.referenceImage ?? `sdd/03_verify/10_test/ui_parity/reference/${screen.id}.png`}`,
48
- );
49
- }
50
- }
51
- return `${lines.join("\n")}\n`;
52
- }
53
-
54
- const args = parseArgs(process.argv);
55
- const { resolvedPath, adapter } = await loadAdapter(args.adapter);
56
- ensureDirectory(path.dirname(path.resolve(args.out)));
57
- fs.writeFileSync(
58
- path.resolve(args.out),
59
- renderYaml(path.relative(process.cwd(), resolvedPath), adapter),
60
- "utf8",
61
- );
62
- console.log(`contract_output=${path.resolve(args.out)}`);
@@ -1,2 +0,0 @@
1
- #!/usr/bin/env node
2
- console.log("upload-parity1 is optional. Configure collector URL/API key in the cloned service before enabling uploads.");
@@ -1,33 +0,0 @@
1
- {
2
- "$schema": "https://json-schema.org/draft/2020-12/schema",
3
- "title": "ParityCollectorMetadata",
4
- "type": "object",
5
- "required": [
6
- "project",
7
- "repo",
8
- "screen_code",
9
- "route",
10
- "diff_ratio",
11
- "proof_artifacts_root"
12
- ],
13
- "properties": {
14
- "project": {
15
- "type": "string"
16
- },
17
- "repo": {
18
- "type": "string"
19
- },
20
- "screen_code": {
21
- "type": "string"
22
- },
23
- "route": {
24
- "type": "string"
25
- },
26
- "diff_ratio": {
27
- "type": "number"
28
- },
29
- "proof_artifacts_root": {
30
- "type": "string"
31
- }
32
- }
33
- }
@@ -1,76 +0,0 @@
1
- {
2
- "$schema": "https://json-schema.org/draft/2020-12/schema",
3
- "title": "UIParityProofResult",
4
- "type": "object",
5
- "required": [
6
- "generated_at",
7
- "service",
8
- "adapter_path",
9
- "contract_path",
10
- "target_base_url",
11
- "default_viewport",
12
- "screens",
13
- "summary"
14
- ],
15
- "properties": {
16
- "generated_at": {
17
- "type": "string"
18
- },
19
- "service": {
20
- "type": "string"
21
- },
22
- "adapter_path": {
23
- "type": "string"
24
- },
25
- "contract_path": {
26
- "type": "string"
27
- },
28
- "target_base_url": {
29
- "type": "string"
30
- },
31
- "default_viewport": {
32
- "type": "object",
33
- "required": ["width", "height"],
34
- "properties": {
35
- "width": { "type": "number" },
36
- "height": { "type": "number" }
37
- }
38
- },
39
- "screens": {
40
- "type": "array",
41
- "items": {
42
- "type": "object",
43
- "required": ["id", "route", "status", "diff_ratio"],
44
- "properties": {
45
- "id": { "type": "string" },
46
- "title": { "type": ["string", "null"] },
47
- "route": { "type": "string" },
48
- "tags": {
49
- "type": "array",
50
- "items": { "type": "string" }
51
- },
52
- "status": { "type": "string" },
53
- "diff_ratio": { "type": "number" },
54
- "max_diff_ratio": { "type": "number" },
55
- "reference_image": { "type": ["string", "null"] },
56
- "actual_image": { "type": ["string", "null"] },
57
- "diff_image": { "type": ["string", "null"] },
58
- "detail": { "type": "string" },
59
- "target_url": { "type": "string" }
60
- }
61
- }
62
- },
63
- "summary": {
64
- "type": "object",
65
- "required": ["total", "passed", "failed", "missing_reference", "capture_error", "matched"],
66
- "properties": {
67
- "total": { "type": "number" },
68
- "passed": { "type": "number" },
69
- "failed": { "type": "number" },
70
- "missing_reference": { "type": "number" },
71
- "capture_error": { "type": "number" },
72
- "matched": { "type": "boolean" }
73
- }
74
- }
75
- }
76
- }
@@ -1,95 +0,0 @@
1
- {
2
- "$schema": "https://json-schema.org/draft/2020-12/schema",
3
- "title": "UIParityRouteGapReport",
4
- "type": "object",
5
- "required": [
6
- "generated_at",
7
- "service",
8
- "screens_path",
9
- "routes_path",
10
- "summary",
11
- "screens"
12
- ],
13
- "properties": {
14
- "generated_at": {
15
- "type": "string"
16
- },
17
- "service": {
18
- "type": "string"
19
- },
20
- "screens_path": {
21
- "type": "string"
22
- },
23
- "routes_path": {
24
- "type": "string"
25
- },
26
- "summary": {
27
- "type": "object",
28
- "required": ["total", "direct", "shared", "stateful", "missing"],
29
- "properties": {
30
- "total": { "type": "number" },
31
- "direct": { "type": "number" },
32
- "shared": { "type": "number" },
33
- "stateful": { "type": "number" },
34
- "missing": { "type": "number" },
35
- "coverage_ratio": { "type": "number" },
36
- "explicit_bindings": { "type": "number" },
37
- "strong_evidence": { "type": "number" },
38
- "medium_evidence": { "type": "number" },
39
- "weak_evidence": { "type": "number" },
40
- "with_notes": { "type": "number" },
41
- "with_tags": { "type": "number" },
42
- "duplicate_route_groups": { "type": "number" }
43
- }
44
- },
45
- "duplicate_route_groups": {
46
- "type": "array",
47
- "items": {
48
- "type": "object",
49
- "required": ["route", "screen_ids"],
50
- "properties": {
51
- "route": { "type": "string" },
52
- "screen_ids": {
53
- "type": "array",
54
- "items": { "type": "string" }
55
- }
56
- }
57
- }
58
- },
59
- "screens": {
60
- "type": "array",
61
- "items": {
62
- "type": "object",
63
- "required": ["id", "title", "status"],
64
- "properties": {
65
- "id": { "type": "string" },
66
- "title": { "type": "string" },
67
- "route": { "type": ["string", "null"] },
68
- "binding": { "type": "string" },
69
- "binding_source": { "type": "string" },
70
- "coverage_state": { "type": "string" },
71
- "evidence_level": { "type": "string" },
72
- "route_defined": { "type": "boolean" },
73
- "has_notes": { "type": "boolean" },
74
- "has_tags": { "type": "boolean" },
75
- "duplicate_route_ids": {
76
- "type": "array",
77
- "items": { "type": "string" }
78
- },
79
- "tags": {
80
- "type": "array",
81
- "items": { "type": "string" }
82
- },
83
- "status": {
84
- "type": "string",
85
- "enum": ["direct", "shared", "stateful", "missing"]
86
- },
87
- "notes": {
88
- "type": "array",
89
- "items": { "type": "string" }
90
- }
91
- }
92
- }
93
- }
94
- }
95
- }