From da7d2498bc8c2225d355437eeecfe4c0e5709899 Mon Sep 17 00:00:00 2001 From: David Snelling Date: Thu, 3 Sep 2026 09:12:20 -0700 Subject: [PATCH] =?UTF-8?q?docs(changelog):=20the=2010.4.12=20note,=20cura?= =?UTF-8?q?ted=20=E2=80=94=20and=20the=20rail=20keeps=20a=20curated=20entr?= =?UTF-8?q?y=20instead=20of=20generating=20one=20across=20a=20diverged=20l?= =?UTF-8?q?ineage?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- CHANGELOG.md | 15 +++++++++++++++ scripts/release.sh | 14 +++++++++++++- 2 files changed, 28 insertions(+), 1 deletion(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 62d81cfb..fc577c1d 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -2,6 +2,21 @@ All notable changes to this project will be documented in this file. See [standard-version](https://github.com/conventional-changelog/standard-version) for commit guidelines. + +### [10.4.12](https://source.soulcraft.com/soulcraftlabs/open-brainy/compare/v10.4.11...v10.4.12) (2026-09-03) + +- Mixed-kind fields index exactly, arrays to 256, a drained loop is not a shutdown, and finds project from the column store +- fix(index): a metadata field holds every value kind it was written with — one posting column per (field, kind); an equality filter reads the query value's own kind, a range routes by its bounds; nothing is refused and nothing is silently dropped; an index written by the old shape opens unchanged (a128f0ed) +- fix(metadata): metadata arrays index up to 256 elements; a longer array refuses at write time by name (MetadataArrayTooLargeError) — a vector parked in metadata now throws; move it to `vector` (e435da78) +- fix(shutdown): beforeExit runs a non-closing flush only — a script that never calls close() exits with the writer lock on disk and no clean-shutdown marker, and the next open evicts the stale lock and folds the log, bounded; SIGTERM and SIGINT are unchanged (6baa4d7f) +- feat(find): field projection — find({fields}) and get({fields}) resolve scalars from the column store on every leg, including vector-leg finds; absent fields stay absent (ad0f493f) +- fix(find): orderBy is the order on every find path, not only the metadata-only one (5e720d17) +- fix(metadata): the legacy sparse range path orders values, or refuses by name — never ranks by hash (a7eb7f52) +- fix(close): a read-only brain writes nothing under `_system/` (f27a7776) +- fix(contract): the flush gate's internals are private, not doors (72c8ee6a) +- test(hygiene): the triple-intelligence correctness cases sit in the gate; the idle and connected-find pins name the brain they measure (28083981) +- ci(release): the rail writes its own wall entry into the shared releases repo — never hand-written again (adcb883e) + ### [10.4.11](https://source.soulcraft.com/soulcraftlabs/open-brainy/compare/v10.4.9...v10.4.11) (2026-09-02) - ci: superseded pushes cancel their own runs (concurrency per ref) (6053f6d4) diff --git a/scripts/release.sh b/scripts/release.sh index 142fa06f..a9a1f6e9 100755 --- a/scripts/release.sh +++ b/scripts/release.sh @@ -159,9 +159,21 @@ CHANGELOG_ENTRY="### [${NEW_VERSION}](https://source.soulcraft.com/soulcraftlabs ${COMMITS} " +# A CURATED entry wins over the generated one. When a release is cut from a +# lineage that diverged from the previous tag (a candidate branch carrying +# main's history), `git log ..HEAD` lists every commit the tag never +# saw — old notes, already-shipped fixes under new hashes, merge commits — and a +# wall entry derived from it would misreport the release. If CHANGELOG.md +# already carries a `### [NEW_VERSION]` heading, it was written on purpose: +# keep it, and skip the generated prepend entirely. +CURATED_ENTRY=false +if grep -qE "^### \[${NEW_VERSION}\]" CHANGELOG.md 2>/dev/null; then + CURATED_ENTRY=true + echo -e "${YELLOW}CHANGELOG already carries a curated ### [${NEW_VERSION}] entry — keeping it, not generating one from commits${NC}" +fi # Prepend to CHANGELOG.md after header -if [ -f "CHANGELOG.md" ]; then +if [ "$CURATED_ENTRY" = false ] && [ -f "CHANGELOG.md" ]; then # Read header (first 4 lines) HEADER=$(head -n 4 CHANGELOG.md) # Read rest of file