@leejungkiin/awkit 1.1.7 → 1.1.9

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 (48) hide show
  1. package/README.md +36 -1
  2. package/bin/awk.js +2 -2
  3. package/package.json +6 -3
  4. package/skill-packs/neural-memory/skills/nm-memory-sync/SKILL.md +14 -1
  5. package/skills/gitnexus-intelligence/SKILL.md +224 -0
  6. package/skills/orchestrator/SKILL.md +9 -0
  7. package/skills/symphony-orchestrator/SKILL.md +9 -7
  8. package/workflows/gitnexus.md +123 -0
  9. package/symphony/LICENSE +0 -21
  10. package/symphony/README.md +0 -178
  11. package/symphony/app/api/agents/route.js +0 -152
  12. package/symphony/app/api/events/route.js +0 -22
  13. package/symphony/app/api/knowledge/route.js +0 -253
  14. package/symphony/app/api/locks/route.js +0 -29
  15. package/symphony/app/api/notes/route.js +0 -125
  16. package/symphony/app/api/preflight/route.js +0 -23
  17. package/symphony/app/api/projects/route.js +0 -116
  18. package/symphony/app/api/roles/route.js +0 -134
  19. package/symphony/app/api/skills/route.js +0 -82
  20. package/symphony/app/api/status/route.js +0 -18
  21. package/symphony/app/api/tasks/route.js +0 -157
  22. package/symphony/app/api/workflows/route.js +0 -61
  23. package/symphony/app/api/workspaces/route.js +0 -15
  24. package/symphony/app/globals.css +0 -2605
  25. package/symphony/app/layout.js +0 -20
  26. package/symphony/app/page.js +0 -2122
  27. package/symphony/cli/index.js +0 -1060
  28. package/symphony/core/agent-manager.js +0 -357
  29. package/symphony/core/context-bus.js +0 -100
  30. package/symphony/core/db.js +0 -223
  31. package/symphony/core/file-lock-manager.js +0 -154
  32. package/symphony/core/merge-pipeline.js +0 -234
  33. package/symphony/core/orchestrator.js +0 -236
  34. package/symphony/core/task-manager.js +0 -335
  35. package/symphony/core/workspace-manager.js +0 -168
  36. package/symphony/jsconfig.json +0 -7
  37. package/symphony/lib/core.mjs +0 -1034
  38. package/symphony/mcp/index.js +0 -29
  39. package/symphony/mcp/server.js +0 -110
  40. package/symphony/mcp/tools/context.js +0 -80
  41. package/symphony/mcp/tools/locks.js +0 -99
  42. package/symphony/mcp/tools/status.js +0 -82
  43. package/symphony/mcp/tools/tasks.js +0 -216
  44. package/symphony/mcp/tools/workspace.js +0 -143
  45. package/symphony/next.config.mjs +0 -7
  46. package/symphony/package.json +0 -53
  47. package/symphony/scripts/postinstall.js +0 -49
  48. package/symphony/symphony.config.js +0 -41
package/README.md CHANGED
@@ -23,13 +23,29 @@ AWKit (Antigravity v12+) thực thi 8 nguyên tắc lõi (Gstack-inspired) nhằ
23
23
 
24
24
  ## 🚀 Quick Start
25
25
 
26
- ### Cài đặt nhanh qua NPM (Khuyên dùng)
26
+ ### Cài đặt (3 bước)
27
+
27
28
  ```bash
29
+ # 1. AWKit Core (CLI + workflows + skills)
28
30
  npm install -g @leejungkiin/awkit
29
31
  awkit install
32
+
33
+ # 2. Symphony (Task Management & Multi-Agent Orchestration)
34
+ npm install -g @leejungkiin/awkit-symphony
35
+
36
+ # 3. NeuralMemory (AI Memory Engine — requires Python >= 3.11)
37
+ pip install neural-memory
38
+ nmem init
39
+
40
+ # Verify
30
41
  awkit doctor
42
+ symphony --version
43
+ nmem --version
31
44
  ```
32
45
 
