Something went wrong. Try again.
Monorepo for Aesthetic.Computer aesthetic.computer
Something went wrong. Try again.
keeps: fix E11000 dup key { hash: null } on first keep of Datomic-only pieces master
The kidlisp_hash_unique index was plain unique (not sparse/partial), so any second doc lacking a real hash collided on { hash: null }. keep-confirm's upsert inserts such hash-less rows for pieces that live only in Datomic. - store-kidlisp: make the hash index PARTIAL ({ hash: $type string }), with an auto-migration that drops + recreates the old plain-unique index. - keep-confirm: seed source/hash/when via $setOnInsert from the Datomic record so first-keep upserts never write a { hash: null } row. Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
Author prompt.ac/@jeffrey Co-author Claude Opus 4.8 Date (Jun 16, 2026, 11:45 PM UTC) Commit 69841c43 69841c4315d96dcb8b794cdb67a31087763f4494 Parent b85152f7 b85152f768622ec944412b8882fb921a341ceef5