mostlyright-data 0.31.16__tar.gz → 0.31.19__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 (128) hide show
  1. {mostlyright_data-0.31.16 → mostlyright_data-0.31.19}/PKG-INFO +1 -1
  2. {mostlyright_data-0.31.16 → mostlyright_data-0.31.19}/skills/mr-data-build/SKILL.md +10 -0
  3. {mostlyright_data-0.31.16 → mostlyright_data-0.31.19}/skills/mr-data-build/references/enriching-with-small-models.md +21 -0
  4. {mostlyright_data-0.31.16 → mostlyright_data-0.31.19}/src/mostlyright/data_harness/thin/activity.py +2 -1
  5. {mostlyright_data-0.31.16 → mostlyright_data-0.31.19}/src/mostlyright/data_harness/thin/delivery.py +4 -4
  6. {mostlyright_data-0.31.16 → mostlyright_data-0.31.19}/src/mostlyright/data_harness/thin/download.py +3 -3
  7. {mostlyright_data-0.31.16 → mostlyright_data-0.31.19}/src/mostlyright/data_harness/thin/enrichment.py +1 -1
  8. {mostlyright_data-0.31.16 → mostlyright_data-0.31.19}/src/mostlyright/data_harness/thin/fast_features.py +1 -1
  9. {mostlyright_data-0.31.16 → mostlyright_data-0.31.19}/src/mostlyright/data_harness/thin/probe.py +1 -1
  10. {mostlyright_data-0.31.16 → mostlyright_data-0.31.19}/src/mostlyright/data_harness/thin/recipe.py +34 -26
  11. {mostlyright_data-0.31.16 → mostlyright_data-0.31.19}/src/mostlyright/data_harness/thin/recipe_brief.py +7 -5
  12. {mostlyright_data-0.31.16 → mostlyright_data-0.31.19}/src/mostlyright/data_harness/thin/recipe_explain.py +17 -26
  13. {mostlyright_data-0.31.16 → mostlyright_data-0.31.19}/src/mostlyright/data_harness/thin/recipe_forecast.py +5 -3
  14. {mostlyright_data-0.31.16 → mostlyright_data-0.31.19}/src/mostlyright/data_harness/thin/recipe_lint.py +1 -1
  15. {mostlyright_data-0.31.16 → mostlyright_data-0.31.19}/src/mostlyright/data_harness/thin/recipe_test.py +12 -10
  16. {mostlyright_data-0.31.16 → mostlyright_data-0.31.19}/src/mostlyright/data_harness/thin/refresh_rehearsal.py +15 -13
  17. {mostlyright_data-0.31.16 → mostlyright_data-0.31.19}/src/mostlyright/data_harness/thin/research.py +29 -20
  18. {mostlyright_data-0.31.16 → mostlyright_data-0.31.19}/src/mostlyright/data_harness/thin/router.py +7 -9
  19. {mostlyright_data-0.31.16 → mostlyright_data-0.31.19}/src/mostlyright/data_harness/thin/run_diagnose.py +4 -3
  20. {mostlyright_data-0.31.16 → mostlyright_data-0.31.19}/src/mostlyright/data_harness/thin/runs.py +16 -10
  21. {mostlyright_data-0.31.16 → mostlyright_data-0.31.19}/src/mostlyright/data_harness/thin/session.py +7 -7
  22. {mostlyright_data-0.31.16 → mostlyright_data-0.31.19}/src/mostlyright/data_harness/thin/stream.py +6 -6
  23. {mostlyright_data-0.31.16 → mostlyright_data-0.31.19}/src/mostlyright/data_harness/thin/stream_venue.py +8 -8
  24. {mostlyright_data-0.31.16 → mostlyright_data-0.31.19}/src/mostlyright/data_harness/thin/v4.py +1 -1
  25. {mostlyright_data-0.31.16 → mostlyright_data-0.31.19}/src/mostlyright/data_harness/thin/v4_artifacts.py +9 -9
  26. {mostlyright_data-0.31.16 → mostlyright_data-0.31.19}/src/mostlyright/data_harness/thin/v4_catalog.py +10 -6
  27. {mostlyright_data-0.31.16 → mostlyright_data-0.31.19}/src/mostlyright/data_harness/thin/v4_connections.py +1 -1
  28. {mostlyright_data-0.31.16 → mostlyright_data-0.31.19}/src/mostlyright/data_harness/thin/v4_dataset_covers.py +15 -6
  29. {mostlyright_data-0.31.16 → mostlyright_data-0.31.19}/src/mostlyright/data_harness/thin/v4_datasets.py +21 -17
  30. {mostlyright_data-0.31.16 → mostlyright_data-0.31.19}/src/mostlyright/data_harness/thin/v4_narrative.py +5 -5
  31. {mostlyright_data-0.31.16 → mostlyright_data-0.31.19}/src/mostlyright/data_harness/thin/v4_query.py +36 -25
  32. {mostlyright_data-0.31.16 → mostlyright_data-0.31.19}/src/mostlyright/data_harness/thin/v4_reader.py +19 -15
  33. {mostlyright_data-0.31.16 → mostlyright_data-0.31.19}/src/mostlyright/data_harness/thin/v4_runs.py +63 -51
  34. {mostlyright_data-0.31.16 → mostlyright_data-0.31.19}/src/mostlyright/data_harness/thin/v4_search.py +29 -26
  35. {mostlyright_data-0.31.16 → mostlyright_data-0.31.19}/src/mostlyright/data_harness/thin/v4_stream.py +1 -1
  36. {mostlyright_data-0.31.16 → mostlyright_data-0.31.19}/src/mostlyright/data_harness/thin/v4_tables.py +75 -59
  37. {mostlyright_data-0.31.16 → mostlyright_data-0.31.19}/src/mostlyright/data_harness/thin/vocabulary.py +23 -16
  38. {mostlyright_data-0.31.16 → mostlyright_data-0.31.19}/src/mostlyright/data_harness/ux/commands/auth.py +4 -4
  39. {mostlyright_data-0.31.16 → mostlyright_data-0.31.19}/src/mostlyright/data_harness/ux/remediation.py +10 -8
  40. {mostlyright_data-0.31.16 → mostlyright_data-0.31.19}/src/mostlyright/data_harness/ux/render.py +14 -14
  41. {mostlyright_data-0.31.16 → mostlyright_data-0.31.19}/.gitignore +0 -0
  42. {mostlyright_data-0.31.16 → mostlyright_data-0.31.19}/README.md +0 -0
  43. {mostlyright_data-0.31.16 → mostlyright_data-0.31.19}/pyproject.toml +0 -0
  44. {mostlyright_data-0.31.16 → mostlyright_data-0.31.19}/scripts/hatch_build.py +0 -0
  45. {mostlyright_data-0.31.16 → mostlyright_data-0.31.19}/skills/mr-data-build/agents/openai.yaml +0 -0
  46. {mostlyright_data-0.31.16 → mostlyright_data-0.31.19}/skills/mr-data-build/references/1-open-the-page-and-the-link-to-it-in-the-first-message.md +0 -0
  47. {mostlyright_data-0.31.16 → mostlyright_data-0.31.19}/skills/mr-data-build/references/2-brief-two-to-four-questions-each-with-a-recommended-answer.md +0 -0
  48. {mostlyright_data-0.31.16 → mostlyright_data-0.31.19}/skills/mr-data-build/references/3-probe-read-a-source-before-committing-to-it.md +0 -0
  49. {mostlyright_data-0.31.16 → mostlyright_data-0.31.19}/skills/mr-data-build/references/4-decide-say-what-you-chose-what-you-refused-and-ask-one-question.md +0 -0
  50. {mostlyright_data-0.31.16 → mostlyright_data-0.31.19}/skills/mr-data-build/references/5-draft-one-recipe-document-one-call.md +0 -0
  51. {mostlyright_data-0.31.16 → mostlyright_data-0.31.19}/skills/mr-data-build/references/6-build-one-run-sized-to-acquire-every-measured-source-whole.md +0 -0
  52. {mostlyright_data-0.31.16 → mostlyright_data-0.31.19}/skills/mr-data-build/references/7-interrogate-ask-the-run-what-it-actually-delivered.md +0 -0
  53. {mostlyright_data-0.31.16 → mostlyright_data-0.31.19}/skills/mr-data-build/references/8-fix-revise-the-document-and-register-it-again.md +0 -0
  54. {mostlyright_data-0.31.16 → mostlyright_data-0.31.19}/skills/mr-data-build/references/9-present-only-what-survived-inspection-with-caveats.md +0 -0
  55. {mostlyright_data-0.31.16 → mostlyright_data-0.31.19}/skills/mr-data-build/references/agent-protocol.md +0 -0
  56. {mostlyright_data-0.31.16 → mostlyright_data-0.31.19}/skills/mr-data-build/references/autonomous-delivery.md +0 -0
  57. {mostlyright_data-0.31.16 → mostlyright_data-0.31.19}/skills/mr-data-build/references/before-the-first-tool-call.md +0 -0
  58. {mostlyright_data-0.31.16 → mostlyright_data-0.31.19}/skills/mr-data-build/references/boundaries.md +0 -0
  59. {mostlyright_data-0.31.16 → mostlyright_data-0.31.19}/skills/mr-data-build/references/cloud-authentication-preflight.md +0 -0
  60. {mostlyright_data-0.31.16 → mostlyright_data-0.31.19}/skills/mr-data-build/references/commands.md +0 -0
  61. {mostlyright_data-0.31.16 → mostlyright_data-0.31.19}/skills/mr-data-build/references/live-run.md +0 -0
  62. {mostlyright_data-0.31.16 → mostlyright_data-0.31.19}/skills/mr-data-build/references/making-a-table-incremental.md +0 -0
  63. {mostlyright_data-0.31.16 → mostlyright_data-0.31.19}/skills/mr-data-build/references/narrating-the-run.md +0 -0
  64. {mostlyright_data-0.31.16 → mostlyright_data-0.31.19}/skills/mr-data-build/references/not-hosted-yet.md +0 -0
  65. {mostlyright_data-0.31.16 → mostlyright_data-0.31.19}/skills/mr-data-build/references/one-install.md +0 -0
  66. {mostlyright_data-0.31.16 → mostlyright_data-0.31.19}/skills/mr-data-build/references/patterns.md +0 -0
  67. {mostlyright_data-0.31.16 → mostlyright_data-0.31.19}/skills/mr-data-build/references/prediction-labels.md +0 -0
  68. {mostlyright_data-0.31.16 → mostlyright_data-0.31.19}/skills/mr-data-build/references/preparing-table-search.md +0 -0
  69. {mostlyright_data-0.31.16 → mostlyright_data-0.31.19}/skills/mr-data-build/references/promote.md +0 -0
  70. {mostlyright_data-0.31.16 → mostlyright_data-0.31.19}/skills/mr-data-build/references/readers.md +0 -0
  71. {mostlyright_data-0.31.16 → mostlyright_data-0.31.19}/skills/mr-data-build/references/receipts.md +0 -0
  72. {mostlyright_data-0.31.16 → mostlyright_data-0.31.19}/skills/mr-data-build/references/recipe-test.md +0 -0
  73. {mostlyright_data-0.31.16 → mostlyright_data-0.31.19}/skills/mr-data-build/references/recording-a-stream-venue.md +0 -0
  74. {mostlyright_data-0.31.16 → mostlyright_data-0.31.19}/skills/mr-data-build/references/recovering-an-import-failure.md +0 -0
  75. {mostlyright_data-0.31.16 → mostlyright_data-0.31.19}/skills/mr-data-build/references/reference-pages.md +0 -0
  76. {mostlyright_data-0.31.16 → mostlyright_data-0.31.19}/skills/mr-data-build/references/required-protocol.md +0 -0
  77. {mostlyright_data-0.31.16 → mostlyright_data-0.31.19}/skills/mr-data-build/references/source-credentials.md +0 -0
  78. {mostlyright_data-0.31.16 → mostlyright_data-0.31.19}/skills/mr-data-build/references/sources.md +0 -0
  79. {mostlyright_data-0.31.16 → mostlyright_data-0.31.19}/skills/mr-data-build/references/the-one-thing-to-say-about-the-skill-itself.md +0 -0
  80. {mostlyright_data-0.31.16 → mostlyright_data-0.31.19}/skills/mr-data-build/references/transforms.md +0 -0
  81. {mostlyright_data-0.31.16 → mostlyright_data-0.31.19}/skills/mr-data-build/references/user-communication-contract.md +0 -0
  82. {mostlyright_data-0.31.16 → mostlyright_data-0.31.19}/skills/mr-data-build/references/writing-a-decision-record.md +0 -0
  83. {mostlyright_data-0.31.16 → mostlyright_data-0.31.19}/skills/mr-data-build/scripts/write_research_notebook.py +0 -0
  84. {mostlyright_data-0.31.16 → mostlyright_data-0.31.19}/src/mostlyright/data_harness/__init__.py +0 -0
  85. {mostlyright_data-0.31.16 → mostlyright_data-0.31.19}/src/mostlyright/data_harness/agent_protocol.py +0 -0
  86. {mostlyright_data-0.31.16 → mostlyright_data-0.31.19}/src/mostlyright/data_harness/canonical.py +0 -0
  87. {mostlyright_data-0.31.16 → mostlyright_data-0.31.19}/src/mostlyright/data_harness/key_seam.py +0 -0
  88. {mostlyright_data-0.31.16 → mostlyright_data-0.31.19}/src/mostlyright/data_harness/page_coverage.py +0 -0
  89. {mostlyright_data-0.31.16 → mostlyright_data-0.31.19}/src/mostlyright/data_harness/part_check_evidence.py +0 -0
  90. {mostlyright_data-0.31.16 → mostlyright_data-0.31.19}/src/mostlyright/data_harness/session_probes.py +0 -0
  91. {mostlyright_data-0.31.16 → mostlyright_data-0.31.19}/src/mostlyright/data_harness/skill_assets.py +0 -0
  92. {mostlyright_data-0.31.16 → mostlyright_data-0.31.19}/src/mostlyright/data_harness/table_manifest.py +0 -0
  93. {mostlyright_data-0.31.16 → mostlyright_data-0.31.19}/src/mostlyright/data_harness/thin/__init__.py +0 -0
  94. {mostlyright_data-0.31.16 → mostlyright_data-0.31.19}/src/mostlyright/data_harness/thin/backoff.py +0 -0
  95. {mostlyright_data-0.31.16 → mostlyright_data-0.31.19}/src/mostlyright/data_harness/thin/categories.py +0 -0
  96. {mostlyright_data-0.31.16 → mostlyright_data-0.31.19}/src/mostlyright/data_harness/thin/dataset-categories-v1.json +0 -0
  97. {mostlyright_data-0.31.16 → mostlyright_data-0.31.19}/src/mostlyright/data_harness/thin/description_shape.py +0 -0
  98. {mostlyright_data-0.31.16 → mostlyright_data-0.31.19}/src/mostlyright/data_harness/thin/matching_benchmark.py +0 -0
  99. {mostlyright_data-0.31.16 → mostlyright_data-0.31.19}/src/mostlyright/data_harness/thin/progress_rate.py +0 -0
  100. {mostlyright_data-0.31.16 → mostlyright_data-0.31.19}/src/mostlyright/data_harness/thin/progress_vocabulary.py +0 -0
  101. {mostlyright_data-0.31.16 → mostlyright_data-0.31.19}/src/mostlyright/data_harness/thin/release_check.py +0 -0
  102. {mostlyright_data-0.31.16 → mostlyright_data-0.31.19}/src/mostlyright/data_harness/thin/run_prefix.py +0 -0
  103. {mostlyright_data-0.31.16 → mostlyright_data-0.31.19}/src/mostlyright/data_harness/thin/studio_capabilities.py +0 -0
  104. {mostlyright_data-0.31.16 → mostlyright_data-0.31.19}/src/mostlyright/data_harness/thin/support.py +0 -0
  105. {mostlyright_data-0.31.16 → mostlyright_data-0.31.19}/src/mostlyright/data_harness/thin/table_search_contract.json +0 -0
  106. {mostlyright_data-0.31.16 → mostlyright_data-0.31.19}/src/mostlyright/data_harness/thin/table_view.py +0 -0
  107. {mostlyright_data-0.31.16 → mostlyright_data-0.31.19}/src/mostlyright/data_harness/thin/transport.py +0 -0
  108. {mostlyright_data-0.31.16 → mostlyright_data-0.31.19}/src/mostlyright/data_harness/thin/user_agent.py +0 -0
  109. {mostlyright_data-0.31.16 → mostlyright_data-0.31.19}/src/mostlyright/data_harness/thin/v4_connected.py +0 -0
  110. {mostlyright_data-0.31.16 → mostlyright_data-0.31.19}/src/mostlyright/data_harness/thin/v4_handoff.py +0 -0
  111. {mostlyright_data-0.31.16 → mostlyright_data-0.31.19}/src/mostlyright/data_harness/thin/v4_matching.py +0 -0
  112. {mostlyright_data-0.31.16 → mostlyright_data-0.31.19}/src/mostlyright/data_harness/thin/v4_public.py +0 -0
  113. {mostlyright_data-0.31.16 → mostlyright_data-0.31.19}/src/mostlyright/data_harness/thin/v4_search_contract.py +0 -0
  114. {mostlyright_data-0.31.16 → mostlyright_data-0.31.19}/src/mostlyright/data_harness/thin/v4_secrets.py +0 -0
  115. {mostlyright_data-0.31.16 → mostlyright_data-0.31.19}/src/mostlyright/data_harness/ux/__init__.py +0 -0
  116. {mostlyright_data-0.31.16 → mostlyright_data-0.31.19}/src/mostlyright/data_harness/ux/attendance.py +0 -0
  117. {mostlyright_data-0.31.16 → mostlyright_data-0.31.19}/src/mostlyright/data_harness/ux/clarification.py +0 -0
  118. {mostlyright_data-0.31.16 → mostlyright_data-0.31.19}/src/mostlyright/data_harness/ux/cloud_auth.py +0 -0
  119. {mostlyright_data-0.31.16 → mostlyright_data-0.31.19}/src/mostlyright/data_harness/ux/commands/__init__.py +0 -0
  120. {mostlyright_data-0.31.16 → mostlyright_data-0.31.19}/src/mostlyright/data_harness/ux/commands/clarify.py +0 -0
  121. {mostlyright_data-0.31.16 → mostlyright_data-0.31.19}/src/mostlyright/data_harness/ux/commands/login.py +0 -0
  122. {mostlyright_data-0.31.16 → mostlyright_data-0.31.19}/src/mostlyright/data_harness/ux/commands/whoami.py +0 -0
  123. {mostlyright_data-0.31.16 → mostlyright_data-0.31.19}/src/mostlyright/data_harness/ux/credential_native.py +0 -0
  124. {mostlyright_data-0.31.16 → mostlyright_data-0.31.19}/src/mostlyright/data_harness/ux/credential_store.py +0 -0
  125. {mostlyright_data-0.31.16 → mostlyright_data-0.31.19}/src/mostlyright/data_harness/ux/credentials.py +0 -0
  126. {mostlyright_data-0.31.16 → mostlyright_data-0.31.19}/src/mostlyright/data_harness/ux/login.py +0 -0
  127. {mostlyright_data-0.31.16 → mostlyright_data-0.31.19}/src/mostlyright/data_harness/ux/path_kind.py +0 -0
  128. {mostlyright_data-0.31.16 → mostlyright_data-0.31.19}/src/mostlyright/data_harness/ux/plain_file.py +0 -0
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: mostlyright-data
3
- Version: 0.31.16
3
+ Version: 0.31.19
4
4
  Summary: Mostly Right hosted CLI for reviewed datasets
