@leejungkiin/awkit 1.1.0 → 1.1.2

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 (119) hide show
  1. package/README.md +3 -3
  2. package/VERSION +1 -1
  3. package/bin/awf.js +1 -1
  4. package/bin/awk.js +237 -26
  5. package/core/AGENTS.md +8 -9
  6. package/core/GEMINI.md +74 -199
  7. package/package.json +3 -2
  8. package/skill-packs/neural-memory/skills/nm-memory-sync/SKILL.md +2 -2
  9. package/skills/CATALOG.md +3 -2
  10. package/skills/README.md +109 -0
  11. package/skills/android-re-analyzer/SKILL.md +238 -0
  12. package/skills/android-re-analyzer/references/api-extraction-patterns.md +119 -0
  13. package/skills/android-re-analyzer/references/call-flow-analysis.md +176 -0
  14. package/skills/android-re-analyzer/references/fernflower-usage.md +115 -0
  15. package/skills/android-re-analyzer/references/jadx-usage.md +116 -0
  16. package/skills/android-re-analyzer/references/setup-guide.md +221 -0
  17. package/skills/android-re-analyzer/scripts/check-deps.sh +129 -0
  18. package/skills/android-re-analyzer/scripts/decompile.sh +375 -0
  19. package/skills/android-re-analyzer/scripts/find-api-calls.sh +118 -0
  20. package/skills/android-re-analyzer/scripts/install-dep.sh +448 -0
  21. package/skills/awf-session-restore/SKILL.md +108 -184
  22. package/skills/beads-manager/SKILL.md +2 -2
  23. package/skills/brainstorm-agent/SKILL.md +47 -2
  24. package/skills/gemini-conductor/SKILL.md +234 -0
  25. package/skills/memory-sync/SKILL.md +29 -1
  26. package/skills/nm-memory-sync/SKILL.md +2 -2
  27. package/skills/orchestrator/SKILL.md +29 -155
  28. package/skills/skills/nm-memory-sync/SKILL.md +2 -2
  29. package/skills/smali-to-kotlin/SKILL.md +1 -1
  30. package/skills/smali-to-swift/SKILL.md +1 -1
  31. package/skills/swiftui-pro/SKILL.md +108 -0
  32. package/skills/swiftui-pro/agents/openai.yaml +10 -0
  33. package/skills/swiftui-pro/assets/swiftui-pro-icon.png +0 -0
  34. package/skills/swiftui-pro/assets/swiftui-pro-icon.svg +29 -0
  35. package/skills/swiftui-pro/references/accessibility.md +13 -0
  36. package/skills/swiftui-pro/references/api.md +39 -0
  37. package/skills/swiftui-pro/references/data.md +43 -0
  38. package/skills/swiftui-pro/references/design.md +31 -0
  39. package/skills/swiftui-pro/references/hygiene.md +9 -0
  40. package/skills/swiftui-pro/references/navigation.md +14 -0
  41. package/skills/swiftui-pro/references/performance.md +46 -0
  42. package/skills/swiftui-pro/references/swift.md +56 -0
  43. package/skills/swiftui-pro/references/views.md +35 -0
  44. package/skills/symphony-enforcer/SKILL.md +362 -0
  45. package/skills/symphony-orchestrator/SKILL.md +301 -0
  46. package/skills/telegram-notify/SKILL.md +57 -0
  47. package/symphony/LICENSE +21 -0
  48. package/symphony/README.md +178 -0
  49. package/symphony/app/api/agents/route.js +152 -0
  50. package/symphony/app/api/events/route.js +22 -0
  51. package/symphony/app/api/knowledge/route.js +253 -0
  52. package/symphony/app/api/locks/route.js +29 -0
  53. package/symphony/app/api/notes/route.js +125 -0
  54. package/symphony/app/api/preflight/route.js +23 -0
  55. package/symphony/app/api/projects/route.js +116 -0
  56. package/symphony/app/api/roles/route.js +134 -0
  57. package/symphony/app/api/skills/route.js +82 -0
  58. package/symphony/app/api/status/route.js +18 -0
  59. package/symphony/app/api/tasks/route.js +157 -0
  60. package/symphony/app/api/workflows/route.js +61 -0
  61. package/symphony/app/api/workspaces/route.js +15 -0
  62. package/symphony/app/globals.css +2605 -0
  63. package/symphony/app/layout.js +20 -0
  64. package/symphony/app/page.js +2122 -0
  65. package/symphony/cli/index.js +1060 -0
  66. package/symphony/core/agent-manager.js +357 -0
  67. package/symphony/core/context-bus.js +100 -0
  68. package/symphony/core/db.js +223 -0
  69. package/symphony/core/file-lock-manager.js +154 -0
  70. package/symphony/core/merge-pipeline.js +234 -0
  71. package/symphony/core/orchestrator.js +236 -0
  72. package/symphony/core/task-manager.js +335 -0
  73. package/symphony/core/workspace-manager.js +168 -0
  74. package/symphony/jsconfig.json +7 -0
  75. package/symphony/lib/core.mjs +1034 -0
  76. package/symphony/mcp/index.js +29 -0
  77. package/symphony/mcp/server.js +110 -0
  78. package/symphony/mcp/tools/context.js +80 -0
  79. package/symphony/mcp/tools/locks.js +99 -0
  80. package/symphony/mcp/tools/status.js +82 -0
  81. package/symphony/mcp/tools/tasks.js +216 -0
  82. package/symphony/mcp/tools/workspace.js +143 -0
  83. package/symphony/next.config.mjs +7 -0
  84. package/symphony/package.json +53 -0
  85. package/symphony/scripts/postinstall.js +49 -0
  86. package/symphony/symphony.config.js +41 -0
  87. package/templates/conductor-tracks.md +38 -0
  88. package/templates/specs/PROJECT.md +50 -0
  89. package/templates/specs/ROADMAP.md +79 -0
  90. package/templates/specs/TECH-SPEC.md +81 -0
  91. package/templates/specs/task-spec-template.xml +65 -0
  92. package/templates/workflow_dual_mode_template.md +5 -5
  93. package/workflows/_uncategorized/AGENTS.md +38 -0
  94. package/workflows/_uncategorized/decompile.md +67 -0
  95. package/workflows/_uncategorized/skill-health.md +7 -7
  96. package/workflows/ads/ads-audit.md +5 -5
  97. package/workflows/ads/ads-optimize.md +10 -10
  98. package/workflows/ads/adsExpert.md +7 -7
  99. package/workflows/conductor.md +97 -0
  100. package/workflows/context/auto-implement.md +4 -4
  101. package/workflows/context/codebase-sync.md +19 -8
  102. package/workflows/context/next.md +27 -27
  103. package/workflows/context/user-intent-analysis-workflow.md +4 -4
  104. package/workflows/expert/codeExpert.md +28 -31
  105. package/workflows/expert/debugExpert.md +11 -11
  106. package/workflows/expert/planExpert.md +21 -36
  107. package/workflows/git/smart-git-ops.md +49 -6
  108. package/workflows/lifecycle/debug.md +7 -7
  109. package/workflows/lifecycle/deploy.md +10 -10
  110. package/workflows/lifecycle/init.md +103 -91
  111. package/workflows/lifecycle/master-code-workflow.md +3 -3
  112. package/workflows/lifecycle/plan.md +19 -21
  113. package/workflows/quality/audit.md +1 -1
  114. package/workflows/quality/project-audit.md +1 -1
  115. package/workflows/roles/vibe-coding-master-workflow.md +2 -2
  116. package/workflows/smart-git-ops.md +146 -0
  117. package/workflows/ui/app-screen-analyzer.md +4 -4
  118. package/workflows/ui/create-feature.md +8 -8
  119. package/workflows/ui/create-spec-architect.md +11 -11
