|
4 | 4 | - cluster-only mode — file stats not available |
5 | 5 |
|
6 | 6 | ## Summary |
7 | | -- 131 nodes · 297 edges · 13 communities (10 shown, 3 thin omitted) |
| 7 | +- 25 nodes · 95 edges · 4 communities (3 shown, 1 thin omitted) |
8 | 8 | - Extraction: 100% EXTRACTED · 0% INFERRED · 0% AMBIGUOUS |
9 | 9 | - Token cost: 0 input · 0 output |
10 | 10 |
|
11 | 11 | ## Graph Freshness |
12 | | -- Built from commit: `89f884a7` |
| 12 | +- Built from commit: `b3cdaaec` |
13 | 13 | - Run `git rev-parse HEAD` and compare to check if the graph is stale. |
14 | 14 | - Run `graphify update .` after code changes (no API cost). |
15 | 15 |
|
|
18 | 18 | - [[_COMMUNITY_Community 1|Community 1]] |
19 | 19 | - [[_COMMUNITY_Community 2|Community 2]] |
20 | 20 | - [[_COMMUNITY_Community 3|Community 3]] |
21 | | -- [[_COMMUNITY_Community 4|Community 4]] |
22 | | -- [[_COMMUNITY_Community 5|Community 5]] |
23 | | -- [[_COMMUNITY_Community 6|Community 6]] |
24 | | -- [[_COMMUNITY_Community 7|Community 7]] |
25 | | -- [[_COMMUNITY_Community 8|Community 8]] |
26 | | -- [[_COMMUNITY_Community 9|Community 9]] |
27 | | -- [[_COMMUNITY_Community 10|Community 10]] |
28 | | -- [[_COMMUNITY_Community 11|Community 11]] |
29 | 21 |
|
30 | 22 | ## God Nodes (most connected - your core abstractions) |
31 | 23 | 1. `techscript_cli` - 19 edges |
32 | 24 | 2. `techscript_common` - 18 edges |
33 | 25 | 3. `techscript_syntax` - 16 edges |
34 | 26 | 4. `techscript_ast` - 15 edges |
35 | | -5. `StdlibRegistry` - 13 edges |
36 | | -6. `Parser<'a>` - 12 edges |
37 | | -7. `DiagnosticReporter` - 12 edges |
38 | | -8. `ParseResult` - 12 edges |
39 | | -9. `techscript_errors` - 12 edges |
40 | | -10. `StdlibModule` - 10 edges |
| 27 | +5. `techscript_errors` - 12 edges |
| 28 | +6. `techscript_interpreter` - 10 edges |
| 29 | +7. `techscript_ir` - 10 edges |
| 30 | +8. `techscript_semantic` - 10 edges |
| 31 | +9. `techscript_vm` - 9 edges |
| 32 | +10. `techscript_runtime` - 8 edges |
41 | 33 |
|
42 | 34 | ## Surprising Connections (you probably didn't know these) |
43 | | -- `techscript_cli` --crate_depends_on--> `techscript_native_runtime` [EXTRACTED] |
44 | | - cli/Cargo.toml → runtime/native_runtime/Cargo.toml |
45 | | -- `techscript_cli` --crate_depends_on--> `techscript_package_manager` [EXTRACTED] |
46 | | - cli/Cargo.toml → tools/package-manager/Cargo.toml |
47 | 35 | - `techscript_cli` --crate_depends_on--> `techscript_ast` [EXTRACTED] |
48 | 36 | cli/Cargo.toml → compiler/ast/Cargo.toml |
49 | 37 | - `techscript_formatter` --crate_depends_on--> `techscript_ast` [EXTRACTED] |
50 | 38 | tools/formatter/Cargo.toml → compiler/ast/Cargo.toml |
51 | 39 | - `techscript_interpreter` --crate_depends_on--> `techscript_ast` [EXTRACTED] |
52 | 40 | runtime/interpreter/Cargo.toml → compiler/ast/Cargo.toml |
| 41 | +- `techscript_linter` --crate_depends_on--> `techscript_ast` [EXTRACTED] |
| 42 | + tools/linter/Cargo.toml → compiler/ast/Cargo.toml |
| 43 | +- `techscript_lsp` --crate_depends_on--> `techscript_ast` [EXTRACTED] |
| 44 | + tools/lsp/Cargo.toml → compiler/ast/Cargo.toml |
53 | 45 |
|
54 | 46 | ## Import Cycles |
55 | | -- 1-file cycle: `compiler/bytecode/src/lib.rs -> compiler/bytecode/src/lib.rs` |
56 | | -- 1-file cycle: `runtime/interpreter/src/lib.rs -> runtime/interpreter/src/lib.rs` |
57 | | -- 1-file cycle: `stdlib/src/lib.rs -> stdlib/src/lib.rs` |
| 47 | +- None detected. |
58 | 48 |
|
59 | | -## Communities (13 total, 3 thin omitted) |
| 49 | +## Communities (4 total, 1 thin omitted) |
60 | 50 |
|
61 | 51 | ### Community 0 - "Community 0" |
62 | | -Cohesion: 0.23 |
63 | | -Nodes (15): DiagnosticReporter, Statement, ConstDecl, EnumDecl, ExportDecl, FuncDecl, Ident, ModelDecl (+7 more) |
| 52 | +Cohesion: 0.39 |
| 53 | +Nodes (9): techscript_builtins, techscript_cli, techscript_gc, techscript_interpreter, techscript_native_runtime, techscript_package_manager, techscript_runtime, techscript_stdlib (+1 more) |
64 | 54 |
|
65 | 55 | ### Community 1 - "Community 1" |
66 | | -Cohesion: 0.34 |
67 | | -Nodes (24): techscript_ast, techscript_builtins, techscript_bytecode, techscript_cli, techscript_common, techscript_errors, techscript_formatter, techscript_gc (+16 more) |
| 56 | +Cohesion: 0.61 |
| 57 | +Nodes (9): techscript_common, techscript_errors, techscript_formatter, techscript_lexer, techscript_linter, techscript_lsp, techscript_module_resolver, techscript_parser (+1 more) |
68 | 58 |
|
69 | 59 | ### Community 2 - "Community 2" |
70 | | -Cohesion: 0.16 |
71 | | -Nodes (11): BytecodeModule, CheckedProgram, Program, LoweringResult, Module, Result, RuntimeError, compile() (+3 more) |
72 | | - |
73 | | -### Community 3 - "Community 3" |
74 | | -Cohesion: 0.25 |
75 | | -Nodes (10): DiagnosticReporter, Program, Result, Statement, Vec, Diagnostic, parse(), parse_recovered() (+2 more) |
76 | | - |
77 | | -### Community 4 - "Community 4" |
78 | | -Cohesion: 0.26 |
79 | | -Nodes (4): Default, Self, StdlibRegistry, Option |
80 | | - |
81 | | -### Community 5 - "Community 5" |
82 | | -Cohesion: 0.31 |
83 | | -Nodes (8): Box, FnOnce, RuntimeContext, RuntimeValue, AsyncTask, Result, RuntimeError, Vec |
84 | | - |
85 | | -### Community 6 - "Community 6" |
86 | | -Cohesion: 0.29 |
87 | | -Nodes (6): Capability, HashMap, Rc, Scheduler, StdlibModule, VecDeque |
88 | | - |
89 | | -### Community 7 - "Community 7" |
90 | | -Cohesion: 0.25 |
91 | | -Nodes (5): Callable, MockFunction, StdFunction, StdFnCallback, String |
92 | | - |
93 | | -### Community 8 - "Community 8" |
94 | | -Cohesion: 0.40 |
95 | | -Nodes (4): Option, Commands, Cli, Commands |
| 60 | +Cohesion: 0.80 |
| 61 | +Nodes (6): techscript_ast, techscript_bytecode, techscript_ir, techscript_llvm_backend, techscript_optimizer, techscript_syntax |
96 | 62 |
|
97 | 63 | ## Knowledge Gaps |
98 | | -- **25 isolated node(s):** `Commands`, `Option`, `Commands`, `Program`, `LoweringResult` (+20 more) |
| 64 | +- **4 isolated node(s):** `techscript_gc`, `techscript_native_runtime`, `techscript_package_manager`, `techscript_packager` |
99 | 65 | These have ≤1 connection - possible missing edges or undocumented components. |
100 | | -- **3 thin communities (<3 nodes) omitted from report** — run `graphify query` to explore isolated nodes. |
| 66 | +- **1 thin communities (<3 nodes) omitted from report** — run `graphify query` to explore isolated nodes. |
101 | 67 |
|
102 | 68 | ## Suggested Questions |
103 | 69 | _Questions this graph is uniquely positioned to answer:_ |
104 | 70 |
|
105 | | -- **Why does `StdlibRegistry` connect `Community 4` to `Community 6`, `Community 7`?** |
106 | | - _High betweenness centrality (0.029) - this node is a cross-community bridge._ |
107 | | -- **Why does `StdFunction` connect `Community 7` to `Community 5`, `Community 6`?** |
108 | | - _High betweenness centrality (0.017) - this node is a cross-community bridge._ |
109 | | -- **Why does `StdlibModule` connect `Community 6` to `Community 4`, `Community 5`, `Community 7`?** |
110 | | - _High betweenness centrality (0.016) - this node is a cross-community bridge._ |
111 | | -- **What connects `Commands`, `Option`, `Commands` to the rest of the system?** |
112 | | - _25 weakly-connected nodes found - possible documentation gaps or missing edges._ |
| 71 | +- **Why does `techscript_cli` connect `Community 0` to `Community 1`, `Community 2`?** |
| 72 | + _High betweenness centrality (0.238) - this node is a cross-community bridge._ |
| 73 | +- **Why does `techscript_interpreter` connect `Community 0` to `Community 1`, `Community 2`?** |
| 74 | + _High betweenness centrality (0.122) - this node is a cross-community bridge._ |
| 75 | +- **Why does `techscript_common` connect `Community 1` to `Community 0`, `Community 2`?** |
| 76 | + _High betweenness centrality (0.112) - this node is a cross-community bridge._ |
| 77 | +- **What connects `techscript_gc`, `techscript_native_runtime`, `techscript_package_manager` to the rest of the system?** |
| 78 | + _4 weakly-connected nodes found - possible documentation gaps or missing edges._ |
0 commit comments