-- 20260517 ChatGPT
-- $Header$
--
-- Example:
--   cd /usr/local/src/ble-reticulum/migration
--   sqlite3 ble_migration.sqlite ".read sql/mark_phase1_frozen_20260517.sql"
--
-- Purpose:
--   Record Phase 1 freeze in review history.

BEGIN;

INSERT INTO reviews (
    symbol_id,
    reviewer,
    old_tag,
    new_tag,
    old_status,
    new_status,
    note
)
SELECT
    symbol_id,
    'jlpoole + Codex + ChatGPT',
    tag,
    tag,
    status,
    status,
    '2026-05-17: Phase 1 frozen at git tag phase1-ble-protocol-core-20260517. All CORE symbols are FIELD_ACCEPTED; no remaining CORE, UNKNOWN, or NEEDS_REVIEW symbols.'
FROM symbols
WHERE phase = '1_protocol_core'
  AND tag = 'CORE'
  AND status = 'FIELD_ACCEPTED';

COMMIT;
