UI primitive
TR: temel arayüz bileşeniKavramÖn yüz ve tasarımDiğer adlar: primitive, kit component
Kalıcı bağlantıOne reusable, domain-agnostic building block inside packages/ui/src/components/ (such as Button, Drawer, DataTable, or Disclosure) that holds zero product words or network calls.
Keeping UI primitives strictly free of business copy, tenant URLs, and fetch calls makes them simple to test in isolation and impossible to contaminate with product jargon or API secrets. Every screen in apps/web supplies translated text, handlers, and data via props into the primitive. For example, all 58 primitives in packages/ui/src/components/ pass automated checks proving zero hardcoded product strings or database imports.
Bu depoda nasıl kullanılır
58 component modules in packages/ui/src/components/, re-exported by packages/ui/src/index.ts and audited by tools/check-surface-invariants.mjs and tools/check-tokens.mjs.
İlgili dosyalar:packages/ui/src/componentspackages/ui/src/index.ts
unbounded step
KavramOnaylar ve otomasyonDiğer adlar: step from zero
Kalıcı bağlantıA budget proposal whose current daily budget is zero, making a percentage step mathematically undefined.
Moving a daily budget from 0 lira to 500 lira has a zero denominator, so no percentage step exists. The approval engine treats an unbounded step conservatively by still enforcing the daily budget ceiling, aggregate ceiling and step-up MFA threshold, whereas the preflight rebalance calculators refuse a zero-budget baseline outright.
Bu depoda nasıl kullanılır
Handled explicitly in packages/approvals/src/guardrails.ts and refused in apps/api/src/routes/portfolios-budget-rebalance-preflight.ts.
İlgili dosyalar:packages/approvals/src/guardrails.tsapps/api/src/routes/portfolios-budget-rebalance-preflight.ts
UNCHECKED (stamp)
KavramProje kodlarıDiğer adlar: TürkPatent 9/35/42: UNCHECKED
Kalıcı bağlantıAn explicit honesty label marking an external check that nobody has performed yet, such as trademark clearance.
Leaving a blank cell on a readiness table makes it unclear whether a task passed or was forgotten. Stamping an item UNCHECKED states plainly that the real external lookup has not happened yet and cannot be treated as cleared. For example, every brand-candidate review stamps TürkPatent 9/35/42: UNCHECKED until an actual trademark search is filed and logged under OD-01.
Bu depoda nasıl kullanılır
Used in apps/web/src/app/brand-review/brand-review-data.ts and docs/DISASTER-RECOVERY-AND-BCP-CHARTER.md for trademark and domain checks gated on OD-01.
İlgili dosyalar:apps/web/src/app/brand-review/brand-review-data.tsdocs/DISASTER-RECOVERY-AND-BCP-CHARTER.md
unhandled rejection
KavramOperasyon ve doğrulamaDiğer adlar: unhandledRejection, uncaught exception, unhandled error
Kalıcı bağlantıAn asynchronous promise error in Node.js that no .catch or try/catch handled, signalling an unexpected bug state.
When an async operation rejects with nobody catching it, the process may be left in a half-broken state with leaked locks or corrupted memory. In production, the safest policy is to log one redacted error record and trigger graceful shutdown so the supervisor starts a clean process. For example, catching unhandledRejection lets the API wipe keys from memory and close active sockets before exiting 1.
Bu depoda nasıl kullanılır
In apps/api/src/platform/server-lifecycle.ts, installUnhandledRejectionHandler logs api.unhandled_rejection through the redacting logger and invokes graceful shutdown with exit code 1 when isProduction is true.
İlgili dosyalar:apps/api/src/platform/server-lifecycle.tsapps/api/src/server.ts
Unicode
TR: Evrensel KodStandartÖn yüz ve tasarımDiğer adlar: code point, U+ number
Kalıcı bağlantıThe universal character standard assigning every letter, punctuation mark, currency sign, and geometric shape a unique code point such as U+20BA (₺) or U+0130 (İ).
Before Unicode, regional encodings scrambled Turkish letters whenever files crossed machines or databases. Referencing exact Unicode code points lets engineers reason precisely about typographic minus (U+2212), Turkish İ/ı, combining dot above (U+0307), and emoji ranges blocked by copy rules. For example, MoneyCell uses true typographic minus (−, U+2212) rather than an ASCII hyphen for negative amounts.
unified ACL
KavramKimlik ve erişimDiğer adlar: ACL, access control list, unified access check
Kalıcı bağlantıOne shared authorization gate applied identically across all eight access channels (ui, direct_link, report, association, search, export, api, ai_retrieval).
Many SaaS platforms hide a restricted record on the main UI screen yet forget to apply the same check inside global search, CSV exports, association links, direct record URLs, or AI retrieval — leaking private data through side doors. Routing every channel through one pure evaluator guarantees that a record denied on ui is equally denied on all seven other channels, that vault.* is unconditionally blocked on every channel, and that ai_retrieval is strictly read-only with zero raw PII. For example, a marketer without crm:read_contacts cannot retrieve a contact through UI, search, export, direct link, or AI RAG.
Bu depoda nasıl kullanılır
Implemented in packages/auth/src/unified-acl.ts (ACCESS_CHANNELS) atop packages/auth/src/grants-rbac.ts.
İlgili dosyalar:packages/auth/src/unified-acl.tspackages/auth/src/grants-rbac.ts
unique constraint
TR: UNIQUE kısıtıKavramVeri ve PostgreSQLDiğer adlar: UNIQUE, unique index, 23505, unique violation
Kalıcı bağlantıA PostgreSQL rule forbidding duplicate values in one or more columns, rejecting collisions with SQLSTATE 23505.
Application-level 'check if it exists first' code breaks under concurrent requests, whereas a PostgreSQL UNIQUE constraint or unique index enforces uniqueness atomically across every process. Scoping unique constraints to (workspace_id, ...) prevents one tenant from probing whether another tenant already used a key. For example, uq_approval_requests_workspace_idempotency_key indexes (workspace_id, idempotency_key) per workspace.
Bu depoda nasıl kullanılır
Used across docs/schema.sql (conversion_feedback_queue, workspaces.slug) and migrations 0006–0013 (token hashes, state hashes, and per-workspace approval idempotency).
İlgili dosyalar:docs/schema.sqlpackages/db/migrations/0013_real_approval_execution.sql
unit economics
TR: birim ekonomisiKavramİş modeli ve pazarDiğer adlar: birim ekonomi, per-customer economics
Kalıcı bağlantıThe revenue, direct serving cost, gross profit, acquisition cost, lifetime value and payback calculated for one single customer or one unit of work.
Growing revenue while losing money on every new customer merely accelerates insolvency. Unit economics tests whether one typical customer produces enough monthly gross profit (ARPU − direct COGS) over their expected lifetime (LTV) to repay acquisition cost (CAC) quickly (payback period) and leave healthy profit afterward. For example, in docs/FINANCIAL-MODEL-36M.md (model only), Option A blended unit economics at N >= 250 active businesses pairs ₺1,824 SaaS ARPU (₺1,415 SaaS GP) plus ₺258 net marketplace GP (₺1,673 total monthly GP) against ₺6,250 CAC for 3.74-month payback and 6.08× LTV:CAC.
Bu depoda nasıl kullanılır
Built into deterministic margin checks in packages/payments/src/cogs-and-trust-gates.ts and apps/api/src/routes/overview-unit-economics-rollup.ts, and modelled across docs/FINANCIAL-MODEL-36M.md and docs/PRICING-AND-UNIT-ECONOMICS-FAQ.md.
İlgili dosyalar:packages/payments/src/cogs-and-trust-gates.tsapps/api/src/routes/overview-unit-economics-rollup.tsdocs/FINANCIAL-MODEL-36M.mddocs/PRICING-AND-UNIT-ECONOMICS-FAQ.md
A fast automated test verifying one small function or rule in isolation, with no database, browser or network.
Unit tests run in milliseconds, making them ideal for checking pure business logic such as tax basis-point rounding, guardrail ceilings, zero-denominator KPI math and string validators. Because they isolate one unit, a failure pinpoints the exact function that broke—though unit tests alone never prove full-system wiring. For example, packages/approvals/test/ unit-tests budget ceilings and step caps directly.
Bu depoda nasıl kullanılır
Run via pnpm test (Vitest) across all 14 packages, including packages/approvals/test and packages/payments/test.
İlgili dosyalar:packages/approvals/test
unknown is not zero
KavramÖlçümlemeDiğer adlar: unknown dash, UNKNOWN_METRIC_DASH, —, zero denominator, sıfır payda, zero-denominator honesty, infinite percentage, unknown-value dash, em dash, Veri yok: —
Kalıcı bağlantıThe reporting invariant that any uncomputable metric — zero denominator, missing COGS or tiny sample — is stored as null and shown as —, never 0 or Infinity.
If a new campaign has spent 0 lira, displaying ROAS as 0.00 wrongly implies the campaign lost money, while dividing by zero in JavaScript yields not-a-number or infinity instead of a valid rate. Similarly, if a product's cost has not been entered, showing 100 percent profit margin misleads the owner into overspending. Representing missing values as null in JSON and rendering — on screen keeps every dashboard honest.
Bu depoda nasıl kullanılır
Enforced across packages/ai/src/layer0-analytics.ts, apps/api/src/routes/kpi-ledger.ts, apps/api/src/routes/overview-unit-economics-rollup.ts and packages/ui/src/components/DataMetric.tsx (UNKNOWN_METRIC_DASH, rule T071).
İlgili dosyalar:packages/ui/src/components/DataMetric.tsxpackages/ai/src/layer0-analytics.ts
unknown outcome
KavramVeri ve PostgreSQLDiğer adlar: unknown_outcome, outcome unknown
Kalıcı bağlantıA state recorded when an external write times out or crashes in flight so nobody knows whether the remote provider applied it.
Network timeouts during a mutating HTTP call leave genuine ambiguity: the provider may have dropped the request or may have already changed the customer's ad budget or recorded a conversion. Treating an unknown outcome as a distinct state — rather than retrying blindly — forces human inspection or webhook reconciliation before anything runs again. For example, migration 0014 fails a stuck executing approval with EXECUTION_STATE_UNKNOWN whenever execution_write_started_at was set before the crash.
Bu depoda nasıl kullanılır
Handled explicitly in packages/signals/src/whatsapp-window-state.ts, the WhatsApp dispatcher (META_OUTCOME_UNKNOWN), and public.recover_stuck_approval_executions (EXECUTION_STATE_UNKNOWN in migration 0014).
İlgili dosyalar:packages/signals/src/whatsapp-window-state.tspackages/db/migrations/0014_execution_progress_and_recovery.sql
UNOBTAINED (stamp)
KavramProje kodlarıDiğer adlar: ISO-27001 / SOC 2: UNOBTAINED
Kalıcı bağlantıAn explicit honesty label declaring that a formal third-party certification or approval is not currently held.
Enterprise security pages sometimes hide the absence of formal audits behind vague wording like 'aligned with ISO standards'. Stamping ISO-27001 / SOC 2: UNOBTAINED ensures no visitor, customer or investor can mistake internal security engineering for an accredited outside certificate. For example, static consistency gates verify that public security and architecture pages keep the UNOBTAINED stamp intact.
Bu depoda nasıl kullanılır
Enforced across public pages and governance docs by tools/check-architecture-crm-and-portability-invariants.mjs and docs/DISASTER-RECOVERY-AND-BCP-CHARTER.md.
İlgili dosyalar:tools/check-architecture-crm-and-portability-invariants.mjsdocs/DISASTER-RECOVERY-AND-BCP-CHARTER.md
unsafe URI scheme
KavramSaldırı ve savunmalarDiğer adlar: unsafe URI, javascript: URL
Kalıcı bağlantıA URL prefix such as javascript:, vbscript:, or data:text/html that executes code or renders active markup instead of opening a web link.
If an application renders a user-supplied URL inside <a href={url}> without verifying the scheme, javascript:alert(document.cookie) executes attacker script the instant a user clicks it — a classic stored XSS vector even inside React. Enforcing an explicit scheme allow-list (https: or safe relative paths) blocks every executable URI scheme, including whitespace- or case-obfuscated variants like JaVaScRiPt:. For example, tools/learning/lib/content.mjs and UI link validators reject every non-https: external scheme.
Bu depoda nasıl kullanılır
Blocked by explicit scheme allow-lists across UI link checks, redirect validators, and apps/seo-worker/src/ssrf-guard.ts.
İlgili dosyalar:apps/seo-worker/src/ssrf-guard.ts
untrusted input
KavramSaldırı ve savunmalarDiğer adlar: untrusted data, hostile input
Kalıcı bağlantıAny data originating outside the server's direct control — HTTP params, headers, webhooks, uploaded files, crawled HTML, or CRM notes.
A common mistake is treating only public form fields as untrusted while forgetting HTTP headers (User-Agent, X-Forwarded-For), third-party webhook JSON, merchant store HTML crawled for SEO, or AI prompt context. Every external byte crosses a trust boundary and must be validated for type, length, character set, and authority before use. For example, treating crawled web pages as untrusted input stops both SSRF and indirect prompt injection.
Bu depoda nasıl kullanılır
Validated at every trust boundary defined in docs/THREAT-MODEL.md and fuzzed by apps/api/test/all-routes-zero-echo-and-header-fuzz.test.ts.
İlgili dosyalar:docs/THREAT-MODEL.mdapps/api/test/all-routes-zero-echo-and-header-fuzz.test.ts
untrusted proposal
KavramÜründe yapay zekaDiğer adlar: AI proposal, AI draft, ai/propose
Kalıcı bağlantıThe core product rule that every AI output is treated as an unverified draft, never an executable command.
Treating a language model reply as an untrusted proposal means the surrounding software assumes the reply could be wrong, poorly formatted or influenced by prompt injection until deterministic checks and a human reviewer prove otherwise. Every AI output must pass closed-schema parsing, PII and compliance linting, workspace mode checks and owner approval before deterministic executor code touches any external platform. For example, when an AI drafts a 15 percent daily budget increase, it inserts a pending row into approval_requests tagged proposer_kind = ai_diagnostic with a SHA-256 preview pin; nothing changes at Meta or Google until the owner approves. Even a total prompt hijack cannot bypass that boundary.
Bu depoda nasıl kullanılır
Enforced end-to-end across packages/ai/src/vllm-adapter.ts, packages/auth/src/ai-action-policy.ts, apps/api/src/routes/connections-crm.ts and docs/schema.sql.
İlgili dosyalar:apps/api/src/routes/connections-crm.tspackages/auth/src/ai-action-policy.ts
untrusted-data wrapping
SüreçÜründe yapay zekaDiğer adlar: wrapUntrustedData, untrusted_data tag, data framing
Kalıcı bağlantıIsolating external text inside explicit data delimiter tags after stripping control characters, PII and excess length.
When a prompt includes text pulled from an outside webpage, storefront description or customer message, placing it directly next to system instructions makes it easier for embedded commands to hijack the model. Untrusted-data wrapping sanitises control characters, escapes spoofed closing tags, scrubs personal data, truncates overly long inputs and wraps the content inside <untrusted_data> delimiters. For example, a crawled product page containing a hidden closing tag </untrusted_data> has its tag neutralised so the payload cannot break out of the data block. Framing works together with pre-egress injection detection and zero write tools.
Bu depoda nasıl kullanılır
Built as wrapUntrustedData in packages/ai/src/pii-scrubber.ts and called before model egress in packages/ai/src/vllm-adapter.ts.
İlgili dosyalar:packages/ai/src/pii-scrubber.tspackages/ai/src/vllm-adapter.ts
upper-case ban
TR: büyük harf dönüştürme yasağıKavramÖn yüz ve tasarımDiğer adlar: CSS text-transform ban, text-transform, all-caps ban
Kalıcı bağlantıThe enforced project ban forbidding CSS all-caps text transforms anywhere in the web app or UI kit because browser capitalisation corrupts Turkish dotted i and dotless ı.
Applying a CSS all-caps utility turns Turkish bildirim into BILDIRIM instead of BİLDİRİM whenever a browser ignores or misses a lang="tr" scope, and all-caps badges also hurt reading speed and calm editorial tone. Authoring every heading, pill, and table column in clean sentence case avoids the browser transform bug entirely. For example, tools/check-tokens.mjs scans every frontend file and rejects any CSS all-caps class or declaration automatically.
Bu depoda nasıl kullanılır
Enforced across apps/web/src and packages/ui/src by tools/check-tokens.mjs (and mirrored into learning content validation by tools/learning/lib/gates.mjs).
İlgili dosyalar:tools/check-tokens.mjsdesign/WORDS.md
uptime
TR: çalışma süresiMetrikOperasyon ve doğrulamaDiğer adlar: availability
Kalıcı bağlantıThe percentage of time a live service is reachable and handling requests cleanly over a measured calendar window.
Uptime turns reliability into a concrete monthly budget: 99.9 percent monthly uptime allows roughly 43 minutes of total downtime per month, whereas 99 percent allows over 7 hours. Because uptime depends on real networks, hosting providers and live deployments, it can only be measured after launch and never inferred from local unit tests. For example, a service with zero deployed servers has no measured uptime yet.
Bu depoda nasıl kullanılır
Availability targets and honest reporting rules live in docs/OPERATIONAL-SLA-AND-OUTAGE-GOVERNANCE-TR.md and docs/LOCAL-ENGINEERING-BENCHMARKS-AND-VERIFICATION-POLICY-TR.md; zero production uptime is claimed today.
İlgili dosyalar:docs/OPERATIONAL-SLA-AND-OUTAGE-GOVERNANCE-TR.mddocs/LOCAL-ENGINEERING-BENCHMARKS-AND-VERIFICATION-POLICY-TR.md
URL
URLStandartBüyük resimDiğer adlar: web address, Uniform Resource Locator
Kalıcı bağlantıA web address naming a protocol, host and path to a specific page or API resource.
Putting the tenant identifier directly in the URL keeps every browser tab unambiguous when one person manages multiple clients. If a marketer has two workspaces open side by side, each tab's URL names its own workspace instead of sharing one mutable active-workspace cookie. For example, /w/{workspaceId}/overview always identifies the exact workspace being viewed.
Bu depoda nasıl kullanılır
AGENTS.md rule 7 requires every workspace page and API path to carry /w/:workspaceId/... explicitly in its URL.
İlgili dosyalar:AGENTS.md
URL fragment
StandartKimlik ve erişimDiğer adlar: fragment, #t=
Kalıcı bağlantıThe #... tail of a URL, which browsers keep strictly client-side and never send in HTTP requests, proxy logs, or Referer headers.
Putting a one-time sign-in secret in a query string (?t=...) exposes the secret in HTTP access logs, CDN logs, reverse proxies, and outgoing Referer headers. Placing the token in the URL fragment (/auth/complete#t=...) keeps it strictly inside the browser until the completion script reads window.location.hash, strips it from the address bar, and posts it in a JSON request body to POST /v1/auth/login/complete. For example, an Nginx access log records only GET /auth/complete with zero trace of #t=....
Bu depoda nasıl kullanılır
Used by apps/api/src/auth/sign-in/routes.ts and mail-copy.ts so sign-in link tokens travel exclusively inside #t=....
İlgili dosyalar:apps/api/src/auth/sign-in/routes.tsapps/api/src/auth/sign-in/mail-copy.ts
URL sanitiser
SüreçÖlçümlemeDiğer adlar: sanitize-url, URL cleaning, edge sanitiser
Kalıcı bağlantıThe edge-collector filter that strips query parameters, fragments, secrets and embedded PII from page URLs before storage.
Shop URLs often contain order lookup tokens, customer e-mail addresses (?email=ali@example.com), phone numbers or session secrets inside query strings and fragments. Forwarding or storing raw URLs would leak personal data straight into PostgreSQL and Meta even when the rest of the payload is hashed. Stripping query strings and fragments down to the clean scheme, host and path keeps event_source_url valid for Meta while eliminating URL PII leaks.
Bu depoda nasıl kullanılır
Implemented in apps/collector/src/sanitize-url.ts and invoked inside apps/collector/src/app.ts before any URL reaches ingest or storage.
İlgili dosyalar:apps/collector/src/sanitize-url.tsapps/collector/src/app.ts
The human-readable final segment of a URL path (such as deri-cuzdan in /urun/deri-cuzdan).
Clean, descriptive URL slugs help both shoppers and search engines recognise page contents immediately, whereas numeric IDs or broken Turkish encodings (%C4%B1) look messy and reduce click confidence. Changing an existing product slug without careful review can break incoming links and rankings, so slug edits must follow strict transliteration and reserved-word rules. For example, ikas-seo-patch-policy.ts deterministically transliterates Turkish letters (İ, ı, ş, ğ, ü, ö, ç), enforces 3 to 185 character bounds and blocks reserved paths such as admin. Clean slug rules prevent broken storefront URLs.
Bu depoda nasıl kullanılır
Validated and deterministically transliterated in apps/seo-worker/src/ikas-seo-patch-policy.ts (IKAS_SLUG_MIN_LENGTH = 3, IKAS_SLUG_MAX_LENGTH = 185).
İlgili dosyalar:apps/seo-worker/src/ikas-seo-patch-policy.ts
use cases page
TR: kullanım senaryoları sayfasıKavramÖn yüz ve tasarımDiğer adlar: /use-cases
Kalıcı bağlantıThe public /use-cases page presenting illustrative modelled businesses—explicitly labelled as fictional models—to demonstrate product workflows without claiming real customers.
Before live pilot customers exist, prospective founders still need concrete examples showing how a boutique leather brand or multi-brand agency would review spend and approvals. Labelling every scenario explicitly as an illustrative model honours the honesty rule while keeping workflow walkthroughs tangible. For example, /use-cases shows clearly marked illustrative workflows with zero fabricated customer testimonials.
Bu depoda nasıl kullanılır
Implemented at apps/web/src/app/use-cases/page.tsx and UseCasesClient.tsx.
İlgili dosyalar:apps/web/src/app/use-cases
user account
TR: hesapKavramKimlik ve erişimDiğer adlar: user, users
Kalıcı bağlantıThe single global record of a human person in public.users, separate from their per-workspace memberships and marketer grants.
One person — especially a vetted growth marketer or a founder running two shops — works across multiple workspaces using one identity, one passkey set, and one TOTP enrolment. Keeping public.users global (carrying id, email, display_name, locale, mfa_enabled, status, and zero password column) while placing workspace access in workspace_memberships and marketer_grants lets the same person switch workspaces cleanly via URL without juggling separate logins. For example, setting users.status to suspended blocks that user across every workspace at once.
Bu depoda nasıl kullanılır
Defined in docs/schema.sql (public.users), created on first verified sign-in link by auth.find_or_create_user_by_email (migration 0007), and checked on every session lookup (auth.find_session_for_use).
İlgili dosyalar:docs/schema.sqlpackages/db/migrations/0007_auth_login_challenges.sql