]> dreyeck.freedombox.rocks Git - topic-maps.git/log
topic-maps.git
4 days agofeat(tmdm): readers for the TMDM 7.2/7.3 relationships; tests for both default name...
Claude [Wed, 11 Nov 2026 20:06:29 +0000 (20:06 +0000)]
feat(tmdm): readers for the TMDM 7.2/7.3 relationships; tests for both default name types

Add six read-only functions to topic-maps.tmdm that recognize the
type-instance (TMDM 7.2) and supertype-subtype (TMDM 7.3) Associations the
CTM and XTM readers already create and store: type-instance-relationship,
supertype-subtype-relationship, and four Topic readers that return the
Associations in which a Topic is instance, type, subtype or supertype.
An Association is recognized exactly when its type and its two Role types
carry the clause's Subject Identifiers and it has exactly two Roles. The
readers are added API, not a conformance repair: they intern no Topic,
change nothing, evaluate no Scope and infer nothing. Sort names (7.4) are
deferred.

tests/core-relationships.lisp argues each expectation from its clause
(50 checks, eleven original isa/ako inputs).
scripts/check-core-relationships.py counts such Associations in the
unchanged CXTM baselines; it evaluates serialized data and is not a proof
of conformance.

tests/default-name-types.lisp (21 checks) shows that both documented
default name type Subject Identifiers, .../name-type and .../topic-name,
are preserved on import and in CXTM, coexist, and are never equated
automatically. It needs no production change. An explicit merge of the two
type Topics and the unchanged Core Subject set are recorded as a
characterization of current behaviour, not as a rule.

Both suites are registered in topic-maps.asd and run by the offline launcher.
Verified with SBCL 2.4.10: the unchanged baseline passed before these
changes, and both new suites pass. The full launcher has not yet been
re-run with them; the XTM suites were not run.

Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_014ewLGkKYU24V8KWmZKpjGx

2 weeks agoperf(tmdm): index association normalization merge candidates codex/project-work-slice-22u
rgb [Wed, 28 Oct 2026 15:42:36 +0000 (16:42 +0100)]
perf(tmdm): index association normalization merge candidates

Replace the quadratic cross-Association scan in normalize-associations with
an indexed search for the next merge candidate. Pair selection order and
merge semantics are unchanged relative to 6162ed68.

Adds tests/association-index.lisp with 29 fixtures. Independently reviewed.

Not verified: Linux execution, the Stage 2 CTM, peak RSS and suitability
for the constrained NixOS host, high-arity performance, and the historical
Python Unicode/NFC checker mismatch (pre-existing, Python 3.14 / Unicode 16).

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
2 weeks agoperf(tmdm): index topic normalization merge candidates
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>
2 weeks agoexamples: explore project work through native Topic Maps (slice 22U)
rgb [Mon, 26 Oct 2026 02:56:48 +0000 (03:56 +0100)]
examples: explore project work through native Topic Maps (slice 22U)

3 weeks agotest: prove CTM/XTM anyType equivalence (slice 22T) codex/ctm-xtm-slice-22t
rgb [Sun, 25 Oct 2026 15:47:08 +0000 (16:47 +0100)]
test: prove CTM/XTM anyType equivalence (slice 22T)

3 weeks agoIntegrate qualified XML anyType values into the XTM reader codex/xtm-slice-22s
rgb [Sat, 24 Oct 2026 09:17:35 +0000 (11:17 +0200)]
Integrate qualified XML anyType values into the XTM reader

3 weeks agoQualify closed XML/C14N 1.0 infrastructure for XTM resourceData codex/xtm-slice-22r
rgb [Sat, 24 Oct 2026 07:10:39 +0000 (09:10 +0200)]
Qualify closed XML/C14N 1.0 infrastructure for XTM resourceData

3 weeks agoCharacterize XML C14N limits and native anyType values
rgb [Sat, 24 Oct 2026 06:30:04 +0000 (08:30 +0200)]
Characterize XML C14N limits and native anyType values

3 weeks agoDocument XTM normative coverage and remaining qualification gaps
rgb [Sat, 24 Oct 2026 05:51:10 +0000 (07:51 +0200)]
Document XTM normative coverage and remaining qualification gaps

3 weeks agoDocument qualified disposition of remaining XTM corpus cases
rgb [Fri, 23 Oct 2026 20:21:46 +0000 (22:21 +0200)]
Document qualified disposition of remaining XTM corpus cases

3 weeks agoImplement XTM role reification with native conformance evidence
rgb [Fri, 23 Oct 2026 19:25:54 +0000 (21:25 +0200)]
Implement XTM role reification with native conformance evidence

