Claims, commits and ledger

Claims are signed and kept, a commit is accepted only from the claim holder, memory replays into the same state, and usage is recorded in a signed ledger.

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

persistentClaim.test.ts4 tests

A signed claim is stored on disk; a captured claim proof replayed as an open, and mismatched key pairs, are refused.

claimSemanticSeeds.test.ts1 test

Claiming a namespace seeds its keys and polls.studio categories.

claimsOpenProfile.test.ts1 test

Opening a claim reads profile fields and the claim timestamp from semantic state.

signUpClaimFlow.test.ts

Sign-up: POST /claims as the first write with a real browser-derived proof, then open; a repeat or a different key is refused.

reRootClaims.test.ts7 tests

Re-issues claims under a new root with the same identity, key and time; idempotent, has a dry run, skips claims with an invalid signature.

commitGate.test.ts16 tests

POST /api/v1/commit takes a signed commit from the claim holder and refuses no proof, unclaimed namespaces, impersonation, non-members and replays. One known gap is marked todo.

commitsync.test.ts3 tests

Memories are committed to the ledger, synced incrementally, and replayed to rebuild state.

replayCanonicalization.test.ts2 tests

Write payloads become replayable .me memories, and claim seeds replay through the same path.

semanticBootstrap.test.ts1 test

Bootstrap seeds only the root schema roles into semantic memories.

semanticBranchReader.test.ts1 test

Reads an exact semantic branch without taking in sibling prefixes.

semanticDeleteOperator.test.ts1 test

The ':-' delete hides the previous value, keeps siblings and other identities, and allows a rewrite.

usageLedger.test.ts24 tests

The signed usage ledger: request events, window snapshots and a usage file; signatures verify, tampering breaks them, the key follows SEED.

requestCostLog.test.ts4 tests

The request path reads the kernel log without copying or changing it.