Namespaces and hosts

A host resolves to one canonical namespace, and a name that is not the root never receives the root's content.

81 tests in 13 files. Source: Typescript/tests/

hostResolver.test.ts4 tests

A host resolves to one canonical namespace; the longest known-space suffix wins; localhost is transport only.

hostProjection.test.ts1 test

Relative host memories project inside the user namespace.

declaredSpaces.test.ts16 tests

Declared spaces are validated at startup; a rejected start leaves the environment as it was.

processNamespaceRoot.test.ts4 tests

The root a monad starts under: a stated localhost stays as written, other loopback spellings are not made roots.

providerBootRoot.test.ts3 tests

The boot names the root and the address's own namespace, at the root, at www and at a handle host.

requestedNamespace.test.ts12 tests

?namespace= picks what a read returns, only for namespaces this monad serves; a write never uses it.

namespaceRootIsolation.test.ts9 tests

An address that is not the root never receives the root's directory or content.

reservedHandles.test.ts4 tests

Reserved labels such as www and api cannot be claimed as handles; www.<root> answers as the root.

ownerOfPath.test.ts7 tests

Who owns a canonical path: users.<label>.* belongs to the label, everything else to the root.

kernelManagerNamespace.test.ts3 tests

Namespace prefixes project into monad user kernel paths.

rootUsersProjection.test.ts1 test

Claimed users project from the root namespace.

observerRelation.test.ts8 tests

Observer routing: the forwarded public host is preferred, and ?as projects the observer without touching the target namespace.

selfMapping.test.ts9 tests

Selector matching against the local node, local versus remote identity, and the monad's own generated identity.