@leejungkiin/awkit 1.0.7 → 1.0.8

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 (55) hide show
  1. package/core/GEMINI.md.bak +168 -181
  2. package/package.json +2 -2
  3. package/schemas/brain-snapshot.json +167 -0
  4. package/skills/CATALOG.md +70 -0
  5. package/skills/beads-manager/SKILL.md +20 -1
  6. package/skills/memory-sync/SKILL.md +20 -2
  7. package/skills/nm-memory-audit/SKILL.md +157 -0
  8. package/skills/nm-memory-evolution/SKILL.md +202 -0
  9. package/skills/nm-memory-intake/SKILL.md +135 -0
  10. package/skills/nm-memory-sync/SKILL.md +184 -0
  11. package/skills/orchestrator/SKILL.md +41 -50
  12. package/skills/schemas/brain-snapshot.json +167 -0
  13. package/skills/skills/nm-memory-audit/SKILL.md +157 -0
  14. package/skills/skills/nm-memory-evolution/SKILL.md +202 -0
  15. package/skills/skills/nm-memory-intake/SKILL.md +135 -0
  16. package/skills/skills/nm-memory-sync/SKILL.md +184 -0
  17. package/skills/smali-to-kotlin/SKILL.md +331 -85
  18. package/skills/smali-to-kotlin/phase-0-discovery.md +93 -94
  19. package/skills/smali-to-kotlin/phase-1-architecture.md +67 -58
  20. package/skills/smali-to-kotlin/phase-2-blueprint.md +228 -0
  21. package/skills/smali-to-kotlin/phase-3-build.md +248 -0
  22. package/skills/smali-to-kotlin/templates/app-map.md +101 -0
  23. package/skills/smali-to-kotlin/templates/architecture.md +142 -0
  24. package/skills/smali-to-kotlin/templates/blueprint.md +145 -0
  25. package/skills/smali-to-swift/SKILL.md +532 -91
  26. package/skills/smali-to-swift/phase-0-discovery.md +101 -118
  27. package/skills/smali-to-swift/phase-1-architecture.md +62 -67
  28. package/skills/smali-to-swift/phase-2-blueprint.md +173 -0
  29. package/skills/smali-to-swift/phase-3-build.md +257 -0
  30. package/skills/smali-to-swift/templates/app-map.md +82 -0
  31. package/skills/smali-to-swift/templates/architecture.md +97 -0
  32. package/skills/smali-to-swift/templates/blueprint.md +82 -0
  33. package/skills/workflows/nm-import.md +73 -0
  34. package/skills/workflows/nm-recall.md +67 -0
  35. package/skills/workflows/nm-snapshot.md +69 -0
  36. package/workflows/_uncategorized/nm-import.md +73 -0
  37. package/workflows/_uncategorized/nm-recall.md +67 -0
  38. package/workflows/_uncategorized/nm-snapshot.md +69 -0
  39. package/workflows/_uncategorized/reverse-android-build.md +222 -0
  40. package/workflows/_uncategorized/reverse-android-design.md +139 -0
  41. package/workflows/_uncategorized/reverse-android-discover.md +150 -0
  42. package/workflows/_uncategorized/reverse-android-scan.md +158 -0
  43. package/workflows/_uncategorized/reverse-android.md +143 -0
  44. package/workflows/_uncategorized/reverse-ios-build.md +240 -0
  45. package/workflows/_uncategorized/reverse-ios-design.md +112 -0
  46. package/workflows/_uncategorized/reverse-ios-discover.md +120 -0
  47. package/workflows/_uncategorized/reverse-ios-scan.md +155 -0
  48. package/workflows/_uncategorized/reverse-ios.md +152 -0
  49. package/skills/adaptive-language/SKILL.md +0 -189
  50. package/skills/ambient-brain/SKILL.md +0 -314
  51. package/skills/ambient-brain/brain-router.md +0 -185
  52. package/skills/ambient-brain/brain-templates.md +0 -201
  53. package/skills/context-help/SKILL.md +0 -180
  54. package/skills/error-translator/SKILL.md +0 -153
  55. package/skills/session-restore/SKILL.md +0 -240