3 weeks agoImplement XTM association reification with native conformance evidence
rgb [Fri, 23 Oct 2026 15:37:13 +0000 (17:37 +0200)]
Implement XTM association reification with native conformance evidence

3 weeks agoImplement XTM occurrence reification with native conformance evidence
rgb [Fri, 23 Oct 2026 14:52:33 +0000 (16:52 +0200)]
Implement XTM occurrence reification with native conformance evidence

3 weeks agoSupport XTM item identity on occurrences associations and roles
rgb [Fri, 23 Oct 2026 13:58:37 +0000 (15:58 +0200)]
Support XTM item identity on occurrences associations and roles

3 weeks agoImplement XTM association and role core with original conformance evidence
rgb [Fri, 23 Oct 2026 12:26:40 +0000 (14:26 +0200)]
Implement XTM association and role core with original conformance evidence

3 weeks agoRegister five original XTM mergeMap contracts (Slice 22H)
rgb [Thu, 22 Oct 2026 20:32:54 +0000 (22:32 +0200)]
Register five original XTM mergeMap contracts (Slice 22H)

3 weeks agoImplement XTM occurrence core and register eleven originals (Slice 22G)
rgb [Thu, 22 Oct 2026 13:29:38 +0000 (15:29 +0200)]
Implement XTM occurrence core and register eleven originals (Slice 22G)

3 weeks agoVerify CTM/XTM semantic equivalence through TMDM and CXTM (Slice 22F)
rgb [Thu, 22 Oct 2026 11:59:16 +0000 (13:59 +0200)]
Verify CTM/XTM semantic equivalence through TMDM and CXTM (Slice 22F)

3 weeks agoImplement noncyclic XTM mergeMap content import (Slice 22E)
rgb [Thu, 22 Oct 2026 06:49:30 +0000 (08:49 +0200)]
Implement noncyclic XTM mergeMap content import (Slice 22E)

3 weeks agoSupport arbitrary absolute XTM resourceData datatypes (Slice 22D)
rgb [Wed, 21 Oct 2026 05:38:12 +0000 (07:38 +0200)]
Support arbitrary absolute XTM resourceData datatypes (Slice 22D)

3 weeks agoDocument normative conformance decisions for Slice 22C
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.

3 weeks agoRegister final Variant Reification original for Slice 22B
rgb [Tue, 20 Oct 2026 13:28:39 +0000 (15:28 +0200)]
Register final Variant Reification original for Slice 22B

3 weeks agoDocument Topic Maps conformance closure plan for Slice 22A
rgb [Tue, 20 Oct 2026 09:55:21 +0000 (11:55 +0200)]
Document Topic Maps conformance closure plan for Slice 22A

3 weeks agoAdd XTM Variant reification and qualify Slice 21O originals
rgb [Tue, 20 Oct 2026 09:15:13 +0000 (11:15 +0200)]
Add XTM Variant reification and qualify Slice 21O originals

3 weeks agoRegister three XTM name reification originals (Slice 21N)
rgb [Tue, 20 Oct 2026 08:43:42 +0000 (10:43 +0200)]
Register three XTM name reification originals (Slice 21N)

3 weeks agoSupport XTM topic name reification (Slice 21M)
rgb [Tue, 20 Oct 2026 08:19:25 +0000 (10:19 +0200)]
Support XTM topic name reification (Slice 21M)

3 weeks agoSupport XTM topic map reification (Slice 21L)
rgb [Tue, 20 Oct 2026 07:49:37 +0000 (09:49 +0200)]
Support XTM topic map reification (Slice 21L)

3 weeks agofeat(xtm): support item identifiers on name variants
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.

3 weeks agofeat(xtm): support anyURI resource data on name variants
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.

3 weeks agofeat(xtm): support resource references on name variants
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.

3 weeks agotest(xtm): register variant item-identity merge original
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.

3 weeks agoSupport textual XTM name variants with qualified original contracts and offline evidence
rgb [Mon, 19 Oct 2026 20:12:12 +0000 (22:12 +0200)]
Support textual XTM name variants with qualified original contracts and offline evidence

3 weeks agoSupport XTM topic name item identifiers with original contracts and offline evidence
rgb [Mon, 19 Oct 2026 13:53:36 +0000 (15:53 +0200)]
Support XTM topic name item identifiers with original contracts and offline evidence

3 weeks agoAdd XTM name scope with five original contracts and offline evidence
rgb [Mon, 19 Oct 2026 13:34:44 +0000 (15:34 +0200)]
Add XTM name scope with five original contracts and offline evidence

