azcodr 1.5.0 → 1.5.1

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 (75) hide show
  1. package/.agents/hooks.json +42 -0
  2. package/.agents/hooks.json.example +42 -42
  3. package/.agents/mcp_config.json.example +6 -1
  4. package/.agents/scripts/safety_guard.sh +34 -16
  5. package/.agents/scripts/verify_completion.sh +27 -13
  6. package/.agents/skills/agentic-architect/SKILL.md +125 -125
  7. package/.agents/skills/agentic-architect/references/agents_md_template.md +62 -62
  8. package/.agents/skills/agentic-architect/references/refinement_workflow.md +32 -32
  9. package/.agents/skills/agentic-architect/references/skill_architecture_inquiry.md +63 -63
  10. package/.agents/skills/agentic-architect/references/skill_template.md +56 -56
  11. package/.agents/skills/agentic-architect/scripts/validate_agentic_configs.sh +401 -362
  12. package/.agents/skills/clean-code-refactor/SKILL.md +91 -91
  13. package/.agents/skills/clean-code-refactor/references/clean_code_smells.md +27 -27
  14. package/.agents/skills/clean-code-refactor/references/design_patterns_ts.md +65 -65
  15. package/.agents/skills/compliance-audit/SKILL.md +120 -120
  16. package/.agents/skills/compliance-audit/references/owasp_top10_controls.md +16 -16
  17. package/.agents/skills/compliance-audit/references/soc2_iso_controls.md +28 -28
  18. package/.agents/skills/lets-build/SKILL.md +173 -172
  19. package/.agents/skills/lets-build/references/architecture_interview_matrix.md +115 -115
  20. package/.agents/skills/lets-build/references/hexagonal_bootstrap_scaffolds.md +160 -160
  21. package/.agents/skills/lets-build/references/project_readme_template.md +79 -79
  22. package/.agents/skills/lets-build/scripts/bootstrap_workspace.sh +255 -253
  23. package/.agents/skills/product-analyst/SKILL.md +154 -154
  24. package/.agents/skills/product-analyst/references/backlog_ordering_techniques.md +107 -107
  25. package/.agents/skills/product-analyst/references/gherkin_patterns.md +46 -46
  26. package/.agents/skills/product-analyst/references/invest_checklist.md +38 -38
  27. package/.agents/skills/product-analyst/references/okr_alignment_guide.md +76 -76
  28. package/.agents/skills/product-analyst/references/smart_tasks.md +59 -59
  29. package/.agents/skills/relentless-questioner/SKILL.md +128 -128
  30. package/.agents/skills/relentless-questioner/references/adaptive_question_trees.md +102 -102
  31. package/.editorconfig +19 -19
  32. package/.github/copilot-instructions.md +1 -0
  33. package/.github/workflows/ci.yml +56 -0
  34. package/.gitignore +25 -25
  35. package/AGENTS.md +102 -102
  36. package/LICENSE +21 -21
  37. package/README.md +154 -154
  38. package/bin/azcodr.js +228 -228
  39. package/data/.gitkeep +0 -0
  40. package/docs/knowledge/ubiquitous_language.md +18 -18
  41. package/docs/rules/agentic_configuration.md +259 -259
  42. package/docs/rules/api_architecture.md +179 -179
  43. package/docs/rules/authentication.md +76 -76
  44. package/docs/rules/authorization.md +75 -75
  45. package/docs/rules/caching.md +69 -69
  46. package/docs/rules/clean_code.md +62 -62
  47. package/docs/rules/cloud_native.md +41 -41
  48. package/docs/rules/cqrs.md +203 -203
  49. package/docs/rules/database_design.md +125 -125
  50. package/docs/rules/database_operations.md +69 -69
  51. package/docs/rules/design_patterns.md +98 -98
  52. package/docs/rules/devops_ci_cd.md +76 -76
  53. package/docs/rules/domain_driven_design.md +122 -122
  54. package/docs/rules/error_handling.md +52 -52
  55. package/docs/rules/feature_flags.md +59 -59
  56. package/docs/rules/frontend_architecture.md +157 -157
  57. package/docs/rules/multitenancy_architecture.md +98 -98
  58. package/docs/rules/product_ownership.md +127 -127
  59. package/docs/rules/project_management.md +49 -49
  60. package/docs/rules/relentless_questioning.md +52 -52
  61. package/docs/rules/requirements_engineering.md +98 -98
  62. package/docs/rules/security_compliance.md +53 -53
  63. package/docs/rules/server_driven_ui.md +88 -88
  64. package/docs/rules/test_driven_development.md +185 -185
  65. package/docs/rules/transactional_email.md +27 -27
  66. package/docs/rules/type_safety.md +65 -65
  67. package/docs/rules/ui_ux_architecture.md +150 -150
  68. package/docs/rules/workflow_state_machines.md +117 -117
  69. package/lib/index.d.ts +134 -123
  70. package/lib/index.js +5 -5
  71. package/lib/scaffold.js +399 -351
  72. package/memory.md +36 -36
  73. package/package.json +62 -59
  74. package/scripts/test_coverage.js +38 -0
  75. package/scripts/validate.js +246 -0