5
5
  Project-URL: Homepage, https://mostlyright.md/
6
6
  Project-URL: Documentation, https://mostlyright.md/docs/guides/cli/
@@ -252,6 +252,16 @@ These failures look like recipe faults and are not:
252
252
  | `EXECUTION_CAPACITY_CLAIM_FAILED` during a platform release | Start the run again after the release. Keep the recipe. |
253
253
  | "Schedule held" on the dashboard | Read what holds it with `mr-data table show TABLE_ID`. A recipe with no refreshing plan and no `rebuild` stays held. [Promotion and cadence](references/promote.md) has the repair. |
254
254
 
255
+ If a run reports failed collection pages but no precise cause, inspect its sealed failure ledger
256
+ before blaming the publisher or model. Use `mr-data download RUN_ID --kind raw_snapshot --output
257
+ NEW_DIRECTORY --json` and read only the relevant `*.collection-ledger.csv` member from the verified
258
+ archive. Check `status`, `failure_code` and `failure_detail`; per-row request ledgers also record
259
+ `http_status`. A `COLLECTION_PAGE_DECODE` after
260
+ HTTP 200 means the response was received but the Reader could not decode it; repair the Reader
261
+ against the response contract. Do not retry model calls merely to inspect their errors. If no
262
+ snapshot was sealed, report that evidence gap rather than guessing. A terminal `succeeded` status
263
+ with failed pages is still incomplete coverage.
264
+
255
265
  Legacy `room_fault: true` can identify a supported `mr-data run --retry RUN_ID` case. A failed
