Freeze phase 1 BLE protocol core migration

This commit is contained in:
John Poole 2026-05-17 13:32:09 -07:00
commit 91037ea77d
3 changed files with 382 additions and 0 deletions

View file

@ -0,0 +1,53 @@
-- 20260517 ChatGPT
-- $Header$
--
-- Example:
-- cd /usr/local/src/ble-reticulum/migration
-- sqlite3 ble_migration.sqlite ".read sql/mark_identity_helpers_field_accepted_20260517.sql"
--
-- Purpose:
-- Mark BLEInterface identity helper extraction as field accepted
-- after C++ equivalence tests, ARM tests on Zero devices, and
-- successful bilateral Constitution transfer.
BEGIN;
UPDATE symbols
SET status = 'FIELD_ACCEPTED',
phase = '1_protocol_core',
notes = trim(COALESCE(notes, '') || char(10) ||
'2026-05-17: FIELD_ACCEPTED. Identity helper C++ equivalents passed ARM tests on zerodev1/zerodev2. zerodev2 example: test_identity_helpers_cpp_equivalence.py reported 20 passed, 1 skipped. Fragmentation equivalence plus backend shim regression tests reported 36 passed. Bilateral Constitution transfer using C++ backend completed 100% in both directions with no missing or duplicate chunks.'),
updated_at = CURRENT_TIMESTAMP
WHERE source_file = 'src/ble_reticulum/BLEInterface.py'
AND class_name = 'BLEInterface'
AND symbol_name IN (
'_get_fragmenter_key',
'_compute_identity_hash'
);
INSERT INTO reviews (
symbol_id,
reviewer,
old_tag,
new_tag,
old_status,
new_status,
note
)
SELECT
symbol_id,
'jlpoole + Codex + ChatGPT',
tag,
tag,
status,
'FIELD_ACCEPTED',
'2026-05-17: Identity helper C++ equivalents accepted after ARM equivalence tests and successful bilateral Constitution transfer. zerodev2 identity helper test: 20 passed, 1 skipped. Fragmentation/backend shim regression: 36 passed. Field transfer: 100% complete both directions, no missing chunks, no duplicates.'
FROM symbols
WHERE source_file = 'src/ble_reticulum/BLEInterface.py'
AND class_name = 'BLEInterface'
AND symbol_name IN (
'_get_fragmenter_key',
'_compute_identity_hash'
);
COMMIT;