cc-transcript 14.45.29__tar.gz → 14.45.31__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 (232) hide show
  1. {cc_transcript-14.45.29 → cc_transcript-14.45.31}/PKG-INFO +1 -1
  2. {cc_transcript-14.45.29 → cc_transcript-14.45.31}/pyproject.toml +1 -1
  3. {cc_transcript-14.45.29 → cc_transcript-14.45.31}/rust/crates/core/src/snapshot.rs +116 -24
  4. {cc_transcript-14.45.29 → cc_transcript-14.45.31}/rust/crates/core/src/snapshot_codex_append.rs +5 -0
  5. cc_transcript-14.45.31/rust/crates/core/src/snapshot_compact_codex.rs +468 -0
  6. cc_transcript-14.45.31/rust/crates/core/src/snapshot_compact_codex_tests.rs +503 -0
  7. cc_transcript-14.45.31/rust/crates/core/src/snapshot_hydration_observations.rs +28 -0
  8. {cc_transcript-14.45.29 → cc_transcript-14.45.31}/rust/crates/core/src/snapshot_prepared_disk.rs +19 -0
  9. {cc_transcript-14.45.29 → cc_transcript-14.45.31}/rust/crates/core/src/snapshot_prepared_service.rs +89 -9
  10. {cc_transcript-14.45.29 → cc_transcript-14.45.31}/rust/crates/core/src/snapshot_projection.rs +80 -12
  11. cc_transcript-14.45.31/rust/crates/core/src/snapshot_query_hydration_tests.rs +359 -0
  12. cc_transcript-14.45.31/rust/crates/core/src/snapshot_sidechain_absence.rs +168 -0
  13. cc_transcript-14.45.31/rust/crates/core/src/snapshot_sidechain_absence_tests.rs +206 -0
  14. {cc_transcript-14.45.29 → cc_transcript-14.45.31}/Cargo.lock +0 -0
  15. {cc_transcript-14.45.29 → cc_transcript-14.45.31}/Cargo.toml +0 -0
  16. {cc_transcript-14.45.29 → cc_transcript-14.45.31}/LICENSE +0 -0
  17. {cc_transcript-14.45.29 → cc_transcript-14.45.31}/README.md +0 -0
  18. {cc_transcript-14.45.29 → cc_transcript-14.45.31}/cc_transcript/__init__.py +0 -0
  19. {cc_transcript-14.45.29 → cc_transcript-14.45.31}/cc_transcript/__init__.pyi +0 -0
  20. {cc_transcript-14.45.29 → cc_transcript-14.45.31}/cc_transcript/_native.pyi +0 -0
  21. {cc_transcript-14.45.29 → cc_transcript-14.45.31}/cc_transcript/activity.py +0 -0
  22. {cc_transcript-14.45.29 → cc_transcript-14.45.31}/cc_transcript/activity_probe.py +0 -0
  23. {cc_transcript-14.45.29 → cc_transcript-14.45.31}/cc_transcript/builders.py +0 -0
  24. {cc_transcript-14.45.29 → cc_transcript-14.45.31}/cc_transcript/codex.py +0 -0
  25. {cc_transcript-14.45.29 → cc_transcript-14.45.31}/cc_transcript/command.py +0 -0
  26. {cc_transcript-14.45.29 → cc_transcript-14.45.31}/cc_transcript/context.py +0 -0
  27. {cc_transcript-14.45.29 → cc_transcript-14.45.31}/cc_transcript/corrections.py +0 -0
  28. {cc_transcript-14.45.29 → cc_transcript-14.45.31}/cc_transcript/cost.py +0 -0
  29. {cc_transcript-14.45.29 → cc_transcript-14.45.31}/cc_transcript/decision_store.py +0 -0
  30. {cc_transcript-14.45.29 → cc_transcript-14.45.31}/cc_transcript/decisions.py +0 -0
  31. {cc_transcript-14.45.29 → cc_transcript-14.45.31}/cc_transcript/discovery.py +0 -0
  32. {cc_transcript-14.45.29 → cc_transcript-14.45.31}/cc_transcript/disktruth.py +0 -0
  33. {cc_transcript-14.45.29 → cc_transcript-14.45.31}/cc_transcript/evidence.py +0 -0
  34. {cc_transcript-14.45.29 → cc_transcript-14.45.31}/cc_transcript/extract/__init__.py +0 -0
  35. {cc_transcript-14.45.29 → cc_transcript-14.45.31}/cc_transcript/extract/correct.py +0 -0
  36. {cc_transcript-14.45.29 → cc_transcript-14.45.31}/cc_transcript/facts.py +0 -0
  37. {cc_transcript-14.45.29 → cc_transcript-14.45.31}/cc_transcript/filterspec.py +0 -0
  38. {cc_transcript-14.45.29 → cc_transcript-14.45.31}/cc_transcript/heartbeats.py +0 -0
  39. {cc_transcript-14.45.29 → cc_transcript-14.45.31}/cc_transcript/ids.py +0 -0
  40. {cc_transcript-14.45.29 → cc_transcript-14.45.31}/cc_transcript/judge/__init__.py +0 -0
  41. {cc_transcript-14.45.29 → cc_transcript-14.45.31}/cc_transcript/judge/llm.py +0 -0
  42. {cc_transcript-14.45.29 → cc_transcript-14.45.31}/cc_transcript/judge/similar.py +0 -0
  43. {cc_transcript-14.45.29 → cc_transcript-14.45.31}/cc_transcript/judge/verdicts.py +0 -0
  44. {cc_transcript-14.45.29 → cc_transcript-14.45.31}/cc_transcript/ledger.py +0 -0
  45. {cc_transcript-14.45.29 → cc_transcript-14.45.31}/cc_transcript/literals.py +0 -0
  46. {cc_transcript-14.45.29 → cc_transcript-14.45.31}/cc_transcript/mining/__init__.py +0 -0
  47. {cc_transcript-14.45.29 → cc_transcript-14.45.31}/cc_transcript/mining/candidates.py +0 -0
  48. {cc_transcript-14.45.29 → cc_transcript-14.45.31}/cc_transcript/mining/confidence.py +0 -0
  49. {cc_transcript-14.45.29 → cc_transcript-14.45.31}/cc_transcript/mining/engine.py +0 -0
  50. {cc_transcript-14.45.29 → cc_transcript-14.45.31}/cc_transcript/mining/formats.py +0 -0
  51. {cc_transcript-14.45.29 → cc_transcript-14.45.31}/cc_transcript/mining/sampling.py +0 -0
  52. {cc_transcript-14.45.29 → cc_transcript-14.45.31}/cc_transcript/mining/signals.py +0 -0
  53. {cc_transcript-14.45.29 → cc_transcript-14.45.31}/cc_transcript/mining/sourcekind.py +0 -0
  54. {cc_transcript-14.45.29 → cc_transcript-14.45.31}/cc_transcript/mining/spec.py +0 -0
  55. {cc_transcript-14.45.29 → cc_transcript-14.45.31}/cc_transcript/mining/store.py +0 -0
  56. {cc_transcript-14.45.29 → cc_transcript-14.45.31}/cc_transcript/models.py +0 -0
  57. {cc_transcript-14.45.29 → cc_transcript-14.45.31}/cc_transcript/nlp.py +0 -0
  58. {cc_transcript-14.45.29 → cc_transcript-14.45.31}/cc_transcript/notifications.py +0 -0
  59. {cc_transcript-14.45.29 → cc_transcript-14.45.31}/cc_transcript/parser.py +0 -0
  60. {cc_transcript-14.45.29 → cc_transcript-14.45.31}/cc_transcript/py.typed +0 -0
  61. {cc_transcript-14.45.29 → cc_transcript-14.45.31}/cc_transcript/query.py +0 -0
  62. {cc_transcript-14.45.29 → cc_transcript-14.45.31}/cc_transcript/render.py +0 -0
  63. {cc_transcript-14.45.29 → cc_transcript-14.45.31}/cc_transcript/sentiment/__init__.py +0 -0
  64. {cc_transcript-14.45.29 → cc_transcript-14.45.31}/cc_transcript/sentiment/buckets.py +0 -0
  65. {cc_transcript-14.45.29 → cc_transcript-14.45.31}/cc_transcript/sentiment/data/afinn-en-165.tsv +0 -0
  66. {cc_transcript-14.45.29 → cc_transcript-14.45.31}/cc_transcript/sentiment/data/domain_overrides.tsv +0 -0
  67. {cc_transcript-14.45.29 → cc_transcript-14.45.31}/cc_transcript/sentiment/data/en-ewt.udpipe +0 -0
  68. {cc_transcript-14.45.29 → cc_transcript-14.45.31}/cc_transcript/sentiment/engine.py +0 -0
  69. {cc_transcript-14.45.29 → cc_transcript-14.45.31}/cc_transcript/sentiment/lexicon.py +0 -0
  70. {cc_transcript-14.45.29 → cc_transcript-14.45.31}/cc_transcript/sentiment/scorespec.py +0 -0
  71. {cc_transcript-14.45.29 → cc_transcript-14.45.31}/cc_transcript/snapshot_schema/config.schema.json +0 -0
  72. {cc_transcript-14.45.29 → cc_transcript-14.45.31}/cc_transcript/snapshot_schema/context.schema.json +0 -0
  73. {cc_transcript-14.45.29 → cc_transcript-14.45.31}/cc_transcript/snapshot_schema/request.schema.json +0 -0
  74. {cc_transcript-14.45.29 → cc_transcript-14.45.31}/cc_transcript/snapshot_schema/response.schema.json +0 -0
  75. {cc_transcript-14.45.29 → cc_transcript-14.45.31}/cc_transcript/snapshot_schema/tool_registry.schema.json +0 -0
  76. {cc_transcript-14.45.29 → cc_transcript-14.45.31}/cc_transcript/snapshots.py +0 -0
  77. {cc_transcript-14.45.29 → cc_transcript-14.45.31}/cc_transcript/synthetic.py +0 -0
  78. {cc_transcript-14.45.29 → cc_transcript-14.45.31}/cc_transcript/tools.py +0 -0
  79. {cc_transcript-14.45.29 → cc_transcript-14.45.31}/cc_transcript/watch.py +0 -0
  80. {cc_transcript-14.45.29 → cc_transcript-14.45.31}/rust/crates/cli/Cargo.toml +0 -0
  81. {cc_transcript-14.45.29 → cc_transcript-14.45.31}/rust/crates/cli/src/commands/blame.rs +0 -0
  82. {cc_transcript-14.45.29 → cc_transcript-14.45.31}/rust/crates/cli/src/commands/corpus.rs +0 -0
  83. {cc_transcript-14.45.29 → cc_transcript-14.45.31}/rust/crates/cli/src/commands/corrections.rs +0 -0
  84. {cc_transcript-14.45.29 → cc_transcript-14.45.31}/rust/crates/cli/src/commands/digest.rs +0 -0
  85. {cc_transcript-14.45.29 → cc_transcript-14.45.31}/rust/crates/cli/src/commands/facts.rs +0 -0
  86. {cc_transcript-14.45.29 → cc_transcript-14.45.31}/rust/crates/cli/src/commands/grep.rs +0 -0
  87. {cc_transcript-14.45.29 → cc_transcript-14.45.31}/rust/crates/cli/src/commands/list.rs +0 -0
  88. {cc_transcript-14.45.29 → cc_transcript-14.45.31}/rust/crates/cli/src/commands/mod.rs +0 -0
  89. {cc_transcript-14.45.29 → cc_transcript-14.45.31}/rust/crates/cli/src/commands/scratchpad.rs +0 -0
  90. {cc_transcript-14.45.29 → cc_transcript-14.45.31}/rust/crates/cli/src/commands/show.rs +0 -0
  91. {cc_transcript-14.45.29 → cc_transcript-14.45.31}/rust/crates/cli/src/commands/slice.rs +0 -0
  92. {cc_transcript-14.45.29 → cc_transcript-14.45.31}/rust/crates/cli/src/commands/stats.rs +0 -0
  93. {cc_transcript-14.45.29 → cc_transcript-14.45.31}/rust/crates/cli/src/commands/watch.rs +0 -0
  94. {cc_transcript-14.45.29 → cc_transcript-14.45.31}/rust/crates/cli/src/lib.rs +0 -0
  95. {cc_transcript-14.45.29 → cc_transcript-14.45.31}/rust/crates/cli/src/output.rs +0 -0
  96. {cc_transcript-14.45.29 → cc_transcript-14.45.31}/rust/crates/cli/src/target.rs +0 -0
  97. {cc_transcript-14.45.29 → cc_transcript-14.45.31}/rust/crates/cli/src/timearg.rs +0 -0
  98. {cc_transcript-14.45.29 → cc_transcript-14.45.31}/rust/crates/core/Cargo.toml +0 -0
  99. {cc_transcript-14.45.29 → cc_transcript-14.45.31}/rust/crates/core/benches/parse.rs +0 -0
  100. {cc_transcript-14.45.29 → cc_transcript-14.45.31}/rust/crates/core/benches/render.rs +0 -0
  101. {cc_transcript-14.45.29 → cc_transcript-14.45.31}/rust/crates/core/benches/toolcall.rs +0 -0
  102. {cc_transcript-14.45.29 → cc_transcript-14.45.31}/rust/crates/core/build.rs +0 -0
  103. {cc_transcript-14.45.29 → cc_transcript-14.45.31}/rust/crates/core/src/activity.rs +0 -0
  104. {cc_transcript-14.45.29 → cc_transcript-14.45.31}/rust/crates/core/src/actor.rs +0 -0
  105. {cc_transcript-14.45.29 → cc_transcript-14.45.31}/rust/crates/core/src/blame.rs +0 -0
  106. {cc_transcript-14.45.29 → cc_transcript-14.45.31}/rust/crates/core/src/buckets.rs +0 -0
  107. {cc_transcript-14.45.29 → cc_transcript-14.45.31}/rust/crates/core/src/codex/discovery.rs +0 -0
  108. {cc_transcript-14.45.29 → cc_transcript-14.45.31}/rust/crates/core/src/codex/lower.rs +0 -0
  109. {cc_transcript-14.45.29 → cc_transcript-14.45.31}/rust/crates/core/src/codex/mod.rs +0 -0
  110. {cc_transcript-14.45.29 → cc_transcript-14.45.31}/rust/crates/core/src/codex/parse.rs +0 -0
  111. {cc_transcript-14.45.29 → cc_transcript-14.45.31}/rust/crates/core/src/codex/probe.rs +0 -0
  112. {cc_transcript-14.45.29 → cc_transcript-14.45.31}/rust/crates/core/src/codex/protocol.rs +0 -0
  113. {cc_transcript-14.45.29 → cc_transcript-14.45.31}/rust/crates/core/src/codex/types.rs +0 -0
  114. {cc_transcript-14.45.29 → cc_transcript-14.45.31}/rust/crates/core/src/command.rs +0 -0
  115. {cc_transcript-14.45.29 → cc_transcript-14.45.31}/rust/crates/core/src/context.rs +0 -0
  116. {cc_transcript-14.45.29 → cc_transcript-14.45.31}/rust/crates/core/src/corrections.rs +0 -0
  117. {cc_transcript-14.45.29 → cc_transcript-14.45.31}/rust/crates/core/src/cost.rs +0 -0
  118. {cc_transcript-14.45.29 → cc_transcript-14.45.31}/rust/crates/core/src/discovery.rs +0 -0
  119. {cc_transcript-14.45.29 → cc_transcript-14.45.31}/rust/crates/core/src/facts.rs +0 -0
  120. {cc_transcript-14.45.29 → cc_transcript-14.45.31}/rust/crates/core/src/feedback.rs +0 -0
  121. {cc_transcript-14.45.29 → cc_transcript-14.45.31}/rust/crates/core/src/filter.rs +0 -0
  122. {cc_transcript-14.45.29 → cc_transcript-14.45.31}/rust/crates/core/src/gateway.rs +0 -0
  123. {cc_transcript-14.45.29 → cc_transcript-14.45.31}/rust/crates/core/src/ids.rs +0 -0
  124. {cc_transcript-14.45.29 → cc_transcript-14.45.31}/rust/crates/core/src/judge.rs +0 -0
  125. {cc_transcript-14.45.29 → cc_transcript-14.45.31}/rust/crates/core/src/lib.rs +0 -0
  126. {cc_transcript-14.45.29 → cc_transcript-14.45.31}/rust/crates/core/src/literals/command.rs +0 -0
  127. {cc_transcript-14.45.29 → cc_transcript-14.45.31}/rust/crates/core/src/literals/corrections.rs +0 -0
  128. {cc_transcript-14.45.29 → cc_transcript-14.45.31}/rust/crates/core/src/literals/feedback.rs +0 -0
  129. {cc_transcript-14.45.29 → cc_transcript-14.45.31}/rust/crates/core/src/literals/mining.rs +0 -0
  130. {cc_transcript-14.45.29 → cc_transcript-14.45.31}/rust/crates/core/src/literals/mod.rs +0 -0
  131. {cc_transcript-14.45.29 → cc_transcript-14.45.31}/rust/crates/core/src/literals/protocol.rs +0 -0
  132. {cc_transcript-14.45.29 → cc_transcript-14.45.31}/rust/crates/core/src/notifications.rs +0 -0
  133. {cc_transcript-14.45.29 → cc_transcript-14.45.31}/rust/crates/core/src/parse.rs +0 -0
  134. {cc_transcript-14.45.29 → cc_transcript-14.45.31}/rust/crates/core/src/protocol.rs +0 -0
  135. {cc_transcript-14.45.29 → cc_transcript-14.45.31}/rust/crates/core/src/pystr.rs +0 -0
  136. {cc_transcript-14.45.29 → cc_transcript-14.45.31}/rust/crates/core/src/query.rs +0 -0
  137. {cc_transcript-14.45.29 → cc_transcript-14.45.31}/rust/crates/core/src/render.rs +0 -0
  138. {cc_transcript-14.45.29 → cc_transcript-14.45.31}/rust/crates/core/src/request_body.rs +0 -0
  139. {cc_transcript-14.45.29 → cc_transcript-14.45.31}/rust/crates/core/src/rng.rs +0 -0
  140. {cc_transcript-14.45.29 → cc_transcript-14.45.31}/rust/crates/core/src/scan.rs +0 -0
  141. {cc_transcript-14.45.29 → cc_transcript-14.45.31}/rust/crates/core/src/scan_checkpoint.rs +0 -0
  142. {cc_transcript-14.45.29 → cc_transcript-14.45.31}/rust/crates/core/src/scan_grep.rs +0 -0
  143. {cc_transcript-14.45.29 → cc_transcript-14.45.31}/rust/crates/core/src/scan_grep_stream.rs +0 -0
  144. {cc_transcript-14.45.29 → cc_transcript-14.45.31}/rust/crates/core/src/scan_grep_stream_tests.rs +0 -0
  145. {cc_transcript-14.45.29 → cc_transcript-14.45.31}/rust/crates/core/src/scan_index.rs +0 -0
  146. {cc_transcript-14.45.29 → cc_transcript-14.45.31}/rust/crates/core/src/scan_projection.rs +0 -0
  147. {cc_transcript-14.45.29 → cc_transcript-14.45.31}/rust/crates/core/src/scan_regressions.rs +0 -0
  148. {cc_transcript-14.45.29 → cc_transcript-14.45.31}/rust/crates/core/src/scan_stream.rs +0 -0
  149. {cc_transcript-14.45.29 → cc_transcript-14.45.31}/rust/crates/core/src/schema.rs +0 -0
  150. {cc_transcript-14.45.29 → cc_transcript-14.45.31}/rust/crates/core/src/snapshot_activity.rs +0 -0
  151. {cc_transcript-14.45.29 → cc_transcript-14.45.31}/rust/crates/core/src/snapshot_admission_report_tests.rs +0 -0
  152. {cc_transcript-14.45.29 → cc_transcript-14.45.31}/rust/crates/core/src/snapshot_cache.rs +0 -0
  153. {cc_transcript-14.45.29 → cc_transcript-14.45.31}/rust/crates/core/src/snapshot_cache_tests.rs +0 -0
  154. {cc_transcript-14.45.29 → cc_transcript-14.45.31}/rust/crates/core/src/snapshot_catalog.rs +0 -0
  155. {cc_transcript-14.45.29 → cc_transcript-14.45.31}/rust/crates/core/src/snapshot_catalog_owner.rs +0 -0
  156. {cc_transcript-14.45.29 → cc_transcript-14.45.31}/rust/crates/core/src/snapshot_catalog_tests.rs +0 -0
  157. {cc_transcript-14.45.29 → cc_transcript-14.45.31}/rust/crates/core/src/snapshot_codec.rs +0 -0
  158. {cc_transcript-14.45.29 → cc_transcript-14.45.31}/rust/crates/core/src/snapshot_common_borrowed_parent_tests.rs +0 -0
  159. {cc_transcript-14.45.29 → cc_transcript-14.45.31}/rust/crates/core/src/snapshot_direct_tail.rs +0 -0
  160. {cc_transcript-14.45.29 → cc_transcript-14.45.31}/rust/crates/core/src/snapshot_direct_tail_tests.rs +0 -0
  161. {cc_transcript-14.45.29 → cc_transcript-14.45.31}/rust/crates/core/src/snapshot_hydrate_budget_tests.rs +0 -0
  162. {cc_transcript-14.45.29 → cc_transcript-14.45.31}/rust/crates/core/src/snapshot_interaction_api.rs +0 -0
  163. {cc_transcript-14.45.29 → cc_transcript-14.45.31}/rust/crates/core/src/snapshot_interaction_api_tests.rs +0 -0
  164. {cc_transcript-14.45.29 → cc_transcript-14.45.31}/rust/crates/core/src/snapshot_interactions.rs +0 -0
  165. {cc_transcript-14.45.29 → cc_transcript-14.45.31}/rust/crates/core/src/snapshot_interactions_tests.rs +0 -0
  166. {cc_transcript-14.45.29 → cc_transcript-14.45.31}/rust/crates/core/src/snapshot_labels.rs +0 -0
  167. {cc_transcript-14.45.29 → cc_transcript-14.45.31}/rust/crates/core/src/snapshot_ledger.rs +0 -0
  168. {cc_transcript-14.45.29 → cc_transcript-14.45.31}/rust/crates/core/src/snapshot_ledger_tests.rs +0 -0
  169. {cc_transcript-14.45.29 → cc_transcript-14.45.31}/rust/crates/core/src/snapshot_load_charge_audit_tests.rs +0 -0
  170. {cc_transcript-14.45.29 → cc_transcript-14.45.31}/rust/crates/core/src/snapshot_load_charge_work_tests.rs +0 -0
  171. {cc_transcript-14.45.29 → cc_transcript-14.45.31}/rust/crates/core/src/snapshot_memory.rs +0 -0
  172. {cc_transcript-14.45.29 → cc_transcript-14.45.31}/rust/crates/core/src/snapshot_owned.rs +0 -0
  173. {cc_transcript-14.45.29 → cc_transcript-14.45.31}/rust/crates/core/src/snapshot_prepared.rs +0 -0
  174. {cc_transcript-14.45.29 → cc_transcript-14.45.31}/rust/crates/core/src/snapshot_raw_materialization.rs +0 -0
  175. {cc_transcript-14.45.29 → cc_transcript-14.45.31}/rust/crates/core/src/snapshot_raw_projection.rs +0 -0
  176. {cc_transcript-14.45.29 → cc_transcript-14.45.31}/rust/crates/core/src/snapshot_raw_projection_tests.rs +0 -0
  177. {cc_transcript-14.45.29 → cc_transcript-14.45.31}/rust/crates/core/src/snapshot_raw_scope.rs +0 -0
  178. {cc_transcript-14.45.29 → cc_transcript-14.45.31}/rust/crates/core/src/snapshot_raw_scope_tests.rs +0 -0
  179. {cc_transcript-14.45.29 → cc_transcript-14.45.31}/rust/crates/core/src/snapshot_raw_tail_tests.rs +0 -0
  180. {cc_transcript-14.45.29 → cc_transcript-14.45.31}/rust/crates/core/src/snapshot_raw_window.rs +0 -0
  181. {cc_transcript-14.45.29 → cc_transcript-14.45.31}/rust/crates/core/src/snapshot_regressions.rs +0 -0
  182. {cc_transcript-14.45.29 → cc_transcript-14.45.31}/rust/crates/core/src/snapshot_root_warm.rs +0 -0
  183. {cc_transcript-14.45.29 → cc_transcript-14.45.31}/rust/crates/core/src/snapshot_source_cache_index_tests.rs +0 -0
  184. {cc_transcript-14.45.29 → cc_transcript-14.45.31}/rust/crates/core/src/snapshot_spine.rs +0 -0
  185. {cc_transcript-14.45.29 → cc_transcript-14.45.31}/rust/crates/core/src/snapshot_spine_tests.rs +0 -0
  186. {cc_transcript-14.45.29 → cc_transcript-14.45.31}/rust/crates/core/src/snapshot_symlink_proof.rs +0 -0
  187. {cc_transcript-14.45.29 → cc_transcript-14.45.31}/rust/crates/core/src/snapshot_text.rs +0 -0
  188. {cc_transcript-14.45.29 → cc_transcript-14.45.31}/rust/crates/core/src/sqlite.rs +0 -0
  189. {cc_transcript-14.45.29 → cc_transcript-14.45.31}/rust/crates/core/src/toolcall.rs +0 -0
  190. {cc_transcript-14.45.29 → cc_transcript-14.45.31}/rust/crates/core/src/types.rs +0 -0
  191. {cc_transcript-14.45.29 → cc_transcript-14.45.31}/rust/crates/core/src/value.rs +0 -0
  192. {cc_transcript-14.45.29 → cc_transcript-14.45.31}/rust/crates/core/src/watch.rs +0 -0
  193. {cc_transcript-14.45.29 → cc_transcript-14.45.31}/rust/crates/core/tests/sonic_arena_model.rs +0 -0
  194. {cc_transcript-14.45.29 → cc_transcript-14.45.31}/rust/crates/core/tests/std_allocation_model.rs +0 -0
  195. {cc_transcript-14.45.29 → cc_transcript-14.45.31}/rust/crates/py/Cargo.toml +0 -0
  196. {cc_transcript-14.45.29 → cc_transcript-14.45.31}/rust/crates/py/build.rs +0 -0
  197. {cc_transcript-14.45.29 → cc_transcript-14.45.31}/rust/crates/py/data/command_prefix_pins.tsv +0 -0
  198. {cc_transcript-14.45.29 → cc_transcript-14.45.31}/rust/crates/py/src/actor_bridge.rs +0 -0
  199. {cc_transcript-14.45.29 → cc_transcript-14.45.31}/rust/crates/py/src/bin/stub_gen.rs +0 -0
  200. {cc_transcript-14.45.29 → cc_transcript-14.45.31}/rust/crates/py/src/codex.rs +0 -0
  201. {cc_transcript-14.45.29 → cc_transcript-14.45.31}/rust/crates/py/src/command.rs +0 -0
  202. {cc_transcript-14.45.29 → cc_transcript-14.45.31}/rust/crates/py/src/context.rs +0 -0
  203. {cc_transcript-14.45.29 → cc_transcript-14.45.31}/rust/crates/py/src/corrections.rs +0 -0
  204. {cc_transcript-14.45.29 → cc_transcript-14.45.31}/rust/crates/py/src/discovery.rs +0 -0
  205. {cc_transcript-14.45.29 → cc_transcript-14.45.31}/rust/crates/py/src/feedback.rs +0 -0
  206. {cc_transcript-14.45.29 → cc_transcript-14.45.31}/rust/crates/py/src/judge.rs +0 -0
  207. {cc_transcript-14.45.29 → cc_transcript-14.45.31}/rust/crates/py/src/lexicon.rs +0 -0
  208. {cc_transcript-14.45.29 → cc_transcript-14.45.31}/rust/crates/py/src/lib.rs +0 -0
  209. {cc_transcript-14.45.29 → cc_transcript-14.45.31}/rust/crates/py/src/mining.rs +0 -0
  210. {cc_transcript-14.45.29 → cc_transcript-14.45.31}/rust/crates/py/src/nlp.rs +0 -0
  211. {cc_transcript-14.45.29 → cc_transcript-14.45.31}/rust/crates/py/src/python.rs +0 -0
  212. {cc_transcript-14.45.29 → cc_transcript-14.45.31}/rust/crates/py/src/render.rs +0 -0
  213. {cc_transcript-14.45.29 → cc_transcript-14.45.31}/rust/crates/py/src/score.rs +0 -0
  214. {cc_transcript-14.45.29 → cc_transcript-14.45.31}/rust/crates/py/src/snapshot_decode.rs +0 -0
  215. {cc_transcript-14.45.29 → cc_transcript-14.45.31}/rust/crates/py/src/snapshots.rs +0 -0
  216. {cc_transcript-14.45.29 → cc_transcript-14.45.31}/rust/crates/py/src/sqlite.rs +0 -0
  217. {cc_transcript-14.45.29 → cc_transcript-14.45.31}/rust/crates/py/src/toolcall.rs +0 -0
  218. {cc_transcript-14.45.29 → cc_transcript-14.45.31}/rust/crates/py/src/views/attachment.rs +0 -0
  219. {cc_transcript-14.45.29 → cc_transcript-14.45.31}/rust/crates/py/src/views/blocks.rs +0 -0
  220. {cc_transcript-14.45.29 → cc_transcript-14.45.31}/rust/crates/py/src/views/command.rs +0 -0
  221. {cc_transcript-14.45.29 → cc_transcript-14.45.31}/rust/crates/py/src/views/convert.rs +0 -0
  222. {cc_transcript-14.45.29 → cc_transcript-14.45.31}/rust/crates/py/src/views/dunder.rs +0 -0
  223. {cc_transcript-14.45.29 → cc_transcript-14.45.31}/rust/crates/py/src/views/events.rs +0 -0
  224. {cc_transcript-14.45.29 → cc_transcript-14.45.31}/rust/crates/py/src/views/meta.rs +0 -0
  225. {cc_transcript-14.45.29 → cc_transcript-14.45.31}/rust/crates/py/src/views/mod.rs +0 -0
  226. {cc_transcript-14.45.29 → cc_transcript-14.45.31}/rust/crates/py/src/views/print.rs +0 -0
  227. {cc_transcript-14.45.29 → cc_transcript-14.45.31}/rust/crates/py/src/views/store.rs +0 -0
  228. {cc_transcript-14.45.29 → cc_transcript-14.45.31}/rust/crates/py/src/views/system.rs +0 -0
  229. {cc_transcript-14.45.29 → cc_transcript-14.45.31}/rust/crates/py/src/views/toolcall.rs +0 -0
  230. {cc_transcript-14.45.29 → cc_transcript-14.45.31}/rust/crates/py/src/views/toolresult.rs +0 -0
  231. {cc_transcript-14.45.29 → cc_transcript-14.45.31}/rust/crates/py/src/views/transcript.rs +0 -0
  232. {cc_transcript-14.45.29 → cc_transcript-14.45.31}/rust/crates/py/src/watch.rs +0 -0
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: cc-transcript
3
- Version: 14.45.29
3
+ Version: 14.45.31
4
4
  Classifier: Development Status :: 3 - Alpha