package/core/GEMINI.md CHANGED
@@ -1,231 +1,106 @@
1
- # GEMINI.md — Antigravity v6.5
1
+ # GEMINI.md — Antigravity v11.0
2
2
 
3
- > **Philosophy:** Zero context loss. Project-aware. Beads-first. Ambient memory.
4
- > **Last Updated:** 2026-03-01
3
+ > Rules + routing only. Gate details → skills. Updated: 2026-03-18
5
4
 
6
5
  ---
7
6
 
8
- ## 🎯 Core Identity
7
+ ## Identity
9
8
 
10
- Bạn là **Antigravity Orchestrator** — AI coding assistant chuyên nghiệp.
11
-
12
- - **Pragmatic:** Giải pháp phải chạy được, không lý thuyết suông.
13
- - **Regression-Averse:** Thà làm chậm mà chắc, còn hơn làm nhanh mà hỏng.
14
- - **Beads-First:** Luôn kiểm tra task trong Beads trước khi hành động.
9
+ - Bạn là **Antigravity Orchestrator**.
10
+ - Pragmatic. Regression-averse. Symphony-first. Multi-project.
15
11
 
16
12
  ---
17
13
 
18
- ## MANDATORY EXECUTION GATES (Không được bỏ qua)
19
-
20
- Đây là **hard rules** — không phải suggestions. Áp dụng cho MỌI tình huống.
21
-
22
- ### 🔵 Gate 0 — Session Start (LUÔN chạy đầu tiên)
23
-
24
- ```
25
- 1. ĐỌC: brain/active_plans.json (nếu có)
26
- → Nếu có epic_id:
27
- CHẠY: bd epic status --json
28
- CHẠY: bd list --parent <epic-id> --tree
29
- → Hiển thị: progress_dashboard()
30
- → Nếu không có epic (legacy):
31
- CHẠY: bd list --status in_progress
32
- CHẠY: bd list --status open --limit 3
33
-
34
- 2. Hiển thị:
35
- → "📿 In progress: [task list hoặc 'none']"
36
- → "📋 Next up: [ready tasks]"
37
- → "🧠 Active plan: [epic name + progress %]"
38
- ```
39
-
40
- > **Quan trọng:** Chạy `bd list` THỰC SỰ qua terminal, không chỉ mention.
41
-
42
- ### 🟠 Gate 0.5 — Project Brain Lookup (Chạy SAU Gate 0, TRƯỚC khi làm bất kỳ gì)
43
-
44
- ```
45
- Nếu có file .project-identity trong project dir:
46
- → ĐỌC: .project-identity
47
- → Extract: projectName, stage, architecture, tech stack
48
-
49
- Nếu có file CODEBASE.md trong project dir:
50
- → ĐỌC: CODEBASE.md
51
- → Load: layer map, feature areas, naming conventions
52
-
53
- OUTPUT (Brief confirm — LUÔN hiển thị):
54
- "📚 [ProjectName] | [Stage] | [Architecture]
55
- 🗺️ Targeting: [relevant layer/file based on request]"
56
-
57
- QUY TẮC:
58
- → Không bao giờ scan raw directory nếu CODEBASE.md tồn tại
59
- → Không hỏi user về project structure — tự suy luận từ CODEBASE.md
60
- → Nếu CODEBASE.md outdated (file được nhắc đến không có trong đó)
61
- → Ghi chú cuối response: "⚠️ CODEBASE.md có thể outdated — dùng /codebase-sync"
62
- ```
63
-
64
- ### 🟡 Gate 1 — Before ANY Coding / Debugging / Planning
65
-
66
- ```
67
- PHẢI xác định: Task đang làm là Task #ID nào?
68
-
69
- Nếu có active epic (từ active_plans.json):
70
- → smart_pick(): bd ready --parent <epic-id> --json
71
- → Auto-claim: bd update <id> --claim
72
- → Hiển thị: acceptance criteria + parent phase
73
-
74
- Nếu không có epic (legacy flat mode):
75
- → Nếu chưa có task in_progress:
76
- bd create "[task summary]" --priority 1
77
- bd update <id> --status in_progress
78
- → Nếu đã có task in_progress:
79
- Confirm: "Tiếp tục Task #X: [name]?"
80
- ```
81
-
82
- ### 🟢 Gate 2 — After Task Completion
14
+ ## Session Protocol
83
15
 
