You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
-**VOR jedem API-Call:** Immer `sin-harvest` mit Caching und Struktur-Extraktion nutzen
102
102
-**Für jede Planung:** Immer `sin-orchestrate` mit Dependencies und Rollback-Plan nutzen
103
103
104
-
### MCP Server State
105
-
106
-
Both `sin-code-bundle` (Python CLI, legacy) and `sin-code` (Go unified binary, v1.0.0+) are currently registered in `opencode.json`. The Go unified binary (`sin-code`) is the modern recommended approach and supersedes the standalone Python binaries. Agents should prefer `sin-code` subcommands over the legacy `~/.local/bin/<tool>` paths.
107
-
108
104
### Versionen (aktuell)
109
105
110
106
| Tool | Version | Status |
@@ -486,3 +482,47 @@ sin sin-code agents-md --output AGENTS.md
486
482
## Version
487
483
488
484
v0.2.0
485
+
486
+
<!-- gitnexus:start -->
487
+
# GitNexus — Code Intelligence
488
+
489
+
This project is indexed by GitNexus as **SIN-Code-Bundle** (8727 symbols, 15372 relationships, 252 execution flows). Use the GitNexus MCP tools to understand code, assess impact, and navigate safely.
490
+
491
+
> If any GitNexus tool warns the index is stale, run `npx gitnexus analyze` in terminal first.
492
+
493
+
## Always Do
494
+
495
+
-**MUST run impact analysis before editing any symbol.** Before modifying a function, class, or method, run `gitnexus_impact({target: "symbolName", direction: "upstream"})` and report the blast radius (direct callers, affected processes, risk level) to the user.
496
+
-**MUST run `gitnexus_detect_changes()` before committing** to verify your changes only affect expected symbols and execution flows.
497
+
-**MUST warn the user** if impact analysis returns HIGH or CRITICAL risk before proceeding with edits.
498
+
- When exploring unfamiliar code, use `gitnexus_query({query: "concept"})` to find execution flows instead of grepping. It returns process-grouped results ranked by relevance.
499
+
- When you need full context on a specific symbol — callers, callees, which execution flows it participates in — use `gitnexus_context({name: "symbolName"})`.
500
+
501
+
## Never Do
502
+
503
+
- NEVER edit a function, class, or method without first running `gitnexus_impact` on it.
504
+
- NEVER ignore HIGH or CRITICAL risk warnings from impact analysis.
505
+
- NEVER rename symbols with find-and-replace — use `gitnexus_rename` which understands the call graph.
506
+
- NEVER commit changes without running `gitnexus_detect_changes()` to check affected scope.
507
+
508
+
## Resources
509
+
510
+
| Resource | Use for |
511
+
|----------|---------|
512
+
|`gitnexus://repo/SIN-Code-Bundle/context`| Codebase overview, check index freshness |
513
+
|`gitnexus://repo/SIN-Code-Bundle/clusters`| All functional areas |
514
+
|`gitnexus://repo/SIN-Code-Bundle/processes`| All execution flows |
0 commit comments