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/spec/searchtrace/G3_SEALED_HOLDOUT_COMMITMENT_V1.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 / spec / searchtrace / G3_SEALED_HOLDOUT_COMMITMENT_V1.md` 168 lines ยท 7566 bytes Raw Blame History Source # G3 Sealed-Holdout Commitment Format V1 Status: format only. No training, no real held-out data. Implementation: `src/searchtrace/st_holdout.{h,c}`; tests: `tests/searchtrace/test_st_holdout.c`. ## Purpose A held-out task set is committed to publicly before any learner runs. The task-set bytes and a secret 32-byte salt stay sealed. A later reveal proves the revealed set is byte-for-byte the committed one. The salt prevents brute-force confirmation of guessed task sets from the public record. ## Inputs - `taskset`: opaque bytes (canonical task-set file). Only rule applied: `task_count` = number of lines (LF-separated; final line may lack LF) whose first five bytes are `task` (ASCII, lowercase, one space). A task set with zero such lines is refused. - `salt`: exactly 32 bytes, generated from a CSPRNG, kept sealed until reveal. - `holdout_id`: label matching `[A-Za-z0-9._-]{1,64}`. ## Commitment ``` commitment = SHA-256( "omega.g3.holdout.commit.v1" 0x00 || salt[32] || u64be(taskset_len) || u32be(task_count) || taskset ) salt_digest = SHA-256( "omega.g3.holdout.salt.v1" 0x00 || salt[32] ) ``` Choices: domain strings are NUL-terminated so no prefix ambiguity; length and count are fixed-width big-endian so the preimage is unambiguous; the salt digest is domain-separated from the commitment so it cannot be confused with it. Publishing `salt_digest` lets the reveal check the salt first and give a specific refusal; it leaks nothing useful because the salt is 256 random bits. ## Record (canonical ASCII, LF only, fixed order, no trailing spaces) ``` OMEGA-G3-HOLDOUT-COMMIT v1 domain omega.g3.holdout.commit.v1 holdout_id