46
+ > 💡 **Bước 2 & 3 được tự động cài khi chạy `awkit install`** nếu môi trường đầy đủ.
47
+ > AI agent cũng tự detect và cài các dependency thiếu khi init session.
48
+
33
49
 
34
50
  ## 📦 Commands
35
51
 
@@ -147,6 +163,25 @@ awkit tg send "Hello from AWKit!"
147
163
  awkit tg send "Hello" --chat -100123456789 --topic 1234
148
164
  ```
149
165
 
166
+ ## 🧠 GitNexus Code Intelligence
167
+
168
+ AWKit (từ bản cập nhật tích hợp mới) sử dụng **GitNexus** làm engine cung cấp Code Intelligence & Knowledge Graph cho AI Agent. Sau khi chạy `npm install` AWKit, GitNexus sẽ sẵn sàng để dùng ngay.
169
+
170
+ Để kích hoạt GitNexus trên bất kỳ project nào anh/chị đang code:
171
+
172
+ ```bash
173
+ # 1. Quét toàn bộ project để tạo knowledge graph (chỉ cần chạy lần đầu hoặc khi cấu trúc code thay đổi lớn)
174
+ npx gitnexus analyze
175
+
176
+ # 2. Sử dụng CLI để phân tích code hoặc explore codebase:
177
+ gitnexus query "điểm thực thi workflow" # Tìm các file/class liên quan theo ngữ nghĩa
178
+ gitnexus impact "tên_hàm_cần_sửa" # Xem mức độ ảnh hưởng (blast radius) trước khi edit code!
179
+ gitnexus context "tên_class" # Góc nhìn 360 độ (Ai gọi nó? Nó gọi ai?)
180
+ gitnexus rename "tên_cũ" "tên_mới" --dry-run # Đổi tên an toàn qua biểu đồ
181
+ ```
182
+
183
+ AI agent của hệ thống cũng tự động gọi qua cổng GitNexus bằng MCP Tools để tự phân tích rủi ro trước khi commit!
184
+
150
185
  ## 📦 Skill Packs
151
186
 
152
187
  ```bash
package/bin/awk.js CHANGED
@@ -283,7 +283,7 @@ function checkSymphony({ silent = false } = {}) {
283
283
  return true;
284
284
  } catch (_) {
285
285
  if (!silent) warn('Symphony CLI not found. Please install it manually:');
286
- if (!silent) dim(' npm install -g awkit-symphony');
286
+ if (!silent) dim(' npm install -g @leejungkiin/awkit-symphony');
287
287
  return false;
288
288
  }
289
289
  }
@@ -1797,7 +1797,7 @@ function cmdInit(forceFlag = false) {
1797
1797
 
1798
1798
  const symReady = checkSymphony({ silent: true });
1799
1799
  if (!symReady) {
1800
- dim('Symphony CLI is not installed. Run: npm i -g awkit-symphony');
1800
+ dim('Symphony CLI is not installed. Run: npm i -g @leejungkiin/awkit-symphony');
1801
1801
  }
1802
1802
  }
1803
1803
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@leejungkiin/awkit",
3
- "version": "1.1.7",
3
+ "version": "1.1.9",
4
4
  "description": "Antigravity Workflow Kit. Unified AI agent orchestration system.",
5
5
  "main": "bin/awk.js",
6
6
  "bin": {
@@ -33,9 +33,12 @@
33
33
  "schemas/",
34
34
  "templates/",
35
35
  "docs/",
36
- "symphony/",
37
36
  "README.md",
38
37
  "CHANGELOG.md",
39
38
  "VERSION"
40
- ]
39
+ ],
40
+ "dependencies": {
41
+ "@leejungkiin/awkit-symphony": "^0.1.0",
42
+ "gitnexus": "^1.4.7"
43
+ }
41
44
  }
@@ -165,9 +165,22 @@ This surfaces memories that a keyword search would miss.
165
165
 
166
166
  ---
167
167
 