3 weeks agofeat: support basic XTM topic names (slice 21D)
rgb [Mon, 19 Oct 2026 13:16:52 +0000 (15:16 +0200)]
feat: support basic XTM topic names (slice 21D)

3 weeks agotest: register seven negative XTM originals (slice 21C)
rgb [Mon, 19 Oct 2026 12:41:02 +0000 (14:41 +0200)]
test: register seven negative XTM originals (slice 21C)

3 weeks agotest: register twenty positive XTM originals (slice 21B)
rgb [Mon, 19 Oct 2026 12:25:32 +0000 (14:25 +0200)]
test: register twenty positive XTM originals (slice 21B)

3 weeks agodocs(ctm): preserve Template Tail grammar investigation and evidence
rgb [Mon, 19 Oct 2026 11:44:01 +0000 (13:44 +0200)]
docs(ctm): preserve Template Tail grammar investigation and evidence

3 weeks agofeat(ctm): decode ISO-8859-5 with qualified charset aliases
rgb [Mon, 19 Oct 2026 07:31:58 +0000 (09:31 +0200)]
feat(ctm): decode ISO-8859-5 with qualified charset aliases

3 weeks agofeat(ctm): support triple-quoted strings and four originals
rgb [Mon, 19 Oct 2026 06:59:02 +0000 (08:59 +0200)]
feat(ctm): support triple-quoted strings and four originals

3 weeks agofeat(ctm): support the CTM integer star literal
rgb [Mon, 19 Oct 2026 06:34:50 +0000 (08:34 +0200)]
feat(ctm): support the CTM integer star literal

3 weeks agotest(ctm): register original empty2 prolog contract
rgb [Mon, 19 Oct 2026 05:53:26 +0000 (07:53 +0200)]
test(ctm): register original empty2 prolog contract

3 weeks agofeat(ctm): validate prologs and register three Slice 20C contracts
rgb [Mon, 19 Oct 2026 05:33:49 +0000 (07:33 +0200)]
feat(ctm): validate prologs and register three Slice 20C contracts

3 weeks agotest(ctm): register seven reviewed negative Slice 20B contracts
rgb [Mon, 19 Oct 2026 05:12:14 +0000 (07:12 +0200)]
test(ctm): register seven reviewed negative Slice 20B contracts

3 weeks agotest(ctm): register forty original Slice 20A contracts
rgb [Mon, 19 Oct 2026 04:56:46 +0000 (06:56 +0200)]
test(ctm): register forty original Slice 20A contracts

4 weeks agoSupport controlled XTM notation in CTM Mergemap with offline regression evidence
rgb [Sun, 18 Oct 2026 21:19:04 +0000 (23:19 +0200)]
Support controlled XTM notation in CTM Mergemap with offline regression evidence

4 weeks agoImplement XTM 2.0 identity and instanceOf reader with offline evidence
rgb [Sun, 18 Oct 2026 19:52:33 +0000 (21:52 +0200)]
Implement XTM 2.0 identity and instanceOf reader with offline evidence

4 weeks agoQualify pinned CXML encodings with reproducible local patches
rgb [Sun, 18 Oct 2026 16:29:36 +0000 (18:29 +0200)]
Qualify pinned CXML encodings with reproducible local patches

4 weeks agoProvide pinned CXML sources and record failed XML qualification
rgb [Sun, 18 Oct 2026 15:27:35 +0000 (17:27 +0200)]
Provide pinned CXML sources and record failed XML qualification

4 weeks agoImplement CTM Include and source-preserving template import
rgb [Sun, 18 Oct 2026 13:05:48 +0000 (15:05 +0200)]
Implement CTM Include and source-preserving template import

4 weeks agoImplement CTM Mergemap with explicit byte resources and isolated environments
rgb [Sun, 18 Oct 2026 12:01:13 +0000 (14:01 +0200)]
Implement CTM Mergemap with explicit byte resources and isolated environments

4 weeks agoAdd source-preserving TMDM Map content import with atomic preflight
rgb [Sun, 18 Oct 2026 10:55:38 +0000 (12:55 +0200)]
Add source-preserving TMDM Map content import with atomic preflight

4 weeks agoImplement CTM Templates with contextual argument binding
rgb [Sun, 18 Oct 2026 09:45:34 +0000 (11:45 +0200)]
Implement CTM Templates with contextual argument binding

4 weeks agoImplement CTM isa and ako with atomic core subject protection
rgb [Sun, 18 Oct 2026 07:22:58 +0000 (09:22 +0200)]
Implement CTM isa and ako with atomic core subject protection