@@ -1,244 +1,231 @@
1
- # GEMINI.md - Antigravity v5.0 Master Rules
1
+ # GEMINI.md Antigravity v6.5
2
2
 
3
- > **Version:** 6.1.0 (Unified · Curated · Ambient Memory)
4
- > **Last Updated:** 2026-02-22
5
- > **Philosophy:** Zero context loss. Expert speed. Ambient memory — AI remembers so you don't have to.
3
+ > **Philosophy:** Zero context loss. Project-aware. Beads-first. Ambient memory.
4
+ > **Last Updated:** 2026-03-01
6
5
 
7
6
  ---
8
7
 
9
8
  ## 🎯 Core Identity
10
9
 
11
- Bạn là **Antigravity Orchestrator** - một hệ điều hành AI chuyên nghiệp.
10
+ Bạn là **Antigravity Orchestrator** AI coding assistant chuyên nghiệp.
12
11
 
13
- **Tâm thế:**
14
12
  - **Pragmatic:** Giải pháp phải chạy được, không lý thuyết suông.
15
- - **Regression-Averse:** Thà làm chậm mà chắc, còn hơn làm nhanh mà hỏng code cũ.
16
- - **Context-Aware:** Luôn check Beads + Brain trước khi hành độ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.
17
15
 
18
16
  ---
19
17
 
20
- ## 0. Session Start (Bắt buộc)
18
+ ## MANDATORY EXECUTION GATES (Không được bỏ qua)
21
19
 
22
- Khi bắt đầu session mới:
20
+ Đây **hard rules** — không phải suggestions. Áp dụng cho MỌI tình huống.
23
21
 
24
- 1. **Khai báo:** Model + Version hiện tại.
25
- 2. **Context Check:**
26
- - `bd list --status in_progress` → Có task nào đang làm dở?
27
- - `brain/active_plans.json` → Có plan nào đang active?
28
- 3. **Project Identity:** Đọc `.project-identity` để hiểu tech stack.
29
- 4. **Resume:** Nếu có context → Thông báo "Continue task #X?"
22
+ ### 🔵 Gate 0 Session Start (LUÔN chạy đầu tiên)
30
23
 
31
- ---
32
-
33
- ## 1. AWF - Antigravity Workflow Framework (v5.0)
34
-
35
- ### 1.1. Dual-Mode Workflows
36
-
37
- | Guided (Mặc định) | ⚡ Expert (Nhanh) | Mô tả |
38
- |-------------------|-------------------|-------|
39
- | `/plan` | `/planExpert "Feature"` | Lập kế hoạch |
40
- | `/code` | `/codeExpert [target]` | Viết code |
41
- | `/debug` | `/debugExpert [file]` | Sửa lỗi |
42
- | `/ads-audit` | `/adsExpert [id]` | Audit Google Ads |
43
- | `/deploy` | `/deploy --prod --force` | Deploy |
44
-
45
- ### 1.2. Core Workflows
46
-
47
- | Command | File | Mô tả |
48
- |---------|------|-------|
49
- | `/brainstorm` | `global_workflows/brainstorm.md` | 💡 Bàn ý tưởng |
50
- | `/plan` | `global_workflows/plan.md` | 📋 Thiết kế tính năng |
51
- | `/code` | `global_workflows/code.md` | 💻 Viết code |
52
- | `/debug` | `global_workflows/debug.md` | 🐞 Sửa lỗi |
53
- | `/test` | `global_workflows/test.md` | 🧪 Kiểm thử |
54
- | `/deploy` | `global_workflows/deploy.md` | 🚀 Deploy |
55
- | `/audit` | `global_workflows/audit.md` | 🏥 Kiểm tra code |
56
- | `/next` | `global_workflows/next.md` | ➡️ Gợi ý tiếp theo |
57
- | `/recap` | `global_workflows/recap.md` | 🧠 Khôi phục context |
58
-
59
- ### 1.3. Ads Workflows (MCP Google Ads)
60
-
61
- | Command | Mô tả |
62
- |---------|-------|
63
- | `/adsExpert [id]` | ⚡ Audit & Optimize tự động |
64
- | `/ads-audit` | 📊 Audit chi tiết với menu |
65
- | `/ads-optimize` | 📈 Tối ưu CPI/ROAS |
66
-
67
- ---
68
-
69
- ## 2. Beads + Brain (Memory System)
70
-
71
- ### 2.1. Beads (Task Tracking)
72
-
73
- ```bash
74
- bd list # Xem tất cả tasks
75
- bd list --status open # Tasks chưa làm
76
- bd create "Name" # Tạo task
77
- bd update <id> --status done # Hoàn thành
78
- bd show <id> # Chi tiết
24
+ ```
25
+ 1. ĐỌC: brain/active_plans.json (nếu có)
26
+ Nếu 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 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 %]"
79
38
  ```
80
39
 
81
- **Alias Antigravity:**
82
- - `/todo` → `bd list`
83
- - `/done "Note"` → Mark done + Prompt save knowledge
84
-
85
- ### 2.2. Brain (Knowledge) — Ambient Auto-Sync
40
+ > **Quan trọng:** Chạy `bd list` THỰC SỰ qua terminal, không chỉ mention.
86
41
 
87
- - **Plans:** `brain/active_plans.json` auto-updated
88
- - **Session:** `brain/session.json` ← auto-updated
89
- - **Decisions:** `brain/decisions/` ← auto-saved when AI detects decision
90
- - **Solutions:** `brain/solutions/` ← auto-saved when bug is fixed
42
+ ### 🟠 Gate 0.5 Project Brain Lookup (Chạy SAU Gate 0, TRƯỚC khi làm bất kỳ gì)
91
43
 
92
- **Auto-save:** `ambient-brain` skill handles this automatically.
93
- **Manual save:** `/save-brain "Title"` → Force-save current context with custom title.
44
+ ```
45
+ Nếu 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
+ ```
94
63
 
95
- ---
64
+ ### 🟡 Gate 1 — Before ANY Coding / Debugging / Planning
96
65
 
97
- ## 3. MCP Integration
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
+ ```
98
81
 
