interplane.Get Omega
Read in your language

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

branch main Branches Tags History

omega-mv / docs / osc / VC-GENESIS-1.md

109 lines · 7103 bytes Raw Blame History Rendered
1# VC-GENESIS-1: the Genesis Set
2
3Authority: ADR 0029 Decision 8 (BOOTSTRAP admission) and Decision 11 (no direct library insert).
4Code: `src/omega_genesis.h` (the pinned table, nothing else), enforced in `src/omega_vcstore.c` and
5`src/omega_resolve.c`. Tests: `make test-genesis-real test-genesis test-vcstore test-resolve test-vc-bridge`.
6
7Members: 0
8
9## What the Genesis Set is
10
11The Verified Crumb Store holds two kinds of record. A VERIFIED record is let in only together with a
12receipt that the resolver checked (SPEC 5.1). A BOOTSTRAP record is let in with no receipt, because
13something has to start the chain of trust, and it is trusted only because a person audited it by hand.
14The Genesis Set is the complete list of semantic ids (Omega program ids) that are allowed to be
15BOOTSTRAP records. It is the one start of trust that does not come from a receipt, so it is part of the
16trusted computing base and is kept as small as the audit allows.
17
18How it is enforced, and the only ways:
19
20- `omega_vcstore_insert_bootstrap` refuses a record whose semantic id is not listed
21 (`GENESIS_NOT_LISTED`).
22- `omega_vcstore_load` refuses a store file that holds a BOOTSTRAP record whose id is not listed
23 (`GENESIS_NOT_LISTED`), so a hand edited file cannot add a member.
24- `omega_resolve_admit_genesis` (the only door a BOOTSTRAP record can use to enter a store) refuses an
25 unlisted id before the store is touched.
26- The resolver, when it walks an import, refuses any BOOTSTRAP record that is not listed, whatever put it
27 in the store.
28- The resolver has no genesis permission field. Membership of this list is the only input. There is no
29 flag, no environment variable, no file and no store content that adds a member. The list is a
30 compile time constant in `src/omega_genesis.h`.
31- No wildcard and no prefix match: an id is a member only if all 32 bytes equal a row. The all-zero id is
32 never a member.
33
34Changing the set (adding or removing a member, or renaming it) is an ADR level change. Two tests pin it:
35`tests/test_omega_genesis.c` fails until the table and this file name exactly the same members, and until
36the count matches the number in the "Members:" line above.
37
38## Members
39
40None. VC-GENESIS-1 is empty.
41
42| id (64 hex) | what it is | why it is trusted without a receipt | audit |
43|---|---|---|---|
44| (no rows) | | | |
45
46## Audit
47
48Question: which programs must exist in the store without a receipt so that Crumbline and discovery can
49start? The audit looked at every place that creates or admits a program and at every place that asks for
50a BOOTSTRAP record.
51
52Method: read the code, do not assume. Searches run over `src/`, `tools/` and `tests/` for
53`omega_library_insert_bootstrap`, `omega_vcstore_insert_bootstrap`, `omega_resolve_admit_genesis`,
54`OMEGA_LIB_ADMISSION_BOOTSTRAP`, `OMEGA_VCS_ADMISSION_BOOTSTRAP` and `bootstrap` generally.
55
56Findings:
57
581. `src/crumbline/cl_program.c` (the Crumbline learner) admits programs it has just synthesized and
59 checked with `omega_program_verify`. Before stage 6 it called `omega_library_insert` with a bare hash.
60 It never calls a bootstrap function. It starts with an EMPTY library and builds up. Stage 6 migrates it
61 through `src/omega_vc_bridge.c`, which now runs `omega_program_verify` and recomputes the program id
62 itself, and then writes a SELF-MINTED receipt (see the next paragraph). It needs no BOOTSTRAP record.
632. `src/omega_discovery.c` mines abstractions from a corpus of programs the caller already holds. It
64 admitted a discovered abstraction with a bare hash. A discovered abstraction is a program with a
65 verification result, so it too goes through the bridge. It needs no BOOTSTRAP record.
663. Nothing in `src/`, `tools/` or the test drivers calls `omega_library_insert_bootstrap`,
67 `omega_vcstore_insert_bootstrap` (outside the store and the resolver) or `omega_resolve_admit_genesis`.
68 The only users of the BOOTSTRAP kind before stage 6 were unit tests that exercised the kind itself.
694. The OSC import path (`oscv`) resolves imports from a store that someone else filled. It never creates
70 a record. Its test store holds VERIFIED records with receipts.
715. The primitive operations and the type constructors that every program is built from are part of the C
72 program (`omega_program.c`), not records in the store. A record exists only for a program that has a
73 body, a contract and evidence. There is no record that the language needs in order to compile its
74 first program.
75
76WHY THE SET IS EMPTY, stated plainly: it is empty because the bridge supplies Crumbline and discovery
77programs with a receipt that the bridge writes itself (kind host-v1, tier HOST_TEST). That receipt is
78SELF-MINTED: the code asking for admission writes it, and no independent run (aien-test) backs it.
79Without the bridge those programs would have needed either a real receipt, which does not exist yet, or
80BOOTSTRAP status, which would have made them audited Genesis members. So the empty set is honest only
81together with these two facts, both enforced by tests (`make test-vc-bridge`): the bridge verifies the
82program and recomputes its id before it mints anything, and every record the bridge mints lists the
83capability `omega-bridge.selfminted`, which the build domain refuses. A bridge record can sit in a
84store and satisfy a dev import, but it can never satisfy `oscv --domain build`. Real aien-test receipts
85for these programs are owed (ADR 0029 Decisions 5 and 11); until they exist, the store admission of
86Crumbline and discovery programs is a dev-grade fact, not a build-grade one.
87
88Decision: the minimum that bootstraps Crumbline and discovery is nothing. The set is EMPTY. No BOOTSTRAP
89record is trusted without being listed, and a BOOTSTRAP record in any store is refused by every door.
90
91What an empty set costs: the BOOTSTRAP admission path exists and is tested (with a one member variant
92build, `make test-genesis`) but nothing uses it. The day a real member is needed it is added by an ADR
93level change that edits `src/omega_genesis.h` and adds a row and an audit entry to this file; the test
94refuses any other order of events.
95
96Audit record: this section, dated 2026-10-02, stage 6 of VC1. The audit hash a future member would carry
97in its `receipt_id` field is the SHA-256 of that member's audit entry text in this file.
98
99## What is NOT claimed
100
101- The empty set does not mean the learner's programs are independently qualified. The bridge is a named
102 trust root: it mints self-attested HOST_TEST receipts that the build domain refuses. Removing the
103 bridge from the store path, or replacing its receipts with real aien-test receipts, is the carry item
104 that would make the claim stronger.
105- The empty set does not make the library's own `omega_library_insert_bootstrap` safe: that function
106 works on the in-memory library, not on the Verified Crumb Store, and no caller uses it. It is listed as
107 an open item in OSC-VC1-IMPORT.md.
108- Nothing here checks a signature. A BOOTSTRAP record would be trusted on the strength of a human audit
109 of the program and the commit that added its id to the table.