256
266
  or cancelled progressive full is resumed by the same command from the pages it saved, unless the
257
267
  failure says the recipe must change.
@@ -160,6 +160,27 @@ An extract source has the same per-row shape with the extraction body
160
160
  - `one: true` asks for a single object per row, for a detail page; leave it out for a list of
161
161
  records per row.
162
162
 
163
+ Read the answer's `records` array with `json.tabular`: set `records_pointer` to
164
+ `/records`, then point each column at a scalar field inside each record. For fields named
165
+ `supplier` and `value`, the decode options are:
166
+
167
+ ```json
168
+ {
169
+ "document_format": "json",
170
+ "records_pointer": "/records",
171
+ "expand": [],
172
+ "columns": [
173
+ {"name": "supplier", "pointer": "/supplier", "required": false},
174
+ {"name": "value", "pointer": "/value", "required": false}
175
+ ]
176
+ }
177
+ ```
178
+
179
+ The response envelope (`records`, `spans`, `usage`) is not a scalar column. Selecting `/records`
180
+ as a column, or the entire response with an empty column pointer, fails decoding even when the
181
+ model answered successfully. Keep source page identifiers in `carry_columns`; one page may yield
182
+ many extracted records, so do not declare page identity alone as a unique contract key.
183
+
163
184
  Each answer is grounded: every value appears verbatim in the input, and `spans` say where. A row
