SOURCE VIEWER

MANIFEST.md

Original bytes preserved. This is a browser-readable view.

DOWNLOAD ORIGINAL ↓

# CS617 Chapter 04 — stable/ manifest (accepted r004)

> **CURRENT ROM LOCATION — 2026-10-12:** The accepted listing and 64 KiB ROM reside at `stable/rom/primes.{bin,lst}`; source/includes and the owner-controlled `build/` remain where they were. Exact binary/listing filenames, Drive IDs, sizes and hashes are unchanged.
> This is a file-location normalization, not a new assembly, runtime test, firmware revision, rights approval or alteration of archived evidence. Older dated paths below describe their historical checkpoints.


**Current private release:** r004, owner accepted 2026-10-11; this `stable/` folder is the single accepted product view. **Layout corrected:** 2026-10-11, source-root fidelity and minimal preservation. **Public distribution:** NOT AUTHORIZED.

The original r003 evidence remains frozen at `../apps/prime_lab_r003.{s,lst,bin}` and `../archive/CS617_Chapter04_Primes_EXPERIENCE_FINAL.zip`. The redundant previous `stable/` r003 snapshot and former `stable/product-r004-accepted-20261011/` wrapper were moved reversibly, with unchanged Drive IDs, under `../trash/STABLE_LAYOUT_SUPERSEDED_20261011/`. [Layout decision](https://drive.google.com/drive/folders/1ZENJzDD_5id7u2ZjZjyG3G6QUWYi4ZNh). No hard deletes, no binary rebuild, and no changed application bytes.

**The acceptance belongs in this manifest, not a version-named directory.** The canonical development source resides in `../src/` (now source-only); the corrected owner-run assembler emits into `../build/` (the reproducible, disposable workbench). The private accepted stable mirror retains its frozen source/report under `stable/src/` and listing/ROM under `stable/rom/` with all ten literal includes closed. Verify the fresh `build/` hashes against this accepted stable release; the older source-root output observation is historical.

**Owner acceptance:** "built and tested - excellent" (2026-10-11). This is affirmative human runtime/UI acceptance but does not itemize individual test fixtures, platforms, screenshot captures or stopwatch timing. No such additional observations are inferred. The unchanged mathematical engines have their own historical r003 evidence; no fresh exhaustive numeric or physical-hardware run is claimed for r004.

## Reproducible r004 build evidence

| Package file | Bytes | SHA-256 |
|---|---:|---|
| `src/primes.s` | 43400 | `26936704ba46d352f034642287de99adbaa9c48e3e2775ebfca7a6369d611bcc` |
| `rom/primes.lst` | 330580 | `70bd91026e5ca8b2f0943fee2e55da2a889e172f7a5611667fead90d8c7f6d57` |
| `rom/primes.bin` | 65536 | `1f3d72a7168eeed64c6429cfcc825da83f12719d8bd4a27541e08b087df88c6b` |
| `src/build.last` | 352 | `65f51f19b0de0fe1f941d3fefffd02c3517c26f8feb26eed92fcfb29ce6a6afa` |

## Exact ten-file include closure

Source is in `src/primes.s` **within this package** because its literal includes start `../src/`. Canonical development source remains `chapter04-primes/src/primes.s` and must not be relocated. Included files are exact copies of the original accepted package and were re-fetched and independently SHA-256 verified after copying.

| Package-relative path | Bytes | SHA-256 |
|---|---:|---|
| `src/prime_core.inc` | 3248 | `8c6bebc47432f4ac598850a27ef466d1e8ee27e896eea66f74b6e68b415ddc8e` |
| `src/prime_delta.inc` | 2468 | `631f7ef1ae077b651dbe5359d9f8c0e4fa792107aee2032676aba1efffb5a6db` |
| `src/data/primes16_abs.inc` | 55273 | `9d0d6c775d485c99db5ea5a6986ff296283ce32373f8d118a3d0595de4577973` |
| `src/data/primes16_delta.inc` | 20616 | `8296c55801841523c63937c1bb8a49a8e613fd894e9c4f5f3bf3eb4f7037f080` |
| `src/lib/divmod_u32_u32.inc` | 3411 | `47463064d327beda1acdd5c625e41c3648b1aa0cd783563af17bb8453c946ea9` |
| `src/lib/divmod_u32_u16.inc` | 869 | `3f20725af43ebddcd0f91d5dd62d05c951505b840bda0211505cabbd5c4bb04f` |
| `src/lib/add_u32_u32.inc` | 905 | `3a43f21aa039e0f3d3834d718e519164d697df5a57eea6a6268986f8cf51c9ea` |
| `src/lib/mul_u32_u32.inc` | 1608 | `7336457370236888c7c4dc253ab0c12a25a98248b864e5fcacc865ffb6f1c482` |
| `src/lib/dec_append_u32.inc` | 2057 | `f5dafed29ff3b883776cb293c2c449e39ace5bcc089733ce7447715934d41c94` |
| `src/lib/format_u32_dec.inc` | 2986 | `6e4df24da20440d9718d9611ec1181e9112dd666fabe3168cbbb3bb93c2f4a95` |


## Verification gates

- `build.last`: the three source/listing/ROM hashes above; actual current assembler output directory **`build/`**; earlier `src/` output behavior is a dated historical checkpoint. Verify hashes against the accepted stable release; do not rely on folder names alone.
- HD61700 ASSEMBLER Rev. 0.45: **ASSEMBLY COMPLETE, NO ERRORS FOUND**.
- ROM size 65,536 bytes; header begins `43 4D` (CM). The 0D80h application vector area was inspected.
- Independent full listing-to-ROM audit: **24,462 emitted unique address positions**, zero byte mismatches, zero conflicting overlap bytes; listing 6,542 byte-bearing lines and 4,321 continuation lines parsed.
- Full source-delta reconstruction against frozen r003: static verifier passes; only selected display `DB` strings and explanatory comments changed; no instruction, soft key, include, timing or mathematical code edits.
- Owner reported successful build and test, with an enthusiastic positive appraisal of the UI. Individual EXE-skip and numerical cases are **not** separately itemized in that report.
- The freeze boundary: `../apps/prime_lab_r003.s`, `.lst`, `.bin`, original classroom WHAT and Experience, plus teaching PDFs remain unchanged. The former stable r003 snapshot was relocated reversibly to `../trash/STABLE_LAYOUT_SUPERSEDED_20261011/` after the r004 mirror was verified. `build/` unchanged by Sol.
- No rights clearance or public dissemination is implied; the same TA/SOCRATIC privacy boundary holds.

## Reason for preserving scientific uppercase

`ENGINE=ABSOLUTE/DELTA` denotes **representation**, whereas `METHOD=PAIR` denotes **algorithm**. `PRIME/COMPOSITE` denotes categorical outcomes; `N:`, `K=`, `HITS=`, `RATE=` are compact measurement labels. Only ordinary prose and product identity were harmonized. `SPLASH_WAIT` already self-advances and permits optional EXE skip, so changing its timing to resemble another chapter would have been an unjustified new behavior and risk.

**Canonical engineering decisions:** `../sol/DECISION_RECORD_CH04_UI_r004_20261011.md`, `../sol/CH04_UI_DIFF_r004_20261011.patch`, `../sol/verify_ch04_ui_r004.py`. Closeout: `../sol/MAINTENANCE_CLOSEOUT_r004_20261011.md`. Historical acceptance remains in `../notes/EXPERIENCE_FINAL.md` and `../notes/EVIDENCE_FINAL.md`.

## Explicit non-duplication boundary

`stable/` contains one current source-root mirror and its owner-only curated documents. No nested `product-r004-*` release directory and no synthetic `apps/` source directory. The accepted ROM and listing are now under `rom/`, separate from source and its literal include closure. `src/primes.pas` is not included because it is not an assembler input or one of the ten literal dependencies; the essential accepted source/listing/ROM/build report are present. Historic package layouts survive in the reversible trash review folder and remain identified by the original manifests and Drive IDs.