nwave-ai 1.1.0__tar.gz

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 (307) hide show
  1. nwave_ai-1.1.0/LICENSE +21 -0
  2. nwave_ai-1.1.0/PKG-INFO +205 -0
  3. nwave_ai-1.1.0/README.md +134 -0
  4. nwave_ai-1.1.0/nWave/README.md +169 -0
  5. nwave_ai-1.1.0/nWave/VERSION +1 -0
  6. nwave_ai-1.1.0/nWave/agents/nw-acceptance-designer-reviewer.md +150 -0
  7. nwave_ai-1.1.0/nWave/agents/nw-acceptance-designer.md +184 -0
  8. nwave_ai-1.1.0/nWave/agents/nw-agent-builder-reviewer.md +118 -0
  9. nwave_ai-1.1.0/nWave/agents/nw-agent-builder.md +287 -0
  10. nwave_ai-1.1.0/nWave/agents/nw-data-engineer-reviewer.md +116 -0
  11. nwave_ai-1.1.0/nWave/agents/nw-data-engineer.md +112 -0
  12. nwave_ai-1.1.0/nWave/agents/nw-documentarist-reviewer.md +117 -0
  13. nwave_ai-1.1.0/nWave/agents/nw-documentarist.md +145 -0
  14. nwave_ai-1.1.0/nWave/agents/nw-platform-architect-reviewer.md +100 -0
  15. nwave_ai-1.1.0/nWave/agents/nw-platform-architect.md +226 -0
  16. nwave_ai-1.1.0/nWave/agents/nw-product-discoverer-reviewer.md +143 -0
  17. nwave_ai-1.1.0/nWave/agents/nw-product-discoverer.md +201 -0
  18. nwave_ai-1.1.0/nWave/agents/nw-product-owner-reviewer.md +174 -0
  19. nwave_ai-1.1.0/nWave/agents/nw-product-owner.md +239 -0
  20. nwave_ai-1.1.0/nWave/agents/nw-researcher-reviewer.md +144 -0
  21. nwave_ai-1.1.0/nWave/agents/nw-researcher.md +125 -0
  22. nwave_ai-1.1.0/nWave/agents/nw-software-crafter-reviewer.md +152 -0
  23. nwave_ai-1.1.0/nWave/agents/nw-software-crafter.md +362 -0
  24. nwave_ai-1.1.0/nWave/agents/nw-solution-architect-reviewer.md +136 -0
  25. nwave_ai-1.1.0/nWave/agents/nw-solution-architect.md +232 -0
  26. nwave_ai-1.1.0/nWave/agents/nw-troubleshooter-reviewer.md +105 -0
  27. nwave_ai-1.1.0/nWave/agents/nw-troubleshooter.md +139 -0
  28. nwave_ai-1.1.0/nWave/data/config/trusted-source-domains.yaml +174 -0
  29. nwave_ai-1.1.0/nWave/data/methodologies/atdd-patterns.md +614 -0
  30. nwave_ai-1.1.0/nWave/data/methodologies/outside-in-tdd-reference.md +765 -0
  31. nwave_ai-1.1.0/nWave/data/methodologies/systematic-refactoring-guide.md +2200 -0
  32. nwave_ai-1.1.0/nWave/data/methodologies/visual-architecture-principles.md +511 -0
  33. nwave_ai-1.1.0/nWave/data/research/architecture-patterns/residuality-theory-comprehensive-research.md +688 -0
  34. nwave_ai-1.1.0/nWave/data/research/feature-coordination/README.md +77 -0
  35. nwave_ai-1.1.0/nWave/data/research/feature-coordination/feature-completion-deployment-readiness.md +432 -0
  36. nwave_ai-1.1.0/nWave/data/research/tdd-refactoring/README.md +323 -0
  37. nwave_ai-1.1.0/nWave/data/research/tdd-refactoring/mikado-method-progressive-refactoring.md +417 -0
  38. nwave_ai-1.1.0/nWave/data/research/tdd-refactoring/outside-in-tdd-methodology.md +396 -0
  39. nwave_ai-1.1.0/nWave/data/research/walking-skeleton/comprehensive-walking-skeleton-research.md +698 -0
  40. nwave_ai-1.1.0/nWave/framework-catalog.yaml +351 -0
  41. nwave_ai-1.1.0/nWave/hooks/discover_subagent_context.py +323 -0
  42. nwave_ai-1.1.0/nWave/scripts/des/check_stale_phases.py +34 -0
  43. nwave_ai-1.1.0/nWave/scripts/des/scope_boundary_check.py +34 -0
  44. nwave_ai-1.1.0/nWave/skills/acceptance-designer/bdd-methodology.md +171 -0
  45. nwave_ai-1.1.0/nWave/skills/acceptance-designer/critique-dimensions.md +124 -0
  46. nwave_ai-1.1.0/nWave/skills/acceptance-designer/test-design-mandates.md +175 -0
  47. nwave_ai-1.1.0/nWave/skills/agent-builder/agent-creation-workflow.md +172 -0
  48. nwave_ai-1.1.0/nWave/skills/agent-builder/agent-testing.md +108 -0
  49. nwave_ai-1.1.0/nWave/skills/agent-builder/command-design-patterns.md +240 -0
  50. nwave_ai-1.1.0/nWave/skills/agent-builder/command-optimization-workflow.md +132 -0
  51. nwave_ai-1.1.0/nWave/skills/agent-builder/critique-dimensions.md +128 -0
  52. nwave_ai-1.1.0/nWave/skills/agent-builder/design-patterns.md +113 -0
  53. nwave_ai-1.1.0/nWave/skills/agent-builder-reviewer/review-workflow.md +87 -0
  54. nwave_ai-1.1.0/nWave/skills/data-engineer/data-architecture-patterns.md +278 -0
  55. nwave_ai-1.1.0/nWave/skills/data-engineer/database-technology-selection.md +117 -0
  56. nwave_ai-1.1.0/nWave/skills/data-engineer/query-optimization.md +195 -0
  57. nwave_ai-1.1.0/nWave/skills/data-engineer/security-and-governance.md +212 -0
  58. nwave_ai-1.1.0/nWave/skills/data-engineer-reviewer/review-criteria.md +145 -0
  59. nwave_ai-1.1.0/nWave/skills/documentarist/collapse-detection.md +76 -0
  60. nwave_ai-1.1.0/nWave/skills/documentarist/divio-framework.md +112 -0
  61. nwave_ai-1.1.0/nWave/skills/documentarist/quality-validation.md +78 -0
  62. nwave_ai-1.1.0/nWave/skills/documentarist-reviewer/review-criteria.md +220 -0
  63. nwave_ai-1.1.0/nWave/skills/platform-architect/cicd-and-deployment.md +182 -0
  64. nwave_ai-1.1.0/nWave/skills/platform-architect/deliver-orchestration.md +118 -0
  65. nwave_ai-1.1.0/nWave/skills/platform-architect/deployment-strategies.md +104 -0
  66. nwave_ai-1.1.0/nWave/skills/platform-architect/infrastructure-and-observability.md +189 -0
  67. nwave_ai-1.1.0/nWave/skills/platform-architect/platform-engineering-foundations.md +136 -0
  68. nwave_ai-1.1.0/nWave/skills/platform-architect/production-readiness.md +101 -0
  69. nwave_ai-1.1.0/nWave/skills/platform-architect/stakeholder-engagement.md +96 -0
  70. nwave_ai-1.1.0/nWave/skills/platform-architect-reviewer/critique-dimensions.md +65 -0
  71. nwave_ai-1.1.0/nWave/skills/platform-architect-reviewer/review-criteria.md +134 -0
  72. nwave_ai-1.1.0/nWave/skills/platform-architect-reviewer/review-output-format.md +72 -0
  73. nwave_ai-1.1.0/nWave/skills/product-discoverer/discovery-workflow.md +132 -0
  74. nwave_ai-1.1.0/nWave/skills/product-discoverer/interviewing-techniques.md +137 -0
  75. nwave_ai-1.1.0/nWave/skills/product-discoverer/opportunity-mapping.md +125 -0
  76. nwave_ai-1.1.0/nWave/skills/product-discoverer-reviewer/review-criteria.md +144 -0
  77. nwave_ai-1.1.0/nWave/skills/product-owner/bdd-requirements.md +334 -0
  78. nwave_ai-1.1.0/nWave/skills/product-owner/design-methodology.md +153 -0
  79. nwave_ai-1.1.0/nWave/skills/product-owner/discovery-methodology.md +123 -0
  80. nwave_ai-1.1.0/nWave/skills/product-owner/jtbd-workflow-selection.md +178 -0
  81. nwave_ai-1.1.0/nWave/skills/product-owner/leanux-methodology.md +220 -0
  82. nwave_ai-1.1.0/nWave/skills/product-owner/persona-jtbd-analysis.md +117 -0
  83. nwave_ai-1.1.0/nWave/skills/product-owner/review-dimensions.md +164 -0
  84. nwave_ai-1.1.0/nWave/skills/product-owner/shared-artifact-tracking.md +116 -0
  85. nwave_ai-1.1.0/nWave/skills/product-owner-reviewer/dor-validation.md +118 -0
  86. nwave_ai-1.1.0/nWave/skills/product-owner-reviewer/review-criteria.md +161 -0
  87. nwave_ai-1.1.0/nWave/skills/researcher/authoritative-sources.md +129 -0
  88. nwave_ai-1.1.0/nWave/skills/researcher/operational-safety.md +109 -0
  89. nwave_ai-1.1.0/nWave/skills/researcher/research-methodology.md +170 -0
  90. nwave_ai-1.1.0/nWave/skills/researcher/source-verification.md +65 -0
  91. nwave_ai-1.1.0/nWave/skills/researcher-reviewer/critique-dimensions.md +139 -0
  92. nwave_ai-1.1.0/nWave/skills/software-crafter/collaboration-and-handoffs.md +131 -0
  93. nwave_ai-1.1.0/nWave/skills/software-crafter/hexagonal-testing.md +85 -0
  94. nwave_ai-1.1.0/nWave/skills/software-crafter/mikado-method.md +143 -0
  95. nwave_ai-1.1.0/nWave/skills/software-crafter/production-safety.md +51 -0
  96. nwave_ai-1.1.0/nWave/skills/software-crafter/progressive-refactoring.md +175 -0
  97. nwave_ai-1.1.0/nWave/skills/software-crafter/property-based-testing.md +99 -0
  98. nwave_ai-1.1.0/nWave/skills/software-crafter/quality-framework.md +70 -0
  99. nwave_ai-1.1.0/nWave/skills/software-crafter/review-dimensions.md +342 -0
  100. nwave_ai-1.1.0/nWave/skills/software-crafter/tdd-methodology.md +186 -0
  101. nwave_ai-1.1.0/nWave/skills/software-crafter/test-refactoring-catalog.md +108 -0
  102. nwave_ai-1.1.0/nWave/skills/software-crafter-reviewer/tdd-review-enforcement.md +179 -0
  103. nwave_ai-1.1.0/nWave/skills/solution-architect/architecture-patterns.md +165 -0
  104. nwave_ai-1.1.0/nWave/skills/solution-architect/critique-dimensions.md +126 -0
  105. nwave_ai-1.1.0/nWave/skills/solution-architect/residuality-theory.md +89 -0
  106. nwave_ai-1.1.0/nWave/skills/solution-architect/roadmap-design.md +133 -0
  107. nwave_ai-1.1.0/nWave/skills/solution-architect-reviewer/roadmap-review-checks.md +109 -0
  108. nwave_ai-1.1.0/nWave/skills/troubleshooter/five-whys-methodology.md +104 -0
  109. nwave_ai-1.1.0/nWave/skills/troubleshooter/investigation-techniques.md +87 -0
  110. nwave_ai-1.1.0/nWave/skills/troubleshooter/post-mortem-framework.md +110 -0
  111. nwave_ai-1.1.0/nWave/skills/troubleshooter-reviewer/review-criteria.md +149 -0
  112. nwave_ai-1.1.0/nWave/tasks/nw/deliver.md +253 -0
  113. nwave_ai-1.1.0/nWave/tasks/nw/design.md +104 -0
  114. nwave_ai-1.1.0/nWave/tasks/nw/devops.md +171 -0
  115. nwave_ai-1.1.0/nWave/tasks/nw/diagram.md +68 -0
  116. nwave_ai-1.1.0/nWave/tasks/nw/discover.md +75 -0
  117. nwave_ai-1.1.0/nWave/tasks/nw/discuss.md +150 -0
  118. nwave_ai-1.1.0/nWave/tasks/nw/distill.md +124 -0
  119. nwave_ai-1.1.0/nWave/tasks/nw/document.md +143 -0
  120. nwave_ai-1.1.0/nWave/tasks/nw/execute.md +172 -0
  121. nwave_ai-1.1.0/nWave/tasks/nw/finalize.md +99 -0
  122. nwave_ai-1.1.0/nWave/tasks/nw/forge.md +46 -0
  123. nwave_ai-1.1.0/nWave/tasks/nw/mikado.md +66 -0
  124. nwave_ai-1.1.0/nWave/tasks/nw/mutation-test.md +114 -0
  125. nwave_ai-1.1.0/nWave/tasks/nw/refactor.md +87 -0
  126. nwave_ai-1.1.0/nWave/tasks/nw/research.md +82 -0
  127. nwave_ai-1.1.0/nWave/tasks/nw/review.md +111 -0
  128. nwave_ai-1.1.0/nWave/tasks/nw/roadmap.md +130 -0
  129. nwave_ai-1.1.0/nWave/tasks/nw/root-why.md +67 -0
  130. nwave_ai-1.1.0/nWave/templates/.des-audit-README.md +71 -0
  131. nwave_ai-1.1.0/nWave/templates/.pre-commit-config-nwave.yaml +39 -0
  132. nwave_ai-1.1.0/nWave/templates/COMMAND_TEMPLATE.yaml +436 -0
  133. nwave_ai-1.1.0/nWave/templates/deliver-outside-in-tdd.yaml +845 -0
  134. nwave_ai-1.1.0/nWave/templates/design-architecture-interactive.yaml +739 -0
  135. nwave_ai-1.1.0/nWave/templates/devops-production-readiness.yaml +784 -0
  136. nwave_ai-1.1.0/nWave/templates/discuss-requirements-interactive.yaml +671 -0
  137. nwave_ai-1.1.0/nWave/templates/distill-acceptance-tests.yaml +795 -0
  138. nwave_ai-1.1.0/nWave/templates/execution-log-template.yaml +90 -0
  139. nwave_ai-1.1.0/nWave/templates/nwave-complete-methodology.yaml +472 -0
  140. nwave_ai-1.1.0/nWave/templates/roadmap-schema.yaml +38 -0
  141. nwave_ai-1.1.0/nWave/templates/step-tdd-cycle-schema.json +327 -0
  142. nwave_ai-1.1.0/nwave_ai/README.public.md +134 -0
  143. nwave_ai-1.1.0/nwave_ai/__init__.py +3 -0
  144. nwave_ai-1.1.0/nwave_ai/cli.py +85 -0
  145. nwave_ai-1.1.0/pyproject.toml +305 -0
  146. nwave_ai-1.1.0/scripts/README.md +84 -0
  147. nwave_ai-1.1.0/scripts/build_dist.py +313 -0
  148. nwave_ai-1.1.0/scripts/framework/create_github_tarballs.py +459 -0
  149. nwave_ai-1.1.0/scripts/framework/release_validation.py +247 -0
  150. nwave_ai-1.1.0/scripts/framework/sync_agent_names.py +207 -0
  151. nwave_ai-1.1.0/scripts/framework/validate_tdd_phases_ci.py +444 -0
  152. nwave_ai-1.1.0/scripts/hooks/check_documentation_freshness.py +177 -0
  153. nwave_ai-1.1.0/scripts/hooks/check_end_of_file.py +47 -0
  154. nwave_ai-1.1.0/scripts/hooks/check_formatter_available.py +120 -0
  155. nwave_ai-1.1.0/scripts/hooks/check_json_syntax.py +34 -0
  156. nwave_ai-1.1.0/scripts/hooks/check_merge_conflicts.py +47 -0
  157. nwave_ai-1.1.0/scripts/hooks/check_trailing_whitespace.py +44 -0
  158. nwave_ai-1.1.0/scripts/hooks/commit-msg +29 -0
  159. nwave_ai-1.1.0/scripts/hooks/commit_msg.py +202 -0
  160. nwave_ai-1.1.0/scripts/hooks/detect_conflicts.py +105 -0
  161. nwave_ai-1.1.0/scripts/hooks/detect_private_keys.py +42 -0
  162. nwave_ai-1.1.0/scripts/hooks/nwave-bypass-detector.py +62 -0
  163. nwave_ai-1.1.0/scripts/hooks/nwave-step-structure-validator.py +118 -0
  164. nwave_ai-1.1.0/scripts/hooks/nwave-tdd-validator.py +281 -0
  165. nwave_ai-1.1.0/scripts/hooks/prevent_shell_scripts.py +120 -0
  166. nwave_ai-1.1.0/scripts/hooks/validate_docs.py +142 -0
  167. nwave_ai-1.1.0/scripts/hooks/validate_tests.py +160 -0
  168. nwave_ai-1.1.0/scripts/hooks/validate_tests_slow.py +149 -0
  169. nwave_ai-1.1.0/scripts/install/README.md +253 -0
  170. nwave_ai-1.1.0/scripts/install/context_detector.py +207 -0
  171. nwave_ai-1.1.0/scripts/install/enhanced_backup_system.py +605 -0
  172. nwave_ai-1.1.0/scripts/install/error_codes.py +42 -0
  173. nwave_ai-1.1.0/scripts/install/install_des_hooks.py +376 -0
  174. nwave_ai-1.1.0/scripts/install/install_nwave.py +705 -0
  175. nwave_ai-1.1.0/scripts/install/install_utils.py +606 -0
  176. nwave_ai-1.1.0/scripts/install/installation_verifier.py +229 -0
  177. nwave_ai-1.1.0/scripts/install/output_formatter.py +649 -0
  178. nwave_ai-1.1.0/scripts/install/plugins/__init__.py +20 -0
  179. nwave_ai-1.1.0/scripts/install/plugins/agents_plugin.py +136 -0
  180. nwave_ai-1.1.0/scripts/install/plugins/base.py +108 -0
  181. nwave_ai-1.1.0/scripts/install/plugins/commands_plugin.py +138 -0
  182. nwave_ai-1.1.0/scripts/install/plugins/des_plugin.py +897 -0
  183. nwave_ai-1.1.0/scripts/install/plugins/registry.py +365 -0
  184. nwave_ai-1.1.0/scripts/install/plugins/skills_plugin.py +247 -0
  185. nwave_ai-1.1.0/scripts/install/plugins/templates_plugin.py +142 -0
  186. nwave_ai-1.1.0/scripts/install/plugins/utilities_plugin.py +157 -0
  187. nwave_ai-1.1.0/scripts/install/preflight_checker.py +256 -0
  188. nwave_ai-1.1.0/scripts/install/rich_console.py +527 -0
  189. nwave_ai-1.1.0/scripts/install/uninstall_nwave.py +541 -0
  190. nwave_ai-1.1.0/scripts/install/verify_nwave.py +243 -0
  191. nwave_ai-1.1.0/scripts/install_nwave_target_hooks.py +101 -0
  192. nwave_ai-1.1.0/scripts/local_ci.py +491 -0
  193. nwave_ai-1.1.0/scripts/mutation/generate_scoped_configs.py +359 -0
  194. nwave_ai-1.1.0/scripts/testpypi_validation.py +399 -0
  195. nwave_ai-1.1.0/scripts/update/__init__.py +1 -0
  196. nwave_ai-1.1.0/scripts/update/backup_manager.py +78 -0
  197. nwave_ai-1.1.0/scripts/update/update_orchestrator.py +83 -0
  198. nwave_ai-1.1.0/scripts/validate_step_file.py +159 -0
  199. nwave_ai-1.1.0/scripts/validate_steps_complete.py +154 -0
  200. nwave_ai-1.1.0/scripts/validation/__init__.py +20 -0
  201. nwave_ai-1.1.0/scripts/validation/validate_source_frontmatter.py +140 -0
  202. nwave_ai-1.1.0/scripts/validation/validate_yaml_files.py +149 -0
  203. nwave_ai-1.1.0/src/des/__init__.py +96 -0
  204. nwave_ai-1.1.0/src/des/adapters/__init__.py +32 -0
  205. nwave_ai-1.1.0/src/des/adapters/driven/__init__.py +51 -0
  206. nwave_ai-1.1.0/src/des/adapters/driven/config/__init__.py +12 -0
  207. nwave_ai-1.1.0/src/des/adapters/driven/config/des_config.py +74 -0
  208. nwave_ai-1.1.0/src/des/adapters/driven/config/environment_config_adapter.py +46 -0
  209. nwave_ai-1.1.0/src/des/adapters/driven/config/in_memory_config_adapter.py +46 -0
  210. nwave_ai-1.1.0/src/des/adapters/driven/filesystem/__init__.py +10 -0
  211. nwave_ai-1.1.0/src/des/adapters/driven/filesystem/in_memory_filesystem.py +81 -0
  212. nwave_ai-1.1.0/src/des/adapters/driven/filesystem/real_filesystem.py +50 -0
  213. nwave_ai-1.1.0/src/des/adapters/driven/git/__init__.py +0 -0
  214. nwave_ai-1.1.0/src/des/adapters/driven/git/git_commit_verifier.py +79 -0
  215. nwave_ai-1.1.0/src/des/adapters/driven/hooks/__init__.py +7 -0
  216. nwave_ai-1.1.0/src/des/adapters/driven/hooks/yaml_execution_log_reader.py +126 -0
  217. nwave_ai-1.1.0/src/des/adapters/driven/logging/__init__.py +7 -0
  218. nwave_ai-1.1.0/src/des/adapters/driven/logging/audit_events.py +121 -0
  219. nwave_ai-1.1.0/src/des/adapters/driven/logging/jsonl_audit_log_reader.py +90 -0
  220. nwave_ai-1.1.0/src/des/adapters/driven/logging/jsonl_audit_log_writer.py +102 -0
  221. nwave_ai-1.1.0/src/des/adapters/driven/logging/null_audit_log_writer.py +14 -0
  222. nwave_ai-1.1.0/src/des/adapters/driven/logging/silent_logger.py +49 -0
  223. nwave_ai-1.1.0/src/des/adapters/driven/logging/structured_logger.py +93 -0
  224. nwave_ai-1.1.0/src/des/adapters/driven/task_invocation/__init__.py +11 -0
  225. nwave_ai-1.1.0/src/des/adapters/driven/task_invocation/claude_code_task_adapter.py +47 -0
  226. nwave_ai-1.1.0/src/des/adapters/driven/task_invocation/mocked_task_adapter.py +60 -0
  227. nwave_ai-1.1.0/src/des/adapters/driven/time/__init__.py +10 -0
  228. nwave_ai-1.1.0/src/des/adapters/driven/time/mocked_time.py +53 -0
  229. nwave_ai-1.1.0/src/des/adapters/driven/time/system_time.py +20 -0
  230. nwave_ai-1.1.0/src/des/adapters/driven/validation/__init__.py +12 -0
  231. nwave_ai-1.1.0/src/des/adapters/driven/validation/git_scope_checker.py +108 -0
  232. nwave_ai-1.1.0/src/des/adapters/drivers/__init__.py +13 -0
  233. nwave_ai-1.1.0/src/des/adapters/drivers/hooks/__init__.py +12 -0
  234. nwave_ai-1.1.0/src/des/adapters/drivers/hooks/claude_code_hook_adapter.py +1245 -0
  235. nwave_ai-1.1.0/src/des/adapters/drivers/hooks/mocked_hook.py +60 -0
  236. nwave_ai-1.1.0/src/des/adapters/drivers/validators/__init__.py +6 -0
  237. nwave_ai-1.1.0/src/des/adapters/drivers/validators/mocked_validator.py +41 -0
  238. nwave_ai-1.1.0/src/des/application/__init__.py +16 -0
  239. nwave_ai-1.1.0/src/des/application/boundary_rules_generator.py +120 -0
  240. nwave_ai-1.1.0/src/des/application/boundary_rules_template.py +55 -0
  241. nwave_ai-1.1.0/src/des/application/config_loader.py +101 -0
  242. nwave_ai-1.1.0/src/des/application/orchestrator.py +1085 -0
  243. nwave_ai-1.1.0/src/des/application/post_tool_use_service.py +105 -0
  244. nwave_ai-1.1.0/src/des/application/pre_tool_use_service.py +159 -0
  245. nwave_ai-1.1.0/src/des/application/prompt_validator.py +79 -0
  246. nwave_ai-1.1.0/src/des/application/recovery_guidance_handler.py +476 -0
  247. nwave_ai-1.1.0/src/des/application/schema_rollback_handler.py +275 -0
  248. nwave_ai-1.1.0/src/des/application/stale_execution_detector.py +199 -0
  249. nwave_ai-1.1.0/src/des/application/stale_resolver.py +123 -0
  250. nwave_ai-1.1.0/src/des/application/subagent_stop_service.py +498 -0
  251. nwave_ai-1.1.0/src/des/application/tdd_template_loader.py +135 -0
  252. nwave_ai-1.1.0/src/des/application/validator.py +638 -0
  253. nwave_ai-1.1.0/src/des/cli/__init__.py +0 -0
  254. nwave_ai-1.1.0/src/des/cli/log_phase.py +165 -0
  255. nwave_ai-1.1.0/src/des/cli/roadmap.py +219 -0
  256. nwave_ai-1.1.0/src/des/cli/verify_deliver_integrity.py +131 -0
  257. nwave_ai-1.1.0/src/des/config/__init__.py +0 -0
  258. nwave_ai-1.1.0/src/des/config/des_defaults.yaml +28 -0
  259. nwave_ai-1.1.0/src/des/domain/__init__.py +36 -0
  260. nwave_ai-1.1.0/src/des/domain/abandoned_phase_detector.py +269 -0
  261. nwave_ai-1.1.0/src/des/domain/audit_log_path_resolver.py +87 -0
  262. nwave_ai-1.1.0/src/des/domain/deliver_integrity_verifier.py +112 -0
  263. nwave_ai-1.1.0/src/des/domain/des_enforcement_policy.py +71 -0
  264. nwave_ai-1.1.0/src/des/domain/des_marker_generator.py +37 -0
  265. nwave_ai-1.1.0/src/des/domain/des_marker_parser.py +74 -0
  266. nwave_ai-1.1.0/src/des/domain/invocation_limits_validator.py +130 -0
  267. nwave_ai-1.1.0/src/des/domain/log_integrity_validator.py +209 -0
  268. nwave_ai-1.1.0/src/des/domain/marker_completeness_policy.py +66 -0
  269. nwave_ai-1.1.0/src/des/domain/max_turns_policy.py +74 -0
  270. nwave_ai-1.1.0/src/des/domain/phase_event.py +176 -0
  271. nwave_ai-1.1.0/src/des/domain/phase_state_validator.py +176 -0
  272. nwave_ai-1.1.0/src/des/domain/prompt_metadata_extractor.py +57 -0
  273. nwave_ai-1.1.0/src/des/domain/result.py +68 -0
  274. nwave_ai-1.1.0/src/des/domain/roadmap_schema.py +137 -0
  275. nwave_ai-1.1.0/src/des/domain/roadmap_validator.py +306 -0
  276. nwave_ai-1.1.0/src/des/domain/schema_version_detector.py +62 -0
  277. nwave_ai-1.1.0/src/des/domain/session_guard_policy.py +78 -0
  278. nwave_ai-1.1.0/src/des/domain/silent_completion_detector.py +249 -0
  279. nwave_ai-1.1.0/src/des/domain/specifications.py +196 -0
  280. nwave_ai-1.1.0/src/des/domain/stale_detection_result.py +166 -0
  281. nwave_ai-1.1.0/src/des/domain/stale_execution.py +89 -0
  282. nwave_ai-1.1.0/src/des/domain/step_completion_validator.py +282 -0
  283. nwave_ai-1.1.0/src/des/domain/step_file_repository.py +76 -0
  284. nwave_ai-1.1.0/src/des/domain/tdd_schema.py +288 -0
  285. nwave_ai-1.1.0/src/des/domain/timeout_instruction_template.py +90 -0
  286. nwave_ai-1.1.0/src/des/domain/timeout_monitor.py +74 -0
  287. nwave_ai-1.1.0/src/des/domain/timeout_warning_builder.py +42 -0
  288. nwave_ai-1.1.0/src/des/domain/turn_config.py +90 -0
  289. nwave_ai-1.1.0/src/des/domain/turn_counter.py +66 -0
  290. nwave_ai-1.1.0/src/des/domain/validation_error_detector.py +298 -0
  291. nwave_ai-1.1.0/src/des/domain/value_objects.py +161 -0
  292. nwave_ai-1.1.0/src/des/ports/__init__.py +32 -0
  293. nwave_ai-1.1.0/src/des/ports/driven_ports/__init__.py +20 -0
  294. nwave_ai-1.1.0/src/des/ports/driven_ports/audit_log_reader.py +41 -0
  295. nwave_ai-1.1.0/src/des/ports/driven_ports/audit_log_writer.py +62 -0
  296. nwave_ai-1.1.0/src/des/ports/driven_ports/commit_verifier.py +53 -0
  297. nwave_ai-1.1.0/src/des/ports/driven_ports/config_port.py +38 -0
  298. nwave_ai-1.1.0/src/des/ports/driven_ports/execution_log_reader.py +84 -0
  299. nwave_ai-1.1.0/src/des/ports/driven_ports/filesystem_port.py +44 -0
  300. nwave_ai-1.1.0/src/des/ports/driven_ports/logging_port.py +51 -0
  301. nwave_ai-1.1.0/src/des/ports/driven_ports/scope_checker.py +60 -0
  302. nwave_ai-1.1.0/src/des/ports/driven_ports/task_invocation_port.py +36 -0
  303. nwave_ai-1.1.0/src/des/ports/driven_ports/time_provider_port.py +15 -0
  304. nwave_ai-1.1.0/src/des/ports/driver_ports/__init__.py +14 -0
  305. nwave_ai-1.1.0/src/des/ports/driver_ports/pre_tool_use_port.py +85 -0
  306. nwave_ai-1.1.0/src/des/ports/driver_ports/subagent_stop_port.py +63 -0
  307. nwave_ai-1.1.0/src/des/ports/driver_ports/validator_port.py +29 -0
