@leejungkiin/awkit 1.0.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (139) hide show
  1. package/CHANGELOG.md +27 -0
  2. package/README.md +146 -0
  3. package/VERSION +1 -0
  4. package/bin/awf.js +549 -0
  5. package/bin/awk.js +1759 -0
  6. package/core/AGENTS.md +39 -0
  7. package/core/GEMINI.md +202 -0
  8. package/core/GEMINI.md.bak +244 -0
  9. package/core/orchestrator.md +58 -0
  10. package/package.json +46 -0
  11. package/schemas/brain.schema.json +342 -0
  12. package/schemas/preferences.schema.json +95 -0
  13. package/schemas/session.schema.json +112 -0
  14. package/skill-packs/neural-memory/README.md +111 -0
  15. package/skill-packs/neural-memory/pack.json +35 -0
  16. package/skill-packs/neural-memory/schemas/brain-snapshot.json +167 -0
  17. package/skill-packs/neural-memory/skills/nm-memory-audit/SKILL.md +157 -0
  18. package/skill-packs/neural-memory/skills/nm-memory-evolution/SKILL.md +202 -0
  19. package/skill-packs/neural-memory/skills/nm-memory-intake/SKILL.md +135 -0
  20. package/skill-packs/neural-memory/skills/nm-memory-sync/SKILL.md +184 -0
  21. package/skill-packs/neural-memory/workflows/nm-import.md +73 -0
  22. package/skill-packs/neural-memory/workflows/nm-recall.md +67 -0
  23. package/skill-packs/neural-memory/workflows/nm-snapshot.md +69 -0
  24. package/skills/adaptive-language/SKILL.md +189 -0
  25. package/skills/ambient-brain/SKILL.md +314 -0
  26. package/skills/ambient-brain/brain-router.md +185 -0
  27. package/skills/ambient-brain/brain-templates.md +201 -0
  28. package/skills/auto-save/SKILL.md +223 -0
  29. package/skills/awf-adaptive-language/SKILL.md +189 -0
  30. package/skills/awf-context-help/SKILL.md +180 -0
  31. package/skills/awf-error-translator/SKILL.md +153 -0
  32. package/skills/awf-session-restore/SKILL.md +270 -0
  33. package/skills/awf-version-tracker/SKILL.md +32 -0
  34. package/skills/awf-version-tracker/scripts/snapshot.sh +22 -0
  35. package/skills/beads-manager/SKILL.md +323 -0
  36. package/skills/brainstorm-agent/SKILL.md +295 -0
  37. package/skills/context-help/SKILL.md +180 -0
  38. package/skills/error-translator/SKILL.md +153 -0
  39. package/skills/ios-engineer/SKILL.md +101 -0
  40. package/skills/memory-sync/SKILL.md +378 -0
  41. package/skills/memory-sync/memory-router.md +185 -0
  42. package/skills/memory-sync/memory-templates.md +201 -0
  43. package/skills/orchestrator/SKILL.md +193 -0
  44. package/skills/session-restore/SKILL.md +240 -0
  45. package/templates/CODEBASE.md +80 -0
  46. package/templates/brain.example.json +321 -0
  47. package/templates/preferences.example.json +21 -0
  48. package/templates/project-identity/android.json +28 -0
  49. package/templates/project-identity/backend-nestjs.json +24 -0
  50. package/templates/project-identity/expo.json +27 -0
  51. package/templates/project-identity/ios.json +27 -0
  52. package/templates/project-identity/web-nextjs.json +24 -0
  53. package/templates/session.example.json +53 -0
  54. package/templates/specs/design-template.md +166 -0
  55. package/templates/specs/requirements-template.md +65 -0
  56. package/templates/specs/tasks-template.md +132 -0
  57. package/templates/structures/android.txt +10 -0
  58. package/templates/structures/backend-nestjs.txt +6 -0
  59. package/templates/structures/expo.txt +9 -0
  60. package/templates/structures/ios.txt +9 -0
  61. package/templates/structures/web-nextjs.txt +6 -0
  62. package/templates/workflow_dual_mode_template.md +87 -0
  63. package/workflows/_uncategorized/README.md +339 -0
  64. package/workflows/_uncategorized/ads-creative.md +357 -0
  65. package/workflows/_uncategorized/ads-full-optimization.md +308 -0
  66. package/workflows/_uncategorized/ads-plan.md +247 -0
  67. package/workflows/_uncategorized/ads-user-analysis.md +337 -0
  68. package/workflows/_uncategorized/skill-health.md +35 -0
  69. package/workflows/_uncategorized/skill-rollback.md +35 -0
  70. package/workflows/ads/admob.md +62 -0
  71. package/workflows/ads/ads-analyst.md +201 -0
  72. package/workflows/ads/ads-audit.md +106 -0
  73. package/workflows/ads/ads-optimize.md +97 -0
  74. package/workflows/ads/ads-targeting.md +241 -0
  75. package/workflows/ads/adsExpert.md +160 -0
  76. package/workflows/ads/smali-ads-config.md +400 -0
  77. package/workflows/ads/smali-ads-flow.md +331 -0
  78. package/workflows/ads/smali-ads-interstitial.md +377 -0
  79. package/workflows/ads/smali-ads-native.md +382 -0
  80. package/workflows/context/auto-execution-workflow.md +291 -0
  81. package/workflows/context/auto-implement.md +211 -0
  82. package/workflows/context/codebase-sync.md +163 -0
  83. package/workflows/context/logic-reasoning-workflow.md +260 -0
  84. package/workflows/context/next.md +195 -0
  85. package/workflows/context/recap.md +212 -0
  86. package/workflows/context/save-brain.md +285 -0
  87. package/workflows/context/user-intent-analysis-workflow.md +206 -0
  88. package/workflows/expert/codeExpert.md +126 -0
  89. package/workflows/expert/debugExpert.md +136 -0
  90. package/workflows/expert/planExpert.md +112 -0
  91. package/workflows/git/cloudflare-tunnel.md +135 -0
  92. package/workflows/git/git-commit-workflow.md +75 -0
  93. package/workflows/git/hotfix.md +357 -0
  94. package/workflows/git/release-notes.md +160 -0
  95. package/workflows/git/rollback.md +52 -0
  96. package/workflows/git/smart-git-ops.md +103 -0
  97. package/workflows/lifecycle/brainstorm.md +377 -0
  98. package/workflows/lifecycle/code.md +663 -0
  99. package/workflows/lifecycle/debug.md +116 -0
  100. package/workflows/lifecycle/deploy.md +95 -0
  101. package/workflows/lifecycle/init.md +152 -0
  102. package/workflows/lifecycle/master-code-workflow.md +300 -0
  103. package/workflows/lifecycle/migration.md +196 -0
  104. package/workflows/lifecycle/plan.md +91 -0
  105. package/workflows/lifecycle/refactor.md +165 -0
  106. package/workflows/lifecycle/run.md +52 -0
  107. package/workflows/lifecycle/test.md +91 -0
  108. package/workflows/meta/customize.md +346 -0
  109. package/workflows/meta/file-protection-rules.md +129 -0
  110. package/workflows/meta/help.html +350 -0
  111. package/workflows/meta/project-identity-enforcement.md +180 -0
  112. package/workflows/mobile/app-analysis.md +64 -0
  113. package/workflows/mobile/maestro-qa-workflow.md +470 -0
  114. package/workflows/mobile/maestro-test-workflow.md +84 -0
  115. package/workflows/mobile/structure-clean-architect.md +271 -0
  116. package/workflows/mobile/turbo-mobile-build.md +190 -0
  117. package/workflows/quality/accessibility-audit.md +311 -0
  118. package/workflows/quality/audit.md +217 -0
  119. package/workflows/quality/bug-hunter.md +243 -0
  120. package/workflows/quality/code-janitor.md +209 -0
  121. package/workflows/quality/code-quality-rules.md +132 -0
  122. package/workflows/quality/performance-audit.md +343 -0
  123. package/workflows/quality/project-audit.md +61 -0
  124. package/workflows/quality/self-healing-test.md +192 -0
  125. package/workflows/quality/ui-review.md +130 -0
  126. package/workflows/quality/ux-audit.md +213 -0
  127. package/workflows/quality/visual-debug.md +34 -0
  128. package/workflows/roles/oracle.md +267 -0
  129. package/workflows/roles/product-manager-workflow.md +52 -0
  130. package/workflows/roles/qa-engineer-workflow.md +41 -0
  131. package/workflows/roles/tech-lead-workflow.md +45 -0
  132. package/workflows/roles/ui-ux-designer-workflow.md +42 -0
  133. package/workflows/roles/vibe-coding-master-workflow.md +52 -0
  134. package/workflows/ui/app-screen-analyzer.md +152 -0
  135. package/workflows/ui/create-feature.md +332 -0
  136. package/workflows/ui/create-spec-architect.md +184 -0
  137. package/workflows/ui/design-to-ui.md +308 -0
  138. package/workflows/ui/ui-first-methodology.md +279 -0
  139. package/workflows/ui/visualize.md +298 -0
