mostlyright-data 0.31.16__tar.gz → 0.31.18__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.18}/PKG-INFO +1 -1
  2. {mostlyright_data-0.31.16 → mostlyright_data-0.31.18}/src/mostlyright/data_harness/thin/activity.py +2 -1
  3. {mostlyright_data-0.31.16 → mostlyright_data-0.31.18}/src/mostlyright/data_harness/thin/delivery.py +4 -4
  4. {mostlyright_data-0.31.16 → mostlyright_data-0.31.18}/src/mostlyright/data_harness/thin/download.py +3 -3
  5. {mostlyright_data-0.31.16 → mostlyright_data-0.31.18}/src/mostlyright/data_harness/thin/enrichment.py +1 -1
  6. {mostlyright_data-0.31.16 → mostlyright_data-0.31.18}/src/mostlyright/data_harness/thin/fast_features.py +1 -1
  7. {mostlyright_data-0.31.16 → mostlyright_data-0.31.18}/src/mostlyright/data_harness/thin/probe.py +1 -1
  8. {mostlyright_data-0.31.16 → mostlyright_data-0.31.18}/src/mostlyright/data_harness/thin/recipe.py +34 -26
  9. {mostlyright_data-0.31.16 → mostlyright_data-0.31.18}/src/mostlyright/data_harness/thin/recipe_brief.py +7 -5
  10. {mostlyright_data-0.31.16 → mostlyright_data-0.31.18}/src/mostlyright/data_harness/thin/recipe_explain.py +14 -12
  11. {mostlyright_data-0.31.16 → mostlyright_data-0.31.18}/src/mostlyright/data_harness/thin/recipe_forecast.py +5 -3
  12. {mostlyright_data-0.31.16 → mostlyright_data-0.31.18}/src/mostlyright/data_harness/thin/recipe_lint.py +1 -1
  13. {mostlyright_data-0.31.16 → mostlyright_data-0.31.18}/src/mostlyright/data_harness/thin/recipe_test.py +12 -10
  14. {mostlyright_data-0.31.16 → mostlyright_data-0.31.18}/src/mostlyright/data_harness/thin/refresh_rehearsal.py +15 -13
  15. {mostlyright_data-0.31.16 → mostlyright_data-0.31.18}/src/mostlyright/data_harness/thin/research.py +29 -20
  16. {mostlyright_data-0.31.16 → mostlyright_data-0.31.18}/src/mostlyright/data_harness/thin/router.py +7 -9
  17. {mostlyright_data-0.31.16 → mostlyright_data-0.31.18}/src/mostlyright/data_harness/thin/run_diagnose.py +4 -3
  18. {mostlyright_data-0.31.16 → mostlyright_data-0.31.18}/src/mostlyright/data_harness/thin/runs.py +16 -10
  19. {mostlyright_data-0.31.16 → mostlyright_data-0.31.18}/src/mostlyright/data_harness/thin/session.py +7 -7
  20. {mostlyright_data-0.31.16 → mostlyright_data-0.31.18}/src/mostlyright/data_harness/thin/stream.py +6 -6
  21. {mostlyright_data-0.31.16 → mostlyright_data-0.31.18}/src/mostlyright/data_harness/thin/stream_venue.py +8 -8
  22. {mostlyright_data-0.31.16 → mostlyright_data-0.31.18}/src/mostlyright/data_harness/thin/v4.py +1 -1
  23. {mostlyright_data-0.31.16 → mostlyright_data-0.31.18}/src/mostlyright/data_harness/thin/v4_artifacts.py +9 -9
  24. {mostlyright_data-0.31.16 → mostlyright_data-0.31.18}/src/mostlyright/data_harness/thin/v4_catalog.py +10 -6
  25. {mostlyright_data-0.31.16 → mostlyright_data-0.31.18}/src/mostlyright/data_harness/thin/v4_connections.py +1 -1
  26. {mostlyright_data-0.31.16 → mostlyright_data-0.31.18}/src/mostlyright/data_harness/thin/v4_dataset_covers.py +15 -6
  27. {mostlyright_data-0.31.16 → mostlyright_data-0.31.18}/src/mostlyright/data_harness/thin/v4_datasets.py +21 -17
  28. {mostlyright_data-0.31.16 → mostlyright_data-0.31.18}/src/mostlyright/data_harness/thin/v4_narrative.py +5 -5
  29. {mostlyright_data-0.31.16 → mostlyright_data-0.31.18}/src/mostlyright/data_harness/thin/v4_query.py +36 -25
  30. {mostlyright_data-0.31.16 → mostlyright_data-0.31.18}/src/mostlyright/data_harness/thin/v4_reader.py +19 -15
  31. {mostlyright_data-0.31.16 → mostlyright_data-0.31.18}/src/mostlyright/data_harness/thin/v4_runs.py +63 -51
  32. {mostlyright_data-0.31.16 → mostlyright_data-0.31.18}/src/mostlyright/data_harness/thin/v4_search.py +29 -26
  33. {mostlyright_data-0.31.16 → mostlyright_data-0.31.18}/src/mostlyright/data_harness/thin/v4_stream.py +1 -1
  34. {mostlyright_data-0.31.16 → mostlyright_data-0.31.18}/src/mostlyright/data_harness/thin/v4_tables.py +75 -59
  35. {mostlyright_data-0.31.16 → mostlyright_data-0.31.18}/src/mostlyright/data_harness/thin/vocabulary.py +23 -16
  36. {mostlyright_data-0.31.16 → mostlyright_data-0.31.18}/src/mostlyright/data_harness/ux/commands/auth.py +4 -4
  37. {mostlyright_data-0.31.16 → mostlyright_data-0.31.18}/src/mostlyright/data_harness/ux/remediation.py +10 -8
  38. {mostlyright_data-0.31.16 → mostlyright_data-0.31.18}/src/mostlyright/data_harness/ux/render.py +14 -14
  39. {mostlyright_data-0.31.16 → mostlyright_data-0.31.18}/.gitignore +0 -0
  40. {mostlyright_data-0.31.16 → mostlyright_data-0.31.18}/README.md +0 -0
  41. {mostlyright_data-0.31.16 → mostlyright_data-0.31.18}/pyproject.toml +0 -0
  42. {mostlyright_data-0.31.16 → mostlyright_data-0.31.18}/scripts/hatch_build.py +0 -0
  43. {mostlyright_data-0.31.16 → mostlyright_data-0.31.18}/skills/mr-data-build/SKILL.md +0 -0
  44. {mostlyright_data-0.31.16 → mostlyright_data-0.31.18}/skills/mr-data-build/agents/openai.yaml +0 -0
  45. {mostlyright_data-0.31.16 → mostlyright_data-0.31.18}/skills/mr-data-build/references/1-open-the-page-and-the-link-to-it-in-the-first-message.md +0 -0
  46. {mostlyright_data-0.31.16 → mostlyright_data-0.31.18}/skills/mr-data-build/references/2-brief-two-to-four-questions-each-with-a-recommended-answer.md +0 -0
  47. {mostlyright_data-0.31.16 → mostlyright_data-0.31.18}/skills/mr-data-build/references/3-probe-read-a-source-before-committing-to-it.md +0 -0
  48. {mostlyright_data-0.31.16 → mostlyright_data-0.31.18}/skills/mr-data-build/references/4-decide-say-what-you-chose-what-you-refused-and-ask-one-question.md +0 -0
  49. {mostlyright_data-0.31.16 → mostlyright_data-0.31.18}/skills/mr-data-build/references/5-draft-one-recipe-document-one-call.md +0 -0
  50. {mostlyright_data-0.31.16 → mostlyright_data-0.31.18}/skills/mr-data-build/references/6-build-one-run-sized-to-acquire-every-measured-source-whole.md +0 -0
  51. {mostlyright_data-0.31.16 → mostlyright_data-0.31.18}/skills/mr-data-build/references/7-interrogate-ask-the-run-what-it-actually-delivered.md +0 -0
  52. {mostlyright_data-0.31.16 → mostlyright_data-0.31.18}/skills/mr-data-build/references/8-fix-revise-the-document-and-register-it-again.md +0 -0
  53. {mostlyright_data-0.31.16 → mostlyright_data-0.31.18}/skills/mr-data-build/references/9-present-only-what-survived-inspection-with-caveats.md +0 -0
  54. {mostlyright_data-0.31.16 → mostlyright_data-0.31.18}/skills/mr-data-build/references/agent-protocol.md +0 -0
  55. {mostlyright_data-0.31.16 → mostlyright_data-0.31.18}/skills/mr-data-build/references/autonomous-delivery.md +0 -0
  56. {mostlyright_data-0.31.16 → mostlyright_data-0.31.18}/skills/mr-data-build/references/before-the-first-tool-call.md +0 -0
  57. {mostlyright_data-0.31.16 → mostlyright_data-0.31.18}/skills/mr-data-build/references/boundaries.md +0 -0
  58. {mostlyright_data-0.31.16 → mostlyright_data-0.31.18}/skills/mr-data-build/references/cloud-authentication-preflight.md +0 -0
  59. {mostlyright_data-0.31.16 → mostlyright_data-0.31.18}/skills/mr-data-build/references/commands.md +0 -0
  60. {mostlyright_data-0.31.16 → mostlyright_data-0.31.18}/skills/mr-data-build/references/enriching-with-small-models.md +0 -0
  61. {mostlyright_data-0.31.16 → mostlyright_data-0.31.18}/skills/mr-data-build/references/live-run.md +0 -0
  62. {mostlyright_data-0.31.16 → mostlyright_data-0.31.18}/skills/mr-data-build/references/making-a-table-incremental.md +0 -0
  63. {mostlyright_data-0.31.16 → mostlyright_data-0.31.18}/skills/mr-data-build/references/narrating-the-run.md +0 -0
  64. {mostlyright_data-0.31.16 → mostlyright_data-0.31.18}/skills/mr-data-build/references/not-hosted-yet.md +0 -0
  65. {mostlyright_data-0.31.16 → mostlyright_data-0.31.18}/skills/mr-data-build/references/one-install.md +0 -0
  66. {mostlyright_data-0.31.16 → mostlyright_data-0.31.18}/skills/mr-data-build/references/patterns.md +0 -0
  67. {mostlyright_data-0.31.16 → mostlyright_data-0.31.18}/skills/mr-data-build/references/prediction-labels.md +0 -0
  68. {mostlyright_data-0.31.16 → mostlyright_data-0.31.18}/skills/mr-data-build/references/preparing-table-search.md +0 -0
  69. {mostlyright_data-0.31.16 → mostlyright_data-0.31.18}/skills/mr-data-build/references/promote.md +0 -0
  70. {mostlyright_data-0.31.16 → mostlyright_data-0.31.18}/skills/mr-data-build/references/readers.md +0 -0
  71. {mostlyright_data-0.31.16 → mostlyright_data-0.31.18}/skills/mr-data-build/references/receipts.md +0 -0
  72. {mostlyright_data-0.31.16 → mostlyright_data-0.31.18}/skills/mr-data-build/references/recipe-test.md +0 -0
  73. {mostlyright_data-0.31.16 → mostlyright_data-0.31.18}/skills/mr-data-build/references/recording-a-stream-venue.md +0 -0
  74. {mostlyright_data-0.31.16 → mostlyright_data-0.31.18}/skills/mr-data-build/references/recovering-an-import-failure.md +0 -0
  75. {mostlyright_data-0.31.16 → mostlyright_data-0.31.18}/skills/mr-data-build/references/reference-pages.md +0 -0
  76. {mostlyright_data-0.31.16 → mostlyright_data-0.31.18}/skills/mr-data-build/references/required-protocol.md +0 -0
  77. {mostlyright_data-0.31.16 → mostlyright_data-0.31.18}/skills/mr-data-build/references/source-credentials.md +0 -0
  78. {mostlyright_data-0.31.16 → mostlyright_data-0.31.18}/skills/mr-data-build/references/sources.md +0 -0
  79. {mostlyright_data-0.31.16 → mostlyright_data-0.31.18}/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.18}/skills/mr-data-build/references/transforms.md +0 -0
  81. {mostlyright_data-0.31.16 → mostlyright_data-0.31.18}/skills/mr-data-build/references/user-communication-contract.md +0 -0
  82. {mostlyright_data-0.31.16 → mostlyright_data-0.31.18}/skills/mr-data-build/references/writing-a-decision-record.md +0 -0
  83. {mostlyright_data-0.31.16 → mostlyright_data-0.31.18}/skills/mr-data-build/scripts/write_research_notebook.py +0 -0
  84. {mostlyright_data-0.31.16 → mostlyright_data-0.31.18}/src/mostlyright/data_harness/__init__.py +0 -0
  85. {mostlyright_data-0.31.16 → mostlyright_data-0.31.18}/src/mostlyright/data_harness/agent_protocol.py +0 -0
  86. {mostlyright_data-0.31.16 → mostlyright_data-0.31.18}/src/mostlyright/data_harness/canonical.py +0 -0
  87. {mostlyright_data-0.31.16 → mostlyright_data-0.31.18}/src/mostlyright/data_harness/key_seam.py +0 -0
  88. {mostlyright_data-0.31.16 → mostlyright_data-0.31.18}/src/mostlyright/data_harness/page_coverage.py +0 -0
  89. {mostlyright_data-0.31.16 → mostlyright_data-0.31.18}/src/mostlyright/data_harness/part_check_evidence.py +0 -0
  90. {mostlyright_data-0.31.16 → mostlyright_data-0.31.18}/src/mostlyright/data_harness/session_probes.py +0 -0
  91. {mostlyright_data-0.31.16 → mostlyright_data-0.31.18}/src/mostlyright/data_harness/skill_assets.py +0 -0
  92. {mostlyright_data-0.31.16 → mostlyright_data-0.31.18}/src/mostlyright/data_harness/table_manifest.py +0 -0
  93. {mostlyright_data-0.31.16 → mostlyright_data-0.31.18}/src/mostlyright/data_harness/thin/__init__.py +0 -0
  94. {mostlyright_data-0.31.16 → mostlyright_data-0.31.18}/src/mostlyright/data_harness/thin/backoff.py +0 -0
  95. {mostlyright_data-0.31.16 → mostlyright_data-0.31.18}/src/mostlyright/data_harness/thin/categories.py +0 -0
  96. {mostlyright_data-0.31.16 → mostlyright_data-0.31.18}/src/mostlyright/data_harness/thin/dataset-categories-v1.json +0 -0
  97. {mostlyright_data-0.31.16 → mostlyright_data-0.31.18}/src/mostlyright/data_harness/thin/description_shape.py +0 -0
  98. {mostlyright_data-0.31.16 → mostlyright_data-0.31.18}/src/mostlyright/data_harness/thin/matching_benchmark.py +0 -0
  99. {mostlyright_data-0.31.16 → mostlyright_data-0.31.18}/src/mostlyright/data_harness/thin/progress_rate.py +0 -0
  100. {mostlyright_data-0.31.16 → mostlyright_data-0.31.18}/src/mostlyright/data_harness/thin/progress_vocabulary.py +0 -0
  101. {mostlyright_data-0.31.16 → mostlyright_data-0.31.18}/src/mostlyright/data_harness/thin/release_check.py +0 -0
  102. {mostlyright_data-0.31.16 → mostlyright_data-0.31.18}/src/mostlyright/data_harness/thin/run_prefix.py +0 -0
  103. {mostlyright_data-0.31.16 → mostlyright_data-0.31.18}/src/mostlyright/data_harness/thin/studio_capabilities.py +0 -0
  104. {mostlyright_data-0.31.16 → mostlyright_data-0.31.18}/src/mostlyright/data_harness/thin/support.py +0 -0
  105. {mostlyright_data-0.31.16 → mostlyright_data-0.31.18}/src/mostlyright/data_harness/thin/table_search_contract.json +0 -0
  106. {mostlyright_data-0.31.16 → mostlyright_data-0.31.18}/src/mostlyright/data_harness/thin/table_view.py +0 -0
  107. {mostlyright_data-0.31.16 → mostlyright_data-0.31.18}/src/mostlyright/data_harness/thin/transport.py +0 -0
  108. {mostlyright_data-0.31.16 → mostlyright_data-0.31.18}/src/mostlyright/data_harness/thin/user_agent.py +0 -0
  109. {mostlyright_data-0.31.16 → mostlyright_data-0.31.18}/src/mostlyright/data_harness/thin/v4_connected.py +0 -0
  110. {mostlyright_data-0.31.16 → mostlyright_data-0.31.18}/src/mostlyright/data_harness/thin/v4_handoff.py +0 -0
  111. {mostlyright_data-0.31.16 → mostlyright_data-0.31.18}/src/mostlyright/data_harness/thin/v4_matching.py +0 -0
  112. {mostlyright_data-0.31.16 → mostlyright_data-0.31.18}/src/mostlyright/data_harness/thin/v4_public.py +0 -0
  113. {mostlyright_data-0.31.16 → mostlyright_data-0.31.18}/src/mostlyright/data_harness/thin/v4_search_contract.py +0 -0
  114. {mostlyright_data-0.31.16 → mostlyright_data-0.31.18}/src/mostlyright/data_harness/thin/v4_secrets.py +0 -0
  115. {mostlyright_data-0.31.16 → mostlyright_data-0.31.18}/src/mostlyright/data_harness/ux/__init__.py +0 -0
  116. {mostlyright_data-0.31.16 → mostlyright_data-0.31.18}/src/mostlyright/data_harness/ux/attendance.py +0 -0
  117. {mostlyright_data-0.31.16 → mostlyright_data-0.31.18}/src/mostlyright/data_harness/ux/clarification.py +0 -0
  118. {mostlyright_data-0.31.16 → mostlyright_data-0.31.18}/src/mostlyright/data_harness/ux/cloud_auth.py +0 -0
  119. {mostlyright_data-0.31.16 → mostlyright_data-0.31.18}/src/mostlyright/data_harness/ux/commands/__init__.py +0 -0
  120. {mostlyright_data-0.31.16 → mostlyright_data-0.31.18}/src/mostlyright/data_harness/ux/commands/clarify.py +0 -0
  121. {mostlyright_data-0.31.16 → mostlyright_data-0.31.18}/src/mostlyright/data_harness/ux/commands/login.py +0 -0
  122. {mostlyright_data-0.31.16 → mostlyright_data-0.31.18}/src/mostlyright/data_harness/ux/commands/whoami.py +0 -0
  123. {mostlyright_data-0.31.16 → mostlyright_data-0.31.18}/src/mostlyright/data_harness/ux/credential_native.py +0 -0
  124. {mostlyright_data-0.31.16 → mostlyright_data-0.31.18}/src/mostlyright/data_harness/ux/credential_store.py +0 -0
  125. {mostlyright_data-0.31.16 → mostlyright_data-0.31.18}/src/mostlyright/data_harness/ux/credentials.py +0 -0
  126. {mostlyright_data-0.31.16 → mostlyright_data-0.31.18}/src/mostlyright/data_harness/ux/login.py +0 -0
  127. {mostlyright_data-0.31.16 → mostlyright_data-0.31.18}/src/mostlyright/data_harness/ux/path_kind.py +0 -0
  128. {mostlyright_data-0.31.16 → mostlyright_data-0.31.18}/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.18
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/
@@ -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
  ]
