Emission recovery and reconstruction note: frame 000511 of the 2023 Truth Beam recording

TL;DR. One 262,144-byte IPFS block of one emission frame in the original 2023 Truth Beam recording became unavailable from the original pin. A numerically faithful approximation was reconstructed from the BLAKE3 chain hash and the frame's surviving neighbours, with maximum error about 1.5e-5 on a 0–255 scale. On 2026-07-27, the complete byte-exact original resurfaced on a retained backup. It reproduces the frame and block CIDs that were recorded publicly before the recovery. The approximation remains available under its distinct name, and the authenticated recovery has its own unsigned RECOVERY_RECEIPT.md.


1. What became unavailable, and what was recovered

The pin "Truth Beam PoliePals Trailer" (IPFS root QmejyJWognSYn7UhygsHuQzkDK5vY4izU9SsCL785NsHCN) is the original TruthBeam recording captured for the 2023 trailer (session 1682718815, April 2023): emissions/ (the projected patterns), reports/ (the captures), agent_data/ (the chain log, lines i_Ep_<emission_hash>_Rp_<report_hash>).

While mirroring the pin to Cloudflare R2, exactly one block would not download from any IPFS gateway, including Pinata's own, returning no providers found for the CID:

Frame 000511_bc48b046016adb2ed149471ab0f683f5a9d8dbff9cd544ba2048231c1a4007b2.npy
Frame shape (1024, 1024, 3) float32
Lost block index 32 of 49; file bytes 8,388,608 – 8,650,751 (262,144 B)
Lost block CID QmRyXZyDbVaE6V7vKBL873DwhA8Xb5VSX7ujcoM1kp3Hpx
Original frame CID QmTy4beHLQP71oS1oMtqgNDg3TNU6wirKGfDsf2Rvq6tBr
Recovery byte-exact original authenticated on 2026-07-27

At the time of mirroring, Pinata's API still reported the parent pin "healthy" at its original 17.13 GB size, but the block was unavailable from the network. The other 1,553 frames mirrored byte-exact. The byte-exact frame and its recovered block are included in this separately authorised recovery release. The historical root CAR remains labelled partial until it is rebuilt and independently checked against the original root CID.

2. The 2023 generator (the emission is an XOF expansion of the hash)

From the TruthBeam slide of the PolieBotics whitepaper video:

def emission_from_hash(input_hash):
    output_hash = blake3(input_hash.encode('utf-8')).hexdigest(length=1536)   # 1536 B → 3072 hex
    complex_array = [complex(int(output_hash[i:i+2], 16), int(output_hash[i+2:i+4], 16))
                     for i in range(0, len(output_hash), 4)]                  # 768 complex
    emission = 512*cv2.resize(numpy.abs(tf.signal.ifft3d(tf.signal.ifft3d(
                   numpy.reshape(complex_array, (16,16,3))))), (1024,1024))
    return emission

The frame's filename hash is the chain's emission seed (Ep). We confirmed this empirically: emission_from_hash(<filename-hash>) reproduces known frames (e.g. 000510, 000512). So the emission carries no information beyond its hash — it is a pure deterministic expansion of a 32-byte BLAKE3 chain value.

The archived recorder source

The original local archive also contains the recorder associated with session 1682718815: recorder-source/truth_beam_2023_REDACTED.py. It is not a reconstruction of the algorithm. It is the April 2023 Brownie, Galaxy-camera, projector, BLAKE3-XOF recorder stored beside a complete copy of this session.

The source has one deliberate public-release change: a hard-coded RSK signing private key was replaced by the TRUTHBEAM_RSK_PRIVATE_KEY environment variable. The archived original remains private and has SHA-256 432f08d7a44850c1be3f682eb24e83e0469f3079de48eed546c1345b51969123. The recording, hashing, projection, capture, chain-log, and anchoring logic is otherwise unchanged. Its public helper and Brownie contract sources are in the same directory.

The attribution is supported by the record itself:

3. Why the exact bytes could not be recomputed

The generator runs an FFT and a bilinear resize in floating point. We exhaustively established that bit-exact reproduction is not achievable off the original machine:

Conclusion: no bit-exact recomputation route was found. The original bytes became available because a retained backup resurfaced, not because the floating-point reconstruction was made exact.

4. What we reconstructed (and how)

Two paths, both in reconstruct_emission.py:

  1. emission_from_hash(seed) — the full frame straight from the hash (tf.signal.ifft3dnumpy.fft.ifftn, mathematically identical). This is the XOF demonstration. → 000511_bc48b046_FROM_HASH.npy
  2. reconstruct_block(frame, …) — recover only the lost block from the frame's byte-exact neighbours, using the bilinear-band structure of cv2.resize: src=(Y+0.5)·16/1024−0.5; within a band where floor(src) is constant the output is exactly linear in Y, so the lost interior rows are a linear function of the surviving rows in the same band. This is the more accurate path (it uses the frame's own true data, not the FFT). All byte-exact values are preserved untouched; only the lost indices are filled. → 000511_bc48b046_RECONSTRUCTED.npy

Validated by hiding block 32 of a known frame (000510) and reconstructing it: 76.8% of the lost values come back bit-identical, max error 1.5e-5 on the 0–255 scale — i.e. numerically/visually perfect, just not byte-for-byte.

The later comparison against the recovered original gives the corresponding direct measurement for frame 000511: 49,944 of 65,536 values, 76.20849609375 percent, are bit-identical, and the maximum absolute error is 1.52587890625e-05. Every differing byte is inside the formerly unavailable block.

Where the artifacts live (kept separate from originals)

r2:truthbeam/pinata/RECONSTRUCTED_truth_beam_poliepals_trailer/
    000511_bc48b046_RECONSTRUCTED.npy   neighbours (byte-exact) + reconstructed block 32
    000511_bc48b046_FROM_HASH.npy       full frame regenerated from the hash (XOF demo)
    reconstruct_emission.py             the code

The original (incomplete) frame and the other 1,553 byte-exact frames are untouched under r2:truthbeam/pinata/truth_beam_poliepals_trailer/.

5. Why this matters — XOF justification and a design lesson

6. The byte-exact recovery

The complete original frame resurfaced on a retained backup on 2026-07-27. It is a valid (1024, 1024, 3) little-endian float32 NPY, 12,583,040 bytes. File bytes [8,388,608, 8,650,752) are byte-identical to the recovered standalone block.

Public recovery objects:

Hash-only IPFS addition reproduces the previously recorded targets exactly:

Artifact SHA-256 CIDv0
Complete original frame 6b7a6bc9f052d78dd161d20c22a19a6341f1447af6721a96f72425ce4bce9c1a QmTy4beHLQP71oS1oMtqgNDg3TNU6wirKGfDsf2Rvq6tBr
Recovered block 32 f035c6ef0f25ca20d1a9bda8d88cce591be70abb9b209d7c6841f43293a59041 QmRyXZyDbVaE6V7vKBL873DwhA8Xb5VSX7ujcoM1kp3Hpx

Those CIDs were present in public repository history before the recovery. This authenticates the bytes independently of the backup narrative. The exact comparison, custody boundary, and machine-readable record are in the byte-exact recovery receipt.

The exact original and the reconstruction serve different purposes. The exact frame restores the historical byte record. The reconstruction remains a useful, reproducible demonstration of what the deterministic design and the surviving neighbours could recover without that backup.