nwave_ai-1.1.0/LICENSE ADDED
@@ -0,0 +1,21 @@
1
+ MIT License
2
+
3
+ Copyright (c) 2026 Alessandro Digioia & Michele Brissoni
4
+
5
+ Permission is hereby granted, free of charge, to any person obtaining a copy
6
+ of this software and associated documentation files (the "Software"), to deal
7
+ in the Software without restriction, including without limitation the rights
8
+ to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
9
+ copies of the Software, and to permit persons to whom the Software is
10
+ furnished to do so, subject to the following conditions:
11
+
12
+ The above copyright notice and this permission notice shall be included in all
13
+ copies or substantial portions of the Software.
14
+
15
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
16
+ IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
17
+ FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
18
+ AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
19
+ LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
20
+ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
21
+ SOFTWARE.
@@ -0,0 +1,205 @@
1
+ Metadata-Version: 2.4
2
+ Name: nwave-ai
3
+ Version: 1.1.0
4
+ Summary: CLI installer for the nWave AI methodology framework
5
+ Project-URL: Homepage, https://github.com/nwave-ai/nwave
6
+ Project-URL: Documentation, https://github.com/nwave-ai/nwave#readme
7
+ Project-URL: Repository, https://github.com/nwave-ai/nwave
8
+ Project-URL: Issues, https://github.com/nwave-ai/nwave/issues
9
+ Author-email: Michele Brissoni <michele.brissoni@brix.consulting>, Alessandro Digioia <alessandro.digioia@brix.consulting>, nWave AI <info@nwave.ai>
10
+ License: MIT
11
+ License-File: LICENSE
12
+ Keywords: ai,automation,cli,developer-tools,installer
13
+ Classifier: Development Status :: 3 - Alpha
14
+ Classifier: Environment :: Console
15
+ Classifier: Intended Audience :: Developers
16
+ Classifier: License :: OSI Approved :: MIT License
17
+ Classifier: Operating System :: OS Independent
18
+ Classifier: Programming Language :: Python :: 3
19
+ Classifier: Programming Language :: Python :: 3.10
20
+ Classifier: Programming Language :: Python :: 3.11
21
+ Classifier: Programming Language :: Python :: 3.12
22
+ Classifier: Programming Language :: Python :: 3.13
23
+ Classifier: Topic :: Software Development :: Build Tools
24
+ Classifier: Topic :: System :: Installation/Setup
25
+ Classifier: Typing :: Typed
26
+ Requires-Python: >=3.10
27
+ Requires-Dist: httpx>=0.27.0
28
+ Requires-Dist: packaging>=21.0
29
+ Requires-Dist: platformdirs>=4.2.0
30
+ Requires-Dist: pydantic-settings>=2.1.0
31
+ Requires-Dist: pydantic>=2.5.0
32
+ Requires-Dist: pyyaml>=6.0
33
+ Requires-Dist: rich>=13.7.0
34
+ Requires-Dist: typer>=0.12.0
35
+ Provides-Extra: dev
36
+ Requires-Dist: allure-pytest>=2.13.0; extra == 'dev'
37
+ Requires-Dist: bandit[toml]>=1.7.0; extra == 'dev'
38
+ Requires-Dist: click>=8.0.0; extra == 'dev'
39
+ Requires-Dist: colorama>=0.4.0; extra == 'dev'
40
+ Requires-Dist: commitizen>=3.12.0; extra == 'dev'
41
+ Requires-Dist: cosmic-ray>=8.4.0; extra == 'dev'
42
+ Requires-Dist: detect-secrets>=1.4.0; extra == 'dev'
43
+ Requires-Dist: fpdf2>=2.7.0; extra == 'dev'
44
+ Requires-Dist: gitlint>=0.19.0; extra == 'dev'
45
+ Requires-Dist: mutmut>=2.4.0; extra == 'dev'
46
+ Requires-Dist: mypy>=1.8.0; extra == 'dev'
47
+ Requires-Dist: pre-commit>=3.6.0; extra == 'dev'
48
+ Requires-Dist: pytest-asyncio>=0.23.0; extra == 'dev'
49
+ Requires-Dist: pytest-bdd>=7.0.0; extra == 'dev'
50
+ Requires-Dist: pytest-cov>=4.1.0; extra == 'dev'
51
+ Requires-Dist: pytest-describe-it>=0.1.0; extra == 'dev'
52
+ Requires-Dist: pytest-describe>=2.1.0; extra == 'dev'
53
+ Requires-Dist: pytest-html>=4.0.0; extra == 'dev'
54
+ Requires-Dist: pytest-mock>=3.12.0; extra == 'dev'
55
+ Requires-Dist: pytest-pspec>=0.0.4; extra == 'dev'
56
+ Requires-Dist: pytest-watch>=4.2.0; extra == 'dev'
57
+ Requires-Dist: pytest-xdist>=3.5.0; extra == 'dev'
58
+ Requires-Dist: pytest>=8.0.0; extra == 'dev'
59
+ Requires-Dist: python-semantic-release>=9.0.0; extra == 'dev'
60
+ Requires-Dist: respx>=0.20.0; extra == 'dev'
61
+ Requires-Dist: ruff==0.15.0; extra == 'dev'
62
+ Requires-Dist: tqdm>=4.64.0; extra == 'dev'
63
+ Provides-Extra: test
64
+ Requires-Dist: pytest-asyncio>=0.23.0; extra == 'test'
65
+ Requires-Dist: pytest-bdd>=7.0.0; extra == 'test'
66
+ Requires-Dist: pytest-cov>=4.1.0; extra == 'test'
67
+ Requires-Dist: pytest-xdist>=3.5.0; extra == 'test'
68
+ Requires-Dist: pytest>=8.0.0; extra == 'test'
69
+ Requires-Dist: respx>=0.20.0; extra == 'test'
70
+ Description-Content-Type: text/markdown
71
+
72
+ # nWave: Acceptance Test Driven Development with AI
73
+
74
+ A framework for systematic software development using ATDD (Acceptance Test Driven Development) with intelligent AI agent orchestration. nWave guides you through a 6-wave workflow (DISCOVER, DISCUSS, DESIGN, DISTILL, DEVELOP, DELIVER) with 22 specialized agents providing evidence-based decision making, architecture design, test-driven implementation, and production readiness validation.
75
+
76
+ ## Install
77
+
78
+ ```bash
79
+ pipx install nwave-ai
80
+ nwave-ai install
81
+ ```
82
+
83
+ Close and reopen Claude Code. The nWave agents and slash commands will appear in your command palette.
84
+
85
+ ## Quick Start
86
+
87
+ After installation, use nWave commands in any Claude Code project:
88
+
89
+ ```bash
90
+ # Product discovery and requirements gathering
91
+ /nw:discover "market research for feature X"
92
+ /nw:discuss "feature requirements"
93
+
94
+ # Design and testing
95
+ /nw:design --architecture=hexagonal
96
+ /nw:distill "acceptance test scenarios"
97
+
98
+ # Implementation and quality assurance
99
+ /nw:baseline "measure current state"
100
+ /nw:roadmap "create implementation plan"
101
+ /nw:split "break into atomic tasks"
102
+ /nw:execute "run individual task"
103
+ /nw:review "quality check"
104
+ /nw:deliver "production readiness"
105
+ ```
106
+
107
+ For guidance on workflow selection, see the [Jobs To Be Done Guide](https://github.com/nwave-ai/nwave/tree/main/docs/guides/jobs-to-be-done-guide.md).
108
+
109
+ ## Core Concepts
110
+
111
+ ### 6-Wave ATDD Workflow
112
+
113
+ Each wave produces validated artifacts with input from specialized agents:
114
+
115
+ - **DISCOVER** - Evidence-based product discovery
116
+ - **DISCUSS** - Requirements gathering and business analysis
117
+ - **DESIGN** - Architecture design with technology selection
118
+ - **DISTILL** - BDD acceptance tests that define "done"
119
+ - **DEVELOP** - Outside-in TDD implementation with atomic tasks
120
+ - **DELIVER** - Production readiness validation
121
+
122
+ ### 22 Specialized Agents
123
+
124
+ - **11 Primary Agents**: One per wave plus cross-wave specialists (researcher, troubleshooter, data-engineer, documentarist, agent-builder)
125
+ - **11 Reviewer Agents**: Peer review with equal expertise reducing bias
126
+
127
+ ### 18 Slash Commands
128
+
129
+ Wave commands (/nw:discover, /nw:discuss, /nw:design, /nw:distill, /nw:deliver, /nw:devops); execution commands (/nw:roadmap, /nw:execute, /nw:review, /nw:finalize); cross-wave commands (/nw:research, /nw:document, /nw:root-why, /nw:refactor, /nw:mikado, /nw:mutation-test); and utilities (/nw:diagram, /nw:forge).
130
+
131
+ ### DES: Deterministic Execution System
132
+
133
+ DES enforces execution discipline through Claude Code hooks:
134
+
135
+ - Pre-task validation and post-tool-use monitoring
136
+ - Comprehensive audit logging for compliance and debugging
137
+ - Configurable per-project via `.nwave/des-config.json`
138
+
139
+ ### 5-Layer Quality Assurance
140
+
141
+ Layer 1: Unit testing; Layer 2: Integration testing; Layer 3: Adversarial validation; Layer 4: Peer review; Layer 5: Mutation testing.
142
+
143
+ ## What Gets Installed
144
+
145
+ The installer configures 22 agents, 18 commands, templates, skills, and DES hooks in `~/.claude/`, making them available across all Claude Code projects.
146
+
147
+ Installation layout includes:
148
+
149
+ - Agent specifications in `~/.claude/agents/nw/`
150
+ - Command definitions in `~/.claude/commands/nw/`
151
+ - Templates and skills in `~/.claude/templates/` and `~/.claude/skills/`
152
+ - DES runtime and hooks in `~/.claude/`
153
+
154
+ ## Requirements
155
+
156
+ - **Python 3.10+**
157
+ - **Claude Code CLI**
158
+
159
+ ## Usage
160
+
161
+ ```bash
162
+ # Install nWave framework
163
+ nwave-ai install
164
+
165
+ # Preview changes without installing
166
+ nwave-ai install --dry-run
167
+
168
+ # Backup before updating
169
+ nwave-ai install --backup-only
170
+
171
+ # Restore from backup
172
+ nwave-ai install --restore
173
+
174
+ # Show version
175
+ nwave-ai version
176
+
177
+ # Uninstall
178
+ nwave-ai uninstall
179
+ ```
180
+
181
+ For detailed installation instructions and troubleshooting, see the [Installation Guide](https://github.com/nwave-ai/nwave/tree/main/docs/guides/installation-guide.md).
182
+
183
+ ## Documentation
184
+
185
+ - **[Installation Guide](https://github.com/nwave-ai/nwave/tree/main/docs/guides/installation-guide.md)** - Step-by-step setup
186
+ - **[Jobs To Be Done Guide](https://github.com/nwave-ai/nwave/tree/main/docs/guides/jobs-to-be-done-guide.md)** - When to use each workflow
187
+ - **[Commands Reference](https://github.com/nwave-ai/nwave/tree/main/docs/reference/nwave-commands-reference.md)** - All commands and agents
188
+ - **[5-Layer Testing Guides](https://github.com/nwave-ai/nwave/tree/main/docs/guides/)** - Quality assurance workflows
189
+ - **[DES API Reference](https://github.com/nwave-ai/nwave/tree/main/docs/reference/des-orchestrator-api.md)** - Execution system API
190
+ - **[Plugin Architecture](https://github.com/nwave-ai/nwave/tree/main/docs/reference/nwave-plugin-architecture.md)** - Plugin system reference
191
+ - **[Troubleshooting Guide](https://github.com/nwave-ai/nwave/tree/main/docs/guides/troubleshooting-guide.md)** - Common issues and solutions
192
+
193
+ Complete documentation: [github.com/nwave-ai/nwave/tree/main/docs](https://github.com/nwave-ai/nwave/tree/main/docs)
194
+
195
+ ## Community
196
+
197
+ Join the **[nWave Discord community](https://discord.gg/DeYdSNk6)** for help, discussions, and to share your experience.
198
+
199
+ ## License
200
+
201
+ MIT License. See [LICENSE](https://github.com/nwave-ai/nwave/blob/main/LICENSE) for details.
202
+
203
+ ## Source
204
+
205
+ [github.com/nwave-ai/nwave](https://github.com/nwave-ai/nwave)
@@ -0,0 +1,134 @@
1
+ # nWave: Acceptance Test Driven Development with AI
2
+
3
+ A framework for systematic software development using ATDD (Acceptance Test Driven Development) with intelligent AI agent orchestration. nWave guides you through a 6-wave workflow (DISCOVER, DISCUSS, DESIGN, DISTILL, DEVELOP, DELIVER) with 22 specialized agents providing evidence-based decision making, architecture design, test-driven implementation, and production readiness validation.
4
+
5
+ ## Install
6
+
7
+ ```bash
8
+ pipx install nwave-ai
9
+ nwave-ai install
10
+ ```
11
+
12
+ Close and reopen Claude Code. The nWave agents and slash commands will appear in your command palette.
13
+
14
+ ## Quick Start
15
+
16
+ After installation, use nWave commands in any Claude Code project:
17
+
18
+ ```bash
19
+ # Product discovery and requirements gathering
20
+ /nw:discover "market research for feature X"
21
+ /nw:discuss "feature requirements"
22
+
23
+ # Design and testing
24
+ /nw:design --architecture=hexagonal
25
+ /nw:distill "acceptance test scenarios"
26
+
27
+ # Implementation and quality assurance
28
+ /nw:baseline "measure current state"
29
+ /nw:roadmap "create implementation plan"
30
+ /nw:split "break into atomic tasks"
31
+ /nw:execute "run individual task"
32
+ /nw:review "quality check"
33
+ /nw:deliver "production readiness"
34
+ ```
35
+
36
+ For guidance on workflow selection, see the [Jobs To Be Done Guide](https://github.com/nwave-ai/nwave/tree/main/docs/guides/jobs-to-be-done-guide.md).
37
+
38
+ ## Core Concepts
39
+
40
+ ### 6-Wave ATDD Workflow
41
+
42
+ Each wave produces validated artifacts with input from specialized agents:
43
+
44
+ - **DISCOVER** - Evidence-based product discovery
45
+ - **DISCUSS** - Requirements gathering and business analysis
46
+ - **DESIGN** - Architecture design with technology selection
47
+ - **DISTILL** - BDD acceptance tests that define "done"
48
+ - **DEVELOP** - Outside-in TDD implementation with atomic tasks
49
+ - **DELIVER** - Production readiness validation
50
+
51
+ ### 22 Specialized Agents
52
+
53
+ - **11 Primary Agents**: One per wave plus cross-wave specialists (researcher, troubleshooter, data-engineer, documentarist, agent-builder)
54
+ - **11 Reviewer Agents**: Peer review with equal expertise reducing bias
55
+
56
+ ### 18 Slash Commands
57
+
58
+ Wave commands (/nw:discover, /nw:discuss, /nw:design, /nw:distill, /nw:deliver, /nw:devops); execution commands (/nw:roadmap, /nw:execute, /nw:review, /nw:finalize); cross-wave commands (/nw:research, /nw:document, /nw:root-why, /nw:refactor, /nw:mikado, /nw:mutation-test); and utilities (/nw:diagram, /nw:forge).
59
+
60
+ ### DES: Deterministic Execution System
61
+
62
+ DES enforces execution discipline through Claude Code hooks:
63
+
64
+ - Pre-task validation and post-tool-use monitoring
65
+ - Comprehensive audit logging for compliance and debugging
66
+ - Configurable per-project via `.nwave/des-config.json`
67
+
68
+ ### 5-Layer Quality Assurance
69
+
70
+ Layer 1: Unit testing; Layer 2: Integration testing; Layer 3: Adversarial validation; Layer 4: Peer review; Layer 5: Mutation testing.
71
+
72
+ ## What Gets Installed
73
+
74
+ The installer configures 22 agents, 18 commands, templates, skills, and DES hooks in `~/.claude/`, making them available across all Claude Code projects.
75
+
76
+ Installation layout includes:
77
+
78
+ - Agent specifications in `~/.claude/agents/nw/`
79
+ - Command definitions in `~/.claude/commands/nw/`
80
+ - Templates and skills in `~/.claude/templates/` and `~/.claude/skills/`
81
+ - DES runtime and hooks in `~/.claude/`
82
+
83
+ ## Requirements
84
+
85
+ - **Python 3.10+**
86
+ - **Claude Code CLI**
87
+
88
+ ## Usage
89
+
90
+ ```bash
91
+ # Install nWave framework
92
+ nwave-ai install
93
+
94
+ # Preview changes without installing
95
+ nwave-ai install --dry-run
96
+
97
+ # Backup before updating
98
+ nwave-ai install --backup-only
99
+
100
+ # Restore from backup
101
+ nwave-ai install --restore
102
+
103
+ # Show version
104
+ nwave-ai version
105
+
106
+ # Uninstall
107
+ nwave-ai uninstall
108
+ ```
109
+
110
+ For detailed installation instructions and troubleshooting, see the [Installation Guide](https://github.com/nwave-ai/nwave/tree/main/docs/guides/installation-guide.md).
111
+
112
+ ## Documentation
113
+
114
+ - **[Installation Guide](https://github.com/nwave-ai/nwave/tree/main/docs/guides/installation-guide.md)** - Step-by-step setup
115
+ - **[Jobs To Be Done Guide](https://github.com/nwave-ai/nwave/tree/main/docs/guides/jobs-to-be-done-guide.md)** - When to use each workflow
116
+ - **[Commands Reference](https://github.com/nwave-ai/nwave/tree/main/docs/reference/nwave-commands-reference.md)** - All commands and agents
117
+ - **[5-Layer Testing Guides](https://github.com/nwave-ai/nwave/tree/main/docs/guides/)** - Quality assurance workflows
118
+ - **[DES API Reference](https://github.com/nwave-ai/nwave/tree/main/docs/reference/des-orchestrator-api.md)** - Execution system API
119
+ - **[Plugin Architecture](https://github.com/nwave-ai/nwave/tree/main/docs/reference/nwave-plugin-architecture.md)** - Plugin system reference
120
+ - **[Troubleshooting Guide](https://github.com/nwave-ai/nwave/tree/main/docs/guides/troubleshooting-guide.md)** - Common issues and solutions
121
+
122
+ Complete documentation: [github.com/nwave-ai/nwave/tree/main/docs](https://github.com/nwave-ai/nwave/tree/main/docs)
123
+
124
+ ## Community
125
+
126
+ Join the **[nWave Discord community](https://discord.gg/DeYdSNk6)** for help, discussions, and to share your experience.
127
+
128
+ ## License
129
+
130
+ MIT License. See [LICENSE](https://github.com/nwave-ai/nwave/blob/main/LICENSE) for details.
131
+
132
+ ## Source
133
+
134
+ [github.com/nwave-ai/nwave](https://github.com/nwave-ai/nwave)
@@ -0,0 +1,169 @@
1
+ <!-- version: 1.5.2 -->
2
+
3
+ # nWave Framework
4
+
5
+ ## Overview
6
+
7
+ The nWave framework implements the comprehensive DISCOVER→DISCUSS→DESIGN→DEVOP→DISTILL→DELIVER methodology. This framework provides a streamlined, integrated workflow with complete knowledge preservation for critical technical execution agents and comprehensive 5-layer testing framework.
8
+
9
+ ## nWave Methodology
10
+
11
+ The nWave methodology implements a systematic approach to software development through six distinct waves:
12
+
13
+ 1. **DISCOVER**: Evidence-based product discovery and market validation
14
+ 2. **DISCUSS**: Requirements gathering and business analysis
15
+ 3. **DESIGN**: Architecture design with visual representation
16
+ 4. **DEVOP**: Platform readiness, CI/CD, infrastructure, and deployment design
17
+ 5. **DISTILL**: Acceptance test creation and business validation scenarios
18
+ 6. **DELIVER**: Outside-In TDD implementation with production readiness validation
19
+
20
+ ## Core and Specialist Agents (10 Total)
21
+
22
+ ### 🌊 nWave Core Agents
23
+
24
+ 1. **product-discoverer** → DISCOVER wave (evidence-based discovery)
25
+ 2. **business-analyst** → DISCUSS wave (requirements gathering)
26
+ 3. **solution-architect** → DESIGN wave (architecture & technology)
27
+ 4. **acceptance-designer** → DISTILL wave (test scenarios)
28
+ 5. **test-first-developer** → DELIVER wave (outside-in TDD)
29
+ 6. **feature-completion-coordinator** → DELIVER wave (production readiness)
30
+
31
+ ### 🔧 Specialist Agents (Standalone & Collaborative)
32
+
33
+ 7. **systematic-refactorer** → Essential for Level 1-6 refactoring
34
+ 8. **mikado-refactoring-specialist-enhanced** → Complex refactoring roadmaps
35
+ 9. **root-cause-analyzer** → Debugging, post-mortem, problem research
36
+ 10. **architecture-diagram-manager** → Visual architecture maintenance & updates
37
+
38
+ ## Command Structure
39
+
40
+ ### nWave Core Commands (DW Prefix)
41
+
42
+ - `/nw:discover [product-concept]` - Wave 1: Evidence-based product discovery
43
+ - `/nw:discuss [requirements]` - Wave 2: Business analysis
44
+ - `/nw:design [system-context]` - Wave 3: Architecture design
45
+ - `/nw:devops [deployment-target]` - Wave 4: Platform readiness and infrastructure
46
+ - `/nw:distill [acceptance-criteria]` - Wave 5: Test scenarios
47
+ - `/nw:deliver [feature-description]` - Wave 6: Outside-In TDD implementation
48
+
49
+ ### Specialist Commands
50
+
51
+ - `/nw:mikado [target] [options]` - Complex refactoring roadmaps
52
+ - `/nw:root-why [problem-description]` - Root cause analysis & debugging
53
+ - `/nw:diagram [scope] [action]` - Architecture diagram management
54
+
55
+ ## Knowledge Preservation Guarantee
56
+
57
+ This expansion pack implements **ZERO KNOWLEDGE REDUCTION** for the three critical technical execution agents:
58
+
59
+ - **test-first-developer**: Complete 925-line methodology preserved
60
+ - **systematic-refactorer**: COMPLETE refactoring mechanics database (24 techniques + safety protocols)
61
+ - **mikado-refactoring-specialist-enhanced**: Full enhanced methodology with discovery tracking
62
+
63
+ ## Workflow Templates
64
+
65
+ ### Greenfield Development
66
+
67
+ Complete greenfield project development with full visual architecture lifecycle.
68
+
69
+ ### Brownfield Integration
70
+
71
+ Legacy system enhancement with visual refactoring roadmaps and systematic improvement.
72
+
73
+ ### Rapid Prototyping
74
+
75
+ Streamlined validation workflow with essential visual architecture and accelerated feedback.
76
+
77
+ ## Architecture Diagram Integration
78
+
79
+ The architecture-diagram-manager provides complete visual architecture lifecycle management:
80
+
81
+ - **Creation**: Architecture diagrams from solution-architect decisions
82
+ - **Evolution**: Real-time updates throughout development
83
+ - **Validation**: Visual verification against implementation
84
+ - **Synchronization**: Coordination with refactoring and development progress
85
+
86
+ ## Installation
87
+
88
+ 1. Place this framework in your nWave installation:
89
+
90
+ ```
91
+ nwave/nWave/
92
+ ```
93
+
94
+ 2. Update your configuration to include the nWave framework.
95
+
96
+ 3. Agents will be available via the standard agent syntax.
97
+
98
+ ## Usage Examples
99
+
100
+ ### Execute Full nWave Cycle
101
+
102
+ **Option 1: Automated DELIVER Wave (Recommended)**
103
+ ```bash
104
+ /nw:discover "User authentication market research"
105
+ /nw:discuss "User registration and login requirements"
106
+ /nw:design "Microservices with JWT authentication"
107
+ /nw:distill "User can register and login securely"
108
+ /nw:devops "user-authentication"
109
+ /nw:distill "User can register and login securely"
110
+ /nw:deliver "Implement user authentication with JWT"
111
+ # Automatically: roadmap → execute all steps → finalize
112
+ # Quality gates: 3 + 3N reviews (e.g., 10 steps = 33 reviews)
113
+ ```
114
+
115
+ **Option 2: Manual Granular Control (Advanced)**
116
+ ```bash
117
+ # DISCOVER and DISCUSS and DESIGN waves
118
+ /nw:discover "User authentication market research"
119
+ /nw:discuss "User registration requirements"
120
+ /nw:design "JWT authentication architecture"
121
+
122
+ # DELIVER wave - manual orchestration
123
+ /nw:roadmap @solution-architect "Implement user authentication"
124
+
125
+ # Execute individual steps with 11-phase TDD
126
+ /nw:execute @software-crafter "docs/feature/user-authentication/steps/01-01.json"
127
+ /nw:execute @software-crafter "docs/feature/user-authentication/steps/01-02.json"
128
+ # ... (repeat for all steps)
129
+
130
+ /nw:finalize @platform-architect "user-authentication"
131
+
132
+ # DELIVER wave
133
+ /nw:deliver "user-authentication"
134
+ ```
135
+
136
+ **Option 3: Execute Single Step with Complete 11-Phase TDD**
137
+ ```bash
138
+ # For executing one specific step with full TDD workflow
139
+ /nw:execute @software-crafter "docs/feature/user-auth/steps/01-02.json"
140
+ # Automatic: PREPARE → RED → GREEN → REVIEW → REFACTOR → VALIDATE → COMMIT
141
+ # Includes mandatory reviews and progressive refactoring (L1-L4)
142
+ ```
143
+
144
+ ### Complex Refactoring with Visual Tracking
145
+
146
+ ```
147
+ /nw:mikado "legacy-auth-modernization" --with-diagrams
148
+ /nw:diagram mikado-tree "auth-refactoring" --visualize-dependencies
149
+ ```
150
+
151
+ ### Walking Skeleton with Architecture Validation
152
+
153
+ ```
154
+ /nw:diagram skeleton "user-auth" --minimal-slice
155
+ ```
156
+
157
+ ## Quality Assurance
158
+
159
+ - Complete knowledge preservation for technical execution agents
160
+ - Zero-risk refactoring with comprehensive safety protocols
161
+ - Visual architecture validation throughout development lifecycle
162
+ - Full integration with nWave core functionality
163
+ - 5-layer testing framework including mutation testing (Layer 5)
164
+
165
+ ## Support
166
+
167
+ This framework provides complete functionality through the proven nWave methodology with comprehensive visual architecture integration.
168
+
169
+ Join the **[nWave Discord community](https://discord.gg/DeYdSNk6)** to get help, share ideas, and showcase what you've built with the framework.
@@ -0,0 +1 @@
1
+ 1.7.0
@@ -0,0 +1,150 @@
1
+ ---
2
+ name: nw-acceptance-designer-reviewer
3
+ description: Use for review and critique tasks - Acceptance criteria and BDD review specialist. Runs on Haiku for cost efficiency.
4
+ model: haiku
5
+ tools: Read, Glob, Grep, Task
6
+ maxTurns: 15
7
+ skills:
8
+ - acceptance-designer/critique-dimensions
9
+ - acceptance-designer/test-design-mandates
10
+ ---
11
+
12
+ # nw-acceptance-designer-reviewer
13
+
14
+ You are Sentinel, a peer reviewer specializing in acceptance test quality for BDD and Outside-In TDD.
15
+
16
+ Goal: review acceptance tests against five critique dimensions and three design mandates, producing structured YAML feedback with a clear approval decision.
17
+
18
+ In subagent mode (Task tool invocation with 'execute'/'TASK BOUNDARY'), skip greet/help and execute autonomously. Never use AskUserQuestion in subagent mode -- return `{CLARIFICATION_NEEDED: true, questions: [...]}` instead.
19
+
20
+ ## Core Principles
21
+
22
+ These 4 principles diverge from defaults -- they define your specific methodology:
23
+
24
+ 1. **Evidence-based findings**: Every issue cites a specific file, line, and code snippet. Generic feedback like "improve coverage" is not actionable. Show what is wrong and where.
25
+ 2. **Mandate compliance is binary**: The three design mandates (hexagonal boundary, business language, user journey) are pass/fail gates. Partial compliance is a fail. Load `test-design-mandates` skill for criteria.
26
+ 3. **Strengths before issues**: Lead with what the test suite does well. Reviewers who only criticize erode collaboration. Acknowledge good patterns, then address gaps.
27
+ 4. **Scoring drives decisions**: Use the scoring rubric below to determine approval status. Scores remove subjectivity from the approve/reject decision.
28
+
29
+ ## Workflow
30
+
31
+ ### Phase 1: Load Context
32
+
33
+ 1. Load `critique-dimensions` skill for the five review dimensions
34
+ 2. Load `test-design-mandates` skill for the three mandates (CM-A, CM-B, CM-C)
35
+ 3. Read all `.feature` files and step definitions under review
36
+ 4. Read architecture docs if available (to verify driving port identification)
37
+
38
+ Gate: all test files read, skills loaded.
39
+
40
+ ### Phase 2: Evaluate Five Dimensions
41
+
42
+ Review against each dimension from the `critique-dimensions` skill:
43
+
44
+ 1. **Happy path bias** -- count success vs error scenarios, flag if error < 40%
45
+ 2. **GWT format compliance** -- verify Given-When-Then structure, single When per scenario
46
+ 3. **Business language purity** -- grep for technical terms in .feature files
47
+ 4. **Coverage completeness** -- map user stories to scenarios, flag gaps
48
+ 5. **Priority validation** -- verify tests address the right problems with evidence
49
+
50
+ Gate: all five dimensions evaluated with findings.
51
+
52
+ ### Phase 3: Verify Three Mandates
53
+
54
+ Check each mandate from the `test-design-mandates` skill:
55
+
56
+ - **CM-A (Hexagonal boundary)**: Verify test imports reference driving ports, not internal components
57
+ - **CM-B (Business language)**: Verify step methods delegate to services, assertions check business outcomes
58
+ - **CM-C (User journey)**: Verify scenarios represent complete user journeys with business value
59
+
60
+ Gate: all three mandates evaluated as pass/fail.
61
+
62
+ ### Phase 4: Score and Decide
63
+
64
+ Calculate scores per dimension (0-10 scale):
65
+
66
+ | Score Range | Meaning |
67
+ |---|---|
68
+ | 9-10 | Excellent, no issues |
69
+ | 7-8 | Good, minor issues only |
70
+ | 5-6 | Acceptable, some high-severity issues |
71
+ | 3-4 | Below standard, blockers present |
72
+ | 0-2 | Reject, fundamental problems |
73
+
74
+ Approval decision:
75
+ - **Approved**: All dimensions >= 7, all mandates pass, zero blockers
76
+ - **Conditionally approved**: All dimensions >= 5, zero blockers, some high-severity issues
77
+ - **Rejected**: Any dimension < 5, any mandate fails, or any blocker present
78
+
79
+ ### Phase 5: Produce Review Output
80
+
81
+ Generate structured YAML feedback using the format from the `critique-dimensions` skill.
82
+
83
+ Gate: YAML output produced with approval_status set.
84
+
85
+ ## Critical Rules
86
+
87
+ 1. This agent is read-only. It reads and evaluates test files. It does not modify them.
88
+ 2. Every blocker finding includes the file path, line number, violating code, and a concrete fix suggestion.
89
+ 3. Mandate failures (CM-A, CM-B, CM-C) are always blocker severity regardless of other scores.
90
+ 4. Maximum two review iterations per handoff cycle. If still rejected after two iterations, recommend escalation to stakeholder workshop.
91
+
92
+ ## Examples
93
+
94
+ ### Example 1: Clean Approval
95
+
96
+ Feature files have 22 scenarios: 13 happy path, 9 error paths (41% error coverage). All scenarios use business language. All imports reference driving ports. All user stories covered.
97
+
98
+ Output:
99
+ ```yaml
100
+ approval_status: "approved"
101
+ scores: {happy_path_bias: 9, gwt_format: 10, business_language: 10, coverage: 9, priority: 8}
102
+ mandates: {CM_A: pass, CM_B: pass, CM_C: pass}
103
+ strengths:
104
+ - "Error path coverage at 41% exceeds 40% threshold"
105
+ - "Scenario names consistently express user value"
106
+ issues_identified: {}
107
+ ```
108
+
109
+ ### Example 2: Rejection with Blocker
110
+
111
+ Tests import `from myapp.validator import InputValidator` (internal component) instead of driving port.
112
+
113
+ Output:
114
+ ```yaml
115
+ approval_status: "rejected_pending_revisions"
116
+ scores: {happy_path_bias: 7, gwt_format: 8, business_language: 8, coverage: 7, priority: 7}
117
+ mandates: {CM_A: fail, CM_B: pass, CM_C: pass}
118
+ strengths:
119
+ - "Business language is clean across all Gherkin scenarios"
120
+ issues_identified:
121
+ hexagonal_boundary:
122
+ - issue: "test_order.py line 12 imports InputValidator (internal component)"
123
+ severity: "blocker"
124
+ recommendation: "Replace with: from myapp.orchestrator import AppOrchestrator"
125
+ ```
126
+
127
+ ### Example 3: Conditional Approval
128
+
129
+ Good overall quality but technical term "API" found in one scenario name.
130
+
131
+ Output:
132
+ ```yaml
133
+ approval_status: "conditionally_approved"
134
+ scores: {happy_path_bias: 8, gwt_format: 9, business_language: 6, coverage: 8, priority: 7}
135
+ mandates: {CM_A: pass, CM_B: pass, CM_C: pass}
136
+ strengths:
137
+ - "Walking skeleton strategy well-applied: 3 E2E + 17 focused"
138
+ issues_identified:
139
+ business_language:
140
+ - issue: "order_processing.feature line 45: Scenario name contains 'API endpoint'"
141
+ severity: "high"
142
+ recommendation: "Rename to business-focused: 'Customer retrieves order details'"
143
+ ```
144
+
145
+ ## Constraints
146
+
147
+ - This agent reviews acceptance tests only. It does not create, modify, or delete test files.
148
+ - It does not review production code, architecture docs, or other artifacts.
149
+ - It reuses the `acceptance-designer` skills (critique-dimensions, test-design-mandates) for review criteria.
150
+ - Token economy: structured YAML output, no prose summaries beyond what the format requires.