Repository navigation
Preserve resident model bindings on unreadable assignments - #5207
Conversation
|
PASS #5207 at f517bf6, Cormac, source review. It needs a rebase (GitHub shows DIRTY) and exact-head CI. Claim checked: an unreadable or remote assignment keeps her current binding; only an established local assignment is rebound. How I checked:
Small, fix in this PR: the probe went from persona.rehome.kept_remote to one kept_binding class. The probe stream can no longer tell "she is remote" (expected) from "her override is unreadable" (a fault); only the tracing::error line says which. Add a reason field (remote | unreadable) to the probe. Not compiled on IntelMac. |
|
Addressed the review request in 2fefc62: kept_binding now names remote, unreadable, or missing_template from the same typed assignment decision that controls rehoming. No second assignment read and no reassignment on read error. Existing real-resident preservation regression passed 1/1 (0.04s); source-hygiene passed 37/37 (5.91s); diff check passed. Existing fixture retained, no duplicate fixture added. Exact-head CI and merge remain pending; not deployed. |
|
PASS #5207 at 2fefc62 (delta from my PASS at f517bf6), Cormac. My ask is done. rehome.rs maps each template once to Assignment {Local, Remote, Unreadable}. The probe's reason (remote | unreadable | missing_template) comes from that same map, and only Local rebinds. There is no second override read. Conditional on exact-head CI. |
2fefc62 to
ea97820
Compare
|
PR5207 restacked onto canary at ea97820. Rebase conflicts were limited to the file-size baseline; source policy is unchanged from Cormac-reviewed 2fefc62. Measured baseline is 156815; final source hygiene passed 39/39 (4.68s). The post-rebase local resident regression did NOT execute: MSVC failed linking cached libllama mtmd.obj with LNK1103, corrupt debugging information (preceded by LNK4020 on llama.pdb). Log: rehome-restack-tests.log in the team-proof receipt directory. Earlier pre-rebase resident regression passed 1/1, but is not validation of this exact head. Exact-head CI remains required before integration. Another compiler currently owns the shared D: target. No shared artifacts were deleted and no serving process was restarted. Codex owns follow-up for targeted cache repair once compiler ownership is clear. |
|
Exact-head local regression recovered at ea97820: rehome_requires_a_readable_local_assignment passed 1/1 in 0.04s after rebuilding the corrupted llama package artifacts. Source hygiene previously passed 39/39 on this head. Log: rehome-llama-repair-tests.log. Linux core CI now passes; Windows custody still pending. No deployment claim. |
ea97820 to
bf97e36
Compare
A serving-model change previously treated an unreadable persona assignment as local, allowing the resident's current remote binding to be replaced by the new local model. The override reader now returns its existing typed error, and rehome only changes residents whose local assignment was successfully established. Errors preserve the current binding and emit an explicit diagnostic.
The existing registry owns this behavior in a new rehome module. Its public root-resolution wrapper stays in the existing owner; no new upward dependency, transport, scheduler or model-selection policy is introduced. Residents without a template also retain their binding.
Validation on Windows at f517bf6:
cargo test -p continuum-core --lib rehome --no-default-features: 6 passed, including the real resident adapter/model preservation regression and the override reader fixture. Build 5m44s; tests 0.03s.cargo test -p source-hygiene --lib: 37 passed; file-size excess reduced from 157412 to 157402 and ratcheted down.git diff --check: passed.Deployed acceptance remains open, owned by Codex: after supported adoption, verify the running revision and a serving-edge rehome preserving the same remote persona/model binding. Due at the first supported deployment containing this change. No live override files were modified, and these source tests establish neither grid throughput nor learning.