@@ -0,0 +1,342 @@
1
+ {
2
+ "$schema": "http://json-schema.org/draft-07/schema#",
3
+ "$id": "https://antigravity.google/schemas/brain.schema.json",
4
+ "title": "AWF Brain Context Schema",
5
+ "description": "Static project knowledge - tech stack, DB schema, APIs, features. Session state moved to session.json",
6
+ "version": "1.1.0",
7
+ "type": "object",
8
+ "required": [
9
+ "meta",
10
+ "project",
11
+ "updatedAt"
12
+ ],
13
+ "properties": {
14
+ "meta": {
15
+ "type": "object",
16
+ "description": "Schema metadata",
17
+ "properties": {
18
+ "schemaVersion": {
19
+ "type": "string",
20
+ "default": "1.0.0"
21
+ },
22
+ "awfVersion": {
23
+ "type": "string"
24
+ },
25
+ "createdAt": {
26
+ "type": "string",
27
+ "format": "date-time"
28
+ },
29
+ "updatedAt": {
30
+ "type": "string",
31
+ "format": "date-time"
32
+ }
33
+ },
34
+ "required": [
35
+ "schemaVersion",
36
+ "awfVersion"
37
+ ]
38
+ },
39
+ "project": {
40
+ "type": "object",
41
+ "description": "Project overview",
42
+ "properties": {
43
+ "name": { "type": "string" },
44
+ "description": { "type": "string" },
45
+ "type": {
46
+ "type": "string",
47
+ "enum": ["website", "webapp", "api", "fullstack", "mobile"]
48
+ },
49
+ "status": {
50
+ "type": "string",
51
+ "enum": ["planning", "development", "testing", "production", "maintenance"]
52
+ },
53
+ "repository": { "type": "string" },
54
+ "urls": {
55
+ "type": "object",
56
+ "properties": {
57
+ "local": { "type": "string" },
58
+ "staging": { "type": "string" },
59
+ "production": { "type": "string" }
60
+ }
61
+ }
62
+ },
63
+ "required": ["name", "type"]
64
+ },
65
+ "techStack": {
66
+ "type": "object",
67
+ "description": "Technology stack",
68
+ "properties": {
69
+ "frontend": {
70
+ "type": "object",
71
+ "properties": {
72
+ "framework": { "type": "string" },
73
+ "language": { "type": "string" },
74
+ "uiLibrary": {
75
+ "type": "string"
76
+ },
77
+ "stateManagement": {
78
+ "type": "string"
79
+ },
80
+ "styling": { "type": "string" }
81
+ }
82
+ },
83
+ "backend": {
84
+ "type": "object",
85
+ "properties": {
86
+ "framework": { "type": "string" },
87
+ "language": { "type": "string" },
88
+ "runtime": { "type": "string" }
89
+ }
90
+ },
91
+ "database": {
92
+ "type": "object",
93
+ "properties": {
94
+ "type": { "type": "string" },
95
+ "orm": { "type": "string" },
96
+ "name": { "type": "string" }
97
+ }
98
+ },
99
+ "infrastructure": {
100
+ "type": "object",
101
+ "properties": {
102
+ "hosting": { "type": "string" },
103
+ "cdn": { "type": "string" },
104
+ "ciCd": {
105
+ "type": "string"
106
+ }
107
+ }
108
+ },
109
+ "dependencies": {
110
+ "type": "array",
111
+ "description": "Key dependencies (not exhaustive, only notable ones)",
112
+ "items": {
113
+ "type": "object",
114
+ "properties": {
115
+ "name": { "type": "string" },
116
+ "version": { "type": "string" },
117
+ "purpose": { "type": "string" }
118
+ }
119
+ }
120
+ }
121
+ }
122
+ },
123
+ "architecture": {
124
+ "type": "object",
125
+ "description": "System architecture overview",
126
+ "properties": {
127
+ "pattern": {
128
+ "type": "string",
129
+ "description": "e.g., MVC, Clean Architecture, Microservices"
130
+ },
131
+ "modules": {
132
+ "type": "array",
133
+ "items": {
134
+ "type": "object",
135
+ "properties": {
136
+ "name": { "type": "string" },
137
+ "path": { "type": "string" },
138
+ "responsibility": { "type": "string" },
139
+ "dependencies": { "type": "array", "items": { "type": "string" } }
140
+ }
141
+ }
142
+ },
143
+ "external_services": {
144
+ "type": "array",
145
+ "items": {
146
+ "type": "object",
147
+ "properties": {
148
+ "name": { "type": "string" },
149
+ "purpose": { "type": "string" },
150
+ "envVars": {
151
+ "type": "array",
152
+ "items": {
153
+ "type": "string"
154
+ }
155
+ }
156
+ }
157
+ }
158
+ }
159
+ }
160
+ },
161
+ "databaseSchema": {
162
+ "type": "object",
163
+ "description": "Database structure",
164
+ "properties": {
165
+ "tables": {
166
+ "type": "array",
167
+ "items": {
168
+ "type": "object",
169
+ "properties": {
170
+ "name": { "type": "string" },
171
+ "description": { "type": "string" },
172
+ "columns": {
173
+ "type": "array",
174
+ "items": {
175
+ "type": "object",
176
+ "properties": {
177
+ "name": { "type": "string" },
178
+ "type": { "type": "string" },
179
+ "nullable": { "type": "boolean" },
180
+ "primary": { "type": "boolean" },
181
+ "foreignKey": {
182
+ "type": "string"
183
+ }
184
+ }
185
+ }
186
+ }
187
+ }
188
+ }
189
+ },
190
+ "relationships": {
191
+ "type": "array",
192
+ "items": {
193
+ "type": "object",
194
+ "properties": {
195
+ "from": { "type": "string" },
196
+ "to": { "type": "string" },
197
+ "type": { "type": "string", "enum": ["one-to-one", "one-to-many", "many-to-many"] },
198
+ "description": { "type": "string" }
199
+ }
200
+ }
201
+ }
202
+ }
203
+ },
204
+ "apiEndpoints": {
205
+ "type": "array",
206
+ "description": "API routes summary",
207
+ "items": {
208
+ "type": "object",
209
+ "properties": {
210
+ "method": { "type": "string", "enum": ["GET", "POST", "PUT", "PATCH", "DELETE"] },
211
+ "path": { "type": "string" },
212
+ "description": { "type": "string" },
213
+ "authRequired": {
214
+ "type": "boolean"
215
+ },
216
+ "roles": { "type": "array", "items": { "type": "string" } },
217
+ "requestBody": {
218
+ "type": "object"
219
+ },
220
+ "response": { "type": "object" }
221
+ }
222
+ }
223
+ },
224
+ "businessRules": {
225
+ "type": "array",
226
+ "description": "Business logic rules",
227
+ "items": {
228
+ "type": "object",
229
+ "properties": {
230
+ "id": { "type": "string" },
231
+ "domain": { "type": "string" },
232
+ "rule": { "type": "string" },
233
+ "implementation": { "type": "string" },
234
+ "exceptions": { "type": "array", "items": { "type": "string" } }
235
+ }
236
+ }
237
+ },
238
+ "features": {
239
+ "type": "array",
240
+ "description": "Implemented features",
241
+ "items": {
242
+ "type": "object",
243
+ "properties": {
244
+ "name": { "type": "string" },
245
+ "status": {
246
+ "type": "string",
247
+ "enum": ["planned", "in_progress", "implemented", "tested", "deployed"]
248
+ },
249
+ "specFile": {
250
+ "type": "string"
251
+ },
252
+ "files": { "type": "array", "items": { "type": "string" } },
253
+ "notes": { "type": "string" }
254
+ }
255
+ }
256
+ },
257
+ "knowledgeItems": {
258
+ "type": "object",
259
+ "description": "Learned patterns and gotchas",
260
+ "properties": {
261
+ "patterns": {
262
+ "type": "array",
263
+ "description": "Coding patterns used in this project",
264
+ "items": {
265
+ "type": "object",
266
+ "properties": {
267
+ "name": { "type": "string" },
268
+ "description": { "type": "string" },
269
+ "exampleFile": {
270
+ "type": "string"
271
+ }
272
+ }
273
+ }
274
+ },
275
+ "gotchas": {
276
+ "type": "array",
277
+ "description": "Known issues and workarounds",
278
+ "items": {
279
+ "type": "object",
280
+ "properties": {
281
+ "issue": { "type": "string" },
282
+ "cause": { "type": "string" },
283
+ "solution": { "type": "string" },
284
+ "affectedFiles": {
285
+ "type": "array",
286
+ "items": {
287
+ "type": "string"
288
+ }
289
+ }
290
+ }
291
+ }
292
+ },
293
+ "conventions": {
294
+ "type": "array",
295
+ "description": "Project-specific conventions",
296
+ "items": {
297
+ "type": "object",
298
+ "properties": {
299
+ "area": { "type": "string" },
300
+ "convention": { "type": "string" },
301
+ "example": { "type": "string" }
302
+ }
303
+ }
304
+ }
305
+ }
306
+ },
307
+ "environment": {
308
+ "type": "object",
309
+ "description": "Environment configuration",
310
+ "properties": {
311
+ "variables": {
312
+ "type": "array",
313
+ "description": "Required env vars (values NOT stored, only names)",
314
+ "items": {
315
+ "type": "object",
316
+ "properties": {
317
+ "name": { "type": "string" },
318
+ "description": { "type": "string" },
319
+ "required": { "type": "boolean" },
320
+ "example": { "type": "string" }
321
+ }
322
+ }
323
+ },
324
+ "scripts": {
325
+ "type": "object",
326
+ "description": "Common npm scripts",
327
+ "properties": {
328
+ "dev": { "type": "string" },
329
+ "build": { "type": "string" },
330
+ "test": { "type": "string" },
331
+ "lint": { "type": "string" }
332
+ }
333
+ }
334
+ }
335
+ },
336
+ "updatedAt": {
337
+ "type": "string",
338
+ "format": "date-time",
339
+ "description": "Last update timestamp"
340
+ }
341
+ }
342
+ }
@@ -0,0 +1,95 @@
1
+ {
2
+ "$schema": "http://json-schema.org/draft-07/schema#",
3
+ "$id": "https://antigravity.google/schemas/preferences.schema.json",
4
+ "title": "AWF User Preferences Schema",
5
+ "description": "User preferences for AI communication and working style",
6
+ "version": "2.0.0",
7
+ "type": "object",
8
+ "properties": {
9
+ "updatedAt": {
10
+ "type": "string",
11
+ "format": "date-time"
12
+ },
13
+ "communication": {
14
+ "type": "object",
15
+ "description": "How AI communicates",
16
+ "properties": {
17
+ "tone": {
18
+ "type": "string",
19
+ "enum": ["friendly", "professional", "casual", "custom"],
20
+ "default": "friendly",
21
+ "description": "Tone of voice"
22
+ },
23
+ "toneCustom": {
24
+ "type": "string",
25
+ "description": "Custom tone description if tone=custom"
26
+ },
27
+ "persona": {
28
+ "type": "string",
29
+ "enum": ["assistant", "mentor", "senior_dev", "partner", "coach", "custom"],
30
+ "default": "assistant",
31
+ "description": "AI personality"
32
+ },
33
+ "personaCustom": {
34
+ "type": "string",
35
+ "description": "Custom persona description if persona=custom"
36
+ }
37
+ }
38
+ },
39
+ "technical": {
40
+ "type": "object",
41
+ "description": "Technical detail preferences",
42
+ "properties": {
43
+ "detailLevel": {
44
+ "type": "string",
45
+ "enum": ["results_only", "simple", "learning", "full_technical"],
46
+ "default": "simple",
47
+ "description": "How much technical detail to show"
48
+ },
49
+ "autonomy": {
50
+ "type": "string",
51
+ "enum": ["ask_often", "balanced", "autonomous"],
52
+ "default": "ask_often",
53
+ "description": "How much AI decides on its own"
54
+ },
55
+ "quality": {
56
+ "type": "string",
57
+ "enum": ["mvp", "production", "enterprise"],
58
+ "default": "production",
59
+ "description": "Output quality level"
60
+ },
61
+ "technicalLevel": {
62
+ "type": "string",
63
+ "enum": ["newbie", "basic", "technical"],
64
+ "default": "basic",
65
+ "description": "User technical proficiency level for language adaptation"
66
+ }
67
+ }
68
+ },
69
+ "workingStyle": {
70
+ "type": "object",
71
+ "description": "How to work together",
72
+ "properties": {
73
+ "pace": {
74
+ "type": "string",
75
+ "enum": ["careful", "fast"],
76
+ "default": "careful",
77
+ "description": "Work pace preference"
78
+ },
79
+ "feedback": {
80
+ "type": "string",
81
+ "enum": ["gentle", "direct", "silent"],
82
+ "default": "gentle",
83
+ "description": "How AI gives feedback"
84
+ }
85
+ }
86
+ },
87
+ "customRules": {
88
+ "type": "array",
89
+ "description": "User-defined custom rules",
90
+ "items": {
91
+ "type": "string"
92
+ }
93
+ }
94
+ }
95
+ }
@@ -0,0 +1,112 @@
1
+ {
2
+ "$schema": "http://json-schema.org/draft-07/schema#",
3
+ "$id": "https://antigravity.google/schemas/session.schema.json",
4
+ "title": "AWF Session State Schema",
5
+ "description": "Dynamic session state - changes frequently during work sessions",
6
+ "version": "1.0.0",
7
+ "type": "object",
8
+ "required": [
9
+ "updatedAt"
10
+ ],
11
+ "properties": {
12
+ "updatedAt": {
13
+ "type": "string",
14
+ "format": "date-time",
15
+ "description": "Last update timestamp"
16
+ },
17
+ "workingOn": {
18
+ "type": "object",
19
+ "description": "Current work in progress",
20
+ "properties": {
21
+ "feature": { "type": "string", "description": "Feature name" },
22
+ "task": { "type": "string", "description": "Current task" },
23
+ "status": {
24
+ "type": "string",
25
+ "enum": ["planning", "coding", "testing", "debugging", "reviewing"],
26
+ "description": "Task status"
27
+ },
28
+ "currentPlanPath": {
29
+ "type": "string",
30
+ "description": "Path to current plan folder (e.g., plans/260117-1430-orders/)"
31
+ },
32
+ "currentPhase": {
33
+ "type": "string",
34
+ "description": "Current phase being worked on (e.g., phase-03)"
35
+ },
36
+ "files": {
37
+ "type": "array",
38
+ "items": { "type": "string" },
39
+ "description": "Files being modified"
40
+ },
41
+ "blockers": {
42
+ "type": "array",
43
+ "items": { "type": "string" },
44
+ "description": "Current blockers"
45
+ },
46
+ "notes": { "type": "string", "description": "Quick notes" }
47
+ }
48
+ },
49
+ "pendingTasks": {
50
+ "type": "array",
51
+ "description": "Tasks to do next",
52
+ "items": {
53
+ "type": "object",
54
+ "properties": {
55
+ "task": { "type": "string" },
56
+ "priority": { "type": "string", "enum": ["high", "medium", "low"] },
57
+ "notes": { "type": "string" }
58
+ },
59
+ "required": ["task", "priority"]
60
+ }
61
+ },
62
+ "recentChanges": {
63
+ "type": "array",
64
+ "description": "Recent changes in this session",
65
+ "items": {
66
+ "type": "object",
67
+ "properties": {
68
+ "timestamp": { "type": "string", "format": "date-time" },
69
+ "type": { "type": "string", "enum": ["feature", "bugfix", "refactor", "config", "docs"] },
70
+ "description": { "type": "string" },
71
+ "files": { "type": "array", "items": { "type": "string" } }
72
+ }
73
+ }
74
+ },
75
+ "errorsEncountered": {
76
+ "type": "array",
77
+ "description": "Errors encountered and solutions",
78
+ "items": {
79
+ "type": "object",
80
+ "properties": {
81
+ "error": { "type": "string" },
82
+ "solution": { "type": "string" },
83
+ "resolved": { "type": "boolean" }
84
+ }
85
+ }
86
+ },
87
+ "decisionsMade": {
88
+ "type": "array",
89
+ "description": "Technical decisions made this session",
90
+ "items": {
91
+ "type": "object",
92
+ "properties": {
93
+ "decision": { "type": "string" },
94
+ "reason": { "type": "string" }
95
+ }
96
+ }
97
+ },
98
+ "skippedTests": {
99
+ "type": "array",
100
+ "description": "Tests that were skipped due to fix failures - blocks deploy!",
101
+ "items": {
102
+ "type": "object",
103
+ "properties": {
104
+ "test": { "type": "string", "description": "Test file name" },
105
+ "reason": { "type": "string", "description": "Why it was skipped" },
106
+ "date": { "type": "string", "format": "date-time" }
107
+ },
108
+ "required": ["test", "date"]
109
+ }
110
+ }
111
+ }
112
+ }
@@ -0,0 +1,111 @@
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
+ awkit 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
+ > 💡 Tip: Chạy `awkit enable-pack neural-memory` để tự động cài pip + chạy nmem init.
52
+
53
+ ---
54
+
55
+ ## Skills
56
+
57
+ ### `nm-memory-sync` (Core)
58
+ **Replaces:** `memory-sync` / `ambient-brain`
59
+ **Trigger:** Auto-activate on session start, debug, new task, errors
60
+ **Enhancement:** Uses NeuralMemory's associative graph instead of flat-file keyword matching
61
+
62
+ ```
63
+ OLD: "keyword overlap > 2" → fuzzy recall
64
+ NEW: spreading activation → associative reflex recall
65
+ ```
66
+
67
+ ### `nm-memory-intake`
68
+ **Trigger:** `/memory-intake "messy notes..."` hoặc sau planning sessions
69
+ **Role:** Memory Intake Specialist
70
+ **Process:** Triage → Clarify → Enrich → Deduplicate → Batch Store → Report
71
+
72
+ ### `nm-memory-audit`
73
+ **Trigger:** `/memory-audit` hoặc tuần một lần
74
+ **Role:** Memory Quality Inspector
75
+ **Dimensions:** Purity · Freshness · Coverage · Clarity · Relevance · Structure
76
+
77
+ ### `nm-memory-evolution`
78
+ **Trigger:** `/memory-evolution "focus area"` hoặc sau sprint
79
+ **Role:** Memory Evolution Strategist
80
+ **Process:** Analysis → Opportunities → Consolidate/Enrich/Prune → Normalize
81
+
82
+ ---
83
+
84
+ ## Typical Usage
85
+
86
+ ```
87
+ # Sau planning session
88
+ /memory-intake "Meeting notes: chose Redis for cache, Bob handles migration, deadline Friday"
89
+
90
+ # Weekly cleanup
91
+ /memory-audit
92
+
93
+ # Sau sprint
94
+ /memory-evolution "focus on auth topic"
95
+
96
+ # AI auto-sync runs on every session start (nm-memory-sync)
97
+ ```
98
+
99
+ ---
100
+
101
+ ## Workflows
102
+
103
+ | Command | Description |
104
+ |---------|-------------|
105
+ | `/nm-recall` | Query NeuralMemory với associative recall |
106
+ | `/nm-snapshot` | Export current brain state to JSON |
107
+ | `/nm-import` | Import project decisions/errors into brain |
108
+
109
+ ---
110
+
111
+ *NeuralMemory Skill Pack for AWKit v1.0 · Created by Kien AI*