{"id":145380,"date":"2025-11-17T23:25:11","date_gmt":"2025-11-17T23:25:11","guid":{"rendered":"https:\/\/www.newsbeep.com\/ie\/145380\/"},"modified":"2025-11-17T23:25:11","modified_gmt":"2025-11-17T23:25:11","slug":"google-previews-code-wiki-ai-to-document-repositories-the-register","status":"publish","type":"post","link":"https:\/\/www.newsbeep.com\/ie\/145380\/","title":{"rendered":"Google previews Code Wiki, AI to document repositories \u2022 The Register"},"content":{"rendered":"<p>Google has previewed Code Wiki, an AI project that aims to document code in a repository and keep it up to date by regenerating the content after every code change.<\/p>\n<p>The <a target=\"_blank\" rel=\"nofollow noopener\" href=\"http:\/\/codewiki.google\/\">preview<\/a> has documentation for hundreds of open source projects. Coming soon is an extension to Gemini CLI, Google&#8217;s AI agent, that will run on internal repositories, though there is no word yet about pricing.<\/p>\n<p>The <a target=\"_blank\" rel=\"nofollow noopener\" href=\"https:\/\/developers.googleblog.com\/en\/introducing-code-wiki-accelerating-your-code-understanding\">official post<\/a> has only brief details of how Code Wiki works, leaving it to developers to explore the preview version to figure out what it can do.<\/p>\n<p>A Hacker News <a target=\"_blank\" rel=\"nofollow noopener\" href=\"https:\/\/news.ycombinator.com\/item?id=45927613\">comment<\/a> from Omar Shams, founder of Mutable.ai, states that Code Wiki is a rebuild of a previous project called Auto Wiki, which his company developed before it was <a target=\"_blank\" rel=\"nofollow noopener\" href=\"https:\/\/digital-markets-act-cases.ec.europa.eu\/acquisitions\">acquired<\/a> by Google.<\/p>\n<p>Code Wiki is focused on documenting the code in a repository, which must not be confused with documenting the output of that code. We looked, for example, at what the service has <a target=\"_blank\" rel=\"nofollow noopener\" href=\"https:\/\/codewiki.google\/github.com\/dotnet\/aspnetcore\">generated<\/a> for Microsoft&#8217;s ASP.NET Core web platform. Microsoft has comprehensive documentation for using ASP.NET Core, but documentation for contributors to the project is not so good, so Code Wiki&#8217;s efforts could be useful.<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/www.newsbeep.com\/ie\/wp-content\/uploads\/2025\/11\/codewiki.jpg\" alt=\"Code Wiki explains ASP.Net code for distributed caching\" title=\"Code Wiki explains ASP.Net code for distributed caching\" height=\"333\" width=\"648\"\/><\/p>\n<p class=\"text_center\">Code Wiki explains ASP.NET code for distributed caching<\/p>\n<p>There is also a chat user interface in Code Wiki, which lets you ask questions about the codebase. We asked whether Postgres could be used instead of SQL Server for an ASP.NET Core distributed cache. Gemini said that &#8220;there is no mention of direct support or an out-of-the-box implementation for PostgreSQL.&#8221;<\/p>\n<p>Microsoft&#8217;s official docs, though, <a target=\"_blank\" rel=\"nofollow noopener\" href=\"https:\/\/learn.microsoft.com\/en-us\/aspnet\/core\/performance\/caching\/distributed?view=aspnetcore-10.0\">state<\/a> that &#8220;Azure Database for PostgreSQL can be used as a distributed cache backing store via the IDistributedCache interface.&#8221; Gemini is half right, in that only SQL Server and Redis implementations are in the repository, but this is perhaps a case where a knowledgeable human would give a better answer.<\/p>\n<p>Google says that reading existing code is among the &#8220;biggest, most expensive bottlenecks in software development.&#8221; It may well feel like that for a new developer joining a team. The open question, though, is whether AI-generated documentation is a good solution. Developer views vary. &#8220;Repo-wide documentation really feels like the last thing I&#8217;d want AI to touch. It doesn&#8217;t really have the context size to piece together the architecture of an entire code base, and that&#8217;s a problem that&#8217;s not really solved by lots of tool calls,&#8221; <a target=\"_blank\" rel=\"nofollow noopener\" href=\"https:\/\/old.reddit.com\/r\/programming\/comments\/1oyjaf7\/google_releases_codewiki_for_aibased_code\/np5f4ra\/\">said one<\/a>, in response to the launch.\u00a0<\/p>\n<p>Another looked at the generated documentation for the Vue JavaScript framework, being familiar with it. &#8220;It doesn&#8217;t look too bad,&#8221; they <a target=\"_blank\" rel=\"nofollow noopener\" href=\"https:\/\/old.reddit.com\/r\/programming\/comments\/1oyjaf7\/google_releases_codewiki_for_aibased_code\/np6jswd\/\">said<\/a>, but &#8220;it&#8217;s still very much an &#8216;educated guess&#8217; kind of documentation that&#8217;s full of LLM-isms. It oscillates between being too vague and too specific all the time, and it is very verbose, being one fifth the length of the relevant code itself.&#8221; Another issue is that Code Wiki did not make clear that the repository vuejs\/vue is obsolete and went end of life two years ago; though there is also a separate Code Wiki entry for the current vuejs\/core.<\/p>\n<p>We must note that Code Wiki is not a wiki, since the essence of a wiki is that it is collaborative and open to amendment, not a large wodge of auto-generated text and diagrams.<\/p>\n<p>A key concern though is that AI-generated documentation is not authoritative, unlike reading and understanding the code. Code Wiki contains the disclaimer, &#8220;Gemini can make mistakes, so double-check it.&#8221;<\/p>\n<p>The idea of regenerating documentation when code changes has pros and cons. Keeping it up to date is a good thing, but changing too much could be confusing. &#8220;Does anything persist? If I could be in the middle of reading it, and the next day it&#8217;s completely different, that&#8217;s a huge waste of my time,&#8221; <a target=\"_blank\" rel=\"nofollow noopener\" href=\"https:\/\/news.ycombinator.com\/item?id=45938831\">said<\/a> another comment.<\/p>\n<p>Google is not the first to attempt this kind of project. Devin&#8217;s <a target=\"_blank\" rel=\"nofollow noopener\" href=\"https:\/\/deepwiki.org\">DeepWiki<\/a> is a similar concept that also provides documentation for open source repositories, and is already available for private repositories.\u00ae<\/p>\n","protected":false},"excerpt":{"rendered":"Google has previewed Code Wiki, an AI project that aims to document code in a repository and keep&hellip;\n","protected":false},"author":2,"featured_media":145381,"comment_status":"","ping_status":"","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[20],"tags":[220,218,219,61,60,80],"class_list":{"0":"post-145380","1":"post","2":"type-post","3":"status-publish","4":"format-standard","5":"has-post-thumbnail","7":"category-artificial-intelligence","8":"tag-ai","9":"tag-artificial-intelligence","10":"tag-artificialintelligence","11":"tag-ie","12":"tag-ireland","13":"tag-technology"},"_links":{"self":[{"href":"https:\/\/www.newsbeep.com\/ie\/wp-json\/wp\/v2\/posts\/145380","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.newsbeep.com\/ie\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.newsbeep.com\/ie\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.newsbeep.com\/ie\/wp-json\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/www.newsbeep.com\/ie\/wp-json\/wp\/v2\/comments?post=145380"}],"version-history":[{"count":0,"href":"https:\/\/www.newsbeep.com\/ie\/wp-json\/wp\/v2\/posts\/145380\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/www.newsbeep.com\/ie\/wp-json\/wp\/v2\/media\/145381"}],"wp:attachment":[{"href":"https:\/\/www.newsbeep.com\/ie\/wp-json\/wp\/v2\/media?parent=145380"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.newsbeep.com\/ie\/wp-json\/wp\/v2\/categories?post=145380"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.newsbeep.com\/ie\/wp-json\/wp\/v2\/tags?post=145380"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}