Structural code intelligence for detecting semantics-preserving transformations.
GraphSentinel is a Go backend service for analyzing source code structure and detecting semantics-preserving transformations relevant to GNN robustness and code security research.
Minimal HTTP server is running: Chi router, graceful shutdown, and GET /health. Analysis API and workers follow in later commits.
make runOptional environment:
| Variable | Default | Description |
|---|---|---|
HTTP_ADDR |
:8080 |
Listen address (host:port or :port) |
SHUTDOWN_TIMEOUT_SEC |
15 |
Graceful shutdown timeout in seconds |
Check health:
curl -s http://127.0.0.1:8080/healthExample response:
{"status":"ok","service":"graphsentinel"}cmd/server— application entrypointinternal/— API, config, ingestion, analyzers, detectors, workers, reports, storepkg/models— shared domain typesconfigs/,scripts/,deployments/,testdata/— reserved for configuration and tooling
Licensed under the Apache License, Version 2.0.