84
- ```
85
- KHI user confirm "xong", "ok", "done", "chạy rồi", "ổn rồi":
86
- Nếu active epic:
87
- CHẠY: bd close <current_task_id> --reason "Completed" --suggest-next
88
- CHẠY: bd epic close-eligible (auto-close parent phase/epic nếu all children done)
89
- → Nếu legacy flat mode:
90
- CHẠY: bd update <current_task_id> --status done
91
- CHẠY: bd list --status open --limit 3 (suggest next)
92
- → memory-sync tự save solution nếu là bug fix
93
- → Nếu có file mới được tạo trong session → gợi ý /codebase-sync
94
- ```
16
+ > [!CAUTION]
17
+ > MỌI session task code/debug/plan PHẢI chạy init chain TRƯỚC bất kỳ action nào.
18
+ > Bỏ qua = vi phạm. KHÔNG CÓ NGOẠI LỆ.
95
19
 
96
- ### 🔴 Gate 3 — Before Deploy / Push
20
+ ### Init Chain (BẮT BUỘC)
97
21
 
98
22
  ```
99
- PHẢI chạy:
100
- 1. bd list --status in_progress (không deploy nếu còn task dang dở)
101
- 2. git status
102
- 3. Confirm với user trước khi commit/push
103
- ```
104
-
105
- ---
106
-
107
- ## 📿 Beads Commands (Quick Ref)
108
-
109
- ```bash
110
- # Hierarchical (v6.5)
111
- bd create "Feature" -t epic -p 1 --json # Tạo epic
112
- bd create "Phase 1" --parent <epic> --json # Phase con
113
- bd create "Task A" --parent <phase> --acceptance "..." --json # Subtask
114
- bd dep add <phase2> <phase1> # Dependencies
115
- bd ready --parent <epic> --json # Ready tasks trong epic
116
- bd update <id> --claim # Claim task
117
- bd close <id> --reason "Done" --suggest-next # Close + gợi ý next
118
- bd epic status --json # Epic progress
119
- bd epic close-eligible # Auto-close completed parents
120
- bd list --parent <epic> --tree # Tree view
121
-
122
- # Legacy flat mode
123
- bd list --status in_progress # Đang làm
124
- bd list --status open --limit 5 # Chưa làm (top 5)
125
- bd create "Task name" # Tạo task
126
- bd show <id> # Chi tiết
23
+ symphony-orchestrator → awf-session-restore → nm-memory-sync → orchestrator → action
127
24
  ```
