graphite-code 1.8.1__tar.gz → 1.8.2__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 (338) hide show
  1. {graphite_code-1.8.1 → graphite_code-1.8.2}/CHANGELOG.md +54 -7
  2. {graphite_code-1.8.1 → graphite_code-1.8.2}/PKG-INFO +1 -1
  3. {graphite_code-1.8.1 → graphite_code-1.8.2}/RELEASING.md +9 -0
  4. {graphite_code-1.8.1 → graphite_code-1.8.2}/scripts/gen_cli_reference.py +7 -6
  5. {graphite_code-1.8.1 → graphite_code-1.8.2}/scripts/verify_artifact.py +114 -2
  6. {graphite_code-1.8.1 → graphite_code-1.8.2}/src/graphite/__init__.py +1 -1
  7. {graphite_code-1.8.1 → graphite_code-1.8.2}/tests/test_agent_hooks.py +1 -1
  8. {graphite_code-1.8.1 → graphite_code-1.8.2}/tests/test_bootstrap.py +9 -8
  9. {graphite_code-1.8.1 → graphite_code-1.8.2}/tests/test_cli_channel.py +1 -1
  10. {graphite_code-1.8.1 → graphite_code-1.8.2}/tests/test_cli_reference.py +2 -1
  11. {graphite_code-1.8.1 → graphite_code-1.8.2}/tests/test_daemon_health.py +45 -45
  12. {graphite_code-1.8.1 → graphite_code-1.8.2}/tests/test_daemon_health_activation.py +3 -3
  13. {graphite_code-1.8.1 → graphite_code-1.8.2}/tests/test_daemon_snapshot_failure.py +5 -5
  14. {graphite_code-1.8.1 → graphite_code-1.8.2}/tests/test_documentation.py +1 -1
  15. {graphite_code-1.8.1 → graphite_code-1.8.2}/tests/test_hardening.py +34 -12
  16. {graphite_code-1.8.1 → graphite_code-1.8.2}/tests/test_init.py +6 -2
  17. {graphite_code-1.8.1 → graphite_code-1.8.2}/tests/test_mutation_tests.py +2 -2
  18. {graphite_code-1.8.1 → graphite_code-1.8.2}/tests/test_verify_artifact.py +110 -5
  19. {graphite_code-1.8.1 → graphite_code-1.8.2}/tests/test_verify_published_release.py +1 -1
  20. {graphite_code-1.8.1 → graphite_code-1.8.2}/tests/test_windows_startup.py +1 -1
  21. {graphite_code-1.8.1 → graphite_code-1.8.2}/tests/test_windows_task.py +2 -2
  22. {graphite_code-1.8.1 → graphite_code-1.8.2}/.gitignore +0 -0
  23. {graphite_code-1.8.1 → graphite_code-1.8.2}/.mcp.json +0 -0
  24. {graphite_code-1.8.1 → graphite_code-1.8.2}/ARCHITECTURE.md +0 -0
  25. {graphite_code-1.8.1 → graphite_code-1.8.2}/CONTRIBUTING.md +0 -0
  26. {graphite_code-1.8.1 → graphite_code-1.8.2}/LICENSE +0 -0
  27. {graphite_code-1.8.1 → graphite_code-1.8.2}/README.md +0 -0
  28. {graphite_code-1.8.1 → graphite_code-1.8.2}/SECURITY.md +0 -0
  29. {graphite_code-1.8.1 → graphite_code-1.8.2}/benchmarks/__init__.py +0 -0
  30. {graphite_code-1.8.1 → graphite_code-1.8.2}/benchmarks/build_benchmark.py +0 -0
  31. {graphite_code-1.8.1 → graphite_code-1.8.2}/benchmarks/realty_router/README.md +0 -0
  32. {graphite_code-1.8.1 → graphite_code-1.8.2}/benchmarks/realty_router/__init__.py +0 -0
  33. {graphite_code-1.8.1 → graphite_code-1.8.2}/benchmarks/realty_router/evaluate.py +0 -0
  34. {graphite_code-1.8.1 → graphite_code-1.8.2}/benchmarks/realty_router/tasks.json +0 -0
  35. {graphite_code-1.8.1 → graphite_code-1.8.2}/benchmarks/synthetic_repo.py +0 -0
  36. {graphite_code-1.8.1 → graphite_code-1.8.2}/pyproject.toml +0 -0
  37. {graphite_code-1.8.1 → graphite_code-1.8.2}/scripts/__init__.py +0 -0
  38. {graphite_code-1.8.1 → graphite_code-1.8.2}/scripts/compare_dist.py +0 -0
  39. {graphite_code-1.8.1 → graphite_code-1.8.2}/scripts/mutation_tests.py +0 -0
  40. {graphite_code-1.8.1 → graphite_code-1.8.2}/scripts/pyscopeoracle.py +0 -0
  41. {graphite_code-1.8.1 → graphite_code-1.8.2}/scripts/sqloracle.py +0 -0
  42. {graphite_code-1.8.1 → graphite_code-1.8.2}/scripts/verify_published_release.py +0 -0
  43. {graphite_code-1.8.1 → graphite_code-1.8.2}/src/graphite/__main__.py +0 -0
  44. {graphite_code-1.8.1 → graphite_code-1.8.2}/src/graphite/_cleanup_worker.py +0 -0
  45. {graphite_code-1.8.1 → graphite_code-1.8.2}/src/graphite/_win32_ctypes.py +0 -0
  46. {graphite_code-1.8.1 → graphite_code-1.8.2}/src/graphite/activation.py +0 -0
  47. {graphite_code-1.8.1 → graphite_code-1.8.2}/src/graphite/agent_hooks.py +0 -0
  48. {graphite_code-1.8.1 → graphite_code-1.8.2}/src/graphite/agent_settings.py +0 -0
  49. {graphite_code-1.8.1 → graphite_code-1.8.2}/src/graphite/analyze.py +0 -0
  50. {graphite_code-1.8.1 → graphite_code-1.8.2}/src/graphite/answer_contract.py +0 -0
  51. {graphite_code-1.8.1 → graphite_code-1.8.2}/src/graphite/bootstrap.py +0 -0
  52. {graphite_code-1.8.1 → graphite_code-1.8.2}/src/graphite/buildlock.py +0 -0
  53. {graphite_code-1.8.1 → graphite_code-1.8.2}/src/graphite/cache.py +0 -0
  54. {graphite_code-1.8.1 → graphite_code-1.8.2}/src/graphite/channel.py +0 -0
  55. {graphite_code-1.8.1 → graphite_code-1.8.2}/src/graphite/cli.py +0 -0
  56. {graphite_code-1.8.1 → graphite_code-1.8.2}/src/graphite/cluster.py +0 -0
  57. {graphite_code-1.8.1 → graphite_code-1.8.2}/src/graphite/config.py +0 -0
  58. {graphite_code-1.8.1 → graphite_code-1.8.2}/src/graphite/context.py +0 -0
  59. {graphite_code-1.8.1 → graphite_code-1.8.2}/src/graphite/daemon.py +0 -0
  60. {graphite_code-1.8.1 → graphite_code-1.8.2}/src/graphite/daemon_health.py +0 -0
  61. {graphite_code-1.8.1 → graphite_code-1.8.2}/src/graphite/daemon_launch.py +0 -0
  62. {graphite_code-1.8.1 → graphite_code-1.8.2}/src/graphite/debt.py +0 -0
  63. {graphite_code-1.8.1 → graphite_code-1.8.2}/src/graphite/dependency_install.py +0 -0
  64. {graphite_code-1.8.1 → graphite_code-1.8.2}/src/graphite/detach.py +0 -0
  65. {graphite_code-1.8.1 → graphite_code-1.8.2}/src/graphite/doctor.py +0 -0
  66. {graphite_code-1.8.1 → graphite_code-1.8.2}/src/graphite/doctor_probes.py +0 -0
  67. {graphite_code-1.8.1 → graphite_code-1.8.2}/src/graphite/engine_identity.py +0 -0
  68. {graphite_code-1.8.1 → graphite_code-1.8.2}/src/graphite/export/__init__.py +0 -0
  69. {graphite_code-1.8.1 → graphite_code-1.8.2}/src/graphite/export/html.py +0 -0
  70. {graphite_code-1.8.1 → graphite_code-1.8.2}/src/graphite/export/json.py +0 -0
  71. {graphite_code-1.8.1 → graphite_code-1.8.2}/src/graphite/export/md.py +0 -0
  72. {graphite_code-1.8.1 → graphite_code-1.8.2}/src/graphite/extract/__init__.py +0 -0
  73. {graphite_code-1.8.1 → graphite_code-1.8.2}/src/graphite/extract/ast.py +0 -0
  74. {graphite_code-1.8.1 → graphite_code-1.8.2}/src/graphite/extract/pyscope.py +0 -0
  75. {graphite_code-1.8.1 → graphite_code-1.8.2}/src/graphite/freshness.py +0 -0
  76. {graphite_code-1.8.1 → graphite_code-1.8.2}/src/graphite/git.py +0 -0
  77. {graphite_code-1.8.1 → graphite_code-1.8.2}/src/graphite/graph.py +0 -0
  78. {graphite_code-1.8.1 → graphite_code-1.8.2}/src/graphite/graph_io.py +0 -0
  79. {graphite_code-1.8.1 → graphite_code-1.8.2}/src/graphite/health.py +0 -0
  80. {graphite_code-1.8.1 → graphite_code-1.8.2}/src/graphite/hook_entry.py +0 -0
  81. {graphite_code-1.8.1 → graphite_code-1.8.2}/src/graphite/hookinstall.py +0 -0
  82. {graphite_code-1.8.1 → graphite_code-1.8.2}/src/graphite/hookshim.py +0 -0
  83. {graphite_code-1.8.1 → graphite_code-1.8.2}/src/graphite/incident_ledger.py +0 -0
  84. {graphite_code-1.8.1 → graphite_code-1.8.2}/src/graphite/ingest.py +0 -0
  85. {graphite_code-1.8.1 → graphite_code-1.8.2}/src/graphite/init.py +0 -0
  86. {graphite_code-1.8.1 → graphite_code-1.8.2}/src/graphite/io.py +0 -0
  87. {graphite_code-1.8.1 → graphite_code-1.8.2}/src/graphite/launchd_agent.py +0 -0
  88. {graphite_code-1.8.1 → graphite_code-1.8.2}/src/graphite/listing.py +0 -0
  89. {graphite_code-1.8.1 → graphite_code-1.8.2}/src/graphite/llm.py +0 -0
  90. {graphite_code-1.8.1 → graphite_code-1.8.2}/src/graphite/llm_probe.py +0 -0
  91. {graphite_code-1.8.1 → graphite_code-1.8.2}/src/graphite/mcp.py +0 -0
  92. {graphite_code-1.8.1 → graphite_code-1.8.2}/src/graphite/mcp_server.py +0 -0
  93. {graphite_code-1.8.1 → graphite_code-1.8.2}/src/graphite/natural_query.py +0 -0
  94. {graphite_code-1.8.1 → graphite_code-1.8.2}/src/graphite/overlays.py +0 -0
  95. {graphite_code-1.8.1 → graphite_code-1.8.2}/src/graphite/ownership.py +0 -0
  96. {graphite_code-1.8.1 → graphite_code-1.8.2}/src/graphite/probe_process.py +0 -0
  97. {graphite_code-1.8.1 → graphite_code-1.8.2}/src/graphite/probe_workspace.py +0 -0
  98. {graphite_code-1.8.1 → graphite_code-1.8.2}/src/graphite/process_contracts.py +0 -0
  99. {graphite_code-1.8.1 → graphite_code-1.8.2}/src/graphite/programs.py +0 -0
  100. {graphite_code-1.8.1 → graphite_code-1.8.2}/src/graphite/provider_observer.py +0 -0
  101. {graphite_code-1.8.1 → graphite_code-1.8.2}/src/graphite/py.typed +0 -0
  102. {graphite_code-1.8.1 → graphite_code-1.8.2}/src/graphite/query.py +0 -0
  103. {graphite_code-1.8.1 → graphite_code-1.8.2}/src/graphite/query_plan.py +0 -0
  104. {graphite_code-1.8.1 → graphite_code-1.8.2}/src/graphite/replacement_audit.py +0 -0
  105. {graphite_code-1.8.1 → graphite_code-1.8.2}/src/graphite/resolve.py +0 -0
  106. {graphite_code-1.8.1 → graphite_code-1.8.2}/src/graphite/review.py +0 -0
  107. {graphite_code-1.8.1 → graphite_code-1.8.2}/src/graphite/routing/__init__.py +0 -0
  108. {graphite_code-1.8.1 → graphite_code-1.8.2}/src/graphite/routing/approval.py +0 -0
  109. {graphite_code-1.8.1 → graphite_code-1.8.2}/src/graphite/routing/classifier.py +0 -0
  110. {graphite_code-1.8.1 → graphite_code-1.8.2}/src/graphite/routing/claude_executor.py +0 -0
  111. {graphite_code-1.8.1 → graphite_code-1.8.2}/src/graphite/routing/claude_probe.py +0 -0
  112. {graphite_code-1.8.1 → graphite_code-1.8.2}/src/graphite/routing/cli_identity.py +0 -0
  113. {graphite_code-1.8.1 → graphite_code-1.8.2}/src/graphite/routing/codex_executor.py +0 -0
  114. {graphite_code-1.8.1 → graphite_code-1.8.2}/src/graphite/routing/codex_probe.py +0 -0
  115. {graphite_code-1.8.1 → graphite_code-1.8.2}/src/graphite/routing/context_builder.py +0 -0
  116. {graphite_code-1.8.1 → graphite_code-1.8.2}/src/graphite/routing/contracts.py +0 -0
  117. {graphite_code-1.8.1 → graphite_code-1.8.2}/src/graphite/routing/diff_policy.py +0 -0
  118. {graphite_code-1.8.1 → graphite_code-1.8.2}/src/graphite/routing/edit_apply.py +0 -0
  119. {graphite_code-1.8.1 → graphite_code-1.8.2}/src/graphite/routing/effort.py +0 -0
  120. {graphite_code-1.8.1 → graphite_code-1.8.2}/src/graphite/routing/lifecycle.py +0 -0
  121. {graphite_code-1.8.1 → graphite_code-1.8.2}/src/graphite/routing/lifecycle_operator.py +0 -0
  122. {graphite_code-1.8.1 → graphite_code-1.8.2}/src/graphite/routing/lifecycle_service.py +0 -0
  123. {graphite_code-1.8.1 → graphite_code-1.8.2}/src/graphite/routing/lifecycle_storage.py +0 -0
  124. {graphite_code-1.8.1 → graphite_code-1.8.2}/src/graphite/routing/ollama_executor.py +0 -0
  125. {graphite_code-1.8.1 → graphite_code-1.8.2}/src/graphite/routing/ollama_probe.py +0 -0
  126. {graphite_code-1.8.1 → graphite_code-1.8.2}/src/graphite/routing/openrouter_executor.py +0 -0
  127. {graphite_code-1.8.1 → graphite_code-1.8.2}/src/graphite/routing/openrouter_probe.py +0 -0
  128. {graphite_code-1.8.1 → graphite_code-1.8.2}/src/graphite/routing/policy.py +0 -0
  129. {graphite_code-1.8.1 → graphite_code-1.8.2}/src/graphite/routing/probe_runner.py +0 -0
  130. {graphite_code-1.8.1 → graphite_code-1.8.2}/src/graphite/routing/process_runner.py +0 -0
  131. {graphite_code-1.8.1 → graphite_code-1.8.2}/src/graphite/routing/profiles.py +0 -0
  132. {graphite_code-1.8.1 → graphite_code-1.8.2}/src/graphite/routing/prompt.py +0 -0
  133. {graphite_code-1.8.1 → graphite_code-1.8.2}/src/graphite/routing/registry.py +0 -0
  134. {graphite_code-1.8.1 → graphite_code-1.8.2}/src/graphite/routing/route_pool.py +0 -0
  135. {graphite_code-1.8.1 → graphite_code-1.8.2}/src/graphite/routing/route_pool_execution.py +0 -0
  136. {graphite_code-1.8.1 → graphite_code-1.8.2}/src/graphite/routing/schema_validation.py +0 -0
  137. {graphite_code-1.8.1 → graphite_code-1.8.2}/src/graphite/routing/service.py +0 -0
  138. {graphite_code-1.8.1 → graphite_code-1.8.2}/src/graphite/routing/settings.py +0 -0
  139. {graphite_code-1.8.1 → graphite_code-1.8.2}/src/graphite/routing/shadow.py +0 -0
  140. {graphite_code-1.8.1 → graphite_code-1.8.2}/src/graphite/routing/storage.py +0 -0
  141. {graphite_code-1.8.1 → graphite_code-1.8.2}/src/graphite/routing/telemetry.py +0 -0
  142. {graphite_code-1.8.1 → graphite_code-1.8.2}/src/graphite/routing/worktree.py +0 -0
  143. {graphite_code-1.8.1 → graphite_code-1.8.2}/src/graphite/routing/zai_edit.py +0 -0
  144. {graphite_code-1.8.1 → graphite_code-1.8.2}/src/graphite/routing/zai_executor.py +0 -0
  145. {graphite_code-1.8.1 → graphite_code-1.8.2}/src/graphite/routing/zai_probe.py +0 -0
  146. {graphite_code-1.8.1 → graphite_code-1.8.2}/src/graphite/savings.py +0 -0
  147. {graphite_code-1.8.1 → graphite_code-1.8.2}/src/graphite/systemd_unit.py +0 -0
  148. {graphite_code-1.8.1 → graphite_code-1.8.2}/src/graphite/ts_bridge.py +0 -0
  149. {graphite_code-1.8.1 → graphite_code-1.8.2}/src/graphite/ts_resolver.mjs +0 -0
  150. {graphite_code-1.8.1 → graphite_code-1.8.2}/src/graphite/typescript_activation.py +0 -0
  151. {graphite_code-1.8.1 → graphite_code-1.8.2}/src/graphite/usage_ledger.py +0 -0
  152. {graphite_code-1.8.1 → graphite_code-1.8.2}/src/graphite/validation.py +0 -0
  153. {graphite_code-1.8.1 → graphite_code-1.8.2}/src/graphite/watch.py +0 -0
  154. {graphite_code-1.8.1 → graphite_code-1.8.2}/src/graphite/windows_job.py +0 -0
  155. {graphite_code-1.8.1 → graphite_code-1.8.2}/src/graphite/windows_startup.py +0 -0
  156. {graphite_code-1.8.1 → graphite_code-1.8.2}/src/graphite/windows_task.py +0 -0
  157. {graphite_code-1.8.1 → graphite_code-1.8.2}/tests/conftest.py +0 -0
  158. {graphite_code-1.8.1 → graphite_code-1.8.2}/tests/data/sqloracle/blindspots.py.txt +0 -0
  159. {graphite_code-1.8.1 → graphite_code-1.8.2}/tests/data/sqloracle/round69.py.txt +0 -0
  160. {graphite_code-1.8.1 → graphite_code-1.8.2}/tests/fake_clis/fake_cli.py +0 -0
  161. {graphite_code-1.8.1 → graphite_code-1.8.2}/tests/fixtures/provider_lifecycle_schema_v1.sql +0 -0
  162. {graphite_code-1.8.1 → graphite_code-1.8.2}/tests/fixtures/routing_schema_v2_ca77600.sql +0 -0
  163. {graphite_code-1.8.1 → graphite_code-1.8.2}/tests/fixtures/routing_schema_v3_94eb333.sql +0 -0
  164. {graphite_code-1.8.1 → graphite_code-1.8.2}/tests/fixtures/routing_schema_v4_lifecycle_migration.sql +0 -0
  165. {graphite_code-1.8.1 → graphite_code-1.8.2}/tests/test__win32_ctypes.py +0 -0
  166. {graphite_code-1.8.1 → graphite_code-1.8.2}/tests/test_activation.py +0 -0
  167. {graphite_code-1.8.1 → graphite_code-1.8.2}/tests/test_activation_backstop.py +0 -0
  168. {graphite_code-1.8.1 → graphite_code-1.8.2}/tests/test_agent_hook_activation.py +0 -0
  169. {graphite_code-1.8.1 → graphite_code-1.8.2}/tests/test_agent_hooks_session_books.py +0 -0
  170. {graphite_code-1.8.1 → graphite_code-1.8.2}/tests/test_agent_hooks_session_tagging.py +0 -0
  171. {graphite_code-1.8.1 → graphite_code-1.8.2}/tests/test_agent_settings.py +0 -0
  172. {graphite_code-1.8.1 → graphite_code-1.8.2}/tests/test_answer_contract.py +0 -0
  173. {graphite_code-1.8.1 → graphite_code-1.8.2}/tests/test_arrow_and_constructor_binding.py +0 -0
  174. {graphite_code-1.8.1 → graphite_code-1.8.2}/tests/test_ast_make_id_length.py +0 -0
  175. {graphite_code-1.8.1 → graphite_code-1.8.2}/tests/test_ast_name_a_module_only_imports.py +0 -0
  176. {graphite_code-1.8.1 → graphite_code-1.8.2}/tests/test_ast_source_lines.py +0 -0
  177. {graphite_code-1.8.1 → graphite_code-1.8.2}/tests/test_ast_super_over_a_builtin_base.py +0 -0
  178. {graphite_code-1.8.1 → graphite_code-1.8.2}/tests/test_atomic_write.py +0 -0
  179. {graphite_code-1.8.1 → graphite_code-1.8.2}/tests/test_build_detach.py +0 -0
  180. {graphite_code-1.8.1 → graphite_code-1.8.2}/tests/test_buildlock.py +0 -0
  181. {graphite_code-1.8.1 → graphite_code-1.8.2}/tests/test_cache_engine_identity.py +0 -0
  182. {graphite_code-1.8.1 → graphite_code-1.8.2}/tests/test_cache_entry_pruning.py +0 -0
  183. {graphite_code-1.8.1 → graphite_code-1.8.2}/tests/test_cache_file_identity.py +0 -0
  184. {graphite_code-1.8.1 → graphite_code-1.8.2}/tests/test_cache_file_set.py +0 -0
  185. {graphite_code-1.8.1 → graphite_code-1.8.2}/tests/test_cache_pruning.py +0 -0
  186. {graphite_code-1.8.1 → graphite_code-1.8.2}/tests/test_call_graph.py +0 -0
  187. {graphite_code-1.8.1 → graphite_code-1.8.2}/tests/test_case_ambiguous_answer.py +0 -0
  188. {graphite_code-1.8.1 → graphite_code-1.8.2}/tests/test_channel_attribution.py +0 -0
  189. {graphite_code-1.8.1 → graphite_code-1.8.2}/tests/test_channel_cli.py +0 -0
  190. {graphite_code-1.8.1 → graphite_code-1.8.2}/tests/test_channel_core.py +0 -0
  191. {graphite_code-1.8.1 → graphite_code-1.8.2}/tests/test_channel_kind.py +0 -0
  192. {graphite_code-1.8.1 → graphite_code-1.8.2}/tests/test_channel_lock.py +0 -0
  193. {graphite_code-1.8.1 → graphite_code-1.8.2}/tests/test_channel_log_integrity.py +0 -0
  194. {graphite_code-1.8.1 → graphite_code-1.8.2}/tests/test_channel_mcp.py +0 -0
  195. {graphite_code-1.8.1 → graphite_code-1.8.2}/tests/test_channel_register.py +0 -0
  196. {graphite_code-1.8.1 → graphite_code-1.8.2}/tests/test_channel_report.py +0 -0
  197. {graphite_code-1.8.1 → graphite_code-1.8.2}/tests/test_channel_status.py +0 -0
  198. {graphite_code-1.8.1 → graphite_code-1.8.2}/tests/test_class_field_arrow_binding.py +0 -0
  199. {graphite_code-1.8.1 → graphite_code-1.8.2}/tests/test_cli_below_repository_root.py +0 -0
  200. {graphite_code-1.8.1 → graphite_code-1.8.2}/tests/test_cli_build_missing_path.py +0 -0
  201. {graphite_code-1.8.1 → graphite_code-1.8.2}/tests/test_cli_channel_attribution.py +0 -0
  202. {graphite_code-1.8.1 → graphite_code-1.8.2}/tests/test_cli_doctor_below_root.py +0 -0
  203. {graphite_code-1.8.1 → graphite_code-1.8.2}/tests/test_cli_usage.py +0 -0
  204. {graphite_code-1.8.1 → graphite_code-1.8.2}/tests/test_cli_version.py +0 -0
  205. {graphite_code-1.8.1 → graphite_code-1.8.2}/tests/test_cluster.py +0 -0
  206. {graphite_code-1.8.1 → graphite_code-1.8.2}/tests/test_compare_dist.py +0 -0
  207. {graphite_code-1.8.1 → graphite_code-1.8.2}/tests/test_configuration_reference.py +0 -0
  208. {graphite_code-1.8.1 → graphite_code-1.8.2}/tests/test_context.py +0 -0
  209. {graphite_code-1.8.1 → graphite_code-1.8.2}/tests/test_context_builder.py +0 -0
  210. {graphite_code-1.8.1 → graphite_code-1.8.2}/tests/test_cwd_relative_config.py +0 -0
  211. {graphite_code-1.8.1 → graphite_code-1.8.2}/tests/test_cycle_search.py +0 -0
  212. {graphite_code-1.8.1 → graphite_code-1.8.2}/tests/test_daemon.py +0 -0
  213. {graphite_code-1.8.1 → graphite_code-1.8.2}/tests/test_daemon_activation.py +0 -0
  214. {graphite_code-1.8.1 → graphite_code-1.8.2}/tests/test_daemon_build_lock.py +0 -0
  215. {graphite_code-1.8.1 → graphite_code-1.8.2}/tests/test_daemon_child_lock.py +0 -0
  216. {graphite_code-1.8.1 → graphite_code-1.8.2}/tests/test_daemon_engine_staleness.py +0 -0
  217. {graphite_code-1.8.1 → graphite_code-1.8.2}/tests/test_daemon_launch.py +0 -0
  218. {graphite_code-1.8.1 → graphite_code-1.8.2}/tests/test_daemon_service_cli.py +0 -0
  219. {graphite_code-1.8.1 → graphite_code-1.8.2}/tests/test_debt.py +0 -0
  220. {graphite_code-1.8.1 → graphite_code-1.8.2}/tests/test_dependency_install.py +0 -0
  221. {graphite_code-1.8.1 → graphite_code-1.8.2}/tests/test_destructured_binding.py +0 -0
  222. {graphite_code-1.8.1 → graphite_code-1.8.2}/tests/test_determinism.py +0 -0
  223. {graphite_code-1.8.1 → graphite_code-1.8.2}/tests/test_dispatch_evidence.py +0 -0
  224. {graphite_code-1.8.1 → graphite_code-1.8.2}/tests/test_doctor.py +0 -0
  225. {graphite_code-1.8.1 → graphite_code-1.8.2}/tests/test_doctor_agent_hooks.py +0 -0
  226. {graphite_code-1.8.1 → graphite_code-1.8.2}/tests/test_doctor_hooks.py +0 -0
  227. {graphite_code-1.8.1 → graphite_code-1.8.2}/tests/test_doctor_managed_docs.py +0 -0
  228. {graphite_code-1.8.1 → graphite_code-1.8.2}/tests/test_doctor_probes.py +0 -0
  229. {graphite_code-1.8.1 → graphite_code-1.8.2}/tests/test_edit_apply.py +0 -0
  230. {graphite_code-1.8.1 → graphite_code-1.8.2}/tests/test_engine_identity.py +0 -0
  231. {graphite_code-1.8.1 → graphite_code-1.8.2}/tests/test_exit_codes_reference.py +0 -0
  232. {graphite_code-1.8.1 → graphite_code-1.8.2}/tests/test_external_calls.py +0 -0
  233. {graphite_code-1.8.1 → graphite_code-1.8.2}/tests/test_file_node_id_collision.py +0 -0
  234. {graphite_code-1.8.1 → graphite_code-1.8.2}/tests/test_git_security.py +0 -0
  235. {graphite_code-1.8.1 → graphite_code-1.8.2}/tests/test_go_rust.py +0 -0
  236. {graphite_code-1.8.1 → graphite_code-1.8.2}/tests/test_graph_io.py +0 -0
  237. {graphite_code-1.8.1 → graphite_code-1.8.2}/tests/test_graph_provider_isolation.py +0 -0
  238. {graphite_code-1.8.1 → graphite_code-1.8.2}/tests/test_health.py +0 -0
  239. {graphite_code-1.8.1 → graphite_code-1.8.2}/tests/test_hook_entry.py +0 -0
  240. {graphite_code-1.8.1 → graphite_code-1.8.2}/tests/test_hook_template.py +0 -0
  241. {graphite_code-1.8.1 → graphite_code-1.8.2}/tests/test_hookinstall.py +0 -0
  242. {graphite_code-1.8.1 → graphite_code-1.8.2}/tests/test_hookshim.py +0 -0
  243. {graphite_code-1.8.1 → graphite_code-1.8.2}/tests/test_html_security.py +0 -0
  244. {graphite_code-1.8.1 → graphite_code-1.8.2}/tests/test_incident_ledger.py +0 -0
  245. {graphite_code-1.8.1 → graphite_code-1.8.2}/tests/test_init_activation_doctrine.py +0 -0
  246. {graphite_code-1.8.1 → graphite_code-1.8.2}/tests/test_init_hooks.py +0 -0
  247. {graphite_code-1.8.1 → graphite_code-1.8.2}/tests/test_init_validation_exit.py +0 -0
  248. {graphite_code-1.8.1 → graphite_code-1.8.2}/tests/test_launchd_agent.py +0 -0
  249. {graphite_code-1.8.1 → graphite_code-1.8.2}/tests/test_lifecycle_operator.py +0 -0
  250. {graphite_code-1.8.1 → graphite_code-1.8.2}/tests/test_listing.py +0 -0
  251. {graphite_code-1.8.1 → graphite_code-1.8.2}/tests/test_listing_surfaces.py +0 -0
  252. {graphite_code-1.8.1 → graphite_code-1.8.2}/tests/test_llm.py +0 -0
  253. {graphite_code-1.8.1 → graphite_code-1.8.2}/tests/test_llm_probe.py +0 -0
  254. {graphite_code-1.8.1 → graphite_code-1.8.2}/tests/test_mcp.py +0 -0
  255. {graphite_code-1.8.1 → graphite_code-1.8.2}/tests/test_mcp_server.py +0 -0
  256. {graphite_code-1.8.1 → graphite_code-1.8.2}/tests/test_mcp_server_channel_attribution.py +0 -0
  257. {graphite_code-1.8.1 → graphite_code-1.8.2}/tests/test_member_call_receiver.py +0 -0
  258. {graphite_code-1.8.1 → graphite_code-1.8.2}/tests/test_method_dispatch_scope.py +0 -0
  259. {graphite_code-1.8.1 → graphite_code-1.8.2}/tests/test_monorepo.py +0 -0
  260. {graphite_code-1.8.1 → graphite_code-1.8.2}/tests/test_natural_query.py +0 -0
  261. {graphite_code-1.8.1 → graphite_code-1.8.2}/tests/test_no_path_is_graded.py +0 -0
  262. {graphite_code-1.8.1 → graphite_code-1.8.2}/tests/test_node_identity.py +0 -0
  263. {graphite_code-1.8.1 → graphite_code-1.8.2}/tests/test_ollama_executor.py +0 -0
  264. {graphite_code-1.8.1 → graphite_code-1.8.2}/tests/test_overlays.py +0 -0
  265. {graphite_code-1.8.1 → graphite_code-1.8.2}/tests/test_path_leak_fixture.py +0 -0
  266. {graphite_code-1.8.1 → graphite_code-1.8.2}/tests/test_probe_diagnostics.py +0 -0
  267. {graphite_code-1.8.1 → graphite_code-1.8.2}/tests/test_probe_process.py +0 -0
  268. {graphite_code-1.8.1 → graphite_code-1.8.2}/tests/test_probe_workspace.py +0 -0
  269. {graphite_code-1.8.1 → graphite_code-1.8.2}/tests/test_process_contracts.py +0 -0
  270. {graphite_code-1.8.1 → graphite_code-1.8.2}/tests/test_programs.py +0 -0
  271. {graphite_code-1.8.1 → graphite_code-1.8.2}/tests/test_provider_claude_probe.py +0 -0
  272. {graphite_code-1.8.1 → graphite_code-1.8.2}/tests/test_provider_codex_probe.py +0 -0
  273. {graphite_code-1.8.1 → graphite_code-1.8.2}/tests/test_provider_lifecycle.py +0 -0
  274. {graphite_code-1.8.1 → graphite_code-1.8.2}/tests/test_provider_lifecycle_service.py +0 -0
  275. {graphite_code-1.8.1 → graphite_code-1.8.2}/tests/test_provider_lifecycle_storage.py +0 -0
  276. {graphite_code-1.8.1 → graphite_code-1.8.2}/tests/test_provider_observer.py +0 -0
  277. {graphite_code-1.8.1 → graphite_code-1.8.2}/tests/test_provider_ollama_probe.py +0 -0
  278. {graphite_code-1.8.1 → graphite_code-1.8.2}/tests/test_provider_openrouter_probe.py +0 -0
  279. {graphite_code-1.8.1 → graphite_code-1.8.2}/tests/test_provider_probe_runner.py +0 -0
  280. {graphite_code-1.8.1 → graphite_code-1.8.2}/tests/test_public_surface.py +0 -0
  281. {graphite_code-1.8.1 → graphite_code-1.8.2}/tests/test_published_schemas.py +0 -0
  282. {graphite_code-1.8.1 → graphite_code-1.8.2}/tests/test_pyscope.py +0 -0
  283. {graphite_code-1.8.1 → graphite_code-1.8.2}/tests/test_pyscopeoracle.py +0 -0
  284. {graphite_code-1.8.1 → graphite_code-1.8.2}/tests/test_python_builtin_named_symbols.py +0 -0
  285. {graphite_code-1.8.1 → graphite_code-1.8.2}/tests/test_python_import_bindings.py +0 -0
  286. {graphite_code-1.8.1 → graphite_code-1.8.2}/tests/test_python_inherits_edge.py +0 -0
  287. {graphite_code-1.8.1 → graphite_code-1.8.2}/tests/test_python_local_alias_call.py +0 -0
  288. {graphite_code-1.8.1 → graphite_code-1.8.2}/tests/test_python_reexport_follow.py +0 -0
  289. {graphite_code-1.8.1 → graphite_code-1.8.2}/tests/test_python_resolver.py +0 -0
  290. {graphite_code-1.8.1 → graphite_code-1.8.2}/tests/test_python_scope_identity.py +0 -0
  291. {graphite_code-1.8.1 → graphite_code-1.8.2}/tests/test_query_plan.py +0 -0
  292. {graphite_code-1.8.1 → graphite_code-1.8.2}/tests/test_reliability.py +0 -0
  293. {graphite_code-1.8.1 → graphite_code-1.8.2}/tests/test_replacement_audit.py +0 -0
  294. {graphite_code-1.8.1 → graphite_code-1.8.2}/tests/test_repository_root_ownership.py +0 -0
  295. {graphite_code-1.8.1 → graphite_code-1.8.2}/tests/test_resolve.py +0 -0
  296. {graphite_code-1.8.1 → graphite_code-1.8.2}/tests/test_resolve_python_reexports_of.py +0 -0
  297. {graphite_code-1.8.1 → graphite_code-1.8.2}/tests/test_review.py +0 -0
  298. {graphite_code-1.8.1 → graphite_code-1.8.2}/tests/test_route_pool.py +0 -0
  299. {graphite_code-1.8.1 → graphite_code-1.8.2}/tests/test_route_pool_execution.py +0 -0
  300. {graphite_code-1.8.1 → graphite_code-1.8.2}/tests/test_routing_approval.py +0 -0
  301. {graphite_code-1.8.1 → graphite_code-1.8.2}/tests/test_routing_benchmark.py +0 -0
  302. {graphite_code-1.8.1 → graphite_code-1.8.2}/tests/test_routing_classifier.py +0 -0
  303. {graphite_code-1.8.1 → graphite_code-1.8.2}/tests/test_routing_claude_executor.py +0 -0
  304. {graphite_code-1.8.1 → graphite_code-1.8.2}/tests/test_routing_cli.py +0 -0
  305. {graphite_code-1.8.1 → graphite_code-1.8.2}/tests/test_routing_cli_contracts.py +0 -0
  306. {graphite_code-1.8.1 → graphite_code-1.8.2}/tests/test_routing_cli_recovery.py +0 -0
  307. {graphite_code-1.8.1 → graphite_code-1.8.2}/tests/test_routing_codex_executor.py +0 -0
  308. {graphite_code-1.8.1 → graphite_code-1.8.2}/tests/test_routing_context.py +0 -0
  309. {graphite_code-1.8.1 → graphite_code-1.8.2}/tests/test_routing_contracts.py +0 -0
  310. {graphite_code-1.8.1 → graphite_code-1.8.2}/tests/test_routing_diff_policy.py +0 -0
  311. {graphite_code-1.8.1 → graphite_code-1.8.2}/tests/test_routing_executor.py +0 -0
  312. {graphite_code-1.8.1 → graphite_code-1.8.2}/tests/test_routing_openrouter_executor.py +0 -0
  313. {graphite_code-1.8.1 → graphite_code-1.8.2}/tests/test_routing_policy.py +0 -0
  314. {graphite_code-1.8.1 → graphite_code-1.8.2}/tests/test_routing_process_runner.py +0 -0
  315. {graphite_code-1.8.1 → graphite_code-1.8.2}/tests/test_routing_profiles.py +0 -0
  316. {graphite_code-1.8.1 → graphite_code-1.8.2}/tests/test_routing_registry.py +0 -0
  317. {graphite_code-1.8.1 → graphite_code-1.8.2}/tests/test_routing_schema_validation.py +0 -0
  318. {graphite_code-1.8.1 → graphite_code-1.8.2}/tests/test_routing_security.py +0 -0
  319. {graphite_code-1.8.1 → graphite_code-1.8.2}/tests/test_routing_service.py +0 -0
  320. {graphite_code-1.8.1 → graphite_code-1.8.2}/tests/test_routing_shadow.py +0 -0
  321. {graphite_code-1.8.1 → graphite_code-1.8.2}/tests/test_routing_storage.py +0 -0
  322. {graphite_code-1.8.1 → graphite_code-1.8.2}/tests/test_routing_telemetry.py +0 -0
  323. {graphite_code-1.8.1 → graphite_code-1.8.2}/tests/test_routing_worktree.py +0 -0
  324. {graphite_code-1.8.1 → graphite_code-1.8.2}/tests/test_routing_zai_executor.py +0 -0
  325. {graphite_code-1.8.1 → graphite_code-1.8.2}/tests/test_routing_zai_probe.py +0 -0
  326. {graphite_code-1.8.1 → graphite_code-1.8.2}/tests/test_savings.py +0 -0
  327. {graphite_code-1.8.1 → graphite_code-1.8.2}/tests/test_search.py +0 -0
  328. {graphite_code-1.8.1 → graphite_code-1.8.2}/tests/test_self_super_dispatch.py +0 -0
  329. {graphite_code-1.8.1 → graphite_code-1.8.2}/tests/test_smoke.py +0 -0
  330. {graphite_code-1.8.1 → graphite_code-1.8.2}/tests/test_sqloracle.py +0 -0
  331. {graphite_code-1.8.1 → graphite_code-1.8.2}/tests/test_synthetic_repo.py +0 -0
  332. {graphite_code-1.8.1 → graphite_code-1.8.2}/tests/test_systemd_unit.py +0 -0
  333. {graphite_code-1.8.1 → graphite_code-1.8.2}/tests/test_ts_bridge.py +0 -0
  334. {graphite_code-1.8.1 → graphite_code-1.8.2}/tests/test_typescript_activation.py +0 -0
  335. {graphite_code-1.8.1 → graphite_code-1.8.2}/tests/test_typescript_resolver.py +0 -0
  336. {graphite_code-1.8.1 → graphite_code-1.8.2}/tests/test_usage_ledger.py +0 -0
  337. {graphite_code-1.8.1 → graphite_code-1.8.2}/tests/test_watch.py +0 -0
  338. {graphite_code-1.8.1 → graphite_code-1.8.2}/tests/test_zai_edit.py +0 -0
