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.
- package/README.md +6 -4
- package/README.zh-CN.md +4 -2
- package/VERSION +1 -1
- package/axioms/README.md +1 -1
- package/axioms/writing.md +1 -1
- package/dist/antigravity/aca/SKILL.md +3 -2
- package/dist/antigravity/aca-design/SKILL.md +1 -1
- package/dist/antigravity/aca-implement/SKILL.md +90 -109
- package/dist/antigravity/aca-release/SKILL.md +4 -3
- package/dist/antigravity/aca-repo-audit/SKILL.md +11 -9
- package/dist/antigravity/aca-review/SKILL.md +114 -115
- package/dist/antigravity/aca-test/SKILL.md +110 -0
- package/dist/antigravity/aca-walkthrough/SKILL.md +1 -1
- package/dist/antigravity-cli/aca/SKILL.md +3 -2
- package/dist/antigravity-cli/aca-design/SKILL.md +1 -1
- package/dist/antigravity-cli/aca-implement/SKILL.md +90 -109
- package/dist/antigravity-cli/aca-release/SKILL.md +4 -3
- package/dist/antigravity-cli/aca-repo-audit/SKILL.md +11 -9
- package/dist/antigravity-cli/aca-review/SKILL.md +114 -115
- package/dist/antigravity-cli/aca-test/SKILL.md +110 -0
- package/dist/antigravity-cli/aca-walkthrough/SKILL.md +1 -1
- package/dist/codex/aca/SKILL.md +3 -2
- package/dist/codex/aca-design/SKILL.md +1 -1
- package/dist/codex/aca-implement/SKILL.md +90 -109
- package/dist/codex/aca-release/SKILL.md +4 -3
- package/dist/codex/aca-repo-audit/SKILL.md +11 -9
- package/dist/codex/aca-review/SKILL.md +114 -115
- package/dist/codex/aca-test/SKILL.md +110 -0
- package/dist/codex/aca-walkthrough/SKILL.md +1 -1
- package/dist/cursor/aca/SKILL.md +3 -2
- package/dist/cursor/aca-design/SKILL.md +1 -1
- package/dist/cursor/aca-implement/SKILL.md +90 -109
- package/dist/cursor/aca-release/SKILL.md +4 -3
- package/dist/cursor/aca-repo-audit/SKILL.md +11 -9
- package/dist/cursor/aca-review/SKILL.md +114 -115
- package/dist/cursor/aca-test/SKILL.md +111 -0
- package/dist/cursor/aca-walkthrough/SKILL.md +1 -1
- package/dist/grok/aca/SKILL.md +3 -2
- package/dist/grok/aca-design/SKILL.md +1 -1
- package/dist/grok/aca-implement/SKILL.md +90 -109
- package/dist/grok/aca-release/SKILL.md +4 -3
- package/dist/grok/aca-repo-audit/SKILL.md +11 -9
- package/dist/grok/aca-review/SKILL.md +114 -115
- package/dist/grok/aca-test/SKILL.md +110 -0
- package/dist/grok/aca-walkthrough/SKILL.md +1 -1
- package/doc-design/document-sets/module.md +6 -2
- package/doc-design/documents/class-design.md +7 -4
- package/doc-design/documents/integration-guide.md +7 -5
- package/doc-design/documents/release.md +5 -3
- package/meta-skills/aca/SKILL.md +3 -2
- package/meta-skills/aca/SKILL.md.tmpl +3 -2
- package/package.json +1 -1
- package/skills/aca-design/SKILL.md +1 -1
- package/skills/aca-implement/SKILL.md +90 -109
- package/skills/aca-implement/SKILL.md.tmpl +91 -110
- package/skills/aca-release/SKILL.md +4 -3
- package/skills/aca-release/SKILL.md.tmpl +4 -3
- package/skills/aca-repo-audit/SKILL.md +11 -9
- package/skills/aca-repo-audit/SKILL.md.tmpl +10 -8
- package/skills/aca-review/SKILL.md +114 -115
- package/skills/aca-review/SKILL.md.tmpl +115 -116
- package/skills/aca-test/SKILL.md +110 -0
- package/skills/aca-test/SKILL.md.tmpl +108 -0
- package/skills/aca-walkthrough/SKILL.md +1 -1
- package/zh-CN/axioms/README.md +1 -1
- package/zh-CN/axioms/writing.md +1 -1
- package/zh-CN/dist/antigravity/aca/SKILL.md +3 -2
- package/zh-CN/dist/antigravity/aca-design/SKILL.md +1 -1
- package/zh-CN/dist/antigravity/aca-implement/SKILL.md +89 -108
- package/zh-CN/dist/antigravity/aca-release/SKILL.md +62 -52
- package/zh-CN/dist/antigravity/aca-repo-audit/SKILL.md +37 -29
- package/zh-CN/dist/antigravity/aca-review/SKILL.md +112 -113
- package/zh-CN/dist/antigravity/aca-test/SKILL.md +110 -0
- package/zh-CN/dist/antigravity/aca-walkthrough/SKILL.md +1 -1
- package/zh-CN/dist/antigravity-cli/aca/SKILL.md +3 -2
- package/zh-CN/dist/antigravity-cli/aca-design/SKILL.md +1 -1
- package/zh-CN/dist/antigravity-cli/aca-implement/SKILL.md +89 -108
- package/zh-CN/dist/antigravity-cli/aca-release/SKILL.md +62 -52
- package/zh-CN/dist/antigravity-cli/aca-repo-audit/SKILL.md +37 -29
- package/zh-CN/dist/antigravity-cli/aca-review/SKILL.md +112 -113
- package/zh-CN/dist/antigravity-cli/aca-test/SKILL.md +110 -0
- package/zh-CN/dist/antigravity-cli/aca-walkthrough/SKILL.md +1 -1
- package/zh-CN/dist/codex/aca/SKILL.md +3 -2
- package/zh-CN/dist/codex/aca-design/SKILL.md +1 -1
- package/zh-CN/dist/codex/aca-implement/SKILL.md +89 -108
- package/zh-CN/dist/codex/aca-release/SKILL.md +62 -52
- package/zh-CN/dist/codex/aca-repo-audit/SKILL.md +37 -29
- package/zh-CN/dist/codex/aca-review/SKILL.md +112 -113
- package/zh-CN/dist/codex/aca-test/SKILL.md +110 -0
- package/zh-CN/dist/codex/aca-walkthrough/SKILL.md +1 -1
- package/zh-CN/dist/cursor/aca/SKILL.md +3 -2
- package/zh-CN/dist/cursor/aca-design/SKILL.md +1 -1
- package/zh-CN/dist/cursor/aca-implement/SKILL.md +89 -108
- package/zh-CN/dist/cursor/aca-release/SKILL.md +62 -52
- package/zh-CN/dist/cursor/aca-repo-audit/SKILL.md +37 -29
- package/zh-CN/dist/cursor/aca-review/SKILL.md +112 -113
- package/zh-CN/dist/cursor/aca-test/SKILL.md +111 -0
- package/zh-CN/dist/cursor/aca-walkthrough/SKILL.md +1 -1
- package/zh-CN/dist/grok/aca/SKILL.md +3 -2
- package/zh-CN/dist/grok/aca-design/SKILL.md +1 -1
- package/zh-CN/dist/grok/aca-implement/SKILL.md +89 -108
- package/zh-CN/dist/grok/aca-release/SKILL.md +62 -52
- package/zh-CN/dist/grok/aca-repo-audit/SKILL.md +37 -29
- package/zh-CN/dist/grok/aca-review/SKILL.md +112 -113
- package/zh-CN/dist/grok/aca-test/SKILL.md +110 -0
- package/zh-CN/dist/grok/aca-walkthrough/SKILL.md +1 -1
- package/zh-CN/doc-design/document-sets/module.md +6 -2
- package/zh-CN/doc-design/documents/class-design.md +7 -4
- package/zh-CN/doc-design/documents/integration-guide.md +7 -5
- package/zh-CN/doc-design/documents/release.md +5 -3
- package/zh-CN/meta-skills/aca/SKILL.md +3 -2
- package/zh-CN/meta-skills/aca/SKILL.md.tmpl +3 -2
- package/zh-CN/skills/aca-design/SKILL.md +1 -1
- package/zh-CN/skills/aca-implement/SKILL.md +89 -108
- package/zh-CN/skills/aca-implement/SKILL.md.tmpl +89 -108
- package/zh-CN/skills/aca-release/SKILL.md +62 -52
- package/zh-CN/skills/aca-release/SKILL.md.tmpl +62 -52
- package/zh-CN/skills/aca-repo-audit/SKILL.md +37 -29
- package/zh-CN/skills/aca-repo-audit/SKILL.md.tmpl +36 -28
- package/zh-CN/skills/aca-review/SKILL.md +112 -113
- package/zh-CN/skills/aca-review/SKILL.md.tmpl +111 -112
- package/zh-CN/skills/aca-test/SKILL.md +110 -0
- package/zh-CN/skills/aca-test/SKILL.md.tmpl +108 -0
- 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
|
|
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
|
|
9
|
-
6. Commit the corresponding changes after each module
|
|
10
|
-
7.
|
|
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
|
-
|
|
21
|
-
Change only code and tests,
|
|
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
|
-
|
|
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
|
-
|
|
31
|
-
3. **
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
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 -->
|
|
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.
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
|
|
78
|
-
|
|
79
|
-
|
|
80
|
-
|
|
81
|
-
|
|
82
|
-
|
|
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.
|
|
87
|
-
|
|
88
|
-
|
|
89
|
-
|
|
90
|
-
|
|
91
|
-
|
|
92
|
-
|
|
93
|
-
|
|
94
|
-
|
|
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
|
-
-
|
|
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,
|
|
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.
|
|
112
|
-
|
|
113
|
-
2.
|
|
114
|
-
|
|
115
|
-
|
|
116
|
-
|
|
117
|
-
|
|
118
|
-
|
|
119
|
-
|
|
120
|
-
|
|
121
|
-
|
|
122
|
-
|
|
123
|
-
|
|
124
|
-
|
|
125
|
-
|
|
126
|
-
|
|
127
|
-
|
|
128
|
-
|
|
129
|
-
|
|
130
|
-
|
|
131
|
-
|
|
132
|
-
|
|
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.
|
|
142
|
-
|
|
143
|
-
|
|
144
|
-
|
|
145
|
-
|
|
146
|
-
|
|
147
|
-
|
|
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
|
|
143
|
+
## 6 Output
|
|
150
144
|
|
|
151
|
-
|
|
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
|
|
166
|
-
Provide Review with the overall goal, corresponding design, implementation scope, and comparison baseline
|
|
167
|
-
Identify the commits and uncommitted changes under review
|
|
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
|
|
178
|
-
|
|
|
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
|
|
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
|
|
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
|
-
|
|
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
|
|
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
|
|
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
|
|
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 |
|
|
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
|