Source and research grounding
Current omega_discovery.c searches identical contiguous machine-instruction slices of length 4-8, not semantically related parameterized programs. GEN-3 #478 and its active PR #491 own retrieval-ready abstraction records for Omegese and held-out dev probes; do not clone or change that active worktree. #621 owns typed source-aware .om semantics; #625 defines observable semantics; #623 verification; #651 verified libraries. Prior art: babble, LILO, DreamCoder.
Implementation boundary
- After typed IR profile is frozen, build a bounded parameterized candidate extractor that finds related subgraphs differing in literal constants, operand roles or declared dimensions. Extract parameterized components with exact type/effect/overflow/rounding signatures and applicable preconditions. Keep generalization across semantically different operations refused.
- Begin with syntactic typed anti-unification only; optionally expose an e-graph/equality-saturation search only over a small independently validated theorem/rule set. IEEE-float associativity/distributivity and side effects must not be assumed. No unrestricted automated theorem prover or second compiler.
- Rank by total minimum-description-length code: definitions once + refs + argument bindings + exceptions + profile metadata + decoding. Measure actual serialized bytes and exclude candidate constructs unsupported by seeded
.omor unsafe for effects. - Emit suggested components through #651's existing admission, generation/revocation; integrate with #478 as additive, versioned interchange after owning agent agreement, not by editing its active paths. Only independently verified reusable programs become executable; a neural-generated name/comment is never the semantics.
- Construct disjoint development/extraction and held-out composition families; include random/unrelated and adversarial near-miss controls and at least one semantic but syntactically non-identical positive case.
- Preserve exact original-vs-refactored behavior on test/proof-supported domains, refusal on unproven equivalence, and explicit UNKNOWN when proof/time budgets exhausted.
Gates
- Extracts >=1 nontrivial typed parameterized component from >=3 genuinely distinct verified source programs, not raw-byte repeated fragments alone.
- Stored representation strictly smaller including library definition and all references on at least one positive fixture; no spurious gain when no repetition.
- Independent reference verifies unchanged behavior; false rewrite mutant caught, old/new floats with unsafe equivalence refuse.
- Held-out task transfer vs GEN-3 and whole-program reuse controls with fixed equal budgets, out-of-distribution case FAIL/INCONCLUSIVE recorded.
- Native .om verified candidate plus reproduction/receipts, no first-party foreign runtime fallback.
Ownership: new typed candidate extractor and qualification interface; GEN-3 corpus/record/retrieval files retained by #478/PR #491 owner; keep P0 contract #SEM-1 separate.
Delivery protocol
Issue-first under https://github.com/aien-dev/aien-architecture-mv/issues/315, PLAN_AUTHORITY, CURRENT_EXECUTION_PLAN, owner AGENTS/.crumb, existing Honeycomb claims and issue-first delivery. New first-party executable work, tooling, tests and successor are seeded .om, not a permanent .osc/C/Rust/Python runtime. Independent third-party oracle allowed outside runtime, with provenance. Exclusive file owner and reviewed isolated PR; preserve private serving/GPU lease. Attach exact source, seed, binary, commands, output, independent reviewer and explicit PASS/FAIL/INCONCLUSIVE/NOT_RUN. No automatic release/merge.