docs(review): stop claiming the self-improve D1 tables don't exist#6232
Conversation
ops-wire.ts's header says the auto-tune/auto-apply loop stays deferred because it needs the tunables_overrides / _shadow / override_audit D1 tables, "none of which exist in loopover's migrations yet". They do: JSONbored#4879's migration 0047_self_improve_tunables.sql creates all three, and src/review/auto-apply.ts already implements the pure logic plus the D1 store against them. The comment even contradicted itself, noting that store already exists while claiming its tables did not. The deferred conclusion is still correct, so only the stale premise is removed: closing the loop remains blocked on the careful soak/promote design -- the shadow-soak-then-promote lifecycle auto-apply.ts's own isStrictlyTightening / evaluateShadowPromotion already anticipate. A reader is no longer misled into thinking the D1 schema is what is missing, when the real remaining work is that design. Comment-only: no executable line changes. Closes JSONbored#6195
|
Superagent didn't find any vulnerabilities or security issues in this PR. |
Codecov Report✅ All modified and coverable lines are covered by tests. Additional details and impacted files@@ Coverage Diff @@
## main #6232 +/- ##
=======================================
Coverage 95.35% 95.35%
=======================================
Files 598 598
Lines 47102 47102
Branches 14988 14988
=======================================
Hits 44913 44913
Misses 1464 1464
Partials 725 725
Flags with carried forward coverage won't be shown. Click here to find out more.
|
|
Tip ✅ LoopOver review result - approve/merge recommendedReview updated: 2026-07-15 23:39:14 UTC
Review summary Nits — 3 non-blocking
Decision drivers
Context & advisory signals — never blocks the verdict
Linked issue satisfactionAddressed Review context
Contributor next steps
Signal definitions
🧪 Chat with LoopOverAsk LoopOver a question about this PR directly in a comment — grounded only in the same cached, public-safe facts shown above, never a new claim.
Full command reference: https://gittensory.aethereal.dev/docs/loopover-commands 🧪 Experimental — new and may change. 🟩 Safe / merged · 🟦 Advisory · 🟨 Held for review · 🟥 Blocked / closed 💰 Earn for open-source contributions like this. Gittensor lets GitHub contributors earn for the work they already do — register to start earning →. Checked by LoopOver, a quiet PR intelligence layer for OSS maintainers.
|
Summary
Closes #6195
src/review/ops-wire.ts's header explained why the auto-tune/auto-apply loop stays deferred:Verified against the repo — that premise is stale, and the comment contradicted itself:
settings/slice extraction #4879'smigrations/0047_self_improve_tunables.sqlcreates all three:tunables_overrides(line 22),tunables_overrides_shadow(line 33),override_audit(line 44).src/review/auto-apply.tsalready implements the store against them —loadOverride/writeLiveOverride/deleteLiveOverride,loadShadowOverride/writeShadowOverride/deleteShadowOverride,recordOverrideAudit/listOverrideAudit— which the migration's own header documents table-by-table.src/review/auto-apply.ts") while claiming its tables did not.Fix: remove only the false premise. The deferred conclusion is still correct, so it stays — and the comment now names what the real remaining blocker actually is: the careful soak/promote design, i.e. the shadow-soak-then-promote lifecycle
auto-apply.ts's ownisStrictlyTightening/evaluateShadowPromotionalready anticipate (both verified to exist, atauto-apply.ts:123and:145). A reader is no longer misled into thinking the D1 schema is what's missing.Scope
docs(review): …).CONTRIBUTING.md; nosite//CNAME/lovable; no changelog edit.Validation
git diff --checkclean.npm run typecheck— exit 0.isStrictlyTightening,evaluateShadowPromotion) all exist.main.If any required check was skipped, explain why:
test:cinot run end-to-end locally (Linux-only steps on Windows). Nothing executable changed, so no suite's behavior is affected.Safety