# REPORT / generation 1 — User manual

**Library:** `src/lib2/report/1/`  
**Edition:** 2026-11-18, source/document review (documentation only)  
**Qualification:** CLARITAS Wave 6 source/native parity accepted only; not promoted as a generic reporting engine.

## What this member does

Format the original U32 numerical Lab test results into VT documents and case/summary pages; its 72-test data and layout are application-specific.

## Public interfaces

| Entry point or group | Inputs, outputs and behavior |
|---|---|
| `RPT_CAPTURE / RPT_CAPREM` | Capture actual U32 outputs/remainders into Lab-owned arrays; `$8` case index and registers hold values. |
| `RPT_SETFLAG` | Store a PASS/FAIL status for selected test case. |
| `RPT_SUMMARY / RPT_CASEPAGE` | Populate the VT canvas with summary and case reports. |
| `RPT_PUTZ / RPT_DEC2 / RPT_MAKEHEX` | Low-level Lab formatting helpers with source-specific register conventions. |

## How to integrate

For historical reproduction only, include `report.s` in a compatible Lab source closure and call its case-capture and report-page routines in the original test order. New client apps should implement application-owned reporting instead.

**Composition sketch (not an independently assembled client):**

```asm
#INCLUDE (lib2/report/1/report.s)
; Supply the dependencies, RAM, bank context and symbols described above.
        CAL     RPT_CAPTURE
```

## Environment, dependencies and memory

Needs Lab arrays (`RPT_*`), fixed expected-result fixtures, VT20 document interface, correct UA14 and `$SY=1`; calls are not generic without the original Lab workspace.

## Limits and evidence

Large source includes fixed report strings and 72-case assumptions. Do not promise a stable independent `RPT_*` ABI or reuse in unrelated applications without extracting and qualifying a new version.

**This documentation does not introduce a new build or runtime PASS.** Source equivalence, native assembler parity, emulator execution and physical-machine evidence remain distinct.

## Actual source and further reference

- [This exact member folder in Google Drive](https://drive.google.com/drive/folders/1GTZ0sUeLajP5_km2BQnhM1eB9wFXcyUh)
- Source modules: `report.s`.
- Further contracts/source notes: report.s. These may include dated donor paths or older acceptance statements.
- For a new consumer, pin exact source files and hashes, verify full include closure, inspect register/bank/resource conflicts and test the resulting application on each claimed target.

*Praeteritum ad futurum servamus.*
