Uh oh!
There was an error while loading. Please reload this page.
') + ')', 'gi'); if (regex.test(text)) { found = true; var frag = document.createDocumentFragment(); var parts = text.split(regex); parts.forEach(function(part, i) { if (i % 2 === 0) { frag.appendChild(document.createTextNode(part)); } else { var span = document.createElement('span'); span.className = 'userscript-highlight'; span.textContent = part; frag.appendChild(span); } }); node.parentNode.replaceChild(frag, node); } }); } else if (node.nodeType === 1 && node.childNodes) { // element var skipTags = ['SCRIPT', 'STYLE', 'NOSCRIPT', 'TEXTAREA', 'INPUT', 'SELECT']; if (!skipTags.includes(node.tagName)) { Array.from(node.childNodes).forEach(highlight); } } } highlight(document.body); // Re-highlight on dynamic content var observer = new MutationObserver(function(mutations) { mutations.forEach(function(m) { m.addedNodes.forEach(function(node) { if (node.nodeType === 1 || node.nodeType === 3) highlight(node); }); }); }); observer.observe(document.body, { childList: true, subtree: true }); })(); } } catch(__e) { console.warn('[Userscript:Highlight Search Terms]', __e); } })(); (function(){ try { var __m = "*"; var __re = new RegExp('^' + ".*" + ', 'i'); if (__m === '*' || __re.test(location.href)) { // Strip utm_, fbclid, gclid, etc. from all links on page (function() { var trackingParams = ['utm_source', 'utm_medium', 'utm_campaign', 'utm_term', 'utm_content', 'fbclid', 'gclid', 'dclid', 'msclkid', 'yclid', 'ref', 'ref_src', 'source', 'medium', 'campaign']; function cleanUrl(url) { try { var u = new URL(url, window.location.origin); var changed = false; trackingParams.forEach(function(p) { if (u.searchParams.has(p)) { u.searchParams.delete(p); changed = true; } }); return changed ? u.toString() : url; } catch (e) { return url; } } function cleanLinks() { document.querySelectorAll('a[href]').forEach(function(a) { var clean = cleanUrl(a.href); if (clean !== a.href) a.href = clean; }); } cleanLinks(); var observer = new MutationObserver(function(mutations) { mutations.forEach(function(m) { m.addedNodes.forEach(function(node) { if (node.nodeType === 1) { if (node.tagName === 'A') cleanLinks(); node.querySelectorAll('a[href]').forEach(function(a) { var clean = cleanUrl(a.href); if (clean !== a.href) a.href = clean; }); } }); }); }); observer.observe(document.body, { childList: true, subtree: true }); })(); } } catch(__e) { console.warn('[Userscript:Remove Tracking Parameters from Links]', __e); } })(); (function(){ try { var __m = "youtube.com"; var __re = new RegExp('^' + "youtube\\.com" + ', 'i'); if (__m === '*' || __re.test(location.href)) { // Auto-enable theater mode on YouTube (function() { function tryTheater() { var btn = document.querySelector('button[aria-label="Theater mode"], ytd-player #player button[title="Theater mode"]'); if (btn && !btn.classList.contains('activated')) { btn.click(); } } // Try immediately tryTheater(); // Try after navigation (SPA) var lastUrl = location.href; setInterval(function() { if (location.href !== lastUrl) { lastUrl = location.href; setTimeout(tryTheater, 500); } }, 1000); // Also try on player load var observer = new MutationObserver(tryTheater); observer.observe(document.body, { childList: true, subtree: true }); })(); } } catch(__e) { console.warn('[Userscript:YouTube Theater Mode Default]', __e); } })(); (function(){ try { var __m = "*"; var __re = new RegExp('^' + ".*" + ', 'i'); if (__m === '*' || __re.test(location.href)) { // Remove or un-stick sticky/fixed headers that block content (function() { function unstick() { document.querySelectorAll('header, nav, [role="banner"], .header, .navbar, .sticky, .fixed-top, [style*="position: fixed"], [style*="position:sticky"]').forEach(function(el) { if (el.style.position === 'fixed' || el.style.position === 'sticky' || getComputedStyle(el).position === 'fixed' || getComputedStyle(el).position === 'sticky') { el.style.position = 'static'; el.style.top = 'auto'; el.style.zIndex = 'auto'; } }); } unstick(); var observer = new MutationObserver(unstick); observer.observe(document.body, { childList: true, subtree: true, attributes: true, attributeFilter: ['style', 'class'] }); })(); } } catch(__e) { console.warn('[Userscript:Kill Sticky Headers]', __e); } })(); })();
There was an error while loading. Please reload this page.
Follow-up to #13582, which shipped
scripts/check-corpus-claim-drift.mjs— a shrink-only,table-driven lexical anti-drift ratchet over
content/docs/**+skills/**— deliberately carryingexactly one
VOCABULARYrow (exists-key-presence), per that card's ruling. The one-row cap ismechanically enforced: an ablation that smuggles a second row reds the gate's self-test with 10
named failures.
This card is the second row (and any further ones).
Why each new word is its own card, not a rider
The ratchet's row is a claim, not a spelling: a site is a co-occurrence of a claim phrase within
4 lines of a pinned spelling. Adding a row therefore means (a) surveying legitimate usage of the new
phrase across 225 corpus files, (b) paying whatever baseline entries that survey turns up, and (c)
proving the row does not fire on the legitimate ones. ⛔ A word added without that survey turns a
ratchet into a noise gate — which is the failure mode #13582's
B'ablation demonstrates directly(remove co-occurrence, and every legitimate-usage leg fires).
Candidate rows
1.⚠️ measurement already done, ⛔ do not re-derive it
NoSQL/ the portability gloss —#13582's dev measured this one and handed it over rather than shipping it. Recorded here so the
work is not repeated:
$exists"is portable, not a NoSQL-only operator", andevery pre-repair row carried the
(NoSQL)gloss./NoSQL/to the existingexists-key-presencerow would have caughtskills/objectstack-query/rules/filters.mddirectly, rather than reaching it via the axislabel.
ruling scoped [finding] The teaching corpus has no lexical anti-drift pin, so a filter operator's prose can contradict its driver forever — the reachable half of "no gate can catch it" #13582 to the word-face the card named. The bare
existencemember was admittedonly because it is a morphological member of a phrase that card already named and was measured
to cost zero baseline entries;
NoSQLis neither.⇒ A new row (or a new claim member on a new axis), with its own survey and its own baseline.
2. The retired
$regexspellingNamed by #13582's dev as belonging to this family. ⛔ Unmeasured — the survey is this card's work.
3. #13532's
visibleWhenclaimsNamed by #13582's dev as belonging to this family. ⛔ Unmeasured.
The gate's two roots are
content/docs/**andskills/**— 225 files, zero underpackages/**.So no row added here can reach a false claim living in source-code prose. The known live instance of
exactly that is
packages/spec/src/data/filter.zod.ts:997("Field exists check (primarily forNoSQL) - MongoDB: $exists"), tracked separately on #13709 — it lands in
packages/spec/src/**,which is the
domain:specseat's surface and a clause ② limb. ⛔ Do not widen this gate's rootsto chase it without a ruling; that is a different decision from adding a word.
Acceptance
properties are the gate's whole safety argument — ⛔ a row must not weaken them)
Source
#13582 (PR #13742) — open question answered A by the
domain:devxPM seat, with theNoSQLmeasurement handed over rather than dropped.
Generated by Claude Code