Skip to content

Tie the promote-manifest escape to an f32 lineage sidecar - #102

Merged
jcdavis131 merged 1 commit into
masterfrom
cursor/promote-manifest-f32-tie-abf1
Oct 19, 2026
Merged

jcdavis131 merged 1 commit into
masterfrom
cursor/promote-manifest-f32-tie-abf1

Conversation

@jcdavis131

@jcdavis131 jcdavis131 commented Oct 19, 2026 •

Copy link
Copy Markdown
Owner

Based on current master (474dc067, #100 and #101 merged). Head: 4dc92b7b5348caee6c1955c446879b58df165358. Served model stays July v5 (july-v5-a4918f09); nothing is promoted.

Finding

record_exported_f32 restamped promoted/CURRENT.json and promoted/<run>/manifest.json under pipeline/data. That failed tests/test_e2e_smoke.py::test_the_export_stage_writes_nothing_under_pipeline_data on offline-build (job). Promote still cannot know the f32 sha (files.embedding.sha256 is the npz).

Fix

Export writes assets/mtnn_embeddings.lineage.json next to the f32 (not under pipeline/data):

  • embedding_f32_sha256
  • promote manifest path + promote_manifest_sha256
  • embedding_npz_sha256

check_served_model / matching_promote_manifest verify the served f32 against that sidecar and the sidecar's promote-manifest sha against CURRENT.json. record_exported_f32 is gone.

July v5 has no sidecar and stays pinned to INCUMBENT_F32_SHA256.

Tests

  • Real promote-then-export, no hand restamp: test_a_forced_lineage_passes_after_real_promote_then_export, test_export_writes_the_f32_meta_and_lineage_from_the_promoted_bundle (also hashes pipeline/data before/after export).
  • Mismatched f32 fails: test_a_forced_lineage_fails_when_sidecar_f32_sha_differs.
  • Sidecar pointing at a stale CURRENT fails: test_a_sidecar_pointing_at_a_stale_promote_manifest_fails.
  • E2E test_the_export_stage_writes_nothing_under_pipeline_data is unchanged and still required.

Checks

All green on 4dc92b7b:

Check Result
offline-build pass
site pass
served-model pass
ruff pass
budgets pass
Vercel pass
Vercel Preview Comments pass

Do not merge; leaving this for Cam.

Open in Web Open in Cursor 

@vercel

vercel Bot commented Oct 19, 2026 •

Copy link
Copy Markdown

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated
vector-hoops Ready Ready Preview Oct 19, 2026 3:16am UTC

Request Review

@jcdavis131
jcdavis131 changed the base branch from cursor/served-model-check-gaps-abf1 to master October 19, 2026 03:05
Export cannot restamp promoted/CURRENT.json or the promote manifest:
test_the_export_stage_writes_nothing_under_pipeline_data requires
export_assets to write nothing under pipeline/data. After writing the
served f32, export now writes assets/mtnn_embeddings.lineage.json
(embedding_f32_sha256, promote manifest path + sha256, npz sha256).

matching_promote_manifest and check_served_model verify the served f32
against that sidecar and the sidecar's promote-manifest sha against
CURRENT.json. files.embedding.sha256 stays the npz.

A real promote-then-export passes with no hand restamp; a mismatched
f32 fails; a sidecar pointing at a stale CURRENT fails. July v5 is
unchanged (no sidecar required; still pinned to INCUMBENT_F32_SHA256).

Co-authored-by: Cam Davis <jcdavis131@gmail.com>
@cursor
cursor Bot force-pushed the cursor/promote-manifest-f32-tie-abf1 branch from b843ed9 to 4dc92b7 Compare October 19, 2026 03:16
@cursor cursor Bot changed the title Tie the promote-manifest escape to the served f32 sha Tie the promote-manifest escape to an f32 lineage sidecar Oct 19, 2026
@jcdavis131
jcdavis131 marked this pull request as ready for review October 19, 2026 03:29
@jcdavis131
jcdavis131 merged commit 1aec45d into master Oct 19, 2026
9 checks passed

@cursor cursor Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Approved. Cursor Bugbot was not present on this PR after the first check poll, no applicable approval policies required human review, and this automation had no prior approval to re-evaluate. No reviewers were assigned.

Open in Web View Automation 

Sent by Cursor Approval Agent: Pull Request Router and Approver

This branch was successfully deployed

1 active deployment
Preview — 4dc92b7b Deployed Oct 19, 2026 by vercel[bot]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants