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/a52a953f8d711ba7 # 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] Incremental compiler feedback for .om generation with no false-prefix rejection Open · #655 · open 2026-10-23 19:13 UTC Imported from GitHub aien-dev/omega-mv#655, by drakestapleton drakestapleton wrote on 2026-10-23 19:13 UTC ## Evidence and objective Parent: #652. Reuse the seeded compiler/parser owner and source-aware #621 contracts. The inspected C importer exposes syntax/type/limit/construct refusals; it is not a partial .om parser. Do not mistake it for an implementation of this feature. Test whether feedback during generation yields more correct .om programs per total time than final-program feedback. ## Staged implementation - Define stable diagnostics: profile and compiler version, category, source byte span, certainty/finality, repairable/incomplete status and optional machine-readable constraints. Preserve the ordinary final compiler's checks. - Implement milestone A at complete statement/function boundaries through the existing parser/type checker. The caller pauses/checks/revises within a fixed retry budget. This is useful independently of arbitrary-prefix support. - Implement milestone B only for a precisely enumerated prefix grammar. A sealing transformation temporarily completes unfinished syntax so the existing compiler can inspect it. Temporary completions never enter the executable output, persistent corpus or proof receipts. - Identify future-dependent errors such as unresolved declarations and incomplete argument lists. Return INCOMPLETE or UNKNOWN where a valid continuation may repair the prefix. Never silently weaken final validation. - Keep a map from sealed-source locations to original bytes; invalidate outstanding diagnostics if the candidate prefix changes. Bound scratch storage, parse depth, compiler invocations and retained context. - Provide a versioned .om adapter usable with local generation and an existing model interface. Do not require a particular external provider, tokenizer surgery or a second compiler. ## Experimental comparison Use the #652 benchmark and identical task/model/budget pins. Compare no feedback, final-program feedback, statement-boundary feedback and supported prefix feedback. Report correctness, compiler-error rate, rejected-valid-prefix rate, retries, diagnostic latency, discarded tokens and complete wall time. Charge concurrent checks and restarts; fewer errors alone is not a speedup. ## Acceptance and adversarial controls - Every prefix of the declared valid-program corpus remains accepted/incomplete, with any excluded boundary documented. - Deferred declarations, unfinished strings/comments, nested constructs, branch joins, recursion limits, malformed UTF-8 and bounds are handled according to the declared profile. - Deliberately faulty diagnostics, stale prefix IDs and incorrect span mappings cannot corrupt the accepted source. - Final full compilation/behavioral verification catches errors intentionally deferred during prefix checks. - Compiled mutations of the sealing logic demonstrate detection of genuine defects without false rejection of the valid continuation corpus. - Claims distinguish formal guarantees for a restricted grammar from sampled tests on real programs. - A cold replay measures the first useful milestone and reports negative or inconclusive results without forcing adoption. ## Dependencies Consumes benchmark fixtures and #621/#625 semantics. Shares one diagnostic schema with the curriculum. #623 retains all final proof/translation authority; this tool supplies early feedback only. Research: Generative Compilation , Semantic Prefix Oracles . The former's mechanized guarantees cover a restricted Rust-like calculus, not arbitrary systems languages. ## 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. ## AI-authored language amendment (2026-10-25) Extend current omc fail(line,numeric-code) into the shared versioned machine diagnostic contract: stable code, exact byte span, expected/found, obligation identity, compiler/profile identity, severity and incomplete/unknown distinction. Human-readable rendering remains. Suggested repairs are untrusted proposals requiring recheck. Add canonical malformed-input golden tests and bounded output/capacity diagnostics; preserve stdout artifact separation. Coordinate #745 formatting and #746 obligations. Measure compile/check/fix loop cost, not only generation fluency. No comments. Sign in to comment