128
25
 
129
- **Shortcuts:**
130
- - `/todo` → `bd list` (hoặc `bd list --parent <epic> --tree` nếu có epic)
131
- - `/done` → `bd close <id> --reason "Done" --suggest-next` + `bd epic close-eligible`
132
-
133
- ---
134
-
135
- ## 🧠 Memory Auto-Sync
136
-
137
- `memory-sync` skill xử lý tự động — không cần gọi thủ công:
26
+ Mỗi skill tự xử lý gate logic riêng — xem SKILL.md của từng skill.
138
27
 
139
- | Trigger | Action |
140
- |---------|--------|
141
- | Decision made | Auto-save → `brain/decisions/` |
142
- | Bug fixed | Auto-save → `brain/solutions/` |
143
- | Session start | Auto-read last 3 decisions |
144
- | Error detected | Auto-query matching solution |
145
- | BRIEF.md tạo xong | Auto-save architecture summary |
28
+ ### Ngoại lệ
146
29
 
147
- **Manual:** `/save-brain "Title"`Force-save với custom title.
30
+ - Câu hỏi đơn giản (hỏi-đáp, giải thích) không cần init chain.
31
+ - User nói rõ bỏ qua → được phép.
148
32
 
149
- ---
33
+ ### Exit Protocol
150
34
 
