Title: Atlas step 2: core search library (atlas-core) · Issue #5352 · developing-today/code · GitHub
Open Graph Title: Atlas step 2: core search library (atlas-core) · Issue #5352 · developing-today/code
X Title: Atlas step 2: core search library (atlas-core) · Issue #5352 · developing-today/code
Description: Step 2 of the Atlas binary+service epic (#5350). Design of record: doc/2026-11-04T08-07-13Z_design_atlas_binary_service/ (§4 atlas-core, §5 Gate C). Scope atlas-core crate: the search semantics of the Python atlas_search.py, ported faith...
Open Graph Description: Step 2 of the Atlas binary+service epic (#5350). Design of record: doc/2026-11-04T08-07-13Z_design_atlas_binary_service/ (§4 atlas-core, §5 Gate C). Scope atlas-core crate: the search semantics of ...
X Description: Step 2 of the Atlas binary+service epic (#5350). Design of record: doc/2026-11-04T08-07-13Z_design_atlas_binary_service/ (§4 atlas-core, §5 Gate C). Scope atlas-core crate: the search semantics of ...
Opengraph URL: https://github.com/developing-today/code/issues/5352
X: @github
Domain: github.com
IPv4 address: 140.82.114.4
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"Atlas step 2: core search library (atlas-core)","articleBody":"Step 2 of the Atlas binary+service epic (#5350). Design of record: `doc/2026-11-04T08-07-13Z_design_atlas_binary_service/` (§4 `atlas-core`, §5 Gate C).\n\n**Scope**\n- `atlas-core` crate: the search semantics of the Python `atlas_search.py`, ported faithfully — `Filters`→SQL construction (classification filters as pre-filters on BOTH branches), sensitivity ceiling logic (`SENS_ORDER = [shareable, personal, local-only, secret-bearing]`, default ceiling `personal`, ceiling applied **before** ranking), branch query builders (FTS5/BM25 + vector), RRF fusion (k=10, pool 100 defaults), the result envelope types (results carry `rank_sources` + fused `score`, matching the Python's JSON shape).\n- A `SearchBackend` trait with two implementations: **Turso** (libsql HTTPS pipeline, read-only token) and **Local** (SQLite publish files; side stores joined by **content hash**, never chunk_id).\n- All three vector strategies behind a `VectorBackend` enum — `Scan` (exact `vector_distance_cos` over the pre-filtered allowed set), `IndexFixed`, `IndexFill` (escalating depth, cap 3200) — mirroring the Python's `--vector-backend` modes.\n- Query embedding is consumed through a trait so fixture vectors stand in during this step (the real embedder is step 1).\n\n**Dependencies:** none hard (fixture vectors stand in for step 1). The **default** `VectorBackend` is decided by the golden-311 A/B running on the Python (design Gate C): start with `Scan` (the incumbent); if the A/B verdict lands during this step, set the default to the winner — a one-line change, recorded on this issue.\n\n**Verification gate (exit criteria)**\n- Core-level tests reproduce the Python's branch/fusion behavior on fixture data: identical fused rankings (same order, same scores within float formatting) for a recorded set of Python-produced branch pools, including ceiling-filtered cases where restricted chunks must be absent from pools entirely (not merely down-ranked).\n- Envelope serialization matches the Python's field-for-field on golden examples.\n\n**Out of scope:** the embedder (step 1), CLI argument surface (step 3), HTTP anything (step 4).\n","author":{"url":"https://github.com/dezren39","@type":"Person","name":"dezren39"},"datePublished":"2026-11-04T08:11:02Z","url":"https://github.com/developing-today/code/issues/5352"}
| react-profiling | 0 |
| react-import-map | react,react-dom,react-dom/client,react-dom/profiling,react-is,react/compiler-runtime,react/jsx-dev-runtime,react/jsx-runtime,scheduler@b8488ee2c322 |
| route-pattern | /_view_fragments/issues/show/:user_id/:repository/:id/issue_layout(.:format) |
| route-controller | voltron_issues_fragments |
| route-action | issue_layout |
| fetch-nonce | v2:4907f72b-af70-c9c7-8e3a-1ce1651c7fe0 |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | C15A:A3002:824F85:AD535F:6B063420 |
| html-safe-nonce | f5d148ebd17841d03fa550e6b4fe1719cadbe9b0230f1ca7ad901088397ffa97 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJDMTVBOkEzMDAyOjgyNEY4NTpBRDUzNUY6NkIwNjM0MjAiLCJ2aXNpdG9yX2lkIjoiMjQ2NDE0OTk3NzkxNjkxMjY3MiIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9 |
| visitor-hmac | ef6fd5683e8943fbb0eed272ca356ba9c5fe5e71e08999b1a1e117bdb8021a4a |
| hovercard-subject-tag | issue:6199010103 |
| github-keyboard-shortcuts | repository,issues,copilot |
| google-site-verification | Apib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I |
| octolytics-url | https://collector.github.com/github/collect |
| analytics-location | / |
| fb:app_id | 1401488693436528 |
| apple-itunes-app | app-id=1477376905, app-argument=https://github.com/_view_fragments/issues/show/developing-today/code/5352/issue_layout |
| twitter:image | https://opengraph.githubassets.com/630b1d5edbfa22efd2dda5b3ba2680e52ca11ed5f2cb4806875d55122bc44852/developing-today/code/issues/5352 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/630b1d5edbfa22efd2dda5b3ba2680e52ca11ed5f2cb4806875d55122bc44852/developing-today/code/issues/5352 |
| og:image:alt | Step 2 of the Atlas binary+service epic (#5350). Design of record: doc/2026-11-04T08-07-13Z_design_atlas_binary_service/ (§4 atlas-core, §5 Gate C). Scope atlas-core crate: the search semantics of ... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | dezren39 |
| hostname | github.com |
| expected-hostname | github.com |
| None | c3584c853cd39700ecff6e2cf8364295ffdb5313e571046c41cd2479270f7df0 |
| turbo-cache-control | no-preview |
| go-import | github.com/developing-today/code git https://github.com/developing-today/code.git |
| octolytics-dimension-user_id | 26439447 |
| octolytics-dimension-user_login | developing-today |
| octolytics-dimension-repository_id | 627308783 |
| octolytics-dimension-repository_nwo | developing-today/code |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | false |
| octolytics-dimension-repository_network_root_id | 627308783 |
| octolytics-dimension-repository_network_root_nwo | developing-today/code |
| turbo-body-classes | logged-out env-production page-responsive |
| disable-turbo | false |
| browser-stats-url | https://api.github.com/_private/browser/stats |
| browser-errors-url | https://api.github.com/_private/browser/errors |
| release | 9eb3bb1597d09170a5f282cd38ae376dee1a5ec1 |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
| react-app-name | issues |
Links:
| Server | github.com |
| Content-Type | text/html; charset=utf-8 |
| Cache-Control | max-age=0, private, must-revalidate |
Viewport: width=device-width