================================================================
 OreBolt OS v1.5 -- Build Manifest
================================================================
 Generated: 2026-07-14
 Target:    HiFiWalker H2 (Ingenic X1000E, MIPS32r2, mipsel-linux-musl)
 Host:      Arch Linux x86_64

 ----------------------------------------------------------------
 CHANGES VS v1.4 (full diff in CHANGELOG.md)
 ----------------------------------------------------------------
  FIXED:
   - emulator_input_mapper no longer linked against liblvgl.so
   - main.c restored to fork/exec launcher (was monolithic stub loop)
   - h2_ui.h merges v1.3 graphics init + v1.4 module registration
   - log_manager.h merges v1.3 timed coalescer + v1.4 log levels
   - S99broker OREBOLT_VERSION fixed to 1.5 (was 1.4)

  CHANGED:
   - Sub-Makefiles bumped: v6.1->v6.2, orebolt-v1.4->orebolt-v1.5
   - Master Makefile updated for v1.5 targets
   - radar module links -lbluetooth for BlueZ HCI
   - All restored modules use H2_KEY_* constants (not raw codes)
   - vault upgraded to full PIN auth (was entropy-only display)
   - studio upgraded to UAC2 Mixer Console (was frequency analyzer)
   - S99broker now runs amixer volume set on boot (from Manifest)

  ADDED:
   - 13 fully functional module implementations from v1.3 + Manifest:
     vault (upgraded), nettap, scalpel (NEW), deploy, studio (upgraded),
     probe, vterm, radar, pauto, extract, noise, reset, emulate
   - emulator_input_mapper fully integrated from addon-emulator-1.0
     (no longer a separate addon package)
   - S98emulator-input upgraded with PID tracking, status command,
     graceful TERM->KILL shutdown (from addon-emulator-1.0)
   - ROM directory structure (11 systems) in overlay/data/roms/
   - overlay/data/bt_config/paired_macs.txt
   - overlay/data/chat_config/macros.txt

  STILL STUBS (5 modules):
   - rfid, wifi, glitch, pwdb, bitchat (AGPL-3.0-only)

 ----------------------------------------------------------------
 FILE INVENTORY (counts)
 ----------------------------------------------------------------
  Top-level build files:        6   (Makefile, 2 sub-Makefiles, build.sh,
                                       inject_payloads.sh, lv_conf.h.dist)
  Headers:                      2   (h2_ui.h, log_manager.h)
  Master launcher:              1   (main.c)
  Userland modules (.c):       25   (19 .mod + emulator_input_mapper + 2 in emulate + 3 proxalarm headers)
  HW library (.c):              7   (src/modules/mod_*.c)
  Proxalarm internal headers:   3   (bledsp.h, proxvec.h, radar_ui.h)
  HW library header:            1   (src/modules/panic_purge_api.h)
  Init scripts:                 3   (S98emulator-input, S99broker,
                                       bt_input_daemon.sh)
  Overlay scripts:              2   (enable_vault_usb.sh, enable_vault_ble.sh)
  ROM directories:             11   (nes, snes, gb, gbc, gba, genesis,
                                       sms, gg, pce, atari2600, ngp)
  Vault data files:             3   (syslog.log, failures.dat, Provision.txt)
  BT config:                    1   (paired_macs.txt)
  Chat config:                  1   (macros.txt)
  Linux payloads (.dd):        50   (reference set; macos/windows generated
                                       at build time)
  Documentation:                8   (README, QUICKSTART, PREREQUISITES, HEADERS, LICENSE,
                                       ARCHITECTURE, CHANGELOG, BUILD_MANIFEST)
  License stubs:                3   (AGPL-3.0, GPL-2.0, MIT)
  Integrity manifest:           1   (SHA256SUMS)

  TOTAL source/doc files:      115
  TOTAL Linux .dd payloads:     50
  GRAND TOTAL:                 165

 ----------------------------------------------------------------
 MODULE INVENTORY (19 .mod + 1 daemon)
 ----------------------------------------------------------------
  ID  Name                     License          Status
  --  ----                     -------          ------
  0   vault                    GPL-2.0-or-later v1.5 UPGRADED (full PIN auth)
  1   nettaps                  GPL-2.0-or-later v1.5 RESTORED (full impl)
  2   scalpel                  GPL-2.0-or-later v1.5 NEW (audio synth, Manifest)
  3   deploy                   GPL-2.0-or-later v1.5 RESTORED (full impl)
  4   studio                   GPL-2.0-or-later v1.5 UPGRADED (UAC2 mixer console)
  5   probe                    GPL-2.0-or-later v1.5 RESTORED (full impl)
  6   vterm                    GPL-2.0-or-later v1.5 RESTORED (full impl)
  7   radar                    GPL-2.0-or-later v1.5 RESTORED (full impl)
  8   pauto                    GPL-2.0-or-later v1.5 RESTORED (full impl)
  9   extract                  GPL-2.0-or-later v1.5 RESTORED (full impl)
  10  noise                    GPL-2.0-or-later v1.5 RESTORED (full impl)
  11  reset                    GPL-2.0-or-later v1.5 RESTORED (full impl)
  12  emulate                  GPL-2.0-or-later v1.5 RESTORED (full impl)
  13  rfid                     GPL-2.0-or-later stub
  14  wifi                     GPL-2.0-or-later stub
  15  glitch                   GPL-2.0-or-later stub
  16  pwdb                     GPL-2.0-or-later stub
  17  proxalarm                GPL-2.0-or-later v1.6 NEW (3-layer BLE tripwire alarm)
  18  bitchat                  AGPL-3.0-only    stub
  --  emulator_input_mapper    GPL-2.0-or-later v1.5 INTEGRATED (from addon)

 ----------------------------------------------------------------
 HARDWARE LIBRARY (liborebolt.a, 7 modules)
 ----------------------------------------------------------------
  mod_core_hid.c                 GPL-2.0-or-later stub
  mod_forensics.c                GPL-2.0-or-later stub
  mod_panic_hardware_purge.c     GPL-2.0-or-later stub
  mod_panic_purge.c              GPL-2.0-or-later stub
  mod_radio_input_multiplex.c    GPL-2.0-or-later stub
  mod_ui_frame_graphics.c        GPL-2.0-or-later stub
  mod_bitchat_mesh.c             AGPL-3.0-only    (full license header)

 ----------------------------------------------------------------
 KNOWN LIMITATIONS
 ----------------------------------------------------------------
  - 5 modules remain stubs (rfid, wifi, glitch, pwdb, bitchat).
    These require hardware-specific or design-phase work.
  - licenses/AGPL-3.0.txt is a stub.  Run:
      curl -o licenses/AGPL-3.0.txt https://www.gnu.org/licenses/agpl-3.0.txt
  - BITCHAT_SOURCE_URL in mod_bitchat_mesh.c is a placeholder.
  - macos/ and windows/ payload folders are populated at build time by
    inject_payloads.sh; only linux/ is shipped as a reference set.
  - Dual-reader input limitation: LVGL encoder driver AND module
    manual handler both open /dev/input/event0.  Works because fork/exec
    gives each module its own input fd, but simultaneous readers on
    the same fd in a single process would need arbitration.

 ----------------------------------------------------------------
 BUILD COMMANDS
 ----------------------------------------------------------------
  ./build.sh                       # full build
  ./build.sh --deploy              # build + deploy to SD card
  ./build.sh --clean               # remove build artifacts
  make headers-check               # verify KERNEL_HEADERS
  make payloads                    # regenerate 150-payload matrix only

 ----------------------------------------------------------------
 REFERENCES
 ----------------------------------------------------------------
  PREREQUISITES.md  -- host setup, toolchain, SD card prep
  QUICKSTART.md     -- fastest path from fresh host to deployed H2
  HEADERS.md        -- kernel headers sourcing (FiiO M3K + XBurst BSP)
  LICENSE.md        -- multi-tier licensing (AGPL for bitchat)
  ARCHITECTURE.md   -- module layout, SoC, build pipeline
  CHANGELOG.md      -- v1.4 -> v1.6 diff
  SHA256SUMS        -- per-file integrity manifest
================================================================