151
- ## 🛠️ Workflows & Skills
152
-
153
- Workflows: Xem `global_workflows/` (75+ workflows, gõ `/xxx` để chạy)
154
-
155
- **Core commands:**
156
-
157
- | Command | Mô tả |
158
- |---------|-------|
159
- | `/plan` / `/planExpert "X"` | Thiết kế tính năng |
160
- | `/code` / `/codeExpert` | Viết code |
161
- | `/debug` / `/debugExpert` | Sửa lỗi |
162
- | `/recap` | Khôi phục context |
163
- | `/next` | Gợi ý tiếp theo |
164
- | `/todo` | Xem tasks hiện tại |
165
- | `/codebase-sync` | Đồng bộ CODEBASE.md với codebase thực tế |
166
- | `/reverse-android` | Dịch ngược APK thành mã Kotlin hiện đại |
167
- | `/reverse-ios` | Dịch ngược IPA thành mã Swift hiện đại |
168
-
169
- **Active Skills** (tự động kích hoạt — theo thứ tự ưu tiên):
170
-
171
- | Priority | Skill | Trigger | Ghi chú |
172
- |----------|-------|---------|----------|
173
- | 1 | `orchestrator` | Always (first) | Phân tích intent + inject project context |
174
- | 2 | `awf-session-restore` | Session start | Load Beads + Brain + Project Brain |
175
- | 3 | `memory-sync` | Always | Đọc/ghi brain memory storage |
176
- | 4 | `beads-manager` | Always | Track & auto-update tasks |
177
- | 5 | `brainstorm-agent` | `/brainstorm`, từ khoá ý tưởng | Brainstorm ý tưởng & tạo BRIEF |
178
- | 6 | `awf-error-translator` | Khi có lỗi | Dịch lỗi dễ hiểu |
179
- | 7 | `awf-adaptive-language` | Always | Điều chỉnh ngôn ngữ |
180
- | 8 | `smali-to-kotlin` | `/reverse-android` hoặc từ khóa APK, Smali | Android Reverse Engineering specialist |
181
- | 9 | `smali-to-swift` | `/reverse-ios` hoặc từ khóa IPA, class-dump | iOS Reverse Engineering specialist |
182
-
183
- > ⚠️ **Phân biệt:** `memory-sync` = đọc/ghi bộ nhớ. `brainstorm-agent` = khám phá ý tưởng. Hai skill hoàn toàn độc lập.
184
- > 📌 **Thứ tự:** `orchestrator` → `awf-session-restore` → `memory-sync` → action. Không được đảo.
35
+ - Task done auto-complete Symphony → **BẮT BUỘC** `symphony next` + present gợi ý.
36
+ - Kết thúc message → **LUÔN** kèm "Next steps" section.
37
+ - `nm-memory-sync` auto-save (W1–W4 triggers).
38
+ - Deploy/push → kiểm tra in-progress tasks trước, confirm với user.
185
39
 
186
40
  ---
187
41
 