164
185
  whose text states none of the fields returns no record, which is an answer, not a failure.
165
186
 
@@ -184,7 +184,8 @@ class StudioV4ActivityClient(StudioV4Client):
184
184
  showing = record.get("activity")
185
185
  if showing is not None and not isinstance(showing, Mapping):
186
186
  raise ThinLaneError(
187
- "THIN_RESPONSE_INVALID", "Studio's dataset record carries an unreadable activity"
187
+ "THIN_RESPONSE_INVALID",
188
+ "The server's dataset record carries an unreadable activity",
188
189
  )
189
190
  return showing
190
191
 
@@ -68,7 +68,7 @@ _VIEW_WHY = (
68
68
  )
69
69
 
70
70
  _SNAPSHOT = (
71
- "Studio has no cadence that means never. When the agreed answer is a fixed snapshot, leave "
71
+ "The server has no cadence that means never. When the agreed answer is a fixed snapshot, leave "
72
72
  "the table unscheduled, record that decision with mr-data dataset note {dataset_id} "
73
73
  '--heading "Fixed snapshot: no refresh" --markdown-file NOTE.md, and skip this step, saying '
74
74
  "so in one line. The step stays listed after the note, because the note is the record."
@@ -89,10 +89,10 @@ _NOT_READY_WHY = (
89
89
  )
90
90
 
91
91
  _PARKED_WHY = (
92
- "A cadence was requested, but Studio holds it because the current recipe is not "
92
+ "A cadence was requested, but the server holds it because the current recipe is not "
93
93
  "refresh-ready: {blocker}. That is a design fault to repair, not a state to wait out. Run "
94
94
  "mr-data recipe explain RECIPE_ID --json, repair the recipe, register the revision and resync "
95
- "once. Studio restores the held schedule when the recipe is ready."
95
+ "once. The server restores the held schedule when the recipe is ready."
96
96
  )
97
97
 
98
98
  #: Every block says this: a scratch table is a test, not the delivered dataset.
@@ -263,7 +263,7 @@ def cadence_step(
263
263
  why = (
264
264
  _PARKED_WHY.format(blocker=said)
265
265
  if isinstance(blocker, str) and blocker
266
- else "A cadence was requested, and Studio has not yet restored it. Read "
266
+ else "A cadence was requested, and the server has not yet restored it. Read "
267
267
  f"{readiness} and mr-data table {table_id} until the schedule is in force."
268
268
  )
269
269
  return _step(
@@ -204,7 +204,7 @@ def download_signed_artifact(
204
204
  if expected_size > MAX_ARTIFACT_BYTES:
205
205
  raise ThinLaneError(
206
206
  "THIN_ARTIFACT_TOO_LARGE",
207
- f"the artifact declares {expected_size} bytes, above this lane's ceiling",
207
+ f"the artifact declares {expected_size} bytes, above this client's ceiling",
208
208
  )
209
209
 
210
210
  selected = transport or UrlLibTransport()
@@ -294,7 +294,7 @@ def download_signed_artifact(
294
294
  if observed != expected_digest:
295
295
  raise ThinLaneError(
296
296
  "THIN_DOWNLOAD_DIGEST_MISMATCH",
297
- "the downloaded bytes do not hash to the digest Studio declared",
297
+ "the downloaded bytes do not hash to the digest the server declared",
298
298
  )
299
299
  else:
300
300
  # The whole artifact was just written and is bounded by ``expected_size``, so one
@@ -314,7 +314,7 @@ def download_signed_artifact(
314
314
  if preimage != expected_preimage.digest:
315
315
  raise ThinLaneError(
316
316
  "THIN_DOWNLOAD_DIGEST_MISMATCH",
317
- "the downloaded bytes do not hash to the digest Studio declared",
317
+ "the downloaded bytes do not hash to the digest the server declared",
318
318
  )
319
319
  except BaseException:
320
320
  # Nothing partial and nothing unverified is left behind for a later command to mistake
@@ -669,7 +669,7 @@ def models(args: argparse.Namespace, *, client: Any | None = None) -> dict[str,
669
669
  if not isinstance(listing, Mapping):
670
670
  raise ThinLaneError(
671
671
  "THIN_RESPONSE_INVALID",
672
- "Studio's platform credential listing could not be read; this is not an empty "
672
+ "The server's platform credential listing could not be read; this is not an empty "
673
673
  "list of models",
674
674
  )
675
675
  return {
@@ -519,7 +519,7 @@ def _concurrency(sources: list[Mapping[str, Any]]) -> dict[str, Any]:
519
519
  parts.append(
520
520
  ". ".join(
521
521
  f"{name} states pages.concurrency {width}, which is at least "
522
- f"{LANE_CONCURRENCY_PER_HOST}, the collection lane's per-host ceiling, so "
522
+ f"{LANE_CONCURRENCY_PER_HOST}, the server's per-host collection ceiling, so "
523
523
  f"the stated width stands"
524
524
  for name, width in wide
525
525
  )
@@ -372,7 +372,7 @@ def _live_session(
372
372
  session_id = opened.get("session_id")
373
373
  if not isinstance(session_id, str) or not session_id:
374
374
  raise ThinLaneError(
375
- "THIN_RESPONSE_INVALID", "Studio opened a session without identifying it"
375
+ "THIN_RESPONSE_INVALID", "The server opened a session without identifying it"
376
376
  )
377
377
  if opened.get("ready") is not True:
378
378
  raise ThinLaneError(
@@ -694,7 +694,8 @@ def _window_layout_refusal(
694
694
  "Every source states a continuation, but this plan holds more than one source and "
695
695
  f"the window on {named} states no complete `merge.partition`: a plan of several "
696
696
  "sources is materialized by the generic delta worker, which writes ONE table "
697
- "manifest, so Studio reads `merge.materialization`, `merge.partition.column` and "
697
+ "manifest, so the server reads `merge.materialization`, `merge.partition.column` "
698
+ "and "
698
699
  "`merge.partition.key` off every window in the plan and refuses it when one of "
699
700
  f"them is missing. {UNREFRESHABLE_PLAN_TAIL}"
700
701
  )
@@ -817,7 +818,8 @@ def unrefreshable_plan_finding(
817
818
  if inheriting and multi_source_recompute:
818
819
  return recipe_explain.SOURCE_READS_WHOLE, (
819
820
  "Every source states a continuation, but this recipe states "
820
- "`multi_source_recompute`, and Studio then plans every refresh as a whole-source "
821
+ "`multi_source_recompute`, and the server then plans every refresh as a "
822
+ "whole-source "
821
823
  "recompute, which has no action for the per-row request collection "
822
824
  f"{inheriting[0]}. Drop `multi_source_recompute` so the collection refreshes with "
823
825
  f"the window it inherits. {UNREFRESHABLE_PLAN_TAIL}"
@@ -840,7 +842,8 @@ def unrefreshable_plan_finding(
840
842
  )
841
843
  return code, (
842
844
  "Every source states a continuation, but this plan carries the page collection "
843
- f"{refusing[0]}, and Studio admits no bounded incremental materialization for it: a "
845
+ f"{refusing[0]}, and the server admits no bounded incremental materialization for it: "
846
+ "a "
844
847
  "collection restores its ledger from the raw snapshot and cannot join the "
845
848
  "replacement-partition proof a refresh writes, so it refuses the whole table. The one "
846
849
  "collection a refresh admits sends one request per row of a direct request window "
@@ -865,7 +868,8 @@ def unrefreshable_plan_finding(
865
868
  return recipe_explain.NO_PARTITION_DELTA, (
866
869
  "Every source states a continuation, but every one of them is `closed: true`, and a "
867
870
  "closed-only plan refreshes nothing: it restores the predecessor's bytes and has no "
868
- "bounded partition to replace, so Studio refuses it before it can spend a slot. If these "
871
+ "bounded partition to replace, so the server refuses it before it can spend a slot. If "
872
+ "these "
869
873
  "sources really are finished, an explicit resync is the operation that moves this table "
870
874
  "and there is nothing here to repair. Where one of them is not, a `window` carrying both "
871
875
  "`request` endpoints is the declaration that makes a table refresh on a schedule -- but "
@@ -895,11 +899,11 @@ def continuation_warnings(absent: list[str], total: int) -> list[str]:
895
899
  if beyond > 0:
896
900
  named += f", and {beyond} more"
897
901
  return [
898
- f"{len(absent)} of {total} sources state no bounded continuation: {named}. Studio "
902
+ f"{len(absent)} of {total} sources state no bounded continuation: {named}. The server "
899
903
  "classifies these as `resync_only` -- and marks every other source `resync_only` too, so "
900
904
  "`mr-data recipe readiness` names them all. ONE of them refuses this whole table's "
901
905
  "scheduled refresh -- the other sources' windows do not run without it. Declaring every "
902
- "source is only the FIRST gate; the plan's SHAPE is the second, and Studio admits just "
906
+ "source is only the FIRST gate; the plan's SHAPE is the second, and the server admits just "
903
907
  "two families: every source a recorded stream, or at least one `window` carrying both "
904
908
  "`request` endpoints with no collection and no recorded stream beside it. The second is "
905
909
  "NECESSARY and not sufficient: once the plan holds more than one source, every window in "
@@ -1040,7 +1044,7 @@ def _completed_day_sentences(spans: Sequence[tuple[SampleSpan, str]]) -> list[st
1040
1044
  rule,
1041
1045
  f"That leaves a sample without `--window` no day of {_counted(never)} to read, so "
1042
1046
  "it does not run: it is refused `WINDOW_NOT_READY`, or waits in the queue until "
1043
- "Studio fails it",
1047
+ "the server fails it",
1044
1048
  "A full run reads such a source from its `start_at`",
1045
1049
  ]
1046
1050
  at_times = [name for span, name in spans if span.fewest == 0]
@@ -1367,13 +1371,13 @@ def _registration(answer: dict[str, Any]) -> dict[str, Any]:
1367
1371
  value = answer.get(member)
1368
1372
  if not isinstance(value, str) or not value:
1369
1373
  raise ThinLaneError(
1370
- "THIN_RESPONSE_INVALID", f"Studio registered a recipe without a {member}"
1374
+ "THIN_RESPONSE_INVALID", f"The server registered a recipe without a {member}"
1371
1375
  )
1372
1376
  derived[member] = value
1373
1377
  source_ids = answer.get("source_ids")
1374
1378
  if not isinstance(source_ids, list) or not source_ids:
1375
1379
  raise ThinLaneError(
1376
- "THIN_RESPONSE_INVALID", "Studio registered a recipe without any source identifiers"
1380
+ "THIN_RESPONSE_INVALID", "The server registered a recipe without any source identifiers"
1377
1381
  )
1378
1382
  derived["source_ids"] = [item for item in source_ids if isinstance(item, str)]
1379
1383
  return derived
@@ -1544,7 +1548,7 @@ def register(
1544
1548
  if state.get("source_truncated"):
1545
1549
  raise ThinLaneError(
1546
1550
  BRIEF_MISSING_CODE,
1547
- f"Studio served only part of dataset {dataset_id}'s record, and a delegation "
1551
+ f"The server served only part of dataset {dataset_id}'s record, and a delegation "
1548
1552
  "cannot be written onto a record this command could only partly read. Nothing "
1549
1553
  "was recorded and nothing was registered. Read the whole record with mr-data "
1550
1554
  f"dataset note {dataset_id} --list, then run this command again",
@@ -1634,7 +1638,7 @@ def show(
1634
1638
  document = answer.get("document")
1635
1639
  if not isinstance(document, dict):
1636
1640
  raise ThinLaneError(
1637
- "THIN_RESPONSE_INVALID", "Studio answered without the recipe document it registered"
1641
+ "THIN_RESPONSE_INVALID", "The server answered without the recipe document it registered"
1638
1642
  )
1639
1643
  return {
1640
1644
  "schema_version": SHOW_SCHEMA,
@@ -1650,7 +1654,7 @@ def _readiness_row(record: Any) -> dict[str, Any]:
1650
1654
 
1651
1655
  if not isinstance(record, Mapping):
1652
1656
  raise ThinLaneError(
1653
- "THIN_RESPONSE_INVALID", "Studio returned a non-object readiness record"
1657
+ "THIN_RESPONSE_INVALID", "The server returned a non-object readiness record"
1654
1658
  )
1655
1659
  recipe_id = identifier(record.get("recipe_id"), "recipe identifier")
1656
1660
  dataset_id = identifier(record.get("dataset_id"), "dataset identifier")
@@ -1658,7 +1662,7 @@ def _readiness_row(record: Any) -> dict[str, Any]:
1658
1662
  digest = record.get("recipe_digest")
1659
1663
  if not isinstance(digest, str) or not digest:
1660
1664
  raise ThinLaneError(
1661
- "THIN_RESPONSE_INVALID", "Studio returned readiness without recipe_digest"
1665
+ "THIN_RESPONSE_INVALID", "The server returned readiness without recipe_digest"
1662
1666
  )
1663
1667
  current = record.get("is_current")
1664
1668
  predecessor_ready = record.get("predecessor_ready")
@@ -1678,22 +1682,23 @@ def _readiness_row(record: Any) -> dict[str, Any]:
1678
1682
  ):
1679
1683
  raise ThinLaneError(
1680
1684
  "THIN_RESPONSE_INVALID",
1681
- "Studio returned readiness without its required boolean readiness facts",
1685
+ "The server returned readiness without its required boolean readiness facts",
1682
1686
  )
1683
1687
  if table_status not in {"live", "not_live"}:
1684
- raise ThinLaneError("THIN_RESPONSE_INVALID", "Studio returned an unknown table_status")
1688
+ raise ThinLaneError("THIN_RESPONSE_INVALID", "The server returned an unknown table_status")
1685
1689
  sources = record.get("sources")
1686
1690
  blocking = record.get("blocking_source_names")
1687
1691
  if not isinstance(sources, list) or not isinstance(blocking, list):
1688
1692
  raise ThinLaneError(
1689
1693
  "THIN_RESPONSE_INVALID",
1690
- "Studio returned readiness without source classifications and blocking source names",
1694
+ "The server returned readiness without source classifications and blocking source "
1695
+ "names",
1691
1696
  )
1692
1697
  parsed_sources: list[dict[str, str]] = []
1693
1698
  for source in sources:
1694
1699
  if not isinstance(source, Mapping):
1695
1700
  raise ThinLaneError(
1696
- "THIN_RESPONSE_INVALID", "Studio returned a non-object source readiness"
1701
+ "THIN_RESPONSE_INVALID", "The server returned a non-object source readiness"
1697
1702
  )
1698
1703
  name = source.get("source_name")
1699
1704
  classification = source.get("classification")
@@ -1706,14 +1711,14 @@ def _readiness_row(record: Any) -> dict[str, Any]:
1706
1711
  not in {"reuse_predecessor", "acquire_incremental", "recorded", "resync_required"}
1707
1712
  ):
1708
1713
  raise ThinLaneError(
1709
- "THIN_RESPONSE_INVALID", "Studio returned an invalid source readiness"
1714
+ "THIN_RESPONSE_INVALID", "The server returned an invalid source readiness"
1710
1715
  )
1711
1716
  parsed_sources.append(
1712
1717
  {"source_name": name, "classification": classification, "next_action": next_action}
1713
1718
  )
1714
1719
  if any(not isinstance(name, str) or not name for name in blocking):
1715
1720
  raise ThinLaneError(
1716
- "THIN_RESPONSE_INVALID", "Studio returned an invalid blocking source name"
1721
+ "THIN_RESPONSE_INVALID", "The server returned an invalid blocking source name"
1717
1722
  )
1718
1723
  # Two members a 4.14.0 Studio adds (``CONTRACT.md`` §1.5), repeated only when it sends them:
1719
1724
  # an older Studio's row says nothing about either, and this receipt must not say it did.
@@ -1722,13 +1727,14 @@ def _readiness_row(record: Any) -> dict[str, Any]:
1722
1727
  blocker_code = record.get("blocker_code")
1723
1728
  if blocker_code is not None and blocker_code not in recipe_explain.RULE_CODES:
1724
1729
  raise ThinLaneError(
1725
- "THIN_RESPONSE_INVALID", "Studio returned a blocker_code outside its rule codes"
1730
+ "THIN_RESPONSE_INVALID", "The server returned a blocker_code outside its rule codes"
1726
1731
  )
1727
1732
  extras["blocker_code"] = blocker_code
1728
1733
  if "rebuild_declared" in record:
1729
1734
  if not isinstance(record.get("rebuild_declared"), bool):
1730
1735
  raise ThinLaneError(
1731
- "THIN_RESPONSE_INVALID", "Studio returned a rebuild_declared that is not a boolean"
1736
+ "THIN_RESPONSE_INVALID",
1737
+ "The server returned a rebuild_declared that is not a boolean",
1732
1738
  )
1733
1739
  extras["rebuild_declared"] = record["rebuild_declared"]
1734
1740
  return {
@@ -1861,7 +1867,7 @@ def readiness(
1861
1867
  if pages > MAX_READINESS_PAGES:
1862
1868
  raise ThinLaneError(
1863
1869
  "THIN_RESPONSE_INVALID",
1864
- f"Studio's readiness inventory did not end within {MAX_READINESS_PAGES} pages",
1870
+ f"The server's readiness inventory did not end within {MAX_READINESS_PAGES} pages",
1865
1871
  )
1866
1872
  try:
1867
1873
  try:
@@ -1904,12 +1910,12 @@ def readiness(
1904
1910
  if page.get("workspace_id") != str(selected.session.workspace_id):
1905
1911
  raise ThinLaneError(
1906
1912
  "THIN_RESPONSE_INVALID",
1907
- "Studio returned a readiness inventory for a different workspace",
1913
+ "The server returned a readiness inventory for a different workspace",
1908
1914
  )
1909
1915
  listed = page.get("recipes")
1910
1916
  if not isinstance(listed, list):
1911
1917
  raise ThinLaneError(
1912
- "THIN_RESPONSE_INVALID", "Studio returned readiness without recipes"
1918
+ "THIN_RESPONSE_INVALID", "The server returned readiness without recipes"
1913
1919
  )
1914
1920
  for item in listed:
1915
1921
  row = _readiness_row(item)
@@ -1935,7 +1941,8 @@ def readiness(
1935
1941
  if cursor in seen_cursors:
1936
1942
  raise ThinLaneError(
1937
1943
  "THIN_RESPONSE_INVALID",
1938
- "Studio repeated a readiness cursor, so the inventory cannot be completed safely",
1944
+ "The server repeated a readiness cursor, so the inventory cannot be completed "
1945
+ "safely",
1939
1946
  )
1940
1947
  seen_cursors.add(cursor)
1941
1948
  current = [row for row in rows if row["is_current"]]
@@ -1964,7 +1971,8 @@ def readiness(
1964
1971
  **({"page_size_used": limit} if halvings else {}),
1965
1972
  **(partial or {}),
1966
1973
  "note": (
1967
- "Only Studio's persisted readiness classification may authorize a scheduled refresh. "
1974
+ "Only the server's persisted readiness classification may authorize a scheduled "
1975
+ "refresh. "
1968
1976
  "A resync-only source requires table resync; it is never widened by a schedule."
1969
1977
  ),
1970
1978
  }
@@ -87,13 +87,14 @@ def brief_state(narrative: Mapping[str, Any]) -> dict[str, Any]:
87
87
  cells = narrative.get("cells")
88
88
  if not isinstance(cells, list):
89
89
  raise ThinLaneError(
90
- "THIN_RESPONSE_INVALID", "Studio answered the dataset's record without a list of cells"
90
+ "THIN_RESPONSE_INVALID",
91
+ "The server answered the dataset's record without a list of cells",
91
92
  )
92
93
  truncated = narrative.get("source_truncated")
93
94
  if not isinstance(truncated, bool):
94
95
  raise ThinLaneError(
95
96
  "THIN_RESPONSE_INVALID",
96
- "Studio served the dataset's record without saying whether it is the whole record",
97
+ "The server served the dataset's record without saying whether it is the whole record",
97
98
  )
98
99
  answered = 0
99
100
  pending = 0
@@ -122,7 +123,7 @@ def _blocks(cells: Sequence[Any]) -> Iterator[Mapping[str, Any]]:
122
123
  for cell in cells:
123
124
  if not isinstance(cell, Mapping):
124
125
  raise ThinLaneError(
125
- "THIN_RESPONSE_INVALID", "Studio listed a record cell that is not an object"
126
+ "THIN_RESPONSE_INVALID", "The server listed a record cell that is not an object"
126
127
  )
127
128
  if cell.get("superseded") is True:
128
129
  continue
@@ -165,7 +166,8 @@ def brief_refusal(state: Mapping[str, Any], *, dataset_id: str) -> ThinLaneError
165
166
  # already have answered.
166
167
  return ThinLaneError(
167
168
  BRIEF_MISSING_CODE,
168
- f"Studio served only part of dataset {dataset_id}'s record, and no answered question "
169
+ f"The server served only part of dataset {dataset_id}'s record, and no answered "
170
+ "question "
169
171
  "and no delegation are in the part that arrived. That is not the same as there being "
170
172
  "none: read the whole record with mr-data dataset note "
171
173
  f"{dataset_id} --list before concluding the brief was never asked",
@@ -190,7 +192,7 @@ def brief_refusal(state: Mapping[str, Any], *, dataset_id: str) -> ThinLaneError
190
192
  f"dataset {dataset_id} carries no answered question and no delegation, so there is no "
191
193
  "brief for this recipe to rest on." + waiting + ' If the user said "you choose", "just '
192
194
  'build it" or "do everything", that is the answer: record it with mr-data recipe FILE '
193
- "--delegated \"their words\", which writes the delegation onto the dataset and registers "
195
+ '--delegated "their words", which writes the delegation onto the dataset and registers '
194
196
  "the document in the same command",
195
197
  )
196
198
 
@@ -998,7 +998,7 @@ def _rebuild(facts: _Facts) -> list[dict[str, Any]]:
998
998
  return [
999
999
  _suggestion(
1000
1000
  "declare_rebuild",
1001
- "if there is no smaller read, declare rebuild so Studio rebuilds the whole table "
1001
+ "if there is no smaller read, declare rebuild so the server rebuilds the whole table "
1002
1002
  "on a stated interval within a stated byte budget",
1003
1003
  "/rebuild",
1004
1004
  )
@@ -1108,7 +1108,7 @@ def _suggestions(finding: MirrorFinding, facts: _Facts) -> list[dict[str, Any]]:
1108
1108
  *_collection_suggestions(derived, facts),
1109
1109
  _suggestion(
1110
1110
  "platform_gap",
1111
- "Studio has no bounded refresh for a table without a window: a closed source "
1111
+ "The server has no bounded refresh for a table without a window: a closed source "
1112
1112
  "or a collection alone gives the worker no partition to replace",
1113
1113
  None,
1114
1114
  ),
@@ -1127,8 +1127,8 @@ def _suggestions(finding: MirrorFinding, facts: _Facts) -> list[dict[str, Any]]:
1127
1127
  return [
1128
1128
  _suggestion(
1129
1129
  "wait_for_platform",
1130
- "snapshot refresh is switched off on this Studio until its day-append worker "
1131
- "is deployed and the owner turns it on",
1130
+ "snapshot refresh is switched off on this server until its day-append worker "
1131
+ "is deployed and turned on",
1132
1132
  None,
1133
1133
  )
1134
1134
  ]
@@ -1243,10 +1243,10 @@ def explain_document_at_studio(
1243
1243
  Studio judges the document alone: it reads no predecessor, registers nothing and writes
1244
1244
  nothing, which is what makes it safe to ask before a registration.
1245
1245
 
1246
- An older API's schema answers 422 to a keyless document, and also to a document that is
1247
- simply wrong. So that 422 is checked against the local document rules and, unless ``lint`` is
1248
- false, the local lint. A local fault is raised as itself. Only a document that passes both is
1249
- reported as not served.
1246
+ A 422 can mean an older schema or an invalid document. Local checks are not a
1247
+ complete copy of the server's schema, so passing them cannot prove a capability
1248
+ is absent. Preserve the server's validation details; only an explanation's
1249
+ capability flags establish which grammar is served.
1250
1250
  """
1251
1251
 
1252
1252
  body = {
@@ -1273,17 +1273,6 @@ def explain_document_at_studio(
1273
1273
  ]
1274
1274
  if keyless and getattr(refusal, "http_status", None) == 422:
1275
1275
  _raise_local_fault(document, lint=lint, cause=refusal)
1276
- # Older API schemas reject the document before they can answer capabilities.
1277
- # A schema rejection is never evidence that this grammar is served.
1278
- raise ThinLaneError(
1279
- GRAMMAR_NOT_SERVED_CODE,
1280
- not_served_detail(
1281
- keyless,
1282
- "Studio rejected the explanation document before reporting capabilities, "
1283
- "and the document passes the local checks",
1284
- known=False,
1285
- ),
1286
- ) from refusal
1287
1276
  raise
1288
1277
  return _explanation(answer, EXPLAIN_REFRESH_PATH)
1289
1278
 
@@ -1484,15 +1473,15 @@ def grammar_gate(document: Mapping[str, Any], answer: Mapping[str, Any] | None)
1484
1473
  ]
1485
1474
  if missing:
1486
1475
  why = (
1487
- "This Studio does not serve the refresh explanation, so it predates 4.14.0"
1476
+ "This server does not serve the refresh explanation, so it predates 4.14.0"
1488
1477
  if answer is None
1489
- else "This Studio's capabilities say it does not serve them"
1478
+ else "This server's capabilities say it does not serve them"
1490
1479
  )
1491
1480
  raise ThinLaneError(GRAMMAR_NOT_SERVED_CODE, not_served_detail(missing, why, known=True))
1492
1481
  if snapshots and not capabilities["snapshot_refresh"]:
1493
1482
  return [
1494
1483
  f"{SNAPSHOT_WILL_NOT_REFRESH_YET}: {', '.join(repr(name) for name in snapshots)} "
1495
- "declares a snapshot window, and this Studio does not refresh snapshot windows yet "
1484
+ "declares a snapshot window, and this server does not refresh snapshot windows yet "
1496
1485
  "(its snapshot refresh is switched off, or it predates 4.14.0). The table registers "
1497
1486
  "and builds, and each build keeps the one day it read until snapshot refresh is "
1498
1487
  "served; `mr-data recipe explain` says when it is"
@@ -1571,7 +1560,8 @@ def explain(args: argparse.Namespace, *, client: StudioV4Client | None = None) -
1571
1560
  document = record.get("document")
1572
1561
  if not isinstance(document, dict):
1573
1562
  raise ThinLaneError(
1574
- "THIN_RESPONSE_INVALID", "Studio answered without the recipe document it registered"
1563
+ "THIN_RESPONSE_INVALID",
1564
+ "The server answered without the recipe document it registered",
1575
1565
  )
1576
1566
  registered = recipe_module._registration(record)
1577
1567
  subject: dict[str, Any] = {
@@ -1620,10 +1610,10 @@ def explain(args: argparse.Namespace, *, client: StudioV4Client | None = None) -
1620
1610
  rebuild=_mirror_rebuild(document),
1621
1611
  disagreement=None,
1622
1612
  note=(
1623
- "Studio did not serve the refresh explanation, so this is the local mirror of "
1613
+ "The server did not serve the refresh explanation, so this is the local mirror of "
1624
1614
  "its document rules. It reads no predecessor and no deployment: a table that "
1625
1615
  "passes here can still be refused for a missing sealed version, a changed "
1626
- "recipe, the table format or the refresh worker, which only Studio can see"
1616
+ "recipe, the table format or the refresh worker, which only the server can see"
1627
1617
  ),
1628
1618
  )
1629
1619
  else:
@@ -1655,7 +1645,8 @@ def explain(args: argparse.Namespace, *, client: StudioV4Client | None = None) -
1655
1645
  else:
1656
1646
  receipt["disagreement"] = None
1657
1647
  receipt["note"] = (
1658
- f"Studio explained the table's current recipe {served_subject.get('recipe_id')}, "
1648
+ "The server explained the table's current recipe "
1649
+ f"{served_subject.get('recipe_id')}, "
1659
1650
  f"not {requested_recipe}, so the local mirror of {requested_recipe} is not "
1660
1651
  "compared with it"
1661
1652
  )
@@ -80,7 +80,7 @@ CEILING_IS_TERMINAL = (
80
80
  )
81
81
 
82
82
  STATIC_REASON = (
83
- "Studio did not serve the forecast route, so no run history was read; this is the declared "
83
+ "The server did not serve the forecast route, so no run history was read; this is the declared "
84
84
  "ceiling only"
85
85
  )
86
86
 
@@ -332,7 +332,8 @@ def static_snapshot_history(source: Mapping[str, Any]) -> dict[str, Any]:
332
332
  "ceiling_bytes": min(declared, MAX_SNAPSHOT_MERGED_BYTES),
333
333
  "max_partitions": _count(snapshot.get("max_partitions")) or 0,
334
334
  "days_remaining": None,
335
- "reason": "Studio did not serve the forecast route; only Studio reads a table's history",
335
+ "reason": "The server did not serve the forecast route; only the server reads a table's "
336
+ "history",
336
337
  }
337
338
 
338
339
 
@@ -696,7 +697,8 @@ def forecast(args: argparse.Namespace, *, client: StudioV4Client | None = None)
696
697
  document = record.get("document")
697
698
  if not isinstance(document, dict):
698
699
  raise ThinLaneError(
699
- "THIN_RESPONSE_INVALID", "Studio answered without the recipe document it registered"
700
+ "THIN_RESPONSE_INVALID",
701
+ "The server answered without the recipe document it registered",
700
702
  )
701
703
  registered = record.get("recipe_digest")
702
704
  if registered != digest:
@@ -651,7 +651,7 @@ def _table_sources(sources: Any) -> list[Finding]:
651
651
  Finding(
652
652
  DOCUMENT_INVALID,
653
653
  f"{pointer}/locator/table/version",
654
- "must be 'latest_promoted', the one version selector Studio admits",
654
+ "must be 'latest_promoted', the one version selector the server admits",
655
655
  )
656
656
  )
657
657
  for member in sorted(set(table) - {"table_id", "version"}):