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/seed/qualification/security673/resources/README.txt # 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 / seed / qualification / security673 / resources / README.txt` 161 lines ยท 11007 bytes Raw Blame History 1 SC1-R / SC1-E pure bounded qualification 2 3 Scope 4 New Apache-2.0 implementation under the repository license. The old AGPL 5 contracts were read for their trusted-caller/unknown/replay semantics, not copied. 6 Two fixed owners, eight stocks, serial pure transitions. No daemon, store, lock, 7 scheduler, syscall-effect substitute, compiler extension or authentication. 8 9 Stock indices 10 0 processes/descendants; 1 descriptors; 2 resident memory; 3 queued bytes; 11 4 persistent bytes; 5 temporary snapshot bytes; 6 retained history/logs; 12 7 cleanup reserve. These are separately budgeted stocks. A physical parent must 13 be charged exactly once by the accounting policy, not once per alias/name. 14 Fuel is a separate monotonically spent scalar. There is no replenishment API. 15 16 Reservation API (seed/authority/reserve.om) 17 All operations return ulong: 0 success, 1 invalid input/state, 2 binding/replay, 18 3 capacity refusal, 4 unknown/retained. rv_uncertain returns4 after marking the 19 reservation uncertain. Other refusing public transitions leave the state unchanged. 20 All arrays within an operation must be nonaliasing. These are trusted implementation 21 functions, not sealed capabilities. Do not expose raw state, rv_clear, rv_reclaimed, 22 rv_room or integer flags as client-authorized operations. 23 24 State: edit/view ulong64. Layout is documented beside the source. Token: ulong8, 25 slot,id,request,owner,grant,object,version,epoch. Quantity vectors: ulong8. 26 Identity words are exact trusted adapter handles, not truncated hashes. The owner 27 must map full authenticated identities to collision-free, nonreused handles and 28 persist that mapping in its existing snapshot. This helper does not authenticate 29 handles, compare full signed requests or implement upstream AUM no-op semantics. 30 31 rv_init(state,capacities,owners2,fuelbound): genesis only, all-zero destination. 32 rv_valid(state): validate serialization including aggregate subtraction-based bounds. 33 rv_reserve(state,token,q,fuel): all-or-nothing eight-dimensional reservation. Token 34 id must equal state.next-id, and request must exceed the fixed owner's highwater. 35 The maximum id refuses before increment; no wrap or rotation. An owner has one 36 slot, retained until committed stock is actually reclaimed. Copying token/state 37 never supplies a second authoritative writer. Two independent genesis states are 38 not a shared budget. Requests are monotonic per owner; retries need owner dedup 39 before this API, not a new reserve or a forged larger request id. 40 rv_uncertain(state,token): cancellation, lost acknowledgement, death and timeout 41 retain full stock. Already-committed stock remains charged. 42 rv_commit(state,token,actual,quiet,public): validates actual<=reserved in every 43 dimension, then moves actual to used and frees slack. Requires authoritative 44 quiescence and observation release permission, even for zero actual. No fuel refund. 45 rv_reclaim(state,token,gone,durable,public): subtract only the named slot's used 46 stock, only after actual reclamation plus required durability/public release. 47 Zero remaining stock retires the slot but keeps highwater and next-id. 48 rv_recover(state,actual): complete authoritative physical census raises used to 49 max(ledger,actual), retains all unsettled reservations, refuses capacity mismatch 50 without mutation. Smaller observations never refund. Unattributed recovered stock 51 has no reclamation shortcut here. The owner must reconcile attribution before any 52 future accounting design permits its release. 53 54 There is no delegation API: copying a parent charge is not delegation. A future 55 owner's split must atomically subtract from the parent and allocate the child in 56 the same writer transaction; this bounded two-owner profile makes no such claim. 57 QuantityLane supplies nominal checked quantity operations; this module independently 58 recomputes capacity from original operands with guarded subtraction. Raw wrapped 59 sums and client-supplied derived availability are never accepted as evidence. 60 61 Envelope API (seed/authority/envelope.om) 62 Record ulong8: format,owner,reservation-id,public-release-boundary,active,capacity, 63 partition,zero. ep_open(record,owner,id,boundary,capacity,partition) initializes 64 an all-zero record once, before secrets. ep_event(record,event1..4) represents 65 completion/cancel/error/supervisor-work and never changes public availability. 66 ep_available reports capacity minus the fixed active partition. ep_release requires 67 exact public boundary identity and authoritative quiescence. Unknown returns4 and 68 retains charge. A released record retains its identity and cannot be reopened. 69 Restart validates/restores the whole record. This is one public stock projection; 70 the scheduler must reserve all eight real stocks with the same owner/id and an 71 appropriate fixed public partition. A scalar projection is not proof that actual 72 supervisor, descendant or physical usage is contained. 73 74 Integration BLOCKED: WORM / existing omnet snapshot writer 75 Current service snapshot has no resource reservation ledger, request id or explicit 76 epoch. Integrate these fields and identity mappings in that owner's existing 77 snapshot schema and transaction, never a second file ledger. Initialize only at 78 explicit genesis; missing/corrupt restored accounting is not empty capacity. 79 Inside the same serialized dsrequest/dssave interval: authenticate principal/action, 80 validate current policy epoch and object/version, resolve exact request-byte dedup, 81 reserve complete stock+fuel, create the inactive candidate and bounded response, 82 write/fsync/validate temporary snapshot, rename, fsync pinned directory, publish, 83 ack. Resource/dedup/authority fields must commit together. A lost ack must return 84 stored disposition without duplicate reservation or an unbounded snapshot rewrite. 85 Before rename, no physical refund until temporary cleanup is proved. After uncertain 86 rename/sync, fail-stop; no new admission or rollback. Recovery must reconcile actual 87 retained+temporary bytes, validate bindings and re-establish durability before 88 admission. Client flags cannot stand in for these observations. Existing registered 89 NodeID/NodeKey adapter remains owner; this module does not replace it. 90 91 Integration BLOCKED: scheduler/public observation owner 92 Reserve fixed public partition and public release identity before secret work; 93 charge descendants, cleanup and supervisor work inside it. Persist envelope owner, 94 id, boundary, partition and active bit with the corresponding reservation. Complete, 95 cancel, error and connection loss cannot refund or alter public readiness. At the 96 public boundary release only with authoritative quiescence. Unknown retains; a 97 secret-dependent public delay is NOT certified noninterference. Fixed partitions 98 and occupied committed slots lose utilization and can starve later work. There is 99 no unlimited-demand availability or actual concurrency claim. 100 101 Native replay (AArch64 Linux, no GPU, from repository root) 102 nice -n 19 sh seed/omega-from-seed.sh 103 sha256sum seed/out/omc 104 Recorded receipts used compiler: `734f0a39319fbfa930bcc62cb30dbf06d47d78e126372b74f5baf478e6126b61` 105 After merging main (qty keyword, #909/#914) the committed compiler is 106 `62775d2a391cfef7cde64e387655caa9809a267093112910ec76bfa568f3712b`. A 2026-10-30 107 replay with it of every command below gave the same results: demo, exhaust and 108 measure exit0; mutants modes1..4 exit7 and mode5 exit4 at the named assertions; 109 oracle --edges 1296 bytes, SHA-256 `19e4706d`...de03. No receipt was re-recorded. 110 For NAME in demo, exhaust, measure, run the following existing-tool 111 composition (replace NAME literally; these commands are not a shipped runner): 112 cat seed/authority/reserve.om seed/authority/envelope.om seed/qualification/security673/resources/checks.om seed/qualification/security673/resources/NAME.om | nice -n 19 seed/out/omc > /tmp/sc1-NAME 113 chmod +x /tmp/sc1-NAME 114 nice -n 19 /tmp/sc1-NAME 115 negative.om is compiled ALONE as an exact-source mutator. Modes1..4 mutate actual 116 ep_event; mode5 mutates actual rv_reserve. Link each generated module with the 117 unchanged checks.om and demo.om. Require normal exit7 with the E failure marker, 118 or exit4 with the R2 marker. Exact commands are in review-addendum.txt. 119 nice -n 19 seed/out/omc < seed/qualification/security673/resources/oracle.om > /tmp/sc1-oracle 120 chmod +x /tmp/sc1-oracle 121 nice -n 19 /tmp/sc1-oracle 122 /usr/bin/time -v nice -n 19 /tmp/sc1-measure 123 124 Evidence categories 125 Formal proof: NOT_RUN. R3: independent finite enumeration18 states78 edges, 126 whole-service effectfree crash including selfloop; not uncertain storage recovery 127 or correspondence to the different attributable-slot resource helper. 128 Native differential:448 small reservation cases plus helper binding, exact status, 129 stale/cleared/reused token, attributable reclaim, conservation, overflow, atomic 130 rollback, recovery/fuel and actual paired occupancy/admission fixtures. 131 Native controls: five separately mutated production-source modules compile and 132 reach the SAME demo/checker assertions; no duplicated negative assertions. 133 Native measurement:63 raw paired samples,100 cycles/sample; nearest-rank 134 p50/p95/p99 indices31/59/62 (p99 is the maximum, not a tail-confidence claim). 135 The unchecked baseline is deliberately unsafe. Trusted caller fuel charge is0 in 136 this benchmark, so it establishes no work-pricing policy. Full raw outputs and 137 actual source/compiler/executable/argv/cwd identities are in native-review-rev2. 138 The original native-`20261025` receipt is historical and does NOT qualify final SC1. 139 Independent ResourceReview found no remaining actionable findings after repair. 140 Actual writer/store/scheduler integration, authoritative census attribution, 141 current policy/object revalidation, durable fuel/envelope restoration and physical 142 power loss remain BLOCKED/NOT_RUN. Same-helper checks do not discharge them. 143 144 Independent complete-relation replay (SC1 revision2) 145 The oracle now accepts --edges and writes the entire36x36 byte adjacency matrix, 146 row-major state code9*u+3*r1+r2. Its1296 bytes match an external tuple-set BFS 147 byte-for-byte, not just counts. Matrix SHA-256: 148 `19e4706d53b940f5f99d9337a0277e00844a9355d96d60ea4c19af8288e8de03` 149 r3-edges.json records every state and ordered edge plus exact source/compiler/ 150 binary identities and the matrix encoding. The four no-reservation self-loops 151 and four simultaneous-two-reservation crash edges distinguish the78-edge model. 152 This does not qualify uncertain-effect recovery or actual resource accounting. 153 154 Clean checkout replay 155 clean-replay.json records an independent native replay at495a53ba6: bootstrap 156 fixed point734f0a39..., crumb verification, demo and448-case differential exit0, 157 all five rebuilt source mutants normal-fail7/7/7/7/4 at their named assertions, 158 and the complete oracle matrix exactly matches the independently reviewed bytes. 159 The matched100-cycle sample p50 was2448ns unchecked versus88401ns checked; 160 raw63-pair data and a separate1480KiB peak-RSS measurement are retained. This is 161 helper overhead, not service throughput, durable integration or a secrecy proof.