Current section
Files
Jump to
Current section
Files
iconvex_unicode
TDD_LOG.md
TDD_LOG.md
# Iconvex Unicode TDD log
## Cycle 1 — exact Unicode leaf extraction
1. RED: copied the complete 19-row Unicode ownership manifest, ported the
original 2,235 lines of codec unit tests plus the 1,112,064-scalar UTF-32BE
fixture, and added exact surface, application-lifecycle, rollback, artifact,
and reference-parity contracts before runtime code. The focused package
contract failed 4/4: the facade was absent, the application had no
registration transaction, and Hex asset selectors were incomplete.
2. GREEN: implemented the exact 17-codec facade and one
`Iconvex.Extension` transaction under owner `:iconvex_unicode`, retained
UTF-9/UTF-18 as two unregistered logical non-octet APIs, copied and renamed
all 13 runtime source files, and copied every required source/data asset.
The focused contract passes 4/4, including stop/restart and a collision on
the final registration that proves complete rollback.
3. GREEN verification: the complete package suite passes 110/110 with warnings
as errors. The independent reference suite passes 4/4 after compiling the
frozen Specs sources only as test oracles; it compares all 17 codec modules,
all 256 one-byte inputs, 2,076 scalar probes per codec, stateful sequences,
surrogate behavior, and packed UTF-9/UTF-18 paths. The original Formal
SignWriting suite exhausts all 62,504 ordinary symbols, 250,000 ordered
coordinates, and all 1,112,064 Unicode scalars.
4. GREEN performance: quick executable gates passed for Formal SignWriting
(0.529x–0.897x baseline, 1.987x–2.004x doubled-work reductions), FSS-UTF
(0.415x–1.842x reference, 1.738x–1.985x reductions), UTF-5
(0.299x–0.536x reference, 1.896x–2.006x reductions), and UTF-6
(0.248x–1.207x reference, 1.956x–2.006x reductions).
5. GREEN release artifact: production compilation succeeds with warnings as
errors; `mix hex.build --unpack` succeeds with the Hex dependency
`iconvex ~> 0.1.1` and retains every selected runtime, source, legal,
manifest, inventory, and benchmark artifact. The unpacked artifact is
approximately 340 KiB. `SURFACE_MANIFEST.tsv` is 19 exact rows with SHA-256
`40e901f6d28d71a724609a1cacd1e1f6d1e8e1a49cbb90824f4494c2887510b1`.