hypnotranz 1a0419dc0c feat: initial Matrix SDK
Full SDK workspace: core, contracts, sdk, cli, browser-host, browser-kit,
federation, omega-core, oracle, self-healing, strategies, tools, emacs.
Clean extraction from the development monorepo.

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
2026-06-07 15:54:15 -06:00

11 lines
427 B
TypeScript

import assert from 'node:assert/strict';
import test from 'node:test';
import { getOrCreateIdentityTabRoot } from '@open-matrix/federation/tab_realm';
test('identity tab root uses the app name as the middle segment', () => {
const root = getOrCreateIdentityTabRoot('director', 'test-user-1');
assert.match(root, /^test-user-1\.DIRECTOR\.SESSION-[A-Z0-9]{8}$/);
assert.equal(root.includes('SPACE-HIVECAST'), false);
});