GeezerVison is showing github.com — atlas-search: build-provenance hardening — Gate A parity must catch a divergent embedder build under the same FOD hash · Issue #5599 · developing-today/code
atlas-search: build-provenance hardening — Gate A parity must catch a divergent embedder build under the same FOD hash #5599DescriptionProvenance of this issue — read first
This issue exists to examine a claim, not to report a confirmed defect.
During Atlas step 6 (#5356, Gate B + cutover), a mid-run relayed report claimed the embed builds are bimodal under one FOD hash: one machine's build embedding ~+0.88% uniformly "hot", another's ~−30% "cold", with both builds passing the startup assertion. That claim does not appear in step 6's final report and is UNVERIFIED. It may be a misread relay, a scratch-instance artifact, or real; nobody has reproduced it.
What IS verified, from step 6's completed work:
- Gate B's fresh paired run produced byte-identical top-10 lists on 309/309 questions (Rust packaged build vs the Python reference, production corpus).
- The cutover battery passed cross-machine: via-service ≡ standalone results, and the sensitivity-ceiling canary behaved correctly.
- Conclusion from evidence: the currently deployed builds are consistent. There is no known live defect.
Why file it anyway
If the claim were true, it would be exactly the failure Gate A (embedder parity, #5351) exists to catch — and it would have slipped past it: two divergent embedder builds sharing one fixed-output-derivation hash, both green at startup, silently returning different rankings depending on which machine built or served the closure. Atlas step 7 should not dispatch on an unexamined provenance claim of that shape.
Asks
- Verify or refute the bimodality claim with a two-builder experiment: build the atlas-search closure on two machines, embed a fixed probe set with each build, and compare against the pinned reference embeddings within a tight cosine tolerance. Record the numbers either way.
- If real: strengthen Gate A (the startup/reference parity check) so a divergent build fails loud instead of passing, and separate per-machine build outputs so divergent artifacts cannot share one FOD hash.
- Either way: record the verdict on this issue and on epic Epic: Atlas as a Rust binary + multi-client search service (b+c) #5350, so step 7's dispatch rests on an examined claim.
Severity
Hardening / pre-step-7 gate. Not a live defect; no user-facing impact is known or claimed. Activitydezren39 commented on Nov 5, 2026 🤖 Agent note · handed off
dezren39 commented on Nov 8, 2026 🤖 Agent note · handed off
dezren39 commented on Nov 8, 2026 🤖 Agent note · picked up (resume)
- Worker: repo-worker-code; lane ec118cad-0fd3-4652-91c4-27432f2f2efd (OpenChamber scheduled lane)
- Queue task: 13253, attempt 5; atomic claim 2026-11-08T19:10Z
- Task: Verify the unconfirmed Atlas same-FOD embedder bimodality claim with two independent builders; only harden Gate A if measured divergence confirms it.
- Verified: atlas-search: build-provenance hardening — Gate A parity must catch a divergent embedder build under the same FOD hash #5599 OPEN, no hard-stop labels; prior handoffs left paired-builder evidence outstanding.
- Next: inspect local/CI builder options and pinned Gate A command; preserve any experiment artifacts and report a verdict without treating the relay as a confirmed defect.
dezren39 commented on Nov 8, 2026 Verdict — refuted (no divergence measured)
Task 13253 · worker repo-worker-code · lane ec118cad-0fd3-4652-91c4-27432f2f2efd · 2026-11-08
The relayed claim was that two embedder builds sharing one FOD hash could return bimodal embeddings (~+0.88% "hot" vs ~−30% "cold") while both passed the startup assertion. I ran the paired comparison on current origin/main (26018ce4e7589dee2f5c1d461dae081272ddcad4). Every comparison was bit-identical. No divergence was reproduced.
What was compared
| Path |
Implementation |
Inputs |
Result |
| Builder 1 — Gate A |
Rust atlas-embed + ort 2.0.0-rc.15 loading ORT 1.31.1 |
model/tokenizer sha256 verified against pinned provenance |
11/11 probes, max|Δ| 0.000e0, 0 bitdiffs |
| Builder 2 — reference pipeline |
Python gen_fixtures.py (transformers 5.21.0, tokenizers 0.23.3, ORT 1.31.1) — a genuinely independent implementation |
same pinned HF snapshot |
11/11 probes, 0 bitdiffs vs the committed fixture |
| Artifact reproducibility |
nix build of the ORT derivation /nix/store/ddjlcgah…-onnxruntime-1.31.1.drv |
— |
rebuilt to the same output path /nix/store/0iky5qhwyikjn5n2psr2j2dd0sijr79j-onnxruntime-1.31.1, same libonnxruntime.so.1.31.1 sha256 74941342a410b95b… |
Provenance recorded
- Model
Snowflake/snowflake-arctic-embed-m-v2.0 rev 95c2741480856aa9666782eb4afe11959938017f
onnx/model.onnx sha256 c0c53d7f49a2db60761b92b7bbf5be87a7b3cf5d92dbbd7f1b5028bd5a40aa39 — matches pinned provenance
tokenizer.json sha256 f1cc44ad7faaeec47241864835473fd5403f2da94673f3f764a77ebcb0a803ec — matches
- ONNX Runtime 1.31.1, intra 8 / inter 2 threads, CLS pooling, L2 normalize, f32
Per-probe table (both builders identical):
probe tok max|d| bitdiff verdict
spike_fox ok 0.000e+00 0 IDENTICAL
spike_query_prefix ok 0.000e+00 0 IDENTICAL
spike_semantic ok 0.000e+00 0 IDENTICAL
spike_single_char ok 0.000e+00 0 IDENTICAL
spike_japanese ok 0.000e+00 0 IDENTICAL
spike_empty ok 0.000e+00 0 IDENTICAL
corpus_6359 ok 0.000e+00 0 IDENTICAL
corpus_15202 ok 0.000e+00 0 IDENTICAL
corpus_39430 ok 0.000e+00 0 IDENTICAL
corpus_long ok 0.000e+00 0 IDENTICAL
query_style ok 0.000e+00 0 IDENTICAL
Scope limit — stated plainly
The original relay artifact and its logs were never recovered, so this does not claim to have reproduced the original observation. What it does establish is that on the current pinned closure the embedder is bit-reproducible across two independent implementations and a from-derivation rebuild, with no bimodality. The "same FOD hash, different bytes" mechanism is not present in the current pin.
Consequence
- No code change. Gate A hardening is conditional on measured divergence, and none was measured. Per the task's acceptance criteria, no speculative changes were made and no fixtures or tolerances were touched.
- Gate A's remaining
#[ignore] status in ordinary CI is a coverage gap, not a provenance defect; it is tracked separately from this verdict and is not evidence of bimodality.
- The fixture file was regenerated only in a scratch copy and restored; the committed fixture is unchanged.
Closing this issue as no longer reproducible with the evidence above.
dezren39 commented on Nov 8, 2026 🤖 Agent note · done
- Worker: repo-worker-code; lane ec118cad-0fd3-4652-91c4-27432f2f2efd (OpenChamber scheduled lane)
- Queue task: 13253, attempt 5 → terminal
already_done (verification-first task, verdict = refutation)
- Outcome: no divergence measured; Gate A hardening not warranted; no code change, no PR
- Evidence: Rust Gate A 11/11 delta 0.0; Python reference 11/11 0 bitdiffs; ORT derivation rebuild identical
- Recorded on: epic Epic: Atlas as a Rust binary + multi-client search service (b+c) #5350 (comment 6725901871)
- Closing as no longer reproducible. Clearing all queue/work/status labels.
MetadataMetadataDevelopmentNo branches or pull requestsIssue actions
|