anyone-can-architect 0.2.0 → 0.3.0

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 (124) hide show
  1. package/README.md +6 -4
  2. package/README.zh-CN.md +4 -2
  3. package/VERSION +1 -1
  4. package/axioms/README.md +1 -1
  5. package/axioms/writing.md +1 -1
  6. package/dist/antigravity/aca/SKILL.md +3 -2
  7. package/dist/antigravity/aca-design/SKILL.md +1 -1
  8. package/dist/antigravity/aca-implement/SKILL.md +90 -109
  9. package/dist/antigravity/aca-release/SKILL.md +4 -3
  10. package/dist/antigravity/aca-repo-audit/SKILL.md +11 -9
  11. package/dist/antigravity/aca-review/SKILL.md +114 -115
  12. package/dist/antigravity/aca-test/SKILL.md +110 -0
  13. package/dist/antigravity/aca-walkthrough/SKILL.md +1 -1
  14. package/dist/antigravity-cli/aca/SKILL.md +3 -2
  15. package/dist/antigravity-cli/aca-design/SKILL.md +1 -1
  16. package/dist/antigravity-cli/aca-implement/SKILL.md +90 -109
  17. package/dist/antigravity-cli/aca-release/SKILL.md +4 -3
  18. package/dist/antigravity-cli/aca-repo-audit/SKILL.md +11 -9
  19. package/dist/antigravity-cli/aca-review/SKILL.md +114 -115
  20. package/dist/antigravity-cli/aca-test/SKILL.md +110 -0
  21. package/dist/antigravity-cli/aca-walkthrough/SKILL.md +1 -1
  22. package/dist/codex/aca/SKILL.md +3 -2
  23. package/dist/codex/aca-design/SKILL.md +1 -1
  24. package/dist/codex/aca-implement/SKILL.md +90 -109
  25. package/dist/codex/aca-release/SKILL.md +4 -3
  26. package/dist/codex/aca-repo-audit/SKILL.md +11 -9
  27. package/dist/codex/aca-review/SKILL.md +114 -115
  28. package/dist/codex/aca-test/SKILL.md +110 -0
  29. package/dist/codex/aca-walkthrough/SKILL.md +1 -1
  30. package/dist/cursor/aca/SKILL.md +3 -2
  31. package/dist/cursor/aca-design/SKILL.md +1 -1
  32. package/dist/cursor/aca-implement/SKILL.md +90 -109
  33. package/dist/cursor/aca-release/SKILL.md +4 -3
  34. package/dist/cursor/aca-repo-audit/SKILL.md +11 -9
  35. package/dist/cursor/aca-review/SKILL.md +114 -115
  36. package/dist/cursor/aca-test/SKILL.md +111 -0
  37. package/dist/cursor/aca-walkthrough/SKILL.md +1 -1
  38. package/dist/grok/aca/SKILL.md +3 -2
  39. package/dist/grok/aca-design/SKILL.md +1 -1
  40. package/dist/grok/aca-implement/SKILL.md +90 -109
  41. package/dist/grok/aca-release/SKILL.md +4 -3
  42. package/dist/grok/aca-repo-audit/SKILL.md +11 -9
  43. package/dist/grok/aca-review/SKILL.md +114 -115
  44. package/dist/grok/aca-test/SKILL.md +110 -0
  45. package/dist/grok/aca-walkthrough/SKILL.md +1 -1
  46. package/doc-design/document-sets/module.md +6 -2
  47. package/doc-design/documents/class-design.md +7 -4
  48. package/doc-design/documents/integration-guide.md +7 -5
  49. package/doc-design/documents/release.md +5 -3
  50. package/meta-skills/aca/SKILL.md +3 -2
  51. package/meta-skills/aca/SKILL.md.tmpl +3 -2
  52. package/package.json +1 -1
  53. package/skills/aca-design/SKILL.md +1 -1
  54. package/skills/aca-implement/SKILL.md +90 -109
  55. package/skills/aca-implement/SKILL.md.tmpl +91 -110
  56. package/skills/aca-release/SKILL.md +4 -3
  57. package/skills/aca-release/SKILL.md.tmpl +4 -3
  58. package/skills/aca-repo-audit/SKILL.md +11 -9
  59. package/skills/aca-repo-audit/SKILL.md.tmpl +10 -8
  60. package/skills/aca-review/SKILL.md +114 -115
  61. package/skills/aca-review/SKILL.md.tmpl +115 -116
  62. package/skills/aca-test/SKILL.md +110 -0
  63. package/skills/aca-test/SKILL.md.tmpl +108 -0
  64. package/skills/aca-walkthrough/SKILL.md +1 -1
  65. package/zh-CN/axioms/README.md +1 -1
  66. package/zh-CN/axioms/writing.md +1 -1
  67. package/zh-CN/dist/antigravity/aca/SKILL.md +3 -2
  68. package/zh-CN/dist/antigravity/aca-design/SKILL.md +1 -1
  69. package/zh-CN/dist/antigravity/aca-implement/SKILL.md +89 -108
  70. package/zh-CN/dist/antigravity/aca-release/SKILL.md +62 -52
  71. package/zh-CN/dist/antigravity/aca-repo-audit/SKILL.md +37 -29
  72. package/zh-CN/dist/antigravity/aca-review/SKILL.md +112 -113
  73. package/zh-CN/dist/antigravity/aca-test/SKILL.md +110 -0
  74. package/zh-CN/dist/antigravity/aca-walkthrough/SKILL.md +1 -1
  75. package/zh-CN/dist/antigravity-cli/aca/SKILL.md +3 -2
  76. package/zh-CN/dist/antigravity-cli/aca-design/SKILL.md +1 -1
  77. package/zh-CN/dist/antigravity-cli/aca-implement/SKILL.md +89 -108
  78. package/zh-CN/dist/antigravity-cli/aca-release/SKILL.md +62 -52
  79. package/zh-CN/dist/antigravity-cli/aca-repo-audit/SKILL.md +37 -29
  80. package/zh-CN/dist/antigravity-cli/aca-review/SKILL.md +112 -113
  81. package/zh-CN/dist/antigravity-cli/aca-test/SKILL.md +110 -0
  82. package/zh-CN/dist/antigravity-cli/aca-walkthrough/SKILL.md +1 -1
  83. package/zh-CN/dist/codex/aca/SKILL.md +3 -2
  84. package/zh-CN/dist/codex/aca-design/SKILL.md +1 -1
  85. package/zh-CN/dist/codex/aca-implement/SKILL.md +89 -108
  86. package/zh-CN/dist/codex/aca-release/SKILL.md +62 -52
  87. package/zh-CN/dist/codex/aca-repo-audit/SKILL.md +37 -29
  88. package/zh-CN/dist/codex/aca-review/SKILL.md +112 -113
  89. package/zh-CN/dist/codex/aca-test/SKILL.md +110 -0
  90. package/zh-CN/dist/codex/aca-walkthrough/SKILL.md +1 -1
  91. package/zh-CN/dist/cursor/aca/SKILL.md +3 -2
  92. package/zh-CN/dist/cursor/aca-design/SKILL.md +1 -1
  93. package/zh-CN/dist/cursor/aca-implement/SKILL.md +89 -108
  94. package/zh-CN/dist/cursor/aca-release/SKILL.md +62 -52
  95. package/zh-CN/dist/cursor/aca-repo-audit/SKILL.md +37 -29
  96. package/zh-CN/dist/cursor/aca-review/SKILL.md +112 -113
  97. package/zh-CN/dist/cursor/aca-test/SKILL.md +111 -0
  98. package/zh-CN/dist/cursor/aca-walkthrough/SKILL.md +1 -1
  99. package/zh-CN/dist/grok/aca/SKILL.md +3 -2
  100. package/zh-CN/dist/grok/aca-design/SKILL.md +1 -1
  101. package/zh-CN/dist/grok/aca-implement/SKILL.md +89 -108
  102. package/zh-CN/dist/grok/aca-release/SKILL.md +62 -52
  103. package/zh-CN/dist/grok/aca-repo-audit/SKILL.md +37 -29
  104. package/zh-CN/dist/grok/aca-review/SKILL.md +112 -113
  105. package/zh-CN/dist/grok/aca-test/SKILL.md +110 -0
  106. package/zh-CN/dist/grok/aca-walkthrough/SKILL.md +1 -1
  107. package/zh-CN/doc-design/document-sets/module.md +6 -2
  108. package/zh-CN/doc-design/documents/class-design.md +7 -4
  109. package/zh-CN/doc-design/documents/integration-guide.md +7 -5
  110. package/zh-CN/doc-design/documents/release.md +5 -3
  111. package/zh-CN/meta-skills/aca/SKILL.md +3 -2
  112. package/zh-CN/meta-skills/aca/SKILL.md.tmpl +3 -2
  113. package/zh-CN/skills/aca-design/SKILL.md +1 -1
  114. package/zh-CN/skills/aca-implement/SKILL.md +89 -108
  115. package/zh-CN/skills/aca-implement/SKILL.md.tmpl +89 -108
  116. package/zh-CN/skills/aca-release/SKILL.md +62 -52
  117. package/zh-CN/skills/aca-release/SKILL.md.tmpl +62 -52
  118. package/zh-CN/skills/aca-repo-audit/SKILL.md +37 -29
  119. package/zh-CN/skills/aca-repo-audit/SKILL.md.tmpl +36 -28
  120. package/zh-CN/skills/aca-review/SKILL.md +112 -113
  121. package/zh-CN/skills/aca-review/SKILL.md.tmpl +111 -112
  122. package/zh-CN/skills/aca-test/SKILL.md +110 -0
  123. package/zh-CN/skills/aca-test/SKILL.md.tmpl +108 -0
  124. package/zh-CN/skills/aca-walkthrough/SKILL.md +1 -1
