GitNexus/gitnexus-shared
marxo126 ec9464224e feat: guard clause and guarded call detection
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>
2026-04-18 13:09:28 +02:00
..
src feat: guard clause and guarded call detection 2026-04-18 13:09:28 +02:00
package-lock.json feat: unify web and cli ingestion pipeline (#536) 2026-03-28 14:07:11 +00:00
package.json feat: unify web and cli ingestion pipeline (#536) 2026-03-28 14:07:11 +00:00
tsconfig.json feat: unify web and cli ingestion pipeline (#536) 2026-03-28 14:07:11 +00:00