]> dreyeck.freedombox.rocks Git - topic-maps.git/blob - docs/slice-19a-validation.md
Implement XTM occurrence reification with native conformance evidence
[topic-maps.git] / docs / slice-19a-validation.md
1 # Slice 19A validation
2
3 Base: `0573c4f710982dab1c3f2c9284adf459caaf73e9`.
4 Branch: `codex/tmdm-slice-19a`.
5
6 Run the complete retained suite and new Map-content-import model tests in a
7 fresh SBCL 2.5.4 process, offline, with the established development runtime:
8
9 ```sh
10 cd /Users/rgb/workspace/topic-maps
11 PYTHONDONTWRITEBYTECODE=1 python3 scripts/validate-slice-19a.py \
12 --sbcl /nix/store/hlsiblxpxr1hax3dw9x8znd6zy097ddj-sbcl-2.5.4/bin/sbcl
13 ```
14
15 The validator runs `scripts/test.sh` under macOS sandbox-exec with network
16 access denied, preserving all Slice 0–18 regression phases. It independently
17 checks the JSON reports, executes the documented inspection forms and reproduces
18 the old normalizer's Reifier-first rejection in a separate process.
19 No persistent Lisp image is involved. No cache configuration, checkout relocation
20 or additional SBCL version is part of this validation.
21
22 Execution evidence: `reports/slice-19a/execution.json` contains exact commands,
23 UTC timestamps, runtime, exit code, per-phase totals, protected-source hashes
24 and artifact hashes. `tests.log` is the actual full regression output.
25 `map-import.json` records new model checks, 50 rejection witnesses and two model
26 transfer/merge witnesses with actual CXTM output.
27
28 Expected imported statuses remain **187 PASS, 2 FAIL, 0 UNSUPPORTED, 84 NOT-RUN**.
29 The 187 PASS comprise 165 byte-exact positive CTM/CXTM contracts and 22 specific
30 negative CTM contracts. The two DateTime FAILs are pre-existing published-standard
31 versus upstream-baseline discrepancies. All 273 imported case records, all 167
32 executed CXTM result records, and all retained model-observation reports must
33 match the saved Slice 18 evidence. No CTM import contract becomes PASS here.
34
35 `src/ctm`, `src/cxtm`, `vendor` and `references` must have no changes from BASE.
36 Source files are hashed before and after validation. Source and target immutability
37 on semantic rejection, source preservation on success, and retained canonical
38 handles are tested through raw object slots as well as CXTM comparisons.
39
40 Results are recorded by execution, not inferred from this document. A validator
41 failure aborts before delivery; the local commit is made only after a successful
42 complete run. See [Reading Map Content Import](reading-map-content-import.md) for
43 the public API, normative basis, exact transaction boundary and inspection forms.