mostlyright-data 0.31.38__tar.gz → 0.31.40__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.
- {mostlyright_data-0.31.38 → mostlyright_data-0.31.40}/PKG-INFO +1 -1
- {mostlyright_data-0.31.38 → mostlyright_data-0.31.40}/skills/mr-data-build/SKILL.md +4 -2
- mostlyright_data-0.31.40/skills/mr-data-build/agents/openai.yaml +4 -0
- {mostlyright_data-0.31.38 → mostlyright_data-0.31.40}/skills/mr-data-build/references/2-brief-two-to-four-questions-each-with-a-recommended-answer.md +8 -4
- {mostlyright_data-0.31.38 → mostlyright_data-0.31.40}/skills/mr-data-build/references/4-decide-say-what-you-chose-what-you-refused-and-ask-one-question.md +5 -1
- {mostlyright_data-0.31.38 → mostlyright_data-0.31.40}/skills/mr-data-build/references/user-communication-contract.md +2 -2
- {mostlyright_data-0.31.38 → mostlyright_data-0.31.40}/src/mostlyright/data_harness/thin/session.py +3 -1
- {mostlyright_data-0.31.38 → mostlyright_data-0.31.40}/src/mostlyright/data_harness/thin/v4_datasets.py +16 -2
- mostlyright_data-0.31.38/skills/mr-data-build/agents/openai.yaml +0 -4
- {mostlyright_data-0.31.38 → mostlyright_data-0.31.40}/.gitignore +0 -0
- {mostlyright_data-0.31.38 → mostlyright_data-0.31.40}/README.md +0 -0
- {mostlyright_data-0.31.38 → mostlyright_data-0.31.40}/pyproject.toml +0 -0
- {mostlyright_data-0.31.38 → mostlyright_data-0.31.40}/scripts/hatch_build.py +0 -0
- {mostlyright_data-0.31.38 → mostlyright_data-0.31.40}/skills/mr-data-build/references/1-open-the-page-and-the-link-to-it-in-the-first-message.md +0 -0
- {mostlyright_data-0.31.38 → mostlyright_data-0.31.40}/skills/mr-data-build/references/3-probe-read-a-source-before-committing-to-it.md +0 -0
- {mostlyright_data-0.31.38 → mostlyright_data-0.31.40}/skills/mr-data-build/references/5-draft-one-recipe-document-one-call.md +0 -0
- {mostlyright_data-0.31.38 → mostlyright_data-0.31.40}/skills/mr-data-build/references/6-build-one-run-sized-to-acquire-every-measured-source-whole.md +0 -0
- {mostlyright_data-0.31.38 → mostlyright_data-0.31.40}/skills/mr-data-build/references/7-interrogate-ask-the-run-what-it-actually-delivered.md +0 -0
- {mostlyright_data-0.31.38 → mostlyright_data-0.31.40}/skills/mr-data-build/references/8-fix-revise-the-document-and-register-it-again.md +0 -0
- {mostlyright_data-0.31.38 → mostlyright_data-0.31.40}/skills/mr-data-build/references/9-present-only-what-survived-inspection-with-caveats.md +0 -0
- {mostlyright_data-0.31.38 → mostlyright_data-0.31.40}/skills/mr-data-build/references/agent-protocol.md +0 -0
- {mostlyright_data-0.31.38 → mostlyright_data-0.31.40}/skills/mr-data-build/references/autonomous-delivery.md +0 -0
- {mostlyright_data-0.31.38 → mostlyright_data-0.31.40}/skills/mr-data-build/references/before-the-first-tool-call.md +0 -0
- {mostlyright_data-0.31.38 → mostlyright_data-0.31.40}/skills/mr-data-build/references/boundaries.md +0 -0
- {mostlyright_data-0.31.38 → mostlyright_data-0.31.40}/skills/mr-data-build/references/cloud-authentication-preflight.md +0 -0
- {mostlyright_data-0.31.38 → mostlyright_data-0.31.40}/skills/mr-data-build/references/commands.md +0 -0
- {mostlyright_data-0.31.38 → mostlyright_data-0.31.40}/skills/mr-data-build/references/enriching-with-small-models.md +0 -0
- {mostlyright_data-0.31.38 → mostlyright_data-0.31.40}/skills/mr-data-build/references/live-run.md +0 -0
- {mostlyright_data-0.31.38 → mostlyright_data-0.31.40}/skills/mr-data-build/references/making-a-table-incremental.md +0 -0
- {mostlyright_data-0.31.38 → mostlyright_data-0.31.40}/skills/mr-data-build/references/narrating-the-run.md +0 -0
- {mostlyright_data-0.31.38 → mostlyright_data-0.31.40}/skills/mr-data-build/references/not-hosted-yet.md +0 -0
- {mostlyright_data-0.31.38 → mostlyright_data-0.31.40}/skills/mr-data-build/references/one-install.md +0 -0
- {mostlyright_data-0.31.38 → mostlyright_data-0.31.40}/skills/mr-data-build/references/patterns.md +0 -0
- {mostlyright_data-0.31.38 → mostlyright_data-0.31.40}/skills/mr-data-build/references/predicting-with-tabular-models.md +0 -0
- {mostlyright_data-0.31.38 → mostlyright_data-0.31.40}/skills/mr-data-build/references/prediction-labels.md +0 -0
- {mostlyright_data-0.31.38 → mostlyright_data-0.31.40}/skills/mr-data-build/references/preparing-table-search.md +0 -0
- {mostlyright_data-0.31.38 → mostlyright_data-0.31.40}/skills/mr-data-build/references/promote.md +0 -0
- {mostlyright_data-0.31.38 → mostlyright_data-0.31.40}/skills/mr-data-build/references/readers.md +0 -0
- {mostlyright_data-0.31.38 → mostlyright_data-0.31.40}/skills/mr-data-build/references/receipts.md +0 -0
- {mostlyright_data-0.31.38 → mostlyright_data-0.31.40}/skills/mr-data-build/references/recipe-test.md +0 -0
- {mostlyright_data-0.31.38 → mostlyright_data-0.31.40}/skills/mr-data-build/references/recording-a-stream-venue.md +0 -0
- {mostlyright_data-0.31.38 → mostlyright_data-0.31.40}/skills/mr-data-build/references/recovering-an-import-failure.md +0 -0
- {mostlyright_data-0.31.38 → mostlyright_data-0.31.40}/skills/mr-data-build/references/reference-pages.md +0 -0
- {mostlyright_data-0.31.38 → mostlyright_data-0.31.40}/skills/mr-data-build/references/required-protocol.md +0 -0
- {mostlyright_data-0.31.38 → mostlyright_data-0.31.40}/skills/mr-data-build/references/satellite-signals.md +0 -0
- {mostlyright_data-0.31.38 → mostlyright_data-0.31.40}/skills/mr-data-build/references/source-credentials.md +0 -0
- {mostlyright_data-0.31.38 → mostlyright_data-0.31.40}/skills/mr-data-build/references/sources.md +0 -0
- {mostlyright_data-0.31.38 → mostlyright_data-0.31.40}/skills/mr-data-build/references/the-one-thing-to-say-about-the-skill-itself.md +0 -0
- {mostlyright_data-0.31.38 → mostlyright_data-0.31.40}/skills/mr-data-build/references/transforms.md +0 -0
- {mostlyright_data-0.31.38 → mostlyright_data-0.31.40}/skills/mr-data-build/references/writing-a-decision-record.md +0 -0
- {mostlyright_data-0.31.38 → mostlyright_data-0.31.40}/skills/mr-data-build/scripts/write_research_notebook.py +0 -0
- {mostlyright_data-0.31.38 → mostlyright_data-0.31.40}/src/mostlyright/data_harness/__init__.py +0 -0
- {mostlyright_data-0.31.38 → mostlyright_data-0.31.40}/src/mostlyright/data_harness/agent_protocol.py +0 -0
- {mostlyright_data-0.31.38 → mostlyright_data-0.31.40}/src/mostlyright/data_harness/canonical.py +0 -0
- {mostlyright_data-0.31.38 → mostlyright_data-0.31.40}/src/mostlyright/data_harness/key_seam.py +0 -0
- {mostlyright_data-0.31.38 → mostlyright_data-0.31.40}/src/mostlyright/data_harness/page_coverage.py +0 -0
- {mostlyright_data-0.31.38 → mostlyright_data-0.31.40}/src/mostlyright/data_harness/part_check_evidence.py +0 -0
- {mostlyright_data-0.31.38 → mostlyright_data-0.31.40}/src/mostlyright/data_harness/session_probes.py +0 -0
- {mostlyright_data-0.31.38 → mostlyright_data-0.31.40}/src/mostlyright/data_harness/skill_assets.py +0 -0
- {mostlyright_data-0.31.38 → mostlyright_data-0.31.40}/src/mostlyright/data_harness/table_manifest.py +0 -0
- {mostlyright_data-0.31.38 → mostlyright_data-0.31.40}/src/mostlyright/data_harness/thin/__init__.py +0 -0
- {mostlyright_data-0.31.38 → mostlyright_data-0.31.40}/src/mostlyright/data_harness/thin/activity.py +0 -0
- {mostlyright_data-0.31.38 → mostlyright_data-0.31.40}/src/mostlyright/data_harness/thin/backoff.py +0 -0
- {mostlyright_data-0.31.38 → mostlyright_data-0.31.40}/src/mostlyright/data_harness/thin/categories.py +0 -0
- {mostlyright_data-0.31.38 → mostlyright_data-0.31.40}/src/mostlyright/data_harness/thin/dataset-categories-v1.json +0 -0
- {mostlyright_data-0.31.38 → mostlyright_data-0.31.40}/src/mostlyright/data_harness/thin/dataset_layout.py +0 -0
- {mostlyright_data-0.31.38 → mostlyright_data-0.31.40}/src/mostlyright/data_harness/thin/delivery.py +0 -0
- {mostlyright_data-0.31.38 → mostlyright_data-0.31.40}/src/mostlyright/data_harness/thin/description_shape.py +0 -0
- {mostlyright_data-0.31.38 → mostlyright_data-0.31.40}/src/mostlyright/data_harness/thin/download.py +0 -0
- {mostlyright_data-0.31.38 → mostlyright_data-0.31.40}/src/mostlyright/data_harness/thin/enrichment.py +0 -0
- {mostlyright_data-0.31.38 → mostlyright_data-0.31.40}/src/mostlyright/data_harness/thin/fast_features.py +0 -0
- {mostlyright_data-0.31.38 → mostlyright_data-0.31.40}/src/mostlyright/data_harness/thin/matching_benchmark.py +0 -0
- {mostlyright_data-0.31.38 → mostlyright_data-0.31.40}/src/mostlyright/data_harness/thin/probe.py +0 -0
- {mostlyright_data-0.31.38 → mostlyright_data-0.31.40}/src/mostlyright/data_harness/thin/progress_rate.py +0 -0
- {mostlyright_data-0.31.38 → mostlyright_data-0.31.40}/src/mostlyright/data_harness/thin/progress_vocabulary.py +0 -0
- {mostlyright_data-0.31.38 → mostlyright_data-0.31.40}/src/mostlyright/data_harness/thin/recipe.py +0 -0
- {mostlyright_data-0.31.38 → mostlyright_data-0.31.40}/src/mostlyright/data_harness/thin/recipe_brief.py +0 -0
- {mostlyright_data-0.31.38 → mostlyright_data-0.31.40}/src/mostlyright/data_harness/thin/recipe_explain.py +0 -0
- {mostlyright_data-0.31.38 → mostlyright_data-0.31.40}/src/mostlyright/data_harness/thin/recipe_forecast.py +0 -0
- {mostlyright_data-0.31.38 → mostlyright_data-0.31.40}/src/mostlyright/data_harness/thin/recipe_lint.py +0 -0
- {mostlyright_data-0.31.38 → mostlyright_data-0.31.40}/src/mostlyright/data_harness/thin/recipe_test.py +0 -0
- {mostlyright_data-0.31.38 → mostlyright_data-0.31.40}/src/mostlyright/data_harness/thin/refresh_rehearsal.py +0 -0
- {mostlyright_data-0.31.38 → mostlyright_data-0.31.40}/src/mostlyright/data_harness/thin/release_check.py +0 -0
- {mostlyright_data-0.31.38 → mostlyright_data-0.31.40}/src/mostlyright/data_harness/thin/research.py +0 -0
- {mostlyright_data-0.31.38 → mostlyright_data-0.31.40}/src/mostlyright/data_harness/thin/router.py +0 -0
- {mostlyright_data-0.31.38 → mostlyright_data-0.31.40}/src/mostlyright/data_harness/thin/run_diagnose.py +0 -0
- {mostlyright_data-0.31.38 → mostlyright_data-0.31.40}/src/mostlyright/data_harness/thin/run_prefix.py +0 -0
- {mostlyright_data-0.31.38 → mostlyright_data-0.31.40}/src/mostlyright/data_harness/thin/runs.py +0 -0
- {mostlyright_data-0.31.38 → mostlyright_data-0.31.40}/src/mostlyright/data_harness/thin/stream.py +0 -0
- {mostlyright_data-0.31.38 → mostlyright_data-0.31.40}/src/mostlyright/data_harness/thin/stream_venue.py +0 -0
- {mostlyright_data-0.31.38 → mostlyright_data-0.31.40}/src/mostlyright/data_harness/thin/studio_capabilities.py +0 -0
- {mostlyright_data-0.31.38 → mostlyright_data-0.31.40}/src/mostlyright/data_harness/thin/support.py +0 -0
- {mostlyright_data-0.31.38 → mostlyright_data-0.31.40}/src/mostlyright/data_harness/thin/table_search_contract.json +0 -0
- {mostlyright_data-0.31.38 → mostlyright_data-0.31.40}/src/mostlyright/data_harness/thin/table_view.py +0 -0
- {mostlyright_data-0.31.38 → mostlyright_data-0.31.40}/src/mostlyright/data_harness/thin/transport.py +0 -0
- {mostlyright_data-0.31.38 → mostlyright_data-0.31.40}/src/mostlyright/data_harness/thin/user_agent.py +0 -0
- {mostlyright_data-0.31.38 → mostlyright_data-0.31.40}/src/mostlyright/data_harness/thin/v4.py +0 -0
- {mostlyright_data-0.31.38 → mostlyright_data-0.31.40}/src/mostlyright/data_harness/thin/v4_artifacts.py +0 -0
- {mostlyright_data-0.31.38 → mostlyright_data-0.31.40}/src/mostlyright/data_harness/thin/v4_catalog.py +0 -0
- {mostlyright_data-0.31.38 → mostlyright_data-0.31.40}/src/mostlyright/data_harness/thin/v4_connected.py +0 -0
- {mostlyright_data-0.31.38 → mostlyright_data-0.31.40}/src/mostlyright/data_harness/thin/v4_connections.py +0 -0
- {mostlyright_data-0.31.38 → mostlyright_data-0.31.40}/src/mostlyright/data_harness/thin/v4_dataset_covers.py +0 -0
- {mostlyright_data-0.31.38 → mostlyright_data-0.31.40}/src/mostlyright/data_harness/thin/v4_handoff.py +0 -0
- {mostlyright_data-0.31.38 → mostlyright_data-0.31.40}/src/mostlyright/data_harness/thin/v4_matching.py +0 -0
- {mostlyright_data-0.31.38 → mostlyright_data-0.31.40}/src/mostlyright/data_harness/thin/v4_narrative.py +0 -0
- {mostlyright_data-0.31.38 → mostlyright_data-0.31.40}/src/mostlyright/data_harness/thin/v4_public.py +0 -0
- {mostlyright_data-0.31.38 → mostlyright_data-0.31.40}/src/mostlyright/data_harness/thin/v4_public_pull.py +0 -0
- {mostlyright_data-0.31.38 → mostlyright_data-0.31.40}/src/mostlyright/data_harness/thin/v4_query.py +0 -0
- {mostlyright_data-0.31.38 → mostlyright_data-0.31.40}/src/mostlyright/data_harness/thin/v4_reader.py +0 -0
- {mostlyright_data-0.31.38 → mostlyright_data-0.31.40}/src/mostlyright/data_harness/thin/v4_runs.py +0 -0
- {mostlyright_data-0.31.38 → mostlyright_data-0.31.40}/src/mostlyright/data_harness/thin/v4_search.py +0 -0
- {mostlyright_data-0.31.38 → mostlyright_data-0.31.40}/src/mostlyright/data_harness/thin/v4_search_contract.py +0 -0
- {mostlyright_data-0.31.38 → mostlyright_data-0.31.40}/src/mostlyright/data_harness/thin/v4_secrets.py +0 -0
- {mostlyright_data-0.31.38 → mostlyright_data-0.31.40}/src/mostlyright/data_harness/thin/v4_stream.py +0 -0
- {mostlyright_data-0.31.38 → mostlyright_data-0.31.40}/src/mostlyright/data_harness/thin/v4_tables.py +0 -0
- {mostlyright_data-0.31.38 → mostlyright_data-0.31.40}/src/mostlyright/data_harness/thin/vocabulary.py +0 -0
- {mostlyright_data-0.31.38 → mostlyright_data-0.31.40}/src/mostlyright/data_harness/ux/__init__.py +0 -0
- {mostlyright_data-0.31.38 → mostlyright_data-0.31.40}/src/mostlyright/data_harness/ux/attendance.py +0 -0
- {mostlyright_data-0.31.38 → mostlyright_data-0.31.40}/src/mostlyright/data_harness/ux/clarification.py +0 -0
- {mostlyright_data-0.31.38 → mostlyright_data-0.31.40}/src/mostlyright/data_harness/ux/cloud_auth.py +0 -0
- {mostlyright_data-0.31.38 → mostlyright_data-0.31.40}/src/mostlyright/data_harness/ux/commands/__init__.py +0 -0
- {mostlyright_data-0.31.38 → mostlyright_data-0.31.40}/src/mostlyright/data_harness/ux/commands/auth.py +0 -0
- {mostlyright_data-0.31.38 → mostlyright_data-0.31.40}/src/mostlyright/data_harness/ux/commands/clarify.py +0 -0
- {mostlyright_data-0.31.38 → mostlyright_data-0.31.40}/src/mostlyright/data_harness/ux/commands/login.py +0 -0
- {mostlyright_data-0.31.38 → mostlyright_data-0.31.40}/src/mostlyright/data_harness/ux/commands/whoami.py +0 -0
- {mostlyright_data-0.31.38 → mostlyright_data-0.31.40}/src/mostlyright/data_harness/ux/credential_native.py +0 -0
- {mostlyright_data-0.31.38 → mostlyright_data-0.31.40}/src/mostlyright/data_harness/ux/credential_store.py +0 -0
- {mostlyright_data-0.31.38 → mostlyright_data-0.31.40}/src/mostlyright/data_harness/ux/credentials.py +0 -0
- {mostlyright_data-0.31.38 → mostlyright_data-0.31.40}/src/mostlyright/data_harness/ux/login.py +0 -0
- {mostlyright_data-0.31.38 → mostlyright_data-0.31.40}/src/mostlyright/data_harness/ux/path_kind.py +0 -0
- {mostlyright_data-0.31.38 → mostlyright_data-0.31.40}/src/mostlyright/data_harness/ux/plain_file.py +0 -0
- {mostlyright_data-0.31.38 → mostlyright_data-0.31.40}/src/mostlyright/data_harness/ux/remediation.py +0 -0
- {mostlyright_data-0.31.38 → mostlyright_data-0.31.40}/src/mostlyright/data_harness/ux/render.py +0 -0
|
@@ -119,8 +119,10 @@ step 6. The stage 3 reference holds its rule. Gate 4 is step 6.
|
|
|
119
119
|
host's visible browser if available. A missing handoff does not undo creation: do not create a
|
|
120
120
|
duplicate dataset.
|
|
121
121
|
3. Settle purpose, row grain, tables, coverage, required sources and update cadence before
|
|
122
|
-
dependent work. In an attended build,
|
|
123
|
-
|
|
122
|
+
dependent work. In an attended build, use the host’s question form for unresolved material choices, including source
|
|
123
|
+
tradeoffs discovered later. In Mostly Right web chat call the offered `ask_user` tool. Put
|
|
124
|
+
questions, options and recommendations in the form once. Use a concise chat message only
|
|
125
|
+
on hosts without a question form; recording an assumption is not asking the user. Default to one joined,
|
|
124
126
|
ML-ready table at the agreed grain unless the user requests otherwise. Define membership and
|
|
125
127
|
relationship evidence for the intended use; resolve consequential proxies (for example,
|
|
126
128
|
institution location versus a person’s origin) rather than silently treating them as equivalent.
|
|
@@ -0,0 +1,4 @@
|
|
|
1
|
+
interface:
|
|
2
|
+
display_name: "Mostly Right Data Build"
|
|
3
|
+
short_description: "Build and verify reviewed datasets"
|
|
4
|
+
default_prompt: "Use $mr-data-build to autonomously deliver the requested dataset outcome before inspecting CLI help, documentation, schemas, fixtures, examples, prior runs, or installed package details whenever the request uses, tests, demonstrates, or debugs mr-data. If the host requires a skill-use disclosure, send only one outcome-specific sentence naming $mr-data-build before the first tool call; otherwise start silently. Never narrate preparation, skill loading, CLI discovery, authentication, document or contract lookup, example searches, package versions, command batches, or acquisition-document authoring. Never narrate skill instructions, commands, receipts, events, protocols, status codes, service behavior, or notebook mechanics. Open the request's canonical Dataset page first and put its stable address into your FIRST chat message as a link, saying once that it is open; never print or send the single-use handoff address, and where the host has no in-app browser the link is the whole of it. Then use the host’s question form for the brief and subsequent material choices (ask_user in Mostly Right web chat), with one recommended answer per question; use prose only on hosts without a question form -- and record each as a pending clarification on the dataset; default to one joined ML-ready table unless the user requests otherwise. Ask whether updates are needed, how often, and whether the cadence should be fixed or adaptive. Honor existing answers and explicit delegation within their scope; a request to build alone does not settle ongoing refresh decisions. Keep routine work and unchanged polling silent, but send one concise chat update for every newly observed hosted-run transition: accepted or queued, released after confirmation, started, failed with its supported cause, retried or replaced with both old and new run IDs, completed, and verified with elapsed time or throughput when benchmarking was requested. Include the current run ID in each lifecycle update so attempts cannot be confused. The Dataset page and app activity pill supplement these messages and never replace them. Fetch the published reference at https://mostlyright.md/docs/ for the recipe field, connector, Reader, transform, check, unit, command flag, error code, ceiling or worked example in front of you before drafting it; it is the contract, it wins over any memory of an older version, and fetching it is preparation you never narrate."
|
|
@@ -1,8 +1,12 @@
|
|
|
1
1
|
### 2. Brief — two to four questions, each with a recommended answer
|
|
2
2
|
|
|
3
|
-
**
|
|
4
|
-
|
|
5
|
-
|
|
3
|
+
**Before source lookup, ask what would make the first dataset wrong if you guessed it.** Use
|
|
4
|
+
the host’s question form. In Mostly Right web chat, call `ask_user` once with the unresolved
|
|
5
|
+
questions (up to four), two to four distinct options per question and one recommended option
|
|
6
|
+
each. Put the tradeoffs in the option descriptions. If field validation fails, correct the
|
|
7
|
+
fields and retry. The card itself asks the questions. Only hosts without a question form
|
|
8
|
+
use a concise text brief with the same choices and recommendations. If more decisions remain, ask the four that most affect the dataset, including unresolved update behavior.
|
|
9
|
+
Ask remaining material choices in the next form before dependent work. A question with no
|
|
6
10
|
recommendation makes the user do the work; a recommendation with no question decides for them.
|
|
7
11
|
|
|
8
12
|
Resolve the following before dependent work; combine related questions and omit decisions the
|
|
@@ -47,7 +51,7 @@ fields. Do not infer a person’s origin from their name or silently replace it
|
|
|
47
51
|
country. If the intended population cannot be evidenced, explain the gap and resolve the scope.
|
|
48
52
|
|
|
49
53
|
**Every question is a pending `clarification` block on the dataset and the same words in chat.**
|
|
50
|
-
The block carries `question` and no `answer`, so the page shows it open; the chat asks it in the
|
|
54
|
+
The block carries `question` and no `answer`, so the page shows it open; the form (or text-only chat) asks it in the
|
|
51
55
|
same words, so the two readers see one question rather than two. The answer REVISES that cell —
|
|
52
56
|
`--revise CELL_ID`, the same blocks with `answer` and `answered_at` — so the page shows it settled
|
|
53
57
|
rather than a second cell nothing ties to the first.
|
|
@@ -17,7 +17,11 @@ settled. Post the same content in chat as one short message, with a compact reca
|
|
|
17
17
|
shape, row grain, sources, coverage and the material limitations.
|
|
18
18
|
|
|
19
19
|
**It ends with one question: build it?** The last question of the plan and the only one this stage
|
|
20
|
-
asks.
|
|
20
|
+
asks. When the person still needs to decide, keep the proposal visible and use the host’s
|
|
21
|
+
question form. In Mostly Right web chat call `ask_user` with options to build as proposed
|
|
22
|
+
or change the plan. Use prose only on hosts without a question form. “Build as proposed” accepts the plan. If they choose to change it, revise
|
|
23
|
+
the proposal before acting. The normal approval policy still applies to each subsequent tool action.
|
|
24
|
+
If existing authorization or a stage-2 delegation covers this exact build, do not ask
|
|
21
25
|
again: say what is about to be built and build it. A narrower delegation does not settle this
|
|
22
26
|
decision.
|
|
23
27
|
|
|
@@ -14,8 +14,8 @@ outcome-oriented sentence about the dataset stage or an observed result, inventi
|
|
|
14
14
|
| When | What it carries |
|
|
15
15
|
| --- | --- |
|
|
16
16
|
| Stage 1 | The dataset page's stable address, as a link, and one clause saying it is open. |
|
|
17
|
-
| Stage 2 |
|
|
18
|
-
| Stage 4 | Sources chosen and refused, the shape that will be built, and
|
|
17
|
+
| Stage 2 | The host’s question form (ask_user in Mostly Right web chat) carries the brief and recommendations. Its card is the chat message. Use prose only on hosts without a question form. |
|
|
18
|
+
| Stage 4 | Sources chosen and refused, the shape that will be built, and a question form when the person still needs to decide whether to build it. |
|
|
19
19
|
| Stage 6 | A preview that stopped short: which source, which row, what a full build would cover. |
|
|
20
20
|
| Stage 9 | The build: rows, sources, coverage, checks, the link, and the refresh cadence. |
|
|
21
21
|
| Run lifecycle | A newly observed accepted or queued run, release after confirmation, start, failure, retry or replacement, completion, or verification. Name the run ID and the outcome; include the supported failure cause, the old and new IDs for a retry or replacement, and elapsed time or throughput when the user asked for a benchmark. |
|
{mostlyright_data-0.31.38 → mostlyright_data-0.31.40}/src/mostlyright/data_harness/thin/session.py
RENAMED
|
@@ -115,8 +115,9 @@ CLOUD_RUN_DASHBOARD_PATH = "/dashboard/runs/{run_id}"
|
|
|
115
115
|
#: no Studio identifier at all, because that identifier would only ever earn a cross-tenant 404.
|
|
116
116
|
CLOUD_DATASET_RESOLVE_PATH = "/api/cli/datasets/resolve"
|
|
117
117
|
|
|
118
|
-
#:
|
|
118
|
+
#: The default workspace/public response and the opt-in personal share projection.
|
|
119
119
|
CLOUD_DATASET_RESOLVED_SCHEMA = "mostlyright-cli-dataset-resolved.v1"
|
|
120
|
+
CLOUD_SHARED_DATASET_SCHEMA = "mostlyright-cli-shared-dataset.v1"
|
|
120
121
|
|
|
121
122
|
#: Cloud's device-key route that names the dataset a person already created for the request they
|
|
122
123
|
#: handed their AI tool, while that dataset is still empty and waiting for the build.
|
|
@@ -1028,6 +1029,7 @@ __all__ = [
|
|
|
1028
1029
|
"CLOUD_RUN_DASHBOARD_PATH",
|
|
1029
1030
|
"CLOUD_RUN_QUERY_PATH",
|
|
1030
1031
|
"CLOUD_SESSION_HANDOFF_PATH",
|
|
1032
|
+
"CLOUD_SHARED_DATASET_SCHEMA",
|
|
1031
1033
|
"CLOUD_TEAM_DASHBOARD_PATH",
|
|
1032
1034
|
"CLOUD_TOKEN_PATH",
|
|
1033
1035
|
"CLOUD_VERSION_PART_SESSIONS_PATH",
|
|
@@ -128,6 +128,7 @@ from mostlyright.data_harness.thin.session import (
|
|
|
128
128
|
CLOUD_DATASETS_LIST_PATH,
|
|
129
129
|
CLOUD_OPEN_REQUEST_PATH,
|
|
130
130
|
CLOUD_REFUSAL_CODE,
|
|
131
|
+
CLOUD_SHARED_DATASET_SCHEMA,
|
|
131
132
|
MAX_JSON_RESPONSE_BYTES,
|
|
132
133
|
MAX_STATED_MESSAGE_CHARS,
|
|
133
134
|
THIN_SANDBOX_KEY_READ_ONLY,
|
|
@@ -508,7 +509,7 @@ class CloudDatasetAccessClient(CloudClient):
|
|
|
508
509
|
cannot become members of this request.
|
|
509
510
|
"""
|
|
510
511
|
|
|
511
|
-
query = urlencode({"ref": reference}, quote_via=quote, safe="")
|
|
512
|
+
query = urlencode({"ref": reference, "include_shared": "1"}, quote_via=quote, safe="")
|
|
512
513
|
return self.call("GET", f"{CLOUD_DATASET_RESOLVE_PATH}?{query}", act=_RESOLVE_ACT)
|
|
513
514
|
|
|
514
515
|
def dataset_access(self, dataset_id: str) -> dict[str, Any]:
|
|
@@ -1396,6 +1397,9 @@ def dataset_reference(value: Any) -> str:
|
|
|
1396
1397
|
"THIN_REQUEST_INVALID",
|
|
1397
1398
|
"mr-data dataset show takes a dataset identifier, a public slug, or a dataset URL",
|
|
1398
1399
|
)
|
|
1400
|
+
# Share capabilities belong in the browser. Only forward the dataset address.
|
|
1401
|
+
if stated.lower().startswith(("https://", "http://")):
|
|
1402
|
+
return stated.partition("#")[0].partition("?")[0]
|
|
1399
1403
|
return stated
|
|
1400
1404
|
|
|
1401
1405
|
|
|
@@ -1418,8 +1422,13 @@ def _unresolved(reference: str) -> ThinLaneError:
|
|
|
1418
1422
|
|
|
1419
1423
|
|
|
1420
1424
|
def _resolved(answer: Mapping[str, Any]) -> dict[str, Any]:
|
|
1421
|
-
"""Cloud's resolve answer,
|
|
1425
|
+
"""Cloud's resolve answer, validated against its declared response version."""
|
|
1422
1426
|
|
|
1427
|
+
if answer.get("schema_version") == CLOUD_SHARED_DATASET_SCHEMA:
|
|
1428
|
+
dataset = answer.get("dataset")
|
|
1429
|
+
if not isinstance(dataset, dict) or not is_public_slug(dataset.get("slug")):
|
|
1430
|
+
raise ThinLaneError("THIN_RESPONSE_INVALID", "Cloud returned an invalid shared dataset")
|
|
1431
|
+
return {"owned": False, "shared_dataset": dataset}
|
|
1423
1432
|
owned = answer.get("owned")
|
|
1424
1433
|
if answer.get("schema_version") != CLOUD_DATASET_RESOLVED_SCHEMA or not isinstance(owned, bool):
|
|
1425
1434
|
raise ThinLaneError(
|
|
@@ -1505,6 +1514,11 @@ def show(
|
|
|
1505
1514
|
studio_refusal = refusal
|
|
1506
1515
|
cloud = cloud or CloudDatasetAccessClient(resolve_cloud_credentials())
|
|
1507
1516
|
resolved = resolve_reference(reference, cloud=cloud)
|
|
1517
|
+
if "shared_dataset" in resolved:
|
|
1518
|
+
return {
|
|
1519
|
+
"schema_version": CLOUD_SHARED_DATASET_SCHEMA,
|
|
1520
|
+
"dataset": resolved["shared_dataset"],
|
|
1521
|
+
}
|
|
1508
1522
|
if not resolved["owned"]:
|
|
1509
1523
|
receipt = show_public_dataset(
|
|
1510
1524
|
resolved["dataset_slug"], client=public or PublicCatalogClient(cloud.cloud_url)
|
|
@@ -1,4 +0,0 @@
|
|
|
1
|
-
interface:
|
|
2
|
-
display_name: "Mostly Right Data Build"
|
|
3
|
-
short_description: "Build and verify reviewed datasets"
|
|
4
|
-
default_prompt: "Use $mr-data-build to autonomously deliver the requested dataset outcome before inspecting CLI help, documentation, schemas, fixtures, examples, prior runs, or installed package details whenever the request uses, tests, demonstrates, or debugs mr-data. If the host requires a skill-use disclosure, send only one outcome-specific sentence naming $mr-data-build before the first tool call; otherwise start silently. Never narrate preparation, skill loading, CLI discovery, authentication, document or contract lookup, example searches, package versions, command batches, or acquisition-document authoring. Never narrate skill instructions, commands, receipts, events, protocols, status codes, service behavior, or notebook mechanics. Open the request's canonical Dataset page first and put its stable address into your FIRST chat message as a link, saying once that it is open; never print or send the single-use handoff address, and where the host has no in-app browser the link is the whole of it. Then ask the brief in one message -- two to four questions, each with a recommended answer -- and record each as a pending clarification on the dataset; default to one joined ML-ready table unless the user requests otherwise. Ask whether updates are needed, how often, and whether the cadence should be fixed or adaptive. Honor existing answers and explicit delegation within their scope; a request to build alone does not settle ongoing refresh decisions. Keep routine work and unchanged polling silent, but send one concise chat update for every newly observed hosted-run transition: accepted or queued, released after confirmation, started, failed with its supported cause, retried or replaced with both old and new run IDs, completed, and verified with elapsed time or throughput when benchmarking was requested. Include the current run ID in each lifecycle update so attempts cannot be confused. The Dataset page and app activity pill supplement these messages and never replace them. Fetch the published reference at https://mostlyright.md/docs/ for the recipe field, connector, Reader, transform, check, unit, command flag, error code, ceiling or worked example in front of you before drafting it; it is the contract, it wins over any memory of an older version, and fetching it is preparation you never narrate."
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{mostlyright_data-0.31.38 → mostlyright_data-0.31.40}/skills/mr-data-build/references/boundaries.md
RENAMED
|
File without changes
|
|
File without changes
|
{mostlyright_data-0.31.38 → mostlyright_data-0.31.40}/skills/mr-data-build/references/commands.md
RENAMED
|
File without changes
|
|
File without changes
|
{mostlyright_data-0.31.38 → mostlyright_data-0.31.40}/skills/mr-data-build/references/live-run.md
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{mostlyright_data-0.31.38 → mostlyright_data-0.31.40}/skills/mr-data-build/references/one-install.md
RENAMED
|
File without changes
|
{mostlyright_data-0.31.38 → mostlyright_data-0.31.40}/skills/mr-data-build/references/patterns.md
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{mostlyright_data-0.31.38 → mostlyright_data-0.31.40}/skills/mr-data-build/references/promote.md
RENAMED
|
File without changes
|
{mostlyright_data-0.31.38 → mostlyright_data-0.31.40}/skills/mr-data-build/references/readers.md
RENAMED
|
File without changes
|
{mostlyright_data-0.31.38 → mostlyright_data-0.31.40}/skills/mr-data-build/references/receipts.md
RENAMED
|
File without changes
|
{mostlyright_data-0.31.38 → mostlyright_data-0.31.40}/skills/mr-data-build/references/recipe-test.md
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{mostlyright_data-0.31.38 → mostlyright_data-0.31.40}/skills/mr-data-build/references/sources.md
RENAMED
|
File without changes
|
|
File without changes
|
{mostlyright_data-0.31.38 → mostlyright_data-0.31.40}/skills/mr-data-build/references/transforms.md
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
{mostlyright_data-0.31.38 → mostlyright_data-0.31.40}/src/mostlyright/data_harness/__init__.py
RENAMED
|
File without changes
|
{mostlyright_data-0.31.38 → mostlyright_data-0.31.40}/src/mostlyright/data_harness/agent_protocol.py
RENAMED
|
File without changes
|
{mostlyright_data-0.31.38 → mostlyright_data-0.31.40}/src/mostlyright/data_harness/canonical.py
RENAMED
|
File without changes
|
{mostlyright_data-0.31.38 → mostlyright_data-0.31.40}/src/mostlyright/data_harness/key_seam.py
RENAMED
|
File without changes
|
{mostlyright_data-0.31.38 → mostlyright_data-0.31.40}/src/mostlyright/data_harness/page_coverage.py
RENAMED
|
File without changes
|
|
File without changes
|
{mostlyright_data-0.31.38 → mostlyright_data-0.31.40}/src/mostlyright/data_harness/session_probes.py
RENAMED
|
File without changes
|
{mostlyright_data-0.31.38 → mostlyright_data-0.31.40}/src/mostlyright/data_harness/skill_assets.py
RENAMED
|
File without changes
|
{mostlyright_data-0.31.38 → mostlyright_data-0.31.40}/src/mostlyright/data_harness/table_manifest.py
RENAMED
|
File without changes
|
{mostlyright_data-0.31.38 → mostlyright_data-0.31.40}/src/mostlyright/data_harness/thin/__init__.py
RENAMED
|
File without changes
|
{mostlyright_data-0.31.38 → mostlyright_data-0.31.40}/src/mostlyright/data_harness/thin/activity.py
RENAMED
|
File without changes
|
{mostlyright_data-0.31.38 → mostlyright_data-0.31.40}/src/mostlyright/data_harness/thin/backoff.py
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{mostlyright_data-0.31.38 → mostlyright_data-0.31.40}/src/mostlyright/data_harness/thin/delivery.py
RENAMED
|
File without changes
|
|
File without changes
|
{mostlyright_data-0.31.38 → mostlyright_data-0.31.40}/src/mostlyright/data_harness/thin/download.py
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{mostlyright_data-0.31.38 → mostlyright_data-0.31.40}/src/mostlyright/data_harness/thin/probe.py
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
{mostlyright_data-0.31.38 → mostlyright_data-0.31.40}/src/mostlyright/data_harness/thin/recipe.py
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{mostlyright_data-0.31.38 → mostlyright_data-0.31.40}/src/mostlyright/data_harness/thin/research.py
RENAMED
|
File without changes
|
{mostlyright_data-0.31.38 → mostlyright_data-0.31.40}/src/mostlyright/data_harness/thin/router.py
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
{mostlyright_data-0.31.38 → mostlyright_data-0.31.40}/src/mostlyright/data_harness/thin/runs.py
RENAMED
|
File without changes
|
{mostlyright_data-0.31.38 → mostlyright_data-0.31.40}/src/mostlyright/data_harness/thin/stream.py
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
{mostlyright_data-0.31.38 → mostlyright_data-0.31.40}/src/mostlyright/data_harness/thin/support.py
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
{mostlyright_data-0.31.38 → mostlyright_data-0.31.40}/src/mostlyright/data_harness/thin/transport.py
RENAMED
|
File without changes
|
|
File without changes
|
{mostlyright_data-0.31.38 → mostlyright_data-0.31.40}/src/mostlyright/data_harness/thin/v4.py
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{mostlyright_data-0.31.38 → mostlyright_data-0.31.40}/src/mostlyright/data_harness/thin/v4_public.py
RENAMED
|
File without changes
|
|
File without changes
|
{mostlyright_data-0.31.38 → mostlyright_data-0.31.40}/src/mostlyright/data_harness/thin/v4_query.py
RENAMED
|
File without changes
|
{mostlyright_data-0.31.38 → mostlyright_data-0.31.40}/src/mostlyright/data_harness/thin/v4_reader.py
RENAMED
|
File without changes
|
{mostlyright_data-0.31.38 → mostlyright_data-0.31.40}/src/mostlyright/data_harness/thin/v4_runs.py
RENAMED
|
File without changes
|
{mostlyright_data-0.31.38 → mostlyright_data-0.31.40}/src/mostlyright/data_harness/thin/v4_search.py
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
{mostlyright_data-0.31.38 → mostlyright_data-0.31.40}/src/mostlyright/data_harness/thin/v4_stream.py
RENAMED
|
File without changes
|
{mostlyright_data-0.31.38 → mostlyright_data-0.31.40}/src/mostlyright/data_harness/thin/v4_tables.py
RENAMED
|
File without changes
|
|
File without changes
|
{mostlyright_data-0.31.38 → mostlyright_data-0.31.40}/src/mostlyright/data_harness/ux/__init__.py
RENAMED
|
File without changes
|
{mostlyright_data-0.31.38 → mostlyright_data-0.31.40}/src/mostlyright/data_harness/ux/attendance.py
RENAMED
|
File without changes
|
|
File without changes
|
{mostlyright_data-0.31.38 → mostlyright_data-0.31.40}/src/mostlyright/data_harness/ux/cloud_auth.py
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{mostlyright_data-0.31.38 → mostlyright_data-0.31.40}/src/mostlyright/data_harness/ux/credentials.py
RENAMED
|
File without changes
|
{mostlyright_data-0.31.38 → mostlyright_data-0.31.40}/src/mostlyright/data_harness/ux/login.py
RENAMED
|
File without changes
|
{mostlyright_data-0.31.38 → mostlyright_data-0.31.40}/src/mostlyright/data_harness/ux/path_kind.py
RENAMED
|
File without changes
|
{mostlyright_data-0.31.38 → mostlyright_data-0.31.40}/src/mostlyright/data_harness/ux/plain_file.py
RENAMED
|
File without changes
|
{mostlyright_data-0.31.38 → mostlyright_data-0.31.40}/src/mostlyright/data_harness/ux/remediation.py
RENAMED
|
File without changes
|
{mostlyright_data-0.31.38 → mostlyright_data-0.31.40}/src/mostlyright/data_harness/ux/render.py
RENAMED
|
File without changes
|