@@ -15,6 +15,56 @@ machine-checkable identity; the version is for humans.
15
15
 
16
16
  ## [Unreleased]
17
17
 
18
+ ## [1.8.2] — 2026-10-30
19
+
20
+ A patch release: one fix, and no change to any stable surface. What a source
21
+ distribution contains is not a stable surface, and the release gate is not one
22
+ either, so by the rule in `docs/compatibility.md` — "fixes are patches" — this
23
+ is a patch. **Fixes: graphite#135.**
24
+
25
+ **The publish gate now scans the SDIST's content, not just the wheel's.**
26
+ `scripts/verify_artifact.py` checked the wheel's bytes and the sdist's member
27
+ *NAMES*; the sdist's content was never read. That is where the leak was: the
28
+ sdist is the archive that carries the tests and the scripts, and the 1.8.0
29
+ sdist already shipped ten members naming the build machine, all of which the
30
+ gate passed.
31
+
32
+ **⇒⇒⇒ ⇒⇒⇒⇒ THE NEEDLE LIST HAD TO CHANGE DIRECTION, NOT SIZE.** The check
33
+ derived its needles from `ROOT` and `Path.home()` — the machine doing the
34
+ checking. The gate runs on a CI runner, where those needles are the runner's
35
+ own POSIX paths, so in CI they could never match a path baked into the source
36
+ on a developer's Windows box. **A rule that only sees its own machine's
37
+ spelling of a path is a local check, not a release gate.** The rule now
38
+ matches the SHAPE of such a path instead, and therefore fires on a CI runner
39
+ as well as locally.
40
+
41
+ **⇒⇒⇒ ⇒⇒⇒⇒ ⇒⇒⇒⇒ WHAT THE SHAPE CANNOT DISTINGUISH, AND WHAT DOES.** The
42
+ repository's own examples have the same shape as the leak: a bare projects
43
+ root in the README is indistinguishable from the maintainer's. The rule
44
+ therefore carries an explicit vocabulary of the roots the repository writes as
45
+ EXAMPLES — the README's example projects root and the placeholder user
46
+ profiles the fixtures use — and flags a path of the same shape under any
47
+ other root. The vocabulary is closed and short; a new example path has to be
48
+ registered, which is the gate doing its job.
49
+
50
+ **⇒⇒⇒ ⇒⇒⇒⇒ ⇒⇒⇒⇒ ⇒⇒⇒⇒ ⇒⇒⇒⇒ THE SHIPPED TREES ARE ALSO CLEAN NOW.** The
51
+ source distribution named the maintainer's own projects root in **63 places
52
+ across 13 members**: fixture data (which moved to the example root the README
53
+ already uses), sentences that quoted the literal (which now say what it was
54
+ without spelling it), the release notes for 1.8.1 (which described the leak
55
+ while spelling it), and one entry in the history of this file. The tree check
56
+ that enforces it — `tests/test_hardening.py` — now covers everything the
57
+ sdist ships rather than `src/` alone, and it imports the same rule the
58
+ release gate uses, so the two cannot drift apart.
59
+
60
+ **Known, and still open: `DEFAULT_TASK_NAME` in `src/graphite/windows_task.py`
61
+ is `GraphiteDaemon-FProjects`** — the maintainer's projects root with the
62
+ separator stripped, in the shipped wheel. A path-shaped rule cannot see it,
63
+ because it is a NAME. Changing the default renames the scheduled task and the
64
+ startup launcher that existing installations already have, so it is a
65
+ user-visible change rather than a hygiene fix, and it is not made here.
66
+ Filed as **#137**, and deliberately left for its own decision.
67
+
18
68
  ## [1.8.1] — 2026-10-29
