graphite-code 1.9.3__tar.gz → 1.10.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 (347) hide show
  1. {graphite_code-1.9.3 → graphite_code-1.10.0}/CHANGELOG.md +186 -0
  2. {graphite_code-1.9.3 → graphite_code-1.10.0}/PKG-INFO +2 -2
  3. {graphite_code-1.9.3 → graphite_code-1.10.0}/README.md +1 -1
  4. {graphite_code-1.9.3 → graphite_code-1.10.0}/RELEASING.md +9 -0
  5. graphite_code-1.10.0/scripts/pyvalueoracle.py +535 -0
  6. {graphite_code-1.9.3 → graphite_code-1.10.0}/src/graphite/__init__.py +1 -1
  7. {graphite_code-1.9.3 → graphite_code-1.10.0}/src/graphite/agent_hooks.py +24 -15
  8. {graphite_code-1.9.3 → graphite_code-1.10.0}/src/graphite/answer_contract.py +231 -2
  9. {graphite_code-1.9.3 → graphite_code-1.10.0}/src/graphite/bootstrap.py +9 -9
  10. {graphite_code-1.9.3 → graphite_code-1.10.0}/src/graphite/cli.py +13 -10
  11. {graphite_code-1.9.3 → graphite_code-1.10.0}/src/graphite/context.py +1 -0
  12. {graphite_code-1.9.3 → graphite_code-1.10.0}/src/graphite/debt.py +4 -0
  13. {graphite_code-1.9.3 → graphite_code-1.10.0}/src/graphite/doctor.py +44 -1
  14. {graphite_code-1.9.3 → graphite_code-1.10.0}/src/graphite/extract/ast.py +210 -7
  15. graphite_code-1.10.0/src/graphite/extract/html_assets.py +92 -0
  16. {graphite_code-1.9.3 → graphite_code-1.10.0}/src/graphite/extract/pyscope.py +21 -2
  17. {graphite_code-1.9.3 → graphite_code-1.10.0}/src/graphite/ingest.py +41 -0
  18. {graphite_code-1.9.3 → graphite_code-1.10.0}/src/graphite/init.py +30 -23
  19. {graphite_code-1.9.3 → graphite_code-1.10.0}/src/graphite/mcp_server.py +12 -1
  20. {graphite_code-1.9.3 → graphite_code-1.10.0}/src/graphite/query.py +44 -1
  21. {graphite_code-1.9.3 → graphite_code-1.10.0}/src/graphite/resolve.py +196 -4
  22. {graphite_code-1.9.3 → graphite_code-1.10.0}/tests/test_activation_backstop.py +26 -15
  23. {graphite_code-1.9.3 → graphite_code-1.10.0}/tests/test_agent_hook_activation.py +15 -7
  24. {graphite_code-1.9.3 → graphite_code-1.10.0}/tests/test_agent_hooks.py +21 -2
  25. graphite_code-1.10.0/tests/test_agent_text_launch.py +60 -0
  26. {graphite_code-1.9.3 → graphite_code-1.10.0}/tests/test_answer_contract.py +32 -0
  27. {graphite_code-1.9.3 → graphite_code-1.10.0}/tests/test_bootstrap.py +2 -2
  28. {graphite_code-1.9.3 → graphite_code-1.10.0}/tests/test_call_graph.py +10 -2
  29. {graphite_code-1.9.3 → graphite_code-1.10.0}/tests/test_cli_below_repository_root.py +72 -1
  30. {graphite_code-1.9.3 → graphite_code-1.10.0}/tests/test_cli_version.py +25 -1
  31. {graphite_code-1.9.3 → graphite_code-1.10.0}/tests/test_debt.py +7 -1
  32. graphite_code-1.10.0/tests/test_doctor_program_shadow.py +99 -0
  33. graphite_code-1.10.0/tests/test_html_asset_edges.py +295 -0
  34. {graphite_code-1.9.3 → graphite_code-1.10.0}/tests/test_init.py +48 -8
  35. {graphite_code-1.9.3 → graphite_code-1.10.0}/tests/test_init_activation_doctrine.py +3 -3
  36. graphite_code-1.10.0/tests/test_mcp_server_version.py +37 -0
  37. graphite_code-1.10.0/tests/test_python_import_roots.py +501 -0
  38. graphite_code-1.10.0/tests/test_python_value_references.py +449 -0
  39. graphite_code-1.10.0/tests/test_pyvalueoracle.py +225 -0
  40. {graphite_code-1.9.3 → graphite_code-1.10.0}/.gitignore +0 -0
  41. {graphite_code-1.9.3 → graphite_code-1.10.0}/.mcp.json +0 -0
  42. {graphite_code-1.9.3 → graphite_code-1.10.0}/ARCHITECTURE.md +0 -0
  43. {graphite_code-1.9.3 → graphite_code-1.10.0}/CONTRIBUTING.md +0 -0
  44. {graphite_code-1.9.3 → graphite_code-1.10.0}/LICENSE +0 -0
  45. {graphite_code-1.9.3 → graphite_code-1.10.0}/SECURITY.md +0 -0
  46. {graphite_code-1.9.3 → graphite_code-1.10.0}/benchmarks/__init__.py +0 -0
  47. {graphite_code-1.9.3 → graphite_code-1.10.0}/benchmarks/build_benchmark.py +0 -0
  48. {graphite_code-1.9.3 → graphite_code-1.10.0}/benchmarks/realty_router/README.md +0 -0
  49. {graphite_code-1.9.3 → graphite_code-1.10.0}/benchmarks/realty_router/__init__.py +0 -0
  50. {graphite_code-1.9.3 → graphite_code-1.10.0}/benchmarks/realty_router/evaluate.py +0 -0
  51. {graphite_code-1.9.3 → graphite_code-1.10.0}/benchmarks/realty_router/tasks.json +0 -0
  52. {graphite_code-1.9.3 → graphite_code-1.10.0}/benchmarks/synthetic_repo.py +0 -0
  53. {graphite_code-1.9.3 → graphite_code-1.10.0}/pyproject.toml +0 -0
  54. {graphite_code-1.9.3 → graphite_code-1.10.0}/scripts/__init__.py +0 -0
  55. {graphite_code-1.9.3 → graphite_code-1.10.0}/scripts/compare_dist.py +0 -0
  56. {graphite_code-1.9.3 → graphite_code-1.10.0}/scripts/gen_cli_reference.py +0 -0
  57. {graphite_code-1.9.3 → graphite_code-1.10.0}/scripts/mutation_tests.py +0 -0
  58. {graphite_code-1.9.3 → graphite_code-1.10.0}/scripts/pyscopeoracle.py +0 -0
  59. {graphite_code-1.9.3 → graphite_code-1.10.0}/scripts/sqloracle.py +0 -0
  60. {graphite_code-1.9.3 → graphite_code-1.10.0}/scripts/verify_artifact.py +0 -0
  61. {graphite_code-1.9.3 → graphite_code-1.10.0}/scripts/verify_published_release.py +0 -0
  62. {graphite_code-1.9.3 → graphite_code-1.10.0}/src/graphite/__main__.py +0 -0
  63. {graphite_code-1.9.3 → graphite_code-1.10.0}/src/graphite/_cleanup_worker.py +0 -0
  64. {graphite_code-1.9.3 → graphite_code-1.10.0}/src/graphite/_win32_ctypes.py +0 -0
  65. {graphite_code-1.9.3 → graphite_code-1.10.0}/src/graphite/activation.py +0 -0
  66. {graphite_code-1.9.3 → graphite_code-1.10.0}/src/graphite/agent_settings.py +0 -0
  67. {graphite_code-1.9.3 → graphite_code-1.10.0}/src/graphite/analyze.py +0 -0
  68. {graphite_code-1.9.3 → graphite_code-1.10.0}/src/graphite/buildlock.py +0 -0
  69. {graphite_code-1.9.3 → graphite_code-1.10.0}/src/graphite/cache.py +0 -0
  70. {graphite_code-1.9.3 → graphite_code-1.10.0}/src/graphite/channel.py +0 -0
  71. {graphite_code-1.9.3 → graphite_code-1.10.0}/src/graphite/cluster.py +0 -0
  72. {graphite_code-1.9.3 → graphite_code-1.10.0}/src/graphite/config.py +0 -0
  73. {graphite_code-1.9.3 → graphite_code-1.10.0}/src/graphite/daemon.py +0 -0
  74. {graphite_code-1.9.3 → graphite_code-1.10.0}/src/graphite/daemon_health.py +0 -0
  75. {graphite_code-1.9.3 → graphite_code-1.10.0}/src/graphite/daemon_launch.py +0 -0
  76. {graphite_code-1.9.3 → graphite_code-1.10.0}/src/graphite/dependency_install.py +0 -0
  77. {graphite_code-1.9.3 → graphite_code-1.10.0}/src/graphite/detach.py +0 -0
  78. {graphite_code-1.9.3 → graphite_code-1.10.0}/src/graphite/doctor_probes.py +0 -0
  79. {graphite_code-1.9.3 → graphite_code-1.10.0}/src/graphite/engine_identity.py +0 -0
  80. {graphite_code-1.9.3 → graphite_code-1.10.0}/src/graphite/export/__init__.py +0 -0
  81. {graphite_code-1.9.3 → graphite_code-1.10.0}/src/graphite/export/html.py +0 -0
  82. {graphite_code-1.9.3 → graphite_code-1.10.0}/src/graphite/export/json.py +0 -0
  83. {graphite_code-1.9.3 → graphite_code-1.10.0}/src/graphite/export/md.py +0 -0
  84. {graphite_code-1.9.3 → graphite_code-1.10.0}/src/graphite/extract/__init__.py +0 -0
  85. {graphite_code-1.9.3 → graphite_code-1.10.0}/src/graphite/freshness.py +0 -0
  86. {graphite_code-1.9.3 → graphite_code-1.10.0}/src/graphite/git.py +0 -0
  87. {graphite_code-1.9.3 → graphite_code-1.10.0}/src/graphite/graph.py +0 -0
  88. {graphite_code-1.9.3 → graphite_code-1.10.0}/src/graphite/graph_io.py +0 -0
  89. {graphite_code-1.9.3 → graphite_code-1.10.0}/src/graphite/health.py +0 -0
  90. {graphite_code-1.9.3 → graphite_code-1.10.0}/src/graphite/hook_entry.py +0 -0
  91. {graphite_code-1.9.3 → graphite_code-1.10.0}/src/graphite/hookinstall.py +0 -0
  92. {graphite_code-1.9.3 → graphite_code-1.10.0}/src/graphite/hookshim.py +0 -0
  93. {graphite_code-1.9.3 → graphite_code-1.10.0}/src/graphite/incident_ledger.py +0 -0
  94. {graphite_code-1.9.3 → graphite_code-1.10.0}/src/graphite/io.py +0 -0
  95. {graphite_code-1.9.3 → graphite_code-1.10.0}/src/graphite/launchd_agent.py +0 -0
  96. {graphite_code-1.9.3 → graphite_code-1.10.0}/src/graphite/listing.py +0 -0
  97. {graphite_code-1.9.3 → graphite_code-1.10.0}/src/graphite/llm.py +0 -0
  98. {graphite_code-1.9.3 → graphite_code-1.10.0}/src/graphite/llm_probe.py +0 -0
  99. {graphite_code-1.9.3 → graphite_code-1.10.0}/src/graphite/mcp.py +0 -0
  100. {graphite_code-1.9.3 → graphite_code-1.10.0}/src/graphite/natural_query.py +0 -0
  101. {graphite_code-1.9.3 → graphite_code-1.10.0}/src/graphite/overlays.py +0 -0
  102. {graphite_code-1.9.3 → graphite_code-1.10.0}/src/graphite/ownership.py +0 -0
  103. {graphite_code-1.9.3 → graphite_code-1.10.0}/src/graphite/probe_process.py +0 -0
  104. {graphite_code-1.9.3 → graphite_code-1.10.0}/src/graphite/probe_workspace.py +0 -0
  105. {graphite_code-1.9.3 → graphite_code-1.10.0}/src/graphite/process_contracts.py +0 -0
  106. {graphite_code-1.9.3 → graphite_code-1.10.0}/src/graphite/programs.py +0 -0
  107. {graphite_code-1.9.3 → graphite_code-1.10.0}/src/graphite/provider_observer.py +0 -0
  108. {graphite_code-1.9.3 → graphite_code-1.10.0}/src/graphite/py.typed +0 -0
  109. {graphite_code-1.9.3 → graphite_code-1.10.0}/src/graphite/query_plan.py +0 -0
  110. {graphite_code-1.9.3 → graphite_code-1.10.0}/src/graphite/replacement_audit.py +0 -0
  111. {graphite_code-1.9.3 → graphite_code-1.10.0}/src/graphite/review.py +0 -0
  112. {graphite_code-1.9.3 → graphite_code-1.10.0}/src/graphite/routing/__init__.py +0 -0
  113. {graphite_code-1.9.3 → graphite_code-1.10.0}/src/graphite/routing/approval.py +0 -0
  114. {graphite_code-1.9.3 → graphite_code-1.10.0}/src/graphite/routing/classifier.py +0 -0
  115. {graphite_code-1.9.3 → graphite_code-1.10.0}/src/graphite/routing/claude_executor.py +0 -0
  116. {graphite_code-1.9.3 → graphite_code-1.10.0}/src/graphite/routing/claude_probe.py +0 -0
  117. {graphite_code-1.9.3 → graphite_code-1.10.0}/src/graphite/routing/cli_identity.py +0 -0
  118. {graphite_code-1.9.3 → graphite_code-1.10.0}/src/graphite/routing/codex_executor.py +0 -0
  119. {graphite_code-1.9.3 → graphite_code-1.10.0}/src/graphite/routing/codex_probe.py +0 -0
  120. {graphite_code-1.9.3 → graphite_code-1.10.0}/src/graphite/routing/context_builder.py +0 -0
  121. {graphite_code-1.9.3 → graphite_code-1.10.0}/src/graphite/routing/contracts.py +0 -0
  122. {graphite_code-1.9.3 → graphite_code-1.10.0}/src/graphite/routing/diff_policy.py +0 -0
  123. {graphite_code-1.9.3 → graphite_code-1.10.0}/src/graphite/routing/edit_apply.py +0 -0
  124. {graphite_code-1.9.3 → graphite_code-1.10.0}/src/graphite/routing/effort.py +0 -0
  125. {graphite_code-1.9.3 → graphite_code-1.10.0}/src/graphite/routing/lifecycle.py +0 -0
  126. {graphite_code-1.9.3 → graphite_code-1.10.0}/src/graphite/routing/lifecycle_operator.py +0 -0
  127. {graphite_code-1.9.3 → graphite_code-1.10.0}/src/graphite/routing/lifecycle_service.py +0 -0
  128. {graphite_code-1.9.3 → graphite_code-1.10.0}/src/graphite/routing/lifecycle_storage.py +0 -0
  129. {graphite_code-1.9.3 → graphite_code-1.10.0}/src/graphite/routing/ollama_executor.py +0 -0
  130. {graphite_code-1.9.3 → graphite_code-1.10.0}/src/graphite/routing/ollama_probe.py +0 -0
  131. {graphite_code-1.9.3 → graphite_code-1.10.0}/src/graphite/routing/openrouter_executor.py +0 -0
  132. {graphite_code-1.9.3 → graphite_code-1.10.0}/src/graphite/routing/openrouter_probe.py +0 -0
  133. {graphite_code-1.9.3 → graphite_code-1.10.0}/src/graphite/routing/policy.py +0 -0
  134. {graphite_code-1.9.3 → graphite_code-1.10.0}/src/graphite/routing/probe_runner.py +0 -0
  135. {graphite_code-1.9.3 → graphite_code-1.10.0}/src/graphite/routing/process_runner.py +0 -0
  136. {graphite_code-1.9.3 → graphite_code-1.10.0}/src/graphite/routing/profiles.py +0 -0
  137. {graphite_code-1.9.3 → graphite_code-1.10.0}/src/graphite/routing/prompt.py +0 -0
  138. {graphite_code-1.9.3 → graphite_code-1.10.0}/src/graphite/routing/registry.py +0 -0
  139. {graphite_code-1.9.3 → graphite_code-1.10.0}/src/graphite/routing/route_pool.py +0 -0
  140. {graphite_code-1.9.3 → graphite_code-1.10.0}/src/graphite/routing/route_pool_execution.py +0 -0
  141. {graphite_code-1.9.3 → graphite_code-1.10.0}/src/graphite/routing/schema_validation.py +0 -0
  142. {graphite_code-1.9.3 → graphite_code-1.10.0}/src/graphite/routing/service.py +0 -0
  143. {graphite_code-1.9.3 → graphite_code-1.10.0}/src/graphite/routing/settings.py +0 -0
  144. {graphite_code-1.9.3 → graphite_code-1.10.0}/src/graphite/routing/shadow.py +0 -0
  145. {graphite_code-1.9.3 → graphite_code-1.10.0}/src/graphite/routing/storage.py +0 -0
  146. {graphite_code-1.9.3 → graphite_code-1.10.0}/src/graphite/routing/telemetry.py +0 -0
  147. {graphite_code-1.9.3 → graphite_code-1.10.0}/src/graphite/routing/worktree.py +0 -0
  148. {graphite_code-1.9.3 → graphite_code-1.10.0}/src/graphite/routing/zai_edit.py +0 -0
  149. {graphite_code-1.9.3 → graphite_code-1.10.0}/src/graphite/routing/zai_executor.py +0 -0
  150. {graphite_code-1.9.3 → graphite_code-1.10.0}/src/graphite/routing/zai_probe.py +0 -0
  151. {graphite_code-1.9.3 → graphite_code-1.10.0}/src/graphite/savings.py +0 -0
  152. {graphite_code-1.9.3 → graphite_code-1.10.0}/src/graphite/systemd_unit.py +0 -0
  153. {graphite_code-1.9.3 → graphite_code-1.10.0}/src/graphite/ts_bridge.py +0 -0
  154. {graphite_code-1.9.3 → graphite_code-1.10.0}/src/graphite/ts_resolver.mjs +0 -0
  155. {graphite_code-1.9.3 → graphite_code-1.10.0}/src/graphite/typescript_activation.py +0 -0
  156. {graphite_code-1.9.3 → graphite_code-1.10.0}/src/graphite/usage_ledger.py +0 -0
  157. {graphite_code-1.9.3 → graphite_code-1.10.0}/src/graphite/validation.py +0 -0
  158. {graphite_code-1.9.3 → graphite_code-1.10.0}/src/graphite/watch.py +0 -0
  159. {graphite_code-1.9.3 → graphite_code-1.10.0}/src/graphite/windows_job.py +0 -0
  160. {graphite_code-1.9.3 → graphite_code-1.10.0}/src/graphite/windows_startup.py +0 -0
  161. {graphite_code-1.9.3 → graphite_code-1.10.0}/src/graphite/windows_task.py +0 -0
  162. {graphite_code-1.9.3 → graphite_code-1.10.0}/tests/conftest.py +0 -0
  163. {graphite_code-1.9.3 → graphite_code-1.10.0}/tests/data/sqloracle/blindspots.py.txt +0 -0
  164. {graphite_code-1.9.3 → graphite_code-1.10.0}/tests/data/sqloracle/round69.py.txt +0 -0
  165. {graphite_code-1.9.3 → graphite_code-1.10.0}/tests/fake_clis/fake_cli.py +0 -0
  166. {graphite_code-1.9.3 → graphite_code-1.10.0}/tests/fixtures/provider_lifecycle_schema_v1.sql +0 -0
  167. {graphite_code-1.9.3 → graphite_code-1.10.0}/tests/fixtures/routing_schema_v2_ca77600.sql +0 -0
  168. {graphite_code-1.9.3 → graphite_code-1.10.0}/tests/fixtures/routing_schema_v3_94eb333.sql +0 -0
  169. {graphite_code-1.9.3 → graphite_code-1.10.0}/tests/fixtures/routing_schema_v4_lifecycle_migration.sql +0 -0
  170. {graphite_code-1.9.3 → graphite_code-1.10.0}/tests/test__win32_ctypes.py +0 -0
  171. {graphite_code-1.9.3 → graphite_code-1.10.0}/tests/test_activation.py +0 -0
  172. {graphite_code-1.9.3 → graphite_code-1.10.0}/tests/test_agent_hooks_session_books.py +0 -0
  173. {graphite_code-1.9.3 → graphite_code-1.10.0}/tests/test_agent_hooks_session_tagging.py +0 -0
  174. {graphite_code-1.9.3 → graphite_code-1.10.0}/tests/test_agent_settings.py +0 -0
  175. {graphite_code-1.9.3 → graphite_code-1.10.0}/tests/test_arrow_and_constructor_binding.py +0 -0
  176. {graphite_code-1.9.3 → graphite_code-1.10.0}/tests/test_ast_make_id_length.py +0 -0
  177. {graphite_code-1.9.3 → graphite_code-1.10.0}/tests/test_ast_name_a_module_only_imports.py +0 -0
  178. {graphite_code-1.9.3 → graphite_code-1.10.0}/tests/test_ast_source_lines.py +0 -0
  179. {graphite_code-1.9.3 → graphite_code-1.10.0}/tests/test_ast_super_over_a_builtin_base.py +0 -0
  180. {graphite_code-1.9.3 → graphite_code-1.10.0}/tests/test_atomic_write.py +0 -0
  181. {graphite_code-1.9.3 → graphite_code-1.10.0}/tests/test_build_detach.py +0 -0
  182. {graphite_code-1.9.3 → graphite_code-1.10.0}/tests/test_buildlock.py +0 -0
  183. {graphite_code-1.9.3 → graphite_code-1.10.0}/tests/test_cache_engine_identity.py +0 -0
  184. {graphite_code-1.9.3 → graphite_code-1.10.0}/tests/test_cache_entry_pruning.py +0 -0
  185. {graphite_code-1.9.3 → graphite_code-1.10.0}/tests/test_cache_file_identity.py +0 -0
  186. {graphite_code-1.9.3 → graphite_code-1.10.0}/tests/test_cache_file_set.py +0 -0
  187. {graphite_code-1.9.3 → graphite_code-1.10.0}/tests/test_cache_pruning.py +0 -0
  188. {graphite_code-1.9.3 → graphite_code-1.10.0}/tests/test_case_ambiguous_answer.py +0 -0
  189. {graphite_code-1.9.3 → graphite_code-1.10.0}/tests/test_channel_attribution.py +0 -0
  190. {graphite_code-1.9.3 → graphite_code-1.10.0}/tests/test_channel_cli.py +0 -0
  191. {graphite_code-1.9.3 → graphite_code-1.10.0}/tests/test_channel_core.py +0 -0
  192. {graphite_code-1.9.3 → graphite_code-1.10.0}/tests/test_channel_kind.py +0 -0
  193. {graphite_code-1.9.3 → graphite_code-1.10.0}/tests/test_channel_lock.py +0 -0
  194. {graphite_code-1.9.3 → graphite_code-1.10.0}/tests/test_channel_log_integrity.py +0 -0
  195. {graphite_code-1.9.3 → graphite_code-1.10.0}/tests/test_channel_mcp.py +0 -0
  196. {graphite_code-1.9.3 → graphite_code-1.10.0}/tests/test_channel_register.py +0 -0
  197. {graphite_code-1.9.3 → graphite_code-1.10.0}/tests/test_channel_report.py +0 -0
  198. {graphite_code-1.9.3 → graphite_code-1.10.0}/tests/test_channel_status.py +0 -0
  199. {graphite_code-1.9.3 → graphite_code-1.10.0}/tests/test_class_field_arrow_binding.py +0 -0
  200. {graphite_code-1.9.3 → graphite_code-1.10.0}/tests/test_cli_build_missing_path.py +0 -0
  201. {graphite_code-1.9.3 → graphite_code-1.10.0}/tests/test_cli_channel.py +0 -0
  202. {graphite_code-1.9.3 → graphite_code-1.10.0}/tests/test_cli_channel_attribution.py +0 -0
  203. {graphite_code-1.9.3 → graphite_code-1.10.0}/tests/test_cli_doctor_below_root.py +0 -0
  204. {graphite_code-1.9.3 → graphite_code-1.10.0}/tests/test_cli_reference.py +0 -0
  205. {graphite_code-1.9.3 → graphite_code-1.10.0}/tests/test_cli_usage.py +0 -0
  206. {graphite_code-1.9.3 → graphite_code-1.10.0}/tests/test_cluster.py +0 -0
  207. {graphite_code-1.9.3 → graphite_code-1.10.0}/tests/test_compare_dist.py +0 -0
  208. {graphite_code-1.9.3 → graphite_code-1.10.0}/tests/test_configuration_reference.py +0 -0
  209. {graphite_code-1.9.3 → graphite_code-1.10.0}/tests/test_context.py +0 -0
  210. {graphite_code-1.9.3 → graphite_code-1.10.0}/tests/test_context_builder.py +0 -0
  211. {graphite_code-1.9.3 → graphite_code-1.10.0}/tests/test_cwd_relative_config.py +0 -0
  212. {graphite_code-1.9.3 → graphite_code-1.10.0}/tests/test_cycle_search.py +0 -0
  213. {graphite_code-1.9.3 → graphite_code-1.10.0}/tests/test_daemon.py +0 -0
  214. {graphite_code-1.9.3 → graphite_code-1.10.0}/tests/test_daemon_activation.py +0 -0
  215. {graphite_code-1.9.3 → graphite_code-1.10.0}/tests/test_daemon_build_lock.py +0 -0
  216. {graphite_code-1.9.3 → graphite_code-1.10.0}/tests/test_daemon_child_lock.py +0 -0
  217. {graphite_code-1.9.3 → graphite_code-1.10.0}/tests/test_daemon_engine_staleness.py +0 -0
  218. {graphite_code-1.9.3 → graphite_code-1.10.0}/tests/test_daemon_health.py +0 -0
  219. {graphite_code-1.9.3 → graphite_code-1.10.0}/tests/test_daemon_health_activation.py +0 -0
  220. {graphite_code-1.9.3 → graphite_code-1.10.0}/tests/test_daemon_launch.py +0 -0
  221. {graphite_code-1.9.3 → graphite_code-1.10.0}/tests/test_daemon_service_cli.py +0 -0
  222. {graphite_code-1.9.3 → graphite_code-1.10.0}/tests/test_daemon_snapshot_failure.py +0 -0
  223. {graphite_code-1.9.3 → graphite_code-1.10.0}/tests/test_dependency_install.py +0 -0
  224. {graphite_code-1.9.3 → graphite_code-1.10.0}/tests/test_destructured_binding.py +0 -0
  225. {graphite_code-1.9.3 → graphite_code-1.10.0}/tests/test_determinism.py +0 -0
  226. {graphite_code-1.9.3 → graphite_code-1.10.0}/tests/test_dispatch_evidence.py +0 -0
  227. {graphite_code-1.9.3 → graphite_code-1.10.0}/tests/test_doctor.py +0 -0
  228. {graphite_code-1.9.3 → graphite_code-1.10.0}/tests/test_doctor_agent_hooks.py +0 -0
  229. {graphite_code-1.9.3 → graphite_code-1.10.0}/tests/test_doctor_hooks.py +0 -0
  230. {graphite_code-1.9.3 → graphite_code-1.10.0}/tests/test_doctor_managed_docs.py +0 -0
  231. {graphite_code-1.9.3 → graphite_code-1.10.0}/tests/test_doctor_probes.py +0 -0
  232. {graphite_code-1.9.3 → graphite_code-1.10.0}/tests/test_documentation.py +0 -0
  233. {graphite_code-1.9.3 → graphite_code-1.10.0}/tests/test_edit_apply.py +0 -0
  234. {graphite_code-1.9.3 → graphite_code-1.10.0}/tests/test_engine_identity.py +0 -0
  235. {graphite_code-1.9.3 → graphite_code-1.10.0}/tests/test_exit_codes_reference.py +0 -0
  236. {graphite_code-1.9.3 → graphite_code-1.10.0}/tests/test_external_calls.py +0 -0
  237. {graphite_code-1.9.3 → graphite_code-1.10.0}/tests/test_file_node_id_collision.py +0 -0
  238. {graphite_code-1.9.3 → graphite_code-1.10.0}/tests/test_git_security.py +0 -0
  239. {graphite_code-1.9.3 → graphite_code-1.10.0}/tests/test_go_rust.py +0 -0
  240. {graphite_code-1.9.3 → graphite_code-1.10.0}/tests/test_graph_io.py +0 -0
  241. {graphite_code-1.9.3 → graphite_code-1.10.0}/tests/test_graph_provider_isolation.py +0 -0
  242. {graphite_code-1.9.3 → graphite_code-1.10.0}/tests/test_hardening.py +0 -0
  243. {graphite_code-1.9.3 → graphite_code-1.10.0}/tests/test_health.py +0 -0
  244. {graphite_code-1.9.3 → graphite_code-1.10.0}/tests/test_hook_entry.py +0 -0
  245. {graphite_code-1.9.3 → graphite_code-1.10.0}/tests/test_hook_template.py +0 -0
  246. {graphite_code-1.9.3 → graphite_code-1.10.0}/tests/test_hookinstall.py +0 -0
  247. {graphite_code-1.9.3 → graphite_code-1.10.0}/tests/test_hookshim.py +0 -0
  248. {graphite_code-1.9.3 → graphite_code-1.10.0}/tests/test_html_security.py +0 -0
  249. {graphite_code-1.9.3 → graphite_code-1.10.0}/tests/test_incident_ledger.py +0 -0
  250. {graphite_code-1.9.3 → graphite_code-1.10.0}/tests/test_init_hooks.py +0 -0
  251. {graphite_code-1.9.3 → graphite_code-1.10.0}/tests/test_init_validation_exit.py +0 -0
  252. {graphite_code-1.9.3 → graphite_code-1.10.0}/tests/test_launchd_agent.py +0 -0
  253. {graphite_code-1.9.3 → graphite_code-1.10.0}/tests/test_lifecycle_operator.py +0 -0
  254. {graphite_code-1.9.3 → graphite_code-1.10.0}/tests/test_listing.py +0 -0
  255. {graphite_code-1.9.3 → graphite_code-1.10.0}/tests/test_listing_surfaces.py +0 -0
  256. {graphite_code-1.9.3 → graphite_code-1.10.0}/tests/test_llm.py +0 -0
  257. {graphite_code-1.9.3 → graphite_code-1.10.0}/tests/test_llm_probe.py +0 -0
  258. {graphite_code-1.9.3 → graphite_code-1.10.0}/tests/test_mcp.py +0 -0
  259. {graphite_code-1.9.3 → graphite_code-1.10.0}/tests/test_mcp_server.py +0 -0
  260. {graphite_code-1.9.3 → graphite_code-1.10.0}/tests/test_mcp_server_channel_attribution.py +0 -0
  261. {graphite_code-1.9.3 → graphite_code-1.10.0}/tests/test_member_call_receiver.py +0 -0
  262. {graphite_code-1.9.3 → graphite_code-1.10.0}/tests/test_method_dispatch_scope.py +0 -0
  263. {graphite_code-1.9.3 → graphite_code-1.10.0}/tests/test_monorepo.py +0 -0
  264. {graphite_code-1.9.3 → graphite_code-1.10.0}/tests/test_mutation_tests.py +0 -0
  265. {graphite_code-1.9.3 → graphite_code-1.10.0}/tests/test_natural_query.py +0 -0
  266. {graphite_code-1.9.3 → graphite_code-1.10.0}/tests/test_no_path_is_graded.py +0 -0
  267. {graphite_code-1.9.3 → graphite_code-1.10.0}/tests/test_node_identity.py +0 -0
  268. {graphite_code-1.9.3 → graphite_code-1.10.0}/tests/test_ollama_executor.py +0 -0
  269. {graphite_code-1.9.3 → graphite_code-1.10.0}/tests/test_overlays.py +0 -0
  270. {graphite_code-1.9.3 → graphite_code-1.10.0}/tests/test_path_leak_fixture.py +0 -0
  271. {graphite_code-1.9.3 → graphite_code-1.10.0}/tests/test_probe_diagnostics.py +0 -0
  272. {graphite_code-1.9.3 → graphite_code-1.10.0}/tests/test_probe_process.py +0 -0
  273. {graphite_code-1.9.3 → graphite_code-1.10.0}/tests/test_probe_workspace.py +0 -0
  274. {graphite_code-1.9.3 → graphite_code-1.10.0}/tests/test_process_contracts.py +0 -0
  275. {graphite_code-1.9.3 → graphite_code-1.10.0}/tests/test_programs.py +0 -0
  276. {graphite_code-1.9.3 → graphite_code-1.10.0}/tests/test_provider_claude_probe.py +0 -0
  277. {graphite_code-1.9.3 → graphite_code-1.10.0}/tests/test_provider_codex_probe.py +0 -0
  278. {graphite_code-1.9.3 → graphite_code-1.10.0}/tests/test_provider_lifecycle.py +0 -0
  279. {graphite_code-1.9.3 → graphite_code-1.10.0}/tests/test_provider_lifecycle_service.py +0 -0
  280. {graphite_code-1.9.3 → graphite_code-1.10.0}/tests/test_provider_lifecycle_storage.py +0 -0
  281. {graphite_code-1.9.3 → graphite_code-1.10.0}/tests/test_provider_observer.py +0 -0
  282. {graphite_code-1.9.3 → graphite_code-1.10.0}/tests/test_provider_ollama_probe.py +0 -0
  283. {graphite_code-1.9.3 → graphite_code-1.10.0}/tests/test_provider_openrouter_probe.py +0 -0
  284. {graphite_code-1.9.3 → graphite_code-1.10.0}/tests/test_provider_probe_runner.py +0 -0
  285. {graphite_code-1.9.3 → graphite_code-1.10.0}/tests/test_public_surface.py +0 -0
  286. {graphite_code-1.9.3 → graphite_code-1.10.0}/tests/test_published_schemas.py +0 -0
  287. {graphite_code-1.9.3 → graphite_code-1.10.0}/tests/test_pyscope.py +0 -0
  288. {graphite_code-1.9.3 → graphite_code-1.10.0}/tests/test_pyscopeoracle.py +0 -0
  289. {graphite_code-1.9.3 → graphite_code-1.10.0}/tests/test_python_builtin_named_symbols.py +0 -0
  290. {graphite_code-1.9.3 → graphite_code-1.10.0}/tests/test_python_import_bindings.py +0 -0
  291. {graphite_code-1.9.3 → graphite_code-1.10.0}/tests/test_python_inherits_edge.py +0 -0
  292. {graphite_code-1.9.3 → graphite_code-1.10.0}/tests/test_python_local_alias_call.py +0 -0
  293. {graphite_code-1.9.3 → graphite_code-1.10.0}/tests/test_python_reexport_follow.py +0 -0
  294. {graphite_code-1.9.3 → graphite_code-1.10.0}/tests/test_python_resolver.py +0 -0
  295. {graphite_code-1.9.3 → graphite_code-1.10.0}/tests/test_python_scope_identity.py +0 -0
  296. {graphite_code-1.9.3 → graphite_code-1.10.0}/tests/test_query_plan.py +0 -0
  297. {graphite_code-1.9.3 → graphite_code-1.10.0}/tests/test_reliability.py +0 -0
  298. {graphite_code-1.9.3 → graphite_code-1.10.0}/tests/test_replacement_audit.py +0 -0
  299. {graphite_code-1.9.3 → graphite_code-1.10.0}/tests/test_repository_root_ownership.py +0 -0
  300. {graphite_code-1.9.3 → graphite_code-1.10.0}/tests/test_resolve.py +0 -0
  301. {graphite_code-1.9.3 → graphite_code-1.10.0}/tests/test_resolve_python_reexports_of.py +0 -0
  302. {graphite_code-1.9.3 → graphite_code-1.10.0}/tests/test_review.py +0 -0
  303. {graphite_code-1.9.3 → graphite_code-1.10.0}/tests/test_route_pool.py +0 -0
  304. {graphite_code-1.9.3 → graphite_code-1.10.0}/tests/test_route_pool_execution.py +0 -0
  305. {graphite_code-1.9.3 → graphite_code-1.10.0}/tests/test_routing_approval.py +0 -0
  306. {graphite_code-1.9.3 → graphite_code-1.10.0}/tests/test_routing_benchmark.py +0 -0
  307. {graphite_code-1.9.3 → graphite_code-1.10.0}/tests/test_routing_classifier.py +0 -0
  308. {graphite_code-1.9.3 → graphite_code-1.10.0}/tests/test_routing_claude_executor.py +0 -0
  309. {graphite_code-1.9.3 → graphite_code-1.10.0}/tests/test_routing_cli.py +0 -0
  310. {graphite_code-1.9.3 → graphite_code-1.10.0}/tests/test_routing_cli_contracts.py +0 -0
  311. {graphite_code-1.9.3 → graphite_code-1.10.0}/tests/test_routing_cli_recovery.py +0 -0
  312. {graphite_code-1.9.3 → graphite_code-1.10.0}/tests/test_routing_codex_executor.py +0 -0
  313. {graphite_code-1.9.3 → graphite_code-1.10.0}/tests/test_routing_context.py +0 -0
  314. {graphite_code-1.9.3 → graphite_code-1.10.0}/tests/test_routing_contracts.py +0 -0
  315. {graphite_code-1.9.3 → graphite_code-1.10.0}/tests/test_routing_diff_policy.py +0 -0
  316. {graphite_code-1.9.3 → graphite_code-1.10.0}/tests/test_routing_executor.py +0 -0
  317. {graphite_code-1.9.3 → graphite_code-1.10.0}/tests/test_routing_openrouter_executor.py +0 -0
  318. {graphite_code-1.9.3 → graphite_code-1.10.0}/tests/test_routing_policy.py +0 -0
  319. {graphite_code-1.9.3 → graphite_code-1.10.0}/tests/test_routing_process_runner.py +0 -0
  320. {graphite_code-1.9.3 → graphite_code-1.10.0}/tests/test_routing_profiles.py +0 -0
  321. {graphite_code-1.9.3 → graphite_code-1.10.0}/tests/test_routing_registry.py +0 -0
  322. {graphite_code-1.9.3 → graphite_code-1.10.0}/tests/test_routing_schema_validation.py +0 -0
  323. {graphite_code-1.9.3 → graphite_code-1.10.0}/tests/test_routing_security.py +0 -0
  324. {graphite_code-1.9.3 → graphite_code-1.10.0}/tests/test_routing_service.py +0 -0
  325. {graphite_code-1.9.3 → graphite_code-1.10.0}/tests/test_routing_shadow.py +0 -0
  326. {graphite_code-1.9.3 → graphite_code-1.10.0}/tests/test_routing_storage.py +0 -0
  327. {graphite_code-1.9.3 → graphite_code-1.10.0}/tests/test_routing_telemetry.py +0 -0
  328. {graphite_code-1.9.3 → graphite_code-1.10.0}/tests/test_routing_worktree.py +0 -0
  329. {graphite_code-1.9.3 → graphite_code-1.10.0}/tests/test_routing_zai_executor.py +0 -0
  330. {graphite_code-1.9.3 → graphite_code-1.10.0}/tests/test_routing_zai_probe.py +0 -0
  331. {graphite_code-1.9.3 → graphite_code-1.10.0}/tests/test_savings.py +0 -0
  332. {graphite_code-1.9.3 → graphite_code-1.10.0}/tests/test_search.py +0 -0
  333. {graphite_code-1.9.3 → graphite_code-1.10.0}/tests/test_self_super_dispatch.py +0 -0
  334. {graphite_code-1.9.3 → graphite_code-1.10.0}/tests/test_smoke.py +0 -0
  335. {graphite_code-1.9.3 → graphite_code-1.10.0}/tests/test_sqloracle.py +0 -0
  336. {graphite_code-1.9.3 → graphite_code-1.10.0}/tests/test_synthetic_repo.py +0 -0
  337. {graphite_code-1.9.3 → graphite_code-1.10.0}/tests/test_systemd_unit.py +0 -0
  338. {graphite_code-1.9.3 → graphite_code-1.10.0}/tests/test_ts_bridge.py +0 -0
  339. {graphite_code-1.9.3 → graphite_code-1.10.0}/tests/test_typescript_activation.py +0 -0
  340. {graphite_code-1.9.3 → graphite_code-1.10.0}/tests/test_typescript_resolver.py +0 -0
  341. {graphite_code-1.9.3 → graphite_code-1.10.0}/tests/test_usage_ledger.py +0 -0
  342. {graphite_code-1.9.3 → graphite_code-1.10.0}/tests/test_verify_artifact.py +0 -0
  343. {graphite_code-1.9.3 → graphite_code-1.10.0}/tests/test_verify_published_release.py +0 -0
  344. {graphite_code-1.9.3 → graphite_code-1.10.0}/tests/test_watch.py +0 -0
  345. {graphite_code-1.9.3 → graphite_code-1.10.0}/tests/test_windows_startup.py +0 -0
  346. {graphite_code-1.9.3 → graphite_code-1.10.0}/tests/test_windows_task.py +0 -0
  347. {graphite_code-1.9.3 → graphite_code-1.10.0}/tests/test_zai_edit.py +0 -0
