interplane.Get Omega
Read in your language

interplane-forge

INTERPLANE Forge

Brought by drakestapleton

branch main Branches Tags History

interplane-forge / docs / salvage / EVIDENCE.md

85 lines · 6548 bytes Raw Blame History Rendered
1# Salvage candidate evidence
2
3All runtime qualification below used an isolated checkout and disposable loopback instance. The production service, production data and DNS were not changed.
4
5## Native checks
6
7Command on Spark: `FORGED_CPUS=6 ./run.sh check-salvage`.
8
9Observed:
10```text
11SALVAGE_STORE PASS
12SALVAGE_LIMITS PASS: 64 per author, durable recount, independent author, second writer refused
13SALVAGE_SANDBOX PASS 7 (includes held-writer handoff control)
14SALVAGE_JOURNEY PASS
15OBSERVATORY_ROUTE PASS 37
16```
17
18The journey calls the actual write gate and collector with synthetic session fixtures. It checks missing login, CSRF, malformed percent escapes, escaping, cross-author draft access, refusal before verification, asynchronous collection, publication, cross-author withdrawal refusal, parent withdrawal, duplicate withdrawal preservation, exact-byte newline normalization, durable records, all eight visibility inputs, DID-counter charging and throttling.
19
20The collector lock test pauses its own child, clears only the test's in-memory job marker to simulate a replacement server, and proves a second collector is refused while the first retains the lock. It then resumes and reaps that child.
21
22The held-writer test deliberately retains a writable descriptor to the compiler output. Direct execution is refused with ETXTBSY. Copying to the separate sealed inode succeeds while the original writable descriptor remains open. This tests the causal property of the fix without a timing-dependent sleep.
23
24## Independent review and the intermittent failure
25
26A separate reviewer identified five release blockers: collector restart coordination, duplicate submission reversing withdrawal, missing DID-limit charging and allocation caps, malformed form decoding, and missing parent-directory fsync for a new store. These were fixed and covered by the native checks.
27
28A second independent investigation reproduced an intermittent run refusal even after diagnostic instrumentation: current code reported stage 3 / errno 26 (ETXTBSY); the old generic-error variant reported stage 3 / exit 127. The natural outstanding writer was not identified. The investigator also reproduced ETXTBSY with a controlled held writer. This finding caused the sealed-inode handoff change; diagnostic logging alone was not accepted as a fix.
29
30The first exact-head review also required moving the compiler location out of source and into private `OMEGA_COMPILER` configuration. The replacement retains hash enforcement. Native replay passed with the pinned compiler and refused both missing configuration and a wrong compiler.
31
32Exact-head release review and publication identity are recorded with the Radicle patch. This document is supporting evidence, not a substitute for that review.
33
34## Real HTTP and browser interaction
35
36The final HTTP qualification passed 26 checks with two newly generated Ed25519 identities and real signed login challenges. No real user's key or session was used. It exercised public submission, draft privacy, CSRF, foreign Origin refusal, verification refusal before evidence, asynchronous sandbox collection, explicit publication, deterministic tar download, independent Python SHA-256, exact source/output bytes, receipt identity and cross-author withdrawal refusal.
37
38Final HTTP test part revision:
39`bab4787b8b74ea4c9466c5e8fc5667c2817ee92f425fa1c0c347a5d5987386a2`.
40
41Browser qualification used a fresh headless Chrome context: home, yard, source form and part page at 1440×1000 and 390×844, followed by a real form submission. All nine views/actions passed; no horizontal overflow remained. The test uncovered and fixed a long signed-in DID overflowing the mobile header. The development instance's allowed Origin was changed only in disposable composed source to match its loopback URL.
42
43These are isolated interaction checks, not proof of production deployment, high-load capacity or compatibility with every browser.
44
45## Independent reproduction and hash oracle
46
47The committed synthetic `example.tar` contains the earlier exact revision:
48`fb27d426824d9b34e9c9c1b673bddcd00a22b4ea52f47db1efcbccd31995f256`.
49
50The native replay tool rebuilt its program from the pinned compiler in a fresh private directory, ran the sandboxed example, rejected the altered expected output, and matched the receipt's binary and output hashes. Mutating either the record bytes or receipt's binary digest caused refusal.
51
52Wolfram Language independently computed the SHA-256 of the exact record bytes supplied as a ByteArray and returned:
53```text
54fb27d426824d9b34e9c9c1b673bddcd00a22b4ea52f47db1efcbccd31995f256
55```
56
57To repeat with your own Wolfram installation after extracting the fixed filenames:
58```wolfram
59FileHash["record.ip", "SHA256", "HexString"]
60Hash[ByteArray[{97, 98, 99}], "SHA256", "HexString"]
61```
62
63The second computation returned the native store test vector:
64`ba7816bf8f01cfea414140de5dae2223b00361a396177a9cb410ff61f20015ad`.
65
66These computations check exact bytes. A hash match is not a proof of source safety, authorship or cryptographic collision resistance.
67
68## Lean and exhaustive Boolean check
69
70`lean docs/salvage/Visibility.lean` ran with Lean 4.35.0 (AArch64, commit `eb6cafb7290e8bd5f2937522d8d804f58f02bafc`). Each of its four theorems reported no axiom dependencies.
71
72Wolfram also evaluated:
73```wolfram
74TautologyQ[Implies[p && r && a, r], {p, r, a}]
75TautologyQ[Implies[!a, !(p && r && a)], {p, r, a}]
76Length[Tuples[{False, True}, 3]]
77```
78
79Results: True, True, 8. Here p is published state, r is a passing authenticated receipt, and a is a public source parent. The native journey tests the same eight combinations. Neither the Lean proof nor this truth table proves the surrounding authentication, parser, filesystem, compiler or kernel.
80
81## Reuse and remaining release limits
82
83The existing forge authentication, CSRF/Origin gate, native response escaping, Omega SHA-256 and execpure sandbox were reused. The aien-train weight-patching implementation was inspected rather than duplicated. Another owner's forge runner was left untouched.
84
85This release supports bounded text intake and human-assisted native repair with one reproducible example. It does not automatically repair arbitrary repositories, manage models or machines, prove universal correctness, or substantiate a fastest-on-the-market claim. Source/credits/license assertions remain the submitting builder's claims. Public moderation can withdraw records, but downloaded copies remain outside the hub's custody. Capacity and host requirements are in `../SALVAGE.md`.