168
+ ## Auto-Install Protocol (New Machine)
169
+
170
+ If `nmem` CLI is not available:
171
+ ```
172
+ 1. AI detects: command not found: nmem
173
+ 2. AI auto-runs: pip install neural-memory (or python3 -m pip install neural-memory)
174
+ → Requires Python >= 3.11
175
+ 3. After install: nmem init (initialize brain DB)
176
+ 4. Verify: nmem --version
177
+ 5. If Python < 3.11 or pip fails:
178
+ → Show user: "⚠️ NeuralMemory requires Python >= 3.11. Install via: brew install python@3.12"
179
+ ```
180
+
168
181
  ## Fallback Mode (NeuralMemory Not Installed)
169
182
 
170
- If `nmem` is not available, falls back to flat-file behavior:
183
+ If `nmem` is not available AND auto-install fails, falls back to flat-file behavior:
171
184
  ```
172
185
  - Reads from brain/decisions/, brain/solutions/
173
186
  - Keyword overlap matching (legacy behavior)
@@ -0,0 +1,224 @@
1
+ ---
2
+ name: gitnexus-intelligence
3
+ description: >-
4
+ Code intelligence via GitNexus knowledge graph. Auto-triggers on refactoring,
5
+ debugging, impact analysis, pre-commit checks, and codebase exploration.
6
+ Requires project to be indexed with `npx gitnexus analyze`.
7
+ metadata:
8
+ stage: core
9
+ version: "1.0"
10
+ tags: [gitnexus, code-intelligence, knowledge-graph, impact-analysis, refactoring]
11
+ agent: Orchestrator
12
+ trigger: auto
13
+ invocation-type: auto
14
+ priority: 5
15
+ ---
16
+
17
+ # GitNexus Intelligence v1.0 — Code-Aware Agent Skill
18
+
19
+ > **Purpose:** Cung cấp architectural awareness cho AI agent thông qua knowledge graph.
20
+ > GitNexus index codebase thành graph (symbols, relationships, execution flows),
21
+ > expose qua MCP tools để agent hiểu blast radius TRƯỚC khi edit.
22
+
23
+ ---
24
+
25
+ ## ⚡ Prerequisites
26
+
27
+ ```
28
+ CHECK: Project đã được index chưa?
29
+ → Tìm thư mục `.gitnexus/` trong project root
30
+ → Hoặc chạy: `npx gitnexus status`
31
+
32
+ CHƯA INDEX:
33
+ → Gợi ý user: "Project chưa được GitNexus index. Chạy `npx gitnexus analyze` trước nhé."
34
+ → KHÔNG dùng GitNexus tools khi chưa index.
35
+
36
+ INDEX STALE (tool trả warning):
37
+ → Cảnh báo: "GitNexus index đã cũ. Chạy `npx gitnexus analyze` để cập nhật."
38
+ ```
39
+
40
+ ---
41
+
42
+ ## 🎯 When to Activate
43
+
44
+ | Trigger | Action |
45
+ |---------|--------|
46
+ | Trước khi edit bất kỳ function/class/method | `gitnexus_impact` → check blast radius |
47
+ | Debug error / trace bug | `gitnexus_query` + `gitnexus_context` |
48
+ | Explore unfamiliar code | `gitnexus_query` → execution flows |
49
+ | Rename symbol | `gitnexus_rename` (dry_run trước) |
50
+ | Trước commit | `gitnexus_detect_changes` |
51
+ | Refactor / extract / split | `gitnexus_context` + `gitnexus_impact` |
52
+
53
+ ---
54
+
55
+ ## 🔧 Tools Reference (7 MCP Tools)
56
+
57
+ | Tool | Purpose | When |
58
+ |------|---------|------|
59
+ | `gitnexus_query` | Process-grouped hybrid search (BM25 + semantic) | Tìm code theo concept |
60
+ | `gitnexus_context` | 360° symbol view: callers, callees, processes | Deep dive vào 1 symbol |
61
+ | `gitnexus_impact` | Blast radius analysis: d=1/2/3 with confidence | Trước khi sửa code |
62
+ | `gitnexus_detect_changes` | Git-diff impact: mapped to affected processes | Trước commit |
63
+ | `gitnexus_rename` | Multi-file coordinated rename via graph | Rename symbols an toàn |
64
+ | `gitnexus_cypher` | Raw Cypher graph queries | Custom analysis |
65
+ | `gitnexus_list_repos` | List all indexed repositories | Discover repos |
66
+
67
+ > **Multi-repo:** Khi có nhiều repos indexed, thêm `repo` param: `gitnexus_query({query: "auth", repo: "my-app"})`
68
+
69
+ ---
70
+
71
+ ## 📚 Resources Reference
72
+
73
+ | Resource | Content | Tokens |
74
+ |----------|---------|--------|
75
+ | `gitnexus://repos` | All indexed repos | ~50 |
76
+ | `gitnexus://repo/{name}/context` | Stats + staleness check | ~150 |
77
+ | `gitnexus://repo/{name}/clusters` | Functional areas + cohesion | ~300 |
78
+ | `gitnexus://repo/{name}/cluster/{name}` | Area members + files | ~500 |
79
+ | `gitnexus://repo/{name}/processes` | All execution flows | ~200 |
80
+ | `gitnexus://repo/{name}/process/{name}` | Step-by-step trace | ~200 |
81
+ | `gitnexus://repo/{name}/schema` | Graph schema for Cypher | ~200 |
82
+
83
+ ---
84
+
85
+ ## 📋 Workflow: Impact Analysis (Trước khi edit)
86
+
87
+ ```
88
+ 1. gitnexus_impact({target: "symbolName", direction: "upstream"})
89
+ → Xem ai depend vào symbol này
90
+ 2. READ gitnexus://repo/{name}/processes
91
+ → Check execution flows bị ảnh hưởng
92
+ 3. Đánh giá risk level:
93
+ - d=1 → WILL BREAK (direct callers) → PHẢI update
94
+ - d=2 → LIKELY AFFECTED → Nên test
95
+ - d=3 → MAY NEED TESTING → Test nếu critical path
96
+ 4. Report risk cho user trước khi sửa
97
+ ```
98
+
99
+ ### Risk Assessment
100
+
101
+ | Affected | Risk |
102
+ |----------|------|
103
+ | <5 symbols, ít processes | LOW |
104
+ | 5-15 symbols, 2-5 processes | MEDIUM |
105
+ | >15 symbols hoặc nhiều processes | HIGH |
106
+ | Critical path (auth, payments) | CRITICAL |
107
+
108
+ ---
109
+
110
+ ## 📋 Workflow: Debugging
111
+
112
+ ```
113
+ 1. gitnexus_query({query: "<error hoặc symptom>"})
114
+ → Tìm execution flows liên quan
115
+ 2. gitnexus_context({name: "<suspect function>"})
116
+ → Xem callers, callees, process participation
117
+ 3. READ gitnexus://repo/{name}/process/{processName}
118
+ → Trace full execution flow step-by-step
119
+ 4. gitnexus_detect_changes({scope: "compare", base_ref: "main"})
120
+ → Nếu là regression: xem branch đã thay đổi gì
121
+ ```
122
+
123
+ ---
124
+
125
+ ## 📋 Workflow: Exploring Code
126
+
127
+ ```
128
+ 1. READ gitnexus://repo/{name}/context → Overview + staleness
129
+ 2. READ gitnexus://repo/{name}/clusters → Functional areas
130
+ 3. gitnexus_query({query: "<concept>"}) → Execution flows
131
+ 4. gitnexus_context({name: "<symbol>"}) → Deep dive
132
+ 5. READ gitnexus://repo/{name}/process/{name} → Full trace
133
+ ```
134
+
135
+ ---
136
+
137
+ ## 📋 Workflow: Safe Refactoring
138
+
139
+ ### Rename Symbol
140
+ ```
141
+ 1. gitnexus_rename({symbol_name: "old", new_name: "new", dry_run: true})
142
+ → Preview tất cả edits (graph edits = safe, text_search = review)
143
+ 2. Review kết quả, đặc biệt text_search edits
144
+ 3. gitnexus_rename({..., dry_run: false}) → Apply
145
+ 4. gitnexus_detect_changes() → Verify scope
146
+ ```
147
+
148
+ ### Extract / Split
149
+ ```
150
+ 1. gitnexus_context({name: "target"}) → All incoming/outgoing refs
151
+ 2. gitnexus_impact({target, direction: "upstream"}) → External callers
152
+ 3. Plan update order: interfaces → implementations → callers → tests
153
+ 4. Execute changes
154
+ 5. gitnexus_detect_changes() → Verify affected scope
155
+ ```
156
+
157
+ ---
158
+
159
+ ## 📋 Workflow: Pre-Commit Check
160
+
161
+ ```
162
+ 1. gitnexus_detect_changes({scope: "staged"})
163
+ → Changed symbols, affected processes, risk level
164
+ 2. Nếu risk HIGH/CRITICAL → Cảnh báo user
165
+ 3. Verify tất cả d=1 dependents đã được update
166
+ ```
167
+
168
+ ---
169
+
170
+ ## 🚫 Rules
171
+
172
+ ```yaml
173
+ always_do:
174
+ - PHẢI chạy gitnexus_impact TRƯỚC khi edit bất kỳ symbol nào
175
+ - PHẢI chạy gitnexus_detect_changes TRƯỚC khi commit
176
+ - PHẢI cảnh báo user khi risk = HIGH hoặc CRITICAL
177
+ - Ưu tiên gitnexus_query thay vì grep khi explore code
178
+ - PHẢI dùng gitnexus_rename (dry_run trước) khi rename
179
+
180
+ never_do:
181
+ - KHÔNG edit function/class mà chưa check impact
182
+ - KHÔNG ignore HIGH/CRITICAL risk warnings
183
+ - KHÔNG rename bằng find-and-replace → dùng gitnexus_rename
184
+ - KHÔNG commit mà chưa detect_changes
185
+ - KHÔNG dùng GitNexus tools khi project chưa index
186
+ ```
187
+
188
+ ---
189
+
190
+ ## 🔗 Skill Relationships
191
+
192
+ ```
193
+ WORKS WITH:
194
+ orchestrator (Gate 4 — search before building, Layer 0)
195
+ systematic-debugging (bổ sung structural context)
196
+ code-review (pre-commit blast radius check)
197
+ verification-gate (detect_changes = evidence)
198
+
199
+ DOES NOT:
200
+ Tự index project (user phải chạy npx gitnexus analyze)
201
+ Sửa code trực tiếp (chỉ cung cấp context)
202
+ ```
203
+
204
+ ---
205
+
206
+ ## 🔍 Graph Schema Reference
207
+
208
+ **Nodes:** File, Function, Class, Interface, Method, Community, Process
209
+
210
+ **Edges (CodeRelation.type):** CALLS, IMPORTS, EXTENDS, IMPLEMENTS, DEFINES, MEMBER_OF, STEP_IN_PROCESS
211
+
212
+ ```cypher
213
+ -- Find all callers of a function
214
+ MATCH (caller)-[:CodeRelation {type: 'CALLS'}]->(f:Function {name: "myFunc"})
215
+ RETURN caller.name, caller.filePath
216
+
217
+ -- Find what a function calls
218
+ MATCH (f:Function {name: "myFunc"})-[:CodeRelation {type: 'CALLS'}]->(callee)
219
+ RETURN callee.name, callee.filePath
220
+ ```
221
+
222
+ ---
223
+
224
+ *gitnexus-intelligence v1.0 — Code Intelligence for Antigravity*
@@ -166,6 +166,10 @@ CHECK: Có ticket đang In Progress?
166
166
  → symphony_available_tasks(filter="in_progress")
