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/blob/main/docs/superpowers/plans/2026-10-22-c-u64-import.md # 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 branch `main` Branches Tags History `omega-mv / docs / superpowers / plans / 2026-10-22-c-u64-import.md` 35 lines ยท 4048 bytes Raw Blame History Rendered 1 # C uint64 expression import: bounded #622 slice 2 3 NOT A MASTER PLAN. Implements one finite, independently testable C frontend; it does not close #622 or widen the #621 contract. 4 5 - Source profile: exact `#include \n` prelude, one `uint64_t` function, `(void)` or 1..6 distinct named uint64_t parameters, one return expression. Expressions contain parameters, decimal ULL constants, parentheses, +, -, *. Standard C precedence/left association. Whitespace/comments retained byte-for-byte. Maximum source4096, upper64 SSA results, expression nesting16. No division, narrow/signed types, effects, pointers, casts, macros, calls, branches, loops or secondary declarations. 6 - Production implementation: personally handwritten seeded Omega. Reuse committed SHA core and hash-qualified seed compiler from existing immutable lineage. No C/Rust/Python production parser/runtime. Python/GCC are independent development oracles only. 7 - Output: the frozen additive source-aware v1 envelope defined by #621 at4d414574, C17/profile1, raw-byte sidecar, exact spans/source/semantic hashes. No old OSC serialization, checker changes, semantic-proof receipt or lower execution support is invented. 8 - Signature includes all declared input slots; append a semantically neutral u64 add-zero when needed to represent the return value as the final SSA result. Every unsigned arithmetic operation is defined modulo2^64. Exact source replay uses stored source bytes, not reformatting. 9 - RED: compile a valid native feature-refusal stub and run34positive/40negative source cases. Positive failures must be missing import behavior, not compiler/setup errors. 10 - GREEN: implement parser/builder, independently decode/interpret upper output and compare original C with actual GCC execution. Check source bytes, hashes, spans, profile/obligations and refusals with empty stdout. Then successfully compile five arithmetic/parameter/literal mutants and observe semantic mismatches. Do not call a failed mutant compilation a caught semantic mutant. 11 - Final: freeze source, replay committed inputs with qualified compiler, validate emitted units with #621 only after its immutable READY gate, request independent review, publish exact source/evidence and limitations. #622 exporter, narrow widths, control flow,10k-program qualification, OSC/native/proof integration remain separate required work, not silently dropped acceptance criteria. 12 13 14 15 Ownership: L589 parent implementation only; isolated universal/622-c-u64-import worktree. L574 owns #621 codec and is not duplicated or edited. Renda owns publication; local READY acknowledgement is not a PR. User approved implementation without repeated step approvals. 16 17 ## Execution rulings 18 19 - Reuse #621 final immutable source `cd2c41f3` after its committed-source cold replay 20 returned PASS; retain its independent-review/Spark publication gates. This 21 replaces only the frozen-plan parent, not lower formats or compiler source. 22 - Reuse #621's pinned source-only builder/bootstrap and public codec instead of 23 growing a second bootstrap path. Host Python dispatch is explicitly disclosed. 24 - Refuse non-decimal ULL spellings, backslashes/trigraphs before comment stripping, 25 and unsafe identifier namespaces. Native GCC reproduced octal/splice semantic 26 differences before the correction. Reserve `calc`/`omega_` external names and 27 lowercase non-int/uint-prefix parameter names for this first profile. Broader 28 naming/preprocessing remains unsupported, not silently approximated. 29 - Correct only the independent oracle's unused-parameter warning precondition: 30 unused named parameters are valid C17 and intentionally tested. No original 31 program, assertion or refusal fixture was removed. Preserve original failure. 32 - Final affected gate includes35programs/48refusals/817nativeC comparisons, separate 33 #621 decode/replay/legality requests,15boundary checks and five genuinely 34 compiled behavioral mutants. These counts do not replace the issue's broader 35 corpus/width/export/native execution acceptance requirements.