# Lua that exists only while a test runs.
#
# The coverage denominator is the repository's Lua, enumerated statically
# (scripts/lua_inventory.py) and identified by content hash. The recorder,
# though, sees every script the ENGINE compiled — including the throwaway
# packs a few tests generate on the fly to exercise pack mounting, caching
# and transfer. Those bytes are nowhere in the repository, so nothing can
# measure them, and their recorded hits have no entry to land on.
#
# Every such script must be named here. It is not a convenience: an
# unrecognised pack script FAILS the gate, because "the engine compiled Lua
# the inventory does not know about" is exactly what a missed enumeration
# looks like, and the previous version of the report — which decided for
# itself which recorded scripts to disregard, based on the directory PhysFS
# said they came from — lost 109 lines of live boss logic that way. Listing
# them one by one puts each hole in a diff a reviewer reads.
#
# If the gate points you here: confirm the bytes really are generated by a
# test and cannot be committed as a file, then add the digest with a note.
# If they are shipped game logic, fix scripts/lua_inventory.py instead.
#
# Rot is an ERROR: a digest listed here that no dump in a full run observes
# fails the gate until the line is deleted (its test is gone) or the test is
# fixed (something stopped making those bytes reachable). A reviewed-holes
# ledger with dead entries stops being evidence of anything.
#
# Format: <sha256 of the exact bytes> <what makes them>

0a4678f80fdd61ce4a19993cd8257d89bc338f5446e018ca2b586c7814a545f7  tests/unit/test_campaign_packs.cpp kEmbeddedScript — pack carried inside a generated campaign .glad
0d2db23ed524f962465274ad8da350d9c79827aa0182c023c969b840ab7fec71  tests/unit/test_pack_transfer.cpp kE2eScript — pack streamed over the multiplayer wire
7855f36eebd94cc8cb0bf8ed3d8961879bdedc72c2ce0d61d9dedb6b6bee4987  tests/unit/test_pack_transfer.cpp — pack served out of the on-disk pack cache
9f2c0dd70f115b202f2eadff691ac6541b3f6fe0adcaefee9c941cf15147684b  tests/unit/test_pack_transfer_errors.cpp — cache-regeneration probe, first generation
07c728ed47b11abf3d36dafd7fd4e3ada166a5cbac225b7336a0c350a1fbd381  tests/unit/test_pack_transfer_errors.cpp — cache-regeneration probe, second generation
18665daa3c47df971d22542e81fd2b2c13f16712b39770b5f01468242c0e368b  tests/unit/test_classpack_install.cpp kLibAaa — og.use lib module in the mounted scratch pack
e1af1b7073e80792253731be73aaf3287fa93e5a1f53a7231c8009a5d33ed3ab  tests/unit/test_classpack_install.cpp kLibHelper — og.use lib module in the mounted scratch pack
e252b49ea5557e8c47a78f47173044d327aac6ea8a4be9a362d4a67ebc44e421  tests/unit/test_classpack_install.cpp kLibProbeScript — pack script binding both lib exports