@@ -3,12 +3,11 @@ name: aca-implement
3
3
  description: |
4
4
  1. Set implementation goals and completion criteria based on the design
5
5
  2. Plan the responsibilities and structure of source code and test files based on module boundaries and internal design
6
- 3. Orchestrate implementation and verification tasks by module dependencies
6
+ 3. Orchestrate implementation tasks by module dependencies
7
7
  4. Create all directories and file placeholders according to the plan
8
- 5. Assign sub-agents by module dependencies, implement in parallel wherever possible, and run black-box and white-box tests
9
- 6. Commit the corresponding changes after each module passes verification
10
- 7. Integrate the commits of verified modules
11
- 8. Complete overall verification and check the completion criteria for the goal
8
+ 5. Assign sub-agents by module dependencies and write production code along with black-box and white-box test code in parallel wherever possible
9
+ 6. Commit the corresponding changes and integrate after each module is complete
10
+ 7. Check the completion criteria for the goal and hand off to review and testing
12
11
  Change only code and tests
13
12
  disable-model-invocation: true
14
13
  ---
@@ -17,22 +16,21 @@ disable-model-invocation: true
17
16
 
18
17
  # aca-implement
19
18
 
20
- Implement code and tests according to the design docs for the current scope
21
- Change only code and tests, not design docs
19
+ Write production code and test code according to the design docs for the current scope
20
+ Change only code and tests, without modifying design docs or running tests
22
21
 
