graphitect 0.2.0__tar.gz

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (358) hide show
  1. graphitect-0.2.0/LICENSE +21 -0
  2. graphitect-0.2.0/LICENSE-ARCHIFY-MIT +22 -0
  3. graphitect-0.2.0/LICENSE-GRAPHIFY-APACHE-2.0 +202 -0
  4. graphitect-0.2.0/LICENSE-GRAPHIFY-MIT +21 -0
  5. graphitect-0.2.0/MANIFEST.in +4 -0
  6. graphitect-0.2.0/NOTICE-ARCHIFY-THIRD-PARTY.md +69 -0
  7. graphitect-0.2.0/NOTICE-GRAPHIFY +8 -0
  8. graphitect-0.2.0/PKG-INFO +284 -0
  9. graphitect-0.2.0/README.md +232 -0
  10. graphitect-0.2.0/graphify/__init__.py +30 -0
  11. graphitect-0.2.0/graphify/__main__.py +757 -0
  12. graphitect-0.2.0/graphify/_minhash.py +107 -0
  13. graphitect-0.2.0/graphify/affected.py +318 -0
  14. graphitect-0.2.0/graphify/always_on/agents-md.md +12 -0
  15. graphitect-0.2.0/graphify/always_on/antigravity-rules.md +14 -0
  16. graphitect-0.2.0/graphify/always_on/claude-md.md +9 -0
  17. graphitect-0.2.0/graphify/always_on/gemini-md.md +9 -0
  18. graphitect-0.2.0/graphify/always_on/kiro-steering.md +5 -0
  19. graphitect-0.2.0/graphify/always_on/vscode-instructions.md +17 -0
  20. graphitect-0.2.0/graphify/analyze.py +769 -0
  21. graphitect-0.2.0/graphify/benchmark.py +152 -0
  22. graphitect-0.2.0/graphify/build.py +2300 -0
  23. graphitect-0.2.0/graphify/cache.py +1746 -0
  24. graphitect-0.2.0/graphify/callflow_html.py +2051 -0
  25. graphitect-0.2.0/graphify/cargo_introspect.py +109 -0
  26. graphitect-0.2.0/graphify/cli.py +4745 -0
  27. graphitect-0.2.0/graphify/cluster.py +409 -0
  28. graphitect-0.2.0/graphify/command-kilo.md +15 -0
  29. graphitect-0.2.0/graphify/cross_repo_calls.py +216 -0
  30. graphitect-0.2.0/graphify/cross_repo_types.py +75 -0
  31. graphitect-0.2.0/graphify/csharp_dispatch.py +154 -0
  32. graphitect-0.2.0/graphify/dedup.py +1213 -0
  33. graphitect-0.2.0/graphify/detect.py +2566 -0
  34. graphitect-0.2.0/graphify/diagnostics.py +406 -0
  35. graphitect-0.2.0/graphify/export.py +1349 -0
  36. graphitect-0.2.0/graphify/exporters/__init__.py +1 -0
  37. graphitect-0.2.0/graphify/exporters/base.py +14 -0
  38. graphitect-0.2.0/graphify/exporters/graphdb.py +173 -0
  39. graphitect-0.2.0/graphify/exporters/html.py +637 -0
  40. graphitect-0.2.0/graphify/extract.py +7856 -0
  41. graphitect-0.2.0/graphify/extractors/MIGRATION.md +107 -0
  42. graphitect-0.2.0/graphify/extractors/__init__.py +66 -0
  43. graphitect-0.2.0/graphify/extractors/apex.py +215 -0
  44. graphitect-0.2.0/graphify/extractors/base.py +85 -0
  45. graphitect-0.2.0/graphify/extractors/bash.py +579 -0
  46. graphitect-0.2.0/graphify/extractors/blade.py +53 -0
  47. graphitect-0.2.0/graphify/extractors/commonlisp.py +540 -0
  48. graphitect-0.2.0/graphify/extractors/csharp.py +448 -0
  49. graphitect-0.2.0/graphify/extractors/dart.py +564 -0
  50. graphitect-0.2.0/graphify/extractors/dm.py +494 -0
  51. graphitect-0.2.0/graphify/extractors/elixir.py +241 -0
  52. graphitect-0.2.0/graphify/extractors/engine.py +6509 -0
  53. graphitect-0.2.0/graphify/extractors/fortran.py +311 -0
  54. graphitect-0.2.0/graphify/extractors/go.py +527 -0
  55. graphitect-0.2.0/graphify/extractors/json_config.py +240 -0
  56. graphitect-0.2.0/graphify/extractors/julia.py +289 -0
  57. graphitect-0.2.0/graphify/extractors/markdown.py +408 -0
  58. graphitect-0.2.0/graphify/extractors/models.py +131 -0
  59. graphitect-0.2.0/graphify/extractors/objc.py +566 -0
  60. graphitect-0.2.0/graphify/extractors/ocaml.py +289 -0
  61. graphitect-0.2.0/graphify/extractors/pascal.py +688 -0
  62. graphitect-0.2.0/graphify/extractors/pascal_forms.py +196 -0
  63. graphitect-0.2.0/graphify/extractors/powershell.py +522 -0
  64. graphitect-0.2.0/graphify/extractors/razor.py +192 -0
  65. graphitect-0.2.0/graphify/extractors/resolution.py +3584 -0
  66. graphitect-0.2.0/graphify/extractors/robot.py +296 -0
  67. graphitect-0.2.0/graphify/extractors/rust.py +470 -0
  68. graphitect-0.2.0/graphify/extractors/sln.py +92 -0
  69. graphitect-0.2.0/graphify/extractors/sql.py +720 -0
  70. graphitect-0.2.0/graphify/extractors/terraform.py +181 -0
  71. graphitect-0.2.0/graphify/extractors/verilog.py +329 -0
  72. graphitect-0.2.0/graphify/extractors/zig.py +181 -0
  73. graphitect-0.2.0/graphify/file_slice.py +246 -0
  74. graphitect-0.2.0/graphify/global_graph.py +194 -0
  75. graphitect-0.2.0/graphify/google_workspace.py +237 -0
  76. graphitect-0.2.0/graphify/hooks.py +933 -0
  77. graphitect-0.2.0/graphify/ids.py +93 -0
  78. graphitect-0.2.0/graphify/ingest.py +358 -0
  79. graphitect-0.2.0/graphify/install.py +2366 -0
  80. graphitect-0.2.0/graphify/llm.py +3544 -0
  81. graphitect-0.2.0/graphify/manifest.py +4 -0
  82. graphitect-0.2.0/graphify/manifest_ingest.py +311 -0
  83. graphitect-0.2.0/graphify/mcp_ingest.py +386 -0
  84. graphitect-0.2.0/graphify/multigraph_compat.py +212 -0
  85. graphitect-0.2.0/graphify/pascal_resolution.py +129 -0
  86. graphitect-0.2.0/graphify/paths.py +436 -0
  87. graphitect-0.2.0/graphify/pg_introspect.py +165 -0
  88. graphitect-0.2.0/graphify/prs.py +770 -0
  89. graphitect-0.2.0/graphify/querylog.py +80 -0
  90. graphitect-0.2.0/graphify/reflect.py +882 -0
  91. graphitect-0.2.0/graphify/report.py +346 -0
  92. graphitect-0.2.0/graphify/resolver_registry.py +85 -0
  93. graphitect-0.2.0/graphify/ruby_resolution.py +242 -0
  94. graphitect-0.2.0/graphify/scip_ingest.py +363 -0
  95. graphitect-0.2.0/graphify/security.py +460 -0
  96. graphitect-0.2.0/graphify/semantic_cleanup.py +336 -0
  97. graphitect-0.2.0/graphify/serve.py +2608 -0
  98. graphitect-0.2.0/graphify/skill-agents.md +710 -0
  99. graphitect-0.2.0/graphify/skill-aider.md +1283 -0
  100. graphitect-0.2.0/graphify/skill-amp.md +710 -0
  101. graphitect-0.2.0/graphify/skill-claw.md +713 -0
  102. graphitect-0.2.0/graphify/skill-codex.md +710 -0
  103. graphitect-0.2.0/graphify/skill-copilot.md +713 -0
  104. graphitect-0.2.0/graphify/skill-devin.md +1410 -0
  105. graphitect-0.2.0/graphify/skill-droid.md +710 -0
  106. graphitect-0.2.0/graphify/skill-kilo.md +722 -0
  107. graphitect-0.2.0/graphify/skill-kiro.md +713 -0
  108. graphitect-0.2.0/graphify/skill-opencode.md +705 -0
  109. graphitect-0.2.0/graphify/skill-pi.md +713 -0
  110. graphitect-0.2.0/graphify/skill-trae.md +711 -0
  111. graphitect-0.2.0/graphify/skill-vscode.md +709 -0
  112. graphitect-0.2.0/graphify/skill-windows.md +755 -0
  113. graphitect-0.2.0/graphify/skill.md +713 -0
  114. graphitect-0.2.0/graphify/skills/agents/references/add-watch.md +56 -0
  115. graphitect-0.2.0/graphify/skills/agents/references/exports.md +87 -0
  116. graphitect-0.2.0/graphify/skills/agents/references/extraction-spec.md +70 -0
  117. graphitect-0.2.0/graphify/skills/agents/references/github-and-merge.md +46 -0
  118. graphitect-0.2.0/graphify/skills/agents/references/hooks.md +33 -0
  119. graphitect-0.2.0/graphify/skills/agents/references/query.md +311 -0
  120. graphitect-0.2.0/graphify/skills/agents/references/transcribe.md +52 -0
  121. graphitect-0.2.0/graphify/skills/agents/references/update.md +210 -0
  122. graphitect-0.2.0/graphify/skills/amp/references/add-watch.md +56 -0
  123. graphitect-0.2.0/graphify/skills/amp/references/exports.md +87 -0
  124. graphitect-0.2.0/graphify/skills/amp/references/extraction-spec.md +70 -0
  125. graphitect-0.2.0/graphify/skills/amp/references/github-and-merge.md +46 -0
  126. graphitect-0.2.0/graphify/skills/amp/references/hooks.md +33 -0
  127. graphitect-0.2.0/graphify/skills/amp/references/query.md +311 -0
  128. graphitect-0.2.0/graphify/skills/amp/references/transcribe.md +52 -0
  129. graphitect-0.2.0/graphify/skills/amp/references/update.md +210 -0
  130. graphitect-0.2.0/graphify/skills/claude/references/add-watch.md +56 -0
  131. graphitect-0.2.0/graphify/skills/claude/references/exports.md +87 -0
  132. graphitect-0.2.0/graphify/skills/claude/references/extraction-spec.md +70 -0
  133. graphitect-0.2.0/graphify/skills/claude/references/github-and-merge.md +46 -0
  134. graphitect-0.2.0/graphify/skills/claude/references/hooks.md +33 -0
  135. graphitect-0.2.0/graphify/skills/claude/references/query.md +311 -0
  136. graphitect-0.2.0/graphify/skills/claude/references/transcribe.md +52 -0
  137. graphitect-0.2.0/graphify/skills/claude/references/update.md +210 -0
  138. graphitect-0.2.0/graphify/skills/claw/references/add-watch.md +56 -0
  139. graphitect-0.2.0/graphify/skills/claw/references/exports.md +87 -0
  140. graphitect-0.2.0/graphify/skills/claw/references/extraction-spec.md +31 -0
  141. graphitect-0.2.0/graphify/skills/claw/references/github-and-merge.md +46 -0
  142. graphitect-0.2.0/graphify/skills/claw/references/hooks.md +33 -0
  143. graphitect-0.2.0/graphify/skills/claw/references/query.md +311 -0
  144. graphitect-0.2.0/graphify/skills/claw/references/transcribe.md +52 -0
  145. graphitect-0.2.0/graphify/skills/claw/references/update.md +210 -0
  146. graphitect-0.2.0/graphify/skills/codex/references/add-watch.md +56 -0
  147. graphitect-0.2.0/graphify/skills/codex/references/exports.md +87 -0
  148. graphitect-0.2.0/graphify/skills/codex/references/extraction-spec.md +31 -0
  149. graphitect-0.2.0/graphify/skills/codex/references/github-and-merge.md +46 -0
  150. graphitect-0.2.0/graphify/skills/codex/references/hooks.md +33 -0
  151. graphitect-0.2.0/graphify/skills/codex/references/query.md +311 -0
  152. graphitect-0.2.0/graphify/skills/codex/references/transcribe.md +52 -0
  153. graphitect-0.2.0/graphify/skills/codex/references/update.md +210 -0
  154. graphitect-0.2.0/graphify/skills/copilot/references/add-watch.md +56 -0
  155. graphitect-0.2.0/graphify/skills/copilot/references/exports.md +87 -0
  156. graphitect-0.2.0/graphify/skills/copilot/references/extraction-spec.md +70 -0
  157. graphitect-0.2.0/graphify/skills/copilot/references/github-and-merge.md +46 -0
  158. graphitect-0.2.0/graphify/skills/copilot/references/hooks.md +33 -0
  159. graphitect-0.2.0/graphify/skills/copilot/references/query.md +311 -0
  160. graphitect-0.2.0/graphify/skills/copilot/references/transcribe.md +52 -0
  161. graphitect-0.2.0/graphify/skills/copilot/references/update.md +210 -0
  162. graphitect-0.2.0/graphify/skills/droid/references/add-watch.md +56 -0
  163. graphitect-0.2.0/graphify/skills/droid/references/exports.md +87 -0
  164. graphitect-0.2.0/graphify/skills/droid/references/extraction-spec.md +70 -0
  165. graphitect-0.2.0/graphify/skills/droid/references/github-and-merge.md +46 -0
  166. graphitect-0.2.0/graphify/skills/droid/references/hooks.md +33 -0
  167. graphitect-0.2.0/graphify/skills/droid/references/query.md +311 -0
  168. graphitect-0.2.0/graphify/skills/droid/references/transcribe.md +52 -0
  169. graphitect-0.2.0/graphify/skills/droid/references/update.md +210 -0
  170. graphitect-0.2.0/graphify/skills/kilo/references/add-watch.md +56 -0
  171. graphitect-0.2.0/graphify/skills/kilo/references/exports.md +87 -0
  172. graphitect-0.2.0/graphify/skills/kilo/references/extraction-spec.md +70 -0
  173. graphitect-0.2.0/graphify/skills/kilo/references/github-and-merge.md +46 -0
  174. graphitect-0.2.0/graphify/skills/kilo/references/hooks.md +33 -0
  175. graphitect-0.2.0/graphify/skills/kilo/references/query.md +311 -0
  176. graphitect-0.2.0/graphify/skills/kilo/references/transcribe.md +52 -0
  177. graphitect-0.2.0/graphify/skills/kilo/references/update.md +210 -0
  178. graphitect-0.2.0/graphify/skills/kiro/references/add-watch.md +56 -0
  179. graphitect-0.2.0/graphify/skills/kiro/references/exports.md +87 -0
  180. graphitect-0.2.0/graphify/skills/kiro/references/extraction-spec.md +31 -0
  181. graphitect-0.2.0/graphify/skills/kiro/references/github-and-merge.md +46 -0
  182. graphitect-0.2.0/graphify/skills/kiro/references/hooks.md +33 -0
  183. graphitect-0.2.0/graphify/skills/kiro/references/query.md +311 -0
  184. graphitect-0.2.0/graphify/skills/kiro/references/transcribe.md +52 -0
  185. graphitect-0.2.0/graphify/skills/kiro/references/update.md +210 -0
  186. graphitect-0.2.0/graphify/skills/opencode/references/add-watch.md +56 -0
  187. graphitect-0.2.0/graphify/skills/opencode/references/exports.md +87 -0
  188. graphitect-0.2.0/graphify/skills/opencode/references/extraction-spec.md +70 -0
  189. graphitect-0.2.0/graphify/skills/opencode/references/github-and-merge.md +46 -0
  190. graphitect-0.2.0/graphify/skills/opencode/references/hooks.md +33 -0
  191. graphitect-0.2.0/graphify/skills/opencode/references/query.md +311 -0
  192. graphitect-0.2.0/graphify/skills/opencode/references/transcribe.md +52 -0
  193. graphitect-0.2.0/graphify/skills/opencode/references/update.md +210 -0
  194. graphitect-0.2.0/graphify/skills/pi/references/add-watch.md +56 -0
  195. graphitect-0.2.0/graphify/skills/pi/references/exports.md +87 -0
  196. graphitect-0.2.0/graphify/skills/pi/references/extraction-spec.md +31 -0
  197. graphitect-0.2.0/graphify/skills/pi/references/github-and-merge.md +46 -0
  198. graphitect-0.2.0/graphify/skills/pi/references/hooks.md +33 -0
  199. graphitect-0.2.0/graphify/skills/pi/references/query.md +311 -0
  200. graphitect-0.2.0/graphify/skills/pi/references/transcribe.md +52 -0
  201. graphitect-0.2.0/graphify/skills/pi/references/update.md +210 -0
  202. graphitect-0.2.0/graphify/skills/trae/references/add-watch.md +56 -0
  203. graphitect-0.2.0/graphify/skills/trae/references/exports.md +87 -0
  204. graphitect-0.2.0/graphify/skills/trae/references/extraction-spec.md +70 -0
  205. graphitect-0.2.0/graphify/skills/trae/references/github-and-merge.md +46 -0
  206. graphitect-0.2.0/graphify/skills/trae/references/hooks.md +35 -0
  207. graphitect-0.2.0/graphify/skills/trae/references/query.md +311 -0
  208. graphitect-0.2.0/graphify/skills/trae/references/transcribe.md +52 -0
  209. graphitect-0.2.0/graphify/skills/trae/references/update.md +210 -0
  210. graphitect-0.2.0/graphify/skills/vscode/references/add-watch.md +56 -0
  211. graphitect-0.2.0/graphify/skills/vscode/references/exports.md +87 -0
  212. graphitect-0.2.0/graphify/skills/vscode/references/extraction-spec.md +70 -0
  213. graphitect-0.2.0/graphify/skills/vscode/references/github-and-merge.md +46 -0
  214. graphitect-0.2.0/graphify/skills/vscode/references/hooks.md +33 -0
  215. graphitect-0.2.0/graphify/skills/vscode/references/query.md +311 -0
  216. graphitect-0.2.0/graphify/skills/vscode/references/transcribe.md +52 -0
  217. graphitect-0.2.0/graphify/skills/vscode/references/update.md +210 -0
  218. graphitect-0.2.0/graphify/skills/windows/references/add-watch.md +56 -0
  219. graphitect-0.2.0/graphify/skills/windows/references/exports.md +87 -0
  220. graphitect-0.2.0/graphify/skills/windows/references/extraction-spec.md +70 -0
  221. graphitect-0.2.0/graphify/skills/windows/references/github-and-merge.md +46 -0
  222. graphitect-0.2.0/graphify/skills/windows/references/hooks.md +33 -0
  223. graphitect-0.2.0/graphify/skills/windows/references/query.md +311 -0
  224. graphitect-0.2.0/graphify/skills/windows/references/transcribe.md +52 -0
  225. graphitect-0.2.0/graphify/skills/windows/references/update.md +210 -0
  226. graphitect-0.2.0/graphify/symbol_resolution.py +556 -0
  227. graphitect-0.2.0/graphify/transcribe.py +186 -0
  228. graphitect-0.2.0/graphify/tree_html.py +603 -0
  229. graphitect-0.2.0/graphify/validate.py +95 -0
  230. graphitect-0.2.0/graphify/watch.py +2280 -0
  231. graphitect-0.2.0/graphify/wiki.py +405 -0
  232. graphitect-0.2.0/graphitect/__init__.py +28 -0
  233. graphitect-0.2.0/graphitect/__main__.py +4 -0
  234. graphitect-0.2.0/graphitect/_vendor/__init__.py +2 -0
  235. graphitect-0.2.0/graphitect/_vendor/archify/LICENSE +22 -0
  236. graphitect-0.2.0/graphitect/_vendor/archify/SKILL.md +137 -0
  237. graphitect-0.2.0/graphitect/_vendor/archify/THIRD_PARTY_NOTICES.md +69 -0
  238. graphitect-0.2.0/graphitect/_vendor/archify/assets/JetBrainsMono-OFL.txt +93 -0
  239. graphitect-0.2.0/graphitect/_vendor/archify/assets/template.html +14935 -0
  240. graphitect-0.2.0/graphitect/_vendor/archify/bin/archify.mjs +2091 -0
  241. graphitect-0.2.0/graphitect/_vendor/archify/bin/open-artifact.mjs +86 -0
  242. graphitect-0.2.0/graphitect/_vendor/archify/bin/preview.mjs +653 -0
  243. graphitect-0.2.0/graphitect/_vendor/archify/bin/visual-check.mjs +829 -0
  244. graphitect-0.2.0/graphitect/_vendor/archify/brand-marks/README.md +31 -0
  245. graphitect-0.2.0/graphitect/_vendor/archify/brand-marks/catalog.json +131 -0
  246. graphitect-0.2.0/graphitect/_vendor/archify/delta/architecture-delta.mjs +1221 -0
  247. graphitect-0.2.0/graphitect/_vendor/archify/examples/agent-run.lifecycle.json +60 -0
  248. graphitect-0.2.0/graphitect/_vendor/archify/examples/agent-tool-call.workflow.json +94 -0
  249. graphitect-0.2.0/graphitect/_vendor/archify/examples/async-job-roundtrip.sequence.json +61 -0
  250. graphitect-0.2.0/graphitect/_vendor/archify/examples/brand-aware-delivery.architecture.json +47 -0
  251. graphitect-0.2.0/graphitect/_vendor/archify/examples/cache-miss-request.sequence.json +82 -0
  252. graphitect-0.2.0/graphitect/_vendor/archify/examples/checkout-platform.base.architecture.json +31 -0
  253. graphitect-0.2.0/graphitect/_vendor/archify/examples/checkout-platform.head.architecture.json +31 -0
  254. graphitect-0.2.0/graphitect/_vendor/archify/examples/dataflow-product-analytics.html +15045 -0
  255. graphitect-0.2.0/graphitect/_vendor/archify/examples/deployment-release.lifecycle.json +49 -0
  256. graphitect-0.2.0/graphitect/_vendor/archify/examples/event-stream.dataflow.json +57 -0
  257. graphitect-0.2.0/graphitect/_vendor/archify/examples/incident-response.workflow.json +64 -0
  258. graphitect-0.2.0/graphitect/_vendor/archify/examples/lifecycle-agent-run.html +14980 -0
  259. graphitect-0.2.0/graphitect/_vendor/archify/examples/product-analytics.dataflow.json +76 -0
  260. graphitect-0.2.0/graphitect/_vendor/archify/examples/production-deployment.architecture.json +71 -0
  261. graphitect-0.2.0/graphitect/_vendor/archify/examples/release-delivery.workflow.json +62 -0
  262. graphitect-0.2.0/graphitect/_vendor/archify/examples/sequence-cache-miss-request.html +15060 -0
  263. graphitect-0.2.0/graphitect/_vendor/archify/examples/web-app-rendered.html +15009 -0
  264. graphitect-0.2.0/graphitect/_vendor/archify/examples/web-app.architecture.json +46 -0
  265. graphitect-0.2.0/graphitect/_vendor/archify/examples/workflow-agent-tool-call-rendered.html +15051 -0
  266. graphitect-0.2.0/graphitect/_vendor/archify/migrations/workflow-v2.mjs +279 -0
  267. graphitect-0.2.0/graphitect/_vendor/archify/package-lock.json +149 -0
  268. graphitect-0.2.0/graphitect/_vendor/archify/package.json +39 -0
  269. graphitect-0.2.0/graphitect/_vendor/archify/recipes/scenarios.mjs +391 -0
  270. graphitect-0.2.0/graphitect/_vendor/archify/references/authoring-contract.md +243 -0
  271. graphitect-0.2.0/graphitect/_vendor/archify/references/brand-marks.md +65 -0
  272. graphitect-0.2.0/graphitect/_vendor/archify/references/delivery-contract.md +120 -0
  273. graphitect-0.2.0/graphitect/_vendor/archify/references/viewer-runtime.md +45 -0
  274. graphitect-0.2.0/graphitect/_vendor/archify/renderers/architecture/grid.mjs +62 -0
  275. graphitect-0.2.0/graphitect/_vendor/archify/renderers/architecture/render-architecture.mjs +1078 -0
  276. graphitect-0.2.0/graphitect/_vendor/archify/renderers/dataflow/README.md +104 -0
  277. graphitect-0.2.0/graphitect/_vendor/archify/renderers/dataflow/render-dataflow.mjs +483 -0
  278. graphitect-0.2.0/graphitect/_vendor/archify/renderers/lifecycle/README.md +115 -0
  279. graphitect-0.2.0/graphitect/_vendor/archify/renderers/lifecycle/render-lifecycle.mjs +561 -0
  280. graphitect-0.2.0/graphitect/_vendor/archify/renderers/sequence/README.md +114 -0
  281. graphitect-0.2.0/graphitect/_vendor/archify/renderers/sequence/render-sequence.mjs +464 -0
  282. graphitect-0.2.0/graphitect/_vendor/archify/renderers/shared/brand-marks.mjs +563 -0
  283. graphitect-0.2.0/graphitect/_vendor/archify/renderers/shared/cli.mjs +218 -0
  284. graphitect-0.2.0/graphitect/_vendor/archify/renderers/shared/desktop-readability.mjs +26 -0
  285. graphitect-0.2.0/graphitect/_vendor/archify/renderers/shared/diagnostics.mjs +127 -0
  286. graphitect-0.2.0/graphitect/_vendor/archify/renderers/shared/engineering-profiles.mjs +157 -0
  287. graphitect-0.2.0/graphitect/_vendor/archify/renderers/shared/generated-brand-marks.mjs +2003 -0
  288. graphitect-0.2.0/graphitect/_vendor/archify/renderers/shared/generated-validators.mjs +13 -0
  289. graphitect-0.2.0/graphitect/_vendor/archify/renderers/shared/geometry.mjs +1423 -0
  290. graphitect-0.2.0/graphitect/_vendor/archify/renderers/shared/i18n.mjs +595 -0
  291. graphitect-0.2.0/graphitect/_vendor/archify/renderers/shared/layout-report.mjs +40 -0
  292. graphitect-0.2.0/graphitect/_vendor/archify/renderers/shared/legend.mjs +217 -0
  293. graphitect-0.2.0/graphitect/_vendor/archify/renderers/shared/output-path.mjs +340 -0
  294. graphitect-0.2.0/graphitect/_vendor/archify/renderers/shared/repository-evidence.mjs +238 -0
  295. graphitect-0.2.0/graphitect/_vendor/archify/renderers/shared/repository-location.mjs +58 -0
  296. graphitect-0.2.0/graphitect/_vendor/archify/renderers/shared/text-fit.mjs +49 -0
  297. graphitect-0.2.0/graphitect/_vendor/archify/renderers/shared/utils.mjs +232 -0
  298. graphitect-0.2.0/graphitect/_vendor/archify/renderers/shared/validator.mjs +86 -0
  299. graphitect-0.2.0/graphitect/_vendor/archify/renderers/workflow/README.md +223 -0
  300. graphitect-0.2.0/graphitect/_vendor/archify/renderers/workflow/render-workflow.mjs +35 -0
  301. graphitect-0.2.0/graphitect/_vendor/archify/renderers/workflow/workflow-compiler.mjs +4400 -0
  302. graphitect-0.2.0/graphitect/_vendor/archify/renderers/workflow/workflow-migration-geometry.mjs +144 -0
  303. graphitect-0.2.0/graphitect/_vendor/archify/schemas/README.md +211 -0
  304. graphitect-0.2.0/graphitect/_vendor/archify/schemas/architecture.schema.json +178 -0
  305. graphitect-0.2.0/graphitect/_vendor/archify/schemas/common.schema.json +115 -0
  306. graphitect-0.2.0/graphitect/_vendor/archify/schemas/dataflow.schema.json +243 -0
  307. graphitect-0.2.0/graphitect/_vendor/archify/schemas/lifecycle.schema.json +266 -0
  308. graphitect-0.2.0/graphitect/_vendor/archify/schemas/sequence.schema.json +223 -0
  309. graphitect-0.2.0/graphitect/_vendor/archify/schemas/workflow.schema.json +428 -0
  310. graphitect-0.2.0/graphitect/_vendor/archify/scripts/check-render-output.mjs +836 -0
  311. graphitect-0.2.0/graphitect/_vendor/archify/scripts/check-update.mjs +1667 -0
  312. graphitect-0.2.0/graphitect/_vendor/archify/scripts/generate-brand-marks.mjs +141 -0
  313. graphitect-0.2.0/graphitect/_vendor/archify/scripts/generate-validators.mjs +66 -0
  314. graphitect-0.2.0/graphitect/_vendor/archify/scripts/render-examples.mjs +26 -0
  315. graphitect-0.2.0/graphitect/_vendor/archify/scripts/update-contract.mjs +182 -0
  316. graphitect-0.2.0/graphitect/_vendor/archify/skill-release.json +10 -0
  317. graphitect-0.2.0/graphitect/cli.py +981 -0
  318. graphitect-0.2.0/graphitect/deliver/__init__.py +5 -0
  319. graphitect-0.2.0/graphitect/deliver/archify_adapter.py +1877 -0
  320. graphitect-0.2.0/graphitect/deliver/archify_ir.py +160 -0
  321. graphitect-0.2.0/graphitect/deliver/archify_repair.py +135 -0
  322. graphitect-0.2.0/graphitect/deliver/doc_compiler.py +916 -0
  323. graphitect-0.2.0/graphitect/ground/__init__.py +5 -0
  324. graphitect-0.2.0/graphitect/ground/describe_source.py +27 -0
  325. graphitect-0.2.0/graphitect/ground/fullread_source.py +56 -0
  326. graphitect-0.2.0/graphitect/ground/graphify_source.py +107 -0
  327. graphitect-0.2.0/graphitect/models.py +118 -0
  328. graphitect-0.2.0/graphitect/skill/SKILL.md +80 -0
  329. graphitect-0.2.0/graphitect/skill/agents/openai.yaml +4 -0
  330. graphitect-0.2.0/graphitect/synthesize/__init__.py +5 -0
  331. graphitect-0.2.0/graphitect/synthesize/engine.py +281 -0
  332. graphitect-0.2.0/graphitect/synthesize/llm_backend.py +331 -0
  333. graphitect-0.2.0/graphitect/synthesize/questions.py +139 -0
  334. graphitect-0.2.0/graphitect/synthesize/rubric.py +104 -0
  335. graphitect-0.2.0/graphitect.egg-info/PKG-INFO +284 -0
  336. graphitect-0.2.0/graphitect.egg-info/SOURCES.txt +356 -0
  337. graphitect-0.2.0/graphitect.egg-info/dependency_links.txt +1 -0
  338. graphitect-0.2.0/graphitect.egg-info/entry_points.txt +2 -0
  339. graphitect-0.2.0/graphitect.egg-info/requires.txt +37 -0
  340. graphitect-0.2.0/graphitect.egg-info/top_level.txt +2 -0
  341. graphitect-0.2.0/licenses/archify/LICENSE +22 -0
  342. graphitect-0.2.0/licenses/archify/THIRD_PARTY_NOTICES.md +69 -0
  343. graphitect-0.2.0/licenses/graphify/LICENSE +202 -0
  344. graphitect-0.2.0/licenses/graphify/LICENSE-MIT +21 -0
  345. graphitect-0.2.0/licenses/graphify/NOTICE +8 -0
  346. graphitect-0.2.0/pyproject.toml +91 -0
  347. graphitect-0.2.0/setup.cfg +4 -0
  348. graphitect-0.2.0/tests/test_archify_adapter.py +1222 -0
  349. graphitect-0.2.0/tests/test_archify_repair.py +206 -0
  350. graphitect-0.2.0/tests/test_cli.py +599 -0
  351. graphitect-0.2.0/tests/test_doc_compiler.py +435 -0
  352. graphitect-0.2.0/tests/test_engine.py +510 -0
  353. graphitect-0.2.0/tests/test_graphify_source.py +122 -0
  354. graphitect-0.2.0/tests/test_models.py +81 -0
  355. graphitect-0.2.0/tests/test_questions.py +86 -0
  356. graphitect-0.2.0/tests/test_rubric.py +56 -0
  357. graphitect-0.2.0/tests/test_skill_export.py +53 -0
  358. graphitect-0.2.0/tests/test_zz_guard_check.py +34 -0