167
167
 
168
168
  🔍 SEARCH BEFORE BUILDING (BẮT BUỘC trước khi viết code mới):
169
+ Layer 0 — Structural (GitNexus, CHỈ khi .gitnexus/ tồn tại):
170
+ → gitnexus_impact: Check blast radius của symbol cần sửa
171
+ → gitnexus_context: Xem 360° callers/callees trước khi code
172
+ → gitnexus_query: Tìm execution flows liên quan
169
173
  Layer 1 — Tried-and-True:
170
174
  → nmem_recall: Tìm similar problems đã giải quyết trong brain
171
175
  → grep_search: Tìm existing utils/patterns trong codebase
@@ -241,6 +245,10 @@ brainstorm_intent:
241
245
  context_intent:
242
246
  keywords: ["remember", "save", "continue", "where was I", "nhớ", "tiếp"]
243
247
  action: Suggest /recap or /save-brain
248
+
249
+ refactor_intent:
250
+ keywords: ["refactor", "rename", "extract", "split", "move", "restructure", "blast radius", "impact"]
251
+ action: gitnexus-intelligence skill (impact analysis + safe refactoring)
244
252
  ```
245
253
 
246
254
  ---
@@ -305,6 +313,7 @@ WORKS WITH:
305
313
  nm-memory-sync (đọc context từ NeuralMemory)
306
314
  awf-session-restore (restore state)
307
315
  symphony-orchestrator (đảm bảo Symphony server running)
316
+ gitnexus-intelligence (architectural awareness trước khi code)
308
317
 
309
318
  DOES NOT:
310
319
  Execute code trực tiếp (delegates to workflows)
@@ -8,7 +8,7 @@ metadata:
8
8
  stage: core
9
9
  version: "3.0"
10
10
  replaces: null
11
- requires: awkit-symphony (npm i -g awkit-symphony)
11
+ requires: "@leejungkiin/awkit-symphony" (npm i -g @leejungkiin/awkit-symphony)
12
12
  tags: [symphony, setup, server, orchestration, core, preflight, multi-project, agent]
13
13
  agent: Symphony Conductor
14
14
  allowed-tools:
@@ -50,13 +50,12 @@ QUAN TRỌNG:
50
50
  ### Bước 1: Install Global
51
51
 
52
52
  ```bash
