Interplane page as plain text, for reading tools and agents. English is the reference text: translate it with your own tool. Text in backticks and in ``` blocks (commands, fingerprints, file names) and link targets in <...> are exact: copy them, never translate them. Page: /drakestapleton/omega-mv/issues/04151c4c56b48201 # omega-mv Omega: a language for verified programs, semantic identity and machine realization. Seed-born work and existing implementations have distinct provenance. Brought by drakestapleton Sign in to star 1 stars 0 watching About Files History Releases Proposed changes Issues For developers # [OM-LEARN P1] Compile eligible local traces into reusable .om procedures with measured break-even Open · #658 · open 2026-10-23 19:14 UTC Imported from GitHub aien-dev/omega-mv#658, by drakestapleton drakestapleton wrote on 2026-10-23 19:14 UTC ## Evidence and objective Parent: #652. Reuse #607-#610 local trace collection/query ownership, #651 durable semantic reuse and #646 recursive reuse. Historical rx_plan is migration evidence, not permission for a second plan store. TraceCompiler shows a narrow call-count reduction but does not establish net savings after offline compilation. Turn repeated, correctly observed procedures into bounded reusable .om code only when dependencies and effects are justified. ## Implementation - Define trace eligibility. Standard shareable tracing deliberately excludes sensitive tool arguments and raw outputs; do not silently expand it. Use public synthetic traces or an explicitly enabled local-only capture capability for the minimum data needed. Keep retention and consent under the existing owner. - Normalize typed events and retain evidence for each dependency: producer output, consumer argument, identity/version, alternatives considered and uncertainty. Temporal adjacency alone is insufficient. - Classify bindings as constants, user inputs, prior outputs, pure transforms or residual model decisions. Unknown/ambiguous bindings remain explicit. Do not compile underdetermined side effects. - Emit bounded .om procedures through the existing compiler/runtime with declared capabilities, preconditions, limits and invalidation dependencies. Reuse #651 admission, persistence, revocation and restart behavior. - Validate on unseen inputs and execution states. Side-effect retries must use the existing idempotency/transaction mechanism; a timeout with an uncertain effect must not replay blindly. - Compare baseline agent, current reuse baseline and compiled procedure at matched task correctness. Count analysis, generation, compilation, validation, lookups, fallback, repairs, storage and requalification. - Compute a break-even reuse count only when measured per-run savings are positive. Report no-payoff and drift cases. Do not equate fewer tool calls with lower seconds or energy. ## Acceptance and controls - Wrong producer attribution, equal-valued unrelated outputs, user-supplied values and ambiguous identifier flow are tested. - Schema/version drift, revoked capability, changed model/source/contract and restart invalidate affected candidates. - Unseen branch and incomplete trace cause safe decline/escalation, not invented actions. - Duplicate/reordered events, partial writes and uncertain effect completion cannot produce double effects. - Standard tracing remains low-sensitivity; disabled capture produces no hidden raw-data collection. - Held-out workflow success, decline/fallback rate, end-to-end cost and break-even include all failures. - Exactly one existing store/admission path receives eligible compiled procedures; trace observations alone cannot grant authority. - First-party compiler/miner/test logic is .om and a replayable example teaches the complete process. ## Dependencies and research #653 supplies independent evaluation; #651 supplies lifecycle admission/invalidation; #608/#610 supply bounded read access. An initial synthetic pure-computation trace can proceed while sensitive real-trace capture is unavailable. TraceCompiler . Its AppWorld replay has explicit self-consistency limitations; reproduce independent checks rather than copying the accuracy headline. ## 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-25 01:55 UTC 2026-10-24 SEM-0 initiative #315 maps actual repeated local traces and behavior-to-procedures exclusively to this issue #658, not a new shadow trace compiler. Treat compact atoms #721 as versioned, verified semantic references, parameterized extractor #723 as a candidate generator only, and existing #651 as the authoritative reuse store/admission/invalidation. Benchmark against no library, answer cache and whole-program reuse via independent benchmarks #43 with all storage, compiler, lookup, verification and failed-task work charged. Standard shared traces are deliberately low-sensitivity: do not silently expose raw arguments, private files, checkpoints or hidden judge data. Sign in to comment