@@ -0,0 +1,21 @@
1
+ MIT License
2
+
3
+ Copyright (c) 2026 Naman Manocha
4
+
5
+ Permission is hereby granted, free of charge, to any person obtaining a copy
6
+ of this software and associated documentation files (the "Software"), to deal
7
+ in the Software without restriction, including without limitation the rights
8
+ to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
9
+ copies of the Software, and to permit persons to whom the Software is
10
+ furnished to do so, subject to the following conditions:
11
+
12
+ The above copyright notice and this permission notice shall be included in all
13
+ copies or substantial portions of the Software.
14
+
15
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
16
+ IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
17
+ FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
18
+ AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
19
+ LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
20
+ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
21
+ SOFTWARE.
@@ -0,0 +1,22 @@
1
+ MIT License
2
+
3
+ Copyright (c) 2026 tt-a1i (Archify)
4
+ Copyright (c) 2025 Cocoon AI
5
+
6
+ Permission is hereby granted, free of charge, to any person obtaining a copy
7
+ of this software and associated documentation files (the "Software"), to deal
8
+ in the Software without restriction, including without limitation the rights
9
+ to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
10
+ copies of the Software, and to permit persons to whom the Software is
11
+ furnished to do so, subject to the following conditions:
12
+
13
+ The above copyright notice and this permission notice shall be included in all
14
+ copies or substantial portions of the Software.
15
+
16
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
17
+ IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
18
+ FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
19
+ AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
20
+ LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
21
+ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
22
+ SOFTWARE.
@@ -0,0 +1,202 @@
1
+
2
+ Apache License
3
+ Version 2.0, January 2004
4
+ http://www.apache.org/licenses/
5
+
6
+ TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION
7
+
8
+ 1. Definitions.
9
+
10
+ "License" shall mean the terms and conditions for use, reproduction,
11
+ and distribution as defined by Sections 1 through 9 of this document.
12
+
13
+ "Licensor" shall mean the copyright owner or entity authorized by
14
+ the copyright owner that is granting the License.
15
+
16
+ "Legal Entity" shall mean the union of the acting entity and all
17
+ other entities that control, are controlled by, or are under common
18
+ control with that entity. For the purposes of this definition,
19
+ "control" means (i) the power, direct or indirect, to cause the
20
+ direction or management of such entity, whether by contract or
21
+ otherwise, or (ii) ownership of fifty percent (50%) or more of the
22
+ outstanding shares, or (iii) beneficial ownership of such entity.
23
+
24
+ "You" (or "Your") shall mean an individual or Legal Entity
25
+ exercising permissions granted by this License.
26
+
27
+ "Source" form shall mean the preferred form for making modifications,
28
+ including but not limited to software source code, documentation
29
+ source, and configuration files.
30
+
31
+ "Object" form shall mean any form resulting from mechanical
32
+ transformation or translation of a Source form, including but
33
+ not limited to compiled object code, generated documentation,
34
+ and conversions to other media types.
35
+
36
+ "Work" shall mean the work of authorship, whether in Source or
37
+ Object form, made available under the License, as indicated by a
38
+ copyright notice that is included in or attached to the work
39
+ (an example is provided in the Appendix below).
40
+
41
+ "Derivative Works" shall mean any work, whether in Source or Object
42
+ form, that is based on (or derived from) the Work and for which the
43
+ editorial revisions, annotations, elaborations, or other modifications
44
+ represent, as a whole, an original work of authorship. For the purposes
45
+ of this License, Derivative Works shall not include works that remain
46
+ separable from, or merely link (or bind by name) to the interfaces of,
47
+ the Work and Derivative Works thereof.
48
+
49
+ "Contribution" shall mean any work of authorship, including
50
+ the original version of the Work and any modifications or additions
51
+ to that Work or Derivative Works thereof, that is intentionally
52
+ submitted to Licensor for inclusion in the Work by the copyright owner
53
+ or by an individual or Legal Entity authorized to submit on behalf of
54
+ the copyright owner. For the purposes of this definition, "submitted"
55
+ means any form of electronic, verbal, or written communication sent
56
+ to the Licensor or its representatives, including but not limited to
57
+ communication on electronic mailing lists, source code control systems,
58
+ and issue tracking systems that are managed by, or on behalf of, the
59
+ Licensor for the purpose of discussing and improving the Work, but
60
+ excluding communication that is conspicuously marked or otherwise
61
+ designated in writing by the copyright owner as "Not a Contribution."
62
+
63
+ "Contributor" shall mean Licensor and any individual or Legal Entity
64
+ on behalf of whom a Contribution has been received by Licensor and
65
+ subsequently incorporated within the Work.
66
+
67
+ 2. Grant of Copyright License. Subject to the terms and conditions of
68
+ this License, each Contributor hereby grants to You a perpetual,
69
+ worldwide, non-exclusive, no-charge, royalty-free, irrevocable
70
+ copyright license to reproduce, prepare Derivative Works of,
71
+ publicly display, publicly perform, sublicense, and distribute the
72
+ Work and such Derivative Works in Source or Object form.
73
+
74
+ 3. Grant of Patent License. Subject to the terms and conditions of
75
+ this License, each Contributor hereby grants to You a perpetual,
76
+ worldwide, non-exclusive, no-charge, royalty-free, irrevocable
77
+ (except as stated in this section) patent license to make, have made,
78
+ use, offer to sell, sell, import, and otherwise transfer the Work,
79
+ where such license applies only to those patent claims licensable
80
+ by such Contributor that are necessarily infringed by their
81
+ Contribution(s) alone or by combination of their Contribution(s)
82
+ with the Work to which such Contribution(s) was submitted. If You
83
+ institute patent litigation against any entity (including a
84
+ cross-claim or counterclaim in a lawsuit) alleging that the Work
85
+ or a Contribution incorporated within the Work constitutes direct
86
+ or contributory patent infringement, then any patent licenses
87
+ granted to You under this License for that Work shall terminate
88
+ as of the date such litigation is filed.
89
+
90
+ 4. Redistribution. You may reproduce and distribute copies of the
91
+ Work or Derivative Works thereof in any medium, with or without
92
+ modifications, and in Source or Object form, provided that You
93
+ meet the following conditions:
94
+
95
+ (a) You must give any other recipients of the Work or
96
+ Derivative Works a copy of this License; and
97
+
98
+ (b) You must cause any modified files to carry prominent notices
99
+ stating that You changed the files; and
100
+
101
+ (c) You must retain, in the Source form of any Derivative Works
102
+ that You distribute, all copyright, patent, trademark, and
103
+ attribution notices from the Source form of the Work,
104
+ excluding those notices that do not pertain to any part of
105
+ the Derivative Works; and
106
+
107
+ (d) If the Work includes a "NOTICE" text file as part of its
108
+ distribution, then any Derivative Works that You distribute must
109
+ include a readable copy of the attribution notices contained
110
+ within such NOTICE file, excluding those notices that do not
111
+ pertain to any part of the Derivative Works, in at least one
112
+ of the following places: within a NOTICE text file distributed
113
+ as part of the Derivative Works; within the Source form or
114
+ documentation, if provided along with the Derivative Works; or,
115
+ within a display generated by the Derivative Works, if and
116
+ wherever such third-party notices normally appear. The contents
117
+ of the NOTICE file are for informational purposes only and
118
+ do not modify the License. You may add Your own attribution
119
+ notices within Derivative Works that You distribute, alongside
120
+ or as an addendum to the NOTICE text from the Work, provided
121
+ that such additional attribution notices cannot be construed
122
+ as modifying the License.
123
+
124
+ You may add Your own copyright statement to Your modifications and
125
+ may provide additional or different license terms and conditions
126
+ for use, reproduction, or distribution of Your modifications, or
127
+ for any such Derivative Works as a whole, provided Your use,
128
+ reproduction, and distribution of the Work otherwise complies with
129
+ the conditions stated in this License.
130
+
131
+ 5. Submission of Contributions. Unless You explicitly state otherwise,
132
+ any Contribution intentionally submitted for inclusion in the Work
133
+ by You to the Licensor shall be under the terms and conditions of
134
+ this License, without any additional terms or conditions.
135
+ Notwithstanding the above, nothing herein shall supersede or modify
136
+ the terms of any separate license agreement you may have executed
137
+ with Licensor regarding such Contributions.
138
+
139
+ 6. Trademarks. This License does not grant permission to use the trade
140
+ names, trademarks, service marks, or product names of the Licensor,
141
+ except as required for reasonable and customary use in describing the
142
+ origin of the Work and reproducing the content of the NOTICE file.
143
+
144
+ 7. Disclaimer of Warranty. Unless required by applicable law or
145
+ agreed to in writing, Licensor provides the Work (and each
146
+ Contributor provides its Contributions) on an "AS IS" BASIS,
147
+ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or
148
+ implied, including, without limitation, any warranties or conditions
149
+ of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A
150
+ PARTICULAR PURPOSE. You are solely responsible for determining the
151
+ appropriateness of using or redistributing the Work and assume any
152
+ risks associated with Your exercise of permissions under this License.
153
+
154
+ 8. Limitation of Liability. In no event and under no legal theory,
155
+ whether in tort (including negligence), contract, or otherwise,
156
+ unless required by applicable law (such as deliberate and grossly
157
+ negligent acts) or agreed to in writing, shall any Contributor be
158
+ liable to You for damages, including any direct, indirect, special,
159
+ incidental, or consequential damages of any character arising as a
160
+ result of this License or out of the use or inability to use the
161
+ Work (including but not limited to damages for loss of goodwill,
162
+ work stoppage, computer failure or malfunction, or any and all
163
+ other commercial damages or losses), even if such Contributor
164
+ has been advised of the possibility of such damages.
165
+
166
+ 9. Accepting Warranty or Additional Liability. While redistributing
167
+ the Work or Derivative Works thereof, You may choose to offer,
168
+ and charge a fee for, acceptance of support, warranty, indemnity,
169
+ or other liability obligations and/or rights consistent with this
170
+ License. However, in accepting such obligations, You may act only
171
+ on Your own behalf and on Your sole responsibility, not on behalf
172
+ of any other Contributor, and only if You agree to indemnify,
173
+ defend, and hold each Contributor harmless for any liability
174
+ incurred by, or claims asserted against, such Contributor by reason
175
+ of your accepting any such warranty or additional liability.
176
+
177
+ END OF TERMS AND CONDITIONS
178
+
179
+ APPENDIX: How to apply the Apache License to your work.
180
+
181
+ To apply the Apache License to your work, attach the following
182
+ boilerplate notice, with the fields enclosed by brackets "[]"
183
+ replaced with your own identifying information. (Don't include
184
+ the brackets!) The text should be enclosed in the appropriate
185
+ comment syntax for the file format. We also recommend that a
186
+ file or class name and description of purpose be included on the
187
+ same "printed page" as the copyright notice for easier
188
+ identification within third-party archives.
189
+
190
+ Copyright [yyyy] [name of copyright owner]
191
+
192
+ Licensed under the Apache License, Version 2.0 (the "License");
193
+ you may not use this file except in compliance with the License.
194
+ You may obtain a copy of the License at
195
+
196
+ http://www.apache.org/licenses/LICENSE-2.0
197
+
198
+ Unless required by applicable law or agreed to in writing, software
199
+ distributed under the License is distributed on an "AS IS" BASIS,
200
+ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
201
+ See the License for the specific language governing permissions and
202
+ limitations under the License.
@@ -0,0 +1,21 @@
1
+ MIT License
2
+
3
+ Copyright (c) 2026 Safi Shamsi
4
+
5
+ Permission is hereby granted, free of charge, to any person obtaining a copy
6
+ of this software and associated documentation files (the "Software"), to deal
7
+ in the Software without restriction, including without limitation the rights
8
+ to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
9
+ copies of the Software, and to permit persons to whom the Software is
10
+ furnished to do so, subject to the following conditions:
11
+
12
+ The above copyright notice and this permission notice shall be included in all
13
+ copies or substantial portions of the Software.
14
+
15
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
16
+ IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
17
+ FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
18
+ AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
19
+ LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
20
+ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
21
+ SOFTWARE.
@@ -0,0 +1,4 @@
1
+ recursive-include graphitect/_vendor/archify *
2
+ recursive-include graphify *.md
3
+ recursive-include licenses *
4
+
@@ -0,0 +1,69 @@
1
+ # Third-party notices
2
+
3
+ Archify includes optional vector data for third-party brand marks. These marks
4
+ are provided only to identify technologies and services in user-authored
5
+ diagrams. Their inclusion does not imply sponsorship, endorsement, partnership,
6
+ or affiliation with Archify.
7
+
8
+ The Archify MIT license applies to Archify's own code and content. It does not
9
+ replace the copyright licenses, trademark policies, or brand guidelines that
10
+ apply to third-party marks. Users are responsible for confirming that their
11
+ particular use is permitted.
12
+
13
+ ## Simple Icons
14
+
15
+ Most of the built-in vector paths and their metadata were generated from
16
+ [Simple Icons 16.28.0](https://github.com/simple-icons/simple-icons/tree/16.28.0).
17
+ Simple Icons makes its collection work available under
18
+ [CC0 1.0 Universal](https://github.com/simple-icons/simple-icons/blob/16.28.0/LICENSE.md).
19
+
20
+ As Simple Icons explains in its
21
+ [disclaimer](https://github.com/simple-icons/simple-icons/blob/16.28.0/DISCLAIMER.md),
22
+ CC0 for the collection does not mean that every underlying icon is CC0. License
23
+ and brand-guideline metadata may be incomplete or change over time. The absence
24
+ of an individual license entry is not a grant of permission.
25
+
26
+ Archify embeds the selected icons as vector-path data and may render them in a
27
+ user-selected color. The following individual licenses were recorded in the
28
+ pinned Simple Icons 16.28.0 metadata:
29
+
30
+ | Mark | Recorded source | Recorded license | Archify treatment |
31
+ |---|---|---|---|
32
+ | Angular | [Angular press kit](https://angular.dev/press-kit) | [`CC-BY-4.0`](https://creativecommons.org/licenses/by/4.0/) | Embedded as vector-path data; color may be changed by the authored diagram. |
33
+ | Apache Airflow | [Apache logos](https://apache.org/logos) | [`Apache-2.0`](https://www.apache.org/licenses/LICENSE-2.0) | Embedded as vector-path data; Apache trademarks remain subject to the [ASF trademark policy](https://www.apache.org/foundation/marks/). |
34
+ | Apache Kafka | [Apache logos](https://apache.org/logos) | [`Apache-2.0`](https://www.apache.org/licenses/LICENSE-2.0) | Embedded as vector-path data; Apache trademarks remain subject to the [ASF trademark policy](https://www.apache.org/foundation/marks/). |
35
+ | .NET | [.NET brand repository](https://github.com/dotnet/brand/blob/c7d0f51b8ec59531332d05fb27a5b758a7a3d689/logo/dotnet-logo.svg) | [`CC0-1.0`](https://creativecommons.org/publicdomain/zero/1.0/) | Embedded as vector-path data; color may be changed by the authored diagram. |
36
+ | JavaScript | [JS community logo](https://github.com/voodootikigod/logo.js/blob/1544bdeed6d618a6cfe4f0650d04ab8d9cfa76d9/js.svg) | [`MIT`](https://github.com/voodootikigod/logo.js/blob/1544bdeed6d618a6cfe4f0650d04ab8d9cfa76d9/LICENSE) | Embedded as vector-path data; color may be changed by the authored diagram. |
37
+ | Jenkins | [Jenkins artwork source](https://get.jenkins.io/art/) | [`CC-BY-SA-3.0`](https://creativecommons.org/licenses/by-sa/3.0/) | Embedded as vector-path data; color may be changed by the authored diagram. Jenkins retains its trademark rights. |
38
+ | Rust | [Rust project](https://www.rust-lang.org) | [`CC-BY-SA-4.0`](https://creativecommons.org/licenses/by-sa/4.0/) | Embedded as vector-path data; color may be changed by the authored diagram. See the [Rust media guide](https://www.rust-lang.org/policies/media-guide). |
39
+ | Vue.js | [Vue logo source](https://github.com/vuejs/art/blob/a1c78b74569b70a25300925b4eacfefcc143b8f6/logo.svg) | [`CC-BY-NC-SA-4.0`](https://creativecommons.org/licenses/by-nc-sa/4.0/) | Embedded as vector-path data; color may be changed by the authored diagram. The non-commercial and share-alike conditions remain applicable; see the [Vue artwork terms](https://github.com/vuejs/art/blob/a1c78b74569b70a25300925b4eacfefcc143b8f6/README.md). |
40
+
41
+ The source, guideline, and known license fields for every packaged mark are
42
+ preserved in `renderers/shared/generated-brand-marks.mjs`.
43
+
44
+ ## OpenAI mark
45
+
46
+ The OpenAI vector path is recorded from the
47
+ [OpenAI brand guidelines](https://openai.com/brand/), not from Simple Icons.
48
+ Use remains subject to those current guidelines and any applicable trademark
49
+ rights. Its inclusion does not state or imply endorsement by OpenAI.
50
+
51
+ ## JetBrains Mono
52
+
53
+ Delivered Archify viewer artifacts embed the JetBrains Mono variable font
54
+ subsets served by Google Fonts. For characters covered by these subsets, font
55
+ selection does not depend on a network request or a locally installed copy.
56
+ Uncovered characters (including CJK) still use the system fallback stack;
57
+ browser and operating-system rasterization can differ.
58
+ JetBrains Mono is maintained at
59
+ [github.com/JetBrains/JetBrainsMono](https://github.com/JetBrains/JetBrainsMono)
60
+ and is distributed under the SIL Open Font License 1.1. The complete license
61
+ text is preserved in `assets/JetBrainsMono-OFL.txt` in the packaged Skill and
62
+ in the font CSS carried by standalone HTML and SVG exports.
63
+
64
+ ## No additional rights granted
65
+
66
+ Brand names, logos, and trademarks remain the property of their respective
67
+ owners. This notice records provenance and known terms; it does not grant rights
68
+ that Archify does not hold, and it does not state that every packaged mark has
69
+ been cleared for every commercial, promotional, or redistributive use.
@@ -0,0 +1,8 @@
1
+ Graphify
2
+ Copyright 2026 Safi Shamsi and the Graphify contributors.
3
+
4
+ This product is licensed under the Apache License, Version 2.0 (see LICENSE).
5
+
6
+ Portions of this software were contributed under the MIT License prior to the
7
+ relicensing and remain available under those terms. The original MIT license
8
+ text is retained in LICENSE-MIT.
@@ -0,0 +1,284 @@
1
+ Metadata-Version: 2.4
2
+ Name: graphitect
3
+ Version: 0.2.0
4
+ Summary: One self-contained codebase explainer: bundled Graphify analysis, bundled Archify diagrams, and optional LLM rationale.
5
+ License-Expression: MIT
6
+ Project-URL: Homepage, https://github.com/Naman6019/graphitect
7
+ Project-URL: Repository, https://github.com/Naman6019/graphitect
8
+ Requires-Python: >=3.10
9
+ Description-Content-Type: text/markdown
10
+ License-File: LICENSE
11
+ License-File: LICENSE-GRAPHIFY-APACHE-2.0
12
+ License-File: LICENSE-GRAPHIFY-MIT
13
+ License-File: NOTICE-GRAPHIFY
14
+ License-File: LICENSE-ARCHIFY-MIT
15
+ License-File: NOTICE-ARCHIFY-THIRD-PARTY.md
16
+ Requires-Dist: pydantic>=2.0
17
+ Requires-Dist: networkx>=3.4
18
+ Requires-Dist: numpy>=1.21
19
+ Requires-Dist: rapidfuzz>=3.0
20
+ Requires-Dist: tomli>=2.0.1; python_version < "3.11"
21
+ Requires-Dist: tree-sitter<0.26,>=0.23.0
22
+ Requires-Dist: tree-sitter-python<0.26,>=0.23
23
+ Requires-Dist: tree-sitter-javascript<0.26,>=0.23
24
+ Requires-Dist: tree-sitter-typescript<0.25,>=0.23
25
+ Requires-Dist: tree-sitter-go<0.26,>=0.23
26
+ Requires-Dist: tree-sitter-rust<0.25,>=0.23
27
+ Requires-Dist: tree-sitter-java<0.25,>=0.23
28
+ Requires-Dist: tree-sitter-groovy<0.3,>=0.1
29
+ Requires-Dist: tree-sitter-c<0.25,>=0.23
30
+ Requires-Dist: tree-sitter-cpp<0.25,>=0.23
31
+ Requires-Dist: tree-sitter-ruby<0.25,>=0.23
32
+ Requires-Dist: tree-sitter-c-sharp<0.25,>=0.23
33
+ Requires-Dist: tree-sitter-kotlin<2.0,>=1.0
34
+ Requires-Dist: tree-sitter-scala<0.27,>=0.23
35
+ Requires-Dist: tree-sitter-php<0.25,>=0.23
36
+ Requires-Dist: tree-sitter-swift<0.9,>=0.7
37
+ Requires-Dist: tree-sitter-lua<0.6,>=0.2
38
+ Requires-Dist: tree-sitter-zig<2.0,>=1.0
39
+ Requires-Dist: tree-sitter-powershell<0.28,>=0.26
40
+ Requires-Dist: tree-sitter-elixir<0.5,>=0.3
41
+ Requires-Dist: tree-sitter-objc<4.0,>=3.0
42
+ Requires-Dist: tree-sitter-julia<0.25,>=0.23
43
+ Requires-Dist: tree-sitter-verilog<2.0,>=1.0
44
+ Requires-Dist: tree-sitter-fortran<0.8,>=0.6
45
+ Requires-Dist: tree-sitter-bash<0.27,>=0.23
46
+ Requires-Dist: tree-sitter-json<0.26,>=0.23
47
+ Requires-Dist: tree-sitter-sql
48
+ Requires-Dist: openai
49
+ Requires-Dist: anthropic
50
+ Requires-Dist: tiktoken
51
+ Dynamic: license-file
52
+
53
+ # Graphitect
54
+
55
+ **Turn an existing codebase into one interactive architecture report.**
56
+
57
+ Graphitect produces a self-contained HTML artifact for project walkthroughs,
58
+ technical interviews, handoffs, and architectural review. It has two sections:
59
+
60
+ 1. **Interactive system diagram** — generated locally from the repository.
61
+ 2. **Project explanation** — technical choices, mechanisms, trade-offs, and
62
+ pros/cons, with every statement marked confirmed or inferred.
63
+
64
+ ![Graphitect report with a responsive embedded interactive viewer](docs/images/embedded-viewer-demo.png)
65
+
66
+ *A live Graphitect report with a responsive embedded Archify viewer. Theme,
67
+ view, presentation, and export controls remain interactive inside the report.*
68
+
69
+ ## Why Graphitect
70
+
71
+ Reading a repository is slow when a graph tells you only **what** connects and
72
+ a prose summary tells you only **why**. Graphitect combines both without
73
+ letting a model invent the diagram:
74
+
75
+ | Layer | What it does |
76
+ | --- | --- |
77
+ | **Graphify** | Extracts code structure, direct relationships, and communities locally. It is the deterministic source for diagram nodes and edges. |
78
+ | **Archify** | Renders the bundled, interactive architecture, workflow, and sequence views. |
79
+ | **Graphitect** | Turns that evidence into one portable HTML report and verifies any file-backed explanation citation before publishing it. |
80
+
81
+ The diagram does not require an LLM or API key. The explanation can come from
82
+ a configured standalone provider or the model already running inside Codex,
83
+ Claude Code, or another Agent Skills-compatible host.
84
+
85
+ ## Requirements
86
+
87
+ - Python 3.10+
88
+ - Node.js 18+ for the bundled Archify renderer
89
+
90
+ Graphify and Archify are bundled with Graphitect. You do **not** install
91
+ Graphify separately or run `npm install` for Archify.
92
+
93
+ ## Install
94
+
95
+ ### From this repository
96
+
97
+ ```bash
98
+ git clone https://github.com/Naman6019/graphitect.git
99
+ cd graphitect
100
+ python -m pip install .
101
+ ```
102
+
103
+ ### From PyPI
104
+
105
+ ```bash
106
+ python -m pip install graphitect
107
+ ```
108
+
109
+ Confirm that the renderer runtime is available:
110
+
111
+ ```bash
112
+ node --version
113
+ graphitect --help
114
+ ```
115
+
116
+ ## Quick start
117
+
118
+ ```bash
119
+ graphitect build /path/to/project -o project-architecture.html
120
+ ```
121
+
122
+ This produces one standalone HTML file. Open it in any modern browser; it does
123
+ not need a server or an internet connection after generation.
124
+
125
+ Without an LLM key, Graphitect still produces Section 1 and plainly marks
126
+ Section 2 as unavailable. To explicitly omit the diagram:
127
+
128
+ ```bash
129
+ graphitect build /path/to/project --no-diagram -o project-explanation.html
130
+ ```
131
+
132
+ ## Add the detailed explanation
133
+
134
+ ### Standalone CLI
135
+
136
+ Configure one supported provider, then use the same command:
137
+
138
+ ```bash
139
+ # PowerShell example — do not commit keys to your repository.
140
+ $env:GEMINI_API_KEY = "..."
141
+ graphitect build /path/to/project -o project-architecture.html
142
+ ```
143
+
144
+ Supported environment variables are `GEMINI_API_KEY` (or `GOOGLE_API_KEY`),
145
+ `ANTHROPIC_API_KEY`, and `OLLAMA_API_KEY`. A local Ollama server is also
146
+ supported through `--ollama-local`.
147
+
148
+ ## Install as an agent skill — no separate API key
149
+
150
+ Install the `graphitect` CLI once, then export a **project skill** inside each
151
+ repository you want an agent to explain. The agent host's selected model writes
152
+ Section 2; Graphitect makes no LLM network call in this path.
153
+
154
+ ### Codex
155
+
156
+ ```bash
157
+ # One time, if Graphitect is not installed already.
158
+ python -m pip install graphitect
159
+
160
+ # In the project you want to document.
161
+ cd /path/to/project
162
+ graphitect skill export --host codex
163
+ # Writes .agents/skills/graphitect/SKILL.md
164
+ ```
165
+
166
+ Open that project in Codex, then say: `Use the Graphitect skill to explain this
167
+ codebase and write project-architecture.html.`
168
+
169
+ ### Claude Code
170
+
171
+ ```bash
172
+ # One time, if Graphitect is not installed already.
173
+ python -m pip install graphitect
174
+
175
+ # In the project you want to document.
176
+ cd /path/to/project
177
+ graphitect skill export --host claude-code
178
+ # Writes .claude/skills/graphitect/SKILL.md
179
+ ```
180
+
181
+ Start or reopen Claude Code in that project, then say: `Use the Graphitect
182
+ skill to explain this codebase and write project-architecture.html.`
183
+
184
+ ### Other Agent Skills-compatible hosts
185
+
186
+ Export the portable bundle to the host's project-skill directory. Point
187
+ `--output` at the directory that host discovers:
188
+
189
+ ```bash
190
+ cd /path/to/project
191
+ graphitect skill export --output ./skills/graphitect
192
+ # Writes SKILL.md and agents/openai.yaml.
193
+ ```
194
+
195
+ ### What the skill does
196
+
197
+ The agent follows this evidence-first handoff:
198
+
199
+ ```bash
200
+ graphitect agent prepare /path/to/project -o .graphitect-agent
201
+ # The host model writes .graphitect-agent/narrative.json from grounded evidence.
202
+ graphitect agent compile .graphitect-agent --title "Project name" -o project-architecture.html
203
+ ```
204
+
205
+ Graphitect owns the diagram in this mode. The host model can write only the
206
+ narrative; it cannot add, remove, or rename Graphify nodes and edges. A
207
+ confirmed code claim must cite a repository-relative file and a full phrase
208
+ from that file. Unverified, uncited, externally referenced, or fabricated
209
+ user-backed claims are downgraded to **inferred**.
210
+
211
+ ## What the report contains
212
+
213
+ ### Section 1 — Interactive system diagram
214
+
215
+ - Overview: a readable structural subset of the Graphify graph.
216
+ - Full architecture rollup: every retained relationship in a scrollable view.
217
+ - Guided workflow story: a paced, direct path through observed relationships.
218
+ - Sequence trace: shown only for consecutive direct `calls` or `invokes`
219
+ relationships; it is static source evidence, never runtime telemetry.
220
+ - Per-block hover details: source path, symbol, relationship context, and
221
+ legacy naming context where a function name might be mistaken for a provider.
222
+
223
+ ![Graphitect evidence-gated static call sequence](docs/images/static-call-sequence-demo.png)
224
+
225
+ *A source-derived sequence view. Every arrow represents a direct Graphify
226
+ `calls` or `invokes` relationship; no runtime request, timing, or trace data
227
+ is implied.*
228
+
229
+ ### Section 2 — Project explanation
230
+
231
+ - Architecture and component walkthrough.
232
+ - Technology choices and the evidence behind them.
233
+ - Trade-offs, alternatives, strengths, and costs.
234
+ - Related diagram components for each section.
235
+ - Confirmed versus inferred labels, plus optional author questions for
236
+ unresolved, load-bearing rationale.
237
+
238
+ ## Evidence rules
239
+
240
+ Graphitect keeps the distinction between repository fact and analysis visible:
241
+
242
+ - **Confirmed**: backed by code, README, docs, Git history, or a direct author
243
+ answer. File-backed citations must contain the cited phrase.
244
+ - **Inferred**: a reasoned interpretation or recommendation. It is useful, but
245
+ never presented as a proven historical decision.
246
+ - Diagram relationships: direct Graphify extraction, not an LLM reconstruction.
247
+
248
+ If `synthesize --non-interactive` or the agent workflow writes
249
+ `graphitect-questions.json`, fill its `answer` fields and rerun with
250
+ `--answers`. Unanswered items remain inferred.
251
+
252
+ ## Advanced commands
253
+
254
+ ```bash
255
+ # Write reusable Graphify-grounded data.
256
+ graphitect ground /path/to/project -o grounding.json
257
+
258
+ # Synthesize from that data with a configured standalone provider.
259
+ graphitect synthesize grounding.json --repo /path/to/project -o understanding.json
260
+
261
+ # Render a saved understanding file.
262
+ graphitect deliver understanding.json --title "Project name" -o project-architecture
263
+ ```
264
+
265
+ For normal use, prefer `graphitect build` or the installed-agent workflow.
266
+
267
+ ## Privacy and network behavior
268
+
269
+ - Graphify extraction and diagram generation run locally.
270
+ - The self-contained report embeds its interactive viewer; viewing it requires
271
+ no hosted Graphitect service.
272
+ - Standalone explanation generation sends the bounded evidence context to the
273
+ provider you configure.
274
+ - Installed-agent mode uses the host agent's own model and permissions instead
275
+ of a Graphitect API key.
276
+
277
+ Review your repository and provider policy before sending source context to an
278
+ external model.
279
+
280
+ ## Bundled projects and notices
281
+
282
+ Graphitect bundles Graphify under its Apache-2.0 distribution terms and
283
+ Archify under MIT plus its third-party notices. See `licenses/graphify/`,
284
+ `licenses/archify/`, and the root notice files for details.