19
69
 
20
70
  A patch release: two fixes, and no change to any stable surface. The identity
@@ -72,12 +122,9 @@ broken; it was not.
72
122
  **Known, and not fixed here.** The publish gate
73
123
  (`scripts/verify_artifact.py`) scans the **wheel's** content for absolute
74
124
  paths that name the build machine, and never the **sdist's**. The 1.8.0 sdist
75
- already shipped ten members whose content names it — `F:\Projects`, which is
76
- graphite's own legacy default projects root — and the gate passes those
77
- artifacts. 1.8.1's sdist ships one more such member (`scripts/`), because the
78
- suite needs it. Closing the gap is not a one-line change: the needles overlap
79
- the product's documented default, so a content check over the sdist would fail
80
- on shipped test files that legitimately mention it. Filed as **#135**.
125
+ already shipped ten members whose content named the maintainer's own projects
126
+ root, and the gate passed those artifacts. 1.8.1's sdist ships one more such
127
+ member (`scripts/`), because the suite needs it. Filed as **#135**.
81
128
 
82
129
  ## [1.8.0] — 2026-10-29
83
130
 
@@ -1711,7 +1758,7 @@ Four kinds of search are now refused that used to pass:
1711
1758
  - `cd docs && grep -rn <symbol> ..`, where `..` is the repository root. The