4 weeks agoSupport CTM associations with arbitrarily many roles
rgb [Sun, 18 Oct 2026 06:55:55 +0000 (08:55 +0200)]
Support CTM associations with arbitrarily many roles

4 weeks agoImplement same-map reification with atomic merge preflight
rgb [Sun, 18 Oct 2026 05:11:56 +0000 (07:11 +0200)]
Implement same-map reification with atomic merge preflight

4 weeks agoImplement general TMDM item identifiers and canonical output
rgb [Sun, 18 Oct 2026 04:43:40 +0000 (06:43 +0200)]
Implement general TMDM item identifiers and canonical output

4 weeks agoSupport CTM Wildcards and recursive Embedded Topics
rgb [Sat, 17 Oct 2026 20:47:21 +0000 (22:47 +0200)]
Support CTM Wildcards and recursive Embedded Topics

4 weeks agoImplement unreified Variants with Scope and canonical merging
rgb [Sat, 17 Oct 2026 20:09:32 +0000 (22:09 +0200)]
Implement unreified Variants with Scope and canonical merging

4 weeks agoImplement Topic-set Scope across TMDM, CTM and CXTM
rgb [Sat, 17 Oct 2026 16:47:33 +0000 (18:47 +0200)]
Implement Topic-set Scope across TMDM, CTM and CXTM

4 weeks agoSupport explicitly typed Topic Names with merge and CXTM evidence
rgb [Sat, 17 Oct 2026 14:00:37 +0000 (16:00 +0200)]
Support explicitly typed Topic Names with merge and CXTM evidence

4 weeks agoCanonicalize DateTime timezone offsets with explicit baseline discrepancies
rgb [Sat, 17 Oct 2026 05:44:14 +0000 (07:44 +0200)]
Canonicalize DateTime timezone offsets with explicit baseline discrepancies

4 weeks agoSupport DateTime occurrences and expose normative baseline conflicts
rgb [Fri, 16 Oct 2026 18:58:43 +0000 (20:58 +0200)]
Support DateTime occurrences and expose normative baseline conflicts

4 weeks agoImplement Date Occurrences with lexical validation and CXTM canonicalization
rgb [Fri, 16 Oct 2026 11:00:37 +0000 (13:00 +0200)]
Implement Date Occurrences with lexical validation and CXTM canonicalization

4 weeks agofeat(ctm): support decimal occurrences and canonical lexical output
rgb [Fri, 16 Oct 2026 06:29:55 +0000 (08:29 +0200)]
feat(ctm): support decimal occurrences and canonical lexical output

4 weeks agoImplement CTM integer occurrences and canonical integer CXTM
rgb [Fri, 16 Oct 2026 05:15:50 +0000 (07:15 +0200)]
Implement CTM integer occurrences and canonical integer CXTM

4 weeks agoImplement CTM prefix directives and explicit occurrence datatypes
rgb [Fri, 16 Oct 2026 04:55:03 +0000 (06:55 +0200)]
Implement CTM prefix directives and explicit occurrence datatypes

4 weeks agoAdd string and URI Occurrences with merging and CXTM validation
rgb [Wed, 14 Oct 2026 17:54:04 +0000 (19:54 +0200)]
Add string and URI Occurrences with merging and CXTM validation

4 weeks agoImplement CXTM canonicalization for supported TMDM items
rgb [Wed, 14 Oct 2026 16:16:34 +0000 (18:16 +0200)]
Implement CXTM canonicalization for supported TMDM items

4 weeks agofeat(ctm): read associations and roles with merge-safe topic references
rgb [Wed, 14 Oct 2026 07:11:55 +0000 (09:11 +0200)]
feat(ctm): read associations and roles with merge-safe topic references

4 weeks agofeat(tmdm): merge same-map topic identities and retarget name references
rgb [Wed, 14 Oct 2026 05:51:31 +0000 (07:51 +0200)]
feat(tmdm): merge same-map topic identities and retarget name references

4 weeks agofix(ctm): distinguish malformed names from unsupported typed names
rgb [Wed, 14 Oct 2026 05:22:09 +0000 (07:22 +0200)]
fix(ctm): distinguish malformed names from unsupported typed names

4 weeks agofeat(topic-maps): read CTM topic identities and default names
rgb [Wed, 14 Oct 2026 04:34:46 +0000 (06:34 +0200)]
feat(topic-maps): read CTM topic identities and default names

4 weeks agotest(topic-maps): establish pinned CTM test foundation
rgb [Tue, 13 Oct 2026 21:24:31 +0000 (23:24 +0200)]
test(topic-maps): establish pinned CTM test foundation