aiwf 0.1.0 → 0.3.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 (163) hide show
  1. package/CHANGELOG.md +46 -0
  2. package/CLAUDE.md +19 -0
  3. package/LICENSE +1 -1
  4. package/README.ko.md +90 -62
  5. package/README.md +109 -62
  6. package/claude-code/{simone/.simone → aiwf/en/.aiwf}/01_PROJECT_DOCS/ARCHITECTURE.md +1 -1
  7. package/claude-code/{simone/.simone → aiwf/en/.aiwf}/02_REQUIREMENTS/M01_Backend_Setup/M01_milestone_meta.md +5 -1
  8. package/claude-code/{simone/.simone → aiwf/en/.aiwf}/02_REQUIREMENTS/M01_Backend_Setup/PRD_AMEND_01_Auth_Flow_Update.md +5 -1
  9. package/claude-code/{simone/.simone/03_SPRINTS/CLAUDE.MD → aiwf/en/.aiwf/03_SPRINTS/CLAUDE.md} +28 -7
  10. package/claude-code/{simone/.simone → aiwf/en/.aiwf}/03_SPRINTS/S01_M01_Initial_API/S01_sprint_meta.md +8 -1
  11. package/claude-code/{simone/.simone → aiwf/en/.aiwf}/03_SPRINTS/S01_M01_Initial_API/T01_S01_Setup_Project_Structure.md +5 -1
  12. package/claude-code/aiwf/en/.aiwf/04_GENERAL_TASKS/CLAUDE.md +96 -0
  13. package/claude-code/{simone/.simone → aiwf/en/.aiwf}/04_GENERAL_TASKS/T002_API_Rate_Limiting.md +7 -2
  14. package/claude-code/{simone/.simone → aiwf/en/.aiwf}/04_GENERAL_TASKS/TX001_Refactor_Logging_Module.md +7 -2
  15. package/claude-code/{simone/.simone → aiwf/en/.aiwf}/05_ARCHITECTURAL_DECISIONS/ADR001_Chosen_Database_System.md +7 -1
  16. package/claude-code/{simone/.simone → aiwf/en/.aiwf}/05_ARCHITECTURAL_DECISIONS/ADR002_API_Authentication_Method.md +7 -1
  17. package/claude-code/aiwf/en/.aiwf/10_STATE_OF_PROJECT/2025-06-12-12-00-needs-focus.md +139 -0
  18. package/claude-code/aiwf/en/.aiwf/10_STATE_OF_PROJECT/2025-06-12-12-00-test-alignment.md +155 -0
  19. package/claude-code/aiwf/en/.aiwf/10_STATE_OF_PROJECT/2025-06-13-00-50-solid-progress.md +122 -0
  20. package/claude-code/aiwf/en/.aiwf/10_STATE_OF_PROJECT/2025-06-14-08-30-infrastructure-challenges.md +141 -0
  21. package/claude-code/aiwf/en/.aiwf/10_STATE_OF_PROJECT/2025-06-16-21-48-critical-foundation-issues.md +177 -0
  22. package/claude-code/aiwf/en/.aiwf/10_STATE_OF_PROJECT/2025-06-17-15-08-solid-progress.md +149 -0
  23. package/claude-code/aiwf/en/.aiwf/10_STATE_OF_PROJECT/index.json +5 -0
  24. package/claude-code/aiwf/en/.aiwf/10_STATE_OF_PROJECT/sync-index.js +78 -0
  25. package/claude-code/aiwf/en/.aiwf/98_PROMPTS/github_integration.md +130 -0
  26. package/claude-code/aiwf/en/.aiwf/98_PROMPTS/useful-prompts.md +31 -0
  27. package/claude-code/aiwf/en/.aiwf/98_PROMPTS/vibe-front-prompts.md +89 -0
  28. package/claude-code/{simone/.simone → aiwf/en/.aiwf}/99_TEMPLATES/task_template.md +1 -0
  29. package/claude-code/{simone/.simone/CLAUDE.MD → aiwf/en/.aiwf/CLAUDE.md} +13 -4
  30. package/claude-code/{simone/.simone → aiwf/en/.aiwf}/README.md +6 -6
  31. package/claude-code/aiwf/en/.claude/CLAUDE_BE.md +276 -0
  32. package/claude-code/aiwf/en/.claude/commands/aiwf/aiwf_changelog.md +82 -0
  33. package/claude-code/aiwf/en/.claude/commands/aiwf/aiwf_code_review.md +88 -0
  34. package/claude-code/aiwf/en/.claude/commands/aiwf/aiwf_commit.md +160 -0
  35. package/claude-code/aiwf/en/.claude/commands/aiwf/aiwf_create_general_task.md +147 -0
  36. package/claude-code/aiwf/en/.claude/commands/aiwf/aiwf_create_milestone_plan.md +194 -0
  37. package/claude-code/aiwf/en/.claude/commands/aiwf/aiwf_create_prd.md +272 -0
  38. package/claude-code/aiwf/en/.claude/commands/aiwf/aiwf_create_sprint_tasks.md +189 -0
  39. package/claude-code/aiwf/en/.claude/commands/aiwf/aiwf_create_sprints_from_milestone.md +121 -0
  40. package/claude-code/aiwf/en/.claude/commands/aiwf/aiwf_discuss_review.md +29 -0
  41. package/claude-code/aiwf/en/.claude/commands/aiwf/aiwf_do_task.md +109 -0
  42. package/claude-code/aiwf/en/.claude/commands/aiwf/aiwf_docs.md +225 -0
  43. package/claude-code/aiwf/en/.claude/commands/aiwf/aiwf_infinite.md +202 -0
  44. package/claude-code/aiwf/en/.claude/commands/aiwf/aiwf_initialize.md +134 -0
  45. package/claude-code/aiwf/en/.claude/commands/aiwf/aiwf_issue_create.md +65 -0
  46. package/claude-code/aiwf/en/.claude/commands/aiwf/aiwf_language_manager.md +287 -0
  47. package/claude-code/aiwf/en/.claude/commands/aiwf/aiwf_language_status.md +246 -0
  48. package/claude-code/aiwf/en/.claude/commands/aiwf/aiwf_mermaid.md +272 -0
  49. package/claude-code/aiwf/en/.claude/commands/aiwf/aiwf_pr_create.md +76 -0
  50. package/claude-code/aiwf/en/.claude/commands/aiwf/aiwf_prime.md +9 -0
  51. package/claude-code/aiwf/en/.claude/commands/aiwf/aiwf_project_review.md +261 -0
  52. package/claude-code/aiwf/en/.claude/commands/aiwf/aiwf_switch_language.md +160 -0
  53. package/claude-code/aiwf/en/.claude/commands/aiwf/aiwf_test.md +125 -0
  54. package/claude-code/aiwf/en/.claude/commands/aiwf/aiwf_testing_review.md +198 -0
  55. package/claude-code/aiwf/en/.claude/commands/aiwf/aiwf_tm-run-all-subtask.md +206 -0
  56. package/claude-code/aiwf/en/.claude/commands/aiwf/aiwf_ultrathink_code_advanced.md +460 -0
  57. package/claude-code/aiwf/en/.claude/commands/aiwf/aiwf_ultrathink_code_basic.md +165 -0
  58. package/claude-code/aiwf/en/.claude/commands/aiwf/aiwf_ultrathink_general.md +362 -0
  59. package/claude-code/aiwf/en/.claude/commands/aiwf/aiwf_yolo.md +300 -0
  60. package/claude-code/aiwf/en/.claude/mcp.json +31 -0
  61. package/claude-code/aiwf/en/.claude/settings.json +102 -0
  62. package/claude-code/aiwf/ko/.aiwf/00_PROJECT_MANIFEST.md +49 -0
  63. package/claude-code/aiwf/ko/.aiwf/01_PROJECT_DOCS/ARCHITECTURE.md +55 -0
  64. package/claude-code/aiwf/ko/.aiwf/02_REQUIREMENTS/CLAUDE.md +78 -0
  65. package/claude-code/aiwf/ko/.aiwf/02_REQUIREMENTS/M01_Backend_Setup/M01_milestone_meta.md +42 -0
  66. package/claude-code/aiwf/ko/.aiwf/02_REQUIREMENTS/M01_Backend_Setup/PRD_AMEND_01_Auth_Flow_Update.md +73 -0
  67. package/claude-code/aiwf/ko/.aiwf/02_REQUIREMENTS/M01_Backend_Setup/PRD_Backend_Setup.md +98 -0
  68. package/claude-code/aiwf/ko/.aiwf/02_REQUIREMENTS/M01_Backend_Setup/SPECS_API_V1.md +232 -0
  69. package/claude-code/aiwf/ko/.aiwf/03_SPRINTS/CLAUDE.md +83 -0
  70. package/claude-code/aiwf/ko/.aiwf/03_SPRINTS/S01_M01_Initial_API/S01_sprint_meta.md +49 -0
  71. package/claude-code/aiwf/ko/.aiwf/03_SPRINTS/S01_M01_Initial_API/T01_S01_Setup_Project_Structure.md +60 -0
  72. package/claude-code/aiwf/ko/.aiwf/04_GENERAL_TASKS/CLAUDE.md +96 -0
  73. package/claude-code/aiwf/ko/.aiwf/04_GENERAL_TASKS/T002_API_Rate_Limiting.md +54 -0
  74. package/claude-code/aiwf/ko/.aiwf/04_GENERAL_TASKS/TX001_Refactor_Logging_Module.md +58 -0
  75. package/claude-code/aiwf/ko/.aiwf/05_ARCHITECTURAL_DECISIONS/ADR001_Chosen_Database_System.md +119 -0
  76. package/claude-code/aiwf/ko/.aiwf/05_ARCHITECTURAL_DECISIONS/ADR002_API_Authentication_Method.md +124 -0
  77. package/claude-code/aiwf/ko/.aiwf/10_STATE_OF_PROJECT/2025-06-12-12-00-needs-focus.md +139 -0
  78. package/claude-code/aiwf/ko/.aiwf/10_STATE_OF_PROJECT/2025-06-12-12-00-test-alignment.md +155 -0
  79. package/claude-code/aiwf/ko/.aiwf/10_STATE_OF_PROJECT/2025-06-13-00-50-solid-progress.md +122 -0
  80. package/claude-code/aiwf/ko/.aiwf/10_STATE_OF_PROJECT/2025-06-14-08-30-infrastructure-challenges.md +141 -0
  81. package/claude-code/aiwf/ko/.aiwf/10_STATE_OF_PROJECT/2025-06-16-21-48-critical-foundation-issues.md +177 -0
  82. package/claude-code/aiwf/ko/.aiwf/10_STATE_OF_PROJECT/2025-06-17-15-08-solid-progress.md +149 -0
  83. package/claude-code/aiwf/ko/.aiwf/10_STATE_OF_PROJECT/index.json +5 -0
  84. package/claude-code/aiwf/ko/.aiwf/10_STATE_OF_PROJECT/sync-index.js +78 -0
  85. package/claude-code/aiwf/ko/.aiwf/98_PROMPTS/github_integration.md +130 -0
  86. package/claude-code/aiwf/ko/.aiwf/98_PROMPTS/useful-prompts.md +31 -0
  87. package/claude-code/aiwf/ko/.aiwf/98_PROMPTS/vibe-front-prompts.md +89 -0
  88. package/claude-code/aiwf/ko/.aiwf/99_TEMPLATES/adr_template.md +49 -0
  89. package/claude-code/aiwf/ko/.aiwf/99_TEMPLATES/milestone_meta_template.md +25 -0
  90. package/claude-code/aiwf/ko/.aiwf/99_TEMPLATES/project_manifest_template.md +39 -0
  91. package/claude-code/aiwf/ko/.aiwf/99_TEMPLATES/sprint_meta_template.md +23 -0
  92. package/claude-code/aiwf/ko/.aiwf/99_TEMPLATES/task_template.md +36 -0
  93. package/claude-code/aiwf/ko/.aiwf/CLAUDE.md +76 -0
  94. package/claude-code/aiwf/ko/.aiwf/README.md +97 -0
  95. package/claude-code/aiwf/ko/.claude/CLAUDE_BE.md +276 -0
  96. package/claude-code/aiwf/ko/.claude/commands/aiwf/aiwf_changelog.md +82 -0
  97. package/claude-code/aiwf/ko/.claude/commands/aiwf/aiwf_code_review.md +88 -0
  98. package/claude-code/aiwf/ko/.claude/commands/aiwf/aiwf_commit.md +160 -0
  99. package/claude-code/aiwf/ko/.claude/commands/aiwf/aiwf_create_general_task.md +147 -0
  100. package/claude-code/aiwf/ko/.claude/commands/aiwf/aiwf_create_milestone_plan.md +194 -0
  101. package/claude-code/aiwf/ko/.claude/commands/aiwf/aiwf_create_prd.md +280 -0
  102. package/claude-code/aiwf/ko/.claude/commands/aiwf/aiwf_create_sprint_tasks.md +189 -0
  103. package/claude-code/aiwf/ko/.claude/commands/aiwf/aiwf_create_sprints_from_milestone.md +121 -0
  104. package/claude-code/aiwf/ko/.claude/commands/aiwf/aiwf_discuss_review.md +29 -0
  105. package/claude-code/aiwf/ko/.claude/commands/aiwf/aiwf_do_task.md +109 -0
  106. package/claude-code/aiwf/ko/.claude/commands/aiwf/aiwf_docs.md +225 -0
  107. package/claude-code/aiwf/ko/.claude/commands/aiwf/aiwf_infinite.md +202 -0
  108. package/claude-code/aiwf/ko/.claude/commands/aiwf/aiwf_initialize.md +134 -0
  109. package/claude-code/aiwf/ko/.claude/commands/aiwf/aiwf_issue_create.md +65 -0
  110. package/claude-code/aiwf/ko/.claude/commands/aiwf/aiwf_language_manager.md +287 -0
  111. package/claude-code/aiwf/ko/.claude/commands/aiwf/aiwf_language_status.md +246 -0
  112. package/claude-code/aiwf/ko/.claude/commands/aiwf/aiwf_mermaid.md +272 -0
  113. package/claude-code/aiwf/ko/.claude/commands/aiwf/aiwf_pr_create.md +76 -0
  114. package/claude-code/aiwf/ko/.claude/commands/aiwf/aiwf_prime.md +9 -0
  115. package/claude-code/aiwf/ko/.claude/commands/aiwf/aiwf_project_review.md +261 -0
  116. package/claude-code/aiwf/ko/.claude/commands/aiwf/aiwf_switch_language.md +160 -0
  117. package/claude-code/aiwf/ko/.claude/commands/aiwf/aiwf_test.md +124 -0
  118. package/claude-code/aiwf/ko/.claude/commands/aiwf/aiwf_testing_review.md +198 -0
  119. package/claude-code/aiwf/ko/.claude/commands/aiwf/aiwf_tm-run-all-subtask.md +210 -0
  120. package/claude-code/aiwf/ko/.claude/commands/aiwf/aiwf_ultrathink_code_advanced.md +460 -0
  121. package/claude-code/aiwf/ko/.claude/commands/aiwf/aiwf_ultrathink_code_basic.md +165 -0
  122. package/claude-code/aiwf/ko/.claude/commands/aiwf/aiwf_ultrathink_general.md +305 -0
  123. package/claude-code/aiwf/ko/.claude/commands/aiwf/aiwf_yolo.md +300 -0
  124. package/claude-code/aiwf/ko/.claude/mcp.json +31 -0
  125. package/claude-code/aiwf/ko/.claude/settings.json +102 -0
  126. package/{AI-WORKFLOW.md → docs/AI-WORKFLOW.ko.md} +38 -24
  127. package/docs/AI-WORKFLOW.md +299 -0
  128. package/docs/COMMANDS_GUIDE.ko.md +727 -0
  129. package/docs/COMMANDS_GUIDE.md +726 -0
  130. package/docs/CONTRIBUTING.md +406 -0
  131. package/docs/DEVELOPMENT_GUIDE.md +727 -0
  132. package/docs/Enhanced_Installation_Flow_Design.md +498 -0
  133. package/docs/PRD.ko.md +148 -0
  134. package/docs/PRD.md +150 -0
  135. package/docs/moonklabs-metadata-system-prd.md +127 -0
  136. package/index.js +1493 -122
  137. package/jest.config.js +4 -0
  138. package/language-cli.js +279 -0
  139. package/language-utils.js +330 -0
  140. package/package.json +23 -10
  141. package/scripts/validate-commands.cjs +338 -0
  142. package/scripts/validate-commands.js +254 -0
  143. package/tests/basic.test.js +62 -0
  144. package/tests/commands.test.js +127 -0
  145. package/tests/installer.test.js +129 -0
  146. package/tests/language-utils.test.js +271 -0
  147. package/COMMANDS_GUIDE.md +0 -462
  148. package/PRD.ko.md +0 -96
  149. package/PRD.md +0 -98
  150. package/claude-code/simone/.simone/04_GENERAL_TASKS/CLAUDE.MD +0 -51
  151. package/claude-code/simone/CHANGELOG.md +0 -71
  152. package/claude-code/simone/LICENSE +0 -21
  153. package/claude-code/simone/README.md +0 -219
  154. package/claude-code/simone/SYNC_GUIDE.md +0 -172
  155. package/claude-code/simone/sync-simone.sh +0 -138
  156. /package/claude-code/{simone/.simone → aiwf/en/.aiwf}/00_PROJECT_MANIFEST.md +0 -0
  157. /package/claude-code/{simone/.simone → aiwf/en/.aiwf}/02_REQUIREMENTS/CLAUDE.md +0 -0
  158. /package/claude-code/{simone/.simone → aiwf/en/.aiwf}/02_REQUIREMENTS/M01_Backend_Setup/PRD_Backend_Setup.md +0 -0
  159. /package/claude-code/{simone/.simone → aiwf/en/.aiwf}/02_REQUIREMENTS/M01_Backend_Setup/SPECS_API_V1.md +0 -0
  160. /package/claude-code/{simone/.simone → aiwf/en/.aiwf}/99_TEMPLATES/adr_template.md +0 -0
  161. /package/claude-code/{simone/.simone → aiwf/en/.aiwf}/99_TEMPLATES/milestone_meta_template.md +0 -0
  162. /package/claude-code/{simone/.simone → aiwf/en/.aiwf}/99_TEMPLATES/project_manifest_template.md +0 -0
  163. /package/claude-code/{simone/.simone → aiwf/en/.aiwf}/99_TEMPLATES/sprint_meta_template.md +0 -0
