Inspiration
As AI coding agents rapidly generate software, codebases experience architectural drift - where localized implementations silently violate core product specifications, compliance constraints, and security requirements. We built CogniGraph to provide continuous, real-time intent alignment and self-healing code remediation.
What it does
CogniGraph acts as an autonomous architectural governance engine: Intent Analysis & AST Verification: Ingests product specifications and code snippets, performing deep Abstract Syntax Tree (AST) evaluation to detect semantic drift. Live Decision Graph: Dynamically visualizes architectural nodes and highlights drift violations in real time. Auto-Remediation Engine: Autonomously generates self-healing Unified Git Diff patches to fix compliance violations without breaking existing architecture.
How we built it
IDE & Scaffolding: Used OpenAI Codex as our primary development companion to scaffold the Next.js frontend, Express API routes, and state handling. Intent Evaluation: Powered by GPT-5.6 to perform high-reasoning AST structural analysis between requirements and implementation. Code Patching: Powered by OpenAI Codex to generate valid Unified Git Diff patches that automatically remediate drift.
Challenges we ran into
Handling high-concurrency API calls required implementing a resilient fallback architecture to ensure high availability and zero-latency AST evaluation during edge network spikes.
Accomplishments that we're proud of
Successfully building an end-to-end self-healing pipeline where an architectural specification violation is caught, visualized, and remediated in under two seconds.
What we learned
We learned how to effectively orchestrate dual-model workflows - combining the deep analytical reasoning of GPT-5.6 for specification evaluation with the targeted code manipulation strengths of OpenAI Codex.
What's next for CogniGraph
Integrating CogniGraph directly into GitHub Actions and CI/CD pipelines to block non-compliant PRs before merge.
Built With
- express.js
- gpt-5.6
- next.js
- node.js
- openai-codex
- react
- tailwind-css
- typescript
Log in or sign up for Devpost to join the conversation.