Repository navigation
v1.5.0-rc.3
Pre-releaseRelease Notes 1.5.0-rc.3
Released: 2026-11-22
The third 1.5.0 candidate is almost entirely about SurrealDB 4.0.1. The one-way store conversion that ships with 1.5.0 left several statements whose SQL had not changed since 1.4.13 being planned as full-table reads, so context packs, the duplicate finder and the hourly embedding sweep all got slower after conversion. This release rewrites those read paths to be served from an index or a pushed-down scan, and fixes a publish pipeline that let a release candidate take over the stable install channels.
Highlights
A release candidate no longer moves stable channels
1.5.0-rc.2 was the first candidate to finish publish, and publish had a single path for every version: the Homebrew tap formula, the latest tag on both registries and the GitHub release marked latest all moved to the candidate. Anyone asking for the current release got a prerelease that carries a one-way store conversion. A candidate now ships every versioned artifact and moves no default. The tap push, the AUR push, the latest tag and the promotion step are all held back, and the release body omits the tap and AUR install lines, since those channels still serve the last final release.
Context packs rebuilt from index plans
Five context packs went from 7.6-18.5 s to 1.5-3.5 s returning identical items. Each rewritten statement was proven to return the shipped statement's rows on a scratch copy of a converted store: the validation recall read (1.55 s to 5 ms), the exact-key lane (1.75 s to about 100 ms, using ANYINSIDE in place of the element-index plan and its NONE branch), and the edge and raw capture vector lanes, where small scopes are now read and scored exactly (7.9 s to 0.2 s for a 40-entity project).
The relationship writer stops scanning per edge
On 4.0.1 the bulk relationship writer scanned the edge table once per edge. Rewritten, it went from 2.1 s for a single edge to 31 ms for six. The operational snapshot, the reflection reads that bind a $parent parameter, and the cohort, dream and correction reads got the same treatment.
Duplicate finder and embedding sweep stop decoding every row
The two background jobs that dominated a converted store's slow-statement time now answer without decoding the whole table. Dedup keeps type and scope filters out of the HNSW walk, which 4.0 otherwise continues until k rows pass: 120 type-filtered and 60 scope-filtered seeds returned the shipped walk's rows in 7.5 s and 3.7 s against 19.6 s and 47 s. The sweep's settled check is now a plain-comparison table scan: 59 ms for entities and 172 ms for edges, against about 2 s per statement before.
Preflight proves the release notes key
A real 1.5.0-rc.2 cut passed every gate and then died on a 401, because the provider key had been revoked since the last release. Nothing was pushed or tagged, but the dry run had reported the cut was ready. Preflight now asks the provider for the notes model with the same secret on dry runs and real cuts alike.
Retrieval and Context Packs
- New
backends/surreal/id_lookups.pyprovidesrows_by_uuid(), which reads one row per id through a closure instead of letting an id list bound at run time scan the table. Each lookup costs about a millisecond per id. Because uuid is unique table-wide, the organization is filtered in the select that reads the returned array. RAW_CAPTURE_STATE_FOR_KEYreads a ledger row by the record key its writer gives it, with no planner involved. An equality on the ledger's compound identity index walks the organization's whole prefix on 4.0 (33 ms per key at 9,800 states).retrieval/_search_sources.pyandservices/content_raw_recall.pycarry the bulk of the lane rewrites, with new coverage intests/test_raw_recall_exact_scan.pyandtests/test_edge_vector_project_scan.py.- Three snapshot reads that write guards embed deliberately keep their shipped SQL. Inside a block that also writes, 4.0.1 scans the table for every closure lookup: 17.8 s for twelve ids over 9,800 captures, against 56 ms for a single
INover a client list.
Background Jobs
retrieval/dedup.pywalks twice the candidate limit deep, evaluates filters on the rows the walk returns, and re-reads a seed with the filtered walk when its pool comes back full.- Seed pages are now fetched by uuid from an order read once.
STARTandLIMITdecoded every row before the offset, costing 128 s a run against 5.5 s. embeddings/provenance.pyaddsvector_identity_differs_from(), which emits the identity predicate as plain field-to-value comparisons a scan can test on stored bytes before decoding. A??on either side, or a comparison with no field in it, forces the scan to decode every row first: 1.7 s against 0.15 s over 17,700 entities carrying a vector. TheNULLhandling is decided in Python from the stamp.services/content_raw_embedding_repair.pyruns one scan per pass to decide how to read its pages. When the organization owns the table, a converged pass costs that scan and a second like it: about 0.15 s per 10,000 captures. In a table that organizations share, the organization's uuid index is walked and each of its captures decoded, about 1.7 s per 10,000 (1.7 s at 9,800 in_run_pass).services/embedding_sweep.pyaddsscan_projection()andscan_saw_everything(). A table with more than a page owed, or one that organizations share, keeps the uuid-index walk. The scans return an in-scope flag and never another organization's identifiers.
SurrealQL Query Building
backends/surreal/in_clumps.pyadds empty-list handling:clumped()with no values now returns the literal[]and binds no parameters, because 4.0 answersfield IN []by reading the table where 3.x read nothing. The 32-valueIN_CLUMPboundary itself is unchanged.retrieval/_search_lifecycle.pyis where that boundary is newly applied. The supersession lookup batch size drops from a hardcoded512toIN_CLUMP, and the edge-rows-by-uuid read is now built withclumped(). Past one clump, neither planner servestarget_id INfromidx_relates_target_created, and each statement scansrelates_to.
Release Pipeline
publish.ymlgains aRELEASE_CANDIDATEflag derived from the tag. Any tag containing a hyphen counts as a candidate, so an unexpected spelling (rc1,beta.1) is held back rather than treated as final.- The Homebrew and AUR jobs still run on a candidate, because their output is release evidence. The formula is generated and install-tested; the AUR
PKGBUILDis generated and attached but not install-tested.docs/admin/releasing.mdwas corrected to stop claiming otherwise. release.ymladds a "Verify the release notes key" step that calls the provider's model lookup with theANTHROPIC_API_KEYsecret. The call is free and distinguishes a dead key (401) from a retired model (404) in its error output.- Contract tests in
tools/tests/test_release_workflow.pycompare the three candidate step conditions exactly, check that the release body's gate is shell rather than text inside a heredoc, and tie the preflight probe to the secret and model the notes step uses so the two cannot drift. - The verification checklist now states that a candidate is complete as a prerelease: its versioned artifacts point at the recorded version while the tap, the AUR and
lateststill name the last final release.
Dependencies
- Bumped 11 packages in the
web-devgroup acrossapps/web,docsand the workspace root, withpnpm-lock.yamlregenerated.
Upgrade Notes
- This candidate is not on the stable channels by design.
brew install sibyl,paru -S sibyland thelatestimage tag still resolve to the last final release. Install 1.5.0-rc.3 by explicit version or by pulling the1.5.0-rc.3image tag. - The store conversion is one way. Take a backup before converting; a converted store cannot be read by the previous engine.
- Default image tags move to
1.5.0-rc.3indocker-compose.quickstart.ymland in the Ansible role (roles/sibyl/defaults/main.ymland its bundleddocker-compose.yml). Override withSIBYL_IMAGE_TAGorsibyl_versionif you pin elsewhere. - Both Helm charts bump their chart
versionto1.5.0-rc.3, and thesibylchart bumpsappVersionto match. Thesurrealdbchart keepsappVersion: "4.0.1"; no chart image reference changed in this range. - Releases now fail in preflight if
ANTHROPIC_API_KEYis empty, revoked, or its model has been retired. Confirm the secret is live before dispatching a cut. - If you carry local forks of the rewritten read paths, re-check them against 4.0.1 plans. The SQL changes here are plan-driven, not behavior-driven, and every rewrite was validated to return the shipped statement's rows.
Install
Local server
curl -fsSL https://raw.githubusercontent.com/hyperb1iss/sibyl/main/install.sh | sh -s -- --version 1.5.0-rc.3Remote CLI
curl -fsSL https://raw.githubusercontent.com/hyperb1iss/sibyl/main/install.sh | sh -s -- --remote --version 1.5.0-rc.3
sibyl init --remote https://sibyl.example.com
sibyl auth loginHeadless server
curl -fsSL https://raw.githubusercontent.com/hyperb1iss/sibyl/main/install.sh | sh -s -- --version 1.5.0-rc.3 --no-openKubernetes (Helm)
helm repo add sibyl https://raw.githubusercontent.com/hyperb1iss/sibyl/gh-pages
helm repo update sibyl
helm upgrade --install sibyl sibyl/sibyl --version 1.5.0-rc.3Artifacts
This release includes Python wheels and sdists, the generated
Homebrew formula, the generated AUR PKGBUILD, Helm charts, Docker
SBOMs, aggregate dual-registry cosign receipts, and a SHA256 checksum
manifest.