rgb [Wed, 28 Oct 2026 06:01:47 +0000 (07:01 +0100)]
perf(tmdm): index topic normalization merge candidates
normalize-topic-map chose the next pair of Topics to merge by comparing
all Topic pairs; each pair without a shared identifier called
topic-reified, which enumerates every information item. Reading the
1,855-line HyperDoc project CTM did not finish in 120 s.
next-topic-merge returns the same pair through an index built for one
search and dropped with it: identifier keys (item and subject identifiers
in one namespace, subject locators apart) and a table of reified items for
the nonconflicting-reifier preference. A Topic that reifies two items, or
a listed Topic that is not its own representative, falls back to
scan-next-topic-merge, the unchanged pairwise search, so the conditions
and the moment they are signalled stay as they were. Nothing outlives a
call, so no invalidation rule exists.
The project CTM now reads in about 29-31 s (median of three fresh runs in
two independent reproductions); its semantic signature and CXTM are
byte-identical to the 5a4a668 reference. The Association pair search is
the remaining cost and is left unchanged.
tests/normalization-index.lisp (120 checks): CXTM and rejection outcomes
recorded from unchanged b2eecffa, staged-import reifier preference,
retained handles, index-versus-pairwise comparison on random maps, merge
walks and CTM documents, stale references, a positive control and scale.
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
rgb [Tue, 20 Oct 2026 21:38:59 +0000 (23:38 +0200)]
Document normative conformance decisions for Slice 22C
Review 13 originals with edition-qualified evidence: one A, no unconditional B, twelve C. Preserve registrations, corpus bytes and all historical reports. Record the complete fresh offline regression, 124 reader diagnoses, 108 executor controls and final integrity audit.
rgb [Tue, 20 Oct 2026 05:53:57 +0000 (07:53 +0200)]
feat(xtm): support item identifiers on name variants
Assign Variant itemIdentity locators through the existing global TMDM API after canonical Variant construction. Preserve identifier unions, native conflict conditions and retained handles. Register both unchanged 666-byte original CXTM contracts.
Retain full fresh offline SBCL 2.5.4 evidence: native API preflight, all 124 diagnostic comparisons, identity/merge/syntax and atomic conflict checks, and 60 executor fault controls. XTM: 62 PASS / 0 FAIL / 62 NOT-RUN; CTM unchanged at 262 / 4 / 7. No TMDM or other protected production changes.
rgb [Tue, 20 Oct 2026 04:13:08 +0000 (06:13 +0200)]
feat(xtm): support anyURI resource data on name variants
Resolve textual anyURI resourceData through the existing XTM IRI operations and native Variant API. Reject child elements and invalid datatype IRIs, preserve resourceRef semantics and canonical identity, and register the unchanged 621-byte original CXTM contract.
Retain full fresh offline SBCL 2.5.4 evidence, native resourceData/resourceRef equivalence and merge checks, all 124 diagnostic comparisons and 50 executor fault controls. XTM: 60 PASS / 0 FAIL / 64 NOT-RUN; CTM unchanged at 262 / 4 / 7. Corpus and historical reports remain unchanged.
rgb [Mon, 19 Oct 2026 21:24:19 +0000 (23:24 +0200)]
feat(xtm): support resource references on name variants
Resolve Variant resourceRef through the existing XTM IRI path and add-variant API, preserving canonical parents, proper scope unions and anyURI values without resource retrieval. Register both unchanged original CXTM contracts.
Retain fresh offline SBCL 2.5.4 regression, native identity/merge/syntax controls and all 124 diagnostic comparisons. XTM: 59 PASS / 0 FAIL / 65 NOT-RUN; CTM unchanged at 262 / 4 / 7. Corpus, historical reports and protected production subsystems remain unchanged.
rgb [Mon, 19 Oct 2026 20:48:18 +0000 (22:48 +0200)]
test(xtm): register variant item-identity merge original
Register merge-itemid-with-variants through the existing ASDF conformance harness, with native identity/parent/variant assertions and the exact 919-byte original CXTM comparison. Preserve canonical retained handles and source-key independence.
Retain fresh offline SBCL 2.5.4 regression evidence: XTM 57 PASS / 0 FAIL / 67 NOT-RUN; CTM unchanged at 262 / 4 / 7. No production code, original corpus, baseline or historical report changes.