1712
1759
  path was resolved against the root itself and read as leading outside.
1713
1760
  - On Windows, a Git Bash drive path into the repository, such as
1714
- `grep -rn <symbol> /f/Projects/repo/src`. Read by Python it was a path on
1761
+ `grep -rn <symbol> <drive-path>/repo/src`. Read by Python it was a path on
1715
1762
  the current drive. The Bash tool's `/c/...` paths are now read as the drive.
1716
1763
  - A search rooted at a directory the repository lies under, such as
1717
1764
  `grep -rn <symbol> ..`. It was read as a search outside the repository,
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.5
2
2
  Name: graphite-code
3
- Version: 1.8.1
3
+ Version: 1.8.2
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
@@ -180,6 +180,15 @@ wheel's `METADATA` fields `Name`, `Version`, and every `Requires-Dist`, plus
180
180
  source and build files. Both archives must exclude credentials, caches, VCS files,
181
181
  local configuration, scratch output, and absolute developer paths.
182
182
 
183
+ The `artifact` gate enforces the last of those for **both** archives:
184
+ `scripts/verify_artifact.py` scans each one's content for a path that names one
185
+ developer's machine. It matches the SHAPE of such a path rather than a list of
186
+ paths, so it fires on a CI runner as well as on the machine that built the
187
+ artifact -- a list derived from the running machine can only ever see that
188
+ machine. A path under a root the repository writes as an example (the README's
189
+ example projects root, the placeholder user profiles the fixtures use) is not a
190
+ developer's path, and is allowed.
191
+
183
192
  The digests that get PINNED in `publish.yml` are CI's: the `artifact` job of the CI run