5
5
  Classifier: Environment :: Console
6
6
  Classifier: Intended Audience :: Developers
@@ -1,6 +1,6 @@
1
1
  [project]
2
2
  name = "cc-transcript"
3
- version = "14.45.29" # informational — releases stamp the version from the git tag
3
+ version = "14.45.31" # informational — releases stamp the version from the git tag
4
4
  description = "Grep every Claude Code session you've ever run."
5
5
  readme = "README.md"
6
6
  license = "PolyForm-Noncommercial-1.0.0"
@@ -875,10 +875,19 @@ struct CachedPreparedFacts {
875
875
  authority: Value,
876
876
  classifier: Value,
877
877
  facts: Arc<crate::snapshot_prepared::PreparedFacts>,
878
+ append: Option<Arc<CompactCodexIndex>>,
878
879
  last_used: u64,
879
880
  }
880
881
 
881
882
  impl CachedPreparedFacts {
883
+ fn accounted_bytes(&self) -> usize {
884
+ self.facts.accounted_bytes()
885
+ + self
886
+ .append
887
+ .as_ref()
888
+ .map_or(0, |append| append.accounted_bytes())
889
+ }
890
+
882
891
  fn serves(
883
892
  &self,
884
893
  stamp: SourceStamp,
@@ -2173,6 +2182,7 @@ pub(crate) struct StoreState {
2173
2182
  recent_codex_expiry: ExpiryIndex<SourceIdentity>,
2174
2183
  prepared_loads_expiry: ExpiryIndex<SourceIdentity>,
2175
2184
  prepared_facts_lru: BTreeSet<(u64, PreparedDiskKey)>,
2185
+ prepared_fact_sources: BTreeSet<PreparedDiskKey>,
2176
2186
  counters: [u64; 20],
2177
2187
  transient_bytes: usize,
2178
2188
  prepared_disk_index_bytes: usize,
@@ -2183,6 +2193,8 @@ pub(crate) struct StoreState {
2183
2193
  audits: Arc<AtomicUsize>,
2184
2194
  #[cfg(test)]
2185
2195
  retained_owners: Vec<Weak<crate::snapshot_prepared::PreparedFacts>>,
2196
+ #[cfg(test)]
2197
+ retained_append_owners: Vec<Weak<CompactCodexIndex>>,
2186
2198
  }
2187
2199
 
2188
2200
  const TOUCH_TTL_MS: u64 = 30 * 60_000;
@@ -2247,6 +2259,7 @@ impl StoreState {
2247
2259
  recent_codex_expiry: ExpiryIndex::new(work.clone()),
2248
2260
  prepared_loads_expiry: ExpiryIndex::new(work.clone()),
2249
2261
  prepared_facts_lru: BTreeSet::new(),
2262
+ prepared_fact_sources: BTreeSet::new(),
2250
2263
  counters: [0; 20],
2251
2264
  transient_bytes: 0,
2252
2265
  prepared_disk_index_bytes: 0,
@@ -2257,6 +2270,8 @@ impl StoreState {
2257
2270
  audits: Arc::new(AtomicUsize::new(0)),
2258
2271
  #[cfg(test)]
2259
2272
  retained_owners: Vec::new(),
2273
+ #[cfg(test)]
2274
+ retained_append_owners: Vec::new(),
2260
2275
  }
2261
2276
  }
2262
2277
 
@@ -2989,24 +3004,36 @@ impl StoreState {
2989
3004
  fn prepared_facts_growth(&self, key: &PreparedDiskKey) -> usize {
2990
3005
  self.prepared_facts.growth_for(key)
2991
3006
  + usize::from(!self.prepared_facts.contains_key(key))
2992
- * size_of::<(u64, PreparedDiskKey)>()
3007
+ * (size_of::<(u64, PreparedDiskKey)>() + size_of::<PreparedDiskKey>())
2993
3008
  }
2994
3009
 
2995
3010
  fn insert_prepared_facts(&mut self, key: PreparedDiskKey, cached: CachedPreparedFacts) {
2996
3011
  self.prepared_facts.reserve_for(&key);
2997
3012
  self.ledger.shared.reserve([facts_anchor(&cached.facts)]);
2998
3013
  self.ledger.shared.acquire(facts_anchor(&cached.facts));
3014
+ if let Some(append) = &cached.append {
3015
+ self.ledger.shared.reserve([append_anchor(append)]);
3016
+ self.ledger.shared.acquire(append_anchor(append));
3017
+ }
2999
3018
  let last_used = cached.last_used;
3000
3019
  if let Some(displaced) = self.prepared_facts.insert(key, cached) {
3001
3020
  self.ledger.shared.release(facts_key(&displaced.facts));
3021
+ if let Some(append) = &displaced.append {
3022
+ self.ledger.shared.release(Arc::as_ptr(append) as usize);
3023
+ }
3002
3024
  self.prepared_facts_lru.remove(&(displaced.last_used, key));
3003
3025
  }
3004
3026
  self.prepared_facts_lru.insert((last_used, key));
3027
+ self.prepared_fact_sources.insert(key);
3005
3028
  }
3006
3029
 
3007
3030
  fn remove_prepared_facts(&mut self, key: &PreparedDiskKey) -> Option<CachedPreparedFacts> {
3008
3031
  let cached = self.prepared_facts.remove(key)?;
3009
3032
  self.ledger.shared.release(facts_key(&cached.facts));
3033
+ if let Some(append) = &cached.append {
3034
+ self.ledger.shared.release(Arc::as_ptr(append) as usize);
3035
+ }
3036
+ self.prepared_fact_sources.remove(key);
3010
3037
  self.prepared_facts_lru.remove(&(cached.last_used, *key));
3011
3038
  Some(cached)
3012
3039
  }
@@ -3016,10 +3043,10 @@ impl StoreState {
3016
3043
  identity: SourceIdentity,
3017
3044
  ) -> impl Iterator<Item = (&PreparedDiskKey, &CachedPreparedFacts)> {
3018
3045
  let work = self.ledger.shared.work();
3019
- self.prepared_facts
3020
- .iter()
3046
+ self.prepared_fact_sources
3047
+ .range(PreparedDiskKey::identity_range(identity))
3021
3048
  .inspect(move |_| work.tick(1))
3022
- .filter(move |(key, _)| key.identity() == identity)
3049
+ .map(move |key| (key, &self.prepared_facts[key]))
3023
3050
  }
3024
3051
 
3025
3052
  fn retire_identity_facts(
@@ -3027,22 +3054,23 @@ impl StoreState {
3027
3054
  identity: SourceIdentity,
3028
3055
  keep: impl Fn(&CachedPreparedFacts) -> bool,
3029
3056
  ) -> usize {
3030
- let Self {
3031
- prepared_facts,
3032
- prepared_facts_lru,
3033
- ledger,
3034
- ..
3035
- } = self;
3036
- let mut retired = 0usize;
3037
- prepared_facts.retain(|key, cached| {
3038
- if key.identity() != identity || keep(cached) {
3039
- return true;
3057
+ let (mut start, end) = PreparedDiskKey::identity_range(identity);
3058
+ let mut retired = 0;
3059
+ loop {
3060
+ let next = self
3061
+ .prepared_fact_sources
3062
+ .range((start, end))
3063
+ .next()
3064
+ .copied();
3065
+ let Some(key) = next else { break };
3066
+ start = std::ops::Bound::Excluded(key);
3067
+ self.ledger.shared.work().tick(1);
3068
+ if !keep(&self.prepared_facts[&key]) {
3069
+ self.remove_prepared_facts(&key)
3070
+ .expect("indexed prepared facts");
3071
+ retired += 1;
3040
3072
  }
3041
- ledger.shared.release(facts_key(&cached.facts));
3042
- prepared_facts_lru.remove(&(cached.last_used, *key));
3043
- retired += 1;
3044
- false
3045
- });
3073
+ }
3046
3074
  retired
3047
3075
  }
3048
3076
 
@@ -3091,7 +3119,7 @@ impl StoreState {
3091
3119
  .prepared_facts
3092
3120
  .get(&key)
3093
3121
  .filter(|cached| cached.evictable())
3094
- .map_or(0, |cached| cached.facts.accounted_bytes());
3122
+ .map_or(0, |cached| cached.accounted_bytes());
3095
3123
  for (_, victim) in &self.prepared_facts_lru {
3096
3124
  if accounted <= budget.saturating_sub(used) {
3097
3125
  return true;
@@ -3107,7 +3135,7 @@ impl StoreState {
3107
3135
  if spared(cached) {
3108
3136
  return false;
3109
3137
  }
3110
- used -= cached.facts.accounted_bytes();
3138
+ used -= cached.accounted_bytes();
3111
3139
  }
3112
3140
  accounted <= budget.saturating_sub(used)
3113
3141
  }
@@ -3416,6 +3444,10 @@ pub struct NativeStore {
3416
3444
  #[cfg(test)]
3417
3445
  membership_metadata_checks: AtomicUsize,
3418
3446
  #[cfg(test)]
3447
+ sidechain_path_probes: AtomicUsize,
3448
+ #[cfg(test)]
3449
+ sidechain_batch_name_checks: AtomicUsize,
3450
+ #[cfg(test)]
3419
3451
  pub(crate) source_resolutions: AtomicUsize,
3420
3452
  #[cfg(test)]
3421
3453
  pub(crate) retained_work: Arc<AtomicUsize>,
@@ -3426,6 +3458,10 @@ pub struct NativeStore {
3426
3458
  #[cfg(test)]
3427
3459
  pub(crate) fact_builds: AtomicUsize,
3428
3460
  #[cfg(test)]
3461
+ recent_codex_raw_limit: AtomicUsize,
3462
+ #[cfg(test)]
3463
+ hydration_observations: Mutex<Option<Vec<HydrationObservation>>>,
3464
+ #[cfg(test)]
3429
3465
  pub(crate) description_builds: AtomicUsize,
3430
3466
  #[cfg(test)]
3431
3467
  pub(crate) fact_lookups: AtomicUsize,
@@ -3914,6 +3950,10 @@ impl NativeStore {
3914
3950
  #[cfg(test)]
3915
3951
  membership_metadata_checks: AtomicUsize::new(0),
3916
3952
  #[cfg(test)]
3953
+ sidechain_path_probes: AtomicUsize::new(0),
3954
+ #[cfg(test)]
3955
+ sidechain_batch_name_checks: AtomicUsize::new(0),
3956
+ #[cfg(test)]
3917
3957
  source_resolutions: AtomicUsize::new(0),
3918
3958
  #[cfg(test)]
3919
3959
  retained_work: work.counter(),
@@ -3924,6 +3964,10 @@ impl NativeStore {
3924
3964
  #[cfg(test)]
3925
3965
  fact_builds: AtomicUsize::new(0),
3926
3966
  #[cfg(test)]
3967
+ recent_codex_raw_limit: AtomicUsize::new(128 * 1024 * 1024),
3968
+ #[cfg(test)]
3969
+ hydration_observations: Mutex::new(None),
3970
+ #[cfg(test)]
3927
3971
  description_builds: AtomicUsize::new(0),
3928
3972
  #[cfg(test)]
3929
3973
  fact_lookups: AtomicUsize::new(0),
@@ -6043,6 +6087,7 @@ impl NativeStore {
6043
6087
  authority,
6044
6088
  classifier,
6045
6089
  facts: _,
6090
+ append: _,
6046
6091
  last_used: _,
6047
6092
  } = cached;
6048
6093
  registry_generation.capacity()
@@ -6300,6 +6345,7 @@ impl NativeStore {
6300
6345
  + state.recent_codex_expiry.heap_bytes()
6301
6346
  + state.prepared_loads_expiry.heap_bytes()
6302
6347
  + state.deliveries_expiry.index_bytes()
6348
+ + state.prepared_fact_sources.len() * size_of::<PreparedDiskKey>()
6303
6349
  + state.prepared_facts_lru.len() * size_of::<(u64, PreparedDiskKey)>()
6304
6350
  + state.prepared_disk_index_bytes
6305
6351
  }
@@ -6379,7 +6425,12 @@ impl NativeStore {
6379
6425
  state.prepared_facts.len(),
6380
6426
  "prepared facts lru index diverges from the cache"
6381
6427
  );
6428
+ assert_eq!(
6429
+ state.prepared_fact_sources.len(),
6430
+ state.prepared_facts.len()
6431
+ );
6382
6432
  for (key, cached) in state.prepared_facts.iter() {
6433
+ assert!(state.prepared_fact_sources.contains(key));
6383
6434
  assert!(
6384
6435
  state.prepared_facts_lru.contains(&(cached.last_used, *key)),
6385
6436
  "prepared facts lru index misses a cached entry"
@@ -9071,6 +9122,11 @@ impl NativeStore {
9071
9122
  .read_exact(&mut load.origin_fence[start..])
9072
9123
  .map_err(io_error)?;
9073
9124
  usage[1] += count as u64;
9125
+ #[cfg(test)]
9126
+ self.observe_hydration(HydrationObservation::Read {
9127
+ stamp: slot.stamp,
9128
+ bytes: count as u64,
9129
+ });
9074
9130
  if load.origin_fence.len() == fence_size {
9075
9131
  load.origin_complete = true;
9076
9132
  load.file.seek(SeekFrom::Start(0)).map_err(io_error)?;
@@ -9100,6 +9156,11 @@ impl NativeStore {
9100
9156
  .read_exact(&mut load.prefix_fence[start..])
9101
9157
  .map_err(io_error)?;
9102
9158
  usage[1] += count as u64;
9159
+ #[cfg(test)]
9160
+ self.observe_hydration(HydrationObservation::Read {
9161
+ stamp: slot.stamp,
9162
+ bytes: count as u64,
9163
+ });
9103
9164
  if load.prefix_fence.len() < prior_fence.len() {
9104
9165
  return Ok(());
9105
9166
  }
@@ -9209,6 +9270,11 @@ impl NativeStore {
9209
9270
  self.before_source_read();
9210
9271
  load.file.read_exact(&mut block).map_err(io_error)?;
9211
9272
  usage[1] += count;
9273
+ #[cfg(test)]
9274
+ self.observe_hydration(HydrationObservation::Read {
9275
+ stamp: slot.stamp,
9276
+ bytes: count as u64,
9277
+ });
9212
9278
  load.window_scanned += count;
9213
9279
  memchr::memrchr(b'\n', &block).map(|newline| unscanned - count + newline as u64 + 1)
9214
9280
  };
@@ -9276,6 +9342,11 @@ impl NativeStore {
9276
9342
  .map_err(io_error)?;
9277
9343
  load.offset += count as u64;
9278
9344
  usage[1] += count as u64;
9345
+ #[cfg(test)]
9346
+ self.observe_hydration(HydrationObservation::Read {
9347
+ stamp: slot.stamp,
9348
+ bytes: count as u64,
9349
+ });
9279
9350
  if !Self::matches_prefix(
9280
9351
  SourceStamp::of(&load.file.metadata().map_err(io_error)?),
9281
9352
  slot.stamp,
@@ -9513,6 +9584,11 @@ impl NativeStore {
9513
9584
  .read_exact(&mut load.seal_fence[start..])
9514
9585
  .map_err(io_error)?;
9515
9586
  usage[1] += count as u64;
9587
+ #[cfg(test)]
9588
+ self.observe_hydration(HydrationObservation::Read {
9589
+ stamp: slot.stamp,
9590
+ bytes: count as u64,
9591
+ });
9516
9592
  if load.seal_fence.len() < fence_size {
9517
9593
  return Ok(());
9518
9594
  }
@@ -12072,10 +12148,13 @@ impl NativeStore {
12072
12148
  include!("snapshot_catalog.rs");
12073
12149
  include!("snapshot_symlink_proof.rs");
12074
12150
  include!("snapshot_catalog_owner.rs");
12151
+ include!("snapshot_sidechain_absence.rs");
12075
12152
  include!("snapshot_prepared_service.rs");
12153
+ include!("snapshot_hydration_observations.rs");
12076
12154
  include!("snapshot_cache.rs");
12077
12155
  include!("snapshot_root_warm.rs");
12078
12156
  include!("snapshot_codex_append.rs");
12157
+ include!("snapshot_compact_codex.rs");
12079
12158
  include!("snapshot_spine.rs");
12080
12159
  include!("snapshot_raw_scope.rs");
12081
12160
  include!("snapshot_direct_tail.rs");
@@ -12146,10 +12225,13 @@ mod tests {
12146
12225
  include!("snapshot_raw_projection_tests.rs");
12147
12226
  include!("snapshot_raw_tail_tests.rs");
12148
12227
  include!("snapshot_direct_tail_tests.rs");
12228
+ include!("snapshot_query_hydration_tests.rs");
12229
+ include!("snapshot_compact_codex_tests.rs");
12149
12230
  include!("snapshot_hydrate_budget_tests.rs");
12150
12231
  include!("snapshot_interactions_tests.rs");
12151
12232
  include!("snapshot_interaction_api_tests.rs");
12152
12233
  include!("snapshot_catalog_tests.rs");
12234
+ include!("snapshot_sidechain_absence_tests.rs");
12153
12235
  include!("snapshot_common_borrowed_parent_tests.rs");
12154
12236
 
12155
12237
  fn context(claimant: &str) -> Value {
@@ -16733,7 +16815,7 @@ mod tests {
16733
16815
  .validate_source_stamps(&[], &owner, &cancel, deadline)
16734
16816
  .map_err(|error| error.status),
16735
16817
  store
16736
- .validate_sidechain_dirs(&[], &owner, &cancel, deadline)
16818
+ .validate_sidechain_dirs(&[], &owner, &cancel, deadline, None)
16737
16819
  .map_err(|error| error.status),
16738
16820
  ),
16739
16821
  (Err(status), Err(status))
@@ -19950,7 +20032,7 @@ mod tests {
19950
20032
  }
19951
20033
 
19952
20034
  #[test]
19953
- fn registered_warmer_pages_cached_members_256_at_a_time() {
20035
+ fn registered_catalog_warmer_pages_cached_members_256_at_a_time() {
19954
20036
  let (_source, store, owner, request) = registered_warming(600);
19955
20037
  let cold = registered_pages(&store, &owner, &request);
19956
20038
  assert_eq!(
@@ -19963,6 +20045,8 @@ mod tests {
19963
20045
  let resolutions = store.source_resolutions.load(Ordering::Relaxed);
19964
20046
  let dir_checks = store.prepared_disk.dir_checks.load(Ordering::Relaxed);
19965
20047
  let metadata_checks = store.membership_metadata_checks.load(Ordering::Relaxed);
20048
+ let sidechain_probes = store.sidechain_path_probes.load(Ordering::Relaxed);
20049
+ let batch_name_checks = store.sidechain_batch_name_checks.load(Ordering::Relaxed);
19966
20050
  let writes = store.prepared_disk.stats().writes;
19967
20051
  let cached = registered_pages(&store, &owner, &request);
19968
20052
  assert_eq!(
@@ -19986,7 +20070,15 @@ mod tests {
19986
20070
  );
19987
20071
  assert_eq!(
19988
20072
  store.membership_metadata_checks.load(Ordering::Relaxed) - metadata_checks,
19989
- 4 * 600
20073
+ 3 * 600
20074
+ );
20075
+ assert_eq!(
20076
+ store.sidechain_path_probes.load(Ordering::Relaxed) - sidechain_probes,
20077
+ 600
20078
+ );
20079
+ assert_eq!(
20080
+ store.sidechain_batch_name_checks.load(Ordering::Relaxed) - batch_name_checks,
20081
+ 600 + 1
19990
20082
  );
19991
20083
  assert_eq!(store.prepared_disk.stats().writes, writes);
19992
20084
  }
@@ -276,6 +276,11 @@ impl NativeStore {
276
276
  (Some(previous), Some(parsed)) => previous.fallback_reason(parsed),
277
277
  _ => Some("cold"),
278
278
  };
279
+ #[cfg(test)]
280
+ self.observe_hydration(HydrationObservation::Codex {
281
+ stamp: slot.stamp, previous: load.previous.is_some(), raw: load.codex_raw.is_some(),
282
+ index: load.codex_append.is_some(), append, fallback, suffix_bytes: suffix.len(),
283
+ });
279
284
  let (entries, arenas, index) = if fallback.is_some() {
280
285
  let mut start = 0;
281
286
  for end in memchr::memchr_iter(b'\n', &raw) {