@@ -13,6 +13,192 @@ machine-checkable identity; the version is for humans.
13
13
 
14
14
  [Keep a Changelog]: https://keepachangelog.com/en/1.1.0/
15
15
 
16
+ ## [1.10.0] — 2026-12-06
17
+
18
+ A minor release: two new kinds of edge, three new conditional caveats, one
19
+ new `doctor` check and added fields, plus fixes. No command, option, exit
20
+ code or entry point is removed or renamed, and every field a JSON output had
21
+ is still there (`docs/compatibility.md`: additions are minors). Two things
22
+ to know before upgrading:
23
+
24
+ - Graphs are re-extracted on the first build, and answers change: `callers`,
25
+ `calls` and `impact` list more than they did, and some answers that graded
26
+ `decision_grade` now grade `advisory`, where the graph can show that the
27
+ old grade was not earned.
28
+ - The managed-doc template is at `DOC_VERSION` 16. A repository's managed
29
+ files are rewritten on its next `graphite init`.
30
+
31
+ ### Added
32
+
33
+ **A Python function passed as a value is an edge.** A function used as a
34
+ value made no edge: `functools.partial(generate, p)`,
35
+ `threading.Timer(5, watchdog)`, `_run(cmd_x, repo)`. `callers` listed the
36
+ direct calls alone, and a non-empty list at `decision_grade` read as
37
+ complete. A bare name, or `module.name` on an imported module of the
38
+ repository, in a value position is now a `references` edge tagged
39
+ `PY_VALUE_REFERENCE`. Value positions are an argument, an assignment, a
40
+ return or yield, a container element, a default, a lambda or comprehension
41
+ body, an arm of a conditional and an operand of `and`/`or`. The name is
42
+ bound in the scope it is evaluated in, by the resolver a call of the same
43
+ spelling goes through, so a function-local import resolves. A parameter, a
44
+ local value, a name bound twice, an external import and a builtin make no
45
+ edge, and neither does a module-level function whose own module binds its
46
+ name again (`f = wrap(f)`). An edge is kept only where it ends at a function
47
+ that is not a method. References are not part of the resolution-health
48
+ ratio.
49
+
50
+ Each row of `callers` and `calls` now carries `via`, and a Python answer
51
+ carries `value_references`, a count. The conditional caveat
52
+ `python-value-reference` is present where that count is not 0 or could not
53
+ be taken. It is a disclosure and does not lower the grade. Still not
54
+ modelled: decorators, `self.method` passed as a value, and per-row `sites`;
55
+ the `python-callback-registration` caveat stays.
56
+
57
+ **An HTML page is linked to the scripts and stylesheets it loads by tag.**
58
+ `<script src>` and `<link rel="stylesheet" href>` made no edge. In a site of
59
+ static pages those tags are the only place "which pages load this file" is
60
+ written, so `impact` on a browser script answered "none found". A tag that
61
+ names exactly one file of the repository is now an `imports` edge from the
62
+ page to that file. A relative path is read from the page's folder. A
63
+ root-absolute path (`/app.js`) is tried against every folder the page sits
64
+ under and bound only when exactly one holds it: nothing in a page says which
65
+ folder is the site root, and where two folders answer, no edge is made.
66
+ Another origin, a template expression and a path above the repository make
67
+ nothing.
68
+
69
+ A local-looking reference that names no single file makes no edge. The page
70
+ keeps the path's last segment (`unresolved_assets` on its node in
71
+ `graph.json`), and an answer about a file of that name is capped at
72
+ `advisory` with the new conditional caveat `html-asset-reference-unresolved`.
73
+ Two limits: an answer whose target is itself an HTML or CSS file has no
74
+ graded block, so the caveat cannot appear on it; and pages built by a
75
+ template or a bundler are not read.
76
+
77
+ **`doctor` reports a program-named file at the repository root** (check
78
+ `program-shadow`). `.mcp.json` and the agent hooks name `python` bare,
79
+ because a tracked file must work on every machine. On Windows a `cmd.exe`
80
+ shell runs a `python.cmd` from the working directory before `PATH`. The
81
+ check lists any file at the root of a repository graphite is set up in that
82
+ is named `python`, `graphite` or `graphite-mcp` with a `.exe`, `.cmd`,
83
+ `.bat` or `.com` extension. It reads names only and removes nothing.
84
+
85
+ **`scripts/pyvalueoracle.py`**, an oracle that grades the graph's Python
86
+ `references` edges against CPython's own scoping (`symtable` and `ast`).
87
+ Every pair is scored, none sampled. On this release's tree: 577 pairs held,
88
+ 567 expected, 567 true, 0 false, 0 missed, and the 10 not expected all reach
89
+ their function through a re-export. The control, a deliberately wrong
90
+ binding run through the same oracle, reports 468 false and 171 missed. It is
91
+ a maintainer's tool in the source distribution, not part of the wheel. Run
92
+ on a copy of the script without `pyscopeoracle.py` beside it, it names the
93
+ missing file.
94
+
95
+ ### Fixed
96
+
97
+ **A Python import that failed to bind is no longer counted as external.**
98
+ An absolute import was looked up under the repository root and `src/` only.
99
+ Anything else was tagged `EXTERNAL_IMPORT`, and calls through it
100
+ `EXTERNAL_CALL`, so both left the resolution-health denominator: the ratio
101
+ rose where binding had failed, and an empty imported-by or a short `callers`
102
+ answer graded `decision_grade` while false.
103
+
104
+ - Imports now bind through the roots a repository states: the directory of
105
+ a nested `pyproject.toml`, `setup.py` or `setup.cfg` and its `src/`, and
106
+ each entry of pytest's `pythonpath` (`pytest.ini`, `pyproject.toml`,
107
+ `tox.ini`, `setup.cfg`). A root applies to importers under its scope,
108
+ nearest first.
109
+ - An import no stated root reaches, of a name a module or package of the
110
+ repository answers to, is unresolved: a counted miss, and a call through
111
+ it is neither external nor bound by name. Its edge carries the name as
112
+ written (`unresolved_module`, an added field in `graph.json`). A
113
+ standard-library name stays external.
114
+ - An answer about a file such an import is written in, or may be of, is
115
+ capped at `advisory` with the new conditional caveat
116
+ `python-import-unresolved-in-repo`. One miss among a thousand imports does
117
+ not move a ratio, so the ratio cannot guard that answer.
118
+
119
+ **The MCP server reports graphite's version.** It was built with no version,
120
+ so the SDK filled `serverInfo.version` with its own, and a client was told
121
+ it was talking to a graphite numbered like the SDK.
122
+
123
+ **The generated VS Code task shows a failure and ignores the working
124
+ directory.** The task `init` writes runs by itself on folder open. It was
125
+ written with `reveal: never`, so a failure was never shown, and it names
126
+ `python` bare. It now reveals its panel when the command fails, and sets
127
+ `NoDefaultCurrentDirectoryInExePath` in its own environment, with which
128
+ `cmd.exe` no longer runs a `python.cmd` from the repository root: measured
129
+ with a planted file, which ran without the variable and did not with it.
130
+ That VS Code hands the variable to the shell it starts is its documented
131
+ behaviour and was not measured. It still runs on folder open. `init`
132
+ replaces its own entry on every run, so an existing task is repaired by the
133
+ next `init`.
134
+
135
+ **Every launch written into text for an agent carries `-P`.** The generated
136
+ launches (`.mcp.json`, the agent hooks, the git trampolines) already passed
137
+ `-P`; the text handed to agents did not. `python -P -m graphite` is now what
138
+ the `GRAPHITE.md` template, the agents section `bootstrap` writes, the
139
+ session-start contract and its graph-status lines, the remind-mode context
140
+ and the strict denial's redirect all say. The template says what the flag is
141
+ for. This is the `DOC_VERSION` 16 change.
142
+
143
+ **The strict hook's denial of a variable path says what to do.** A
144
+ single-file search whose path is held in a shell variable is denied, because
145
+ the hook cannot expand it, and the message ended "searches scoped to a
146
+ single file path are always allowed", which is what the reader had just
147
+ done. It now says to write the path literally or to use the Grep tool with a
148
+ path. What is denied and allowed is unchanged.
149
+
150
+ **`graphite init --help` names strict as the default hook mode.** `init`
151
+ writes strict hook wiring unless `--remind` is given; the help still called
152
+ remind the default.
153
+
154
+ **A cell at exactly the health threshold is healthy.** The boundary (0.8) is
155
+ now pinned by a test; the behaviour is unchanged.
156
+
157
+ ## [1.9.4] — 2026-11-08
158
+
159
+ A patch release: one fix, and no change to any command, option, exit code,
160
+ entry point or published schema. Which folders a command or an agent session
161
+ registers with the daemon is not a stable surface (`docs/compatibility.md`),
162
+ and `graphite activate` is unchanged.
163
+
164
+ ### Fixed
165
+
166
+ **A command or agent session in a folder that is in no repository no longer
167
+ puts that folder under daemon supervision unless graphite is set up there,
168
+ and a drive or filesystem root never.** The CLI registers the repository a
169
+ command is typed in, so agents graphite cannot hook still get their
170
+ repository supervised. For a folder in no Git repository at all, it
171
+ registered the folder itself, whatever it was. A command typed in a drive
172
+ root, which is where release deploy steps run to keep a checkout off
173
+ `sys.path`, put the whole drive under supervision. Every build of it then
174
+ timed out after the daemon's 240-second limit and was retried, for the hour
175
+ until the marker expired. One machine's records show it four times, each on
176
+ a release day:
177
+ - three episodes ran for about an hour, with 17, 14 and 14 timed-out builds;
178
+ - the fourth, caused by commands run from the drive root after a deploy, was
179
+ cut short at 4 when its marker was removed.
180
+
181
+ A home directory is the same case.
182
+
183
+ Such a folder now registers only where graphite is set up: it has a graph,
184
+ or the `GRAPHITE.md` that `init` writes. A drive or filesystem root never
185
+ does, not even one holding `.git`, since a stray `.git` there is still the
186
+ whole drive; `trusted_root` already refuses such a root for the same reason.
187
+ The price: a repository whose root really is a drive root no longer
188
+ registers from a command or a session, and is registered with
189
+ `graphite activate` instead. A checkout's root anywhere else still registers
190
+ itself, set up or not, which is how a fresh clone gets its first graph. A
191
+ folder below a checkout's root still registers nothing.
192
+
193
+ The agent hooks follow the same rule from one shared definition. A session's
194
+ `cwd` follows a `cd` in the shell, and `Stop` renews the marker every turn,
195
+ so a session that wandered to a drive root would keep the drive supervised
196
+ for as long as it stayed there. `graphite activate` names its path and is
197
+ still believed as given.
198
+
199
+ In a folder outside any repository that has no graph yet, the `build` that
200
+ makes the first graph registers nothing, and the next command does.
201
+
16
202
  ## [1.9.3] — 2026-11-08
