GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — doc(atlas): decision — one embedding model for every tier (#6060) by developing-today[bot] · Pull Request #7649 · developing-today/code

Conversation

@developing-today

@developing-today developing-today Bot commented Nov 8, 2026 •
edited by blacksmith-sh Bot
Loading

Uh oh!

There was an error while loading. Please reload this page.

Copy link
Copy Markdown
Contributor

Closes #6060.

Decision

One embedding model for every Atlas tier — cross-tier comparability by construction, not by correction at merge time. The per-tier-models + normalization route (per-model calibration, rank-based merge, per-tier quotas) is considered and rejected in the record, with reasons.

The record is grounded in the current code:

  • merge_top_k (pkgs/atlas-search/crates/atlas-core/src/shards/scan.rs) sorts raw cosine distance across all scanned shards — meaningful only in one vector space.
  • atlas_manifest records metric (validated: cosine only) but no embedding model — the one-model invariant that exists today in practice (atlas-embed: snowflake-arctic-embed-m-v2.0, local ONNX, 768d) is unenforced and unobservable.
  • The mandated model already runs locally, so the secret tier's local/API split is about where the same weights execute, not which model: no secret text needs an external embedding API.

Contract (M1–M6)

  • M1/M2: one model identity per fan-out; atlas_manifest gains an embedding_model key, validated at fan-out like the metric check — mixed-model sets fail loud, never merge partially.
  • M3: merge stays exact raw-distance; no per-tier score transforms at merge/rescore.
  • M4: tier boundary untouched — ceiling filtering still happens before merge; comparability never admits a shard (task(atlas): classification revalidation scan — verify nothing sensitive sits at the wrong tier #6021/atlas core consumer wiring: fleet atlas-search fan-out over the TursoDB shard core (tier ceilings, merge, --expand hydration) #5755 unaffected).
  • M5: query trace (design(atlas): retrieval statistics, result feedback, and query traces — top-K survival, thumbs + essays, per-stage scores #6027) records embedding_model per candidate and query_embedding_model at the head; a mixed-model trace is evidence of a breach, filed as a defect.
  • M6: embed pipeline and staging promotion assert the mandated model.

Cost consequences are stated in the record: a model change is a full-corpus re-embed with atomic cutover; tiers cannot adopt models independently; a tier that cannot run the mandated model stays out of cross-tier fan-out rather than diverging silently.

Implementation follow-ons (filed)

  • atlas: record embedding_model in atlas_manifest and refuse mixed-model fan-out (#6060 M1/M2) #7646 — manifest embedding_model key + fan-out validation (M1/M2)
  • atlas: query trace records per-candidate embedding_model provenance (#6060 M5, #6027 slice) #7647 — query-trace per-candidate model provenance (M5)
  • atlas: embed pipeline and staging promotion assert the mandated embedding model (#6060 M6) #7648 — embed pipeline / staging promotion assertion (M6)

Docs only; no code, tests, or behaviour change in this PR.


Autofix with [code]smith
Open in [code]smith · Need help on this PR? Tag @codesmith-bot with what you need.

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

All reactions
repo-worker-code-k
doc(atlas): decision — one embedding model for every tier, cross-tier…
77ea206
… comparability by construction (#6060)
@developing-today
developing-today Bot requested review from a team and dezren39 as code owners November 8, 2026 10:48
@coderabbitai

coderabbitai Bot commented Nov 8, 2026

Copy link
Copy Markdown

Important

Review skipped

Bot user detected.

To trigger a single review, invoke the @coderabbitai review command.

Run configuration

  • Source mode: Auto
  • Repository: Unavailable
  • Branch: Unavailable
  • File: No configuration file from this repository applied
  • Commit: Unavailable
  • Layers: defaults
  • Review profile: CHILL
  • Plan: Advanced
  • Run ID: b5a109ce-7ed2-431f-9511-f340cf235e81

You can disable this status message by setting the reviews.review_status to false in the CodeRabbit configuration file.

Use the checkbox below for a quick retry:

  • Trigger review
  • Autofix · Keep fixing CodeRabbit findings and required CI, and resolving merge conflicts

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

Share

  • X
  • Mastodon
  • Reddit
  • LinkedIn
All reactions

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

@developing-today developing-today Bot mentioned this pull request Nov 8, 2026
design(atlas): cross-tier vector comparability — score normalization when tiers use different embedding models #6060
Closed
@dezren39
dezren39 merged commit 68480ba into main Nov 8, 2026
3 of 5 checks passed

Uh oh!

There was an error while loading. Please reload this page.

@dezren39
dezren39 deleted the queue/13030-6060-cross-tier-comparability branch November 8, 2026 11:15
This was referenced Nov 8, 2026
design(atlas): secret-tier local embedder — model selection and fleet-hardware evaluation (secret text never leaves the fleet) #6059
Closed
docs(atlas): design secret-tier local embedder (#6059) #7720
Closed
atlas: record embedding_model in atlas_manifest and refuse mixed-model fan-out (#6060 M1/M2) #7646
Closed
atlas: query trace records per-candidate embedding_model provenance (#6060 M5, #6027 slice) #7647
Closed
This was referenced Nov 21, 2026
Closure audit: every closed issue/PR verified; unmerged branches + unpushed worktrees inventoried #7079
Open
task(atlas): classification revalidation scan — verify nothing sensitive sits at the wrong tier #6021
Closed
AUDIT-7 Lane 4 — MERGED-PR-AUDIT: merged PRs since 2026-10-23 vs their spawning issues #13879
Open
@dezren39 dezren39 added the audit:complete PR fully implemented spawning issue label Nov 25, 2026
@dezren39 dezren39 mentioned this pull request Nov 25, 2026
docs: AUDIT-7 batch 3 partial ledger (226 PRs, 4 invalid IDs) #14847
Merged
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Reviewers

@dezren39 dezren39 Awaiting requested review from dezren39

Uh oh!

There was an error while loading. Please reload this page.

Assignees

No one assigned

Labels

audit:complete PR fully implemented spawning issue

Projects

None yet

Milestone

No milestone

Development

Successfully merging this pull request may close these issues.

design(atlas): cross-tier vector comparability — score normalization when tiers use different embedding models

Uh oh!

There was an error while loading. Please reload this page.

1 participant

@dezren39
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
You are visitor 01402775 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.