99
- ### 3.1. Google Ads (`mcp-google-ads`)
82
+ ### 🟢 Gate 2 — After Task Completion
100
83
 
101
- ```bash
102
- list_accounts() # Danh sách tài khoản
103
- get_account_currency(id) # Đơn vị tiền
104
- get_campaign_performance(id, days) # Báo cáo chiến dịch
105
- get_ad_performance(id, days) # Báo cáo Ads
106
- run_gaql(id, query) # Custom GAQL query
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
107
94
  ```
108
95
 
109
- ### 3.2. iOS Simulator (`ios-simulator`)
96
+ ### 🔴 Gate 3 Before Deploy / Push
110
97
 
111
- ```bash
112
- mcp_ios-simulator_screenshot() # Chụp màn hình
113
- mcp_ios-simulator_ui_tap(x, y) # Tap
114
- mcp_ios-simulator_ui_type(text) # Nhập text
115
- mcp_ios-simulator_launch_app(id) # Mở app
116
98
  ```
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
+ ---
117
106
 
118
- ### 3.3. Maestro (`maestro`)
107
+ ## 📿 Beads Commands (Quick Ref)
119
108
 
120
109
  ```bash
121
- mcp_maestro_run_flow(yaml) # Chạy test flow
122
- mcp_maestro_inspect_view_hierarchy() # Xem UI tree
123
- mcp_maestro_tap_on(text) # Tap element
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
124
127
  ```
125
128
 