# families/*.lua of the same generated packs. A family chunk is pack content
# like any other, so a scratch pack that declares one has its declaration
# compiled by the installer's throwaway VM as well as by every world VM.
907d58c0247299acc41da49a2868f729b40960bce18eeced8f6736f73ab5f18a  tests/unit/test_classpack_lua_install.cpp sparkle_chunk(30) — synthetic effect declaration, as first mounted
0b5b38a42fe488e542d9f7b1e128d6e5d019931ade4af62f1d7546a97f8eea3a  tests/unit/test_classpack_lua_install.cpp sparkle_chunk(45) — same file rewritten, re-parse probe
5058ada1cdaa0f01b1a08a24816bb550e348fb04cf3bf11d770c08fb08d64ab7  tests/unit/test_classpack_lua_install.cpp — same file rewritten to a REJECTED declaration (`nmae`)
86c6da27fafdf5ea037217074e565bbce272f2edbb354c815eba2725336e28d9  tests/unit/test_classpack_lua_install.cpp sparkle_chunk(30) + a second og.family — wire-slot re-declaration probe
c5beda09e42f0ae6be6b58f80c5db43154a9796bf7137b5a2f82303e7cd72e61  tests/unit/test_campaign_packs.cpp kMemoDeclA + "-- run 000001\n" — parse-memo probe, first revision (run nonce 1: a plain single-pass run)
8f4363bbce9c9c2ca94a25a14f452f00b54c57cecbb777325bfd9699bd1b2bd1  tests/unit/test_campaign_packs.cpp kMemoDeclB + "-- run 000001\n" — parse-memo probe, second revision (same byte length, run nonce 1)
a7b9463971d495234d7080dcc3ae819af2e5a8eb5c03bf6c7102416588c9ffe8  tests/unit/test_pack_transfer.cpp kE2eFamilyDecl — declaration streamed over the multiplayer wire
4dc043b19d6869f22fc97b81cc1bd6216399d4e5945a3a517b694bfc0121e699  tests/unit/test_pack_transfer.cpp — og.pack header served out of the on-disk pack cache
b9e440a99a5d8a35fbd51f34068bbe4ddbf81eb4b9fd862309a93456fecc3b04  tests/unit/test_classpack_install.cpp make_scratch_lib_pack families/tuned.lua — tuning reaches the store from a mounted pack
93f5710b1e493b444b3ed5304d2eac4e7f005226e7182c6b32eac3d9bda667bb  tests/modes_pack_fixture.h kTestRegistrationLua — test-only mode/level bindings zipped into the og_unit_modes campaign
e0623910f02af7f286955cddf9db1cc03385e88f989872e2aa9200e9bf8ca1d1  tests/campaign_sprite_fixture.h kBallFamilyLua — sprite-carrier family declaration in the generated sprite162 campaign
9207879bebc78a1a366cc62daa562c0aded578fa901850440d09f7fdaecc8585  tests/unit/test_classpack_install.cpp make_scratch_split_pack families/aa.lua — first of two declaration files
f8d2a6f9be555a45a78e177a0041ae50e7959e9714d1c027b37c64efe6baa331  tests/unit/test_classpack_install.cpp make_scratch_split_pack families/bb.lua — second file, re-declaring aa.lua's wire slot
5f6297d022aad7c25163da6dba19c218801e3bb84159850950e033400da53c1f  tests/unit/test_classpack_install.cpp make_scratch_split_pack families/bb.lua, broken variant — one bad file rejects the pack
2da0714bad68de947a4df275e42d447adab0a3a4db7c9a3ca44e2f123ddd636e  tests/unit/test_classpack_install.cpp make_scratch_empty_chunk_pack families/good.lua — the real declaration beside a zero-byte families/aaa.lua the loader must skip
db541cd5bb54581c2f429fbc7f154e21f0422e0dd6ca80008153cfd92ac91c37  tests/unit/test_classpack_install.cpp make_scratch_empty_chunk_pack scripts/good.lua — the inert script beside a zero-byte scripts/aaa.lua the loader must skip
537147a2f355d67ac677413f060a42426a14d72a6fc775e222a865e39ae1d6f8  tests/unit/test_pack_transfer.cpp kSessionPackScript — a downloaded pack registering a campaign book, mounted for the session-end unmount tests (PackTransferSessionEndTest)
5cf64c7f569646e3c004fc3c9117c16c15d448410fe23674fdbfe17cd35d876b  tests/integration/test_picker_network_client.cpp joiner_resume_between_levels_keeps_its_session_packs — a one-line pack installed over the wire to prove a between-levels resume keeps session packs mounted
30031b1b4b937582609b5d65cca1b8868f803a1e0b9421fa73c43f495de11cef  tests/unit/test_pack_transfer_errors.cpp a_cache_write_that_cannot_flush_fails_the_install — org.test.fulldisk scripts/a.lua, the control install that mounts
20229da4b446531c0037cd66d74d59f939165836268906cdae53eacbeeec8784  tests/integration/test_picker_funcs.cpp networked_lobby_shutdown_ends_the_pack_transfer_session — org.wp4.shutdownpack scripts/session.lua, a session pack installed over the wire