@@ -0,0 +1,109 @@
1
+ # $Argument-Based AIWF Task Processing
2
+
3
+ **IMPORTANT:** Follow from Top to Bottom - don't skip anything!
4
+
5
+ **CREATE A TODO LIST** with exactly these 8 items
6
+
7
+ 1. Analyse scope from argument
8
+ 2. Identify task file
9
+ 3. Analyse the task
10
+ 4. Set status to in_progress
11
+ 5. Execute task work
12
+ 6. Placeholder
13
+ 7. Execute Code review
14
+ 8. Finalize Task status
15
+
16
+ ## 1 · Analyse scope from argument
17
+
18
+ <$ARGUMENTS> ⇒ Task ID, Sprint ID, or empty (select next open task in current sprint).
19
+
20
+ ## 2 · Identify task file
21
+
22
+ Search .aiwf/03_SPRINTS/ and .aiwf/04_GENERAL_TASKS/.
23
+ If no open task matches, pause and ask the user how to proceed.
24
+
25
+ ## 3 · Analyse the task
26
+
27
+ Read the task description. If anything is unclear, ask clarifying questions before continuing.
28
+
29
+ **CRITICAL CONTEXT VALIDATION:** Before executing any task spin up Parallel Subagents for these tasks:
30
+
31
+ 1. **Sprint Context:** Confirm task belongs to current sprint scope
32
+ 2. **Dependencies:** Check if any dependent tasks need to be completed first
33
+ 3. **Requirements:** Read relevant requirements docs in `.aiwf/02_REQUIREMENTS/`
34
+ 4. **Scope Verification:** Ensure task aligns with current sprint objectives
35
+ 5. **GitHub Issue Check:** Check if task file has a `github_issue` field
36
+
37
+ **IMPORTANT:** If task references functionality from future sprints or has unmet dependencies, pause and ask for clarification.
38
+
39
+ **GitHub Issue Creation (Optional):**
40
+
41
+ - If task doesn't have a GitHub issue and user wants issue tracking
42
+ - Suggest using `/project:aiwf:issue_create {task_id}` command
43
+
44
+ ## 4 · Set status to in_progress
45
+
46
+ - Find out the current local timestamp (YYYY-MM-DD HH:MM).
47
+ - Update front-matter to **status: in_progress** and set Updated time
48
+ - Update ./aiwf/00_PROJECT_MANIFEST.md to set task in progress, updated time and current Sprint Status.
49
+ - **GitHub Issue Update (if exists):**
50
+ ```bash
51
+ gh issue comment {issue_number} --body "🚀 Task work has started."
52
+ gh issue edit {issue_number} --add-label "in-progress"
53
+ ```
54
+
55
+ ## 5 · Execute task work
56
+
57
+ - Follow Description, Goal and Acceptance Criteria.
58
+ - Consult supporting docs in .aiwf/01_PROJECT_DOCS/ and .aiwf/02_REQUIREMENTS/.
59
+ - Iterate over subtasks:
60
+ 1. Pick the next incomplete subtask.
61
+ 2. Implement the required changes, consulting docs as needed.
62
+ 3. Mark the subtask done.
63
+ 4. Append a log entry to **## Output Log** using the format `[YYYY-MM-DD HH:MM]: <message>`.
64
+ 5. Repeat until all subtasks are complete.
65
+
66
+ ## 6 · Placeholder
67
+
68
+ Placeholder - just move on to the next step
69
+
70
+ ## 7 · Execute Code Review
71
+
72
+ Follow these steps for a Code Review (in order)
73
+
74
+ - include @.claude/commands/aiwf/aiwf_code_review.md and use the Task ID as Scope.
75
+ - Follow the instructions in the file to run a code review in **PARALLEL SUBAGENTS**
76
+ - When done continue acting on the results accordingly
77
+ - Understand and think about the results
78
+ - on **FAIL**
79
+ - thoroughly understand the problem
80
+ - extend the Current Task with the Subtasks identified by the review
81
+ - go back to "5 · Execute task work"
82
+ - on **PASS**
83
+ - move on to next step
84
+
85
+ ## 8 · Finalize task status
86
+
87
+ - set the Task status to **completed**
88
+ - Rename the Task file accordingly to enable proper Completed recognition from the filename (TX[TASK_ID]...)
89
+ - Update .aiwf/00_PROJECT_MANIFEST.md to reflect the new status
90
+ - **GitHub Issue Update (if exists):**
91
+ ```bash
92
+ gh issue comment {issue_number} --body "✅ Task has been completed."
93
+ gh issue edit {issue_number} --remove-label "in-progress" --add-label "completed"
94
+ ```
95
+ - **Report** the result to the user
96
+
97
+ ✅ **Result**: Quick statement of success
98
+
99
+ 🔎 **Scope**: Identified task or reason none was processed
100
+
101
+ 💬 **Summary**: One-paragraph recap of what was done or why blocked
102
+
103
+ ⏭️ **Next steps**: Recommended follow-up actions
104
+
105
+ - **Suggestions** for the User:
106
+
107
+ - 🛠️ Use /project:aiwf:commit `TASK_ID` to commit the changes to git
108
+ - 🔀 Use /project:aiwf:pr_create `TASK_ID` to create a Pull Request
109
+ - 🧹 Use /clear to clear the context before starting the next Task
@@ -0,0 +1,225 @@
1
+ # Update Documentation
2
+
3
+ Analyze current project documentation and update it to reflect implementation progress and recent changes.
4
+
5
+ ## Create a TODO with EXACTLY these 10 Items
6
+
7
+ 1. Analyze documentation update scope
8
+ 2. Review project manifest and milestones
9
+ 3. Assess sprint documentation status
10
+ 4. Update ARCHITECTURE.md if needed
11
+ 5. Update milestone requirements documentation
12
+ 6. Update sprint documentation
13
+ 7. Review and update PROJECT_MANIFEST.md
14
+ 8. Update README.md and project documentation
15
+ 9. Update additional documentation folders
16
+ 10. Generate documentation update summary
17
+
18
+ Follow step by step and adhere closely to the following instructions for each step.
19
+
20
+ ## DETAILS on every TODO item
21
+
22
+ ### 1. Analyze documentation update scope
23
+
24
+ Check: <$ARGUMENTS>
25
+
26
+ If empty, perform full documentation review. Otherwise interpret <$ARGUMENTS> to identify specific focus areas (milestone, sprint, architecture component, etc.).
27
+
28
+ **CRITICAL:** Read `.aiwf/00_PROJECT_MANIFEST.md` FIRST to understand:
29
+ - Current milestone and sprint status
30
+ - What work is complete vs in-progress vs planned
31
+ - Recent changes that need documentation
32
+
33
+ ### 2. Review project manifest and milestones
34
+
35
+ **USE PARALLEL AGENTS** to:
36
+ - READ `.aiwf/00_PROJECT_MANIFEST.md` for current status
37
+ - READ all milestone requirements in `.aiwf/02_REQUIREMENTS/`
38
+ - IDENTIFY what has changed since last documentation update
39
+ - CHECK for any milestones marked as completed that need status updates
40
+
41
+ ### 3. Assess sprint documentation status
42
+
43
+ **USE PARALLEL AGENTS** to:
44
+ - NAVIGATE to `.aiwf/03_SPRINTS/` to find current and completed sprints
45
+ - READ sprint meta files to understand deliverables
46
+ - CHECK task completion status within each sprint
47
+ - IDENTIFY sprints that need status updates or completion markers
48
+
49
+ ### 4. Update ARCHITECTURE.md if needed
50
+
51
+ - READ `.aiwf/01_PROJECT_DOCS/ARCHITECTURE.md`
52
+ - REVIEW implementation to see if architecture has evolved
53
+ - UPDATE diagrams if structure has changed
54
+ - ADD new components or modules discovered during implementation
55
+ - DOCUMENT any architectural decisions made during recent sprints
56
+
57
+ **IMPORTANT:** Only update if architecture has actually changed. Don't modify for minor details.
58
+
59
+ ### 5. Update milestone requirements documentation
60
+
61
+ For each active or recently completed milestone:
62
+ - NAVIGATE to `.aiwf/02_REQUIREMENTS/M{N}_*/`
63
+ - UPDATE `requirements.md` with:
64
+ - ✅ Completed requirements
65
+ - 🚧 In-progress items with % complete
66
+ - 📋 Planned items not yet started
67
+ - ❌ Deferred or removed requirements with justification
68
+ - ADD implementation notes for complex features
69
+ - DOCUMENT any requirement changes or clarifications
70
+
71
+ ### 6. Update sprint documentation
72
+
73
+ For current and recently completed sprints:
74
+ - NAVIGATE to `.aiwf/03_SPRINTS/S{N}_*/`
75
+ - UPDATE sprint meta file with:
76
+ - Current status (PLANNED/IN_PROGRESS/COMPLETED)
77
+ - Completion percentage
78
+ - Actual vs planned deliverables
79
+ - UPDATE individual task files:
80
+ - Mark completed tasks with ✅
81
+ - Add implementation notes
82
+ - Document any blockers or challenges
83
+ - Link to relevant code files
84
+
85
+ ### 7. Review and update PROJECT_MANIFEST.md
86
+
87
+ Update the manifest with:
88
+ - **Current Status**: Update milestone and sprint progress
89
+ - **Sprint Tracking**: Mark completed sprints, update current sprint
90
+ - **Deliverables**: Update completion status for each deliverable
91
+ - **Recent Achievements**: Add notable completions
92
+ - **Known Issues**: Document any blockers or technical debt
93
+ - **Next Steps**: Update based on completed work
94
+
95
+ **Format Example:**
96
+ ```markdown
97
+ ## Current Status
98
+ - **Active Milestone**: M01 - [Name] (75% complete)
99
+ - **Current Sprint**: S03 - [Focus] (IN PROGRESS - 40% complete)
100
+ - **Last Updated**: YYYY-MM-DD HH:MM
101
+
102
+ ## Sprint Progress
103
+
104
+ ### Current Sprint (S03)
105
+ **Status**: IN PROGRESS (40% complete)
106
+ **Deliverables**:
107
+ - ✅ [Completed feature] - Done
108
+ - 🚧 [In-progress feature] - 60% complete
109
+ - 📋 [Planned feature] - Not started
110
+ ```
111
+
112
+ ### 8. Update README.md and project documentation
113
+
114
+ **Review and update the project's main README.md:**
115
+ - CHECK if README.md exists in project root
116
+ - UPDATE project description if scope has evolved
117
+ - REFRESH installation/setup instructions based on recent changes
118
+ - UPDATE usage examples with new features
119
+ - ADD/UPDATE badges (build status, test coverage, version)
120
+ - DOCUMENT new dependencies or requirements
121
+ - UPDATE contributing guidelines if process changed
122
+ - REFRESH API documentation if endpoints changed
123
+
124
+ **Key sections to review:**
125
+ - Project overview and purpose
126
+ - Features list (mark completed/in-progress/planned)
127
+ - Installation and setup instructions
128
+ - Usage examples and code snippets
129
+ - Configuration options
130
+ - API reference (if applicable)
131
+ - Contributing guidelines
132
+ - License information
133
+
134
+ ### 9. Update additional documentation folders
135
+
136
+ **Search and update all documentation across the project:**
137
+
138
+ **Common documentation locations to check:**
139
+ - `docs/` - Main documentation folder
140
+ - `documentation/` - Alternative documentation folder
141
+ - `doc/` - Short form documentation folder
142
+ - `api-docs/` - API-specific documentation
143
+ - `*.md` files in project root (CONTRIBUTING.md, CHANGELOG.md, etc.)
144
+
145
+ **For each documentation folder found:**
146
+ - REVIEW all markdown files for outdated information
147
+ - UPDATE technical specifications with implementation details
148
+ - REFRESH user guides with new features
149
+ - UPDATE API documentation with new endpoints/changes
150
+ - ADD migration guides if breaking changes introduced
151
+ - UPDATE troubleshooting sections with known issues/solutions
152
+
153
+ **Specific files to check:**
154
+ - `CHANGELOG.md` - Add recent changes and version updates
155
+ - `CONTRIBUTING.md` - Update development workflow if changed
156
+ - `docs/setup.md` - Refresh installation/configuration steps
157
+ - `docs/api.md` - Update API endpoints and examples
158
+ - `docs/deployment.md` - Update deployment procedures
159
+ - `docs/testing.md` - Document new test procedures
160
+
161
+ **Documentation consistency checks:**
162
+ - Ensure version numbers are consistent across all docs
163
+ - Verify code examples still work with current implementation
164
+ - Update screenshots/diagrams if UI/architecture changed
165
+ - Check that all links (internal and external) are valid
166
+ - Ensure terminology is consistent throughout
167
+
168
+ ### 10. Generate documentation update summary
169
+
170
+ Create a summary report of all documentation updates:
171
+
172
+ ```markdown
173
+ # Documentation Update Summary - [YYYY-MM-DD]
174
+
175
+ ## Files Updated
176
+
177
+ ### AIWF Documentation
178
+ - `.aiwf/00_PROJECT_MANIFEST.md` - [brief description of changes]
179
+ - `.aiwf/01_PROJECT_DOCS/ARCHITECTURE.md` - [if updated]
180
+ - `.aiwf/02_REQUIREMENTS/M01_*/requirements.md` - [status updates]
181
+ - `.aiwf/03_SPRINTS/S0N_*/meta.md` - [sprint status changes]
182
+
183
+ ### Project Documentation
184
+ - `README.md` - [main project documentation updates]
185
+ - `CHANGELOG.md` - [version and change history updates]
186
+ - `CONTRIBUTING.md` - [contribution guideline updates]
187
+ - `docs/*.md` - [specific documentation file updates]
188
+ - Other documentation folders - [list any additional updates]
189
+
190
+ ## Key Changes
191
+ 1. [Major documentation change or update]
192
+ 2. [New sections added]
193
+ 3. [Status updates applied]
194
+
195
+ ## Project Status After Update
196
+ - **Milestone Progress**: M01 at X% (was Y%)
197
+ - **Sprint Progress**: S0N at X% (was Y%)
198
+ - **Documentation Coverage**: [assessment of documentation completeness]
199
+
200
+ ## Recommendations
201
+ - [Any documentation gaps identified]
202
+ - [Suggested documentation improvements]
203
+ - [Areas needing clarification]
204
+ ```
205
+
206
+ ## Guidelines
207
+
208
+ - PRESERVE original requirements and plans (use strikethrough or status markers)
209
+ - MAINTAIN consistent status indicators (✅, 🚧, 📋, ❌)
210
+ - UPDATE percentages based on actual implementation
211
+ - DOCUMENT deviations from original plan with justification
212
+ - KEEP documentation concise but comprehensive
213
+ - ENSURE all dates and timestamps are current
214
+ - CROSS-REFERENCE related documentation sections
215
+ - SEARCH for all .md files across the project, not just in expected locations
216
+ - CHECK root directory for standalone documentation files
217
+ - VERIFY all code examples in documentation still work
218
+ - ENSURE documentation is accessible to new team members
219
+
220
+ **IMPORTANT:** Documentation should reflect reality. Update based on actual implementation status, not aspirational goals.
221
+
222
+ **CRITICAL:** Don't assume documentation locations. Always search the entire project for:
223
+ - `*.md` files in any directory
224
+ - Common names: README, CHANGELOG, CONTRIBUTING, LICENSE, INSTALL, USAGE
225
+ - Documentation in unexpected places (e.g., inside src/, lib/, or other code directories)
@@ -0,0 +1,202 @@
1
+ # INFINITE AGENTIC LOOP COMMAND
2
+
3
+ Think deeply about this infinite generation task. You are about to embark on a sophisticated iterative creation process.
4
+
5
+ **Variables:**
6
+
7
+ spec_file: $ARGUMENTS
8
+ output_dir: $ARGUMENTS
9
+ count: $ARGUMENTS
10
+
11
+ **ARGUMENTS PARSING:**
12
+ Parse the following arguments from "$ARGUMENTS":
13
+
14
+ 1. `spec_file` - Path to the markdown specification file
15
+ 2. `output_dir` - Directory where iterations will be saved
16
+ 3. `count` - Number of iterations (1-N or "infinite")
17
+
18
+ **PHASE 1: SPECIFICATION ANALYSIS**
19
+ Read and deeply understand the specification file at `spec_file`. This file defines:
20
+
21
+ - What type of content to generate
22
+ - The format and structure requirements
23
+ - Any specific parameters or constraints
24
+ - The intended evolution pattern between iterations
25
+
26
+ Think carefully about the spec's intent and how each iteration should build upon previous work.
27
+
28
+ **PHASE 2: OUTPUT DIRECTORY RECONNAISSANCE**
29
+ Thoroughly analyze the `output_dir` to understand the current state:
30
+
31
+ - List all existing files and their naming patterns
32
+ - Identify the highest iteration number currently present
33
+ - Analyze the content evolution across existing iterations
34
+ - Understand the trajectory of previous generations
35
+ - Determine what gaps or opportunities exist for new iterations
36
+
37
+ **PHASE 3: ITERATION STRATEGY**
38
+ Based on the spec analysis and existing iterations:
39
+
40
+ - Determine the starting iteration number (highest existing + 1)
41
+ - Plan how each new iteration will be unique and evolutionary
42
+ - Consider how to build upon previous iterations while maintaining novelty
43
+ - If count is "infinite", prepare for continuous generation until context limits
44
+
45
+ **PHASE 4: PARALLEL AGENT COORDINATION**
46
+ Deploy multiple Sub Agents to generate iterations in parallel for maximum efficiency and creative diversity:
47
+
48
+ **Sub-Agent Distribution Strategy:**
49
+
50
+ - For count 1-5: Launch all agents simultaneously
51
+ - For count 6-20: Launch in batches of 5 agents to manage coordination
52
+ - For "infinite": Launch waves of 3-5 agents, monitoring context and spawning new waves
53
+
54
+ **Agent Assignment Protocol:**
55
+ Each Sub Agent receives:
56
+
57
+ 1. **Spec Context**: Complete specification file analysis
58
+ 2. **Directory Snapshot**: Current state of output_dir at launch time
59
+ 3. **Iteration Assignment**: Specific iteration number (starting_number + agent_index)
60
+ 4. **Uniqueness Directive**: Explicit instruction to avoid duplicating concepts from existing iterations
61
+ 5. **Quality Standards**: Detailed requirements from the specification
62
+
63
+ **Agent Task Specification:**
64
+
65
+ ```
66
+ TASK: Generate iteration [NUMBER] for [SPEC_FILE] in [OUTPUT_DIR]
67
+
68
+ You are Sub Agent [X] generating iteration [NUMBER].
69
+
70
+ CONTEXT:
71
+ - Specification: [Full spec analysis]
72
+ - Existing iterations: [Summary of current output_dir contents]
73
+ - Your iteration number: [NUMBER]
74
+ - Assigned creative direction: [Specific innovation dimension to explore]
75
+
76
+ REQUIREMENTS:
77
+ 1. Read and understand the specification completely
78
+ 2. Analyze existing iterations to ensure your output is unique
79
+ 3. Generate content following the spec format exactly
80
+ 4. Focus on [assigned innovation dimension] while maintaining spec compliance
81
+ 5. Create file with exact name pattern specified
82
+ 6. Ensure your iteration adds genuine value and novelty
83
+
84
+ DELIVERABLE: Single file as specified, with unique innovative content
85
+ ```
86
+
87
+ **Parallel Execution Management:**
88
+
89
+ - Launch all assigned Sub Agents simultaneously using Task tool
90
+ - Monitor agent progress and completion
91
+ - Handle any agent failures by reassigning iteration numbers
92
+ - Ensure no duplicate iteration numbers are generated
93
+ - Collect and validate all completed iterations
94
+
95
+ **PHASE 5: INFINITE MODE ORCHESTRATION**
96
+ For infinite generation mode, orchestrate continuous parallel waves:
97
+
98
+ **Wave-Based Generation:**
99
+
100
+ 1. **Wave Planning**: Determine next wave size (3-5 agents) based on context capacity
101
+ 2. **Agent Preparation**: Prepare fresh context snapshots for each new wave
102
+ 3. **Progressive Sophistication**: Each wave should explore more advanced innovation dimensions
103
+ 4. **Context Monitoring**: Track total context usage across all agents and main orchestrator
104
+ 5. **Graceful Conclusion**: When approaching context limits, complete current wave and summarize
105
+
106
+ **Infinite Execution Cycle:**
107
+
108
+ ```
109
+ WHILE context_capacity > threshold:
110
+ 1. Assess current output_dir state
111
+ 2. Plan next wave of agents (size based on remaining context)
112
+ 3. Assign increasingly sophisticated creative directions
113
+ 4. Launch parallel Sub Agent wave
114
+ 5. Monitor wave completion
115
+ 6. Update directory state snapshot
116
+ 7. Evaluate context capacity remaining
117
+ 8. If sufficient capacity: Continue to next wave
118
+ 9. If approaching limits: Complete final wave and summarize
119
+ ```
120
+
121
+ **Progressive Sophistication Strategy:**
122
+
123
+ - **Wave 1**: Basic functional replacements with single innovation dimension
124
+ - **Wave 2**: Multi-dimensional innovations with enhanced interactions
125
+ - **Wave 3**: Complex paradigm combinations with adaptive behaviors
126
+ - **Wave N**: Revolutionary concepts pushing the boundaries of the specification
127
+
128
+ **Context Optimization:**
129
+
130
+ - Each wave uses fresh agent instances to avoid context accumulation
131
+ - Main orchestrator maintains lightweight state tracking
132
+ - Progressive summarization of completed iterations to manage context
133
+ - Strategic pruning of less essential details in later waves
134
+
135
+ **EXECUTION PRINCIPLES:**
136
+
137
+ **Quality & Uniqueness:**
138
+
139
+ - Each iteration must be genuinely unique and valuable
140
+ - Build upon previous work while introducing novel elements
141
+ - Maintain consistency with the original specification
142
+ - Ensure proper file organization and naming
143
+
144
+ **Parallel Coordination:**
145
+
146
+ - Deploy Sub Agents strategically to maximize creative diversity
147
+ - Assign distinct innovation dimensions to each agent to avoid overlap
148
+ - Coordinate timing to prevent file naming conflicts
149
+ - Monitor all agents for successful completion and quality
150
+
151
+ **Scalability & Efficiency:**
152
+
153
+ - Think deeply about the evolution trajectory across parallel streams
154
+ - For infinite mode, optimize for maximum valuable output before context exhaustion
155
+ - Use wave-based generation to manage context limits intelligently
156
+ - Balance parallel speed with quality and coordination overhead
157
+
158
+ **Agent Management:**
159
+
160
+ - Provide each Sub Agent with complete context and clear assignments
161
+ - Handle agent failures gracefully with iteration reassignment
162
+ - Ensure all parallel outputs integrate cohesively with the overall progression
163
+
164
+ **ULTRA-THINKING DIRECTIVE:**
165
+ Before beginning generation, engage in extended thinking about:
166
+
167
+ **Specification & Evolution:**
168
+
169
+ - The deeper implications of the specification
170
+ - How to create meaningful progression across iterations
171
+ - What makes each iteration valuable and unique
172
+ - How to balance consistency with innovation
173
+
174
+ **Parallel Strategy:**
175
+
176
+ - Optimal Sub Agent distribution for the requested count
177
+ - How to assign distinct creative directions to maximize diversity
178
+ - Wave sizing and timing for infinite mode
179
+ - Context management across multiple parallel agents
180
+
181
+ **Coordination Challenges:**
182
+
183
+ - How to prevent duplicate concepts across parallel streams
184
+ - Strategies for ensuring each agent produces genuinely unique output
185
+ - Managing file naming and directory organization with concurrent writes
186
+ - Quality control mechanisms for parallel outputs
187
+
188
+ **Infinite Mode Optimization:**
189
+
190
+ - Wave-based generation patterns for sustained output
191
+ - Progressive sophistication strategies across multiple waves
192
+ - Context capacity monitoring and graceful conclusion planning
193
+ - Balancing speed of parallel generation with depth of innovation
194
+
195
+ **Risk Mitigation:**
196
+
197
+ - Handling agent failures and iteration reassignment
198
+ - Ensuring coherent overall progression despite parallel execution
199
+ - Managing context window limits across the entire system
200
+ - Maintaining specification compliance across all parallel outputs
201
+
202
+ Begin execution with deep analysis of these parallel coordination challenges and proceed systematically through each phase, leveraging Sub Agents for maximum creative output and efficiency.
@@ -0,0 +1,134 @@
1
+ # AIWF Framework Initialization
2
+
3
+ Initialize the AIWF project management framework through an adaptive, interactive process.
4
+
5
+ ## Create a TODO with EXACTLY these items
6
+
7
+ 1. Scan and analyze the project
8
+ 2. Interactive confirmation with user
9
+ 3. Check for existing AIWF documents
10
+ 4. Guide document creation process
11
+ 5. Create first milestone for AIWF
12
+ 6. Generate project manifest
13
+ 7. Provide next steps
14
+
15
+ ## DETAILS on every TODO item
16
+
17
+ ### 1. Scan and analyze the project
18
+
19
+ **Detect project characteristics:**
20
+
21
+ - Check for package.json, requirements.txt, composer.json, etc.
22
+ - Identify project type (Node.js, Python, PHP, etc.)
23
+ - Scan overall project structure
24
+ - Check if this is a new or existing project
25
+ - Look for existing documentation (README, docs/, etc.)
26
+
27
+ **Keep findings brief** - Just identify the essentials
28
+
29
+ ### 2. Interactive confirmation with user
30
+
31
+ **Present findings conversationally:**
32
+
33
+ ```
34
+ I found this to be a [project type] project named [detected name].
35
+ Is this correct? Should I proceed with AIWF setup?
36
+ ```
37
+
38
+ **Get user confirmation before continuing**
39
+
40
+ ### 3. Check for existing AIWF documents
41
+
42
+ **Scan .aiwf/ directory for:**
43
+
44
+ - Any documents in 01_PROJECT_DOCS/
45
+ - Any milestones in 02_REQUIREMENTS/
46
+ - Any existing sprints or tasks
47
+ - Current manifest status
48
+
49
+ **Interactive decision:**
50
+
51
+ - If documents found: "I found existing documents: [list]. Should we work with these or extend them?"
52
+ - If no documents: "No AIWF documents found yet. Do you have any existing project documentation you'd like to copy in before we continue?"
53
+
54
+ **Allow user to:**
55
+
56
+ - Use existing documents
57
+ - Add new documents
58
+ - Start fresh
59
+ - Cancel to add documents manually first
60
+
61
+ ### 4. Guide document creation process
62
+
63
+ **Based on user's choice:**
64
+
65
+ **If starting fresh or extending:**
66
+
67
+ - Perform deep analysis of the codebase
68
+ - Identify key components and architecture patterns
69
+ - Create draft ARCHITECTURE.md based on analysis
70
+ - Use Q&A style to refine and complete:
71
+ - "What's the main purpose of this project?"
72
+ - "What are the key technical decisions?"
73
+ - "Any important constraints or requirements?"
74
+
75
+ **If using existing docs:**
76
+
77
+ - Import and adapt existing documentation
78
+ - Fill in any AIWF-specific sections
79
+ - Ensure compatibility with framework structure
80
+
81
+ **Keep it conversational and adaptive**
82
+
83
+ ### 5. Create first milestone for AIWF
84
+
85
+ **Determine appropriate first milestone:**
86
+
87
+ - If new project: Start with setup/foundation milestone
88
+ - If existing project: Identify current phase and create appropriate milestone
89
+
90
+ **Interactive milestone creation:**
91
+
92
+ - "Based on the project state, I suggest creating milestone: [name]"
93
+ - "What would you like to focus on in this milestone?"
94
+ - Create milestone structure with initial requirements
95
+ - Keep scope realistic and focused
96
+
97
+ ### 6. Generate project manifest
98
+
99
+ **Automatically generate manifest using:**
100
+
101
+ - Information gathered during setup
102
+ - Created/imported documentation
103
+ - Current milestone details
104
+ - Project metadata
105
+
106
+ **No user interaction needed** - Just inform when complete
107
+
108
+ ### 7. Provide next steps
109
+
110
+ **Customized guidance based on setup:**
111
+
112
+ ```
113
+ ✅ AIWF initialized for [project name]!
114
+
115
+ Current setup:
116
+ - Project type: [type]
117
+ - Current milestone: [milestone]
118
+ - Documents: [created/imported]
119
+
120
+ Next steps:
121
+ - Review your architecture: 01_PROJECT_DOCS/ARCHITECTURE.md
122
+ - Check milestone requirements: 02_REQUIREMENTS/[milestone]/
123
+ - Start first task: /project:aiwf:create_general_task
124
+
125
+ Ready to begin development!
126
+ ```
127
+
128
+ ## ADAPTIVE PROCESS NOTES
129
+
130
+ - **Stay conversational** - Ask questions naturally, not like a form
131
+ - **Be smart** - Use AI to understand context and make intelligent suggestions
132
+ - **Allow flexibility** - User can skip, cancel, or modify at any point
133
+ - **Focus on value** - Only create what's useful for the specific project
134
+ - **Keep it simple** - Don't overwhelm with options or details