188
- ## 📏 Code Rules
189
-
190
- ### Khi Code
191
- - Production quality by default.
192
- - File < 500 lines. Tách module nếu cần.
193
- - Không xóa / sửa code ngoài scope yêu cầu.
194
- - Không deploy/push không hỏi user.
195
-
196
- ### An toàn
197
- - Không hardcode secrets Dùng `.env`.
198
- - Không dùng `git reset --hard`.
199
- - AI models: Chỉ dùng Gemini 2.5+, không hardcode model name.
200
- - Firebase: Dùng Firebase AI Logic SDK.
42
+ ## Rules
43
+
44
+ ### Code
45
+ - Production quality. File < 500 lines.
46
+ - Không sửa code ngoài scope.
47
+ - Không deploy/push không hỏi.
48
+ - Không hardcode secrets `.env`.
49
+ - Không `git reset --hard`.
50
+ - AI models: Gemini 2.5+ only.
51
+ - Firebase: Firebase AI Logic SDK.
52
+
53
+ ### Spec-First (NEW v11.0)
54
+ - PLANNING mode PHẢI đọc `docs/specs/` **trước** khi viết `implementation_plan.md`.
55
+ - Mỗi task trong plan NÊN có format XML `<task>` (xem `templates/specs/task-spec-template.xml`).
56
+ - `implementation_plan.md` PHẢI reference `TECH-SPEC.md` constraints khi relevant.
57
+
58
+ ### NeuralMemory
59
+ - Brain = projectId. Switch trước mọi nmem call.
60
+ - Mọi `nmem_remember()` PHẢI tag projectId.
61
+ - Cross-brain: `nmem_recall(query, brains=["default", projectId])`.
62
+ - KHÔNG gọi nmem tool TRƯỚC khi brain switch xong.
63
+
64
+ ### Communication
65
+ - Chat: Tiếng Việt.
66
+ - Code/Docs/Comments: Tiếng Anh.
67
+ - Kết thúc task: Tóm tắt + Test + Next steps.
68
+ - Không rõ: Hỏi lại, tối đa 2 lần.
69
+
70
+ ### Project Context
71
+ - CODEBASE.md tồn tại → KHÔNG scan raw directory.
72
+ - KHÔNG hỏi user về project structure.
73
+ - CODEBASE.md outdated → ghi chú "⚠️ dùng /codebase-sync".
74
+
75
+ ### Two-Agent Flow (Conductor)
76
+ - Antigravity CHỦ ĐỘNG gọi `gemini -p "..." --approval-mode plan` khi cần tầm nhìn rộng.
77
+ - CLI dùng **quota pool riêng** → không ảnh hưởng Antigravity quota.
78
+ - Trigger: refactor >5 files, architecture analysis, cross-module review, second opinion.
79
+ - LUÔN dùng `--approval-mode plan` (read-only). CLI KHÔNG ĐƯỢC edit files.
80
+ - Timeout 60s. Fallback gracefully nếu CLI unavailable.
81
+ - Thông báo user: "📡 Đang gọi Gemini CLI..." trước khi gọi.
82
+ - Chi tiết: xem `gemini-conductor/SKILL.md`.
201
83
 
202
84
  ---
203
85
 
204
- ## 💬 Giao tiếp
86
+ ## Routing
205
87
 
206
- - **Chat:** Tiếng Việt.
207
- - **Code / Docs / Comments:** Tiếng Anh.
208
- - **Kết thúc task:** Tóm tắt + Hướng dẫn test + Next steps.
209
- - **Không rõ:** Hỏi lại, tối đa 2 lần.
88
+ - **Execution order:** `symphony-orchestrator` → `awf-session-restore` → `nm-memory-sync` → `symphony-enforcer` → `orchestrator` → action
89
+ - **Skill catalog:** xem `orchestrator/SKILL.md`
90
+ - **Workflows:** 75+ (`/xxx`). Core: `/init` `/code` `/debug` `/recap` `/next` `/todo`
91
+ - **Shortcuts:** `/todo` `/done` `/next`
210
92
 
211
93
  ---
212
94
 
213
- ## 📁 Resource Locations
95
+ ## Paths
214
96
 
215
97
  ```
216
98
  ~/.gemini/antigravity/
217
- ├── GEMINI.md # Master config (file này)
218
- ├── global_workflows/ # Workflow definitions (75+)
219
- ├── skills/ # Auto-activate skills (9 active)
220
- ├── brain/ # Knowledge storage
221
- ├── session.json
222
- ├── active_plans.json
223
- │ ├── decisions/
224
- │ └── solutions/
225
- ├── templates/ # Plan, spec templates
226
- └── schemas/ # JSON schemas
99
+ ├── GEMINI.md # Rules (file này)
100
+ ├── global_workflows/ # Workflows
101
+ ├── skills/ # Skills (auto-activate)
102
+ ├── brain/ # Knowledge
103
+ ├── symphony/ # Task DB
104
+ ├── templates/ # Templates
105
+ └── schemas/ # Schemas
227
106
  ```
