Skip to content

chore: sync public mirror from internal - #1169

Merged
evalops-mirror[bot] merged 1 commit into
mainfrom
sync/public-release-mirror
Sep 20, 2026
Merged

evalops-mirror[bot] merged 1 commit into
mainfrom
sync/public-release-mirror

Conversation

@evalops-mirror

Copy link
Copy Markdown
Contributor

Summary

  • sync the sanitized public tree from dx-corp/mono
  • keep dx-corp/code as a generated public mirror of the private source of truth
  • preserve public-owned CI and trusted-publishing workflows from the public checkout
  • internal source SHA: 44398bc78a6101246b54c93a5c14fdf51b592a05
  • last generated public sync base: b845d90c5168779978aa9579a9d6b837c0870eab
  • previewed public-tree drift: 33 file(s) to copy/update and 0 stale file(s) to delete
  • public-only commits since last generated sync: 0
  • to pause generated syncs while hand-editing this branch, apply the sync-hold label to this PR; the sync workflow skips every push while it is set

Source-of-truth status

Projection: deixic-code

  • Source: dx-corp/mono@44398bc78a6101246b54c93a5c14fdf51b592a05

  • Prior destination base: b845d90

  • Content SHA-256: f2f670aaf2deaad783ec6d930f42e640de1e7ffb5ddb1b35339b9a2e0db37700

  • Result: drift_detected; 33 changed, 0 deleted

  • Destination-owned content is preserved. Destination CI is a separate health signal.

  • copy/update .repository-projection.json

  • copy/update Cargo.lock

  • copy/update packages/tui-rs/examples/onboarding-preview.rs

  • copy/update packages/tui-rs/examples/support/mod.rs

  • copy/update packages/tui-rs/examples/support/theme_selector_story.rs

  • copy/update packages/tui-rs/examples/support/ui_stories.rs

  • copy/update packages/tui-rs/src/components/theme_selector.rs

  • copy/update packages/ui-preview-rs/Cargo.toml

  • copy/update packages/ui-preview-rs/README.md

  • copy/update packages/ui-preview-rs/src/adapters.rs

  • copy/update packages/ui-preview-rs/src/authoring.rs

  • copy/update packages/ui-preview-rs/src/contract.rs

  • copy/update packages/ui-preview-rs/src/lib.rs

  • copy/update packages/ui-preview-rs/src/main.rs

  • copy/update packages/ui-preview-rs/src/menus.rs

  • copy/update packages/ui-preview-rs/src/registry.rs

  • copy/update packages/ui-preview-rs/src/review.html

  • copy/update packages/ui-preview-rs/src/review.rs

  • copy/update packages/ui-preview-rs/src/schema.rs

  • copy/update packages/ui-preview-rs/src/stories/mod.rs

Drift sample

  • copy/update .repository-projection.json
  • copy/update Cargo.lock
  • copy/update packages/tui-rs/examples/onboarding-preview.rs
  • copy/update packages/tui-rs/examples/support/mod.rs
  • copy/update packages/tui-rs/examples/support/theme_selector_story.rs
  • copy/update packages/tui-rs/examples/support/ui_stories.rs
  • copy/update packages/tui-rs/src/components/theme_selector.rs
  • copy/update packages/ui-preview-rs/Cargo.toml
  • copy/update packages/ui-preview-rs/README.md
  • copy/update packages/ui-preview-rs/src/adapters.rs
  • copy/update packages/ui-preview-rs/src/authoring.rs
  • copy/update packages/ui-preview-rs/src/contract.rs
  • copy/update packages/ui-preview-rs/src/lib.rs
  • copy/update packages/ui-preview-rs/src/main.rs
  • copy/update packages/ui-preview-rs/src/menus.rs
  • copy/update packages/ui-preview-rs/src/registry.rs
  • copy/update packages/ui-preview-rs/src/review.html
  • copy/update packages/ui-preview-rs/src/review.rs
  • copy/update packages/ui-preview-rs/src/schema.rs
  • copy/update packages/ui-preview-rs/src/stories/mod.rs

