interplane-forge
INTERPLANE Forge
Brought by drakestapleton
interplane-forge / docs / salvage / EVIDENCE.md
| 1 | # Salvage candidate evidence |
| 2 | |
| 3 | All 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 | |
| 7 | Command on Spark: `FORGED_CPUS=6 ./run.sh check-salvage`. |
| 8 | |
| 9 | Observed: |
| 10 | ```text |
| 11 | SALVAGE_STORE PASS |
| 12 | SALVAGE_LIMITS PASS: 64 per author, durable recount, independent author, second writer refused |
| 13 | SALVAGE_SANDBOX PASS 7 (includes held-writer handoff control) |
| 14 | SALVAGE_JOURNEY PASS |
| 15 | OBSERVATORY_ROUTE PASS 37 |
| 16 | ``` |
| 17 | |
| 18 | The 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 | |
| 20 | The 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 | |
| 22 | The 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 | |
| 26 | A 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 | |
| 28 | A 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 | |
| 30 | The 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 | |
| 32 | Exact-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 | |
| 36 | The 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 | |
| 38 | Final HTTP test part revision: |
| 39 | `bab4787b8b74ea4c9466c5e8fc5667c2817ee92f425fa1c0c347a5d5987386a2`. |
| 40 | |
| 41 | Browser 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 | |
| 43 | These 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 | |
| 47 | The committed synthetic `example.tar` contains the earlier exact revision: |
| 48 | `fb27d426824d9b34e9c9c1b673bddcd00a22b4ea52f47db1efcbccd31995f256`. |
| 49 | |
| 50 | The 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 | |
| 52 | Wolfram Language independently computed the SHA-256 of the exact record bytes supplied as a ByteArray and returned: |
| 53 | ```text |
| 54 | fb27d426824d9b34e9c9c1b673bddcd00a22b4ea52f47db1efcbccd31995f256 |
| 55 | ``` |
| 56 | |
| 57 | To repeat with your own Wolfram installation after extracting the fixed filenames: |
| 58 | ```wolfram |
| 59 | FileHash["record.ip", "SHA256", "HexString"] |
| 60 | Hash[ByteArray[{97, 98, 99}], "SHA256", "HexString"] |
| 61 | ``` |
| 62 | |
| 63 | The second computation returned the native store test vector: |
| 64 | `ba7816bf8f01cfea414140de5dae2223b00361a396177a9cb410ff61f20015ad`. |
| 65 | |
| 66 | These 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 | |
| 72 | Wolfram also evaluated: |
| 73 | ```wolfram |
| 74 | TautologyQ[Implies[p && r && a, r], {p, r, a}] |
| 75 | TautologyQ[Implies[!a, !(p && r && a)], {p, r, a}] |
| 76 | Length[Tuples[{False, True}, 3]] |
| 77 | ``` |
| 78 | |
| 79 | Results: 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 | |
| 83 | The 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 | |
| 85 | This 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`. |