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.
- package/README.md +53 -46
- package/package.json +8 -22
- package/.agent/prd.json +0 -29
- package/.agent/progress.txt +0 -1
- package/.agent/prompt.md +0 -21
- package/.agent/ralph-loop-state.json +0 -13
- package/.agent/ralph-supervisor-state.json +0 -12
- package/.agent/ralph-supervisor.sh +0 -238
- package/.agent/ralph.sh +0 -305
- package/.agent/runs/README.md +0 -7
- package/.agent/sdd-build-ast-audit.json +0 -13
- package/.claude/CLAUDE.md +0 -44
- package/.claude/agentic-dev.json +0 -3
- package/.claude/agents/ai-dev.md +0 -27
- package/.claude/agents/backend-dev.md +0 -26
- package/.claude/agents/db-dev.md +0 -26
- package/.claude/agents/devops.md +0 -27
- package/.claude/agents/frontend-dev.md +0 -25
- package/.claude/agents/github-ops.md +0 -25
- package/.claude/agents/test-dev.md +0 -26
- package/.claude/agents/uiux-designer.md +0 -25
- package/.claude/settings.json +0 -49
- package/.claude/settings.local.json +0 -8
- package/.claude/skills/sdd/SKILL.md +0 -189
- package/.claude/skills/sdd/agents/openai.yaml +0 -4
- package/.claude/skills/sdd/references/section-map.md +0 -67
- package/.claude/workspace-config.json +0 -3
- package/.codex/agentic-dev.json +0 -3
- package/.codex/agents/README.md +0 -22
- package/.codex/agents/api.toml +0 -11
- package/.codex/agents/architecture.toml +0 -11
- package/.codex/agents/ci.toml +0 -11
- package/.codex/agents/gitops.toml +0 -11
- package/.codex/agents/orchestrator.toml +0 -11
- package/.codex/agents/quality.toml +0 -11
- package/.codex/agents/runtime.toml +0 -11
- package/.codex/agents/security.toml +0 -11
- package/.codex/agents/specs.toml +0 -11
- package/.codex/agents/ui.toml +0 -11
- package/.codex/config.toml +0 -46
- package/.codex/skills/SKILL.md +0 -13
- package/.codex/skills/sdd/SKILL.md +0 -189
- package/.codex/skills/sdd/agents/openai.yaml +0 -4
- package/.codex/skills/sdd/references/section-map.md +0 -67
- package/.dockerignore +0 -8
- package/.env.example +0 -50
- package/.gitignore +0 -16
- package/AGENTS.md +0 -86
- package/SDD_SKILL.md +0 -589
- package/compose.yml +0 -206
- package/infra/compose/.env.dev.example +0 -28
- package/infra/compose/.env.prod.example +0 -29
- package/infra/compose/README.md +0 -35
- package/infra/compose/dev.yml +0 -125
- package/infra/compose/prod.yml +0 -126
- package/infra/terraform/README.md +0 -34
- package/infra/terraform/aws/data/.terraform.lock.hcl +0 -25
- package/infra/terraform/aws/data/README.md +0 -18
- package/infra/terraform/aws/data/main.tf +0 -147
- package/infra/terraform/aws/data/outputs.tf +0 -14
- package/infra/terraform/aws/data/variables.tf +0 -57
- package/infra/terraform/aws/data/versions.tf +0 -10
- package/infra/terraform/aws/domain/.terraform.lock.hcl +0 -25
- package/infra/terraform/aws/domain/README.md +0 -20
- package/infra/terraform/aws/domain/env/dev.tfvars.example +0 -6
- package/infra/terraform/aws/domain/env/prod.tfvars.example +0 -7
- package/infra/terraform/aws/domain/main.tf +0 -149
- package/infra/terraform/aws/domain/outputs.tf +0 -29
- package/infra/terraform/aws/domain/variables.tf +0 -58
- package/infra/terraform/aws/domain/versions.tf +0 -10
- package/infra/terraform/openstack/README.md +0 -38
- package/infra/terraform/openstack/dev/.terraform.lock.hcl +0 -24
- package/infra/terraform/openstack/dev/README.md +0 -18
- package/infra/terraform/openstack/dev/main.tf +0 -49
- package/infra/terraform/openstack/dev/providers.tf +0 -15
- package/infra/terraform/openstack/dev/terraform.tfvars.example +0 -54
- package/infra/terraform/openstack/dev/variables.tf +0 -210
- package/infra/terraform/openstack/dev/versions.tf +0 -10
- package/infra/terraform/openstack/modules/environment_host/main.tf +0 -143
- package/infra/terraform/openstack/modules/environment_host/outputs.tf +0 -25
- package/infra/terraform/openstack/modules/environment_host/templates/docker-host-user-data.sh.tftpl +0 -40
- package/infra/terraform/openstack/modules/environment_host/variables.tf +0 -145
- package/infra/terraform/openstack/modules/environment_host/versions.tf +0 -7
- package/infra/terraform/openstack/prod/.terraform.lock.hcl +0 -24
- package/infra/terraform/openstack/prod/README.md +0 -18
- package/infra/terraform/openstack/prod/main.tf +0 -49
- package/infra/terraform/openstack/prod/providers.tf +0 -15
- package/infra/terraform/openstack/prod/terraform.tfvars.example +0 -55
- package/infra/terraform/openstack/prod/variables.tf +0 -210
- package/infra/terraform/openstack/prod/versions.tf +0 -10
- package/infra/terraform/openstack/server/.terraform.lock.hcl +0 -45
- package/infra/terraform/openstack/server/README.md +0 -47
- package/infra/terraform/openstack/server/main.tf +0 -161
- package/infra/terraform/openstack/server/outputs.tf +0 -30
- package/infra/terraform/openstack/server/providers.tf +0 -30
- package/infra/terraform/openstack/server/templates/server-user-data.sh.tftpl +0 -50
- package/infra/terraform/openstack/server/variables.tf +0 -233
- package/infra/terraform/openstack/server/zz_aspace.auto.tfvars.example.json +0 -29
- package/pnpm-workspace.yaml +0 -2
- package/scripts/dev/audit_sdd_build_ast.py +0 -277
- package/sdd/01_planning/01_feature/INDEX.md +0 -16
- package/sdd/01_planning/01_feature/README.md +0 -76
- package/sdd/01_planning/01_feature/alerts_feature_spec.md +0 -55
- package/sdd/01_planning/01_feature/auth_feature_spec.md +0 -57
- package/sdd/01_planning/01_feature/catalog_feature_spec.md +0 -61
- package/sdd/01_planning/01_feature/fulfillment_feature_spec.md +0 -58
- package/sdd/01_planning/01_feature/health_feature_spec.md +0 -52
- package/sdd/01_planning/01_feature/inventory_feature_spec.md +0 -60
- package/sdd/01_planning/01_feature/order_feature_spec.md +0 -63
- package/sdd/01_planning/01_feature/shipping_feature_spec.md +0 -55
- package/sdd/01_planning/01_feature/support_feature_spec.md +0 -53
- package/sdd/01_planning/01_feature/user_feature_spec.md +0 -54
- package/sdd/01_planning/02_screen/INDEX.md +0 -13
- package/sdd/01_planning/02_screen/README.md +0 -41
- package/sdd/01_planning/02_screen/admin_screen_spec.pdf +0 -0
- package/sdd/01_planning/02_screen/assets/README.md +0 -16
- package/sdd/01_planning/02_screen/assets/example/README.md +0 -13
- package/sdd/01_planning/02_screen/landing_screen_spec.pdf +0 -0
- package/sdd/01_planning/02_screen/mobile_screen_spec.pdf +0 -0
- package/sdd/01_planning/02_screen/web_screen_spec.pdf +0 -0
- package/sdd/01_planning/03_architecture/INDEX.md +0 -9
- package/sdd/01_planning/03_architecture/README.md +0 -25
- package/sdd/01_planning/03_architecture/architecture_document_structure.md +0 -77
- package/sdd/01_planning/03_architecture/backend/README.md +0 -10
- package/sdd/01_planning/03_architecture/frontend/README.md +0 -12
- package/sdd/01_planning/03_architecture/infra/README.md +0 -10
- package/sdd/01_planning/03_architecture/tech-research/README.md +0 -4
- package/sdd/01_planning/03_architecture/templates_system_architecture.md +0 -84
- package/sdd/01_planning/04_data/INDEX.md +0 -4
- package/sdd/01_planning/04_data/README.md +0 -10
- package/sdd/01_planning/04_data/templates_data_modeling.md +0 -119
- package/sdd/01_planning/05_api/README.md +0 -12
- package/sdd/01_planning/05_api/templates_api_contract.md +0 -90
- package/sdd/01_planning/06_iac/README.md +0 -11
- package/sdd/01_planning/06_iac/templates_runtime_and_cicd_baseline.md +0 -46
- package/sdd/01_planning/07_integration/README.md +0 -11
- package/sdd/01_planning/07_integration/templates_frontend_api_integration.md +0 -46
- package/sdd/01_planning/08_nonfunctional/README.md +0 -7
- package/sdd/01_planning/09_security/README.md +0 -7
- package/sdd/01_planning/10_test/README.md +0 -12
- package/sdd/01_planning/10_test/templates_test_strategy.md +0 -60
- package/sdd/01_planning/INDEX.md +0 -19
- package/sdd/01_planning/README.md +0 -17
- package/sdd/02_plan/01_feature/README.md +0 -34
- package/sdd/02_plan/01_feature/_feature_todo_template.md +0 -29
- package/sdd/02_plan/02_screen/INDEX.md +0 -19
- package/sdd/02_plan/02_screen/README.md +0 -39
- package/sdd/02_plan/02_screen/_screen_todo_template.md +0 -60
- package/sdd/02_plan/03_architecture/README.md +0 -23
- package/sdd/02_plan/03_architecture/architecture_document_governance.md +0 -40
- package/sdd/02_plan/03_architecture/build_ast_runtime_tree_governance.md +0 -53
- package/sdd/02_plan/03_architecture/repository_governance.md +0 -39
- package/sdd/02_plan/03_architecture/runtime_and_structure_governance.md +0 -38
- package/sdd/02_plan/03_architecture/templates-hexagonal-template-architecture.md +0 -9
- package/sdd/02_plan/03_architecture/toolchain_governance.md +0 -98
- package/sdd/02_plan/04_data/README.md +0 -5
- package/sdd/02_plan/05_api/README.md +0 -5
- package/sdd/02_plan/06_iac/README.md +0 -11
- package/sdd/02_plan/06_iac/dev_runtime_delivery.md +0 -36
- package/sdd/02_plan/06_iac/template_runtime_delivery.md +0 -50
- package/sdd/02_plan/07_integration/README.md +0 -5
- package/sdd/02_plan/07_integration/frontend_live_integration.md +0 -31
- package/sdd/02_plan/08_nonfunctional/README.md +0 -5
- package/sdd/02_plan/08_nonfunctional/repository_hygiene.md +0 -26
- package/sdd/02_plan/09_security/README.md +0 -5
- package/sdd/02_plan/10_test/README.md +0 -11
- package/sdd/02_plan/10_test/regression_verification.md +0 -39
- package/sdd/02_plan/10_test/templates/README.md +0 -8
- package/sdd/02_plan/10_test/templates/ui_parity_web_contract.template.yaml +0 -23
- package/sdd/02_plan/10_test/verification_strategy.md +0 -43
- package/sdd/02_plan/99_generated/from_planning/ui_parity/.gitkeep +0 -1
- package/sdd/02_plan/README.md +0 -40
- package/sdd/03_build/01_feature/README.md +0 -20
- package/sdd/03_build/01_feature/domain/README.md +0 -3
- package/sdd/03_build/01_feature/domain/account_and_access.md +0 -20
- package/sdd/03_build/01_feature/domain/catalog_and_inventory.md +0 -20
- package/sdd/03_build/01_feature/domain/ordering_and_fulfillment.md +0 -21
- package/sdd/03_build/01_feature/domain/support_and_observability.md +0 -21
- package/sdd/03_build/01_feature/domain_surfaces.md +0 -28
- package/sdd/03_build/01_feature/service/README.md +0 -3
- package/sdd/03_build/01_feature/service/admin_surface.md +0 -15
- package/sdd/03_build/01_feature/service/landing_surface.md +0 -13
- package/sdd/03_build/01_feature/service/mobile_surface.md +0 -14
- package/sdd/03_build/01_feature/service/web_surface.md +0 -14
- package/sdd/03_build/02_screen/README.md +0 -25
- package/sdd/03_build/02_screen/_screen_build_template.md +0 -26
- package/sdd/03_build/02_screen/admin/README.md +0 -5
- package/sdd/03_build/02_screen/landing/README.md +0 -5
- package/sdd/03_build/02_screen/mobile/README.md +0 -5
- package/sdd/03_build/02_screen/web/README.md +0 -5
- package/sdd/03_build/03_architecture/README.md +0 -10
- package/sdd/03_build/03_architecture/architecture_document_governance.md +0 -30
- package/sdd/03_build/03_architecture/build_ast_runtime_tree_governance.md +0 -24
- package/sdd/03_build/03_architecture/repository_governance.md +0 -18
- package/sdd/03_build/03_architecture/toolchain_governance.md +0 -36
- package/sdd/03_build/06_iac/README.md +0 -3
- package/sdd/03_build/06_iac/dev_runtime_delivery.md +0 -10
- package/sdd/03_build/06_iac/template_runtime_delivery.md +0 -49
- package/sdd/03_build/07_integration/README.md +0 -3
- package/sdd/03_build/07_integration/frontend_live_integration.md +0 -11
- package/sdd/03_build/08_nonfunctional/README.md +0 -3
- package/sdd/03_build/08_nonfunctional/repository_hygiene.md +0 -10
- package/sdd/03_build/10_test/README.md +0 -9
- package/sdd/03_build/10_test/regression_verification.md +0 -16
- package/sdd/03_build/10_test/verification_harness.md +0 -11
- package/sdd/03_build/README.md +0 -35
- package/sdd/03_verify/01_feature/README.md +0 -5
- package/sdd/03_verify/01_feature/domain_verification.md +0 -14
- package/sdd/03_verify/01_feature/service_verification.md +0 -22
- package/sdd/03_verify/02_screen/README.md +0 -6
- package/sdd/03_verify/02_screen/_screen_verify_template.md +0 -20
- package/sdd/03_verify/02_screen/admin/README.md +0 -4
- package/sdd/03_verify/02_screen/landing/README.md +0 -4
- package/sdd/03_verify/02_screen/mobile/README.md +0 -4
- package/sdd/03_verify/02_screen/web/README.md +0 -4
- package/sdd/03_verify/03_architecture/README.md +0 -10
- package/sdd/03_verify/03_architecture/architecture_document_governance.md +0 -15
- package/sdd/03_verify/03_architecture/build_ast_runtime_tree_governance.md +0 -28
- package/sdd/03_verify/03_architecture/repository_governance.md +0 -16
- package/sdd/03_verify/03_architecture/toolchain_governance.md +0 -58
- package/sdd/03_verify/06_iac/README.md +0 -3
- package/sdd/03_verify/06_iac/dev_runtime_delivery.md +0 -10
- package/sdd/03_verify/06_iac/template_runtime_delivery.md +0 -42
- package/sdd/03_verify/07_integration/README.md +0 -3
- package/sdd/03_verify/07_integration/frontend_live_integration.md +0 -16
- package/sdd/03_verify/08_nonfunctional/README.md +0 -3
- package/sdd/03_verify/08_nonfunctional/repository_hygiene.md +0 -14
- package/sdd/03_verify/10_test/README.md +0 -9
- package/sdd/03_verify/10_test/regression_verification.md +0 -16
- package/sdd/03_verify/10_test/ui_parity/README.md +0 -4
- package/sdd/03_verify/10_test/ui_parity/loop_runs/.gitkeep +0 -0
- package/sdd/03_verify/10_test/ui_parity/reference/.gitkeep +0 -0
- package/sdd/03_verify/10_test/ui_parity/staged_runs/.gitkeep +0 -0
- package/sdd/03_verify/10_test/verification_harness.md +0 -17
- package/sdd/03_verify/README.md +0 -22
- package/sdd/05_operate/01_runbooks/.gitkeep +0 -1
- package/sdd/05_operate/01_runbooks/README.md +0 -4
- package/sdd/05_operate/02_delivery_status/README.md +0 -4
- package/sdd/05_operate/02_delivery_status/service_status.md +0 -16
- package/sdd/05_operate/README.md +0 -12
- package/sdd/99_toolchain/01_automation/.gitkeep +0 -1
- package/sdd/99_toolchain/01_automation/README.md +0 -76
- package/sdd/99_toolchain/01_automation/agentic-dev/analyze_proof_results.py +0 -132
- package/sdd/99_toolchain/01_automation/agentic-dev/analyze_route_gap.py +0 -85
- package/sdd/99_toolchain/01_automation/agentic-dev/assets/repo-contract.template.json +0 -75
- package/sdd/99_toolchain/01_automation/agentic-dev/bootstrap_frontend_parity.sh +0 -84
- package/sdd/99_toolchain/01_automation/agentic-dev/init_frontend_parity.sh +0 -33
- package/sdd/99_toolchain/01_automation/agentic-dev/init_repo_contract.sh +0 -51
- package/sdd/99_toolchain/01_automation/agentic-dev/repo-contract.json +0 -76
- package/sdd/99_toolchain/01_automation/agentic-dev/resolve_frontend_target.py +0 -52
- package/sdd/99_toolchain/01_automation/agentic-dev/resolve_repo_contract.py +0 -56
- package/sdd/99_toolchain/01_automation/agentic-dev/run_frontend_target.sh +0 -100
- package/sdd/99_toolchain/01_automation/agentic-dev/run_repo_phase.sh +0 -140
- package/sdd/99_toolchain/01_automation/agentic-dev/validate_json_schema.py +0 -39
- package/sdd/99_toolchain/01_automation/agentic-parity-harness-design.md +0 -291
- package/sdd/99_toolchain/01_automation/assets/admin_screen_capture/dashboard.png +0 -0
- package/sdd/99_toolchain/01_automation/assets/admin_screen_capture/login.png +0 -0
- package/sdd/99_toolchain/01_automation/assets/admin_screen_capture/queue.png +0 -0
- package/sdd/99_toolchain/01_automation/assets/admin_screen_capture/support.png +0 -0
- package/sdd/99_toolchain/01_automation/assets/landing_screen_capture/home.png +0 -0
- package/sdd/99_toolchain/01_automation/assets/landing_screen_capture/login.png +0 -0
- package/sdd/99_toolchain/01_automation/assets/landing_screen_capture/workspace.png +0 -0
- package/sdd/99_toolchain/01_automation/assets/mobile_screen_capture/dashboard.png +0 -0
- package/sdd/99_toolchain/01_automation/assets/mobile_screen_capture/fulfillment.png +0 -0
- package/sdd/99_toolchain/01_automation/assets/mobile_screen_capture/login.png +0 -0
- package/sdd/99_toolchain/01_automation/assets/web_screen_capture/dashboard.png +0 -0
- package/sdd/99_toolchain/01_automation/assets/web_screen_capture/login.png +0 -0
- package/sdd/99_toolchain/01_automation/assets/web_screen_capture/orders.png +0 -0
- package/sdd/99_toolchain/01_automation/build_asset_recipes.py +0 -10
- package/sdd/99_toolchain/01_automation/build_screen_spec_pdf.py +0 -427
- package/sdd/99_toolchain/01_automation/capture_screen_assets.mjs +0 -148
- package/sdd/99_toolchain/01_automation/harness-layout.md +0 -34
- package/sdd/99_toolchain/01_automation/parity-execution-tooling-design.md +0 -319
- package/sdd/99_toolchain/01_automation/playwright_exactness_manifest.py +0 -21
- package/sdd/99_toolchain/01_automation/run_playwright_exactness.py +0 -87
- package/sdd/99_toolchain/01_automation/screen_spec_manifest.py +0 -321
- package/sdd/99_toolchain/01_automation/spec_asset_builder.py +0 -274
- package/sdd/99_toolchain/01_automation/ui-contract-projection.md +0 -79
- package/sdd/99_toolchain/01_automation/ui-parity/README.md +0 -60
- package/sdd/99_toolchain/01_automation/ui-parity/cli/extract-reference-pages.mjs +0 -2
- package/sdd/99_toolchain/01_automation/ui-parity/cli/materialize-reference-assets.mjs +0 -58
- package/sdd/99_toolchain/01_automation/ui-parity/cli/normalize-reference-assets.mjs +0 -2
- package/sdd/99_toolchain/01_automation/ui-parity/cli/route-gap-report.mjs +0 -187
- package/sdd/99_toolchain/01_automation/ui-parity/cli/run-proof.mjs +0 -50
- package/sdd/99_toolchain/01_automation/ui-parity/cli/scaffold-contract.mjs +0 -62
- package/sdd/99_toolchain/01_automation/ui-parity/cli/upload-parity1.mjs +0 -2
- package/sdd/99_toolchain/01_automation/ui-parity/contracts/collector-metadata.schema.json +0 -33
- package/sdd/99_toolchain/01_automation/ui-parity/contracts/proof-result.schema.json +0 -76
- package/sdd/99_toolchain/01_automation/ui-parity/contracts/route-gap-report.schema.json +0 -95
- package/sdd/99_toolchain/01_automation/ui-parity/core/capture-runner.mjs +0 -55
- package/sdd/99_toolchain/01_automation/ui-parity/core/load-adapter.mjs +0 -25
- package/sdd/99_toolchain/01_automation/ui-parity/core/load-contract.mjs +0 -81
- package/sdd/99_toolchain/01_automation/ui-parity/core/paths.mjs +0 -23
- package/sdd/99_toolchain/01_automation/ui-parity/core/proof-runner.mjs +0 -255
- package/sdd/99_toolchain/01_automation/ui-parity/interfaces/ui-parity-artifact-layout.md +0 -23
- package/sdd/99_toolchain/01_automation/ui-parity/interfaces/ui-parity-proof-interface.md +0 -60
- package/sdd/99_toolchain/01_automation/ui-parity/interfaces/ui-parity-route-gap-interface.md +0 -82
- package/sdd/99_toolchain/01_automation/ui-parity/runtime/playwright-runtime.mjs +0 -16
- package/sdd/99_toolchain/01_automation/ui-parity/runtime/static-runtime.mjs +0 -6
- package/sdd/99_toolchain/02_policies/.gitkeep +0 -1
- package/sdd/99_toolchain/02_policies/build-ast-governance-policy.md +0 -22
- package/sdd/99_toolchain/02_policies/compose-runtime-baseline-policy.md +0 -24
- package/sdd/99_toolchain/02_policies/convention-storage-policy.md +0 -26
- package/sdd/99_toolchain/02_policies/main-push-before-dev-deploy-policy.md +0 -27
- package/sdd/99_toolchain/02_policies/regression-verification-policy.md +0 -22
- package/sdd/99_toolchain/03_templates/.gitkeep +0 -1
- package/sdd/99_toolchain/03_templates/asset_recipe_manifest.example.py +0 -38
- package/sdd/99_toolchain/03_templates/generated_assets/README.md +0 -11
- package/sdd/99_toolchain/03_templates/generated_assets/example-brand-lockup.svg +0 -3
- package/sdd/99_toolchain/03_templates/generated_assets/example-brand-mark.svg +0 -3
- package/sdd/99_toolchain/03_templates/generated_assets/example-brand-wordmark.svg +0 -3
- package/sdd/99_toolchain/03_templates/playwright_exactness_manifest.example.py +0 -21
- package/sdd/99_toolchain/README.md +0 -23
- package/sdd/README.md +0 -21
package/SDD_SKILL.md
DELETED
|
@@ -1,589 +0,0 @@
|
|
|
1
|
-
# SDD Skill
|
|
2
|
-
|
|
3
|
-
이 문서는 프로젝트 루트에서 `sdd` 스킬을 빠르게 이해하기 위한 안내서다. 목적은 "한 줄 요약"이 아니라, 이 스킬이 강제하는 개발 방식, `sdd/` 폴더 구조, 각 단계에서 무엇을 남겨야 하는지까지 한 번에 설명하는 것이다.
|
|
4
|
-
|
|
5
|
-
정본은 아래 문서다.
|
|
6
|
-
|
|
7
|
-
- Codex canonical skill: `.codex/skills/sdd/SKILL.md`
|
|
8
|
-
- Codex section map: `.codex/skills/sdd/references/section-map.md`
|
|
9
|
-
- Claude canonical workflow: `.claude/skills/sdd-dev/SKILL.md`
|
|
10
|
-
- Claude alias: `.claude/skills/sdd/SKILL.md`
|
|
11
|
-
- Claude alias: `.claude/skills/sdd-development/SKILL.md`
|
|
12
|
-
|
|
13
|
-
## 한 줄 정의
|
|
14
|
-
|
|
15
|
-
`sdd` 스킬은 "코드를 먼저 고치고 나중에 문서를 맞추는" 방식이 아니라, `sdd/`를 설계와 실행의 단일 delivery system으로 보고 planning -> plan -> build -> verify -> operate를 current-state artifact로 유지하게 만드는 개발 스킬이다.
|
|
16
|
-
|
|
17
|
-
## 왜 필요한가
|
|
18
|
-
|
|
19
|
-
일반적인 저장소에서는 요구사항, 설계, 작업 계획, 구현 결과, 검증 결과가 여러 위치에 흩어지기 쉽다. `sdd` 스킬은 이 문제를 막기 위해 다음을 강제한다.
|
|
20
|
-
|
|
21
|
-
- 요구사항과 설계는 `sdd/01_planning`에서 확인한다.
|
|
22
|
-
- 지금 당장 수행 중인 작업 계획은 `sdd/02_plan`에 적는다.
|
|
23
|
-
- 실제 구현 결과는 `sdd/03_build`에 남긴다.
|
|
24
|
-
- 검증 근거와 residual risk는 `sdd/03_verify`에 남긴다.
|
|
25
|
-
- 실제 배포와 운영 결과가 있었을 때만 `sdd/05_operate`를 갱신한다.
|
|
26
|
-
|
|
27
|
-
즉, 이 스킬의 핵심은 "코드 변경" 자체가 아니라 "코드 변경을 설명하고 검증 가능한 current-state trail"을 같이 만드는 것이다.
|
|
28
|
-
|
|
29
|
-
## 언제 쓰는가
|
|
30
|
-
|
|
31
|
-
다음 조건이면 기본적으로 `sdd` 스킬 대상이다.
|
|
32
|
-
|
|
33
|
-
- 저장소가 `sdd/01_planning`, `02_plan`, `03_build`, `03_verify`, `05_operate` 구조를 사용한다.
|
|
34
|
-
- 사용자가 구현, 수정, 리팩토링, 테스트, 배포, 화면 작업처럼 실제 개발 지시를 한다.
|
|
35
|
-
- 결과물이 코드 변경만으로 끝나면 안 되고, durable plan/build/verify 기록이 남아야 한다.
|
|
36
|
-
|
|
37
|
-
반대로 다음 경우에는 보통 `sdd` 스킬 대상이 아니다.
|
|
38
|
-
|
|
39
|
-
- 단순 질의응답만 있는 경우
|
|
40
|
-
- 일회성 로컬 디버깅처럼 durable artifact가 필요 없는 경우
|
|
41
|
-
- 저장소가 `sdd/`를 canonical 문서 시스템으로 쓰지 않는 경우
|
|
42
|
-
|
|
43
|
-
## 어떤 요청이 `sdd` 스킬을 트리거하는가
|
|
44
|
-
|
|
45
|
-
실제 운용에서는 아래 같은 요청이 `sdd` 스킬 트리거로 해석된다.
|
|
46
|
-
|
|
47
|
-
- 개발해
|
|
48
|
-
- 작업해
|
|
49
|
-
- 구현해
|
|
50
|
-
- 수정해
|
|
51
|
-
- 고쳐
|
|
52
|
-
- 리팩토링해
|
|
53
|
-
- 테스트해
|
|
54
|
-
- 배포해
|
|
55
|
-
- 화면명세서
|
|
56
|
-
- 화면설계서
|
|
57
|
-
- 화면 설계
|
|
58
|
-
- 화면
|
|
59
|
-
- 화면 스펙
|
|
60
|
-
- UI
|
|
61
|
-
- 디자인
|
|
62
|
-
- 디자인 가이드
|
|
63
|
-
- screen spec
|
|
64
|
-
- screen design
|
|
65
|
-
|
|
66
|
-
즉 "코드를 바꾸고 그 결과를 durable artifact로 남겨야 하는 개발 요청"이면 기본적으로 `sdd` 스킬 영역이라고 보면 된다.
|
|
67
|
-
|
|
68
|
-
## `sdd` 스킬이 아닌 경우를 더 구체적으로 말하면
|
|
69
|
-
|
|
70
|
-
아래는 `sdd` 스킬을 굳이 쓰지 않는 쪽에 가깝다.
|
|
71
|
-
|
|
72
|
-
- 단순 설명 요청
|
|
73
|
-
- 레포를 변경하지 않는 리뷰성 질의
|
|
74
|
-
- 임시 로컬 조사
|
|
75
|
-
- 결과를 `sdd/`에 남길 필요가 없는 실험
|
|
76
|
-
|
|
77
|
-
다만 이 구분은 "코드를 몇 줄 바꾸느냐"가 아니라 "current-state delivery trail이 필요한가"로 판단한다.
|
|
78
|
-
|
|
79
|
-
## 이 스킬이 보는 정본과 우선순위
|
|
80
|
-
|
|
81
|
-
`sdd` 스킬은 아무 문서나 동등하게 보지 않는다. 우선순위가 있다.
|
|
82
|
-
|
|
83
|
-
1. 저장소 정책과 실행 규칙
|
|
84
|
-
- `AGENTS.md`
|
|
85
|
-
- `sdd/99_toolchain/02_policies/`
|
|
86
|
-
2. skill 원문
|
|
87
|
-
- `.codex/skills/sdd/SKILL.md`
|
|
88
|
-
- `.claude/skills/sdd-dev/SKILL.md`
|
|
89
|
-
3. section map과 automation inventory
|
|
90
|
-
- `.codex/skills/sdd/references/section-map.md`
|
|
91
|
-
- `sdd/99_toolchain/01_automation/README.md`
|
|
92
|
-
4. 실제 작업별 planning / plan / verify baseline
|
|
93
|
-
- `sdd/01_planning/...`
|
|
94
|
-
- `sdd/02_plan/...`
|
|
95
|
-
- `sdd/02_plan/10_test/...`
|
|
96
|
-
|
|
97
|
-
루트 `SDD_SKILL.md`는 설명서다. 실제 강제 규칙이 충돌하면 skill 원문과 policy가 우선이다.
|
|
98
|
-
|
|
99
|
-
## 이 스킬이 강제하는 전체 워크플로우
|
|
100
|
-
|
|
101
|
-
### 1. Planning 확인
|
|
102
|
-
|
|
103
|
-
작업 전 먼저 `sdd/01_planning`에서 현재 설계와 요구사항을 확인한다. 여기서 중요한 점은 "필요한 planning만 읽는다"는 것이다. 모든 planning을 다 읽는 게 아니라, 이번 변경이 feature인지, screen인지, architecture인지, data인지에 따라 필요한 부분만 확인한다.
|
|
104
|
-
|
|
105
|
-
이 단계의 목적은 다음과 같다.
|
|
106
|
-
|
|
107
|
-
- 현재 구현이 기존 설계와 충돌하는지 확인
|
|
108
|
-
- 이번 변경이 실제로 어느 문서 section에 속하는지 결정
|
|
109
|
-
- 구현 전에 drift를 먼저 드러내기
|
|
110
|
-
|
|
111
|
-
### 2. 실행 계획 수립
|
|
112
|
-
|
|
113
|
-
그 다음 `sdd/02_plan/<section>/`에 현재 작업 계획을 만든다. 이 문서는 작업이 끝난 뒤 쓰는 회고가 아니라, 작업 전에 정렬하기 위한 실행 문서다.
|
|
114
|
-
|
|
115
|
-
일반적으로 plan에는 아래가 들어간다.
|
|
116
|
-
|
|
117
|
-
- scope: 이번 작업 범위
|
|
118
|
-
- assumptions: 현재 가정
|
|
119
|
-
- acceptance criteria: 완료 판단 기준
|
|
120
|
-
- execution checklist: 실제 실행 순서
|
|
121
|
-
- current notes: 진행 중 판단과 변경점
|
|
122
|
-
- validation: 어떤 근거로 끝났다고 볼지
|
|
123
|
-
|
|
124
|
-
좋은 `sdd` plan은 "무엇을 바꿀지"보다 "무엇을 확인해야 끝나는지"가 분명하다.
|
|
125
|
-
같은 turn에서 작업을 완료할 계획이면 checklist나 acceptance criteria에 `정합성 체크 -> main 반영 -> work branch 삭제` 단계도 분리해서 둔다.
|
|
126
|
-
|
|
127
|
-
### 3. 계획 기준 구현
|
|
128
|
-
|
|
129
|
-
코드 작업은 plan과 planning artifact가 충분히 맞춰진 뒤 시작한다. 이 단계에서 스킬은 단순 구현만 요구하지 않는다. 필요하면 asset builder, design guide builder, regression baseline, schema 검증 기준 같은 toolchain도 함께 사용하도록 강제한다.
|
|
130
|
-
|
|
131
|
-
즉 구현 단계의 핵심은 다음이다.
|
|
132
|
-
|
|
133
|
-
- 코드만 바꾸지 않는다.
|
|
134
|
-
- 변경에 필요한 generator, builder, contract, schema 관점도 같이 본다.
|
|
135
|
-
- shared surface 영향이 있으면 처음부터 회귀 범위를 넓혀 잡는다.
|
|
136
|
-
- 완료된 작업은 work branch 위에만 남겨두지 않는다. 관련 정합성 체크가 끝나면 `main`에 반영하고 branch를 retire한다.
|
|
137
|
-
|
|
138
|
-
### 4. Build 기록
|
|
139
|
-
|
|
140
|
-
구현이 끝나면 `sdd/03_build`에 "무엇을 만들었는지"를 current-state로 남긴다. 이 문서는 작업 로그가 아니라 현재 구현 상태 설명이다.
|
|
141
|
-
|
|
142
|
-
여기에는 보통 다음이 들어간다.
|
|
143
|
-
|
|
144
|
-
- 실제 반영된 범위
|
|
145
|
-
- 변경된 runtime surface
|
|
146
|
-
- 사용한 asset / builder / contract
|
|
147
|
-
- 구현 후 현재 동작 방식
|
|
148
|
-
|
|
149
|
-
즉 `03_build`는 "우리가 무엇을 했는가"보다 "지금 시스템이 어떤 상태인가"를 설명해야 한다.
|
|
150
|
-
|
|
151
|
-
### 5. Verify 기록
|
|
152
|
-
|
|
153
|
-
`sdd/03_verify`는 단순히 "테스트 통과"를 적는 곳이 아니다. 어떤 검증을 했는지, 어떤 범위를 확인했는지, 무엇이 아직 residual risk인지 명확하게 남겨야 한다.
|
|
154
|
-
|
|
155
|
-
중요한 검증 규칙은 다음과 같다.
|
|
156
|
-
|
|
157
|
-
- edited target만 확인하고 끝내지 않는다.
|
|
158
|
-
- direct, upstream, downstream, shared surface를 선택해서 회귀 범위를 잡는다.
|
|
159
|
-
- 자동화가 없으면 manual/command 검증이라도 current-state로 남긴다.
|
|
160
|
-
- persistence 영향이 있으면 실제 schema 상태도 확인 대상으로 본다.
|
|
161
|
-
|
|
162
|
-
### 6. Operate 기록
|
|
163
|
-
|
|
164
|
-
`sdd/05_operate`는 모든 작업에서 항상 쓰는 폴더가 아니다. 실제 배포나 운영 후속이 범위에 있을 때만 갱신한다.
|
|
165
|
-
|
|
166
|
-
이 단계의 핵심은 다음이다.
|
|
167
|
-
|
|
168
|
-
- 배포가 없었는데 운영 문서를 허위로 채우지 않는다.
|
|
169
|
-
- DEV/PROD rollout이 실제 범위면 deploy 결과와 운영 baseline을 남긴다.
|
|
170
|
-
- rollback이 있었다면 trigger와 결과를 같이 남긴다.
|
|
171
|
-
|
|
172
|
-
## 문서 거버넌스와 산출물 원칙
|
|
173
|
-
|
|
174
|
-
`sdd` 스킬은 단순히 "폴더를 나눠 쓴다"가 아니라, 문서의 성격 자체를 강하게 규정한다.
|
|
175
|
-
|
|
176
|
-
- `sdd/`는 history archive가 아니라 current-state artifact tree다.
|
|
177
|
-
- 같은 주제 문서는 누적 로그보다 현재 상태를 덮어쓰며 유지한다.
|
|
178
|
-
- 날짜별 메모를 계속 쌓는 방식은 기본 원칙이 아니다.
|
|
179
|
-
- plan/build/verify/operate는 채팅 로그가 아니라 레포 안 문서로 남아야 한다.
|
|
180
|
-
- `sdd/`가 있으면 병렬 `docs/` 트리를 만들지 않는다.
|
|
181
|
-
|
|
182
|
-
즉 문서는 "과거 기록 저장소"보다 "지금 시스템 상태의 정본"으로 유지해야 한다.
|
|
183
|
-
|
|
184
|
-
## Branch Retirement 규칙
|
|
185
|
-
|
|
186
|
-
`agentic-dev`에서 work branch는 임시 통합 공간이지 완료 상태의 보관 위치가 아니다.
|
|
187
|
-
|
|
188
|
-
1. task-fit work branch에서 구현하고 origin branch까지 push한다.
|
|
189
|
-
2. 관련 build/test/verify 정합성 체크를 최종 상태 기준으로 다시 실행한다.
|
|
190
|
-
3. 최종 변경을 `main`과 `origin/main`에 반영한다.
|
|
191
|
-
4. `main`이 DEV 배포 baseline이면 그 커밋 기준으로 `DEV(개발계)` 반영과 검증을 수행한다.
|
|
192
|
-
5. local work branch와 remote work branch를 삭제한다. 사용자가 유지하라고 명시한 경우만 예외다.
|
|
193
|
-
|
|
194
|
-
최소 정합성 체크는 다음 세 가지다.
|
|
195
|
-
|
|
196
|
-
- 관련 canonical 검증 명령이 최신 변경 기준으로 다시 통과했는가
|
|
197
|
-
- branch/worktree가 commit 가능한 상태로 정리됐는가
|
|
198
|
-
- 전달하려는 최종 변경이 실제로 `main`에 포함됐는가
|
|
199
|
-
|
|
200
|
-
## 각 artifact에서 반드시 분리해야 하는 것
|
|
201
|
-
|
|
202
|
-
`sdd` 스킬은 planning, plan, build, verify, operate를 서로 다른 역할로 본다.
|
|
203
|
-
|
|
204
|
-
- planning: 원래 요구사항과 설계
|
|
205
|
-
- plan: 이번 작업의 실행 계획
|
|
206
|
-
- build: 실제 구현 결과와 현재 상태
|
|
207
|
-
- verify: 검증 근거와 residual risk
|
|
208
|
-
- operate: 실제 배포/운영 결과
|
|
209
|
-
|
|
210
|
-
이 구분이 흐려지면 흔히 이런 문제가 생긴다.
|
|
211
|
-
|
|
212
|
-
- planning 문서에 구현 로그가 섞임
|
|
213
|
-
- build 문서에 테스트 통과 여부만 적음
|
|
214
|
-
- verify 문서에 실제 검증 근거 없이 pass만 적음
|
|
215
|
-
- operate 문서에 배포도 안 했는데 상태를 써버림
|
|
216
|
-
|
|
217
|
-
`sdd` 스킬은 이 섞임을 막으려는 구조다.
|
|
218
|
-
|
|
219
|
-
## `sdd/` 폴더 구조 설명
|
|
220
|
-
|
|
221
|
-
`sdd/`는 날짜별 히스토리를 쌓는 공간이 아니라 current-state delivery tree다. 즉, 같은 주제의 문서를 계속 덮어쓰며 최신 상태를 유지하는 구조다.
|
|
222
|
-
|
|
223
|
-
### `sdd/01_planning`
|
|
224
|
-
|
|
225
|
-
설계와 요구사항의 원천 문서를 둔다. 구현 전에 먼저 보는 영역이다.
|
|
226
|
-
|
|
227
|
-
- `01_feature`: domain 또는 service 수준 기능 정의
|
|
228
|
-
- `02_screen`: 화면 명세, PDF, screen asset planning
|
|
229
|
-
- `03_architecture`: runtime 구조, 경계, governance
|
|
230
|
-
- `04_data`: 데이터 모델과 관계
|
|
231
|
-
- `05_api`: API 계약
|
|
232
|
-
- `06_iac`: 인프라/배포 설계
|
|
233
|
-
- `07_integration`: 외부 연동 정의
|
|
234
|
-
- `08_nonfunctional`: 성능, 안정성, 운영 제약
|
|
235
|
-
- `09_security`: 보안 posture와 control planning
|
|
236
|
-
- `10_test`: 테스트 전략
|
|
237
|
-
|
|
238
|
-
이 폴더의 역할은 "해야 할 일의 원형"을 보여주는 것이다.
|
|
239
|
-
|
|
240
|
-
### `sdd/02_plan`
|
|
241
|
-
|
|
242
|
-
현재 실행 중인 개발 계획을 둔다. 이 스킬에서 가장 중요한 작업 문서 영역이다.
|
|
243
|
-
|
|
244
|
-
- feature 작업이면 보통 `01_feature/<domain>_todos.md`
|
|
245
|
-
- screen 작업이면 보통 `02_screen/<service>_todos.md`
|
|
246
|
-
- cross-cutting work면 architecture, test, iac 같은 section 문서를 사용
|
|
247
|
-
|
|
248
|
-
이 폴더의 역할은 "이번 작업을 어떻게 끝낼 것인가"를 설명하는 것이다.
|
|
249
|
-
|
|
250
|
-
### `sdd/03_build`
|
|
251
|
-
|
|
252
|
-
구현 결과와 현재 반영 상태를 요약한다.
|
|
253
|
-
|
|
254
|
-
- `01_feature`: 기능 구현 결과
|
|
255
|
-
- `02_screen`: 화면 구현 결과
|
|
256
|
-
- `03_architecture`: 구조/거버넌스 반영 결과
|
|
257
|
-
- `06_iac`: 배포/런타임 구성 결과
|
|
258
|
-
- `10_test`: harness, verification tooling 상태
|
|
259
|
-
|
|
260
|
-
이 폴더의 역할은 "지금 구현이 어떤 상태인가"를 설명하는 것이다.
|
|
261
|
-
|
|
262
|
-
### `sdd/03_verify`
|
|
263
|
-
|
|
264
|
-
검증 근거와 residual risk를 current-state로 남긴다.
|
|
265
|
-
|
|
266
|
-
- `01_feature`: 기능 검증
|
|
267
|
-
- `02_screen`: 화면 검증
|
|
268
|
-
- `03_architecture`: 구조/거버넌스 검증
|
|
269
|
-
- `06_iac`: delivery/runtime 검증
|
|
270
|
-
- `10_test`: harness 결과, retained validation reference
|
|
271
|
-
|
|
272
|
-
이 폴더의 역할은 "무엇을 어떻게 확인했는가"를 설명하는 것이다.
|
|
273
|
-
|
|
274
|
-
### `sdd/05_operate`
|
|
275
|
-
|
|
276
|
-
실제 운영/배포 결과가 있을 때만 사용한다.
|
|
277
|
-
|
|
278
|
-
- `01_runbooks`: 운영 절차
|
|
279
|
-
- `02_delivery_status`: 현재 배포 상태, live baseline, monitoring, residual risk
|
|
280
|
-
|
|
281
|
-
이 폴더의 역할은 "실제 배포 후 현재 운영 상태가 무엇인가"를 설명하는 것이다.
|
|
282
|
-
|
|
283
|
-
### `sdd/99_toolchain`
|
|
284
|
-
|
|
285
|
-
`sdd` 워크플로우를 지탱하는 automation, policy, template를 둔다.
|
|
286
|
-
|
|
287
|
-
- `01_automation`: builder, capture, harness, manifest
|
|
288
|
-
- `02_policies`: toolchain 규칙 정본
|
|
289
|
-
- `03_templates`: reusable template asset
|
|
290
|
-
|
|
291
|
-
이 폴더의 역할은 "문서와 구현을 연결하는 실행 도구와 규칙"을 제공하는 것이다.
|
|
292
|
-
|
|
293
|
-
## section map을 실제 작업에 연결하는 법
|
|
294
|
-
|
|
295
|
-
section map은 단순 참고표가 아니라 "이번 작업이 어디에 기록돼야 하는가"를 결정하는 기준이다.
|
|
296
|
-
|
|
297
|
-
예를 들면 다음과 같다.
|
|
298
|
-
|
|
299
|
-
- 기능 요구사항이 바뀌면 `01_planning/01_feature`와 `02_plan/01_feature`를 본다.
|
|
300
|
-
- 화면 정렬이 핵심이면 `01_planning/02_screen`, `02_plan/02_screen`, `03_build/02_screen`, `03_verify/02_screen` 축으로 간다.
|
|
301
|
-
- shared governance나 skill rule 정리는 `03_architecture` 축으로 간다.
|
|
302
|
-
- schema/API/integration 변화가 크면 data/api/integration planning과 verify를 함께 본다.
|
|
303
|
-
- rollout이 실제 범위면 `05_operate`까지 completion trail에 들어온다.
|
|
304
|
-
|
|
305
|
-
즉 section map은 문서 저장 위치 안내가 아니라, 어떤 검토와 어떤 증거가 필요한지까지 결정하는 라우팅 규칙이다.
|
|
306
|
-
|
|
307
|
-
## Toolchain을 어떻게 봐야 하는가
|
|
308
|
-
|
|
309
|
-
`sdd` 스킬에서 toolchain은 부가 기능이 아니다. planning 문서와 실제 구현을 연결하는 실행 계층이다. 즉, 사람이 문서를 읽고 손으로 해석만 하는 것이 아니라, 가능한 부분은 builder, harness, manifest, capture tool로 구조화해서 drift를 줄이는 것이 목표다.
|
|
310
|
-
|
|
311
|
-
toolchain을 구성하는 주요 축은 다음과 같다.
|
|
312
|
-
|
|
313
|
-
- spec generator: screen spec PDF, manifest, reference asset을 만든다.
|
|
314
|
-
- asset builder: 화면명세 기반 정적 자산을 재사용 가능한 runtime asset으로 만든다.
|
|
315
|
-
- capture tooling: reference 화면이나 proof input을 수집한다.
|
|
316
|
-
- parity harness: 실제 구현과 reference를 비교하는 자동화 surface를 제공한다.
|
|
317
|
-
- policy: 어떤 tool을 언제 써야 하는지, 어떤 결과를 completion evidence로 볼지 정한다.
|
|
318
|
-
|
|
319
|
-
중요한 점은 toolchain이 planning을 대체하지는 않는다는 것이다. planning은 여전히 사람이 결정해야 하고, toolchain은 그 결정을 반복 가능하고 검증 가능한 형태로 만든다.
|
|
320
|
-
|
|
321
|
-
## Screen 작업에서 `sdd` 스킬이 특별히 더 엄격한 이유
|
|
322
|
-
|
|
323
|
-
screen 작업은 겉보기엔 CSS 수정처럼 보여도 실제로는 다음을 동시에 맞춰야 하기 때문이다.
|
|
324
|
-
|
|
325
|
-
- 명세와 시각 정렬
|
|
326
|
-
- route/shell/shared component 구조
|
|
327
|
-
- 화면 내 상태 변화
|
|
328
|
-
- navigation
|
|
329
|
-
- backend/API 연결
|
|
330
|
-
- regression surface
|
|
331
|
-
|
|
332
|
-
그래서 `sdd` 스킬은 screen 작업을 leaf component 편집으로 보지 않는다. 최소한 `app entry -> route -> shell -> section -> component -> leaf` 흐름을 실제 runtime tree로 확인해야 한다.
|
|
333
|
-
|
|
334
|
-
또한 screen 작업에서 "UI만 먼저"는 기본 완료 조건이 아니다. 기능이 있는 화면이면 functional alignment까지 같이 맞아야 한다.
|
|
335
|
-
|
|
336
|
-
## Visual Fidelity를 맞추는 구조
|
|
337
|
-
|
|
338
|
-
`sdd`에서 visual fidelity는 "대충 비슷해 보인다"가 아니라, 화면명세와 실제 runtime tree가 얼마나 정렬되어 있는지를 관리하는 구조다. 이 구조는 보통 아래 순서로 맞춘다.
|
|
339
|
-
|
|
340
|
-
1. screen spec 또는 design source를 planning에서 확인한다.
|
|
341
|
-
2. 필요한 정적 자산이 있으면 `spec_asset_builder.py` 같은 canonical asset builder로 먼저 추출한다.
|
|
342
|
-
3. repo에 design guide builder가 있으면 spacing, typography, density, hierarchy 기준을 먼저 확보한다.
|
|
343
|
-
4. route -> shell -> section -> component -> leaf 순서의 실제 runtime tree를 확인한다.
|
|
344
|
-
5. parity harness나 proof check로 reference와 구현을 비교한다.
|
|
345
|
-
6. 차이가 남으면 build/verify 문서에 mismatch와 residual risk를 남긴다.
|
|
346
|
-
|
|
347
|
-
즉 visual fidelity는 CSS만 맞추는 문제가 아니라 다음 네 층을 함께 맞추는 문제다.
|
|
348
|
-
|
|
349
|
-
- reference source: 명세 PDF, 캡처 자산, design source
|
|
350
|
-
- generated design artifacts: asset builder, design guide builder output
|
|
351
|
-
- runtime composition: route, shell, shared component, leaf control
|
|
352
|
-
- verification evidence: proof, parity, screenshot, semantic extraction
|
|
353
|
-
|
|
354
|
-
## Exactness를 맞추는 구조
|
|
355
|
-
|
|
356
|
-
`sdd`에서 exactness는 "검수자가 보기엔 비슷함"이 아니라, 가능한 경우 reference와 generated/runtime output 사이 차이를 최대한 줄이고 그 근거를 retained artifact로 남기는 것이다.
|
|
357
|
-
|
|
358
|
-
exactness는 보통 아래처럼 계층적으로 판단한다.
|
|
359
|
-
|
|
360
|
-
- asset exactness: source crop과 generated asset이 같은지
|
|
361
|
-
- layout exactness: spacing, alignment, density, hierarchy가 guide와 맞는지
|
|
362
|
-
- content exactness: copy, label, state text, navigation text가 spec과 맞는지
|
|
363
|
-
- route exactness: 실제 렌더 경로가 의도한 route/shell tree와 맞는지
|
|
364
|
-
- proof exactness: parity harness가 reference 대비 허용 가능한 차이 안에 있는지
|
|
365
|
-
|
|
366
|
-
이때 exactness를 만드는 구조는 다음과 같다.
|
|
367
|
-
|
|
368
|
-
- builder exactness: `--verify-exact` 같은 옵션으로 generated asset이 source와 동일한지 확인
|
|
369
|
-
- harness exactness: parity/proof harness로 구현 결과를 reference와 비교
|
|
370
|
-
- runtime-tree exactness: edited leaf만 보지 않고 top-down tree 전체를 확인
|
|
371
|
-
- retained evidence exactness: "맞췄다"는 말이 아니라 어떤 기준과 어떤 output으로 확인했는지 남김
|
|
372
|
-
|
|
373
|
-
즉 exactness는 subjective approval이 아니라, source -> generated artifact -> runtime -> proof까지 이어지는 체인으로 관리한다.
|
|
374
|
-
|
|
375
|
-
## 기능 정합성을 맞추는 구조
|
|
376
|
-
|
|
377
|
-
`sdd`에서 기능 정합성은 UI가 보이는 모습만 맞는 것으로 끝나지 않는다. 화면이 spec과 비슷해도 실제 동작, API 계약, persistence, session, downstream effect가 다르면 완료로 보지 않는다.
|
|
378
|
-
|
|
379
|
-
기능 정합성을 맞추는 구조는 보통 다음과 같다.
|
|
380
|
-
|
|
381
|
-
1. planning에서 feature requirement, screen behavior, API contract를 확인한다.
|
|
382
|
-
2. `sdd/02_plan` acceptance criteria에 상태 변화, navigation, mutation, error handling, auth/session, persistence 조건을 명시한다.
|
|
383
|
-
3. 구현 시 mock/local shadow behavior로 얼버무리지 않고 실제 backend/API contract와 연결한다.
|
|
384
|
-
4. persistence 영향이 있으면 deployed schema 상태까지 확인한다.
|
|
385
|
-
5. verify에서 direct target뿐 아니라 upstream/downstream/shared surface까지 검수한다.
|
|
386
|
-
|
|
387
|
-
이 구조의 핵심 계약면은 다음과 같다.
|
|
388
|
-
|
|
389
|
-
- UI contract: 어떤 화면 구조와 상호작용을 보여야 하는가
|
|
390
|
-
- navigation contract: 어떤 상태 변화와 이동이 일어나야 하는가
|
|
391
|
-
- API contract: 어떤 request/response shape를 가져야 하는가
|
|
392
|
-
- data contract: 어떤 schema, column, constraint, default를 전제로 동작하는가
|
|
393
|
-
- integration contract: 외부 연동과 shared consumer가 어떤 결과를 기대하는가
|
|
394
|
-
|
|
395
|
-
즉 functional alignment는 "화면이 동작해 보임"이 아니라 "요구사항, 계약, 스키마, downstream effect가 서로 맞물림"을 의미한다.
|
|
396
|
-
|
|
397
|
-
## Schema parity와 persistence 작업은 왜 별도 축인가
|
|
398
|
-
|
|
399
|
-
`sdd` 스킬은 persistence 영향 작업을 일반 코드 수정과 다르게 본다. 이유는 코드상 모델이나 migration 파일이 맞아 보여도, 실제 배포된 DEV/PROD schema가 다를 수 있기 때문이다.
|
|
400
|
-
|
|
401
|
-
따라서 아래 작업은 schema parity 확인 대상이다.
|
|
402
|
-
|
|
403
|
-
- model 변경
|
|
404
|
-
- migration 추가/수정
|
|
405
|
-
- repository / ORM mapping 수정
|
|
406
|
-
- SQL 변경
|
|
407
|
-
- runtime failure가 schema drift와 연관될 수 있는 경우
|
|
408
|
-
|
|
409
|
-
이때 필요한 검증은 보통 다음이다.
|
|
410
|
-
|
|
411
|
-
- migration state 확인
|
|
412
|
-
- 실제 table/column/index/constraint/trigger/default 확인
|
|
413
|
-
- DEV/PROD 간 drift 여부 기록
|
|
414
|
-
- 남은 위험이 있으면 verify에 residual risk로 기록
|
|
415
|
-
|
|
416
|
-
즉 schema parity는 선택적 추가 검증이 아니라, persistence 영향 작업의 completion 조건 일부다.
|
|
417
|
-
|
|
418
|
-
## Regression verification은 왜 별도 구조를 갖는가
|
|
419
|
-
|
|
420
|
-
이 스킬은 "edited file만 확인하고 끝내는" 검수를 명시적으로 금지한다. 그래서 regression verification은 별도 baseline 문서와 current-state trail을 가진다.
|
|
421
|
-
|
|
422
|
-
핵심 개념은 네 가지다.
|
|
423
|
-
|
|
424
|
-
- direct: 직접 수정한 표면
|
|
425
|
-
- upstream: 이 변경의 상위 흐름
|
|
426
|
-
- downstream: 이 변경의 소비자/후속 흐름
|
|
427
|
-
- shared: 공용 route, shell, auth/session, component, contract, generated asset, builder output
|
|
428
|
-
|
|
429
|
-
검증은 단순히 테스트 명령 하나가 아니라, 이 네 범주 중 무엇을 실제로 선택했는지 남기는 일이다. automation이 없으면 범위를 줄이는 게 아니라 manual/command 검증으로 메우고 residual risk를 남긴다.
|
|
430
|
-
|
|
431
|
-
즉 regression verification의 본질은 "무엇을 테스트했는가"보다 "무엇까지 확인해야 하는 change였는가"를 retained artifact로 명시하는 것이다.
|
|
432
|
-
|
|
433
|
-
## Build / Verify / Operate에 실제로 무엇을 적어야 하는가
|
|
434
|
-
|
|
435
|
-
### Build에는
|
|
436
|
-
|
|
437
|
-
- 구현 범위
|
|
438
|
-
- 변경된 runtime surface
|
|
439
|
-
- 사용한 builder / contract / asset
|
|
440
|
-
- 현재 사용자 관점 동작
|
|
441
|
-
|
|
442
|
-
### Verify에는
|
|
443
|
-
|
|
444
|
-
- 실행한 command 또는 retained check
|
|
445
|
-
- 검증한 regression surface
|
|
446
|
-
- proof / parity / schema / integration 근거
|
|
447
|
-
- residual risk
|
|
448
|
-
|
|
449
|
-
### Operate에는
|
|
450
|
-
|
|
451
|
-
- 실제 배포 여부
|
|
452
|
-
- 어떤 baseline이 live인지
|
|
453
|
-
- 어떤 검증으로 deploy를 통과시켰는지
|
|
454
|
-
- rollback 또는 follow-up 필요 여부
|
|
455
|
-
|
|
456
|
-
즉 build는 "상태 설명", verify는 "근거 설명", operate는 "실배포 상태 설명"이다.
|
|
457
|
-
|
|
458
|
-
## Rollout과 completion gate를 어떻게 해석해야 하는가
|
|
459
|
-
|
|
460
|
-
`sdd` 스킬은 rollout을 항상 강제하지 않는다. 하지만 rollout이 실제 범위에 들어오면 completion gate가 급격히 엄격해진다.
|
|
461
|
-
|
|
462
|
-
rollout이 범위일 때 보통 필요한 것은 다음이다.
|
|
463
|
-
|
|
464
|
-
- 최종 변경이 `main`에 있어야 함
|
|
465
|
-
- `origin/main` 또는 저장소 baseline에 push돼야 함
|
|
466
|
-
- DEV 배포 및 검증
|
|
467
|
-
- PROD가 범위면 PROD 배포 및 동일 검증
|
|
468
|
-
- 실패 시 rollback 또는 recovery 기록
|
|
469
|
-
- `sdd/05_operate` current-state 업데이트
|
|
470
|
-
|
|
471
|
-
즉 rollout이 범위가 아니면 operate는 비워둘 수 있지만, rollout이 범위가 되면 deploy evidence가 없으면 완료로 보기 어렵다.
|
|
472
|
-
|
|
473
|
-
## 완료 기준을 어떻게 봐야 하는가
|
|
474
|
-
|
|
475
|
-
이 스킬의 완료 기준은 "코드가 돌아간다"보다 강하다.
|
|
476
|
-
|
|
477
|
-
최소 완료 상태는 보통 다음과 같다.
|
|
478
|
-
|
|
479
|
-
- 관련 planning을 확인했음
|
|
480
|
-
- `sdd/02_plan`이 현재 작업 기준으로 갱신됨
|
|
481
|
-
- `sdd/03_build`가 구현 결과를 설명함
|
|
482
|
-
- `sdd/03_verify`가 검증 근거와 residual risk를 설명함
|
|
483
|
-
- rollout이 실제로 있었다면 `sdd/05_operate`도 갱신됨
|
|
484
|
-
|
|
485
|
-
추가로 아래 조건이 붙을 수 있다.
|
|
486
|
-
|
|
487
|
-
- screen 작업: visual fidelity + exactness + functional alignment 증거
|
|
488
|
-
- persistence 작업: schema parity evidence
|
|
489
|
-
- shared 영향 작업: widened regression evidence
|
|
490
|
-
- rollout 작업: DEV/PROD gate evidence
|
|
491
|
-
|
|
492
|
-
즉 완료 기준은 작업 종류에 따라 확장되며, `sdd` 스킬은 그 확장 조건을 문서로 남기게 만든다.
|
|
493
|
-
|
|
494
|
-
## Visual Fidelity, Exactness, 기능 정합성의 관계
|
|
495
|
-
|
|
496
|
-
세 개는 비슷해 보이지만 역할이 다르다.
|
|
497
|
-
|
|
498
|
-
- visual fidelity는 화면이 reference와 얼마나 시각적으로 정렬되는가의 문제다.
|
|
499
|
-
- exactness는 그 정렬을 얼마나 강한 근거로 증명할 수 있는가의 문제다.
|
|
500
|
-
- 기능 정합성은 화면 뒤의 동작과 계약이 실제 요구사항과 맞는가의 문제다.
|
|
501
|
-
|
|
502
|
-
예를 들어 화면이 visually 유사해도 API contract가 다르면 기능 정합성은 실패다. 반대로 동작은 맞아도 shell, spacing, copy, runtime tree가 spec과 다르면 visual fidelity는 실패다. `sdd` 스킬은 둘 중 하나만 맞는 상태를 완료로 보지 않으려는 구조다.
|
|
503
|
-
|
|
504
|
-
## 이 저장소에서 이 세 축을 담당하는 실제 구조
|
|
505
|
-
|
|
506
|
-
- toolchain inventory: `sdd/99_toolchain/01_automation/README.md`
|
|
507
|
-
- asset builder: `sdd/99_toolchain/01_automation/spec_asset_builder.py`
|
|
508
|
-
- asset recipe wrapper: `sdd/99_toolchain/01_automation/build_asset_recipes.py`
|
|
509
|
-
- screen spec generator: `sdd/99_toolchain/01_automation/build_screen_spec_pdf.py`
|
|
510
|
-
- capture tooling: `sdd/99_toolchain/01_automation/capture_screen_assets.mjs`
|
|
511
|
-
- verification harness baseline: `sdd/03_verify/10_test/verification_harness.md`
|
|
512
|
-
- verification strategy baseline: `sdd/02_plan/10_test/verification_strategy.md`
|
|
513
|
-
- regression scope baseline: `sdd/02_plan/10_test/regression_verification.md`
|
|
514
|
-
|
|
515
|
-
## 각 플로우를 더 자세히 설명하면
|
|
516
|
-
|
|
517
|
-
### Feature 플로우
|
|
518
|
-
|
|
519
|
-
기능 요구사항이 중심인 작업이다. 보통 feature spec을 확인하고, feature plan을 만들고, 구현 후 feature build와 feature verify를 갱신한다. 화면이 동반되더라도 핵심 변화가 기능 계약이면 feature 중심으로 정리한다.
|
|
520
|
-
|
|
521
|
-
### Screen 플로우
|
|
522
|
-
|
|
523
|
-
화면 구조, 카피, 상태, 네비게이션, 시각적 정렬이 중심인 작업이다. screen spec과 asset planning을 먼저 보고, 필요하면 builder를 통해 정적 자산과 디자인 기준을 확보한 뒤 구현한다. 이 플로우에서는 leaf component만 보는 것이 아니라 route, shell, shared component까지 포함한 top-down runtime tree가 중요하다. 또한 visual fidelity와 exactness는 단순 screenshot 비교가 아니라 source asset, generated asset, runtime tree, parity evidence를 함께 맞추는 구조로 본다.
|
|
524
|
-
|
|
525
|
-
### Architecture 플로우
|
|
526
|
-
|
|
527
|
-
폴더 구조, runtime boundary, governance, toolchain rule, shared pattern처럼 횡단적인 작업을 다룬다. 코드보다 문서 정렬과 구조 정리가 핵심이 될 수 있고, 이번에 갱신 중인 `toolchain_governance.md` 같은 문서가 여기에 속한다.
|
|
528
|
-
|
|
529
|
-
### Data / API / Integration 플로우
|
|
530
|
-
|
|
531
|
-
저장, 계약, 외부 연동이 핵심일 때 사용한다. 모델 정의, API shape, integration contract를 함께 보고, runtime과 deployed schema가 실제로 맞는지 확인하는 흐름이 중요하다. 특히 persistence 영향 작업은 migration head만으로 끝내지 않는 것이 핵심이다. 이 플로우는 functional alignment의 중심 축으로, UI가 맞아 보여도 계약이나 schema가 다르면 완료로 보지 않는다.
|
|
532
|
-
|
|
533
|
-
### Test / Verification 플로우
|
|
534
|
-
|
|
535
|
-
이 플로우는 "테스트 코드를 추가했다"보다 "어떤 검증 surface를 current-state로 보증하는가"에 초점이 있다. regression baseline을 먼저 잡고, automation이 없으면 그 gap 자체를 문서에 residual risk로 남긴다. visual fidelity, exactness, 기능 정합성은 모두 이 verify 플로우에서 retained evidence로 묶여야 한다.
|
|
536
|
-
|
|
537
|
-
### Operate / Rollout 플로우
|
|
538
|
-
|
|
539
|
-
배포가 실제 범위일 때만 활성화된다. `sdd` 스킬은 `sdd/05_operate` 폴더가 있다는 이유만으로 자동 배포를 요구하지 않는다. 다만 저장소 정책이 DEV rollout을 completion bar로 두거나 사용자가 명시적으로 배포를 요청하면, 그때는 deploy/verify/operate 기록이 완료 조건으로 올라간다.
|
|
540
|
-
|
|
541
|
-
## 이 스킬의 중요한 guardrail
|
|
542
|
-
|
|
543
|
-
- `sdd/`가 있으면 별도 `docs/` 트리를 만들지 않는다.
|
|
544
|
-
- planning review 없이 바로 코드부터 수정하지 않는다.
|
|
545
|
-
- build/verify/operate evidence를 채팅에만 남기지 않는다.
|
|
546
|
-
- 회귀 검수는 edited target-only로 끝내지 않는다.
|
|
547
|
-
- builder가 있는 정적 자산을 수동 redraw로 대체하지 않는다.
|
|
548
|
-
- local 테스트 통과만으로 schema parity를 가정하지 않는다.
|
|
549
|
-
- 배포가 실제 범위가 아니면 operate 문서를 허위로 채우지 않는다.
|
|
550
|
-
- rollout이 실제 범위라면 DEV gate와 PROD gate를 임의로 축소하지 않는다.
|
|
551
|
-
- visual fidelity는 leaf screenshot만이 아니라 runtime tree와 generated artifact까지 함께 본다.
|
|
552
|
-
- exactness는 subjective comment가 아니라 builder/harness/proof evidence로 남긴다.
|
|
553
|
-
- 기능 정합성은 mock 연결이나 local shadow state로 완료 처리하지 않는다.
|
|
554
|
-
|
|
555
|
-
## 자주 생기는 오해
|
|
556
|
-
|
|
557
|
-
- "문서만 잘 쓰면 된다"
|
|
558
|
-
- 아니다. `sdd`는 코드, 계약, 검증, 운영 증거까지 같이 맞춰야 한다.
|
|
559
|
-
- "작은 수정이면 `sdd` 없이 해도 된다"
|
|
560
|
-
- 아니다. current-state trail이 필요한 저장소면 작은 수정도 기본 원칙은 같다.
|
|
561
|
-
- "배포 문서 폴더가 있으니 항상 배포해야 한다"
|
|
562
|
-
- 아니다. rollout은 explicit scope 또는 저장소 completion policy가 있을 때만 강제된다.
|
|
563
|
-
- "화면이 비슷하면 완료다"
|
|
564
|
-
- 아니다. screen 작업은 functional alignment까지 맞아야 한다.
|
|
565
|
-
- "테스트 통과면 schema도 맞다"
|
|
566
|
-
- 아니다. persistence 영향 작업은 real schema evidence가 별도 필요하다.
|
|
567
|
-
|
|
568
|
-
## 이 문서를 읽는 권장 순서
|
|
569
|
-
|
|
570
|
-
처음 보는 사람은 보통 아래 순서로 읽으면 된다.
|
|
571
|
-
|
|
572
|
-
1. 한 줄 정의
|
|
573
|
-
2. 언제 쓰는가
|
|
574
|
-
3. 전체 워크플로우
|
|
575
|
-
4. `sdd/` 폴더 구조 설명
|
|
576
|
-
5. Toolchain / fidelity / exactness / 기능 정합성
|
|
577
|
-
6. regression / schema parity / rollout / completion gate
|
|
578
|
-
7. 실제 정본 문서
|
|
579
|
-
|
|
580
|
-
## 이 저장소에서 바로 참고할 경로
|
|
581
|
-
|
|
582
|
-
- 정책 정본: `sdd/99_toolchain/02_policies/`
|
|
583
|
-
- automation inventory: `sdd/99_toolchain/01_automation/README.md`
|
|
584
|
-
- regression baseline: `sdd/02_plan/10_test/regression_verification.md`
|
|
585
|
-
- toolchain governance current-state: `sdd/02_plan/03_architecture/toolchain_governance.md`
|
|
586
|
-
|
|
587
|
-
## 이 문서의 성격
|
|
588
|
-
|
|
589
|
-
이 파일은 루트에서 빠르게 읽는 설명서다. 실제 강제 규칙, 예외, completion gate는 skill 원문, `AGENTS.md`, 그리고 `sdd/99_toolchain/02_policies/` 문서를 따른다.
|