Public-only commits since last generated sync

  • none detected since last generated sync

Validation

  • generated by the sync-public-release-mirror workflow in public-tree mode

Test Plan

  • generated by the maestro-sync-public-release-mirror workflow in public-tree mode
  • public-source-provenance require-internal-pr confirms internal source PR lineage
  • generated mirror PRs use the slim public CI path (fmt/clippy/smoke + provenance); full cargo test/evals already ran on internal main for this SHA
  • bot review threads on generated mirror PRs are advisory and do not block the next sync update

Staged Rollout

  • Staging is unnecessary for this generated mirror PR: it does not independently promote user-visible behavior. It mirrors already-reviewed internal source from dx-corp/mono@44398bc78a6101246b54c93a5c14fdf51b592a05, including existing hidden/evaluation surfaces, and keeps public package parity behind the established public-source-provenance gate.

@evalops-mirror
evalops-mirror Bot requested a review from a team as a code owner September 20, 2026 10:10
@evalops-mirror

Copy link
Copy Markdown
Contributor Author

Resolved 0 review-bot thread(s) on this generated public mirror PR.
Left 0 human-started thread(s) unresolved.

Review of mirrored code belongs on the mono source PR.
See https://github.com/dx-corp/mono/issues/9100 for the triage pattern.

@evalops-mirror
evalops-mirror Bot enabled auto-merge (squash) September 20, 2026 10:10
@evalops-mirror
evalops-mirror Bot merged commit 4690e79 into main Sep 20, 2026
19 of 22 checks passed
@evalops-mirror
evalops-mirror Bot deleted the sync/public-release-mirror branch September 20, 2026 10:12

@chatgpt-codex-connector chatgpt-codex-connector Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

💡 Codex Review

Here are some automated review suggestions for this pull request.

Reviewed commit: 3b4252cfae

ℹ️ About Codex in GitHub

Codex has been enabled to automatically review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review".

If Codex has suggestions, it will comment; otherwise it will react with 👍.

When you sign up for Codex through ChatGPT, Codex can also answer questions or update the PR, like "@codex address that feedback".

Comment on lines +14 to +16
for directory in current.ancestors() {
if directory.join("products/maestro").is_dir() {
return Ok(directory.to_path_buf());

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

P2 Badge Support the public-repository layout in root discovery

When Studio is run from the documented public repository root, no current-directory or manifest ancestor contains a products/maestro child—the Cargo workspace is the repository root itself—so repo_root() always returns run Studio inside the Mono repository. Consequently every studio new/promote invocation, including --check, is unusable in this repository; root discovery and the monorepo-prefixed adapter paths need a public-layout fallback.

Useful? React with 👍 / 👎.

Comment on lines +280 to +281
} else if captures.iter().any(|capture| capture.semantic.is_some()) {
CoverageState::AssertedPassed

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

P2 Badge Require evaluated expectations before marking coverage passed

For a replay whose final input resizes to a geometry outside the selected profile, results_for retains only earlier prefixes; those prefixes still have semantic: Some(...) but deliberately contain no expectations. This branch therefore reports AssertedPassed even though the story contract was never evaluated for that profile, producing false-positive coverage. Only semantic results with evaluated expectations should qualify as asserted.

Useful? React with 👍 / 👎.

}
let before = fs::read_to_string(&registration).map_err(|error| error.to_string())?;
let after = registration_with_story(&before, &recipe.id.replace('-', "_"))?;
let source = recipe.fixture_source_for_adapter(&adapter.id)?;

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

P2 Badge Reject menu promotion for non-menu adapters

When studio promote --adapter theme-selector ... --check is used, the adapter is authoring-enabled, so planning succeeds and this line generates a menu-recipe module despite that manifest declaring the ThemeSelector template and no Menu story kind. The theme-selector registration macro expects generated modules to expose captures(), while this source exposes register(), so a real promotion can only fail compilation and roll back, and --check misleadingly approves the invalid plan. Validate the adapter template/story kind before promotion.

Useful? React with 👍 / 👎.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

0 participants