Skip to content

feat(meta-search): preregister and run real-workload transfer - #1

Merged
NullLabTests merged 7 commits into
mainfrom
integration/dream-rsi-meta-search
Nov 22, 2026
Merged

NullLabTests merged 7 commits into
mainfrom
integration/dream-rsi-meta-search

Conversation

@NullLabTests

Copy link
Copy Markdown
Owner

Summary

This PR completes the Protocol 241 mission as one cohesive change: verify the prior DREAM-RSI/meta-search work without rewriting history, then preregister and execute Protocol 244, a real-workload transfer test of the toy-promoted evolved policy.

Everything is in a single commit (027f5dd) so the research code, preregistration, sealed bundle, final report, tests, and docs land together.

What was verified first

  • HEAD was a6f54ac on integration/dream-rsi-meta-search.
  • The DREAM-RSI audit and Protocols 241–243 were checked against their sealed bundles.
  • Protocol 243 was reproduced in a clean tree: byte-identical bundle, verified=true, 10 files, trace integrity OK, no replay-only promotion.
  • No historical bundle, preregistration, evaluator, threshold, or promotion decision was modified.

What was added

  • spec/research/244_META_SEARCH_REAL_WORKLOAD_TRANSFER.md: preregistration frozen before execution.
  • algolab/meta_search/transfer.py and meta-transfer-run: real-workload runner that changes only the attempt source and reuses the unchanged evaluator/promotion gate.
  • experiments/protocol-244-v1/: sealed, checksummed bundle with trace, environment metadata, replay diagnostics, stage A/B/C evaluations, promotion decisions, report, and manifest.
  • tests/test_meta_transfer.py: runner/CLI, sealing, verification, tamper detection, determinism, and fail-closed workload handling.
  • scripts/verify_meta_reproduction.py: independent bundle comparison used for both 243 and 244 reproduction checks.
  • experiments/protocol-241-final/: consolidated research report, A–J verdicts, machine-readable results manifest, checksums, full test/lint/type-check output, and reproduction verdicts.

Protocol 244 result

Preregistered design: fixed-baseline vs unchanged evolved; transform primary, hpo secondary; alpha/beta training, gamma held-out; 8 trials/family/stage; 8 episodes; 40-credit budget; seeds 924211 / 351773 / 17 / 77100; 2000 bootstrap resamples; BH across two workload p-values; unchanged promotion gate.

Workload Δ/credit 95% CI low raw p BH q Held-out Δ Verdict
transform +0.004045 −0.003175 0.4093 0.5052 0.000000 REJECTED_PROSPECTIVE
hpo +0.002500 +0.000000 0.5052 0.5052 +0.012500 REJECTED_PROSPECTIVE

meta-verify reported verified=true, 16 files, trace integrity OK, no mismatches, no extra files, and no replay-only promotion. A fresh process using a copied source tree reproduced the bundle byte-for-byte (IDENTICAL_TREES, pass=True, 16 files).

Conclusion: the toy-substrate promotion does not transfer to these real workloads. No deployment, real-workload performance, or autonomy claim is supported.

Known reporting defect

The Protocol 244 manifest doubles two non-decision-relevant planning upper bounds (records 1536 attempts / 7680 credits; correct values are 768 / 3840) due to an extra factor in the accounting loop. The sealed bundle was deliberately not rewritten; the correction and derivation are in experiments/protocol-241-final/compute-accounting-correction.json. This preserves byte-reproducibility and does not affect any statistic or promotion decision.

Checks

  • pytest -q --durations=15: 474 passed, 0 failed.
  • ruff check src tests scripts: All checks passed.
  • mypy: Success, no issues in 59 source files.
  • meta-verify on Protocols 243 and 244: both verified.

See implementation/algolab/experiments/protocol-241-final/RESEARCH_REPORT.md for full verdicts A–J, failure analysis, compute accounting, and limitations.

Complete the Protocol 241 mission as one cohesive research change.

Verified the prior DREAM-RSI audit and Protocols 241-243 without modifying any
historical bundle, preregistration, evaluator, threshold, or promotion decision.
Protocol 243 was reproduced byte-for-byte in a clean tree and independently
verified.

Added the frozen Protocol 244 preregistration before execution and implemented
meta-transfer-run on the unchanged evaluator/promotion gate. The preregistered
transform/hpo transfer test rejected the evolved policy on both workloads after
BH correction (q=0.5052); the toy promotion therefore does not transfer. Bundle
verification and fresh-process byte reproduction both passed.

Added regression coverage for the transfer runner, CLI, sealing, tamper
detection, determinism, and fail-closed workload handling. Added the final
A-J research report, machine-readable results manifest, checksums, full test
output, lint/type-check output, reproduction verdicts, and a reporting-only
compute-accounting correction that does not rewrite the sealed bundle.

Docs now describe the complete protocols 241-244 line and the scoped verdict:
toy-substrate meta-search capability demonstrated; real-workload transfer and
autonomy expansion not demonstrated.

Checks: 474 tests passed, ruff clean, mypy clean (59 source files).
@NullLabTests
NullLabTests force-pushed the integration/dream-rsi-meta-search branch from 027f5dd to 7b19003 Compare November 22, 2026 21:14
@NullLabTests

Copy link
Copy Markdown
Owner Author

Review outcome

I reviewed PR #1 before merging.

Found and fixed: the new protocol-241-final/checksums.json initially used nested {bytes, sha256} objects, which violates the repository-wide checksum convention enforced by tests/test_artifact_integrity.py. It is now a flat filename -> sha256 map. No research result, threshold, historical bundle, or sealed protocol artifact was changed. The final report and manifest document the correction.

Verified locally after the fix:

  • Full suite: 474 tests collected, all passed (pytest -q --durations=15).
  • ruff check src tests scripts: passed.
  • mypy: no issues in 59 source files.
  • Protocol 243 bundle: verified=true, 10 files, trace integrity OK, no replay-only promotion.
  • Protocol 244 bundle: verified=true, 16 files, trace integrity OK, no replay-only promotion.
  • Final artifact checksums and all referenced bundle checksums match.

Remaining CI failure is pre-existing and unrelated: tests/test_protocol_240.py::TestCommittedBundleReproduces::test_committed_bundle_reproduces_in_a_clean_process fails on CI Python 3.11/3.12 because the committed protocol-240-v1 bundle records Python 3.14.4 / NumPy 2.5.2 / scikit-learn 1.9.0 metadata while CI installs different versions. I reproduced the same failure from an untouched origin/main checkout (ac1df7d) with Python 3.12, so it was not introduced by this PR. Fixing it would require changing an unrelated historical bundle or the CI environment, which is outside this mission's no-retrospective-changes constraint.

Per the user's explicit request, I am merging this PR with that pre-existing CI caveat recorded.

@NullLabTests
NullLabTests merged commit 458a825 into main Nov 22, 2026
2 of 6 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.

1 participant