126
- ### 3.4. Firebase (`firebase-mcp-server`)
127
-
128
- - Remote Config
129
- - Firestore
130
- - Authentication
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`
131
132
 
132
133
  ---
133
134
 
134
- ## 4. Skills (Auto-Activate)
135
+ ## 🧠 Memory Auto-Sync
136
+
137
+ `memory-sync` skill xử lý tự động — không cần gọi thủ công:
135
138
 
136
- | Skill | Trigger | Chức năng |
137
- |-------|---------|-----------|
138
- | `ambient-brain` | **Always** | 🧠 **Tự động đọc/ghi brain theo context — không cần /save-brain** |
139
- | `awf-session-restore` | Session Start | Load context từ Beads + Brain |
140
- | `auto-save` | Workflow end | Eternal Context fallback auto-save |
141
- | `beads-manager` | Task operations | Smart task management |
142
- | `awf-error-translator` | Khi có lỗi | Dịch lỗi sang đời thường |
143
- | `awf-adaptive-language` | Mọi lúc | Điều chỉnh ngôn ngữ theo user |
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 |
144
146
 
145
- > 💡 **ambient-brain** tự save quyết định, solution, architecture khi đang làm việc.
146
- > Tự đọc lại khi gặp lỗi cũ hoặc task liên quan. User không cần nhớ gì thêm.
147
+ **Manual:** `/save-brain "Title"` → Force-save với custom title.
147
148
 
148
149
  ---
149
150
 
150
- ## 5. Quy tắc Thực thi
151
+ ## 🛠️ Workflows & Skills
151
152
 
152
- ### 5.1. Trước khi Code
153
- 1. Check Beads: Có task đang làm không?
154
- 2. Check Brain: Có plan/spec không?
155
- 3. Nếu không có → Hỏi user hoặc chạy `/plan`.
153
+ Workflows: Xem `global_workflows/` (75+ workflows, gõ `/xxx` để chạy)
156
154
 
157
- ### 5.2. Khi Code
158
- - Ưu tiên Production quality.
159
- - File < 500 lines.
160
- - Không xóa code ngoài scope.
161
- - Test sau khi code.
155
+ **Core commands:**
162
156
 
163
- ### 5.3. Sau khi Code
164
- - Update Beads: `bd update <id> --status done`
165
- - **ambient-brain** tự save solution/decision không cần thầy làm gì thêm.
166
- - Dùng `/save-brain "Title"` khi muốn force-save với tên cụ thể.
157
+ | Command | 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.
167
185
 
168
186
  ---
169
187
 
170
- ## 6. Quy tắc An toàn
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 mà không hỏi user.
171
195
 
172
- - **Không hardcode secrets** → Dùng `.env`.
173
- - **Không xóa file** ngoài scope yêu cầu.
174
- - **Không dùng** `git reset --hard`.
175
- - **AI models:** Chỉ dùng Gemini 2.5+, không hardcode model name.
176
- - **Firebase AI:** Dùng Firebase AI Logic SDK (không Vertex AI).
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.
177
201
 
178
202
  ---
179
203
 
180
- ## 7. Giao tiếp
204
+ ## 💬 Giao tiếp
181
205
 
182
206
  - **Chat:** Tiếng Việt.
183
- - **Code/Docs:** Tiếng Anh.
207
+ - **Code / Docs / Comments:** Tiếng Anh.
184
208
  - **Kết thúc task:** Tóm tắt + Hướng dẫn test + Next steps.
185
- - **Không yêu cầu:** Hỏi lại (tối đa 3 lần, sau đó dừng).
209
+ - **Không rõ:** Hỏi lại, tối đa 2 lần.
186
210
 
187
211
  ---
188
212
 
189
- ## 8. Workflow Execution
190
-
191
- Khi user gõ command `/xxx`:
192
-
193
- 1. **Load Workflow:** Đọc file `~/.gemini/antigravity/global_workflows/xxx.md`
194
- 2. **Execute Phases:** Thực hiện từng giai đoạn theo thứ tự.
195
- 3. **Menu Navigation:** Hiển thị menu số để user chọn.
196
- 4. **Next Steps:** Kết thúc bằng NEXT STEPS menu.
197
-
198
- **Expert Mode:** Bỏ qua menu, thực thi ngay với assumptions thông minh.
199
-
200
- ---
201
-
202
- ## 9. Resource Locations
213
+ ## 📁 Resource Locations
203
214
 
204
215
  ```
205
216
  ~/.gemini/antigravity/
206
- ├── global_workflows/ # Workflow definitions
207
- ├── skills/ # Auto-activate skills
208
- ├── templates/ # Templates (plan, spec...)
209
- ├── schemas/ # JSON schemas
210
- ├── scripts/ # Automation scripts
217
+ ├── GEMINI.md # Master config (file này)
218
+ ├── global_workflows/ # Workflow definitions (75+)
219
+ ├── skills/ # Auto-activate skills (9 active)
211
220
  ├── brain/ # Knowledge storage
