@ngocsangairvds/vsaf 4.2.0 → 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
|
|
|
@@ -44,13 +44,18 @@ Icon: `⏳` running, `✅` done, `❌` error.
|
|
|
44
44
|
# Windows: "${VENVS}\markitdown\Scripts\python.exe"
|
|
45
45
|
# Fallback: ~/.local/pipx/venvs/markitdown/bin/python
|
|
46
46
|
```
|
|
47
|
-
If markitdown Python not found, skip
|
|
47
|
+
If markitdown Python not found, skip step 5 entirely and route ALL complex files through tier fallbacks:
|
|
48
|
+
- **All Tier 1 files** → add to graphify-direct-read list (graphify reads natively)
|
|
49
|
+
- **All Tier 2 HTML files** → Claude Read fallback (step 6)
|
|
50
|
+
- **All Tier 2 PPTX/EPUB/ZIP files** → skipped (no fallback available)
|
|
51
|
+
Then jump to step 6 routing.
|
|
52
|
+
|
|
48
53
|
4. Classify each complex file into a tier:
|
|
49
54
|
- **Tier 1 (graphify-native):** PDF, DOCX, XLSX, PNG, JPG, GIF, WEBP — graphify can read these directly if markitdown fails
|
|
50
55
|
- **Tier 2 (graphify-blind):** HTML, PPTX, EPUB, ZIP — graphify cannot read these; need markitdown or Claude fallback
|
|
51
56
|
- Text files (`.md`, `.txt`) are NOT complex — read directly, skip conversion
|
|
52
57
|
|
|
53
|
-
5. For each complex file, attempt markitdown conversion:
|
|
58
|
+
5. For each complex file, attempt markitdown conversion (skip if markitdown not found — see step 3):
|
|
54
59
|
- Resolve markitdown Python (step 3 above)
|
|
55
60
|
- Convert using the wrapper script (bundled in this skill directory):
|
|
56
61
|
```bash
|
|
Binary file
|