M4: KV indexes with pattern trie, atomic and non-atomic write paths, read-repair, range findBy

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_017Qxbkp4tA7G5SCWjzWuxmE
This commit is contained in:
Claude
2026-10-23 07:04:19 +00:00
parent 8f8c880efd
commit 8bc1c27c40
3 changed files with 271 additions and 1 deletions
+1 -1
View File
@@ -7,7 +7,7 @@ export type Spec = { value?: unknown; children?: Record<string, Spec> }
/** Untyped default: any value, any children. */
export interface AnySpec {
value: unknown
children: Record<string, AnySpec>
children: { [key: string]: AnySpec }
}
export type ValueOf<S> = S extends { value: infer V } ? V : never