interplane.Get Omega
Read in your language

spark-rsi-mv

Native Rust recursive self-improvement engine with paired bootstrap evaluation and cryptographic ledger

Brought by drakestapleton

[OM-LEARN P0] Control adaptive evaluation reuse through the existing independent judge

Open · #67 · open 2026-10-23 19:16 UTC

Imported from GitHub aien-dev/spark-rsi-mv#67, by drakestapleton

drakestapleton wrote on 2026-10-23 19:16 UTC

Evidence and objective

Inspected src/promotion_gate.rs at 415f7ab3: the gate checks staged/content identity, a separately pinned judge key, operator-owned policy/holdout digest, parent and target binding, and a pass threshold. These checks establish specified identity and authorization conditions; they do not by themselves establish statistical validity after repeated adaptive selection.

Parent: Omega #652. Reuse #54's independent evaluation/review cycle, #57's no-auto-promotion boundary and existing policy/receipt/ledger ownership. Implement this extension in the owned .om successor under the repository replacement programme.

Implementation

  1. Define separate development, adaptive selection and final-test datasets with immutable identities and explicit visibility. Bind the experiment family, candidate, parent/incumbent, metric, comparison protocol and feedback history.
  2. Distinguish three outcomes: semantic/operational validity, statistical improvement evidence, and authorization to deploy. Passing any one does not imply the other two.
  3. Before searching, freeze the tolerated false-promotion risk, maximum attempts, feedback content, stopping rule and statistical assumptions. A finite list fixed before evaluation may use an appropriate fixed-family comparison; adaptively proposed candidates require a valid adaptive protocol, not naive multiple-testing arithmetic.
  4. Implement one bounded policy first: either a correctly derived REUSE-style limited-feedback method under its stated assumptions, or fresh independently held-out evaluation batches with a justified sequential error budget. Record which guarantee applies and when it does not.
  5. Limit what the proposer sees. Hiding task text while returning arbitrary detailed scores may still allow overfitting. Charge every feedback release against the declared protocol.
  6. Extend the existing append-only policy/receipt metadata or a versioned companion record. Include consumed evaluation budget and evaluation-history digest. Resume after restart cannot reset the budget or replay an old decision against a new parent.
  7. Keep judge code, policy, tasks, keys and thresholds outside the candidate's writable surface. Existing v2 authentication and artifact binding remain mandatory. Do not introduce a second signer or substitute a statistical score for independent approval.
  8. Implement deterministic statistical test vectors and synthetic null/positive-shift experiments with known ground truth. State sample-size limitations and power, not just observed false-positive count.

Acceptance and adversarial controls

  • Adaptive search over a no-improvement population does not exceed the predeclared error bound beyond stated simulation uncertainty.
  • Fresh data, reused data and leaked feedback receive distinct handling.
  • Restart, duplicate candidate, replayed receipt, wrong parent/dataset/policy and exhausted evaluation budget refuse promotion.
  • Candidate attempts to weaken the judge, read holdouts or invent measurement output cannot establish evidence.
  • Missing tasks, missing observations and zero-size sets never pass by default.
  • Signature validity, tested correctness and statistical improvement remain separate machine-readable fields.
  • A valid bounded negative/inconclusive result is retained; no general distribution-free guarantee is claimed without proof.
  • Independent review checks mathematical assumptions and .om implementation against golden vectors.

Dependencies and research

Consumes Omega #653. Existing #54/#57 own release/research separation. This gate precedes the bounded controller-evolution #68 under Omega #652. REUSE, Do Agent Optimizers Compound?. This remains a bounded research/review-branch path. Current policy against unattended production self-modification and automatic promotion remains in force.

Delivery contract

This is a finite workstream under Omega #599, not a new whole-system plan. Read aien-architecture-mv PLAN_AUTHORITY.md, CURRENT_EXECUTION_PLAN.md, the architecture release #190 ledger, applicable AGENTS.md and directory .crumb files, current issue comments and live worktree claims before editing. Record one owner and exact paths; reuse existing compiler, runtime, trainer, store, judge and publisher owners.

The final first-party implementation is seeded .om throughout, including experiment runners, data generation, build/release automation and project-owned tests. Qualify each replacement, cut consumers over, then delete superseded active-tree code and obsolete dependencies. Consult old code in Git history; preserve immutable historical evidence. No new .osc path, foreign runtime/compiler fallback, Python/Rust/C product wrapper or parallel authority service. Missing .om features are scoped dependencies for their existing owners. Independent third-party oracles may run outside the delivered build/runtime closure with disclosed identities.

Pin source, seed/compiler, model/tokenizer/template, dataset/split, policy, arithmetic profile, target and executable identities. Preserve raw failures and actual exit codes. Distinguish IMPLEMENTED from QUALIFIED and PASS/FAIL/INCONCLUSIVE/NOT_RUN; host/emulator evidence never establishes physical GPU qualification. Do not close an implementation issue from a plan or artifact hash alone. Use existing local hardware scheduling and publication/review workflow; do not interrupt active chip runs. A research result may legitimately be negative, but a stub or an unexecuted required gate is not completion. Keep private data local and preserve existing owner-controlled sharing rules.

drakestapleton wrote on 2026-10-23 22:23 UTC

Security qualification follow-up — 2026-10-23

Tracker: https://github.com/aien-dev/omega-mv/issues/673

User-authorized acceptance additions; existing ownership and scope remain. These are pending work, not claims of passing tests.

  • Add a bounded poisoned-development-benchmark campaign using synthetic tasks and separate untouched qualification tasks. Threat model: attacker influences evaluation input, not release authority.
  • Test whether evolving prompt/tool/harness changes induce prohibited behavior on clean tasks; separately evaluate persistence after contaminated benchmarks are removed. This is distinct from model-weight training.
  • Candidate generation, evaluation and promotion have separate authority. Attempted modification of mandatory tests, policy, thresholds, evidence, judge keys or release credentials must fail through actual isolation boundaries.
  • Verify candidate code cannot fabricate measurement receipts, reset evaluation budgets after restart, or approve itself; provenance and statistical validity remain separate.
  • Recover by restoring a known-qualified candidate and revoking contaminated artifacts; clean benchmarks alone must not be assumed to decontaminate a previously changed agent.
  • Keep sealed tasks inaccessible to proposers; publish only synthetic development fixtures and safe aggregate results. Use existing #54/#57/#68 owners and Omega #653; no second evaluator. Research: https://arxiv.org/abs/2609.17817 (2026 preprint; three experimental systems, one modified by researchers; not a universal compromise claim).

Delivery and qualification

Authorized security follow-up, 2026-10-23. Reconcile current source, branches, issue comments, AGENTS.md, plan authority and worktree ownership before edits. One writer per shared compiler/runtime file; preserve existing Renda/desk review and release ownership. All new first-party implementation, runners and tests use seeded .om. Missing facilities go to the existing compiler owner; no second compiler, runtime, authority or store. Qualify replacements and consumers before removing superseded active first-party code/dependencies; preserve Git history and immutable evidence. Record exact source/seed/compiler/binary/config/fixture identities, raw commands and exits, independent review and explicit PASS/FAIL/INVALID/NOT_RUN. Emulation is not hardware qualification. A hash/signature authenticates identity, not correctness. No automatic deployment, live GPU interruption, driver changes, private-data upload or issue closure from a source-only PR.

Sign in to comment