Skip to content

Reuse verified Campaign preparation across treatments and startup - #1180

Merged
proerror77 merged 5 commits into
mainfrom
codex/campaign-preparation-reuse-20260914
Sep 14, 2026
Merged

proerror77 merged 5 commits into
mainfrom
codex/campaign-preparation-reuse-20260914

Conversation

@proerror77

@proerror77 proerror77 commented Sep 14, 2026

Copy link
Copy Markdown
Owner

Change

Campaign treatments currently rescan the same feature and replay files, and controller startup performs another full freeze. Add a native, versioned campaign-prepare plan that admits inputs once, renders its members from an immutable snapshot and retains SHA-bound preparation artifacts. Identical plans and partial preparations reuse validated evidence; the canonical controller can start from a prepared freeze after checking its exact source, image, dataset, plan, seed and output bindings.

Cache and freeze evidence carry authentication tags anchored in an independently selected existing ACK ledger, including the holdout identity derived at original admission. Caller-supplied hashes alone cannot skip validation. Multi-member plans propagate a shared statistical comparison-family trial bound into both factor screening and the supervised evaluator while each job reserves only its own trials. Native terminal readback rejects a model-scoring policy that omits this bound. Prepared comparisons permit zero automatic follow-ups.

Native authorize/sign/finalize/dispatch, independent worker admission, grants, holdout admission and budget limits remain enforced. Preparation creates only cache-integrity attestations, not execution authorization, grant changes, training or Jobs. Runner/controller images provision the ACK host marker; expanded materialization metadata retains a bounded envelope.

Issue relationship

Closes #1178

Validation

  • Native multi-member preparation and freeze reuse work after bulk input files are removed; changed metadata, plans, identities and seed bindings reject.
  • Partial preparation resumes, conflicting artifacts and symlinked outputs reject, and concurrent preparation writers are excluded.
  • Controller start/approve retains exact prepared bytes, performs zero full freezes, dispatches once and rejects retained-byte corruption.
  • Focused feature-import/replay-row regressions, scoped alpha-harness/collector Clippy and diff whitespace checks.

Runtime impact and rollback

No real study or ACK resource was started. Runner/controller images may publish automatically after merge admission. Runtime adoption and research acceptance require their own evidence. Revert this change to remove the new preparation entrypoint and restore full preparation on startup; immutable historical artifacts remain audit records. This preparation slice does not claim the entire workflow repair is finished.

@coderabbitai

coderabbitai Bot commented Sep 14, 2026

Copy link
Copy Markdown

Important

  • 🔍 Trigger review

This repository does not receive automatic reviews because it has fewer than 10 stars.

⚙️ Run configuration

Configuration used: defaults

Review profile: CHILL

Plan: Advanced

Run ID: 5450b443-f045-4a49-ae6e-a354200a2555


Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

❤️ Share

Comment @coderabbitai help to get the list of available commands.

@chatgpt-codex-connector

chatgpt-codex-connector Bot commented Sep 14, 2026

Copy link
Copy Markdown

Codex Review Summary

This comment shows the latest Codex review activity on this pull request.

Review Status Commit Review trigger
📝 Code Review Completed 2026-09-14T04:16:32.046153Z e28c2c2 PR opened
ℹ️ About Codex in GitHub

Your team has set up Codex to 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" or "@codex security review".

Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings.

@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: e28c2c27cd

ℹ️ About Codex in GitHub

Your team has set up Codex to 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 👍.

Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".

Comment thread rust_hft/alpha-harness/app/src/mission_campaign/preparation.rs Outdated
Comment thread rust_hft/alpha-harness/app/src/mission_campaign/preparation.rs
Comment thread rust_hft/alpha-harness/app/src/mission_campaign/preparation.rs
Comment thread rust_hft/alpha-harness/app/src/mission_campaign/preparation.rs
Comment thread rust_hft/alpha-harness/app/src/mission_campaign.rs
@proerror77
proerror77 force-pushed the codex/campaign-preparation-reuse-20260914 branch from e28c2c2 to a940519 Compare September 14, 2026 06:32
@proerror77
proerror77 merged commit 89a7126 into main Sep 14, 2026
48 checks passed
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.

Reuse verified CEX preparation across treatments and Campaign startup

1 participant