53
- cd ~/Dev/NodeJS/main-awf/symphony
54
- npm link
53
+ npm i -g @leejungkiin/awkit-symphony
55
54
  ```
56
55
 
57
- > Hoặc khi publish npm:
56
+ > Dev mode (từ source):
58
57
  > ```bash
59
- > npm i -g awkit-symphony
58
+ > cd ~/Dev/NodeJS/main-awf/symphony && npm link
60
59
  > ```
61
60
 
62
61
  ### Bước 2: Verify
@@ -127,9 +126,12 @@ symphony preflight --json # JSON cho AI parsing
127
126
  → symphony start -p 3100 &
128
127
  → Đợi 3-5 giây
129
128
  → Retry preflight
130
- 3. Nếu vẫn FAIL:
129
+ 3. Nếu vẫn FAIL (command not found):
130
+ → AI tự chạy: npm i -g @leejungkiin/awkit-symphony
131
+ → Retry symphony start
132
+ 4. Nếu vẫn FAIL:
131
133
  → "⚠️ Symphony không khởi động được"
132
- → Hướng dẫn: cd ~/Dev/NodeJS/main-awf/symphony && npm link && symphony start
134
+ → Hướng dẫn user cài thủ công
133
135
  ```
134
136
 
135
137
  ---
@@ -0,0 +1,123 @@
1
+ ---
2
+ description: 🔍 GitNexus Code Intelligence — Index, explore, và analyze codebase qua knowledge graph
3
+ ---
4
+
5
+ # /gitnexus Workflow
6
+
7
+ > GitNexus cung cấp code intelligence qua knowledge graph. Index codebase → query qua MCP tools.
8
+
9
+ ## Sub-commands
10
+
11
+ ### `/gitnexus init` — Index project hiện tại
12
+
13
+ // turbo
14
+ 1. Kiểm tra Node.js >= 18:
15
+ ```bash
16
+ node --version
17
+ ```
18
+
19
+ 2. Index project:
20
+ ```bash
21
+ npx -y gitnexus@latest analyze
22
+ ```
23
+
24
+ 3. Verify index:
25
+ ```bash
26
+ npx gitnexus status
27
+ ```
28
+
29
+ 4. (Optional) Generate embeddings cho semantic search tốt hơn:
30
+ ```bash
31
+ npx gitnexus analyze --embeddings
32
+ ```
33
+
34
+ ---
35
+
36
+ ### `/gitnexus status` — Kiểm tra index
37
+
38
+ // turbo
39
+ 1. Xem trạng thái index:
40
+ ```bash
41
+ npx gitnexus status
42
+ ```
43
+
44
+ 2. Nếu stale → suggest re-index:
45
+ ```bash
46
+ npx gitnexus analyze
47
+ ```
48
+
49
+ ---
50
+
51
+ ### `/gitnexus impact <symbol>` — Quick impact analysis
52
+
53
+ 1. Chạy impact analysis:
54
+ ```
55
+ gitnexus_impact({target: "<symbol>", direction: "upstream"})
56
+ ```
57
+
58
+ 2. Đọc processes bị ảnh hưởng:
59
+ ```
60
+ READ gitnexus://repo/{name}/processes
61
+ ```
62
+
63
+ 3. Report risk level cho user:
64
+ - d=1 → WILL BREAK (PHẢI update)
65
+ - d=2 → LIKELY AFFECTED (nên test)
66
+ - d=3 → MAY NEED TESTING
67
+
68
+ ---
69
+
70
+ ### `/gitnexus explore` — Architecture overview
71
+
72
+ 1. Đọc context overview:
73
+ ```
74
+ READ gitnexus://repo/{name}/context
75
+ ```
76
+
77
+ 2. Xem functional areas:
78
+ ```
79
+ READ gitnexus://repo/{name}/clusters
80
+ ```
81
+
82
+ 3. Liệt kê execution flows:
83
+ ```
84
+ READ gitnexus://repo/{name}/processes
85
+ ```
86
+
87
+ 4. Present tổng quan cho user:
88
+ - Số symbols, relationships
89
+ - Functional clusters
90
+ - Key execution flows
91
+
92
+ ---
93
+
94
+ ### `/gitnexus list` — Liệt kê repos đã index
95
+
96
+ // turbo
97
+ 1. Liệt kê tất cả repos:
98
+ ```bash
99
+ npx gitnexus list
100
+ ```
101
+
102
+ ---
103
+
104
+ ### `/gitnexus clean` — Xóa index
105
+
106
+ 1. Xóa index project hiện tại:
107
+ ```bash
108
+ npx gitnexus clean
109
+ ```
110
+
111
+ 2. Xóa tất cả indexes (cẩn thận!):
112
+ ```bash
113
+ npx gitnexus clean --all --force
114
+ ```
115
+
116
+ ---
117
+
118
+ ## Notes
119
+
120
+ - GitNexus lưu index trong `.gitnexus/` (đã gitignored)
121
+ - Registry toàn cục ở `~/.gitnexus/registry.json`
122
+ - Hỗ trợ 13 ngôn ngữ: TypeScript, JavaScript, Python, Java, Kotlin, C#, Go, Rust, PHP, Ruby, Swift, C, C++
123
+ - MCP server serve TẤT CẢ repos đã index (không cần config per-project)
package/symphony/LICENSE DELETED
@@ -1,21 +0,0 @@
1
- MIT License
2
-
3
- Copyright (c) 2026 AWKit
4
-
5
- Permission is hereby granted, free of charge, to any person obtaining a copy
6
- of this software and associated documentation files (the "Software"), to deal
7
- in the Software without restriction, including without limitation the rights
8
- to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
9
- copies of the Software, and to permit persons to whom the Software is
10
- furnished to do so, subject to the following conditions:
11
-
12
- The above copyright notice and this permission notice shall be included in all
13
- copies or substantial portions of the Software.
14
-
15
- THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
16
- IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
17
- FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
18
- AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
19
- LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
20
- OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
21
- SOFTWARE.