Repository navigation
Refresh setup skill experiment overlays and readouts - #8317
Merged
Merged
Conversation
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Task
ORB-22498 — Refresh setup skill experiment overlays and readouts
Description
Read-only audit at 6fde8fe found incomplete overlay guidance at orbit-setup/references/configuration.md:531-533: 'The current built-in allowlist contains workflow.explore.max_calls_per_run' followed only by that key. The sentence is true as a membership claim, but the section documents only that key. The code also admits visual_review.reviewer; the experiment section gives no way to configure that visual-review control. The newest CHANGELOG.md 0.45.1 'Experiment details that load' adds independently loaded readout/Retry behavior, while the setup reference only says to open Analytics Experiments.
Ground truth: crates/orbit-config/src/experiment_keys.rs:8-25 (ExperimentConfigKey::ALL contains ExploreMaxCallsPerRun and VisualReviewReviewer), :42-60 (integer 1..100 and boolean respectively); crates/orbit-core/src/application/experiment/lifecycle.rs validate_startable (workspace config_keys permission as well as typed code allowlist); docs/CONFIG.md [experiments] and visual_review.reviewer row (line 673); crates/orbit-web/assets/dashboard/js/experiments.js:11-15 and loadReadout/readoutView (experiment detail renders independently, readout affects Result/Trust and has Retry). Verify public command shapes with orbit experiment --help and config get/show/keys. Do not start a real experiment to update the prose.
Outcome: bring the owning setup experiment reference to the current configuration and verification contract, maintaining a clear router. Dedupe: ORB-18844 documented the older single-key experiment allowlist; ORB-20845 is website visual-review configuration, not this skill; their criteria/scopes were read. No open or recent skill-validation task owns this drift.
Acceptance Criteria
Execution Summary
Click to expand
Experiments section of the setup reference now documents both typed overlay keys (workflow.explore.max_calls_per_run integer 1-100; visual_review.reviewer boolean), the dual gate (built-in typed allowlist AND experiments.config_keys, workspace list alone enables nothing), with an opt-in/readback example naming only allowlisted keys. Verification paragraph now gives exact read-only shapes (list [--status], show/readout [--metric]) and shadow vs live authority, plus the dashboard independent-readout contract (detail renders from record; slow/failed readout holds only Result/Trust with own loading/error + Retry; header/Setup unaffected), matching experiments.js header comment and CHANGELOG 0.45.1. No Orbit source-tree/repo-doc paths, task IDs or names added; installed commands with placeholders only. Files: crates/orbit-core/assets/skills/orbit-setup/references/configuration.md (canonical) + regenerated plugin/skills mirror. Validation passed: scripts/sync-plugin-skills.sh, --check (no drift), validate-agent-plugin.sh, validate-codex-plugin.sh, make ci-guards, cargo fmt --all -- --check. No Rust changed so no clippy/doc run (PR checks cover); no prose-pinning tests per brief; no experiment started.
Validation
Branch Freshness
origin/agent-mainorbit/ORB-22498-391858e6