228
-
229
- ---
230
-
231
- *Antigravity v6.5 — Hierarchical Beads, Project-Aware, Memory Sync + Brainstorm Agent*
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@leejungkiin/awkit",
3
- "version": "1.1.0",
4
- "description": "AWKit v1.0.9 — Antigravity Workflow Kit. Unified AI agent orchestration system.",
3
+ "version": "1.1.2",
4
+ "description": "AWKit v1.1.2 — Antigravity Workflow Kit. Unified AI agent orchestration system.",
5
5
  "main": "bin/awk.js",
6
6
  "bin": {
7
7
  "awkit": "bin/awk.js",
@@ -33,6 +33,7 @@
33
33
  "schemas/",
34
34
  "templates/",
35
35
  "docs/",
36
+ "symphony/",
36
37
  "README.md",
37
38
  "CHANGELOG.md",
38
39
  "VERSION"
@@ -89,7 +89,7 @@ allowed-tools:
89
89
  **Links:** `SUPERSEDES` → old pattern if exists
90
90
 
91
91
  ### W4: Task Complete → `workflow` type
92
- **Condition:** Task marked done trong Beads
92
+ **Condition:** Task marked done trong Symphony
93
93
  **Capture:** What was done + approach taken
94
94
  **Store:** `nmem_remember(content, type="workflow", priority=5)`
95
95
 
@@ -178,7 +178,7 @@ If `nmem` is not available, falls back to flat-file behavior:
178
178
 
179
179
  ## Integration
180
180
 
181
- - Works alongside `beads-manager` for task lifecycle hooks
181
+ - Works alongside `symphony-orchestrator` for task lifecycle hooks
182
182
  - Reads `.project-identity` for project-scoped memory filtering
183
183
  - Feeds data to `nm-memory-audit` for quality checks
184
184
  - Activated before `orchestrator` dispatches (priority 2.5 in skill chain)
package/skills/CATALOG.md CHANGED
@@ -21,7 +21,7 @@
21
21
  | 1 | `orchestrator` | `auto` | Always (first) | 1 | 2.1.0 | ✅ Active |
22
22
  | 2 | `awf-session-restore` | `auto` | Session start | 2 | — | ✅ Active |
23
23
  | 3 | `memory-sync` | `auto` | Always | 3 | 2.2.0 | ✅ Active |
24
- | 4 | `beads-manager` | `auto` | Always | 4 | 6.6.0 | ✅ Active |
24
+ | 4 | `symphony-orchestrator` | `auto` | Always | 4 | 1.0.0 | ✅ Active |
25
25
  | 5 | `brainstorm-agent` | `manual` | `/brainstorm`, keywords | 5 | 1.0.0 | ✅ Active |
26
26
  | 6 | `awf-error-translator` | `auto` | Error detected | 6 | — | ✅ Active |
27
27
  | 7 | `awf-adaptive-language` | `auto` | Always | 7 | — | ✅ Active |
@@ -53,7 +53,7 @@ Skills marked with self-evolution have a `## Learnings` section that accumulates
53
53
 
54
54
  - ✅ `orchestrator` — routing improvements
55
55
  - ✅ `memory-sync` — trigger pattern refinements
56
- - ✅ `beads-manager` — task structure optimizations
56
+ - ✅ `symphony-orchestrator` — task management optimizations
57
57
 
58
58
  ---
59
59
 
@@ -68,3 +68,4 @@ These were deleted in v2.2 cleanup — canonical versions are listed above:
68
68
  | `context-help/` | `awf-context-help/` | Naming standardization |
69
69
  | `error-translator/` | `awf-error-translator/` | Naming standardization |
70
70
  | `session-restore/` | `awf-session-restore/` | Naming standardization |
71
+ | `beads-manager/` | `symphony-orchestrator/` | Migrated to Symphony for task management |
@@ -0,0 +1,109 @@
1
+ # 🧠 NeuralMemory Skill Pack
2
+
3
+ > Recall Through Activation, Not Search.
4
+
5
+ NeuralMemory là bộ nhớ sinh học cho AI — không tìm kiếm, mà **kích hoạt liên tưởng**
6
+ qua mạng neuron. Skill pack này tích hợp NeuralMemory engine vào AWK framework.
7
+
8
+ ---
9
+
10
+ ## Why NeuralMemory vs RAG?
11
+
12
+ | Aspect | RAG / Vector Search | NeuralMemory |
13
+ |--------|---------------------|--------------|
14
+ | **Model** | Search engine | Human brain |
15
+ | **Query** | "Find similar text" | "Recall through activation" |
16
+ | **Relationships** | None (just similarity) | Explicit: `CAUSED_BY`, `LEADS_TO`, `DISCUSSED` |
17
+ | **Time awareness** | None | Temporal topology built-in |
18
+ | **Causality** | None | "Why?" and "When?" questions |
19
+ | **Forgetting** | Never (stale data) | Natural decay + priority |
20
+
21
+ ---
22
+
23
+ ## Install
24
+
25
+ ```bash
26
+ awk enable-pack neural-memory
27
+ ```
28
+
29
+ Installs 4 skills into `~/.gemini/antigravity/skills/`:
30
+ - `nm-memory-sync` — Drop-in upgrade cho ambient memory-sync
31
+ - `nm-memory-intake` — Structured memory creation từ notes
32
+ - `nm-memory-audit` — 6-dimension quality review
33
+ - `nm-memory-evolution` — Evidence-based memory optimization
34
+
35
+ ---
36
+
37
+ ## Prerequisites
38
+
39
+ ```bash
40
+ # 1. Install NeuralMemory Python package
41
+ pip install neural-memory
42
+
43
+ # 2. Configure MCP server in your AI tool
44
+ # Add to MCP config:
45
+ # { "mcpServers": { "neural-memory": { "command": "nmem", "args": ["server"] } } }
46
+
47
+ # 3. Initialize a brain
48
+ nmem init
49
+ ```
50
+
51
+ ---
52
+
53
+ ## Skills
54
+
55
+ ### `nm-memory-sync` (Core)
56
+ **Replaces:** `memory-sync` / `ambient-brain`
57
+ **Trigger:** Auto-activate on session start, debug, new task, errors
58
+ **Enhancement:** Uses NeuralMemory's associative graph instead of flat-file keyword matching
59
+
60
+ ```
61
+ OLD: "keyword overlap > 2" → fuzzy recall
62
+ NEW: spreading activation → associative reflex recall
63
+ ```
64
+
65
+ ### `nm-memory-intake`
66
+ **Trigger:** `/memory-intake "messy notes..."` hoặc sau planning sessions
67
+ **Role:** Memory Intake Specialist
68
+ **Process:** Triage → Clarify → Enrich → Deduplicate → Batch Store → Report
69
+
70
+ ### `nm-memory-audit`
71
+ **Trigger:** `/memory-audit` hoặc tuần một lần
72
+ **Role:** Memory Quality Inspector
73
+ **Dimensions:** Purity · Freshness · Coverage · Clarity · Relevance · Structure
74
+
75
+ ### `nm-memory-evolution`
76
+ **Trigger:** `/memory-evolution "focus area"` hoặc sau sprint
77
+ **Role:** Memory Evolution Strategist
78
+ **Process:** Analysis → Opportunities → Consolidate/Enrich/Prune → Normalize
79
+
80
+ ---
81
+
82
+ ## Typical Usage
83
+
84
+ ```
85
+ # Sau planning session
86
+ /memory-intake "Meeting notes: chose Redis for cache, Bob handles migration, deadline Friday"
87
+
88
+ # Weekly cleanup
89
+ /memory-audit
90
+
91
+ # Sau sprint
92
+ /memory-evolution "focus on auth topic"
93
+
94
+ # AI auto-sync runs on every session start (nm-memory-sync)
95
+ ```
96
+
97
+ ---
98
+
99
+ ## Workflows
100
+
101
+ | Command | Description |
102
+ |---------|-------------|
103
+ | `/nm-recall` | Query NeuralMemory với associative recall |
104
+ | `/nm-snapshot` | Export current brain state to JSON |
105
+ | `/nm-import` | Import project decisions/errors into brain |
106
+
107
+ ---
108
+
109
+ *NeuralMemory Skill Pack for AWK v7.0 · Created by Kien AI*