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
omega-mv / tests / visor / qualification / usability.expected
| 1 | Ω> // Lane 8 usability trace: a new user, starting only from `help`. |
| 2 | Ω> help |
| 3 | Omega Visor commands (classes: inspection, pure-execution, simulation, effect-request): |
| 4 | help [command] inspection list commands, or show one |
| 5 | quit inspection leave the console |
| 6 | inspect <x> inspection show the object a name or id refers to |
| 7 | type <x> inspection show the type of an object |
| 8 | id <x> inspection show the semantic id of a name, _ or hex id |
| 9 | graph <x> inspection show the semantic graph reachable from x |
| 10 | verify <x> pure-execution run the verification pipeline on x |
| 11 | machine inspection show the current machine model |
| 12 | realize <x> [for current.machine] pure-execution build machine code for x (does not run it) |
| 13 | cost <x> simulation estimate the cost of x |
| 14 | run <x> [args...] pure-execution run x if pure; effects become an effect request |
| 15 | evidence [name] inspection show recorded evidence receipts |
| 16 | bindings inspection list session names in the order they were made |
| 17 | clear inspection forget all session names and objects |
| 18 | world [cap] inspection show the runtime world state (read only) |
| 19 | effects [x] effect-request show effect objects as requests (never executed) |
| 20 | alternatives <x> simulation list other ways to realize x |
| 21 | compare <a> <b> simulation compare two objects or realizations |
| 22 | why <x> inspection explain where x came from |
| 23 | let x: u64 = <expr> | fn .. | <expr> pure-execution Omega source line, evaluated by the language |
| 24 | Names: a session name, _ (last result), or a semantic id (64 hex, optional sha256: prefix). |
| 25 | Ω> help inspect |
| 26 | inspect <x> inspection show the object a name or id refers to |
| 27 | Ω> let x: u64 = 7 |
| 28 | 7 |
| 29 | Ω> let y: u64 = 11 |
| 30 | 11 |
| 31 | Ω> x + y |
| 32 | 18 |
| 33 | Ω> inspect _ |
| 34 | id: sha256:c794437c57e3aec88e7385c024e427fd9be18aa4cf91fd46778b9e5fd4a31fc7 |
| 35 | kind: OPERATION |
| 36 | status: ok |
| 37 | shape: APPLY |
| 38 | type: u64 |
| 39 | type_id: sha256:037a444b0f120fd4bbabd0c16ae143599b231d2469827fccbf9bc79c57bab822 |
| 40 | op: sha256:6ff7d47206c867ccadb5c2ea8839b59d49ca9e62c6f95070ad7cd3d8f09c73b1 |
| 41 | opcode: ADD |
| 42 | overflow: WRAP |
| 43 | operands: 2 |
| 44 | [0] sha256:fef7efa7112d1d8da5f8573bad1e4f882497407474c8798143330089c93c90db |
| 45 | [1] sha256:745f463215c5d2c0a03509b2ce1f7c3f2f393c6cd00d3add00fe79c4720669c2 |
| 46 | attributes: 0 |
| 47 | relations: 0 |
| 48 | constraints: 0 |
| 49 | canonical_len: 177 |
| 50 | canonical_sha256: c794437c57e3aec88e7385c024e427fd9be18aa4cf91fd46778b9e5fd4a31fc7 |
| 51 | canonical_id_matches: yes |
| 52 | dependencies: 3 (dangling 0) |
| 53 | [0] op sha256:6ff7d47206c867ccadb5c2ea8839b59d49ca9e62c6f95070ad7cd3d8f09c73b1 |
| 54 | [1] operand0 sha256:fef7efa7112d1d8da5f8573bad1e4f882497407474c8798143330089c93c90db |
| 55 | [2] operand1 sha256:745f463215c5d2c0a03509b2ce1f7c3f2f393c6cd00d3add00fe79c4720669c2 |
| 56 | Ω> type _ |
| 57 | u64 |
| 58 | Ω> why _ |
| 59 | error: why: no realization for _ in this session; use `realize _` first |
| 60 | Ω> verify _ |
| 61 | [pure-execution] |
| 62 | STRUCTURAL PASS V0 graph typing + DAG integrity (5 object(s)) |
| 63 | TYPE PASS OPERATION(apply) object validates |
| 64 | INVARIANTS PASS V2 reference-evaluator algebra (commutativity, identity, wrap, range); not object-specific |
| 65 | REALIZATION NOT_RUN no realization built |
| 66 | AUTHORITY PASS NONE: no effect or capability ref reachable (5 object(s) walked) |
| 67 | MACHINE NOT_RUN no realization built |
| 68 | VERDICT PASS |
| 69 | Ω> machine |
| 70 | <machine block masked> |
| 71 | Ω> help realize |
| 72 | realize <x> [for current.machine] pure-execution build machine code for x (does not run it) |
| 73 | Ω> realize _ |
| 74 | [pure-execution] |
| 75 | realization |
| 76 | id sha256:ffe7656dc91cf25a4aacfc005ffb643fa79f3fd8ce55d11420fd4982e9d0ff76 |
| 77 | subject sha256:c794437c57e3aec88e7385c024e427fd9be18aa4cf91fd46778b9e5fd4a31fc7 |
| 78 | realized sha256:6ff7d47206c867ccadb5c2ea8839b59d49ca9e62c6f95070ad7cd3d8f09c73b1 |
| 79 | machine sha256:<HOST_MACHINE_ID> (<HOST_MACHINE>) |
| 80 | bound none |
| 81 | target aarch64-v8a profile=0x01 |
| 82 | code 8 bytes, 2 instructions |
| 83 | 8b010000 add x0, x0, x1 |
| 84 | d65f03c0 ret |
| 85 | compatible yes |
| 86 | runnable yes |
| 87 | why profile 0x01 vs machine 0x01 match; realizer bound no machine; run allowed |
| 88 | cost (four separate classes; never merged) |
| 89 | predicted cycles=2 insns=2 bytes=8 [static: code_len/4 = 2 instructions x 1 cycle; no machine model] |
| 90 | estimated cycles=<N> insns=2 bytes=8 [omega_machine_estimate_latency(<HOST_MACHINE>) (assumed profile, not measured)] |
| 91 | measured ABSENT [absent: Visor V1 ingests no execution receipts] |
| 92 | qualified ABSENT [absent: no qualified gate result for this realization in V1] |
| 93 | Ω> cost _ |
| 94 | [simulation] |
| 95 | cost (four separate classes; never merged) |
| 96 | predicted cycles=2 insns=2 bytes=8 [static: code_len/4 = 2 instructions x 1 cycle; no machine model] |
| 97 | estimated cycles=<N> insns=2 bytes=8 [omega_machine_estimate_latency(<HOST_MACHINE>) (assumed profile, not measured)] |
| 98 | measured ABSENT [absent: Visor V1 ingests no execution receipts] |
| 99 | qualified ABSENT [absent: no qualified gate result for this realization in V1] |
| 100 | Ω> run _ |
| 101 | [pure-execution] |
| 102 | 18 |
| 103 | Ω> why _ |
| 104 | why realization |
| 105 | compatibility: compatible |
| 106 | profile: realization 0x01, machine <HOST_MACHINE>; V1 realizers and both canonical profiles use 0x01, so a match is expected, not a hardware check |
| 107 | machine binding: realizer bound none; model sha256:<HOST_MACHINE_ID> |
| 108 | target: aarch64-v8a; run allowed (pure AArch64, native) |
| 109 | constraints: profile 0x01 vs machine 0x01 match; realizer bound no machine; run allowed |
| 110 | cost sources: |
| 111 | predicted present: static: code_len/4 = 2 instructions x 1 cycle; no machine model |
| 112 | estimated present: omega_machine_estimate_latency(<HOST_MACHINE>) (assumed profile, not measured) |
| 113 | measured ABSENT: absent: Visor V1 ingests no execution receipts |
| 114 | qualified ABSENT: absent: no qualified gate result for this realization in V1 |
| 115 | Ω> evidence |
| 116 | evidence: 6 shown, 6 matched, 8 scanned, 2 unparsed |
| 117 | receipt sha256:73d26b54634d017831a828cb5d83eb25948288be7b49270659cab38e274dd7d9 (name = content hash) |
| 118 | path tests/visor/fixtures/evidence/CA/73d26b54634d017831a828cb5d83eb25948288be7b49270659cab38e274dd7d9.json |
| 119 | claim FIXTURE_CONTENT_ADDRESSED_V1: FIXTURE_CA_PASS=PASS |
| 120 | scope HOST (from scope) |
| 121 | gates 1/1 passed |
| 122 | commit 8888888888888888888888888888888888888888 |
| 123 | physics (none) |
| 124 | run 20260928T000003Z-fixtureca |
| 125 | machine (none) |
| 126 | realization (none) |
| 127 | tree clean |
| 128 | receipt sha256:9cb9c065707e63dc506bf45e37703ef2312499a410d850e1385be320e9ff6aea |
| 129 | path tests/visor/fixtures/evidence/HOST/host_run_receipt.json |
| 130 | claim FIXTURE_HOST_RUN_V1: FIXTURE_HOST_PASS=PASS |
| 131 | scope HOST (from hardware_scope) |
| 132 | gates 2/3 passed |
| 133 | commit 1111111111111111111111111111111111111111 |
| 134 | physics (none) |
| 135 | run 20260928T000000Z-fixturehost |
| 136 | machine os=Linux arch=aarch64 kernel=7.0.0-fixture |
| 137 | realization (none) |
| 138 | tree clean |
| 139 | receipt sha256:6175fcb5f521860611e780fa232bf75188915d36f33c0230be51dde3167dcd67 |
| 140 | path tests/visor/fixtures/evidence/SILICON/silicon_run_receipt.json |
| 141 | claim FIXTURE_SILICON_RUN_V1: FIXTURE_SILICON=PASS |
| 142 | scope SILICON (from silicon_observed=true) |
| 143 | gates 1/1 passed |
| 144 | commit 4444444444444444444444444444444444444444 |
| 145 | physics 5555555555555555555555555555555555555555 |
| 146 | run 20260928T000001Z-fixturesilicon |
| 147 | machine node=spark-fixture arch=aarch64 kernel=7.0.0-fixture |
| 148 | realization sha256:cccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccc |
| 149 | tree DIRTY |
| 150 | receipt sha256:13e75aa959b06e2d36b0ded9ab5e8c0e7c5ba05a31ef7c0d31dd07c65b2e308a |
| 151 | path tests/visor/fixtures/evidence/SILICON/standin_no_upgrade_receipt.json |
| 152 | claim FIXTURE_STANDIN_V1: FIXTURE_STANDIN_PASS=PASS |
| 153 | scope HOST (from silicon_observed=false) |
| 154 | gates 1/1 passed |
| 155 | commit 6666666666666666666666666666666666666666 |
| 156 | physics (none) |
| 157 | run 20260928T000002Z-fixturestandin |
| 158 | machine (none) |
| 159 | realization (none) |
| 160 | tree clean |
| 161 | receipt sha256:59645471d31f95d9cf66847c6f098be16e7e0848d4751ff239f811aaa10fb374 |
| 162 | path tests/visor/fixtures/evidence/qemu_milestone_receipt.json |
| 163 | claim FIXTURE MILESTONE - QEMU: QUALIFIED / PASS |
| 164 | scope QEMU (from qemu_target) |
| 165 | gates 3/3 passed |
| 166 | commit 3333333333333333333333333333333333333333 |
| 167 | physics (none) |
| 168 | run (none) |
| 169 | machine os=Linux arch=aarch64 |
| 170 | realization sha256:bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb |
| 171 | tree unknown |
| 172 | receipt sha256:ef700eb6791ef7db0cba8d2ce801e4959f2657acf5d1df6152719d6b6bfebbb9 |
| 173 | path tests/visor/fixtures/evidence/unknown_scope_receipt.json |
| 174 | claim FIXTURE_UNKNOWN_SCOPE_V1 |
| 175 | scope UNKNOWN |
| 176 | gates 0/0 passed |
| 177 | commit 7777777777777777777777777777777777777777 |
| 178 | physics (none) |
| 179 | run (none) |
| 180 | machine os=Linux arch=aarch64 |
| 181 | realization (none) |
| 182 | tree unknown |
| 183 | UNPARSED tests/visor/fixtures/evidence/digests.txt |
| 184 | UNPARSED tests/visor/fixtures/evidence/malformed_receipt.json |
| 185 | Ω> help evidence |
| 186 | evidence [name] inspection show recorded evidence receipts |
| 187 | Ω> effects |
| 188 | [effect-request] |
| 189 | no effect objects in session |
| 190 | Ω> world |
| 191 | world: unattached |
| 192 | state: unattached |
| 193 | generation: (not observable) |
| 194 | resident objects: 0 (shown 0) |
| 195 | reactions: 0 |
| 196 | active work: 0 |
| 197 | published results: 0 (not observable) |
| 198 | staged effects: (not visible) |
| 199 | publication tail: 0 |
| 200 | digest: - |
| 201 | gap: no resident World attached in this session: the V1 omega binary does not link the runtime (src/runtime); nothing here is observed |
| 202 | note: view only; this view holds no authority over the World |
| 203 | Ω> bindings |
| 204 | x object sha256:fef7efa7112d1d8da5f8573bad1e4f882497407474c8798143330089c93c90db |
| 205 | y object sha256:745f463215c5d2c0a03509b2ce1f7c3f2f393c6cd00d3add00fe79c4720669c2 |
| 206 | _ realization sha256:ffe7656dc91cf25a4aacfc005ffb643fa79f3fd8ce55d11420fd4982e9d0ff76 |