17
203
 
18
204
  A patch release: three fixes, and no change to any command, option, exit
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.5
2
2
  Name: graphite-code
3
- Version: 1.9.3
3
+ Version: 1.10.0
4
4
  Summary: Local-first, zero-LLM knowledge graph extraction for codebases.
5
5
  Project-URL: Homepage, https://github.com/jared0565/graphite
6
6
  Project-URL: Repository, https://github.com/jared0565/graphite
@@ -49,7 +49,7 @@ Description-Content-Type: text/markdown
49
49
 
50
50
  Local-first, deterministic knowledge graph extraction for codebases — zero-LLM, daemon-maintained, agent-agnostic.
51
51
 
52
- **Status: 1.9.3, production/stable.** Published on PyPI as
52
+ **Status: 1.10.0, production/stable.** Published on PyPI as
53
53
  [`graphite-code`](https://pypi.org/project/graphite-code/) with PEP 740
54
54
  attestations; supported on Windows, Linux and macOS with Python 3.11–3.14
55
55
  (every cell gates CI). What 1.x promises — CLI, JSON outputs, `graph.json`,
@@ -2,7 +2,7 @@
2
2
 
3
3
  Local-first, deterministic knowledge graph extraction for codebases — zero-LLM, daemon-maintained, agent-agnostic.
4
4
 
5
- **Status: 1.9.3, production/stable.** Published on PyPI as
5
+ **Status: 1.10.0, production/stable.** Published on PyPI as
6
6
  [`graphite-code`](https://pypi.org/project/graphite-code/) with PEP 740
7
7
  attestations; supported on Windows, Linux and macOS with Python 3.11–3.14
8
8
  (every cell gates CI). What 1.x promises — CLI, JSON outputs, `graph.json`,
@@ -437,6 +437,15 @@ readback. Until 1.9.3 the readback stopped at the version, so an MCP probe that
437
437
  on every run with mcp beside graphite shipped unseen in every wheel from 0.3.0, the first
438
438
  one deployed, through 1.9.2.
439
439
 
440
+ Run every `graphite` command of a readback from a repository, as `python -P -m graphite`
441
+ so the working directory cannot shadow the package. The `python -c` checks above are the
442
+ only part to run from a neutral directory. Through 1.9.3 a `graphite` command typed in a
443
+ folder that is in no repository registered that folder as open: typed in a drive root --
444
+ where deploy steps run to keep the checkout off `sys.path` -- it put the whole drive under
445
+ daemon supervision, and every build of it timed out until the marker expired an hour
446
+ later. A release with the fix no longer does that, but the installed version during a
447
+ deploy is the old one, so the rule holds for the readback either way.
448
+
440
449
  Prove a rollback path in a throwaway virtual environment before relying on it,
441
450
  and prove the return as well. An untested recovery step is not a recovery step.
442
451