@ngocsangairvds/vsaf 4.2.1 → 4.2.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.
package/package.json
CHANGED
|
@@ -62,12 +62,17 @@ Icon: `⏳` running, `✅` done, `❌` error.
|
|
|
62
62
|
[ONBOARD-CODE] [2/6] GitNexus index... ⏳
|
|
63
63
|
```
|
|
64
64
|
|
|
65
|
-
3.
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
|
|
65
|
+
3. Run GitNexus analyze at **project root** (NOT per sub-repo):
|
|
66
|
+
```
|
|
67
|
+
Is there .git at project root?
|
|
68
|
+
├── YES → npx gitnexus analyze .
|
|
69
|
+
└── NO → npx gitnexus analyze . --skip-git
|
|
70
|
+
```
|
|
71
|
+
- ⚠️ Use `npx gitnexus` (resolves local binary) — do NOT use `npx -y gitnexus@latest` (native module crash on Node 24+)
|
|
72
|
+
- This creates a SINGLE `.gitnexus/` at project root covering ALL code (including sub-repos)
|
|
73
|
+
- For multi-repo: one unified index enables cross-service analysis naturally
|
|
69
74
|
- Run GitNexus `group_sync` to index
|
|
70
|
-
4. Map structure
|
|
75
|
+
4. Map structure: `route_map` + `tool_map` + `context` (3-5 key entry points per repo)
|
|
71
76
|
|
|
72
77
|
```
|
|
73
78
|
[ONBOARD-CODE] [2/6] GitNexus index... ✅
|
|
@@ -81,12 +86,12 @@ Icon: `⏳` running, `✅` done, `❌` error.
|
|
|
81
86
|
|
|
82
87
|
**IMPORTANT:** Claude MUST review GitNexus index — DO NOT trust blindly. Verify using MCP tools:
|
|
83
88
|
|
|
84
|
-
5. `list_repos` — confirm
|
|
85
|
-
6. `route_map` — check that API routes have been fully mapped
|
|
86
|
-
7. `context` — query 3-5 key entry points, verify results make sense:
|
|
87
|
-
- Are main entry points indexed?
|
|
89
|
+
5. `list_repos` — confirm project root has been indexed (single unified index)
|
|
90
|
+
6. `route_map` — check that API routes from ALL repos have been fully mapped
|
|
91
|
+
7. `context` — query 3-5 key entry points per repo, verify results make sense:
|
|
92
|
+
- Are main entry points indexed for each repo?
|
|
88
93
|
- Are dependencies between modules correct?
|
|
89
|
-
- If multi-repo: are cross-service calls captured?
|
|
94
|
+
- If multi-repo: are cross-service calls captured? (HTTP, gRPC, event-driven)
|
|
90
95
|
8. If missing:
|
|
91
96
|
- Re-run `group_sync` with different config
|
|
92
97
|
- Or record note in env-setup.md: "{module/route} not indexed — needs manual review"
|
|
@@ -175,7 +180,7 @@ Print ONBOARD-CODE REPORT:
|
|
|
175
180
|
|
|
176
181
|
- `.vsaf/docs/onboarding/env-setup.md` — project structure + tech stack + env check + Docker
|
|
177
182
|
- `CONTEXT.md` — updated with technical terms
|
|
178
|
-
- GitNexus index
|
|
183
|
+
- Single GitNexus index at project root (`.gitnexus/`) covering all code
|
|
179
184
|
|
|
180
185
|
## Artifact Auto-Save
|
|
181
186
|
|