feat(research): R13 — каталог best-practice осей sweep + onboarding-батарея сеток (log-only) - #204
Merged
Merged
Conversation
…коллизии 'threshold'→hold, 'resize'→size)
matchesParam использовал bare-подстроку includes('hold') / includes('size'), из-за чего
entry.thresholdPct/dump.dropThreshold ложно матчились на hold_time (…thresHOLD), а resize* — на
sizing. До R12 это трогало лишь текст промпта, но onboarding-сетка (Task 4) строится на
matchesParam — поэтому сужаем до компаундных токенов + namespace-префиксов и пиним red-тестами.
Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
…log-only, все точки в trial ledger) Детерминированная маленькая сетка вокруг baseline-значений tunable-параметров бандла по каталогу осей (без LLM, denylisted оси исключены), прогон через ParamGridRunner (role 'train', тот же datasetScope/бандл) между успешным baseline-прогоном и enqueue strategy.wfo. Все точки попадают в trial ledger backtester сервер-сайд; событие strategy.onboard_battery.completed несёт counts + lonePeak/plateau (без магнитуд), сводка — artifact (без миграции). Fail-soft: любой сбой → strategy.onboard_battery.skipped, цепочка baseline→wfo не прерывается; off-режим байт-идентичен. Флаг LAB_ONBOARD_BATTERY_MODE (off|log), fail-closed резолвер (enforce → throw, стадия log-only), проведён env-schema/env/composition/app-services/make-services; ENV.md перегенерирован. trialFamilyHint в strategy-lane отсутствует — задокументировано как хвост (wire-контракт не тронут). Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
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.
research-validation-hardening item 6 (R13)
SWEEP_AXIS_CATALOG(72a6874): hold_time, entry_thresholds, stops_takes, cooldown, sizing, regime_as_axis + leverage denylisted (до liquidation-модели в engine); правила «wide plateau, not peak» и «include the expected degradation point» — выведены из analysis/13 G13, численные пороги не изобретались.4dfb6ee):SWEEP_DESIGNER_INSTRUCTIONS = BASE + SWEEP_AXIS_CATALOG_PROMPT(паттерн RESEARCHER_INSTRUCTIONS) + абзац SWEEP-GRID AWARENESS в researcher-capabilities; пин-тесты маркеров.8b9e798):denylisted_axis:*в validateSweepGrid — denylist первым, старые 4 reason-кода нетронуты (репинованы).3f8f3fa, из ревью): hold_time не матчит 'threshold', sizing не матчит 'resize' — red-тесты коллизий.0044bdc):LAB_ONBOARD_BATTERY_MODE(off|log, fail-closed); врезка в strategy-baseline.handler перед enqueue strategy.wfo — детерминированная сетка ±50% вокруг baseline-значений (без LLM, cap 12 точек, максимум 2 оси), прогон через ParamGridRunner → все точки в trial ledger сервер-сайд; событиеstrategy.onboard_battery.completed(counts + lonePeak, без магнитуд) + artifact-сводка; fail-soft — цепочка baseline→wfo не прерывается; off байт-идентичен.8ee5dc5).Хвосты (задокументированы в roadmap)
trialFamilyHintв strategy-lane отсутствует (StrategyExperimentRunRequest без поля — wire-контракт осознанно не менялся); onboarding-точки группируются по moduleRef.id+окну.Ревью
Потасковые (Tasks 1–3 Approved с 1 Important — исправлен 3f8f3fa; Task 4 Approved) + финальное whole-branch: READY TO MERGE.
Тесты
pnpm checkна HEAD: 334 files / 4055 passed (88 skipped), typecheck чист. Существующие тесты не редактировались.🤖 Generated with Claude Code