184
193
  on the release commit builds twice with the same pins, proves the two builds
185
194
  byte-identical, prints `dist.sha256`, and keeps `dist/` as a workflow artifact for 90
@@ -33,12 +33,13 @@ def _default(action: argparse.Action) -> str:
33
33
  return ""
34
34
  rendered = str(action.default)
35
35
  # Defaults derived from the environment are the machine's, not the
36
- # tool's. The first cut of this page rendered `F:\Projects` -- the value
37
- # of GRAPHITE_PROJECTS_ROOT on the maintainer's box -- and the lockstep
38
- # test then failed on every CI leg, where the same default is `.`. Name
39
- # the rule, never the value. Keyed on the DESTINATION, not the value: with
40
- # the variable unset the value is `.`, which is also the honest default
41
- # of every plain `path` argument and must keep rendering as `.`.
36
+ # tool's. The first cut of this page rendered the maintainer's own
37
+ # projects root -- the value of GRAPHITE_PROJECTS_ROOT on the box it
38
+ # was written on -- and the lockstep test then failed on every CI leg,
39
+ # where the same default is `.`. Name the rule, never the value. Keyed
40
+ # on the DESTINATION, not the value: with the variable unset the value
41
+ # is `.`, which is also the honest default of every plain `path`
42
+ # argument and must keep rendering as `.`.
42
43
  if action.dest in _ENVIRONMENT_DERIVED_DESTS or Path(rendered).is_absolute():
43
44
  return " (default: the projects root -- `GRAPHITE_PROJECTS_ROOT`, else the current directory)"
44
45
  return f" (default: `{rendered}`)"
@@ -8,9 +8,11 @@ release -- which means drift between releases is invisible by construction, and
8
8
  two defects have already been found by finally looking:
9
9
 
10
10
  * a developer path shipped inside the wheel METADATA, rendering on PyPI;
11
- * the release runbook naming artifacts the build no longer produces.
11
+ * the release runbook naming artifacts the build no longer produces;
12
+ * a developer path shipped inside the SDIST -- which carries the tests and the
13
+ scripts, and was never scanned for content at all.
12
14
 
13
- Both were invisible to 2856 passing tests, because neither is a property of the
15
+ All were invisible to 2856 passing tests, because none is a property of the
14
16
  source tree.
15
17
 
16
18
  Run with a path to a directory containing exactly one wheel and one sdist:
@@ -43,6 +45,55 @@ FORBIDDEN_PATHS = re.compile(
43
45
  r")(/|$)"
44
46
  )
45
47
 
48
+ # The SHAPE of an absolute path that belongs to one developer's machine.
49
+ #
50
+ # Deliberately machine-INDEPENDENT. The first version of this check derived
51
+ # its needles from `ROOT` and `Path.home()`, which is right for catching a
52
+ # path leaked out of the machine doing the building -- but the gate runs on a
53
+ # CI runner, where those needles are the runner's own POSIX paths and can
54
+ # never match a path baked into the source on a developer's Windows box. A
55
+ # rule that only sees its own machine's spelling of a path is a local check,
56
+ # not a release gate; this one matches the shape instead, so it sees the path
57
+ # whoever wrote it.
58
+ #
59
+ # The trailing group is optional on purpose: the literal that actually
60
+ # shipped was a bare projects root, and the version with a required
61
+ # separator missed it.
62
+ #
63
+ # Separators are matched as runs, because source code spells a Windows path
64
+ # with escaped backslashes and a document spells the same path with one.
65
+ DEVELOPER_PATH = re.compile(
66
+ # `C:/Users/x`, `C:\Projects`, and their escaped spellings.
67
+ r"[A-Za-z]:[\\/]+(?:Users|Projects)(?:[\\/]+[^\s\"'`)\]}]*)?"
68
+ # the MSYS spelling of the same thing.
69
+ r"|(?<![A-Za-z0-9])/[a-zA-Z][\\/]+(?:Users|Projects)(?:[\\/]+[^\s\"'`)\]}]*)?"
70
+ # `/home/someone`, `/Users/me`. A segment is required, so a bare home
71
+ # prefix is a prefix rather than a path -- the same shape the
72
+ # repository's own rule uses.
73
+ r"|(?<![A-Za-z0-9])/(?:home|Users)[\\/]+[a-z][\w.-]*(?:[\\/]+[^\s\"'`)\]}]*)?",
74
+ re.IGNORECASE,
75
+ )
76
+
77
+ # The roots this repository writes as EXAMPLES, as normalised path prefixes.
78
+ # A path under one of these is an example on purpose; a path with the same
79
+ # shape under any other root is somebody's machine. Each entry is a path the
80
+ # repository itself writes -- the README's example projects root, and the
81
+ # placeholder user profiles the fixtures use -- so the list is closed and
82
+ # short rather than a denylist of every path that ever leaked.
83
+ #
84
+ # A prefix rather than a whole path, because the examples nest: the README
85
+ # shows both a bare projects root and a project under it.
86
+ EXAMPLE_ROOTS = (
87
+ "c:/projects",
88
+ "c:/users/someone",
89
+ "c:/users/x",
90
+ "c:/users/example",
91
+ "c:/users/<user>",
92
+ "/users/me",
93
+ "/home/someone",
94
+ "/home/x",
95
+ )
96
+
46
97
 
47
98
  def _distribution_name() -> str:
48
99
  declared = tomllib.loads((ROOT / "pyproject.toml").read_text(encoding="utf-8"))
@@ -78,11 +129,58 @@ def _check_members(label: str, names: list[str], problems: list[str]) -> None:
78
129
  problems.append(f"{label} contains an excluded path: {name}")
79
130
 
80
131
 
132
+ def _normalise(path: str) -> str:
133
+ collapsed = re.sub(r"[\\/]+", "/", path)
134
+ return collapsed.lower()
135
+
136
+
137
+ def _msys_to_windows(normalised: str) -> str:
138
+ """`/c/users/x` is the same path as `c:/users/x`."""
139
+ parts = normalised.lstrip("/").split("/")
140
+ if len(parts) > 1 and len(parts[0]) == 1 and parts[0].isalpha():
141
+ return parts[0] + ":/" + "/".join(parts[1:])
142
+ return normalised
143
+
144
+
145
+ def _is_example(path: str) -> bool:
146
+ """Whether `path` sits under a root this repository writes as an example."""
147
+ normalised = _normalise(path)
148
+ candidates = {normalised, _msys_to_windows(normalised)}
149
+ return any(
150
+ candidate == root or candidate.startswith(root + "/")
151
+ for candidate in candidates
152
+ for root in EXAMPLE_ROOTS
153
+ )
154
+
155
+
156
+ def developer_paths(text: str) -> list[str]:
157
+ """The absolute paths in `text` that name one developer's machine.
158
+
159
+ Machine-independent by construction: it matches the SHAPE of such a path
160
+ rather than this machine's spelling of it. Returns the offending path
161
+ strings in the order they appear.
162
+ """
163
+ found = []
164
+ for match in DEVELOPER_PATH.finditer(text):
165
+ path = match.group(0).rstrip(",;:!?")
166
+ if not path or _is_example(path):
167
+ continue
168
+ found.append(path)
169
+ return found
170
+
171
+
81
172
  def _check_content(label: str, blobs: dict[str, bytes], problems: list[str]) -> None:
82
173
  for needle in _machine_needles():
83
174
  for name, blob in blobs.items():
84
175
  if needle.encode("utf-8") in blob:
85
176
  problems.append(f"{label}:{name} names the build machine: {needle!r}")
177
+ for name, blob in blobs.items():
178
+ try:
179
+ text = blob.decode("utf-8")
180
+ except UnicodeDecodeError:
181
+ continue
182
+ for path in developer_paths(text):
183
+ problems.append(f"{label}:{name} names a developer's machine: {path!r}")
86
184
 
87
185
 
88
186
  def verify(dist_dir: Path) -> list[str]:
@@ -134,6 +232,20 @@ def verify(dist_dir: Path) -> list[str]:
134
232
 
135
233
  with tarfile.open(sdist) as archive:
136
234
  _check_members("sdist", archive.getnames(), problems)
235
+ # The sdist's CONTENT, not just its member names. It ships the test
236
+ # suite and the scripts, and the whole of that is text a developer
237
+ # path can hide in -- a comment ships exactly as a string literal
238
+ # does. Scanning only the wheel left the larger archive unchecked,
239
+ # and the larger archive is the one that carries the sources.
240
+ blobs = {}
241
+ for member in archive.getmembers():
242
+ if not member.isfile():
243
+ continue
244
+ handle = archive.extractfile(member)
245
+ if handle is None: # pragma: no cover - defensive
246
+ continue
247
+ blobs[member.name] = handle.read()
248
+ _check_content("sdist", blobs, problems)
137
249
 
138
250
  return problems
139
251
 
@@ -38,4 +38,4 @@ __all__ = ["__version__"]
38
38
  #: Coarse and hand-maintained by construction. It is a release label, not
39
39
  #: evidence that a given fix is present -- to answer that, survey for the marker
40
40
  #: the fix introduced, or compare `graphite --version` fingerprints.