23
22
  ## 1 Principles
24
23
 
25
24
  1. **Goal-driven**
26
25
  Use confirmed delivery goals to determine the implementation scope and task priorities
27
- Use completion criteria and their verification evidence to determine whether the goals are met
26
+ Judge implementation completion by coverage of the design requirements
28
27
  2. **Dependency-driven parallelism**
29
28
  Use dependencies to determine the implementation order
30
- Run tasks in parallel wherever possible when their dependencies are satisfied and they have no shared resource conflicts
31
- 3. **Test-driven**
32
- Use external contracts and internal design to determine test expectations
33
- Drive implementation with tests and use both black-box and white-box tests to verify design requirements
34
- 4. **Scope constraints**
35
- Keep implementation and refactoring within the confirmed design scope
29
+ Advance tasks in parallel wherever possible when their dependencies are satisfied and they have no file conflicts
30
+ 3. **Code and tests in sync**
31
+ Write production code along with black-box and white-box test code in sync based on external contracts, internal design, and test design
32
+ 4. **Write only, no test execution**
33
+ Write or modify code and tests only during implementation, and hand off test execution to `/aca-test`
36
34
 
37
35
  ## 2 Workflow
38
36
 
@@ -42,14 +40,9 @@ flowchart TD
42
40
  Plan --> Prepare["Implementation Preparation · §4"]
