Promote persistent MTP boundary split candidate default - #1
Open
guelfoweb wants to merge 1 commit into
Open
Conversation
guelfoweb
added a commit
that referenced
this pull request
Sep 1, 2026
…ion (#302) Live run #1 proved the runtime half works and is not what blocks the decode. Twelve actions, twelve distinct programs, twelve distinct outputs: nothing to suppress, no duplicate, no wasted slot. The model extracted every decoder input it needed -- the encoded strings, the keys 60/123/102/46, the delimiters -- and then spent its last action listing the function body again instead of running the transformation. The system prompt already said a transformation outranks another read, but it says it once, at session start, among the rules. What the model reads immediately before choosing each autonomous step is the continuation message, and that asked only for "one new useful evidence-producing step" -- under which a twelfth distinct way to print the same file qualifies. So the priority is stated where the choice is actually made. It names no technique: no XOR, no encoding, no format. The existing generic-language test still enforces that, and the model still chooses what to run. The evidence-authority guard generalises from one protected constant with authorized additions to a map of them, each pinned the same way -- exact text at an exact anchor. Verified by mutation: rewording, relocating into the replan message, and inserting unrelated text are all still caught. Claude-Session: https://claude.ai/code/session_01HknqKjsLMcikPG2Xi9GyvU
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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.
Promotes persistent MTP boundary split to default while keeping
ORBIT_MTP_BOUNDARY_SPLIT=0as rollback.Review note:
This branch was built from a clean integration baseline that did not yet include the native backend/MTP package, so the PR may include
native_llama,native_server, and MTP tests as part of the isolated merge candidate. The review-critical behavioral delta is limited to the persistent MTP boundary split default, rollback flag, and documentation.Reviewer focus:
src/orbit/native_llama/vendor/shim/orbit_persistent_mtp.cppORBIT_MTP_BOUNDARY_SPLIT=0restores previous behaviordocs/LLAMA_DEEP_CLIENT_EXPERIMENT.mdnative MTP tests
Validation:
PYTHONPATH=src python3 -m unittest tests.test_native_persistent_mtp tests.test_native_mtp_experimental -qPASSpython3 -m compileall -q src tests scriptsPASSgit diff --checkPASSsmoke PASS on:
response_shortresponse_mediumlong_promptsession_reuse_repeatopt-out rollback verified with
ORBIT_MTP_BOUNDARY_SPLIT=0Benchmark:
Controlled with
taskset -c 0-5, 10 runs per mode per scenario.response_medium: median -14.3%, p75 -14.5%long_prompt: median -16.3%, p75 -16.5%session_reuse_repeat: median -24.0%, p75 -24.9%response_short: median +0.5%, p75 +0.3%Safety:
Risk:
CPU-only latency remains sensitive to scheduler noise. Keep
ORBIT_MTP_BOUNDARY_SPLIT=0available during stabilization and run follow-up benchmarks on another host before removing the rollback flag.Final decision:
Merge candidate.