Nrupal Akolkar commited on
Commit
15313a2
Β·
0 Parent(s):

Mirror of nrupala/codetopo@32dcb72181941df9a5e12197e71dce7d0a9472f3

Browse files
Files changed (8) hide show
  1. README.md +47 -0
  2. data/ABOUT.json +1 -0
  3. data/schema.json +1 -0
  4. data/snapshot.json +0 -0
  5. data/stats.json +1 -0
  6. data/verify.json +1 -0
  7. index.html +244 -0
  8. log/index.html +249 -0
README.md ADDED
@@ -0,0 +1,47 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ ---
2
+ # SPDX-FileCopyrightText: 2026 2351485 ALBERTA INC.
3
+ #
4
+ # SPDX-License-Identifier: AGPL-3.0-or-later
5
+
6
+ title: codetopo
7
+ emoji: πŸ—ΊοΈ
8
+ colorFrom: indigo
9
+ colorTo: gray
10
+ sdk: static
11
+ pinned: false
12
+ short_description: codetopo's map of its own codebase β€” a static snapshot.
13
+ ---
14
+
15
+ # codetopo β€” static snapshot demo
16
+
17
+ **See your codebase the way an agent sees it.** codetopo turns a source
18
+ repository into a queryable code graph β€” symbols, calls, references, and
19
+ structure β€” with JSON answers an AI coding agent can act on directly.
20
+
21
+ This Space is a **static snapshot**, not a live server. codetopo was run
22
+ once against its own source code; the genuine API responses from that run
23
+ are bundled under `data/` (see `data/ABOUT.json` for the capture date, the
24
+ exact source commit, and the tool version), and this page renders them.
25
+ Search and browsing run in your browser against that bundled snapshot
26
+ only β€” nothing is computed on a server, and the snapshot does not change
27
+ until the next sync replaces it.
28
+
29
+ The **live** version of this demo β€” a container that indexes the bundled
30
+ source at startup and answers queries from the real API β€” is packaged in
31
+ the source repository under `space/` (Docker Space) and replaces this
32
+ static layout if the Space is ever switched to the Docker SDK.
33
+
34
+ ## Mirror rule
35
+
36
+ This Space is a **mirror**. The source of truth is the GitHub repository
37
+ [nrupala/codetopo](https://github.com/nrupala/codetopo); everything here is
38
+ synced from there by automation (`.github/workflows/hf-sync.yml`) and is
39
+ overwritten on every sync. Changes made on this side will not survive β€”
40
+ send them to GitHub instead.
41
+
42
+ ## License
43
+
44
+ - Engine (`codetopo-*` crates): **AGPL-3.0-or-later**
45
+ - Agent-facing contracts (`schemas/`): **Apache-2.0**
46
+
47
+ Owned by [Nrupal Akolkar](https://nrupalakolkar.com) Β· Built with [Muse by Meta](https://muse.ai/join).
data/ABOUT.json ADDED
@@ -0,0 +1 @@
 
 
1
+ {"about":"Provenance for the bundled snapshot in this directory. Every other .json file here is the raw response body of the named codetopo-server API endpoint, saved byte-for-byte as returned by a real run \u2014 no values were edited, recomputed, or invented.","analyzed_tree":"A clean copy of the source tree at source_commit (build output excluded; the indexer saw exactly the repository's source files).","captured_at":"2026-11-10T03:39:28Z","cross_checks_at_capture":["snapshot.json node/edge counts equal stats.json totals (7505 / 25748).","snapshot.json audit_head equals verify.json head; verify.json chain_valid is true."],"files":{"schema.json":"GET /v1/schema","snapshot.json":"GET /v1/graphs/{index_id}/snapshot","stats.json":"GET /v1/graphs/{index_id}/stats","verify.json":"GET /v1/graphs/{index_id}/verify"},"index_id":"3db7a4be-2ba3-4270-a903-877f3a8242de","index_summary_from_index_response":{"diagnostics":5209,"edges":25748,"files_failed":0,"files_indexed":141,"nodes":7505},"source_commit":"052a503d1570fc6279f4e2adfb2f9ec0bac6d3c6","source_ref":"main","source_repository":"https://github.com/nrupala/codetopo","tool":"codetopo-server 0.9.0","tool_source":"Built with cargo from the same source_commit (cargo build --release -p codetopo-server), run by scripts/capture-space-bundle.sh in the space-recapture workflow."}
data/schema.json ADDED
@@ -0,0 +1 @@
 
 
1
+ {"edge_kinds":["imports","calls","inherits","implements","defines","references","contains","reads","writes"],"node_kinds":["package","module","file","class","interface","function","method","variable","external","doc"],"queries":["descendants","ancestors","blast_radius","path","neighborhood","search","symbol","stats","verify","diagnostics","rank","diff","metrics","history","communities","topo_sort","render"],"schema_version":"1.2","tiers":{"core":"package, module, file (the structural skeleton)","optional":"everything else","recommended":"class, interface (type declarations)"}}
data/snapshot.json ADDED
The diff for this file is too large to render. See raw diff
 
data/stats.json ADDED
@@ -0,0 +1 @@
 
 
1
+ {"index_id":"3db7a4be-2ba3-4270-a903-877f3a8242de","nodes":{"total":7505,"by_kind":{"class":204,"doc":39,"external":5171,"file":141,"function":1163,"interface":12,"method":438,"module":128,"package":12,"variable":197}},"edges":{"total":25748,"by_kind":{"calls":12009,"contains":2322,"defines":1885,"implements":4,"imports":482,"inherits":2,"reads":8992,"writes":52}}}
data/verify.json ADDED
@@ -0,0 +1 @@
 
 
1
+ {"index_id":"3db7a4be-2ba3-4270-a903-877f3a8242de","entries":3,"chain_valid":true,"head":"6b53050f76b1825879043d9d761defb04ddd386632ccf16cd286f5ae97e356e4"}
index.html ADDED
@@ -0,0 +1,244 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <!DOCTYPE html>
2
+ <html lang="en">
3
+ <head>
4
+ <meta charset="utf-8">
5
+ <meta name="viewport" content="width=device-width, initial-scale=1">
6
+ <title>codetopo β€” static snapshot</title>
7
+ <style>
8
+ :root { color-scheme: dark; }
9
+ body { font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
10
+ margin: 0 auto; max-width: 880px; padding: 24px 16px 48px;
11
+ background: #0d1117; color: #e6edf3; line-height: 1.5; }
12
+ h1 { font-size: 28px; margin: 0 0 4px; }
13
+ h2 { font-size: 17px; margin: 28px 0 8px; }
14
+ .sub { color: #9da7b3; margin: 0 0 16px; }
15
+ .honest { border: 1px solid #d29922; border-radius: 8px; padding: 10px 14px;
16
+ background: #2a2107; font-size: 14px; }
17
+ .cards { display: flex; gap: 12px; flex-wrap: wrap; margin: 16px 0; }
18
+ .card { border: 1px solid #30363d; border-radius: 8px; padding: 12px 16px; min-width: 140px; }
19
+ .card .n { font-size: 26px; font-weight: 700; }
20
+ .card .k { color: #9da7b3; font-size: 13px; }
21
+ table { border-collapse: collapse; font-size: 14px; }
22
+ td, th { border: 1px solid #30363d; padding: 4px 10px; text-align: left; }
23
+ input[type="search"] { width: 100%; box-sizing: border-box; padding: 10px;
24
+ font: inherit; background: #161b22; color: inherit; border: 1px solid #30363d; border-radius: 8px; }
25
+ .result { padding: 8px 0; border-bottom: 1px solid #21262d; cursor: pointer; }
26
+ .result .label { font-weight: 700; }
27
+ .result .meta { color: #9da7b3; font-size: 13px; word-break: break-all; }
28
+ .ok { color: #3fb950; } .bad { color: #f85149; }
29
+ details { margin-top: 8px; } summary { cursor: pointer; color: #9da7b3; font-size: 13px; }
30
+ pre { overflow-x: auto; background: #161b22; padding: 10px; border-radius: 8px; font-size: 12px; }
31
+ a { color: #58a6ff; }
32
+ footer { margin-top: 40px; color: #9da7b3; font-size: 13px; }
33
+ </style>
34
+ </head>
35
+ <body>
36
+ <h1>codetopo</h1>
37
+ <p class="sub">See your codebase the way an agent sees it β€” a queryable code graph: symbols, calls, references, structure.</p>
38
+
39
+ <p class="honest" id="caption"><strong>Static snapshot β€” not a live server.</strong> Loading capture details…</p>
40
+
41
+ <p>Following the build? The <a href="log/">development log</a> tells the story so far β€” and what is coming next.</p>
42
+
43
+ <h2>The graph of codetopo itself</h2>
44
+ <div id="stats"><p>Loading snapshot stats…</p></div>
45
+
46
+ <h2>Audit chain</h2>
47
+ <div id="verify"><p>Loading…</p></div>
48
+
49
+ <h2>Most connected symbols in the snapshot</h2>
50
+ <div id="top"><p>Loading the bundled graph…</p></div>
51
+
52
+ <h2>Search the snapshot</h2>
53
+ <form id="search-form">
54
+ <input type="search" id="q" placeholder="Try: index_repo, GraphBuilder, verify_proof…" aria-label="Search symbols in the snapshot">
55
+ </form>
56
+ <p class="sub" style="font-size:13px">Search runs in your browser against the bundled snapshot only β€” it covers exactly the nodes listed in <code>data/snapshot.json</code>, nothing else.</p>
57
+ <div id="results"></div>
58
+
59
+ <footer>
60
+ <p>Engine: AGPL-3.0-or-later Β· API contract: <a href="data/schema.json">data/schema.json</a> (Apache-2.0) Β·
61
+ Raw snapshot data: <a href="data/stats.json">stats</a> Β· <a href="data/verify.json">verify</a> Β· <a href="data/snapshot.json">snapshot</a> Β· <a href="data/ABOUT.json">capture provenance</a></p>
62
+ <p>Source of truth: <a href="https://github.com/nrupala/codetopo">github.com/nrupala/codetopo</a> (this Space is an automated mirror).</p>
63
+ <p>Owned by <a href="https://nrupalakolkar.com">Nrupal Akolkar</a> Β· Built with <a href="https://muse.ai/join">Muse by Meta</a>.</p>
64
+ </footer>
65
+
66
+ <script>
67
+ "use strict";
68
+
69
+ async function getJSON(url) {
70
+ const r = await fetch(url);
71
+ if (!r.ok) throw new Error("HTTP " + r.status);
72
+ return r.json();
73
+ }
74
+ function esc(s) {
75
+ return String(s).replace(/[&<>"']/g, c => ({"&":"&amp;","<":"&lt;",">":"&gt;",'"':"&quot;","'":"&#39;"}[c]));
76
+ }
77
+ function rawDetails(data) {
78
+ return "<details><summary>raw captured API response</summary><pre>" + esc(JSON.stringify(data, null, 2)) + "</pre></details>";
79
+ }
80
+ function kindTable(byKind) {
81
+ const rows = Object.entries(byKind).sort((a, b) => b[1] - a[1])
82
+ .map(([k, v]) => "<tr><td>" + esc(k) + "</td><td>" + v + "</td></tr>").join("");
83
+ return "<table><tr><th>kind</th><th>count</th></tr>" + rows + "</table>";
84
+ }
85
+
86
+ let SNAP = null; // parsed data/snapshot.json
87
+ let BY_ID = new Map(); // node id -> node
88
+ let OUT = new Map(); // id -> [ids it points to] (edge.from -> edge.to)
89
+ let IN = new Map(); // id -> [ids pointing to it] (edge.to -> edge.from)
90
+
91
+ function closure(start, adj) {
92
+ const seen = new Set();
93
+ const stack = [...(adj.get(start) || [])];
94
+ while (stack.length) {
95
+ const cur = stack.pop();
96
+ if (seen.has(cur)) continue;
97
+ seen.add(cur);
98
+ for (const nxt of adj.get(cur) || []) if (!seen.has(nxt)) stack.push(nxt);
99
+ }
100
+ seen.delete(start);
101
+ return seen;
102
+ }
103
+ // Dependency closures, exactly as the live API defines them
104
+ // (CODE_SCHEMA Β§6): descendants/ancestors are transitive closures over
105
+ // calls+imports edges only β€” structural edges (contains, defines, …) do
106
+ // not propagate dependency. Descendants follow out-edges (what a node
107
+ // transitively calls/imports); ancestors follow in-edges (what
108
+ // transitively calls/imports it). At capture time these totals were
109
+ // cross-checked against the server's own /descendants and /ancestors
110
+ // endpoints for a sample of nodes and matched exactly.
111
+ function descendants(id) { return closure(id, OUT); }
112
+ function ancestors(id) { return closure(id, IN); }
113
+
114
+ async function loadCaption() {
115
+ const el = document.getElementById("caption");
116
+ try {
117
+ const a = await getJSON("data/ABOUT.json");
118
+ el.innerHTML = "<strong>Static snapshot β€” not a live server.</strong> " +
119
+ "This page renders a snapshot of <em>codetopo analyzing its own repository</em>, captured on " +
120
+ esc(a.captured_at) + " from source commit <code>" + esc(String(a.source_commit).slice(0, 12)) + "…</code> " +
121
+ "with codetopo " + esc(a.tool) + ". The numbers below are the genuine API responses from that run, " +
122
+ "bundled under <code>data/</code>. Search and browsing happen in your browser against that snapshot only. " +
123
+ "The full live demo β€” a server that indexes the source and answers queries in real time β€” is the Docker Space.";
124
+ } catch (e) {
125
+ el.innerHTML = "<strong>Static snapshot β€” not a live server.</strong> The capture-provenance file (data/ABOUT.json) failed to load, so this page cannot state its capture date or source commit.";
126
+ }
127
+ }
128
+
129
+ async function loadStats() {
130
+ const el = document.getElementById("stats");
131
+ try {
132
+ const s = await getJSON("data/stats.json");
133
+ const files = (s.nodes.by_kind && s.nodes.by_kind.file) || 0;
134
+ el.innerHTML =
135
+ '<div class="cards">' +
136
+ '<div class="card"><div class="n">' + files.toLocaleString("en-US") + '</div><div class="k">files indexed</div></div>' +
137
+ '<div class="card"><div class="n">' + s.nodes.total.toLocaleString("en-US") + '</div><div class="k">nodes</div></div>' +
138
+ '<div class="card"><div class="n">' + s.edges.total.toLocaleString("en-US") + '</div><div class="k">edges</div></div>' +
139
+ "</div>" +
140
+ "<h3>Nodes by kind</h3>" + kindTable(s.nodes.by_kind) +
141
+ "<h3>Edges by kind</h3>" + kindTable(s.edges.by_kind) +
142
+ rawDetails(s);
143
+ } catch (e) {
144
+ el.innerHTML = "<p>The captured stats file (data/stats.json) failed to load.</p>";
145
+ }
146
+ }
147
+
148
+ async function loadVerify() {
149
+ const el = document.getElementById("verify");
150
+ try {
151
+ const v = await getJSON("data/verify.json");
152
+ el.innerHTML = "<p>Audit chain at capture time: " + (v.chain_valid
153
+ ? '<span class="ok">valid</span>'
154
+ : '<span class="bad">INVALID</span>') +
155
+ " Β· " + v.entries + " entries Β· head <code>" + esc(String(v.head).slice(0, 16)) + "…</code></p>" + rawDetails(v);
156
+ } catch (e) {
157
+ el.innerHTML = "<p>The captured verification file (data/verify.json) failed to load.</p>";
158
+ }
159
+ }
160
+
161
+ function nodeLine(n) {
162
+ return '<span class="label">' + esc(n.label) + "</span> " +
163
+ '<span class="meta">' + esc(n.kind) + " Β· " + esc(n.loc.file) + ":" + n.loc.line + "</span><br>" +
164
+ '<span class="meta">' + esc(n.id) + "</span>";
165
+ }
166
+
167
+ async function loadSnapshot() {
168
+ const topEl = document.getElementById("top");
169
+ try {
170
+ SNAP = await getJSON("data/snapshot.json");
171
+ BY_ID = new Map(SNAP.nodes.map(n => [n.id, n]));
172
+ OUT = new Map(); IN = new Map();
173
+ const degree = new Map();
174
+ // Adjacency and ranking use calls+imports edges only β€” the same
175
+ // edge set the descendants/ancestors closures are defined over.
176
+ for (const e of SNAP.edges) {
177
+ if (e.kind !== "calls" && e.kind !== "imports") continue;
178
+ if (!OUT.has(e.from)) OUT.set(e.from, []);
179
+ OUT.get(e.from).push(e.to);
180
+ if (!IN.has(e.to)) IN.set(e.to, []);
181
+ IN.get(e.to).push(e.from);
182
+ degree.set(e.from, (degree.get(e.from) || 0) + 1);
183
+ degree.set(e.to, (degree.get(e.to) || 0) + 1);
184
+ }
185
+ const ranked = [...degree.entries()]
186
+ .map(([id, d]) => ({ node: BY_ID.get(id), d }))
187
+ .filter(x => x.node)
188
+ .sort((a, b) => b.d - a.d || a.node.label.localeCompare(b.node.label))
189
+ .slice(0, 25);
190
+ topEl.innerHTML = ranked.map(({ node, d }) =>
191
+ '<div class="result" data-id="' + esc(node.id) + '">' + nodeLine(node) + "<br>" +
192
+ '<span class="meta">' + d + " calls/imports links Β· " +
193
+ descendants(node.id).size + " descendants Β· " + ancestors(node.id).size +
194
+ " ancestors (computed from the snapshot)</span></div>"
195
+ ).join("") +
196
+ "<p>" + SNAP.nodes.length.toLocaleString("en-US") + " nodes and " + SNAP.edges.length.toLocaleString("en-US") + " edges in the bundled snapshot; the table above ranks nodes by their calls/imports connections β€” the edges dependency closures travel.</p>";
197
+ } catch (e) {
198
+ topEl.innerHTML = "<p>The bundled graph (data/snapshot.json) failed to load, so the topology browser is unavailable. The stats and audit sections above come from separate captured files and are unaffected.</p>";
199
+ }
200
+ }
201
+
202
+ function runSearch(q) {
203
+ const el = document.getElementById("results");
204
+ if (!q) { el.innerHTML = ""; return; }
205
+ if (!SNAP) { el.innerHTML = "<p>The snapshot is still loading β€” try again in a moment.</p>"; return; }
206
+ const needle = q.toLowerCase();
207
+ const hits = SNAP.nodes.filter(n => n.label.toLowerCase().includes(needle)).slice(0, 20);
208
+ if (!hits.length) { el.innerHTML = "<p>No symbols in the snapshot match.</p>"; return; }
209
+ el.innerHTML = hits.map(n =>
210
+ '<div class="result" data-id="' + esc(n.id) + '">' + nodeLine(n) + "<br>" +
211
+ '<span class="meta deps">click to count descendants / ancestors in the snapshot</span></div>'
212
+ ).join("");
213
+ el.querySelectorAll(".result").forEach(r => {
214
+ r.addEventListener("click", () => {
215
+ const slot = r.querySelector(".deps");
216
+ slot.textContent = descendants(r.dataset.id).size + " descendants Β· " +
217
+ ancestors(r.dataset.id).size + " ancestors (computed from the bundled snapshot)";
218
+ });
219
+ });
220
+ }
221
+
222
+ document.getElementById("search-form").addEventListener("submit", ev => {
223
+ ev.preventDefault();
224
+ runSearch(document.getElementById("q").value.trim());
225
+ });
226
+ loadCaption();
227
+ loadStats();
228
+ loadVerify();
229
+ loadSnapshot();
230
+ </script>
231
+ <!--
232
+ Copyright (C) 2026 2351485 ALBERTA INC.
233
+ SPDX-License-Identifier: AGPL-3.0-or-later
234
+ Part of codetopo β€” Owned by 2351485 ALBERTA INC. (https://nrupalakolkar.com) Β· Built with Muse by Meta (https://muse.ai/join).
235
+
236
+ Static snapshot page for the codetopo Hugging Face Space. There is no
237
+ server behind this page: every number on it is rendered in the browser
238
+ from the bundled API responses under data/ β€” genuine output captured
239
+ from one real run of codetopo-server against codetopo's own source
240
+ (provenance in data/ABOUT.json). The page never invents data; if a
241
+ data file fails to load, the affected section says so.
242
+ -->
243
+ </body>
244
+ </html>
log/index.html ADDED
@@ -0,0 +1,249 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <!DOCTYPE html>
2
+ <html lang="en">
3
+ <head>
4
+ <meta charset="utf-8">
5
+ <meta name="viewport" content="width=device-width, initial-scale=1">
6
+ <title>codetopo β€” development log</title>
7
+ <style>
8
+ :root { color-scheme: dark; }
9
+ body { font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
10
+ margin: 0 auto; max-width: 880px; padding: 24px 16px 48px;
11
+ background: #0d1117; color: #e6edf3; line-height: 1.5; }
12
+ h1 { font-size: 28px; margin: 0 0 4px; }
13
+ h2 { font-size: 17px; margin: 28px 0 8px; }
14
+ h3 { font-size: 15px; margin: 22px 0 6px; }
15
+ .sub { color: #9da7b3; margin: 0 0 16px; }
16
+ .when { color: #9da7b3; font-weight: 400; }
17
+ a { color: #58a6ff; }
18
+ footer { margin-top: 40px; color: #9da7b3; font-size: 13px; }
19
+ </style>
20
+ </head>
21
+ <body>
22
+ <h1>codetopo β€” development log</h1>
23
+ <p class="sub">How codetopo got here, and where it is going β€” in plain words.</p>
24
+
25
+ <p>codetopo turns a source repository into a queryable code graph β€” symbols,
26
+ calls, references, structure β€” with answers an AI coding agent can act on
27
+ directly. This page is the public story of the build: what shipped, what it
28
+ means if you use codetopo, and what is being worked on next. It is kept with
29
+ the releases β€” every release adds its entry here in the same change. The demo
30
+ itself is on the <a href="../">front page</a>.</p>
31
+
32
+ <h2>The story so far</h2>
33
+
34
+ <h3><span class="when">November 2, 2026 β€”</span> 0.9.0: the analytics engine</h3>
35
+ <p>codetopo's ranking learns the classic graph measures. Where it once
36
+ ranked symbols four ways, it now answers nine: the original four, unchanged
37
+ to the byte, plus five measures every network-science textbook defines β€”
38
+ which symbols everything flows through, which sit closest to all the rest,
39
+ and which matter because important things point at them. Three new tools
40
+ join the seventeen, on the command line, over HTTP, and through the agent
41
+ tools alike: one finds the natural communities inside a codebase and scores
42
+ how cleanly they separate; one lays the graph out in dependency order; and
43
+ one draws it β€” a force-directed map as SVG, drawn identically every time it
44
+ is asked. Every number still travels with its method and its settings;
45
+ where a measure honestly cannot converge on a very large graph, codetopo
46
+ says so, with the reason, instead of returning half an answer. The proof is
47
+ pinned in the open: the new measures were checked against the standard
48
+ reference implementations (networkx and igraph) and agree to the last
49
+ decimal places that matter, twice-run outputs are byte-identical, and on a
50
+ graph of forty thousand symbols the slowest measure finishes in about half
51
+ a minute. The schema stays at 1.2 β€” nothing stored changes, and snapshots
52
+ keep reading. All eight crates move to 0.9.0 together. 0.9.0 is a release
53
+ candidate since November 2, 2026 β€” it graduates after a clean watched
54
+ week.</p>
55
+
56
+ <h3><span class="when">November 2, 2026 β€”</span> 0.8.0: Python joins</h3>
57
+ <p>codetopo now reads Python. Files ending .py and .pyi are indexed through
58
+ the same contract as Rust and TypeScript/JavaScript: packages and modules
59
+ (an __init__.py stands for its package), classes, functions and methods,
60
+ module-level variables, and imports β€” absolute, relative, and future β€”
61
+ resolved at module level. Protocol classes are recognised as interfaces.
62
+ Every Python symbol carries the measured fields the analytics engine feeds
63
+ on β€” its signature, its line span, and its counted decision points β€” so
64
+ complexity, coupling, and ranking work on Python code exactly as they do on
65
+ the other languages, on the command line, over HTTP, and through the
66
+ seventeen agent tools alike. The schema that describes all of this rises
67
+ to 1.2, additively: snapshots written by older versions keep reading.
68
+ Where Python defines a name twice β€” an overload, a property and its
69
+ setter β€” the index says so, with both locations, instead of silently
70
+ picking one. The proof is pinned in the open: hand-counted fixtures, a
71
+ known-answer package whose expected graph is published arithmetic, and a
72
+ cross-check against a real-world codebase (pallets/click) reconciled
73
+ row-for-row against CPython's own count of its definitions. All eight
74
+ crates move to 0.8.0 together. 0.8.0 is a release candidate since
75
+ November 2, 2026 β€” it graduates after a clean watched week.</p>
76
+
77
+ <h3><span class="when">October 30, 2026 β€”</span> Listing copy brought current</h3>
78
+ <p>A housekeeping pass over the pages that directories and agents read:
79
+ the launch guide, the Gemini extension manifest, and the agent install
80
+ guide still described the twelve tools of an older release. They now
81
+ name all seventeen, including the diagnostics, ranking, comparison,
82
+ metrics, and history tools the analytics work added. No code changed.</p>
83
+
84
+ <h3><span class="when">October 25, 2026 β€”</span> 0.7.0: the analytics engine, complete</h3>
85
+ <p>codetopo now measures what it indexes. Every function and method carries
86
+ its size in lines and its cyclomatic complexity β€” counted decision points
87
+ plus one, with the counting rules published and the method stated wherever
88
+ the number appears. Types carry coupling and cohesion measurements: how
89
+ many other types they touch, what they can reach, and how far their methods
90
+ share the type's own state. Packages carry their dependency balance β€”
91
+ what depends on them, what they depend on, and how much of that points
92
+ outward β€” with links to external libraries counted separately, never merged
93
+ in. And on your own machine, codetopo reads a repository's git history to
94
+ find its hotspots β€” the files that change often and are complex at once,
95
+ both factors always shown β€” and the files that change together, reported as
96
+ the counts themselves. Hosted indexes carry no history, and there the
97
+ answer is honestly "not measured", never an invented number. Every one of
98
+ these is a measurement with a stated method; codetopo still ships no
99
+ verdicts about whether code is good. All of it arrives on the same three
100
+ doors β€” command line, HTTP, and the agent tools β€” and all eight crates move
101
+ to 0.7.0 together. 0.7.0 is a release candidate since October 25, 2026 β€”
102
+ it graduates after a clean watched week; the published packages and the
103
+ hosted service pick it up at graduation.</p>
104
+
105
+ <h3><span class="when">October 20, 2026 β€”</span> 0.6.0: the analytics get deeper</h3>
106
+ <p>codetopo's answers grow a layer. Asking about one symbol now returns its
107
+ dossier β€” the symbol itself plus every connection it has, grouped by kind,
108
+ with the counts stated first β€” the shape the design specified from the
109
+ start. The warnings recorded while an index was built (dependency cycles,
110
+ symbols defined twice, calls that resolve to nothing) can now be read by
111
+ agents too, not only printed by the command line. Symbols can be ranked by
112
+ how much depends on them, how much they depend on, and how much breaks if
113
+ they change β€” measurements, with the method stated beside the numbers,
114
+ never a score of whether code is good. And two indexes can be compared
115
+ directly: what was added, what was removed, what changed, and how the
116
+ blast radius of every touched symbol moved. All of it arrives on the same
117
+ three doors β€” command line, HTTP, and the agent tools β€” and all eight
118
+ crates move to 0.6.0 together. 0.6.0 is a release candidate since
119
+ October 20, 2026 β€” it graduates on October 27, 2026 after a clean watched
120
+ week; the published packages and the hosted service pick it up at
121
+ graduation.</p>
122
+
123
+ <h3><span class="when">October 18–19, 2026 β€”</span> The hosted API goes live</h3>
124
+ <p>codetopo Hosted is a real thing you can buy now: US$19 a month for a hosted
125
+ key β€” up to 25 indexes of your own and 10,000 queries a month β€” without
126
+ running a server yourself. Before it opened, the whole trip was walked the way
127
+ a customer walks it: pay, claim the key (it is shown exactly once), ask the API
128
+ real questions about a real repository, cancel, and watch the key stop working.
129
+ It all held.</p>
130
+
131
+ <h3><span class="when">October 14, 2026 β€”</span> 0.5.0: one version everywhere</h3>
132
+ <p>All seven crates moved onto a single version line, 0.5.0, and were published
133
+ together: crates.io, the GitHub release, and the official MCP Registry all say
134
+ the same number. Before this, different pieces of codetopo carried three
135
+ different versions at once; now, whatever you install agrees with everything
136
+ else.</p>
137
+
138
+ <h3><span class="when">October 14, 2026 β€”</span> A hosted service, built in stages</h3>
139
+ <p>Underneath the launch, the hosted path was assembled piece by piece, each
140
+ piece tested before the next landed: a real key store, where your indexes
141
+ belong to your key β€” another key asking for your index gets the same answer as
142
+ asking for one that does not exist; hosted ingest, where you hand the API a
143
+ public repository URL or an archive instead of a path on a machine; plan
144
+ limits, the envelope that keeps one key from eating the host; and a billing
145
+ bridge that turns a payment into a key and a cancellation into a revocation.
146
+ When the first customer-walk found a rough edge β€” the claim page arrived blank
147
+ and made you hunt down a session id β€” the page learned to arrive pre-filled.</p>
148
+
149
+ <h3><span class="when">October 14, 2026 β€”</span> The release gate, and fixing what it found</h3>
150
+ <p>codetopo went through the same release gate every product here faces, and
151
+ the fixes shipped the same day. API errors no longer leak internal detail. The
152
+ quickstart no longer plants a published example password β€” it generates a
153
+ random one, and the server refuses a keys file still carrying the example.
154
+ Older indexes stop being readable by every key once a second key exists. And
155
+ the README says plainly how to delete your data and how to export it.</p>
156
+
157
+ <h3><span class="when">October 14, 2026 β€”</span> Listed where agents look</h3>
158
+ <p>Glama approved the listing after inspecting the running server itself β€” all
159
+ twelve tools, live. The Smithery bundle was refreshed at 0.5.0, and a Gemini
160
+ CLI extension in the repository puts codetopo in the Gemini extensions
161
+ gallery. Whichever door your agent uses, it finds the same codetopo.</p>
162
+
163
+ <h3><span class="when">October 13, 2026 β€”</span> 0.3.5: tools that introduce themselves</h3>
164
+ <p>Every MCP tool gained a human-readable title and honest annotations β€” what
165
+ it does, that it is read-only β€” so agent clients and directories can present
166
+ the tools properly. The README gained a Privacy Policy section the same day.</p>
167
+
168
+ <h3><span class="when">October 11, 2026 β€”</span> 0.3.4: Windows works</h3>
169
+ <p>The MCP server had never compiled on Windows β€” one part of it used
170
+ Unix-only plumbing. It has a proper Win32 implementation now, and CI builds
171
+ the shipped binaries on Windows so this cannot silently break again. Found,
172
+ fittingly, by making the first Windows build in the project's history.</p>
173
+
174
+ <h3><span class="when">October 10, 2026 β€”</span> 0.4.0: a trust setup for editor agents</h3>
175
+ <p>Agents that speak the Agent Client Protocol gained
176
+ <code>codetopo-trust-setup</code>: a one-time setup in your terminal that
177
+ creates a local proof-verification key. Snapshots the agent takes can then be
178
+ signed, and its answers can cite who stands behind them. codetopo still has no
179
+ accounts β€” the only secret is a key that never leaves your machine.</p>
180
+
181
+ <h3><span class="when">October 10, 2026 β€”</span> 0.3.0: published, and measured at 10,000 files</h3>
182
+ <p>All seven crates reached crates.io for the first time; a few small listing
183
+ releases followed over the next day to get the registry pages rendering right.
184
+ The same stretch brought <code>codetopo render</code> β€” a picture of your
185
+ graph that is a pure function of the data, byte-identical on any machine β€” a
186
+ self-hosted Docker container, and a demo snapshot that re-captures itself on
187
+ every merge, so this site never goes stale. And the scale gate: a
188
+ 10,000-file repository indexed in about 3.5 seconds. The gate earned its
189
+ keep β€” a very deep call chain crashed the cycle detector, which is now built
190
+ so depth is limited by memory, not by a stack.</p>
191
+
192
+ <h3><span class="when">October 5, 2026 β€”</span> 0.2.0: the first public release</h3>
193
+ <p>One engine, four doors. The core turns a repository into a graph β€” symbols,
194
+ calls, references, structure β€” stored with a tamper-evident audit log. On top
195
+ of it: a command-line tool, an HTTP API, an MCP server for agents, and an ACP
196
+ agent for editors. All four answer the same questions with the same answers,
197
+ because all four are thin doors over the same core.</p>
198
+
199
+ <h2>What is coming</h2>
200
+
201
+ <p>Drawn from the design in the repository (<code>DESIGN.md</code>).
202
+ Directions, not promises β€” and no dates, because honest phase words beat
203
+ invented deadlines.</p>
204
+
205
+ <h3><span class="when">Next β€”</span> Deeper still: richer extraction</h3>
206
+ <p>The design's derived views β€” complexity among them β€” need the extractors
207
+ to capture more of each symbol than they do today: where it ends, its
208
+ signature, its branching. With that in hand, codetopo can report coupling
209
+ and complexity the same way it now reports structure: the measurement and
210
+ its method, never a grade. That work is designed and waiting its turn.</p>
211
+
212
+ <h3><span class="when">After the hosted launch settles β€”</span> A working graph you can shape</h3>
213
+ <p>The design's surgical operations β€” expand, collapse, annotate, prune β€” let
214
+ an agent grow and trim a working view of a codebase instead of re-asking from
215
+ scratch every time.</p>
216
+
217
+ <h3><span class="when">Later β€”</span> More languages</h3>
218
+ <p>Rust, TypeScript/JavaScript, and Python are parsed today. Each language is a front
219
+ end against one shared contract, so new languages slot in without changing
220
+ the questions you can ask.</p>
221
+
222
+ <h3><span class="when">Later β€”</span> Always-fresh maps for your repository</h3>
223
+ <p>This demo already redraws codetopo's own map on every push. The design aims
224
+ the same trick at your repository: current architecture maps in your docs and
225
+ pull requests, rebuilt by CI, never stale.</p>
226
+
227
+ <h3><span class="when">Exploring β€”</span> A fuzzy layer beside the exact one</h3>
228
+ <p>The design leaves room for an optional embeddings overlay β€” fuzzy search
229
+ next to the exact graph, never instead of it. It stays optional, and it stays
230
+ later.</p>
231
+
232
+ <footer>
233
+ <p>Source of truth: <a href="https://github.com/nrupala/codetopo">github.com/nrupala/codetopo</a> (this Space is an automated mirror). The developer-grade record is the repository's <code>CHANGELOG.md</code>; this page is its plain-words companion.</p>
234
+ <p>Owned by <a href="https://nrupalakolkar.com">Nrupal Akolkar</a> Β· Built with <a href="https://muse.ai/join">Muse by Meta</a>.</p>
235
+ </footer>
236
+
237
+ <!--
238
+ Copyright (C) 2026 2351485 ALBERTA INC.
239
+ SPDX-License-Identifier: AGPL-3.0-or-later
240
+ Part of codetopo β€” Owned by 2351485 ALBERTA INC. (https://nrupalakolkar.com) Β· Built with Muse by Meta (https://muse.ai/join).
241
+
242
+ Public development log for codetopo. Content is distilled only from the
243
+ repository's verified records (CHANGELOG.md, the GitHub release record,
244
+ DESIGN.md for what is ahead) β€” nothing here carries a date or a claim
245
+ those records do not carry. Kept with the releases: every release adds
246
+ its entry in the same change (rule in CONTRIBUTING.md).
247
+ -->
248
+ </body>
249
+ </html>