43
41
  Prepare --> Implement["Implementation and Integration · §5"]
44
42
  Implement -- All remaining tasks are blocked and no tasks are in progress --> Report
45
- Implement --> Modules{All module tasks are complete and integrated}
43
+ Implement --> Modules{All module tasks for the current scope are complete and integrated}
46
44
  Modules -- No --> Implement
47
- Modules -- Yes --> Verify["Overall Verification · §6"]
48
- Verify --> Complete{All completion criteria for the current scope are verified as satisfied}
49
- Complete -- No, the design is clear and fixes are possible within the current scope --> Implement
50
- Complete -- No, remaining verification can continue --> Verify
51
- Complete -- No, remaining fixes or verification are blocked --> Report
52
- Complete -- Yes --> Report(["Output and Next Step · §7"])
45
+ Modules -- Yes --> Report(["Output and Next Step · §6"])
53
46
  ```
54
47
 
55
48
  ## 3 Goals and Task Orchestration
@@ -58,49 +51,53 @@ Read the design docs, project configuration, existing code, and tests for the cu
58
51
  Check the workspace state and recent commits to verify current implementation progress and existing changes
59
52
  Preserve existing changes outside the scope of this implementation
60
53
 
61
- 1. List deliverables and their completion criteria based on the confirmed design and implementation scope
62
- 2. Compare delivery requirements with existing code and tests, and list what to reuse, modify, add, or remove
63
- 3. List the tests to run for this implementation based on the black-box and white-box test designs
64
- Specify the environments and fixtures these tests require
65
- 4. List the modules involved in this implementation and their dependencies based on the design
66
- Modules include submodules at all levels: top-level modules come from architecture, and submodules come from the internal composition of their direct parent's class-design
67
- 5. Specify whether each test uses real dependencies or test doubles based on the test design
68
- Check the readiness of required dependencies
69
- 6. Plan the source code and test file structure based on module boundaries, internal design, and repository conventions
70
- List all source code and test directories and files within the current implementation scope
71
- 7. Specify each file's responsibilities, owning module, and dependencies
72
- Check whether each file has a single responsibility and whether responsibilities overlap
73
- Adjust file boundaries when responsibilities are not singular or overlap
74
- 8. Split implementation preparation, module implementation, integration, and overall verification into tasks
75
- Use modules in the design as the smallest units of implementation, verification, and commits
76
- When submodules exist, create separate tasks for each submodule and the parent's composition implementation, with the parent task depending on all its submodule tasks
77
- 9. Specify each task's dependencies, owner, and completion criteria
78
- 10. Use the goal or task management capabilities provided by the current AI Agent environment to maintain the overall goal and task progress
79
- Record each task's status: pending implementation, in progress, complete, or blocked
80
- Record verification evidence and the next action for each task
81
- When resuming a task, check task records, the workspace, and recent commits
82
- Update task status based on the findings and continue implementation
54
+ 1. **Specify deliverables and completion criteria**
55
+ - List deliverables and their completion criteria based on the confirmed design and implementation scope
56
+ 2. **Compile the code and test change list**
57
+ - Compare delivery requirements with existing code and tests, and list what to reuse, modify, add, or remove
58
+ 3. **Orchestrate the corresponding test scope**
59
+ - List the test cases and fixtures to write or update in this run based on the black-box and white-box test designs
60
+ - Record the units under test and test case scope corresponding to the current implementation scope for direct execution by `/aca-test`
61
+ 4. **Identify modules and dependencies**
62
+ - List the modules involved in this implementation and their dependencies based on the design
63
+ - Modules include submodules at all levels: top-level modules come from architecture, and submodules come from the internal composition of their direct parent's class-design
64
+ 5. **Plan the source code and test file structure**
65
+ - Plan the source code and test file structure based on module boundaries, internal design, and repository conventions
66
+ - List all source code and test directories and files within the current implementation scope
67
+ 6. **Check file responsibilities and boundaries**
68
+ - Specify each file's responsibilities, owning module, and dependencies
69
+ - Check whether each file has a single responsibility and whether responsibilities overlap
70
+ - Responsibilities are not singular or overlap: adjust file boundaries
71
+ 7. **Split module implementation and integration tasks**
72
+ - Split implementation preparation, module implementation, and integration into tasks
73
+ - Use modules in the design as the smallest units of implementation and commits
74
+ - When submodules exist, create separate tasks for each submodule and the parent's composition implementation, with the parent task depending on all its submodule tasks
75
+ - Specify each task's dependencies, owner, and completion criteria
76
+ 8. **Maintain task status and progress**
77
+ - Use the goal or task management capabilities provided by the current AI Agent environment to maintain the overall goal and task progress
78
+ - Record each task's status: pending implementation, in progress, complete, or blocked
79
+ - When resuming a task, check task records, the workspace, and recent commits, update task status, and continue implementation
83
80
 
84
81
  ## 4 Implementation Preparation
85
82
 
86
- 1. Add all missing source code and test directories and file placeholders for the current scope according to the plan
87
- Reuse existing files directly and create new files as empty files
88
- Delete files explicitly marked for removal in the plan only after verifying that they no longer serve a valid responsibility
89
- When a file's purpose, dependencies, or deletion scope cannot be confirmed, retain it and verify with the developer
90
- Start module implementation only after all file placeholders are in place
91
- 2. The main agent assigns separate workspaces to sub-agents
92
- Allocate test resources according to the test design to ensure parallel tasks do not interfere with each other
93
- Synchronize the prepared file structure to each workspace
94
- 3. Provide each sub-agent with the following task context
83
+ 1. **Create directories and file placeholders**
84
+ - Add all missing source code and test directories and file placeholders for the current scope according to the plan
85
+ - Reuse existing files directly and create new files as empty files
86
+ - Delete files explicitly marked for removal in the plan only after verifying that they no longer serve a valid responsibility
87
+ - File purpose, dependencies, or deletion scope cannot be confirmed: retain the file and verify with the developer
88
+ - Start module implementation only after all file placeholders are in place
89
+ 2. **Assign separate workspaces**
90
+ - The main agent assigns separate workspaces to sub-agents
91
+ - Synchronize the prepared file structure to each workspace
92
+ 3. **Dispatch task context to sub-agents**
95
93
  - The overall implementation goal, the functionality to complete for the current module, and the scope of changes
96
94
  - Links to relevant chapters covering the structural basis, interfaces, internal design, and test cases for the current module and its dependencies
97
95
  The structural basis for top-level modules is architecture, and the structural basis for submodules is the internal composition of the parent's class-design
98
96
  - The readiness of each dependency and the arrangements for real dependencies or test doubles in tests
99
97
  - The workspace path, starting commit, files permitted for modification, and applicable repository conventions
100
- - Test environments and fixtures, verification commands, and module completion criteria
101
- - Change only code and tests
98
+ - Modify only production code and test code, without modifying design docs or running tests
102
99
  - Follow the [Exception Handling](#52-exception-handling) requirements
103
- - Return changed files, commit records, verification commands and results, unverified items, and reasons for blockers
100
+ - Return changed files, commit records, corresponding test scope, and reasons for blockers
104
101
 
105
102
  When files owned by other tasks or shared files are involved, first ask the main agent to coordinate
106
103
 
@@ -108,63 +105,48 @@ Preserve existing changes outside the scope of this implementation
108
105
 
109
106
  ### 5.1 Implementation Loop
110
107
 
111
- 1. The main agent selects module tasks whose dependencies are satisfied
112
- Assign tasks that can run in parallel to sub-agents
113
- 2. Implement and verify each module according to the test design
114
- 1. Prepare and run tests
115
- Reuse, write, or update black-box and white-box tests for the module's current scope according to the design
116
- When new or changed design requirements are not yet implemented, confirm that the corresponding tests fail
117
- For refactoring that preserves behavior, first run the corresponding tests to establish a verification baseline
118
- 2. Complete and verify changes within the module's current scope according to the design
119
- Follow repository conventions for implementation details not specified by the design
120
- When the repository has no corresponding conventions, use the simplest implementation that meets the design
121
- When the design includes a Lark (Feishu) card mockup, implement it according to [Lark Card Mapping](~/.cursor/skills/aca/skills/references/lark-card-mapping.md)
122
- Run module tests and confirm that all pass
123
- 3. Refactor as needed and verify again
124
- After refactoring, rerun module tests and confirm that all pass
125
- When an unexpected test failure occurs and the design is clear, fix the code and rerun the affected tests
126
- 3. Check black-box and white-box test results and other completion criteria for the module's current scope
127
- Once all criteria are satisfied, stage and commit only the current task's changes
128
- 4. The main agent checks module commits and verification evidence
129
- Integrate the module's commits after confirming that it meets the completion criteria
130
- Run tests for affected modules and integration tests between modules on the integrated code
131
- 5. The main agent updates task status, verification evidence, and dependency readiness
132
- Record the reasons for blocked tasks and the conditions for resuming them
133
- Synchronize integrated dependency commits that have passed verification to module workspaces that require real dependencies
134
- If tasks remain that can be implemented, return to step 1
135
- If no tasks can be assigned and tasks are still in progress, wait for execution results
136
- After all module tasks are complete and integrated, proceed to [Overall Verification](#6-overall-verification)
137
- If all remaining tasks are blocked and no tasks are in progress, report the incomplete status according to [Output](#7-output)
108
+ 1. **Dispatch parallelizable module tasks**
109
+ - The main agent selects module tasks whose dependencies are satisfied and assigns tasks that can run in parallel to sub-agents
110
+ 2. **Write module production code and test code**
111
+ - Reuse, write, or update black-box and white-box test code and fixtures for the module's current scope according to the design
112
+ - Complete production code changes within the module's current scope according to the design
113
+ - Follow repository conventions for implementation details not specified by the design, or use the simplest implementation that meets the design when the repository has no corresponding convention
114
+ - When the design includes a Lark (Feishu) card mockup, implement it according to [Lark Card Mapping](~/.cursor/skills/aca/skills/references/lark-card-mapping.md)
115
+ - Organize code structure as needed to keep responsibilities singular and boundaries clear
116
+ 3. **Check module completion criteria and commit**
117
+ - Check that interface contracts, internal mechanisms, and black-box and white-box test code for the module's current scope are all written according to the design
118
+ - Stage and commit only the current task's changes
119
+ 4. **Integrate module commits**
120
+ - The main agent checks the file scope and completion status of module commits
121
+ - Integrate the module's commits after confirming that it meets the completion criteria
122
+ 5. **Update progress and advance**
123
+ - The main agent updates task status, implemented module scope, and dependency readiness
124
+ - Record the reasons for blocked tasks and the conditions for resuming them
125
+ - Synchronize integrated dependency commits to downstream module workspaces
126
+ - Tasks remain that can be implemented: return to step 1
127
+ - No tasks can be assigned and tasks are still in progress: wait for execution results
128
+ - All module tasks for the current scope are complete and integrated: proceed to [Output](#6-output)
129
+ - All remaining tasks are blocked and no tasks are in progress: report the incomplete status according to [Output](#6-output)
138
130
 
139
131
  ### 5.2 Exception Handling
140
132
 
141
- 1. When the design is missing, contains conflicts, or cannot be implemented, the agent executing the task pauses affected tasks
142
- Sub-agents report the issue and its scope of impact to the main agent
143
- The main agent verifies the issue and its scope of impact, then reports them to the developer
144
- When the solution needs additions or revisions, recommend using `/aca-specify`
145
- Continue unaffected independent tasks
146
- 2. When issues are found in other repositories, the main agent verifies them and reports the issues and their impact to the developer
147
- Do not modify other repositories without authorization
133
+ 1. **Handle missing or conflicting designs**
134
+ - When the design is missing, contains conflicts, or cannot be implemented, the agent executing the task pauses affected tasks
135
+ - Sub-agents report the issue and its scope of impact to the main agent
136
+ - The main agent verifies the issue and its scope of impact, then reports them to the developer
137
+ - When the solution needs additions or revisions, recommend using `/aca-specify`
138
+ - Continue unaffected independent tasks
139
+ 2. **Handle cross-repository issues**
140
+ - When issues are found in other repositories, the main agent verifies them and reports the issues and their impact to the developer
141
+ - Do not modify other repositories without authorization
148
142
 
149
- ## 6 Overall Verification
143
+ ## 6 Output
150
144
 
151
- After all module tasks are complete and integrated, the main agent performs overall verification for the current delivery scope
152
- Run module tests, integration tests, system tests, builds, and static checks according to the implementation plan
153
- Execute the test cases specified in the design and verify the runtime results of the subject under test
154
- Passing builds or static checks cannot replace behavioral test results
155
-
156
- When issues are found for which the design is clear and fixes are possible within the current scope, return to [Implementation and Integration](#5-implementation-and-integration)
157
- Rerun affected verification after fixes
158
- Check each completion criterion against the overall goal
159
- Update task records with verification results and unverified items
160
-
161
- ## 7 Output
162
-
163
- When all completion criteria for the current scope are verified as satisfied, mark the goal and tasks as complete
145
+ When all completion criteria for the current scope are satisfied, mark the goal and task status as complete
164
146
  If incomplete, report remaining work, reasons for blockers, and actions to resume
165
- After this implementation is complete, use `/aca-review` to review the implementation within this scope
166
- Provide Review with the overall goal, corresponding design, implementation scope, and comparison baseline
167
- Identify the commits and uncommitted changes under review, and provide verification results and evidence
147
+ After this implementation is complete, use `/aca-review` to run an implementation review on this scope
148
+ Provide Review and subsequent `/aca-test` with the overall goal, corresponding design, implementation scope, orchestrated test scope, and comparison baseline
149
+ Identify the commits and uncommitted changes under review
168
150
  Use the following format for the final report, filling in the title and results according to the actual status
169
151
 
170
152
  ```markdown
