]> dreyeck.freedombox.rocks Git - topic-maps.git/blob - docs/slice-17b-validation.md
feat(xtm): support item identifiers on name variants
[topic-maps.git] / docs / slice-17b-validation.md
1 # Slice 17B — isa/ako and Core Subject validation
2
3 Base: `bdc56a8236c6e6180df217d37e82846025026096`; branch
4 `codex/ctm-slice-17b`. Source/artifact hashes, runtime and UTC interval are in
5 `reports/slice-17b/execution.json`.
6
7 From the repository root:
8
9 ```sh
10 python3 scripts/validate-slice-17b.py --sbcl /nix/store/hlsiblxpxr1hax3dw9x8znd6zy097ddj-sbcl-2.5.4/bin/sbcl
11 ```
12
13 The full retained suite runs in fresh SBCL 2.5.4 under `sandbox-exec` denying
14 network access, with user/system startup and inherited ASDF registry excluded.
15 There are no extra SBCL versions, checkout relocations or cache-policy changes.
16
17 ## Results
18
19 - **11,317 Lisp assertions pass: 10,301 retained and 1,016 new.** Consumed
20 unsupported-feature assertions now check actual isa/ako model semantics;
21 all retained suite totals and model observations are preserved.
22 - Both Python unit tests, 16,294 independent NFC comparisons and all independent
23 report checkers pass. No Quicklisp, external server or HyperDoc system is used.
24 - All 13 selected original CTM documents deserialize to actual TMDM objects and
25 match their unchanged original CXTM baselines byte-for-byte. The complete list,
26 byte counts, object relations and normative clauses are in
27 `reading-type-relationships.md`; actual bytes are under `reports/slice-17b/actual/`.
28 - Exactly those 13 imported cases transition NOT-RUN → PASS. Corpus totals:
29 **120 PASS, 2 FAIL, 0 UNSUPPORTED, 151 NOT-RUN**. This comprises 108 positive
30 byte-exact contracts and 12 specific rejection contracts. Both existing
31 DateTime normative baseline FAILs remain unchanged, including their outputs
32 and diagnostic text. No unimplemented contract is promoted.
33 - All 95 prior passing CXTM outputs, both known discrepancy outputs, all other
34 imported case records and every prior model observation are compared to 17A.
35 Original corpus and reference hashes are checked before/after execution.
36
37 ## Core Subject and failure evidence
38
39 The protected vocabulary is checked against all eight exact §7 locators in the
40 published TMDM 2006 text. Its six relationship Subjects are also checked as actual
41 Association/Role Type Topics. The §7.5 `name-type` versus CTM §3.11 `topic-name`
42 spelling distinction is explicit; no guessed alias or Name-Type rewrite occurs.
43
44 There are **304 executed atomic conflict observations**. They cover every
45 ordered pair of different Core Subjects via explicit merge, SI bridge, II bridge,
46 shared Subject Locator and interning a new Core SI on an existing II-bound Topic.
47 Additional tests cover retained alias chains, an entire prospective transitive
48 normalization, all five structurally mergeable item kinds, a direct Reifier
49 setter conflict, and a four-level Name→Occurrence→Association→Role cascade.
50 Interning before a late conflict does not leave a new empty Topic behind.
51
52 Each rejection asserts the condition class/code, equality of the complete
53 original graph state and held identifier/forward/Reifier slots, and preservation
54 of existing model invariants for initially valid graphs. White-box unnormalized
55 inputs are explicitly marked; their initial graphs are preserved on rejection.
56 This is the existing local preflight policy, not a normative transaction claim.
57
58 Positive tests cover same-Core idempotence, legal aliases, copied public
59 vocabulary strings, preserved locator categories, short/long Association equality,
60 all shared reference forms, replacement handles, cyclic ako, non-materialization
61 of inferred relationships, pure deterministic CXTM, and specific CTM positions.
62 The independent Python checker compares all 13 actual reference graphs against
63 the baseline XML separately from the raw byte checks.
64
65 `base-control.log` restores only the base definitions in a separate disposable
66 process: the former Core merge is accepted there and both keywords are rejected
67 as unsupported. `describe.log` records executable inspection forms in another
68 fresh process; its printed addresses are historical process-local observations.
69
70 Templates, Include/Mergemap, cross-document merging, XTM deserialization, further
71 datatypes and HyperDoc changes are excluded. No push or deployment is performed.