Knowledge source reference
GitNexus Code Intelligence
Required repo-intelligence route before codebase, architecture, refactor, debugging, or cross-file implementation claims.
When To Use
Use this before design claims or code edits that depend on understanding repo structure, file ownership, dependency paths, or blast radius.
Commands
node scripts/code-intelligence-scan.mjs --repo . --provider gitnexus --fallback local
node scripts/code-intelligence-gate-all.mjs --repo .
Use strict mode when GitNexus itself must be proved:
node scripts/code-intelligence-scan.mjs --repo . --provider gitnexus --fallback none --strict
Artifacts
graph/gitnexus.jsongraph/graph.jsongraph/freshness.jsondesign/anchors.json
Disclosure Rule
If the scan falls back to the local static graph, say that clearly and do not claim GitNexus-backed analysis. A normal success path can be described as GitNexus indexed plus local stable projection.