@@ -1279,7 +1279,7 @@ def explain_document_at_studio(
1279
1279
  GRAMMAR_NOT_SERVED_CODE,
1280
1280
  not_served_detail(
1281
1281
  keyless,
1282
- "Studio rejected the explanation document before reporting capabilities, "
1282
+ "The server rejected the explanation document before reporting capabilities, "
1283
1283
  "and the document passes the local checks",
1284
1284
  known=False,
1285
1285
  ),
@@ -1484,15 +1484,15 @@ def grammar_gate(document: Mapping[str, Any], answer: Mapping[str, Any] | None)
1484
1484
  ]
1485
1485
  if missing:
1486
1486
  why = (
1487
- "This Studio does not serve the refresh explanation, so it predates 4.14.0"
1487
+ "This server does not serve the refresh explanation, so it predates 4.14.0"
1488
1488
  if answer is None
1489
- else "This Studio's capabilities say it does not serve them"
1489
+ else "This server's capabilities say it does not serve them"
1490
1490
  )
1491
1491
  raise ThinLaneError(GRAMMAR_NOT_SERVED_CODE, not_served_detail(missing, why, known=True))
1492
1492
  if snapshots and not capabilities["snapshot_refresh"]:
1493
1493
  return [
1494
1494
  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 "
1495
+ "declares a snapshot window, and this server does not refresh snapshot windows yet "
1496
1496
  "(its snapshot refresh is switched off, or it predates 4.14.0). The table registers "
1497
1497
  "and builds, and each build keeps the one day it read until snapshot refresh is "
1498
1498
  "served; `mr-data recipe explain` says when it is"
@@ -1571,7 +1571,8 @@ def explain(args: argparse.Namespace, *, client: StudioV4Client | None = None) -
1571
1571
  document = record.get("document")
1572
1572
  if not isinstance(document, dict):
1573
1573
  raise ThinLaneError(
1574
- "THIN_RESPONSE_INVALID", "Studio answered without the recipe document it registered"
1574
+ "THIN_RESPONSE_INVALID",
1575
+ "The server answered without the recipe document it registered",
1575
1576
  )
1576
1577
  registered = recipe_module._registration(record)
1577
1578
  subject: dict[str, Any] = {
@@ -1620,10 +1621,10 @@ def explain(args: argparse.Namespace, *, client: StudioV4Client | None = None) -
1620
1621
  rebuild=_mirror_rebuild(document),
1621
1622
  disagreement=None,
1622
1623
  note=(
1623
- "Studio did not serve the refresh explanation, so this is the local mirror of "
1624
+ "The server did not serve the refresh explanation, so this is the local mirror of "
1624
1625
  "its document rules. It reads no predecessor and no deployment: a table that "
1625
1626
  "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"
1627
+ "recipe, the table format or the refresh worker, which only the server can see"
1627
1628
  ),
1628
1629
  )
1629
1630
  else:
@@ -1655,7 +1656,8 @@ def explain(args: argparse.Namespace, *, client: StudioV4Client | None = None) -
1655
1656
  else:
1656
1657
  receipt["disagreement"] = None
1657
1658
  receipt["note"] = (
1658
- f"Studio explained the table's current recipe {served_subject.get('recipe_id')}, "
1659
+ "The server explained the table's current recipe "
1660
+ f"{served_subject.get('recipe_id')}, "
1659
1661
  f"not {requested_recipe}, so the local mirror of {requested_recipe} is not "
1660
1662
  "compared with it"
1661
1663
  )
@@ -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"}):
@@ -142,8 +142,7 @@ _SKIPPED_BECAUSE = {
142
142
  "tested."
143
143
  ),
144
144
  "engine_unsupported": (
145
- "This recipe runs on an engine the recipe test does not cover yet, so nothing was "
146
- "tested."
145
+ "This recipe runs on an engine the recipe test does not cover yet, so nothing was tested."
147
146
  ),
148
147
  "worker_unsupported": (
149
148
  "The worker that picked up the test predates it and refused the job before reading "
@@ -183,7 +182,7 @@ def declare_arguments(parser: argparse.ArgumentParser) -> None:
183
182
  "--no-wait",
184
183
  dest="no_wait",
185
184
  action="store_true",
186
- help="with `test`, return as soon as Studio has the test, instead of waiting for its "
185
+ help="with `test`, return as soon as the server has the test, instead of waiting for its "
187
186
  "report; asking again with the same bounds reads the same test back",
188
187
  )
189
188
 
@@ -276,7 +275,8 @@ def begin(
276
275
  if projection is None:
277
276
  raise ThinLaneError(
278
277
  "THIN_RESPONSE_INVALID",
279
- "Studio held this recipe test for a size confirmation without saying what it "
278
+ "The server held this recipe test for a size confirmation without saying what "
279
+ "it "
280
280
  "projected",
281
281
  ) from refusal
282
282
  return Started("held", held=projection)
@@ -293,7 +293,7 @@ def _bound_run(run: Mapping[str, Any]) -> str:
293
293
  run_id = run.get("run_id")
294
294
  if not isinstance(run_id, str) or not run_id:
295
295
  raise ThinLaneError(
296
- "THIN_RESPONSE_INVALID", "Studio started a recipe test without a run identifier"
296
+ "THIN_RESPONSE_INVALID", "The server started a recipe test without a run identifier"
297
297
  )
298
298
  return identifier(run_id, "run identifier")
299
299
 
@@ -343,7 +343,7 @@ def wait(
343
343
  observed = client.run(run_id)
344
344
  if observed.get("run_id") != run_id:
345
345
  raise ThinLaneError(
346
- "THIN_RESPONSE_INVALID", "Studio answered a recipe test read with another run"
346
+ "THIN_RESPONSE_INVALID", "The server answered a recipe test read with another run"
347
347
  )
348
348
  return observed
349
349
 
@@ -414,7 +414,8 @@ def _report(run: Mapping[str, Any]) -> Mapping[str, Any]:
414
414
  ):
415
415
  raise ThinLaneError(
416
416
  "THIN_RESPONSE_INVALID",
417
- "Studio finished a recipe test without the sources, transform and checks of its report",
417
+ "The server finished a recipe test without the sources, transform and checks of its "
418
+ "report",
418
419
  )
419
420
  return report
420
421
 
@@ -507,7 +508,8 @@ def reading(run: Mapping[str, Any]) -> tuple[str, dict[str, Any]]:
507
508
  }
508
509
  raise ThinLaneError(
509
510
  "THIN_RESPONSE_INVALID",
510
- f"Studio reported a recipe test in state {state!r}; a test ends cancelled with its report "
511
+ f"The server reported a recipe test in state {state!r}; a test ends cancelled with its "
512
+ "report "
511
513
  "or failed, and never succeeds",
512
514
  )
513
515
 
@@ -625,7 +627,7 @@ def test(
625
627
  "status": AWAITING_CONFIRMATION,
626
628
  **started.held,
627
629
  "confirm_command": confirm_held_command(held_id),
628
- "next": "Studio is holding the test for a size confirmation (a size check, not a "
630
+ "next": "The server is holding the test for a size confirmation (a size check, not a "
629
631
  "charge). Confirm it with the command above, then ask for the test again: the same "
630
632
  "bounds read the same run back.",
631
633
  }
@@ -839,7 +841,7 @@ _STOPPED_NEXT = {
839
841
  "not started. Running this command again tests again, under a new run.",
840
842
  CANCELLED: "The recipe test was cancelled before it reported, so the full was not started. "
841
843
  "Running this command again tests again.",
842
- AWAITING_CONFIRMATION: "Studio is holding the recipe test for a size confirmation (a size "
844
+ AWAITING_CONFIRMATION: "The server is holding the recipe test for a size confirmation (a size "
843
845
  "check, not a charge), so the full was not started. Confirm the test with the command "
844
846
  "above and run this command again, or add --confirm.",
845
847
  STILL_RUNNING: f"The recipe test had not reported after {int(FULL_WAIT_SECONDS // 60)} "