@@ -1,79 +1,79 @@
1
- # {{PROJECT_NAME}}
2
-
3
- > **{{PROJECT_TAGLINE_OR_MISSION}}**
4
-
5
- ---
6
-
7
- ## 🌟 Architecture & Stack
8
-
9
- - **Architecture:** Hexagonal (Ports & Adapters) with strict systemic atomicity and zero-downtime database patterns.
10
- - **Language & Runtime:** {{LANGUAGE_AND_RUNTIME}}
11
- - **Package Manager & Build:** {{PACKAGE_MANAGER_AND_BUILD_TOOL}}
12
- - **Primary Transport:** {{TRANSPORT_PROTOCOL_AND_FRAMEWORK}}
13
- - **Persistence Engine:** {{DATABASE_ENGINE}} (Migrations via {{MIGRATION_TOOL}})
14
- - **Multi-Tenancy Isolation:** {{TENANCY_ISOLATION_MODEL}}
15
- - **Dynamic Extensibility:** Common Expression Language (CEL) / JSON Schema Draft 2020-12
16
- - **Observability:** OpenTelemetry (OTel) OTLP export over gRPC/HTTP
17
- - **Security & DevSecOps:** Semgrep SAST, Gitleaks, Trivy scanning, CycloneDX SBOM
18
-
19
- ---
20
-
21
- ## 🗂️ Project Structure
22
-
23
- ```
24
- .
25
- ├── specs/ # Canonical contract specifications
26
- │ ├── openapi/ # OpenAPI 3.1 REST specifications
27
- │ ├── protobuf/ # Protocol Buffers v3 definitions
28
- │ ├── schemas/ # Universal JSON Schema Draft 2020-12
29
- │ └── tokens/ # W3C DTCG Design Tokens
30
- ├── src/ # Hexagonal Application Source
31
- │ ├── domain/ # Core Invariant Domain (Entities, Value Objects)
32
- │ ├── ports/ # Primary (Use Cases) and Secondary (Repositories) Ports
33
- │ └── adapters/ # Ingress (HTTP/gRPC) and Egress (SQL/Broker) Adapters
34
- ├── tests/
35
- │ ├── unit/ # Fast unit tests using test doubles
36
- │ ├── integration/ # Adapter tests with transactional rollback
37
- │ ├── contracts/ # Consumer contract tests (Pact)
38
- │ └── acceptance/ # BDD Gherkin / Cucumber features
39
- ├── deploy/ # OCI Distroless Dockerfiles & Compose manifests
40
- ├── docs/rules/ # 28 cohesive single-responsibility architectural rules
41
- ├── memory.md # Master memory hub & Lightweight ADR ledger
42
- └── AGENTS.md # Lean agentic directives (< 120 lines)
43
- ```
44
-
45
- ---
46
-
47
- ## ⚡ Quickstart & Development
48
-
49
- ### 1. Prerequisites
50
- - {{PREREQUISITES_LIST}}
51
- - Docker & Docker Compose
52
-
53
- ### 2. Environment Setup
54
- ```bash
55
- cp .env.example .env
56
- ```
57
-
58
- ### 3. Install Dependencies
59
- ```bash
60
- {{INSTALL_COMMAND}}
61
- ```
62
-
63
- ### 4. Run Development Environment
64
- ```bash
65
- {{DEV_RUN_COMMAND}}
66
- ```
67
-
68
- ### 5. Run Tests & Verification
69
- ```bash
70
- {{TEST_COMMAND}}
71
- ```
72
-
73
- ---
74
-
75
- ## 🏛️ Architecture Governance & Decisions
76
-
77
- This project is governed by the **28 Cohesive Domain Rules** located in `docs/rules/` and Architectural Decision Records in `memory.md`:
78
- - **ADR Ledger:** See `memory.md` for project-specific Architectural Decision Records.
79
- - **Architectural Rules:** See `docs/rules/` for TDD, Clean Code, Multi-Tenancy, Database Design, and DevSecOps directives.
1
+ # {{PROJECT_NAME}}
2
+
3
+ > **{{PROJECT_TAGLINE_OR_MISSION}}**
4
+
5
+ ---
6
+
7
+ ## 🌟 Architecture & Stack
8
+
9
+ - **Architecture:** Hexagonal (Ports & Adapters) with strict systemic atomicity and zero-downtime database patterns.
10
+ - **Language & Runtime:** {{LANGUAGE_AND_RUNTIME}}
11
+ - **Package Manager & Build:** {{PACKAGE_MANAGER_AND_BUILD_TOOL}}
12
+ - **Primary Transport:** {{TRANSPORT_PROTOCOL_AND_FRAMEWORK}}
13
+ - **Persistence Engine:** {{DATABASE_ENGINE}} (Migrations via {{MIGRATION_TOOL}})
14
+ - **Multi-Tenancy Isolation:** {{TENANCY_ISOLATION_MODEL}}
15
+ - **Dynamic Extensibility:** Common Expression Language (CEL) / JSON Schema Draft 2020-12
16
+ - **Observability:** OpenTelemetry (OTel) OTLP export over gRPC/HTTP
17
+ - **Security & DevSecOps:** Semgrep SAST, Gitleaks, Trivy scanning, CycloneDX SBOM
18
+
19
+ ---
20
+
21
+ ## 🗂️ Project Structure
22
+
23
+ ```
24
+ .
25
+ ├── specs/ # Canonical contract specifications
26
+ │ ├── openapi/ # OpenAPI 3.1 REST specifications
27
+ │ ├── protobuf/ # Protocol Buffers v3 definitions
28
+ │ ├── schemas/ # Universal JSON Schema Draft 2020-12
29
+ │ └── tokens/ # W3C DTCG Design Tokens
30
+ ├── src/ # Hexagonal Application Source
31
+ │ ├── domain/ # Core Invariant Domain (Entities, Value Objects)
32
+ │ ├── ports/ # Primary (Use Cases) and Secondary (Repositories) Ports
33
+ │ └── adapters/ # Ingress (HTTP/gRPC) and Egress (SQL/Broker) Adapters
34
+ ├── tests/
35
+ │ ├── unit/ # Fast unit tests using test doubles
36
+ │ ├── integration/ # Adapter tests with transactional rollback
37
+ │ ├── contracts/ # Consumer contract tests (Pact)
38
+ │ └── acceptance/ # BDD Gherkin / Cucumber features
39
+ ├── deploy/ # OCI Distroless Dockerfiles & Compose manifests
40
+ ├── docs/rules/ # 28 cohesive single-responsibility architectural rules
41
+ ├── memory.md # Master memory hub & Lightweight ADR ledger
42
+ └── AGENTS.md # Lean agentic directives (< 120 lines)
43
+ ```
44
+
45
+ ---
46
+
47
+ ## ⚡ Quickstart & Development
48
+
49
+ ### 1. Prerequisites
50
+ - {{PREREQUISITES_LIST}}
51
+ - Docker & Docker Compose
52
+
53
+ ### 2. Environment Setup
54
+ ```bash
55
+ cp .env.example .env
56
+ ```
57
+
58
+ ### 3. Install Dependencies
59
+ ```bash
60
+ {{INSTALL_COMMAND}}
61
+ ```
62
+
63
+ ### 4. Run Development Environment
64
+ ```bash
65
+ {{DEV_RUN_COMMAND}}
66
+ ```
67
+
68
+ ### 5. Run Tests & Verification
69
+ ```bash
70
+ {{TEST_COMMAND}}
71
+ ```
72
+
73
+ ---
74
+
75
+ ## 🏛️ Architecture Governance & Decisions
76
+
77
+ This project is governed by the **28 Cohesive Domain Rules** located in `docs/rules/` and Architectural Decision Records in `memory.md`:
78
+ - **ADR Ledger:** See `memory.md` for project-specific Architectural Decision Records.
79
+ - **Architectural Rules:** See `docs/rules/` for TDD, Clean Code, Multi-Tenancy, Database Design, and DevSecOps directives.