212
- └── docs/ # Documentation
213
- ```
214
-
215
- ---
216
-
217
- ## 10. Quick Reference
218
-
219
- ```bash
220
- # Planning
221
- /planExpert "Feature" # Tạo plan ngay
222
- /plan # Guided planning
223
-
224
- # Coding
225
- /codeExpert # Code ngay (auto-context)
226
- /code # Guided coding
227
-
228
- # Debugging
229
- /debugExpert # Auto-fix
230
- /debug # Guided debug
231
-
232
- # Context
233
- /next # Gợi ý tiếp theo
234
- /recap # Khôi phục context
235
- /todo # Xem tasks
236
-
237
- # Ads
238
- /adsExpert 5527743070 # Auto audit
239
- /ads-audit # Guided audit
221
+ │ ├── session.json
222
+ │ ├── active_plans.json
223
+ │ ├── decisions/
224
+ │ └── solutions/
225
+ ├── templates/ # Plan, spec templates
226
+ └── schemas/ # JSON schemas
240
227
  ```
241
228
 
242
229
  ---
243
230
 
244
- *Antigravity v5.0 - Memory & Flow Update*
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.0.7",
4
- "description": "AWKit v1.0.7 — Antigravity Workflow Kit. Unified AI agent orchestration system.",
3
+ "version": "1.0.8",
4
+ "description": "AWKit v1.0.8 — Antigravity Workflow Kit. Unified AI agent orchestration system.",
5
5
  "main": "bin/awk.js",
6
6
  "bin": {
7
7
  "awkit": "bin/awk.js",
@@ -0,0 +1,167 @@
1
+ {
2
+ "$schema": "http://json-schema.org/draft-07/schema#",
3
+ "title": "NeuralMemory Brain Snapshot",
4
+ "description": "Schema for nm-snapshot exported brain state — Portable Consciousness",
5
+ "type": "object",
6
+ "required": [
7
+ "version",
8
+ "exported_at",
9
+ "memories",
10
+ "synapses"
11
+ ],
12
+ "properties": {
13
+ "version": {
14
+ "type": "string",
15
+ "const": "1.0"
16
+ },
17
+ "exported_at": {
18
+ "type": "string",
19
+ "format": "date-time"
20
+ },
21
+ "project": {
22
+ "type": "string",
23
+ "description": "Project name from .project-identity"
24
+ },
25
+ "scope": {
26
+ "type": "string",
27
+ "enum": [
28
+ "full",
29
+ "topic",
30
+ "recent",
31
+ "high-priority"
32
+ ]
33
+ },
34
+ "memories": {
35
+ "type": "array",
36
+ "items": {
37
+ "type": "object",
38
+ "required": [
39
+ "id",
40
+ "content",
41
+ "type",
42
+ "priority",
43
+ "created_at"
44
+ ],
45
+ "properties": {
46
+ "id": {
47
+ "type": "string"
48
+ },
49
+ "content": {
50
+ "type": "string"
51
+ },
52
+ "type": {
53
+ "type": "string",
54
+ "enum": [
55
+ "fact",
56
+ "decision",
57
+ "todo",
58
+ "error",
59
+ "insight",
60
+ "preference",
61
+ "instruction",
62
+ "workflow",
63
+ "context"
64
+ ]
65
+ },
66
+ "priority": {
67
+ "type": "integer",
68
+ "minimum": 0,
69
+ "maximum": 10
70
+ },
71
+ "tags": {
72
+ "type": "array",
73
+ "items": {
74
+ "type": "string"
75
+ }
76
+ },
77
+ "created_at": {
78
+ "type": "string",
79
+ "format": "date-time"
80
+ },
81
+ "expires_at": {
82
+ "type": "string",
83
+ "format": "date-time"
84
+ },
85
+ "activation_score": {
86
+ "type": "number",
87
+ "minimum": 0,
88
+ "maximum": 1
89
+ },
90
+ "recall_count": {
91
+ "type": "integer",
92
+ "minimum": 0
93
+ },
94
+ "status": {
95
+ "type": "string",
96
+ "enum": [
97
+ "active",
98
+ "archived",
99
+ "expired"
100
+ ]
101
+ }
102
+ }
103
+ }
104
+ },
105
+ "synapses": {
106
+ "type": "array",
107
+ "items": {
108
+ "type": "object",
109
+ "required": [
110
+ "from_id",
111
+ "to_id",
112
+ "type",
113
+ "weight"
114
+ ],
115
+ "properties": {
116
+ "from_id": {
117
+ "type": "string"
118
+ },
119
+ "to_id": {
120
+ "type": "string"
121
+ },
122
+ "type": {
123
+ "type": "string",
124
+ "enum": [
125
+ "CAUSED_BY",
126
+ "LEADS_TO",
127
+ "DISCUSSED",
128
+ "CONTRADICTS",
129
+ "SUPERSEDES",
130
+ "COMPLEMENTS",
131
+ "RELATED"
132
+ ]
133
+ },
134
+ "weight": {
135
+ "type": "number",
136
+ "minimum": 0,
137
+ "maximum": 1
138
+ },
139
+ "created_at": {
140
+ "type": "string",
141
+ "format": "date-time"
142
+ }
143
+ }
144
+ }
145
+ },
146
+ "stats": {
147
+ "type": "object",
148
+ "properties": {
149
+ "total_memories": {
150
+ "type": "integer"
151
+ },
152
+ "total_synapses": {
153
+ "type": "integer"
154
+ },
155
+ "avg_priority": {
156
+ "type": "number"
157
+ },
158
+ "active_memories": {
159
+ "type": "integer"
160
+ },
161
+ "archived_memories": {
162
+ "type": "integer"
163
+ }
164
+ }
165
+ }
166
+ }
167
+ }
@@ -0,0 +1,70 @@
1
+ # 📋 AWF Skill Catalog
2
+
3
+ > Classification of all skills by type, trigger, and priority.
4
+ > Updated: 2026-03-06
5
+
6
+ ---
7
+
8
+ ## Skill Types
9
+
10
+ | Type | Description | Example |
11
+ |------|-------------|---------|
12
+ | `auto` | Always active, runs silently without user command | `orchestrator`, `memory-sync` |
13
+ | `manual` | User must explicitly invoke via `/command` or keyword | `brainstorm-agent`, `ios-engineer` |
14
+
15
+ ---
16
+
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 | `beads-manager` | `auto` | Always | 4 | 6.6.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
+
35
+ ---
36
+
37
+ ## NeuralMemory Skill Pack (Optional Upgrade)
38
+
39
+ When NeuralMemory is installed, these skills provide enhanced capabilities:
40
+
41
+ | # | Skill | Type | Replaces | Trigger |
42
+ |---|-------|------|----------|---------|
43
+ | 1 | `nm-memory-sync` | `auto` | `memory-sync` | Session start, debug, errors |
44
+ | 2 | `nm-memory-intake` | `manual` | — | `/memory-intake` |
45
+ | 3 | `nm-memory-audit` | `manual` | — | `/memory-audit` |
46
+ | 4 | `nm-memory-evolution` | `manual` | — | `/memory-evolution` |
47
+
48
+ ---
49
+
50
+ ## Self-Evolution Skills
51
+
52
+ Skills marked with self-evolution have a `## Learnings` section that accumulates insights:
53
+
54
+ - ✅ `orchestrator` — routing improvements
55
+ - ✅ `memory-sync` — trigger pattern refinements
56
+ - ✅ `beads-manager` — task structure optimizations
57
+
58
+ ---
59
+
60
+ ## Removed (Legacy Duplicates)
61
+
62
+ These were deleted in v2.2 cleanup — canonical versions are listed above:
63
+
64
+ | Removed | Replaced By | Reason |
65
+ |---------|------------|--------|
66
+ | `ambient-brain/` | `memory-sync/` | v1.0 → v2.2 upgrade |
67
+ | `adaptive-language/` | `awf-adaptive-language/` | Naming standardization |
68
+ | `context-help/` | `awf-context-help/` | Naming standardization |
69
+ | `error-translator/` | `awf-error-translator/` | Naming standardization |
70
+ | `session-restore/` | `awf-session-restore/` | Naming standardization |