Cognis Engine Uses AI to Detect and Fix Outdated Knowledge in Codebases

A team built Cognis during the WeMakeDevs × AWS Bharat Builds Tour Build Day at Polaris School of Technology to address the growing problem of documentation and knowledge falling out of sync with evolving software. Rather than treating it as a documentation issue, Cognis frames it as a knowledge integrity problem, constructing an evidence graph from source code, APIs, tests, dependencies, and other repository artifacts. Its investigation engine reconstructs software behaviour, identifies broken contracts, traces downstream consequences, and uses AI reasoning powered by Amazon Bedrock to evaluate whether a repair is warranted. The team also developed Ask Cognis, a conversational assistant that grounds its responses in actual repository evidence rather than relying solely on a model's prior knowledge. Notably, Cognis is designed with restraint — it can refuse to auto-repair when evidence is contradictory, treating self-healing as a controlled, verification-backed process rather than an automatic fix.
This is an AI-generated summary. ShortSingh links to the original source for the complete article.



Discussion (0)
Log in to join the discussion and vote.
Log in