41
- __version__ = "1.8.1"
41
+ __version__ = "1.8.2"
@@ -1367,7 +1367,7 @@ def test_a_parent_path_after_cd_no_longer_reads_as_outside_the_repository(litera
1367
1367
  ("text", "msys", "expected"),
1368
1368
  [
1369
1369
  ("/c/Users/x", True, "C:/Users/x"),
1370
- ("/F/Projects", True, "F:/Projects"),
1370
+ ("/d/work", True, "D:/work"),
1371
1371
  ("/c", True, "C:/"),
1372
1372
  ("/cache/x", True, "/cache/x"), # a directory named `cache`, not drive C
1373
1373
  ("src/pkg", True, "src/pkg"),
@@ -68,7 +68,7 @@ def test_default_daemon_base_finds_the_directory_holding_the_daemon_state(
68
68
  ) -> None:
69
69
  """The base is discovered by the marker it exists to find, not by its name.
70
70
 
71
- It was matched against the literal `f:/projects` -- the maintainer's own
71
+ It was matched against a literal projects root -- the maintainer's own
72
72
  layout compiled into shipped code, so the daemon was discoverable on exactly
73
73
  one machine and the wheel carried an absolute developer path (RELEASING.md
74
74
  forbids one in the archives). The value is only ever used to reach
@@ -262,21 +262,22 @@ def test_bootstrap_ci_masks_terminal_capability(tmp_path, capsys, monkeypatch) -
262
262
  def test_no_machine_specific_path_is_consulted_when_the_env_is_unset(monkeypatch) -> None:
263
263
  r"""`default_projects_root()` welded one machine's drive layout into the tool.
264
264
 
265
- The old body probed a hardcoded `F:/Projects` and returned it when it
265
+ The old body probed a hardcoded projects root and returned it when it
266
266
  existed. Three consequences, in rising order of seriousness:
267
267
 
268
268
  * `--help` advertised that path, and README used it as the example
269
269
  throughout -- and README is the packaging `readme`, so the maintainer's
270
270
  layout rendered on PyPI;
271
- * any Windows user who happens to have `F:\Projects` would silently get a
272
- directory that is not theirs, with no message saying so;
271
+ * any Windows user who happens to have that same directory would
272
+ silently get one that is not theirs, with no message saying so;
273
273
  * `channel_root()` derives from this, so the agent channel's location was
274
274
  decided by whether one specific drive letter existed.
275
275
 
276
- The check is deliberately NOT "does F:/Projects exist on this host" -- that
277
- passes vacuously on CI, where it never exists, and would only bite on the
278
- one machine it was written for. Instead every `exists()` is forced True: the
279
- old body then returns the hardcoded path and this fails, on any host.
276
+ The check is deliberately NOT "does that legacy root exist on this host"
277
+ -- that passes vacuously on CI, where it never exists, and would only
278
+ bite on the one machine it was written for. Instead every `exists()` is
279
+ forced True: the old body then returns the hardcoded path and this
280
+ fails, on any host.
280
281
  """
281
282
  from pathlib import Path as _Path
282
283
 
@@ -51,7 +51,7 @@ def test_path_goes_to_stdout_even_when_the_channel_is_absent(projects_root: Path
51
51
 
52
52
  def test_respects_the_projects_root_override(tmp_path: Path, monkeypatch: pytest.MonkeyPatch, capsys) -> None:
53
53
  """The path must never be welded to this machine's layout -- the same reason
54
- `default_projects_root` honours the env var ahead of the legacy F:/Projects
54
+ `default_projects_root` honours the env var ahead of its legacy
55
55
  fallback."""
56
56
  elsewhere = tmp_path / "somewhere-else"
57
57
  (elsewhere / ".agent-channel").mkdir(parents=True)
@@ -150,7 +150,8 @@ def test_every_argument_declares_help() -> None:
150
150
  def test_cli_reference_carries_no_machine_path(monkeypatch) -> None: # noqa: ANN001 - pytest fixture
151
151
  """The page is committed, so a default that came from the environment
152
152
  would publish one machine's layout as if it were the tool's. Measured:
153
- the first cut rendered `F:\\Projects` and failed on every CI leg. The
153
+ the first cut rendered the maintainer's own projects root and failed on
154
+ every CI leg. The
154
155
  rendering must not change with GRAPHITE_PROJECTS_ROOT, and must never
155
156
  contain an absolute path."""
156
157
  import os
@@ -29,7 +29,7 @@ def _write_status(base: Path, payload: object) -> None:
29
29
 
30
30
  def _status(updated_at: str, projects: list[dict] | None = None, status: str = "ok") -> dict:
31
31
  projects = projects or [{
32
- "root": "F:/Projects/app",
32
+ "root": "C:/Projects/app",
33
33
  "file_count": 2,
34
34
  "build_count": 1,
35
35
  "failure_count": 0,
@@ -130,7 +130,7 @@ def test_daemon_health_reports_failing_pending_and_old_projects(tmp_path: Path)
130
130
  now = datetime(2026, 6, 23, 12, 0, tzinfo=timezone.utc)
131
131
  projects = [
132
132
  {
133
- "root": "F:/Projects/bad",
133
+ "root": "C:/Projects/bad",
134
134
  "file_count": 2,
135
135
  "build_count": 2,
136
136
  "failure_count": 1,
@@ -139,7 +139,7 @@ def test_daemon_health_reports_failing_pending_and_old_projects(tmp_path: Path)
139
139
  "needs_initial_build": False,
140
140
  },
141
141
  {
142
- "root": "F:/Projects/pending",
142
+ "root": "C:/Projects/pending",
143
143
  "file_count": 2,
144
144
  "build_count": 0,
145
145
  "failure_count": 0,
@@ -148,7 +148,7 @@ def test_daemon_health_reports_failing_pending_and_old_projects(tmp_path: Path)
148
148
  "needs_initial_build": True,
149
149
  },
150
150
  {
151
- "root": "F:/Projects/old",
151
+ "root": "C:/Projects/old",
152
152
  "file_count": 2,
153
153
  "build_count": 1,
154
154
  "failure_count": 0,
@@ -177,7 +177,7 @@ def test_daemon_health_reports_failing_pending_and_old_projects(tmp_path: Path)
177
177
 
178
178
  def test_daemon_health_does_not_report_recovered_project_as_failing(tmp_path: Path) -> None:
179
179
  now = datetime(2026, 6, 23, 12, 0, tzinfo=timezone.utc)
180
- recovered = _project("F:/Projects/recovered", failure_count=4)
180
+ recovered = _project("C:/Projects/recovered", failure_count=4)
181
181
  _write_status(tmp_path, _status("2026-06-23T11:59:30+00:00", projects=[recovered]))
182
182
 
183
183
  report = evaluate_daemon_health(
@@ -194,7 +194,7 @@ def test_daemon_health_does_not_report_recovered_project_as_failing(tmp_path: Pa
194
194
 
195
195
  def test_daemon_health_reports_last_error_as_active_failure_after_recent_success(tmp_path: Path) -> None:
196
196
  now = datetime(2026, 6, 23, 12, 0, tzinfo=timezone.utc)
197
- failing = _project("F:/Projects/failing", failure_count=7, last_error="still broken")
197
+ failing = _project("C:/Projects/failing", failure_count=7, last_error="still broken")
198
198
  _write_status(tmp_path, _status("2026-06-23T11:59:30+00:00", projects=[failing]))
199
199
 
200
200
  report = evaluate_daemon_health(
@@ -203,7 +203,7 @@ def test_daemon_health_reports_last_error_as_active_failure_after_recent_success
203
203
  now=now,
204
204
  )
205
205
 
206
- assert [project["root"] for project in report["projects"]["failing"]] == ["F:/Projects/failing"]
206
+ assert [project["root"] for project in report["projects"]["failing"]] == ["C:/Projects/failing"]
207
207
  assert report["projects"]["failing"][0]["failure_count"] == 7
208
208
  assert report["summary"]["failing_count"] == 1
209
209
  assert [issue["code"] for issue in report["errors"]] == ["project_failing"]
@@ -211,7 +211,7 @@ def test_daemon_health_reports_last_error_as_active_failure_after_recent_success
211
211
 
212
212
  def test_daemon_health_treats_empty_last_error_as_active_failure(tmp_path: Path) -> None:
213
213
  now = datetime(2026, 6, 23, 12, 0, tzinfo=timezone.utc)
214
- failing = _project("F:/Projects/empty-error", failure_count=2, last_error="")
214
+ failing = _project("C:/Projects/empty-error", failure_count=2, last_error="")
215
215
  _write_status(tmp_path, _status("2026-06-23T11:59:30+00:00", projects=[failing]))
216
216
 
217
217
  report = evaluate_daemon_health(
@@ -228,7 +228,7 @@ def test_daemon_health_treats_empty_last_error_as_active_failure(tmp_path: Path)
228
228
  def test_daemon_health_reports_initial_pending_project_as_stale_but_not_failing(tmp_path: Path) -> None:
229
229
  now = datetime(2026, 6, 23, 12, 0, tzinfo=timezone.utc)
230
230
  pending = _project(
231
- "F:/Projects/initial-pending",
231
+ "C:/Projects/initial-pending",
232
232
  build_count=0,
233
233
  last_success_at=None,
234
234
  needs_initial_build=True,
@@ -242,9 +242,9 @@ def test_daemon_health_reports_initial_pending_project_as_stale_but_not_failing(
242
242
  )
243
243
 
244
244
  assert report["projects"]["failing"] == []
245
- assert [project["root"] for project in report["projects"]["pending"]] == ["F:/Projects/initial-pending"]
245
+ assert [project["root"] for project in report["projects"]["pending"]] == ["C:/Projects/initial-pending"]
246
246
  assert [project["root"] for project in report["projects"]["not_built_recently"]] == [
247
- "F:/Projects/initial-pending"
247
+ "C:/Projects/initial-pending"
248
248
  ]
249
249
  assert report["summary"]["failing_count"] == 0
250
250
  assert report["summary"]["pending_count"] == 1
@@ -258,8 +258,8 @@ def test_daemon_health_reports_initial_pending_project_as_stale_but_not_failing(
258
258
  def test_daemon_health_text_matches_report_for_recovered_and_empty_error_projects(tmp_path: Path) -> None:
259
259
  now = datetime(2026, 6, 23, 12, 0, tzinfo=timezone.utc)
260
260
  projects = [
261
- _project("F:/Projects/recovered", failure_count=4),
262
- _project("F:/Projects/empty-error", failure_count=1, last_error=""),
261
+ _project("C:/Projects/recovered", failure_count=4),
262
+ _project("C:/Projects/empty-error", failure_count=1, last_error=""),
263
263
  ]
264
264
  _write_status(tmp_path, _status("2026-06-23T11:59:30+00:00", projects=projects))
265
265
 
@@ -271,11 +271,11 @@ def test_daemon_health_text_matches_report_for_recovered_and_empty_error_project
271
271
  text = format_health_text(report)
272
272
 
273
273
  assert report["summary"]["failing_count"] == 1
274
- assert report["projects"]["failing"][0]["root"] == "F:/Projects/empty-error"
274
+ assert report["projects"]["failing"][0]["root"] == "C:/Projects/empty-error"
275
275
  assert "1 failing" in text
276
- assert "project_failing: project build failing: F:/Projects/empty-error" in text
277
- assert "F:/Projects/recovered" not in "\n".join(issue["message"] for issue in report["errors"])
278
- assert "F:/Projects/recovered" not in text
276
+ assert "project_failing: project build failing: C:/Projects/empty-error" in text
277
+ assert "C:/Projects/recovered" not in "\n".join(issue["message"] for issue in report["errors"])
278
+ assert "C:/Projects/recovered" not in text
279
279
 
280
280
 
281
281
  def test_daemon_health_text_top_line_is_unambiguous_ok(tmp_path: Path) -> None:
@@ -296,7 +296,7 @@ def test_daemon_health_text_top_line_is_unambiguous_ok(tmp_path: Path) -> None:
296
296
 
297
297
  def test_daemon_health_text_counts_issues_and_groups_repeated_warning_codes(tmp_path: Path) -> None:
298
298
  now = datetime(2026, 6, 23, 12, 0, tzinfo=timezone.utc)
299
- projects = [_project(f"F:/Projects/p{i}", build_count=0) for i in range(7)]
299
+ projects = [_project(f"C:/Projects/p{i}", build_count=0) for i in range(7)]
300
300
  _write_status(tmp_path, _status("2026-06-23T11:59:30+00:00", projects=projects))
301
301
 
302
302
  report = evaluate_daemon_health(
@@ -319,7 +319,7 @@ def test_daemon_health_text_counts_issues_and_groups_repeated_warning_codes(tmp_
319
319
 
320
320
  def test_daemon_health_text_degraded_top_line_names_counts(tmp_path: Path) -> None:
321
321
  now = datetime(2026, 6, 23, 12, 0, tzinfo=timezone.utc)
322
- projects = [_project("F:/Projects/broken", last_error="boom", failure_count=3)]
322
+ projects = [_project("C:/Projects/broken", last_error="boom", failure_count=3)]
323
323
  _write_status(tmp_path, _status("2026-06-23T11:59:30+00:00", projects=projects))
324
324
 
325
325
  report = evaluate_daemon_health(
@@ -335,30 +335,30 @@ def test_daemon_health_text_degraded_top_line_names_counts(tmp_path: Path) -> No
335
335
  assert "error" in first_line
336
336
  assert "attention required" not in text
337
337
  # A single occurrence of a code keeps the flat one-line form.
338
- assert "project_failing: project build failing: F:/Projects/broken" in text
338
+ assert "project_failing: project build failing: C:/Projects/broken" in text
339
339
 
340
340
 
341
341
  def test_daemon_health_keeps_pending_and_stale_classification_independent(tmp_path: Path) -> None:
342
342
  now = datetime(2026, 6, 23, 12, 0, tzinfo=timezone.utc)
343
343
  projects = [
344
344
  _project(
345
- "F:/Projects/pending-by-flag",
345
+ "C:/Projects/pending-by-flag",
346
346
  build_count=2,
347
347
  needs_initial_build=True,
348
348
  ),
349
- _project("F:/Projects/pending-by-count", build_count=0),
349
+ _project("C:/Projects/pending-by-count", build_count=0),
350
350
  _project(
351
- "F:/Projects/old-recovered",
351
+ "C:/Projects/old-recovered",
352
352
  failure_count=3,
353
353
  last_success_at="2026-06-20T12:00:00+00:00",
354
354
  ),
355
355
  _project(
356
- "F:/Projects/missing-success-recovered",
356
+ "C:/Projects/missing-success-recovered",
357
357
  failure_count=5,
358
358
  last_success_at=None,
359
359
  ),
360
360
  _project(
361
- "F:/Projects/missing-success-failing",
361
+ "C:/Projects/missing-success-failing",
362
362
  failure_count=2,
363
363
  last_success_at=None,
364
364
  last_error="current error",
@@ -373,16 +373,16 @@ def test_daemon_health_keeps_pending_and_stale_classification_independent(tmp_pa
373
373
  )
374
374
 
375
375
  assert [project["root"] for project in report["projects"]["failing"]] == [
376
- "F:/Projects/missing-success-failing"
376
+ "C:/Projects/missing-success-failing"
377
377
  ]
378
378
  assert [project["root"] for project in report["projects"]["pending"]] == [
379
- "F:/Projects/pending-by-flag",
380
- "F:/Projects/pending-by-count",
379
+ "C:/Projects/pending-by-flag",
380
+ "C:/Projects/pending-by-count",
381
381
  ]
382
382
  assert [project["root"] for project in report["projects"]["not_built_recently"]] == [
383
- "F:/Projects/old-recovered",
384
- "F:/Projects/missing-success-recovered",
385
- "F:/Projects/missing-success-failing",
383
+ "C:/Projects/old-recovered",
384
+ "C:/Projects/missing-success-recovered",
385
+ "C:/Projects/missing-success-failing",
386
386
  ]
387
387
  assert report["summary"]["failing_count"] == 1
388
388
  assert report["summary"]["pending_count"] == 2
@@ -468,7 +468,7 @@ def test_daemon_health_rejects_invalid_project_counts(
468
468
  field: str,
469
469
  value: object,
470
470
  ) -> None:
471
- project = _project("F:/Projects/secret-sentinel")
471
+ project = _project("C:/Projects/secret-sentinel")
472
472
  project[field] = value
473
473
  _write_status(tmp_path, _status("2026-06-23T12:00:00+00:00", projects=[project]))
474
474
 
@@ -502,7 +502,7 @@ def test_daemon_health_rejects_invalid_project_field_types(
502
502
  field: str,
503
503
  value: object,
504
504
  ) -> None:
505
- project = _project("F:/Projects/private")
505
+ project = _project("C:/Projects/private")
506
506
  project[field] = value
507
507
  _write_status(tmp_path, _status("2026-06-23T12:00:00+00:00", projects=[project]))
508
508
 
@@ -520,7 +520,7 @@ def test_daemon_health_invalid_project_count_falls_back_to_valid_projects(
520
520
  tmp_path: Path,
521
521
  project_count: object,
522
522
  ) -> None:
523
- payload = _status("2026-06-23T12:00:00+00:00", projects=[_project("F:/Projects/valid")])
523
+ payload = _status("2026-06-23T12:00:00+00:00", projects=[_project("C:/Projects/valid")])
524
524
  payload["project_count"] = project_count
525
525
  _write_status(tmp_path, payload)
526
526
 
@@ -534,9 +534,9 @@ def test_daemon_health_invalid_project_count_falls_back_to_valid_projects(
534
534
 
535
535
 
536
536
  def test_daemon_health_mixed_schema_classifies_only_valid_projects_and_formats_safely(tmp_path: Path) -> None:
537
- secret = "F:/Projects/DO-NOT-LEAK" # noqa: S105 -- redaction sentinel, not a credential
537
+ secret = "C:/Projects/DO-NOT-LEAK" # noqa: S105 -- redaction sentinel, not a credential
538
538
  projects = [
539
- _project("F:/Projects/good", last_error="failed"),
539
+ _project("C:/Projects/good", last_error="failed"),
540
540
  _project(secret, build_count="bad"),
541
541
  "not-a-project",
542
542
  ]
@@ -552,7 +552,7 @@ def test_daemon_health_mixed_schema_classifies_only_valid_projects_and_formats_s
552
552
  text = format_health_text(report)
553
553
 
554
554
  assert report["ok"] is False
555
- assert [project["root"] for project in report["projects"]["failing"]] == ["F:/Projects/good"]
555
+ assert [project["root"] for project in report["projects"]["failing"]] == ["C:/Projects/good"]
556
556
  assert report["summary"]["project_count"] == 3
557
557
  assert len([issue for issue in report["errors"] if issue["code"] == "status_schema_invalid"]) == 2
558
558
  assert secret not in json.dumps(report)
@@ -561,7 +561,7 @@ def test_daemon_health_mixed_schema_classifies_only_valid_projects_and_formats_s
561
561
 
562
562
  def test_daemon_health_schema_issue_cap_does_not_skip_later_valid_projects(tmp_path: Path) -> None:
563
563
  invalid_projects = [None] * 25
564
- valid = _project("F:/Projects/later-valid", last_error="failed")
564
+ valid = _project("C:/Projects/later-valid", last_error="failed")
565
565
  payload = _status("2026-06-23T12:00:00+00:00")
566
566
  payload["projects"] = [*invalid_projects, valid]
567
567
  payload["project_count"] = len(invalid_projects) + 1
@@ -574,15 +574,15 @@ def test_daemon_health_schema_issue_cap_does_not_skip_later_valid_projects(tmp_p
574
574
 
575
575
  schema_issues = [issue for issue in report["errors"] if issue["code"] == "status_schema_invalid"]
576
576
  assert len(schema_issues) == 20
577
- assert [project["root"] for project in report["projects"]["failing"]] == ["F:/Projects/later-valid"]
577
+ assert [project["root"] for project in report["projects"]["failing"]] == ["C:/Projects/later-valid"]
578
578
 
579
579
 
580
580
  def test_daemon_health_bounds_project_processing_and_category_details(tmp_path: Path) -> None:
581
581
  projects = [
582
- _project(f"F:/Projects/failing-{index}", last_error="failed")
582
+ _project(f"C:/Projects/failing-{index}", last_error="failed")
583
583
  for index in range(1_100)
584
584
  ]
585
- projects.append(_project("F:/Projects/after-cap", last_error="must-not-be-processed"))
585
+ projects.append(_project("C:/Projects/after-cap", last_error="must-not-be-processed"))
586
586
  payload = _status("2026-06-23T12:00:00+00:00", projects=projects)
587
587
  _write_status(tmp_path, payload)
588
588
 
@@ -606,9 +606,9 @@ def test_daemon_health_rejects_oversized_or_controlled_project_strings_without_l
606
606
  secret = "SECRET-OVERSIZED-" + ("X" * 10_000)
607
607
  projects = [
608
608
  _project(secret, last_error="failed"),
609
- _project("F:/Projects/control\nINJECT", last_error="failed"),
610
- _project("F:/Projects/error", last_error=secret),
611
- _project("F:/Projects/time", last_success_at=secret),
609
+ _project("C:/Projects/control\nINJECT", last_error="failed"),
610
+ _project("C:/Projects/error", last_error=secret),
611
+ _project("C:/Projects/time", last_success_at=secret),
612
612
  ]
613
613
  _write_status(tmp_path, _status("2026-06-23T12:00:00+00:00", projects=projects))
614
614
 
@@ -786,7 +786,7 @@ def test_daemon_health_rejects_unicode_control_and_format_project_strings(
786
786
  spoof: str,
787
787
  field: str,
788
788
  ) -> None:
789
- project = _project("F:/Projects/safe")
789
+ project = _project("C:/Projects/safe")
790
790
  project[field] = f"safe{spoof}forged"
791
791
  _write_status(tmp_path, _status("2026-06-23T12:00:00+00:00", projects=[project]))
792
792