@@ -174,9 +156,8 @@ Use the following format for the final report, filling in the title and results
174
156
  | --- | --- |
175
157
  | Goal | <overall goal and completion criteria satisfaction> |
176
158
  | Scope | <implementation scope and module progress> |
177
- | Changes | <main implementation changes> |
178
- | Verification | <test execution, build, and static check results> |
179
- | Unverified | <unverified scope / none> |
159
+ | Changes | <main production code and test code changes> |
160
+ | Test scope | <units under test and test case scope orchestrated for /aca-test> |
180
161
  | Commits | <commit records / uncommitted> |
181
162
  | Blockers | <blockers and reasons / none> |
182
163
  | Recommendations | <extension recommendations / none> |
@@ -202,9 +202,9 @@ If execution cannot continue in Chapters 4 through 7, report completed facts, th
202
202
  Cross-check that the Anyone Can Architect footer matches the current Anyone Can Architect version, immediately follows the repository version line, and is the last line
203
203
  Cross-check that the final commit contains the complete design, implementation, and tests for this scope
204
204
  3. Complete final verification
205
- Complete the verification required by the repository release workflow on the final commit
205
+ Complete the verification required by the repository release workflow and the `/aca-test` test scope on the final commit
206
206
  Record verification results and the corresponding commit
207
- When reusing existing results, state which reuse conditions are met and the basis for their correspondence to the final commit
207
+ When reusing existing `/aca-test` or verification results, state which reuse conditions are met and the basis for their correspondence to the final commit
208
208
  If artifacts are involved, cross-check their traceability to this commit
