open-brainy/scripts
David Snelling ff43de1ada feat(recovery): the fold-checkpoint bound — crash folds (checkpoint, head], never the whole log twice
The fold checkpoint (_system/fold-checkpoint.json) is stamped strictly after
a canonical-sync barrier over every live entity touched since the last stamp
(syncEntityCanonical: ids → canonical paths → fsync; an absent file fsyncs
its parent directory so deletes are as durable as writes). An unclean open
under log authority now folds only (checkpoint, head]; the chain bootstraps
at an empty brain's adoption (three-phase hooks around adoptLogAuthority) or
at a brain's first whole-log fold — existing brains converge at their first
crash with zero regression. Rollback restores sync immediately; abort paths
feed the barrier; a failed barrier retains the old bound (bigger fold later,
never a lost write). Five structural pins including boundedness itself.

Also: the production-shaped write-flow gate leg (mixed traffic racing
flushes, crash mid-traffic, every ack survives — from a consumer-reported
gate miss), and two release-ceremony cures (tag-first push so the publish
never queues behind the release commit's CI run; raw-curl npmjs shasum
probe with propagation grace instead of a one-shot false divergence).
2026-08-12 16:56:08 -07:00
..
build-candle-wasm.sh feat: migrate embeddings to Candle WASM + remove semantic type inference 2026-01-06 12:52:34 -08:00
buildEmbeddedPatterns.ts fix: handle potential undefined embedding vectors in buildEmbeddedPatterns 2025-09-29 10:10:00 -07:00
buildTypeEmbeddings.ts feat: Stage 3 CANONICAL taxonomy with 169 types (v5.5.0) 2025-11-06 09:02:23 -08:00
check-patterns.cjs fix: use .cjs extension for check-patterns script 2025-08-27 10:00:56 -07:00
check-type-embeddings.cjs perf: pre-compute type embeddings at build time (zero runtime cost) 2025-10-09 18:08:57 -07:00
push-docs.js chore: push public docs to the soulcraft.com ingest door on release 2026-07-18 14:02:23 -07:00
release.sh feat(recovery): the fold-checkpoint bound — crash folds (checkpoint, head], never the whole log twice 2026-08-12 16:56:08 -07:00
setup-dev.sh feat: migrate embeddings to Candle WASM + remove semantic type inference 2026-01-06 12:52:34 -08:00