@leejungkiin/awkit 1.5.5 → 1.6.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/bin/awk.js +196 -8
- package/core/GEMINI.md +24 -8
- package/core/work-modes.json +45 -0
- package/package.json +3 -3
- package/skill-packs/cocos2d/pack.json +8 -0
- package/skill-packs/cocos2d/skills/cocos2d-x/LICENSE.txt +8 -0
- package/skill-packs/cocos2d/skills/cocos2d-x/SKILL.md +168 -0
- package/skill-packs/cocos2d/skills/cocos2d-x/examples/core/action.md +278 -0
- package/skill-packs/cocos2d/skills/cocos2d-x/examples/core/animation.md +220 -0
- package/skill-packs/cocos2d/skills/cocos2d-x/examples/core/event.md +133 -0
- package/skill-packs/cocos2d/skills/cocos2d-x/examples/core/input.md +291 -0
- package/skill-packs/cocos2d/skills/cocos2d-x/examples/core/label.md +184 -0
- package/skill-packs/cocos2d/skills/cocos2d-x/examples/core/node-scene.md +212 -0
- package/skill-packs/cocos2d/skills/cocos2d-x/examples/core/scene.md +228 -0
- package/skill-packs/cocos2d/skills/cocos2d-x/examples/core/sprite.md +206 -0
- package/skill-packs/cocos2d/skills/cocos2d-x/examples/core/texture.md +186 -0
- package/skill-packs/cocos2d/skills/cocos2d-x/examples/getting-started/about-engine.md +53 -0
- package/skill-packs/cocos2d/skills/cocos2d-x/examples/getting-started/installation.md +203 -0
- package/skill-packs/cocos2d/skills/cocos2d-x/examples/getting-started/quick-start.md +134 -0
- package/skill-packs/electron/pack.json +9 -0
- package/skill-packs/electron/skills/electron/LICENSE.txt +202 -0
- package/skill-packs/electron/skills/electron/SKILL.md +160 -0
- package/skill-packs/electron/skills/electron/api/app.md +83 -0
- package/skill-packs/electron/skills/electron/api/browser-window.md +84 -0
- package/skill-packs/electron/skills/electron/examples/advanced/packaging.md +140 -0
- package/skill-packs/electron/skills/electron/examples/api/browser-window.md +182 -0
- package/skill-packs/electron/skills/electron/examples/api/menu.md +187 -0
- package/skill-packs/electron/skills/electron/examples/getting-started/installation.md +88 -0
- package/skill-packs/electron/skills/electron/examples/getting-started/quick-start.md +104 -0
- package/skill-packs/electron/skills/electron/examples/processes/ipc-communication.md +140 -0
- package/skill-packs/electron/skills/electron/examples/processes/main-process.md +121 -0
- package/skill-packs/electron/skills/electron/templates/main-process.md +105 -0
- package/skill-packs/electron/skills/electron/templates/preload-script.md +84 -0
- package/skill-packs/electron/skills/electron-egg/LICENSE.txt +202 -0
- package/skill-packs/electron/skills/electron-egg/SKILL.md +154 -0
- package/skill-packs/electron/skills/electron-egg/api/config-api.md +62 -0
- package/skill-packs/electron/skills/electron-egg/api/ipc-api.md +55 -0
- package/skill-packs/electron/skills/electron-egg/api/main-api.md +54 -0
- package/skill-packs/electron/skills/electron-egg/api/renderer-api.md +62 -0
- package/skill-packs/electron/skills/electron-egg/api/window-api.md +64 -0
- package/skill-packs/electron/skills/electron-egg/examples/features/ipc-communication.md +84 -0
- package/skill-packs/electron/skills/electron-egg/examples/features/main-process.md +89 -0
- package/skill-packs/electron/skills/electron-egg/examples/features/renderer-process.md +74 -0
- package/skill-packs/electron/skills/electron-egg/examples/guide/build.md +77 -0
- package/skill-packs/electron/skills/electron-egg/examples/guide/configuration.md +88 -0
- package/skill-packs/electron/skills/electron-egg/examples/guide/installation.md +66 -0
- package/skill-packs/electron/skills/electron-egg/examples/guide/intro.md +47 -0
- package/skill-packs/electron/skills/electron-egg/examples/guide/project-structure.md +73 -0
- package/skill-packs/electron/skills/electron-egg/examples/guide/quick-start.md +78 -0
- package/skill-packs/electron/skills/electron-egg/templates/configuration.md +63 -0
- package/skill-packs/electron/skills/electron-egg/templates/installation.md +42 -0
- package/skill-packs/electron/skills/electron-egg/templates/project-setup.md +75 -0
- package/skill-packs/flutter/pack.json +9 -0
- package/skill-packs/flutter/skills/flutter/LICENSE.txt +202 -0
- package/skill-packs/flutter/skills/flutter/SKILL.md +127 -0
- package/skill-packs/flutter/skills/flutter-project-creater/LICENSE.txt +202 -0
- package/skill-packs/flutter/skills/flutter-project-creater/SKILL.md +106 -0
- package/skill-packs/threejs/pack.json +25 -0
- package/skill-packs/threejs/skills/README.md +95 -0
- package/skill-packs/threejs/skills/threejs-animation/SKILL.md +86 -0
- package/skill-packs/threejs/skills/threejs-animation/examples/workflow-mixer-action.md +20 -0
- package/skill-packs/threejs/skills/threejs-animation/references/official-sections.md +19 -0
- package/skill-packs/threejs/skills/threejs-audio/SKILL.md +112 -0
- package/skill-packs/threejs/skills/threejs-audio/examples/workflow-positional-audio.md +15 -0
- package/skill-packs/threejs/skills/threejs-audio/references/official-sections.md +16 -0
- package/skill-packs/threejs/skills/threejs-camera/SKILL.md +96 -0
- package/skill-packs/threejs/skills/threejs-camera/examples/workflow-perspective-resize.md +13 -0
- package/skill-packs/threejs/skills/threejs-controls/SKILL.md +101 -0
- package/skill-packs/threejs/skills/threejs-controls/examples/workflow-orbit-damping.md +15 -0
- package/skill-packs/threejs/skills/threejs-dev-setup/SKILL.md +102 -0
- package/skill-packs/threejs/skills/threejs-dev-setup/examples/workflow-scaffold.md +24 -0
- package/skill-packs/threejs/skills/threejs-geometries/SKILL.md +108 -0
- package/skill-packs/threejs/skills/threejs-geometries/examples/workflow-extrude-shape.md +13 -0
- package/skill-packs/threejs/skills/threejs-helpers/SKILL.md +103 -0
- package/skill-packs/threejs/skills/threejs-helpers/examples/workflow-light-camera-helpers.md +13 -0
- package/skill-packs/threejs/skills/threejs-lights/SKILL.md +103 -0
- package/skill-packs/threejs/skills/threejs-lights/examples/workflow-directional-shadow.md +17 -0
- package/skill-packs/threejs/skills/threejs-loaders/SKILL.md +89 -0
- package/skill-packs/threejs/skills/threejs-loaders/examples/workflow-gltf-draco.md +22 -0
- package/skill-packs/threejs/skills/threejs-loaders/references/official-sections.md +27 -0
- package/skill-packs/threejs/skills/threejs-materials/SKILL.md +102 -0
- package/skill-packs/threejs/skills/threejs-materials/examples/workflow-pbr-transparent.md +15 -0
- package/skill-packs/threejs/skills/threejs-math/SKILL.md +102 -0
- package/skill-packs/threejs/skills/threejs-math/examples/workflow-ray-aabb.md +11 -0
- package/skill-packs/threejs/skills/threejs-node-tsl/SKILL.md +83 -0
- package/skill-packs/threejs/skills/threejs-node-tsl/examples/workflow-tsl-entry.md +13 -0
- package/skill-packs/threejs/skills/threejs-node-tsl/references/official-links.md +8 -0
- package/skill-packs/threejs/skills/threejs-node-tsl/references/tsl-vs-classic.md +23 -0
- package/skill-packs/threejs/skills/threejs-objects/SKILL.md +111 -0
- package/skill-packs/threejs/skills/threejs-objects/examples/workflow-raycaster-pick.md +17 -0
- package/skill-packs/threejs/skills/threejs-postprocessing/SKILL.md +116 -0
- package/skill-packs/threejs/skills/threejs-postprocessing/examples/workflow-composer-bloom.md +15 -0
- package/skill-packs/threejs/skills/threejs-renderers/SKILL.md +91 -0
- package/skill-packs/threejs/skills/threejs-renderers/examples/workflow-renderer-resize.md +21 -0
- package/skill-packs/threejs/skills/threejs-renderers/references/official-sections.md +14 -0
- package/skill-packs/threejs/skills/threejs-scenes/SKILL.md +90 -0
- package/skill-packs/threejs/skills/threejs-scenes/examples/workflow-fog-background.md +13 -0
- package/skill-packs/threejs/skills/threejs-textures/SKILL.md +83 -0
- package/skill-packs/threejs/skills/threejs-textures/examples/workflow-pmrem-env.md +19 -0
- package/skill-packs/threejs/skills/threejs-webxr/SKILL.md +104 -0
- package/skill-packs/threejs/skills/threejs-webxr/examples/workflow-xr-button.md +15 -0
- package/skills/CATALOG.md +44 -49
- package/skills/TRIGGER_INDEX.md +30 -0
- package/skills/awf-session-restore/SKILL.md +19 -2
- package/skills/brainstorm-agent/SKILL.md +2 -0
- package/skills/code-review/SKILL.md +2 -0
- package/skills/code-review-system-principles/SKILL.md +154 -0
- package/skills/codex-conductor/SKILL.md +6 -4
- package/skills/gemini-conductor/SKILL.md +4 -3
- package/skills/gitnexus-intelligence/SKILL.md +2 -0
- package/skills/module-spec-writer/SKILL.md +2 -0
- package/skills/nm-memory-sync/SKILL.md +10 -0
- package/skills/skill-creator/SKILL.md +2 -0
- package/skills/spec-gate/SKILL.md +2 -0
- package/skills/symphony-enforcer/SKILL.md +9 -0
- package/skills/symphony-enforcer/examples/mindful-stop.md +141 -0
- package/skills/symphony-enforcer/examples/task-completion.md +11 -2
- package/skills/symphony-enforcer/examples/trigger-points.md +7 -0
- package/skills/symphony-orchestrator/SKILL.md +2 -0
- package/skills/telegram-notify/SKILL.md +1 -0
- package/skills/trello-sync/SKILL.md +7 -0
- package/skills/verification-gate/SKILL.md +2 -0
- package/skills/visual-design-gate/SKILL.md +2 -0
- package/templates/project-identity/android.json +26 -1
- package/templates/project-identity/backend-nestjs.json +26 -1
- package/templates/project-identity/expo.json +26 -1
- package/templates/project-identity/ios.json +26 -1
- package/templates/project-identity/web-nextjs.json +26 -1
|
@@ -0,0 +1,104 @@
|
|
|
1
|
+
---
|
|
2
|
+
name: threejs-webxr
|
|
3
|
+
description: "WebXR integration for three.js: WebXRManager and XRManager on the renderer, session initialization patterns, VRButton and ARButton helpers, XRControllerModelFactory and hand model families, XREstimatedLight, XRPlanes, and related addon Webxr utilities. Use for immersive sessions and controller/hand tracking—not for standard desktop camera projection (threejs-camera) or composer post effects (threejs-postprocessing)."
|
|
4
|
+
---
|
|
5
|
+
|
|
6
|
+
## When to use this skill
|
|
7
|
+
|
|
8
|
+
**ALWAYS use this skill when the user mentions:**
|
|
9
|
+
|
|
10
|
+
- Entering VR/AR, `navigator.xr`, reference spaces, session `requestAnimationFrame` loop via renderer
|
|
11
|
+
- `VRButton`, `ARButton`, `XRButton` creation patterns from examples
|
|
12
|
+
- Controller models, hand tracking meshes, estimated real-world lighting probes
|
|
13
|
+
|
|
14
|
+
**IMPORTANT: webxr vs renderers vs camera**
|
|
15
|
+
|
|
16
|
+
| Topic | Skill |
|
|
17
|
+
|-------|--------|
|
|
18
|
+
| Enable XR on renderer, sizing | **threejs-renderers** (basics) + **threejs-webxr** (session) |
|
|
19
|
+
| Desktop projection | **threejs-camera** |
|
|
20
|
+
|
|
21
|
+
**Trigger phrases include:**
|
|
22
|
+
|
|
23
|
+
- "WebXR", "VRButton", "ARButton", "XRControllerModelFactory", "hand tracking"
|
|
24
|
+
- "虚拟现实", "增强现实", "沉浸式"
|
|
25
|
+
|
|
26
|
+
## How to use this skill
|
|
27
|
+
|
|
28
|
+
1. **HTTPS** requirement and feature detection for XR availability.
|
|
29
|
+
2. **Buttons**: use official button factories to create DOM entry points; handle session end.
|
|
30
|
+
3. **Renderer**: call `renderer.xr.enabled = true` patterns per docs; prefer `setAnimationLoop` for XR loops.
|
|
31
|
+
4. **Controllers**: attach models via factories; read gamepad axes/buttons carefully with fallbacks.
|
|
32
|
+
5. **Hands**: opt-in hand models when runtime supports; performance implications.
|
|
33
|
+
6. **Lighting**: `XREstimatedLight` for AR realism—combine with **threejs-lights** cautiously.
|
|
34
|
+
7. **Exit**: restore non-XR render loop and resize handling on session end.
|
|
35
|
+
|
|
36
|
+
### Example: VR session with error handling
|
|
37
|
+
|
|
38
|
+
```javascript
|
|
39
|
+
import { VRButton } from 'three/addons/webxr/VRButton.js';
|
|
40
|
+
|
|
41
|
+
// Feature detection and session start
|
|
42
|
+
if ('xr' in navigator) {
|
|
43
|
+
renderer.xr.enabled = true;
|
|
44
|
+
document.body.appendChild(VRButton.createButton(renderer));
|
|
45
|
+
|
|
46
|
+
renderer.xr.addEventListener('sessionstart', () => {
|
|
47
|
+
console.log('XR session started');
|
|
48
|
+
});
|
|
49
|
+
renderer.xr.addEventListener('sessionend', () => {
|
|
50
|
+
console.log('XR session ended — restoring desktop view');
|
|
51
|
+
});
|
|
52
|
+
} else {
|
|
53
|
+
console.warn('WebXR not supported in this browser');
|
|
54
|
+
}
|
|
55
|
+
```
|
|
56
|
+
|
|
57
|
+
See [examples/workflow-xr-button.md](examples/workflow-xr-button.md).
|
|
58
|
+
|
|
59
|
+
## Doc map (official)
|
|
60
|
+
|
|
61
|
+
| Docs section | Representative links |
|
|
62
|
+
|--------------|----------------------|
|
|
63
|
+
| Renderer XR | https://threejs.org/docs/WebXRManager.html |
|
|
64
|
+
| Webxr addons | https://threejs.org/docs/VRButton.html |
|
|
65
|
+
| Webxr addons | https://threejs.org/docs/ARButton.html |
|
|
66
|
+
| Webxr addons | https://threejs.org/docs/XRControllerModelFactory.html |
|
|
67
|
+
|
|
68
|
+
## Scope
|
|
69
|
+
|
|
70
|
+
- **In scope:** Documented WebXR manager + listed addons for buttons/controllers/hands/planes.
|
|
71
|
+
- **Out of scope:** Store submission, OpenXR runtime specifics, custom native layers.
|
|
72
|
+
|
|
73
|
+
## Common pitfalls and best practices
|
|
74
|
+
|
|
75
|
+
- Desktop testing requires XR emulation or hardware; fail gracefully.
|
|
76
|
+
- Mismatched reference space causes floor offset—validate stage vs local-floor.
|
|
77
|
+
- Heavy post chains may not meet VR frame time—profile aggressively.
|
|
78
|
+
|
|
79
|
+
## Documentation and version
|
|
80
|
+
|
|
81
|
+
WebXR entry points span **Addons → Webxr** and renderer [`WebXRManager`](https://threejs.org/docs/WebXRManager.html) in [three.js docs](https://threejs.org/docs/). Browser and device capabilities vary—answers should cite the official example name and three.js version when possible.
|
|
82
|
+
|
|
83
|
+
## Agent response checklist
|
|
84
|
+
|
|
85
|
+
When answering under this skill, prefer responses that:
|
|
86
|
+
|
|
87
|
+
1. Link `WebXRManager`, `VRButton`, `ARButton`, or controller factories as relevant.
|
|
88
|
+
2. Use `setAnimationLoop` patterns with **threejs-renderers** for XR render loops.
|
|
89
|
+
3. Avoid duplicating desktop **threejs-camera** projection advice for XR eyes.
|
|
90
|
+
4. Mention reference space choice (local-floor, etc.) at a high level with docs link.
|
|
91
|
+
5. Flag performance interaction with **threejs-postprocessing** in VR.
|
|
92
|
+
|
|
93
|
+
## References
|
|
94
|
+
|
|
95
|
+
- https://threejs.org/docs/WebXRManager.html
|
|
96
|
+
- https://threejs.org/docs/VRButton.html
|
|
97
|
+
- https://threejs.org/docs/ARButton.html
|
|
98
|
+
- https://threejs.org/docs/XRControllerModelFactory.html
|
|
99
|
+
|
|
100
|
+
## Keywords
|
|
101
|
+
|
|
102
|
+
**English:** webxr, vr, ar, xr session, controller, hand tracking, three.js
|
|
103
|
+
|
|
104
|
+
**中文:** WebXR、VR、AR、VRButton、手柄、手部追踪、沉浸式、three.js
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
# Workflow: VR entry button
|
|
2
|
+
|
|
3
|
+
## Steps
|
|
4
|
+
|
|
5
|
+
1. Ensure site served over HTTPS and `navigator.xr` checked.
|
|
6
|
+
|
|
7
|
+
2. `document.body.appendChild(VRButton.createButton(renderer));` per [VRButton](https://threejs.org/docs/VRButton.html) for your three version.
|
|
8
|
+
|
|
9
|
+
3. `renderer.xr.enabled = true;` Use `renderer.setAnimationLoop` callback for render + updates.
|
|
10
|
+
|
|
11
|
+
4. Handle session end to restore window `resize` behavior if needed.
|
|
12
|
+
|
|
13
|
+
5. For AR passthrough use `ARButton` instead—see **threejs-webxr** doc map.
|
|
14
|
+
|
|
15
|
+
Always verify against the official example that matches your three.js revision.
|
package/skills/CATALOG.md
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
# 📋 AWF Skill Catalog
|
|
2
2
|
|
|
3
|
-
> Classification of
|
|
4
|
-
> Updated: 2026-
|
|
3
|
+
> Classification of all skills by type, trigger, and priority.
|
|
4
|
+
> Updated: 2026-03-06
|
|
5
5
|
|
|
6
6
|
---
|
|
7
7
|
|
|
@@ -9,65 +9,60 @@
|
|
|
9
9
|
|
|
10
10
|
| Type | Description | Example |
|
|
11
11
|
|------|-------------|---------|
|
|
12
|
-
| `auto` | Always active, runs silently without user command | `orchestrator`, `
|
|
12
|
+
| `auto` | Always active, runs silently without user command | `orchestrator`, `memory-sync` |
|
|
13
13
|
| `manual` | User must explicitly invoke via `/command` or keyword | `brainstorm-agent`, `ios-engineer` |
|
|
14
14
|
|
|
15
15
|
---
|
|
16
16
|
|
|
17
|
-
##
|
|
17
|
+
## Active Skills
|
|
18
|
+
|
|
19
|
+
| # | Skill | Type | Trigger | Priority | Version | Status |
|
|
20
|
+
|---|-------|------|---------|----------|---------|--------|
|
|
21
|
+
| 1 | `orchestrator` | `auto` | Always (first) | 1 | 2.1.0 | ✅ Active |
|
|
22
|
+
| 2 | `awf-session-restore` | `auto` | Session start | 2 | — | ✅ Active |
|
|
23
|
+
| 3 | `memory-sync` | `auto` | Always | 3 | 2.2.0 | ✅ Active |
|
|
24
|
+
| 4 | `symphony-orchestrator` | `auto` | Always | 4 | 1.0.0 | ✅ Active |
|
|
25
|
+
| 5 | `brainstorm-agent` | `manual` | `/brainstorm`, keywords | 5 | 1.0.0 | ✅ Active |
|
|
26
|
+
| 6 | `awf-error-translator` | `auto` | Error detected | 6 | — | ✅ Active |
|
|
27
|
+
| 7 | `awf-adaptive-language` | `auto` | Always | 7 | — | ✅ Active |
|
|
28
|
+
| 8 | `ios-engineer` | `manual` | iOS tasks | — | — | ✅ Active |
|
|
29
|
+
| 9 | `smali-to-kotlin` | `manual` | `/reverse-android` | 8 | — | ✅ Active |
|
|
30
|
+
| 10 | `smali-to-swift` | `manual` | `/reverse-ios` | 9 | — | ✅ Active |
|
|
31
|
+
| 11 | `awf-context-help` | `auto` | `/help`, stuck | — | — | ✅ Active |
|
|
32
|
+
| 12 | `auto-save` | `auto` | Session end | — | — | ✅ Background |
|
|
33
|
+
| 13 | `awf-version-tracker` | `auto` | Skill changes | — | — | ✅ Background |
|
|
34
|
+
| 14 | `module-spec-writer` | `auto` | Gate 1.5 check fail | 1.5 | 1.0.0 | ✅ Active |
|
|
35
|
+
| 15 | `spec-gate` | `auto` | Gate 2 check fail | 2 | 1.0.0 | ✅ Active |
|
|
36
|
+
| 16 | `visual-design-gate` | `auto` | Gate 2.5 check fail | 2.5 | 1.0.0 | ✅ Active |
|
|
37
|
+
| 17 | `trello-sync` | `auto` | Always | 2 | 3.0.0 | ✅ Active |
|
|
18
38
|
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
### Core Lifecycle & Coordination
|
|
22
|
-
|
|
23
|
-
- `orchestrator`
|
|
24
|
-
- `symphony-orchestrator`
|
|
25
|
-
- `awf-session-restore`
|
|
26
|
-
- `nm-memory-sync`
|
|
27
|
-
- `symphony-enforcer`
|
|
28
|
-
- `trello-sync`
|
|
29
|
-
|
|
30
|
-
### Planning & Execution
|
|
31
|
-
|
|
32
|
-
- `brainstorm-agent`
|
|
33
|
-
- `module-spec-writer`
|
|
34
|
-
- `spec-gate`
|
|
35
|
-
- `visual-design-gate`
|
|
36
|
-
- `single-flow-task-execution`
|
|
39
|
+
---
|
|
37
40
|
|
|
38
|
-
|
|
41
|
+
## Quality & Discipline Skills (Superpowers-Inspired)
|
|
39
42
|
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
- `code-review`
|
|
43
|
-
- `gitnexus-intelligence`
|
|
43
|
+
> Skills ported and adapted from [obra/superpowers](https://github.com/obra/superpowers) framework.
|
|
44
|
+
> Integrated into AWKit with NeuralMemory + Symphony extensions.
|
|
44
45
|
|
|
45
|
-
|
|
46
|
+
| # | Skill | Type | Trigger | Priority | Status |
|
|
47
|
+
|---|-------|------|---------|----------|--------|
|
|
48
|
+
| 14 | `verification-gate` | `auto` | Task completion, commit, deploy | 1 | ✅ Active |
|
|
49
|
+
| 15 | `systematic-debugging` | `auto` | `/debug`, error detected, test failures | 2 | ✅ Active |
|
|
50
|
+
| 16 | `code-review` | `auto` | Task completion, before merge | 3 | ✅ Active |
|
|
51
|
+
| 17 | `writing-skills` | `manual` | Creating/modifying skills | — | ✅ Active |
|
|
46
52
|
|
|
47
|
-
- `writing-skills`
|
|
48
|
-
- `skill-creator`
|
|
49
|
-
- `awf-version-tracker`
|
|
50
|
-
- `auto-save`
|
|
51
|
-
- `awf-adaptive-language`
|
|
52
|
-
- `awf-context-help`
|
|
53
|
-
- `awf-error-translator`
|
|
54
|
-
- `gemini-conductor`
|
|
55
|
-
- `codex-conductor`
|
|
56
|
-
- `telegram-notify`
|
|
57
|
-
- `ship-to-code`
|
|
58
53
|
|
|
59
54
|
---
|
|
60
55
|
|
|
61
|
-
## Optional
|
|
56
|
+
## NeuralMemory Skill Pack (Optional Upgrade)
|
|
57
|
+
|
|
58
|
+
When NeuralMemory is installed, these skills provide enhanced capabilities:
|
|
62
59
|
|
|
63
|
-
|
|
|
64
|
-
|
|
65
|
-
| `
|
|
66
|
-
| `
|
|
67
|
-
| `
|
|
68
|
-
| `
|
|
69
|
-
| `neural-memory` | Memory audit, intake, evolution, extra workflows |
|
|
70
|
-
| `superpowers` | Additional execution/TDD/reference skills ported from Superpowers |
|
|
60
|
+
| # | Skill | Type | Replaces | Trigger |
|
|
61
|
+
|---|-------|------|----------|---------|
|
|
62
|
+
| 1 | `nm-memory-sync` | `auto` | `memory-sync` | Session start, debug, errors |
|
|
63
|
+
| 2 | `nm-memory-intake` | `manual` | — | `/memory-intake` |
|
|
64
|
+
| 3 | `nm-memory-audit` | `manual` | — | `/memory-audit` |
|
|
65
|
+
| 4 | `nm-memory-evolution` | `manual` | — | `/memory-evolution` |
|
|
71
66
|
|
|
72
67
|
---
|
|
73
68
|
|
|
@@ -76,7 +71,7 @@
|
|
|
76
71
|
Skills marked with self-evolution have a `## Learnings` section that accumulates insights:
|
|
77
72
|
|
|
78
73
|
- ✅ `orchestrator` — routing improvements
|
|
79
|
-
- ✅ `
|
|
74
|
+
- ✅ `memory-sync` — trigger pattern refinements
|
|
80
75
|
- ✅ `symphony-orchestrator` — task management optimizations
|
|
81
76
|
|
|
82
77
|
---
|
|
@@ -0,0 +1,30 @@
|
|
|
1
|
+
# Skill Trigger Index
|
|
2
|
+
|
|
3
|
+
> ⚠️ TRƯỚC mọi side-effect, scan bảng này → load skill tương ứng TRƯỚC khi act.
|
|
4
|
+
> Check THEN act — never act THEN check.
|
|
5
|
+
|
|
6
|
+
| Skill | Trigger | Path | Pri |
|
|
7
|
+
|:---|:---|:---|:---|
|
|
8
|
+
| orchestrator | Mọi request (routing) | orchestrator/SKILL.md | 🔴 |
|
|
9
|
+
| symphony-enforcer | Task create/update/complete, progress report | symphony-enforcer/SKILL.md | 🔴 |
|
|
10
|
+
| symphony-orchestrator | Session start, server check | symphony-orchestrator/SKILL.md | 🔴 |
|
|
11
|
+
| awf-session-restore | Session start, init chain | awf-session-restore/SKILL.md | 🔴 |
|
|
12
|
+
| nm-memory-sync | Session start/end, debug, errors | nm-memory-sync/SKILL.md | 🟡 |
|
|
13
|
+
| verification-gate | Task completion, commit, deploy, success claims | verification-gate/SKILL.md | 🟡 |
|
|
14
|
+
| code-review | Task completion, before merge | code-review/SKILL.md | 🟡 |
|
|
15
|
+
| spec-gate | Gate 2 architecture design | spec-gate/SKILL.md | 🟡 |
|
|
16
|
+
| brainstorm-agent | `/brainstorm`, ý tưởng, ideation | brainstorm-agent/SKILL.md | 🟢 |
|
|
17
|
+
| skill-creator | `/create-agent-skill`, tạo/sửa skill | skill-creator/SKILL.md | 🟢 |
|
|
18
|
+
| gitnexus-intelligence | Refactoring, impact analysis, pre-commit | gitnexus-intelligence/SKILL.md | 🟢 |
|
|
19
|
+
| ship-to-code | Code porting, migration, language translation | ship-to-code/SKILL.md | 🟢 |
|
|
20
|
+
| visual-design-gate | Gate 2.5 UI/UX design sync | visual-design-gate/SKILL.md | 🟢 |
|
|
21
|
+
| module-spec-writer | Gate 1.5 COMPLEX + >3 modules | module-spec-writer/SKILL.md | 🟢 |
|
|
22
|
+
|
|
23
|
+
## File Guards
|
|
24
|
+
|
|
25
|
+
| File pattern | PHẢI đọc lại | Lý do |
|
|
26
|
+
|:---|:---|:---|
|
|
27
|
+
| `symphony/**/*.json` | `symphony-enforcer/SKILL.md` | Task integrity |
|
|
28
|
+
| `.project-identity` | `orchestrator/SKILL.md` | Project config |
|
|
29
|
+
| `**/SKILL.md` | `skill-creator/SKILL.md` | Skill format |
|
|
30
|
+
| `GEMINI.md` | N/A (self-referencing) | Core rules |
|
|
@@ -15,7 +15,9 @@ invocation-type: auto
|
|
|
15
15
|
priority: 2
|
|
16
16
|
---
|
|
17
17
|
|
|
18
|
-
|
|
18
|
+
<!-- ⚠️ INIT CHAIN CRITICAL — File này quyết định thứ tự context loading. Sai = rò rỉ cross-project memory. -->
|
|
19
|
+
|
|
20
|
+
# AWF Session Restore (v7.2 — Symphony Native + Trigger Index)
|
|
19
21
|
|
|
20
22
|
> **Purpose:** Silently gather unstructured context (Git, Plans, Memory) at session start.
|
|
21
23
|
> **Key Change v7.0:** Symphony-native. Strict brain scoping.
|
|
@@ -63,7 +65,8 @@ cat .project-identity 2>/dev/null || echo "NO_PROJECT"
|
|
|
63
65
|
```
|
|
64
66
|
|
|
65
67
|
**Nếu tìm thấy:** Extract `projectId` và `projectName` từ JSON.
|
|
66
|
-
**
|
|
68
|
+
**Cache Mindful Config:** Extract `mindfulCheckpoint` và `mindfulCheckpointConfig` (defaults: enabled=true, threshold=3, scopeGuard=true, milestoneRest=true).
|
|
69
|
+
**Nếu không:** Ghi nhận `raw mode` — các bước sau vẫn chạy nhưng không scope theo project. Mindful defaults vẫn ON.
|
|
67
70
|
|
|
68
71
|
### Step 2: Switch NeuralMemory Brain (CHẠY THỨ HAI)
|
|
69
72
|
|
|
@@ -119,6 +122,14 @@ Hoặc dùng MCP tool (sau khi brain đã switch):
|
|
|
119
122
|
symphony_available_tasks(filter="my")
|
|
120
123
|
```
|
|
121
124
|
|
|
125
|
+
#### 3e. Skill Trigger Index (v7.2 — Two-Tier Loading)
|
|
126
|
+
```
|
|
127
|
+
Read: ~/.gemini/antigravity/skills/TRIGGER_INDEX.md
|
|
128
|
+
→ Memorize trigger table (~150 tokens)
|
|
129
|
+
→ Load specific SKILL.md files ON DEMAND khi action matches trigger
|
|
130
|
+
→ KHÔNG load toàn bộ SKILL.md files upfront
|
|
131
|
+
```
|
|
132
|
+
|
|
122
133
|
### Step 4: Compose Silent Context
|
|
123
134
|
|
|
124
135
|
**KHÔNG in ra console.** Tổng hợp thành context object ngầm cho AI sử dụng nội bộ:
|
|
@@ -141,6 +152,12 @@ symphony_available_tasks(filter="my")
|
|
|
141
152
|
"brain": {
|
|
142
153
|
"switched_to": "<projectId>",
|
|
143
154
|
"active_plan": "plans/260316-auth/implementation_plan.md"
|
|
155
|
+
},
|
|
156
|
+
"mindful": {
|
|
157
|
+
"enabled": true,
|
|
158
|
+
"iteration_threshold": 3,
|
|
159
|
+
"scope_guard": true,
|
|
160
|
+
"milestone_rest": true
|
|
144
161
|
}
|
|
145
162
|
}
|
|
146
163
|
```
|
|
@@ -17,6 +17,8 @@ activation_keywords:
|
|
|
17
17
|
priority: medium
|
|
18
18
|
---
|
|
19
19
|
|
|
20
|
+
<!-- ⚠️ GATE 1 — Brainstorm ONLY. Không code trong phase này. Output = BRIEF.md. -->
|
|
21
|
+
|
|
20
22
|
# 💡 Brainstorm Agent — Router
|
|
21
23
|
|
|
22
24
|
> **Purpose:** Biến ý tưởng mơ hồ thành bản thiết kế rõ ràng qua phiên brainstorm có cấu trúc.
|
|
@@ -3,6 +3,8 @@ name: code-review
|
|
|
3
3
|
description: Use when completing tasks, implementing features, or before merging. Dispatch structured code review with severity classification. Auto-triggers after task completion in subagent-driven or single-flow execution.
|
|
4
4
|
---
|
|
5
5
|
|
|
6
|
+
<!-- ⚠️ REVIEW GATE — Spec compliance FIRST, then code quality. No merge without review. -->
|
|
7
|
+
|
|
6
8
|
# Code Review
|
|
7
9
|
|
|
8
10
|
## Overview
|
|
@@ -0,0 +1,154 @@
|
|
|
1
|
+
---
|
|
2
|
+
name: code-review-system-principles
|
|
3
|
+
description: "Nguyên tắc cốt lõi, tiêu chí đánh giá và output schema cho hệ thống tự động Code Review. Sử dụng khi AI đóng vai trò người kiểm duyệt (reviewer) tìm bugs trong một bản vá (patch/diff)."
|
|
4
|
+
version: 1.0.0
|
|
5
|
+
trigger: conditional
|
|
6
|
+
activation_keywords:
|
|
7
|
+
- "code review principles"
|
|
8
|
+
- "review principles"
|
|
9
|
+
- "nguyên tắc review"
|
|
10
|
+
- "code review rules"
|
|
11
|
+
---
|
|
12
|
+
|
|
13
|
+
<!-- ⚠️ DUAL-SYNCED: Thực thi đồng bộ chéo giữa ~/.gemini/antigravity và main-awf. -->
|
|
14
|
+
|
|
15
|
+
# Code Review System Principles
|
|
16
|
+
|
|
17
|
+
This document summarizes the active review prompt rules used when evaluating a patch.
|
|
18
|
+
It is a human-readable restatement, not a verbatim raw prompt dump.
|
|
19
|
+
|
|
20
|
+
## 1. Reviewer role
|
|
21
|
+
|
|
22
|
+
- Act as a reviewer for a proposed code change made by another engineer.
|
|
23
|
+
- Focus on discrete, actionable bugs introduced by the patch.
|
|
24
|
+
- Prefer no findings over weak or speculative findings.
|
|
25
|
+
|
|
26
|
+
## 2. What counts as a bug worth flagging
|
|
27
|
+
|
|
28
|
+
A finding should generally satisfy all of the following:
|
|
29
|
+
|
|
30
|
+
1. It meaningfully impacts correctness, performance, security, or maintainability.
|
|
31
|
+
2. It is discrete and actionable.
|
|
32
|
+
3. Fixing it matches the rigor level already present in the codebase.
|
|
33
|
+
4. It was introduced by the current patch, not pre-existing.
|
|
34
|
+
5. The original author would likely want to fix it if informed.
|
|
35
|
+
6. It does not depend on unstated assumptions about intent.
|
|
36
|
+
7. It identifies provably affected code or scenarios, not vague downstream risk.
|
|
37
|
+
8. It is not merely an intentional product or behavior change.
|
|
38
|
+
|
|
39
|
+
## 3. What to ignore
|
|
40
|
+
|
|
41
|
+
- Trivial style issues, unless they obscure meaning or violate a documented standard.
|
|
42
|
+
- General codebase quality complaints.
|
|
43
|
+
- Speculative regressions without a concrete affected path.
|
|
44
|
+
- Pre-existing problems not introduced by the patch.
|
|
45
|
+
- Non-actionable feedback.
|
|
46
|
+
|
|
47
|
+
## 4. Finding coverage rules
|
|
48
|
+
|
|
49
|
+
- Return **all** findings the author would likely fix.
|
|
50
|
+
- Do **not** stop at the first valid issue.
|
|
51
|
+
- If there is no clearly valuable issue, return an empty findings list.
|
|
52
|
+
|
|
53
|
+
## 5. Comment-writing rules
|
|
54
|
+
|
|
55
|
+
Each finding comment should:
|
|
56
|
+
|
|
57
|
+
- Clearly explain why the issue is a bug.
|
|
58
|
+
- Accurately communicate severity.
|
|
59
|
+
- Stay brief: at most one paragraph.
|
|
60
|
+
- Avoid unnecessary praise or blame.
|
|
61
|
+
- State the conditions, environments, or inputs required for the issue to occur.
|
|
62
|
+
- Be understandable without close reading.
|
|
63
|
+
- Avoid large code blocks; any included code should be very small.
|
|
64
|
+
- Use matter-of-fact, assistant-like tone.
|
|
65
|
+
- Use an imperative finding title with a priority prefix.
|
|
66
|
+
- Keep the title short (no more than 80 characters).
|
|
67
|
+
|
|
68
|
+
## 6. Location rules
|
|
69
|
+
|
|
70
|
+
- Use one comment per distinct issue.
|
|
71
|
+
- Keep the line range as short as possible.
|
|
72
|
+
- Prefer the smallest diff-overlapping range that pinpoints the issue.
|
|
73
|
+
- Avoid large ranges when a smaller subrange can explain the bug.
|
|
74
|
+
|
|
75
|
+
## 7. Suggestion block rules
|
|
76
|
+
|
|
77
|
+
- Use `suggestion` blocks **only** for concrete replacement code.
|
|
78
|
+
- Keep them minimal.
|
|
79
|
+
- Preserve exact leading whitespace.
|
|
80
|
+
- Do not change outer indentation unless the fix truly requires it.
|
|
81
|
+
|
|
82
|
+
## 8. Priority rules
|
|
83
|
+
|
|
84
|
+
Every finding title must begin with a priority tag:
|
|
85
|
+
|
|
86
|
+
- `[P0]` Blocking / universal / drop-everything issue
|
|
87
|
+
- `[P1]` Urgent, should be fixed next cycle
|
|
88
|
+
- `[P2]` Normal bug, fix eventually
|
|
89
|
+
- `[P3]` Low priority, nice to have
|
|
90
|
+
|
|
91
|
+
Also include numeric priority in JSON:
|
|
92
|
+
|
|
93
|
+
- `0` for P0
|
|
94
|
+
- `1` for P1
|
|
95
|
+
- `2` for P2
|
|
96
|
+
- `3` for P3
|
|
97
|
+
|
|
98
|
+
## 9. Output schema rules
|
|
99
|
+
|
|
100
|
+
The output must be valid JSON with exactly this top-level shape:
|
|
101
|
+
|
|
102
|
+
- `findings`: array
|
|
103
|
+
- `overall_correctness`: `"patch is correct"` or `"patch is incorrect"`
|
|
104
|
+
- `overall_explanation`: short justification
|
|
105
|
+
- `overall_confidence_score`: float
|
|
106
|
+
|
|
107
|
+
Each finding must include:
|
|
108
|
+
|
|
109
|
+
- `title`
|
|
110
|
+
- `body`
|
|
111
|
+
- `confidence_score`
|
|
112
|
+
- `priority` (when determinable)
|
|
113
|
+
- `code_location.absolute_file_path`
|
|
114
|
+
- `code_location.line_range.start`
|
|
115
|
+
- `code_location.line_range.end`
|
|
116
|
+
|
|
117
|
+
Additional formatting constraints:
|
|
118
|
+
|
|
119
|
+
- Output raw JSON only; no markdown fences or extra prose.
|
|
120
|
+
- `code_location` is required for every finding.
|
|
121
|
+
- The location should overlap the diff.
|
|
122
|
+
- Do not generate a PR fix in the final review output.
|
|
123
|
+
|
|
124
|
+
## 10. Correctness verdict rules
|
|
125
|
+
|
|
126
|
+
Use `patch is correct` only when:
|
|
127
|
+
|
|
128
|
+
- Existing code and tests should not break, and
|
|
129
|
+
- The patch is free of blocking bugs.
|
|
130
|
+
|
|
131
|
+
Ignore non-blocking nits such as:
|
|
132
|
+
|
|
133
|
+
- style
|
|
134
|
+
- formatting
|
|
135
|
+
- typos
|
|
136
|
+
- documentation polish
|
|
137
|
+
|
|
138
|
+
## 11. Practical review heuristic
|
|
139
|
+
|
|
140
|
+
A good finding usually answers all of these quickly:
|
|
141
|
+
|
|
142
|
+
- **Where is the problem?**
|
|
143
|
+
- **When does it break?**
|
|
144
|
+
- **Why is it a real bug?**
|
|
145
|
+
- **How severe is it?**
|
|
146
|
+
- **Is it definitely introduced by this patch?**
|
|
147
|
+
|
|
148
|
+
## 12. Review philosophy summary
|
|
149
|
+
|
|
150
|
+
- Precision over volume
|
|
151
|
+
- Evidence over speculation
|
|
152
|
+
- Patch-introduced regressions over legacy issues
|
|
153
|
+
- Author-useful feedback over theoretical concerns
|
|
154
|
+
- Concise comments over long essays
|
|
@@ -15,6 +15,8 @@ invocation-type: auto
|
|
|
15
15
|
priority: 5
|
|
16
16
|
---
|
|
17
17
|
|
|
18
|
+
<!-- ⚠️ INSPECT ONLY — Codex TUYỆT ĐỐI KHÔNG sửa code. Output = .md reports. approval-mode suggest. -->
|
|
19
|
+
|
|
18
20
|
# 🔍 Codex Conductor — Router
|
|
19
21
|
|
|
20
22
|
> **Purpose:** Gọi Codex CLI qua terminal khi cần rà soát logic, debug, review code chuyên sâu.
|
|
@@ -38,7 +40,7 @@ Codex CLI = Inspector — debug, review, verify, test
|
|
|
38
40
|
|
|
39
41
|
```bash
|
|
40
42
|
which codex || command -v codex
|
|
41
|
-
#
|
|
43
|
+
# If not installed: npm i -g @openai/codex
|
|
42
44
|
```
|
|
43
45
|
|
|
44
46
|
## 🎯 Trigger Conditions
|
|
@@ -88,9 +90,9 @@ cd <PROJECT_ROOT> && timeout 180 codex exec \
|
|
|
88
90
|
| Event | Action |
|
|
89
91
|
|-------|--------|
|
|
90
92
|
| Success | Parse → save report → summarize → suggest fixes |
|
|
91
|
-
| Timeout | "⏳ Timed out (>120s)" → fallback Antigravity-only
|
|
92
|
-
| Error |
|
|
93
|
-
| Not installed |
|
|
93
|
+
| Timeout | "⏳ Timed out (>120s)" → fallback Antigravity-only |
|
|
94
|
+
| Error | Check `codex --version` → suggest install |
|
|
95
|
+
| Not installed | Ask user to install |
|
|
94
96
|
|
|
95
97
|
## 📁 Report Structure
|
|
96
98
|
|
|
@@ -15,6 +15,8 @@ invocation-type: auto
|
|
|
15
15
|
priority: 5
|
|
16
16
|
---
|
|
17
17
|
|
|
18
|
+
<!-- ⚠️ READ-ONLY CLI — Gemini CLI KHÔNG ĐƯỢC sửa code. Chỉ .md files. Timeout 60s. -->
|
|
19
|
+
|
|
18
20
|
# 🎼 Gemini Conductor Skill
|
|
19
21
|
|
|
20
22
|
> **Purpose:** Antigravity tự gọi Gemini CLI qua terminal khi cần tầm nhìn rộng hơn scope IDE.
|
|
@@ -194,9 +196,8 @@ on_timeout:
|
|
|
194
196
|
- Fall back to Antigravity-only analysis
|
|
195
197
|
|
|
196
198
|
on_error:
|
|
197
|
-
- Log: "⚠️ CLI invocation failed
|
|
198
|
-
-
|
|
199
|
-
- Do NOT ask the user to install or authenticate the CLI. It is strictly optional
|
|
199
|
+
- Log: "⚠️ CLI invocation failed, continuing without conductor"
|
|
200
|
+
- Do NOT block the workflow — CLI is enhancement, not dependency
|
|
200
201
|
```
|
|
201
202
|
|
|
202
203
|
---
|
|
@@ -14,6 +14,8 @@ invocation-type: auto
|
|
|
14
14
|
priority: 5
|
|
15
15
|
---
|
|
16
16
|
|
|
17
|
+
<!-- ⚠️ IMPACT-FIRST — PHẢI chạy gitnexus_impact TRƯỚC khi edit symbol. Chưa index → KHÔNG dùng tools. -->
|
|
18
|
+
|
|
17
19
|
# GitNexus Intelligence v1.0 — Code-Aware Agent Skill
|
|
18
20
|
|
|
19
21
|
> **Purpose:** Cung cấp architectural awareness cho AI agent thông qua knowledge graph.
|
|
@@ -23,6 +23,8 @@ activation_keywords:
|
|
|
23
23
|
- "product spec"
|
|
24
24
|
---
|
|
25
25
|
|
|
26
|
+
<!-- ⚠️ GATE 1.5 — User PHẢI approve module specs. COMPLEX + >3 modules = MANDATORY. -->
|
|
27
|
+
|
|
26
28
|
# Module Spec Writer v1.2 — Gate 1.5: Product Specification (Router)
|
|
27
29
|
|
|
28
30
|
> **Purpose:** Tạo tài liệu product-level cho từng module (screens, flows, rules)
|
|
@@ -187,6 +187,16 @@ If `nmem` is not available AND auto-install fails, falls back to flat-file behav
|
|
|
187
187
|
- Shows warning once: "⚠️ NeuralMemory not installed. Using flat-file fallback."
|
|
188
188
|
```
|
|
189
189
|
|
|
190
|
+
## CLI Fallback (MCP Unresponsive)
|
|
191
|
+
|
|
192
|
+
If the `neural-memory` MCP server is unresponsive or fails, you MUST fallback to using the `nmem` CLI directly using the `run_command` tool. The CLI offers full parity with the MCP tools:
|
|
193
|
+
- `nmem_remember` -> `nmem remember "..."`
|
|
194
|
+
- `nmem_recall` -> `nmem recall "..."`
|
|
195
|
+
- `nmem_context` -> `nmem recap` or `nmem recall "..."`
|
|
196
|
+
- `nmem_auto` -> `nmem auto process --text "..."`
|
|
197
|
+
|
|
198
|
+
Always check the `nmem` CLI help (`nmem --help`) if unsure of the syntax.
|
|
199
|
+
|
|
190
200
|
---
|
|
191
201
|
|
|
192
202
|
## Integration
|
|
@@ -11,6 +11,8 @@ activation_keywords:
|
|
|
11
11
|
- "bổ sung skill"
|
|
12
12
|
---
|
|
13
13
|
|
|
14
|
+
<!-- ⚠️ DUAL-SYNC BẮT BUỘC — Mọi thay đổi PHẢI sync sang main-awf. Không được bỏ qua Bước 3. -->
|
|
15
|
+
|
|
14
16
|
# 🛠️ Skill Creator (with Auto-Sync to main-awf)
|
|
15
17
|
|
|
16
18
|
**Purpose**: Hỗ trợ người dùng thiết kế, lập trình và tinh chỉnh các Antigravity Skills theo chuẩn.
|
|
@@ -21,6 +21,8 @@ activation_keywords:
|
|
|
21
21
|
- "API design"
|
|
22
22
|
---
|
|
23
23
|
|
|
24
|
+
<!-- ⚠️ GATE 2 — User PHẢI approve design. AI KHÔNG được tự approve. Đọc GEMINI.md § 7-Gate trước khi sửa. -->
|
|
25
|
+
|
|
24
26
|
# Spec Gate v1.2 — Architecture & Data Design Gate (Router)
|
|
25
27
|
|
|
26
28
|
> **Purpose:** Chốt thiết kế kỹ thuật (DB Schema, API Contract, State Machine)
|
|
@@ -17,6 +17,8 @@ invocation-type: auto
|
|
|
17
17
|
priority: 1
|
|
18
18
|
---
|
|
19
19
|
|
|
20
|
+
<!-- ⚠️ TASK INTEGRITY — Sửa file này PHẢI đọc lại GEMINI.md § Symphony rules. Không sửa format Sync Block. -->
|
|
21
|
+
|
|
20
22
|
# Symphony Enforcer v3.7 — Router
|
|
21
23
|
|
|
22
24
|
> **Purpose:** Đảm bảo AI KHÔNG BAO GIỜ quên cập nhật Symphony.
|
|
@@ -31,6 +33,12 @@ KHÔNG CÓ NGOẠI LỆ:
|
|
|
31
33
|
- AI tự detect completion và auto-complete task
|
|
32
34
|
- Task done → PHẢI atomic git commit trước khi suggest next
|
|
33
35
|
- BỎ QUA BẤT KỲ STEP NÀO = VI PHẠM
|
|
36
|
+
|
|
37
|
+
GATE 3 VIOLATION (NẶNG):
|
|
38
|
+
- Tạo implementation plan mà KHÔNG tạo Symphony tickets = VI PHẠM NẶNG
|
|
39
|
+
- Dùng artifact task.md thay cho Symphony = VI PHẠM
|
|
40
|
+
(task.md = IDE-level tracking, KHÔNG thay thế Symphony)
|
|
41
|
+
- Severity tương đương: code logic khi chưa confirm UI
|
|
34
42
|
```
|
|
35
43
|
|
|
36
44
|
## 📋 Topic Index — Load file theo nhu cầu
|
|
@@ -41,6 +49,7 @@ KHÔNG CÓ NGOẠI LỆ:
|
|
|
41
49
|
| Three-Phase Execution | Gate 4 với COMPLEX + UI tasks | `examples/three-phase.md` |
|
|
42
50
|
| Trigger Points (TP1, TP1.5, TP1.7) | Milestone, schema changes, checkpoints | `examples/trigger-points.md` |
|
|
43
51
|
| Task Completion (TP2-TP4) | Khi task sắp done | `examples/task-completion.md` |
|
|
52
|
+
| Mindful Stop (TP-ITER, TP-SCOPE, TP-REST) | Iteration counter, scope guard, milestone rest | `examples/mindful-stop.md` |
|
|
44
53
|
|
|
45
54
|
## Auto-Lifecycle: task_boundary ↔ Symphony
|
|
46
55
|
|