L01–L14 (lesson numbers)
Proje kimliğiProje kodlarıDiğer adlar: lesson id
Kalıcı bağlantıThe fourteen topic lesson IDs (L01 to L14) replacing the 34 old wave-by-wave lessons under owner decision OD-23.
Organising owner education into 14 focused topic lessons removes duplication and stale claims from the 34 archived files while keeping one clear path from big-picture foundations (L01–L03) through security (L04–L06), product engines (L07–L11) and company operations (L12–L14). Each dictionary entry links back to the lesson IDs that teach it in Words to know. For example, L13 teaches verification gates, deployment, observability and incidents.
Bu depoda nasıl kullanılır
Defined in docs/wave49/briefs/LESSONS-PLAN.md and enforced by tools/learning/lib/content.mjs, authored during Wave 49 in docs/lessons/.
İlgili dosyalar:docs/wave49/briefs/LESSONS-PLAN.mddocs/wave49/briefs/WS-L1.mddocs/lessons/AUTHORING.md
lab data
TR: laboratuvar ölçümüKavramBağlayıcılar ve CRMDiğer adlar: lab measurement, psi_lab_fallback
Kalıcı bağlantıSynthetic page-speed metrics captured from a single controlled Lighthouse test run, used when real-user field data is absent.
Lab data loads a URL inside a simulated mobile environment under fixed CPU and network throttling so engineers can reproduce performance bottlenecks immediately after a code change. However, a lab run cannot capture real shoppers device diversity, checkout logins or live CDN cache misses, so it must never be presented as real-user speed. For example, when a new Turkish shop lacks 28-day CrUX coverage, crux-fallback.ts runs PageSpeed Insights lab mode and stamps the result psi_lab_fallback so the UI labels it clearly as a lab test. Pairing lab debugging with field tracking gives the full picture.
Bu depoda nasıl kullanılır
Explicitly labelled (psi_lab_fallback) in apps/seo-worker/src/crux-fallback.ts.
İlgili dosyalar:apps/seo-worker/src/crux-fallback.ts
landmark
TR: sayfa bölgesiKavramÖn yüz ve tasarımDiğer adlar: ARIA landmark, page region
Kalıcı bağlantıA semantic page region such as <header>, <nav>, <main>, <aside>, or role="search" that lets screen-reader users jump directly across major areas.
Without landmarks, a blind user has to arrow through dozens of header links on every single screen just to reach the primary content. Defining one <main> landmark per route and labelling distinct <nav> regions with aria-label turns a page into an instant jump menu in NVDA and VoiceOver. For example, WorkspaceShell wraps navigation in labelled <nav> regions and page content in a single <main> landmark.
Bu depoda nasıl kullanılır
Structured in apps/web/src/lib/WorkspaceShell.tsx and verified across all 40 routes by tests/browser/a11y-tree-audit.mjs.
İlgili dosyalar:apps/web/src/lib/WorkspaceShell.tsxtests/browser/a11y-tree-audit.mjs
lang attribute
TR: dil niteliğiStandartÖn yüz ve tasarımDiğer adlar: lang="tr", page language
Kalıcı bağlantıThe HTML lang attribute on <html> (or an inline phrase) declaring its natural language so screen readers pronounce words accurately and browsers apply proper locale rules.
Screen readers switch speech synthesisers based on lang: reading Turkish text with an English voice produces gibberish, and vice versa. Browsers also consult lang for hyphenation, quotation marks, and case rules. For example, setting <html lang="tr"> on the root layout tells assistive tools the interface opens in Turkish, while switching to English updates document.documentElement.lang to en.
Bu depoda nasıl kullanılır
Set initially to lang="tr" in apps/web/src/app/layout.tsx and synchronised on locale toggle by apps/web/src/lib/workspace-context.tsx.
İlgili dosyalar:apps/web/src/app/layout.tsxapps/web/src/lib/workspace-context.tsx
large language model
LLMTR: büyük dil modeliTeknolojiÜründe yapay zekaDiğer adlar: language model
Kalıcı bağlantıA neural network trained on vast text collections that reads prompts and generates text replies.
A large language model (LLM) learns statistical relationships across billions of words so it can classify messages, summarise reports, translate tone and draft copy in languages such as Turkish and English. Because it predicts likely tokens rather than executing verified equations, an LLM is strong at messy human language and weak at exact accounting or strict security enforcement. For example, an LLM is helpful for turning a list of search terms into candidate negative keywords, yet should never compute tax withholding or directly update an ad budget. Every LLM output therefore enters the product as an untrusted proposal.
Bu depoda nasıl kullanılır
Bounded behind OpenWeightInferencePort in packages/ai/src/types.ts and SelfHostedVllmAdapter in packages/ai/src/vllm-adapter.ts, using Apache-2.0 open-weight models (OD-12).
İlgili dosyalar:packages/ai/src/types.tspackages/ai/src/vllm-adapter.ts
Largest Contentful Paint
LCPTR: En Büyük İçerikli BoyamaMetrikÖn yüz ve tasarımDiğer adlar: LCP
Kalıcı bağlantıA Core Web Vital measuring how long it takes for the largest visible image, heading, or text block in the initial viewport to finish rendering.
LCP captures the moment a visitor feels the main content of a page has actually arrived, with 2.5 seconds or less at the 75th percentile rated good. Server-rendering main HTML, compressing hero images as compact local WebPs, and avoiding render-blocking third-party scripts keep LCP fast even on mobile networks. For example, serving a local 240 KiB WebP hero straight from apps/web/public/assets/ avoids extra third-party DNS lookups.
largest-remainder method
TR: en büyük kalan yöntemiKavramVeri ve PostgreSQLDiğer adlar: Hamilton method, largest remainder
Kalıcı bağlantıA rounding method that keeps parts summing to 100% by rounding down first and giving leftover units to the biggest remainders.
When three equal shares of 100% are each rounded to whole percentages (33% + 33% + 33%), the parts sum to 99% instead of 100%. The largest-remainder (Hamilton) method floors every share, computes how many whole units are left over, and adds one unit each to the shares that had the largest fractional remainders. For example, splitting 100 across (1, 1, 1) gives 33 + 33 + 33 plus 1 leftover unit, yielding 34%, 33%, 33% so the visual bar always totals 100%.
Bu depoda nasıl kullanılır
packages/ui/src/components/AllocationBar.tsx uses integer largest-remainder allocation so channel spend shares always sum cleanly to 100%.
İlgili dosyalar:packages/ui/src/components/AllocationBar.tsx
last-sync stamp
TR: son eşitleme damgasıKavramÖn yüz ve tasarımDiğer adlar: freshness stamp, last sync
Kalıcı bağlantıA visible timestamp beside workspace metrics showing when figures were last refreshed from connected ad or store APIs so stale data is never mistaken for real time.
Advertising platforms and store webhooks can lag by minutes or hours during outages, and showing old figures without a timestamp tricks owners into making budget changes on yesterday numbers. Pairing every synced figure with a clear last-sync time (and switching tone when freshness breaches its threshold) makes data age transparent. For example, showing Son eşitleme: 14:20 beside a spend card signals immediately if a connector stalled two hours ago.
Bu depoda nasıl kullanılır
Designed as part of the freshness and screen-state contract in design/WORDS.md and design/VISUAL.md; live connector sync stamps await real Meta/Google/store integrations.
İlgili dosyalar:design/WORDS.md
latency
TR: gecikmeMetrikOperasyon ve doğrulamaDiğer adlar: response time
Kalıcı bağlantıThe elapsed time between sending a request and receiving the complete response, usually measured in milliseconds.
Latency measures how fast a system feels to a user or calling service, combining network travel time, queueing wait and server work. Because one slow database query can hide inside an average, engineers inspect latency distributions across percentiles rather than a single mean. For example, an API route answering in 12 milliseconds feels instant, whereas 2,500 milliseconds makes a screen feel stuck.
Bu depoda nasıl kullanılır
Local endpoint latency is measured in tests/perf/load-bench.mjs, and per-call model latency is recorded in ai_inference_runs.latency_ms (docs/RUNBOOK.md).
İlgili dosyalar:tests/perf/load-bench.mjsdocs/RUNBOOK.md
latency percentiles
MetrikOperasyon ve doğrulamaDiğer adlar: p50, p95, p99, 95th percentile, 99th percentile
Kalıcı bağlantıResponse-time thresholds that a given percentage of requests finish under, such as p50 (half), p95 and p99.
Percentiles show what real users experience across the full spread of traffic instead of flattening outliers into an average. If p50 is 15 ms and p99 is 800 ms, half of requests are quick while one in every hundred stalls noticeably. For example, setting a p95 budget of 200 ms guarantees that at least 95 out of every 100 requests finish within a fifth of a second.
Bu depoda nasıl kullanılır
The local benchmark tests/perf/load-bench.mjs computes p50, p95 and p99 latency in milliseconds across all 86 exercised endpoints, and docs/RUNBOOK.md tracks p95 model latency.
İlgili dosyalar:tests/perf/load-bench.mjsdocs/RUNBOOK.md
Law 6493
TR: 6493 sayılı KanunHukuk ve vergiHukuk, vergi ve ödemeDiğer adlar: 6493 sayılı Kanun, Law No. 6493, Ödeme Hizmetleri Kanunu, payment services law
Kalıcı bağlantıTurkey's Payment Services and Electronic Money Law, under which only Central Bank-licensed institutions may hold or move third-party funds.
Supervised by the Central Bank of Turkey (TCMB), Law 6493 strictly regulates payment intermediation so unlicensed platforms cannot pool customer deposits or run informal clearing houses. Although Article 12/2-b contains a narrow commercial-agent (ticari temsilci) exemption, relying on it for a two-sided service marketplace carries heavy regulatory risk and triggers mandatory TCMB notification above ₺50,000,000 rolling annual volume. For example, instead of collecting client retainer money into its own bank account and paying marketers out on Friday, a compliant marketplace integrates a licensed provider such as iyzico Pazaryeri so buyer funds never touch the platform's corporate account.
Bu depoda nasıl kullanılır
Governs docs/adr/0006-iyzico-pazaryeri-and-turkish-tax-ledger.md, packages/payments/src/iyzico-adapter.ts (LiveGmvGateError) and tools/check-turkish-finance-copy.mjs; fintech counsel sign-off is question C4 on issue 3.
İlgili dosyalar:docs/adr/0006-iyzico-pazaryeri-and-turkish-tax-ledger.mddocs/COUNSEL-BRIEF.mdpackages/payments/src/iyzico-adapter.tstools/check-turkish-finance-copy.mjs
Layer 0
TR: Katman-0KavramÜründe yapay zekaDiğer adlar: Layer-0, layer0_ml, Layer-0 analytics, Layer-0 checks, Layer-0 rules
Kalıcı bağlantıThe zero-token tier of deterministic code, SQL and classical statistics that handles all math and rules without an LLM.
Most questions a small business asks about its marketing do not need a language model at all. Layer 0 runs deterministic SQL and TypeScript functions for ad-metric rollups (CPC, CPM, CTR, ROAS, MER, POAS, CPA), contribution margin with unknown-COGS null safety, cohort LTV and RFM propensity scoring. For example, scoring 10,000 consented customers into VIP, cart-abandoner and lapsed segments takes milliseconds in Layer 0, costs zero tokens, never hallucinates a number and needs zero human review. Pushing everything mathematical into Layer 0 keeps GPU bills small and numbers exact.
Bu depoda nasıl kullanılır
Built in packages/ai/src/layer0-analytics.ts and wired into apps/api/src/routes/intelligence.ts, preserving T071 null semantics and strict attribution-population separation.
İlgili dosyalar:packages/ai/src/layer0-analytics.tsapps/api/src/routes/intelligence.ts
layout (Next.js)
TR: yerleşim dosyasıTeknolojiÖn yüz ve tasarımDiğer adlar: layout.tsx, root layout
Kalıcı bağlantıA Next.js App Router layout.tsx file that wraps every child route in a shared persistent UI frame without unmounting on navigation.
Layouts nest down the folder hierarchy: the root app/layout.tsx defines <html>, <body>, global stylesheets, and metadata, while app/w/[workspaceId]/layout.tsx adds the workspace shell strictly around signed-in workspace pages. Because React preserves layout state when navigating between sibling pages, sidebars and providers stay mounted smoothly. For example, moving from /w/mora-deri/overview to /w/mora-deri/signals keeps WorkspaceShell mounted without flashing.
Bu depoda nasıl kullanılır
Root layout lives at apps/web/src/app/layout.tsx and the workspace layout lives at apps/web/src/app/w/[workspaceId]/layout.tsx.
İlgili dosyalar:apps/web/src/app/layout.tsxapps/web/src/app/w/[workspaceId]/layout.tsx
lazy image
TR: tembel yüklenen görselTeknolojiÖn yüz ve tasarımDiğer adlar: loading="lazy", lazy loading
Kalıcı bağlantıAn <img> marked with loading="lazy" so the browser defers downloading it until the user scrolls near it, saving bandwidth on initial load.
Deferring below-the-fold illustrations and avatars lets the browser prioritise the main above-the-fold heading and hero image, speeding up Largest Contentful Paint. Hero images already visible at the top of the screen should never be lazy-loaded because delaying them hurts LCP. For example, gallery thumbnails lower down /use-cases use loading="lazy" while the top hero image loads eagerly.
lead (CRM)
TR: müşteri adayıKavramBağlayıcılar ve CRMDiğer adlar: sales lead, potansiyel müşteri
Kalıcı bağlantıA prospective customer who has expressed interest and left contact details, entering the CRM at the first stage.
Unlike an anonymous website visitor, a lead has taken an explicit step—such as submitting a Meta Instant Form, clicking a WhatsApp ad or filling a clinic callback form—giving the business a way to follow up. Recording each lead original click ID (gclid, fbc, ctwa_clid, lead_id) and consent flags from the very first touch makes closed-loop attribution possible days or weeks later. For example, a dental clinic receives 40 leads a week from Meta, qualifies 12 in the CRM and marks 4 as won; only the qualified and won stages train the ad algorithm toward paying patients. Leads never receive outbound marketing messages without verified consent.
Bu depoda nasıl kullanılır
Modelled as the initial lead stage on crm_deals linked to crm_contacts in docs/schema.sql and managed in apps/api/src/routes/connections-crm.ts.
İlgili dosyalar:docs/schema.sql
lead ad
TR: potansiyel müşteri reklamıKavramBağlayıcılar ve CRMDiğer adlar: Meta Lead Ads, Instant Form, Google lead form, lead form
Kalıcı bağlantıAn in-platform Meta Instant Form or Google Lead Form ad where prospects submit contact details without leaving the ad app.
Lead ads reduce mobile form friction by pre-filling a user name, phone or email inside Meta or Google and delivering the submission to the advertiser via webhook or API sync. Because the prospect never visited the merchant website, browser cookies (_fbp) are absent, making the platform lead_id and server-side CRM feedback essential to close the attribution loop. For example, when a Meta Lead Ad webhook arrives with a lead_id, the CRM stores the lead, tracks when the business marks it qualified, and queues a meta_capi_crm conversion event back to Meta if consented. Without CRM feedback, lead-ad campaigns often optimise for cheap spam submissions.
Bu depoda nasıl kullanılır
Supported via lead_id in apps/api/src/routes/ingest-webhooks.ts (ClickIdsSchema) and storefront_source in docs/schema.sql.
İlgili dosyalar:apps/api/src/routes/ingest-webhooks.tsdocs/schema.sql
lead detail (screen 11)
TR: Müşteri Detayı ve Sinyal Geri BildirimiKavramBağlayıcılar ve CRMDiğer adlar: Lead detail and feedback, Müşteri kaydı, Customer record, screen 11, /w/:ws/crm/:id
Kalıcı bağlantıThe planned CRM detail drawer (Screen 11) showing one lead attribution source, consent, deal stage and conversion feedback receipts.
When an owner wants to verify why a particular customer or clinic inquiry was credited to a campaign—or why conversion feedback was sent or skipped—they need one clear audit view for that individual lead. Screen 11 brings together the masked contact record, click ID presence, KVKK consent flags, deal stage timeline and exact conversion_feedback_queue delivery receipt without exposing unmasked secrets. For example, an owner can inspect a won deal and verify in two seconds whether Purchase was sent to Meta CAPI or skipped because consent_marketing was false. The route and data model are designed and backed by CRM APIs while the dedicated /w/:ws/crm/:id drawer remains planned.
Bu depoda nasıl kullanılır
Designed as Screen 11 in design/FRAME.md and design/WORDS.md, backed by crm_contacts, crm_deals and conversion_feedback_queue in docs/schema.sql; dedicated drawer UI is not built yet.
İlgili dosyalar:docs/schema.sqldesign/FRAME.md
lead routing
TR: müşteri yönlendirmeSüreçBağlayıcılar ve CRMDiğer adlar: lead yönlendirme
Kalıcı bağlantıAssigning an incoming lead to the right team member or marketer queue while enforcing consent, erasure and WhatsApp window rules.
Speed matters when responding to inbound leads, yet routing an erased contact, an unconsented lead or an expired WhatsApp conversation into an active outreach queue creates legal and platform violations. Lead-routing checks verify consent status, erased_at tombstones, 24-hour WhatsApp messaging windows and assignee capacity caps before confirming an assignment. For example, if a Click-to-WhatsApp lead has an open 24-hour customer service window and active consent, the pre-check clears routing to the next available rep; if the contact was erased, routing is hard-blocked. Deterministic pre-checks keep fast follow-up compliant.
Bu depoda nasıl kullanılır
Built as a zero-mutation pre-check in apps/api/src/routes/crm-lead-routing-preflight.ts and surfaced on /w/[workspaceId]/crm.
İlgili dosyalar:apps/api/src/routes/crm-lead-routing-preflight.ts
lead source
KavramBağlayıcılar ve CRMDiğer adlar: storefront_source
Kalıcı bağlantıThe recorded origin of a CRM lead or order, such as ikas, WooCommerce, Meta Lead Ads, Click-to-WhatsApp or manual entry.
Tagging every CRM deal with its exact storefront_source or acquisition channel lets owners compare lead quality and win rates across channels instead of lumping every inquiry together. Separating sources also determines which downstream reconciliation and conversion-feedback rules apply. For example, an order originating from ikas reconciles against ikas API totals and child order_lines, whereas a meta_lead_ad lead links via lead_id to meta_capi_crm feedback. Explicit source enums prevent free-text labels from fragmenting reports.
Bu depoda nasıl kullanılır
Built in docs/schema.sql (crm_deals.storefront_source) and across packages/connectors/src/sync-orchestrator.ts.
İlgili dosyalar:docs/schema.sqlpackages/connectors/src/sync-orchestrator.ts
leap year
TR: artık yılKavramÖn yüz ve tasarımDiğer adlar: Gregorian leap-year rule
Kalıcı bağlantıA calendar year containing 29 February: every year divisible by 4, excluding century years unless divisible by 400.
Calendar grids and date pickers must implement the full Gregorian leap-year rule (y % 4 === 0 && (y % 100 !== 0 || y % 400 === 0)) rather than just checking divisibility by 4 so century boundaries behave accurately. Under this rule, 2000 and 2024 are leap years, while 1900 and 2100 have only 28 days in February. For example, CalendarGrid computes month lengths purely from this rule using integer math.
Bu depoda nasıl kullanılır
Encoded in the pure integer calendar helpers inside packages/ui/src/components/CalendarGrid.tsx and tested across 2000, 2024, and 2100 boundaries.
İlgili dosyalar:packages/ui/src/components/CalendarGrid.tsx
The initial tuning period when an ad platform collects enough conversions to stabilise whom it shows a campaign's ads to.
After a campaign launches or receives a large budget jump — often above 20 percent at once — Meta and Google re-enter a learning phase while their bidding algorithms gather fresh conversion data (commonly around 50 conversions per week on Meta). Performance fluctuates widely during learning, and making frequent drastic edits resets the clock again. Keeping budget changes within modest steps protects campaigns from perpetual re-learning.
Bu depoda nasıl kullanılır
One operational reason the approvals package (packages/approvals/src/guardrails.ts) defaults to a 20 percent single-step budget cap (2000 basis points).
İlgili dosyalar:packages/approvals/src/guardrails.ts
lease
KavramVeri ve PostgreSQLDiğer adlar: dispatch lease, dispatch_lease_id, dispatch_lease_until
Kalıcı bağlantıA time-bounded claim on a queued row that automatically becomes reclaimable if the worker crashes.
Holding a database row lock across a slow HTTP call blocks the database, whereas setting a permanent in_progress flag without an expiry leaves the job stuck forever if the worker process dies. A lease writes an owner id (dispatch_lease_id) and an expiry timestamp (dispatch_lease_until, default 300 seconds) and commits immediately; if the worker crashes, another worker reclaims the row after the lease expires. For example, a dispatch worker claims a batch with a 300-second lease and releases remaining rows early if less than one worst-case call window remains.
Bu depoda nasıl kullanılır
Migration 0009_tracking_event_keys_and_dispatch_lease.sql adds dispatch_lease_id and dispatch_lease_until (paired by a CHECK constraint) on public.tracking_events without adding a new status enum value.
İlgili dosyalar:packages/db/migrations/0009_tracking_event_keys_and_dispatch_lease.sqlpackages/db/src/repositories/signals-crm-repo.ts
least privilege
TR: en az yetki ilkesiKavramSaldırı ve savunmalarDiğer adlar: least-privilege
Kalıcı bağlantıGranting every user, process, and database role the minimum permissions required for its job and nothing more.
Least privilege shrinks the reward an attacker gets if any single component is compromised. Rather than running every service as one database superuser with one shared .env file, each process gets strictly what it needs: the app role cannot read the vault schema, the general background worker holds no vault key, and the SEO crawler holds zero database credentials at all. For example, Wave 48 moved token refresh into dispatch-main.ts specifically to avoid widening the general worker's privileges.
Bu depoda nasıl kullanılır
Enforced across docs/schema.sql (app_role vs vault_executor), apps/api/src/dispatch-main.ts, and apps/seo-worker/src/env-guard.ts.
İlgili dosyalar:docs/schema.sqlapps/api/src/dispatch-main.tsapps/seo-worker/src/env-guard.ts
An ordered, append-only record of financial or operational entries where corrections appear as new entries.
Accounting books never erase a mistaken line with correction fluid; they append a new reversing entry so every historical balance can be audited from start to finish. Treating product records — such as applied migrations, order adjustments, and audit events — as ledgers guarantees traceability. For example, public.schema_migrations acts as the schema's ledger, recording every migration's version, filename, SHA-256 digest, and timestamp.
Bu depoda nasıl kullanılır
The product models itself as an operational ledger, using append-only ledgers for audit_log, order_adjustments, schema_migrations, and safeguarded payment entries.
İlgili dosyalar:docs/schema.sqlpackages/db/src/migrations/migrate.ts