Uh oh!
There was an error while loading. Please reload this page.
test(headless): retrieval arm activation contract + prune A/B smoke profiles - #623
Merged
Merged
Conversation
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 freeto 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.
Summary
Two pieces preparing the next #481 measurement slices (stale-prune multi-turn A/B, then eager-retrieval A/B):
MAKA_CONTEXT_ARCHIVE_RETRIEVAL=on, the built backend options must carry the placeholder producer (staleToolResultPrune.enabled), the eager retrieval policy, and both archive writer/reader callbacks.maka-prune-default(defaults + continuation, low per-turn step cap so turns actually roll over),maka-stale-off(A arm for the stale A/B),maka-retrieval-on(B arm for the retrieval A/B).Why
Refs #481 (see the status-update comment). The #340-era arms enabled
MAKA_CONTEXT_ARCHIVE_RETRIEVALwithout stale prune; eager retrieval only hydrates stale-kind placeholders, so the flag was structurally inert and nobody noticed. The contract test makes that failure mode impossible to reintroduce silently, and the committed profiles make tomorrow's runs reproducible instead of living in local runner configs.Verification
npm run -w @maka/headless test: 737 pass / 0 fail / 1 skipped (new contract test included)terminal-bench-sample-runs.jsonparses (python3 json.load); the smoke script resolves profiles dynamically from the manifest, usage text updatedReviewer notes
MAKA_MAX_STEPS=50with continuation max 3 turns / 150 total steps so tasks cross turn boundaries — stale prune and retrieval only act cross-turn, and a single-turn run measures nothing (the feat(headless): validate active-prune 2048 #340 lesson).