209
209
  Verification artifacts cannot replace evidence of completed delivery
210
210
  4. Determine whether release locking is allowed
@@ -369,7 +369,8 @@ Select one immediately executable action based on the incomplete items
369
369
  | Execution conditions are missing | Meet the conditions, then check the status against [release preparation](#3-release-preparation) and resume |
370
370
  | The design solution still needs reasoning | `/aca-specify` Reason through the solution |
371
371
  | The revision solution is clear and only doc changes are needed | `/aca-design` Revise the docs |
372
- | Implementation issues | `/aca-implement` Fix and verify |
372
+ | Implementation issues | `/aca-implement` Fix code or tests |
373
+ | Tests or final verification incomplete | `/aca-test` Run verification, then resume the release |
373
374
  | Merge conflicts | Resolve and commit the conflicts, then rerun the [pre-merge audit](#43-pre-merge-audit) |
374
375
  | Push, cleanup, or announcement is still incomplete | Resume from the corresponding incomplete step |
375
376
  | Everything is complete and no follow-up items remain | Report that there are no pending tasks |
@@ -35,7 +35,7 @@ Use `/aca-review` when you need to judge whether business goals and design solut
35
35
  - Present the whole first, then expand on the details, see the [Pyramid Principle](~/.cursor/skills/aca/SSOT.md#2-structure)
36
36
  - When stating a judgment, give the conclusion first, then the supporting evidence
37
37
  - Merge heading levels that add no information
38
- - Use numbered lists for items with a sequence or priority, and indent multiple attributes under each item
38
+ - Use numbered lists for items with a sequence or priority; when a step contains sub-items, start the step with a bold phrase stating its purpose and indent specific operations and conditional branches under it
39
39
  - Use tables only for content with multiple rows of the same structure, more than two attributes per row, and no sequence between rows
40
40
  - Write list items as complete sentences
41
41
  - When an item has branches, indent the branches under that item
@@ -182,16 +182,17 @@ When an implementation audit is included, cross-check all design items in scope
182
182
 
183
183
  ### 5.2 Runtime Verification
184
184
 
185
- 1. Determine verification requirements
186
- Read the full test and build commands specified by the repository
185
+ 1. **Determine verification requirements**
186
+ Determine the test and build commands required for the current scope according to the boundary rules in `/aca-test` and the repository `release` doc
187
+ Run full tests and builds by default when the repository does not specify tiered verification
187
188
  Check the required environment, configuration, and fixtures
188
- 2. Run verification or reuse its results
189
- Reuse existing results if they cover the required verification and the content under review, tests, fixtures, configuration, dependency environment, and commands have not changed
189
+ 2. **Run verification or reuse its results**
190
+ Reuse existing `/aca-test` or build results if they cover the required scope and the commit under review, tests, fixtures, configuration, dependency environment, and commands have not changed
190
191
  State the original verification results and the basis for reuse in the report
191
- Run the corresponding verification in an isolated environment if the reuse conditions are not met
192
+ Run the required tests and builds in an isolated environment following the execution rules of `/aca-test` if the reuse conditions are not met
192
193
  Static reading cannot replace verification by execution
193
194
  Do not modify project source code, design docs, or commit history during verification
194
- 3. Record results and handle exceptions
195
+ 3. **Record results and handle exceptions**
195
196
  Record the results and supporting evidence when verification passes
196
197
  Verify diagnostics and record confirmed issues when verification fails
197
198
  Mark the corresponding verification as incomplete and explain why if the environment is unavailable or execution is not possible
@@ -224,7 +225,7 @@ When an implementation audit is included, cross-check all design items in scope
224
225
  | Incomplete | Pass conditions are not met, and no confirmed must fix items exist |
225
226
 
226
227
  Required checks include reading documentation, mechanical checks, and content checks in the current scope
227
- When an implementation audit is included, they also include all consistency cross-checks, full tests, and builds
228
+ When an implementation audit is included, they also include all consistency cross-checks and the tests and builds required for the current scope
228
229
  When both must fix items and incomplete checks exist, set the verdict to action required and list the incomplete items
229
230
  Optional trim does not affect a pass
230
231
 
@@ -274,7 +275,8 @@ Choose one immediately executable action based on the nature of the issues and t
274
275
  | Verification prerequisites are missing | Meet the prerequisites, then continue this audit through `/aca-repo-audit` |
275
276
  | The solution still needs reasoning | Use `/aca-specify` to reason through the solution |
276
277
  | The revised solution is clear and only docs need changes | Use `/aca-design` to revise the docs |
277
- | Implementation deviates | Use `/aca-implement` to fix and verify |
278
+ | Implementation deviates | `/aca-implement` Fix code or tests |
279
+ | Tests or builds incomplete | `/aca-test` Run verification |
278
280
  | Audit passes | Return to the caller and continue with the confirmed arrangements |
279
281
 
280
282
  Audit the affected scope again after the issues are corrected