feat: expand companion platform, device controls, and memoir workflows
ci / verify (push) Canceled after 0s

Add customer and operator login, BLE provisioning, device fleet controls, call memory, memoir generation, and refreshed family and maintenance portals. Include API contracts, migrations, firmware sources, tests, assets, and deployment documentation.
This commit is contained in:
Codex Local
2026-10-08 10:06:44 +08:00
parent 98fb2965d0
commit bf1233d5df
861 changed files with 94614 additions and 3209 deletions
@@ -0,0 +1,13 @@
BEGIN;
CREATE TABLE trusted_login_device (
token_hash char(64) PRIMARY KEY,
realm text NOT NULL CHECK (realm IN ('customer','operator')),
phone_digest char(64) NOT NULL,
credential_digest char(64) NOT NULL,
verified_at timestamptz NOT NULL,
expires_at timestamptz NOT NULL,
revoked_at timestamptz
);
CREATE INDEX trusted_login_device_phone_idx ON trusted_login_device(realm,phone_digest);
CREATE INDEX trusted_login_device_expiry_idx ON trusted_login_device(expires_at);
COMMIT;