mirror of
https://github.com/abhigyanpatwari/GitNexus.git
synced 2026-10-12 03:48:38 +00:00
Detect early-return guard clauses (auth/permission checks) and conditional function calls in route handlers. Enriches Function/Method nodes with guardClauses metadata and CALLS edges with guard conditions. - New guard-extractor.ts with tree-sitter AST parsing - Supports TypeScript, JavaScript, Python, PHP - Detects return-based and throw/raise-based guards - Pipeline Phase 3.55 after route creation - Schema: guardClauses STRING on Function/Method, guard STRING on relations - CSV generator updated for guard serialization Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com> |
||
|---|---|---|
| .. | ||
| src | ||
| package-lock.json | ||
| package.json | ||
| tsconfig.json | ||