A/B run
SüreçNasıl geliştiriyoruzDiğer adlar: interleaved runs, A/B comparison, interleaved A/B run
Kalıcı bağlantıRunning the unchanged base code and the modified code in alternating turns under identical load to separate real changes from noise.
A single slow test run can come from another program using the processor rather than from a bug in your branch. Alternating runs between the base commit and the changed commit exposes whether both fail at the same rate or only the new code fails. For example, Wave 45 agents ran interleaved A/B runs on two timing tests to prove that machine contention caused the failures on the base commit too.
Bu depoda nasıl kullanılır
Used in Wave 45 and Wave 46 reports (and inside tools/lib/linear-time.mjs) to verify performance claims against machine noise.
İlgili dosyalar:tools/lib/linear-time.mjs
A1–A7 (protected assets)
Proje kimliğiProje kodlarıDiğer adlar: asset A1 to A7
Kalıcı bağlantıThe seven high-value assets (A1–A7) protected by docs/THREAT-MODEL.md, written without hyphens.
Listing protected assets upfront ensures security work defends real business stakes rather than abstract checklists: A1 ad-platform OAuth tokens, A2 live ad spend and campaign state, A3 cross-tenant boundaries, A4 customer PII and consent state, A5 marketplace safeguarded payments and tax ledgers, A6 internal VPS networks and metadata, and A7 immutable audit history. Written without a hyphen, A1–A7 stay distinct from the independent review's hyphenated approval findings A-1 to A-7. For example, A6 directly motivates isolating seo-worker from the core database network.
Bu depoda nasıl kullanılır
Defined in docs/THREAT-MODEL.md section 1.
İlgili dosyalar:docs/THREAT-MODEL.md
academy page
TR: akademi sayfasıKavramÖn yüz ve tasarımDiğer adlar: /academy, Academy
Kalıcı bağlantıThe public page inside the web app that publishes the owner-facing engineering and product lessons.
An academy page turns internal technical documentation into a readable, searchable curriculum inside the browser so non-technical owners and new contributors can study how the system works without opening raw repository files. For example, opening /academy lets a reader browse lessons by topic, read diagrams and case studies, and check understanding with self-test questions.
Bu depoda nasıl kullanılır
Served at apps/web/src/app/academy/page.tsx; under owner decision OD-23, its lesson content is being rebuilt from the new English topic lessons under docs/lessons/ while page navigation stays bilingual.
İlgili dosyalar:apps/web/src/app/academy/page.tsx
accent colour
TR: vurgu rengiKavramÖn yüz ve tasarımDiğer adlar: accent, Signal Emerald-Pine, Sinyal Zümrüt-Çam, --accent
Kalıcı bağlantıThe design system single signal colour, a deep emerald-pine green reserved for the primary action and live tracking cues.
Using one disciplined accent colour keeps attention anchored on the single decision that matters on a screen instead of scattering bright colours across decorative banners and borders. When every secondary element stays neutral in ink, canvas, and hairline tones, the eye immediately finds the primary button or active filter. For example, on an approval screen only the primary confirm button carries the accent fill while metadata remains neutral ink.
Bu depoda nasıl kullanılır
Defined in packages/ui/src/tokens.css as --accent (with --accent-hover, --accent-subtle, --accent-text, and --on-accent) in light and dark themes, paired with --surface and --canvas to pass WCAG 2.2 AA contrast.
İlgili dosyalar:packages/ui/src/tokens.cssdesign/VISUAL.md
acceptance rate
TR: kabul oranıMetrikÜründe yapay zekaDiğer adlar: acceptance_rate_bps, accept rate
Kalıcı bağlantıThe share of reviewed AI outputs that people accepted without rejecting them.
Acceptance rate measures how often human reviewers approve what a model proposes. It is calculated as accepted outputs divided by all reviewed outputs, rather than all generated outputs, so unreviewed drafts do not skew the score. For example, if a workspace reviews 20 ad-copy drafts and accepts 15 of them, the acceptance rate is 75 percent (7,500 basis points). When zero outputs have been reviewed, the rate is unknown and shown as a dash instead of zero.
Bu depoda nasıl kullanılır
Built in apps/api/src/routes/ai-inference-cost-rollup.ts, which aggregates eval_status from ai_inference_runs in integer basis points and returns null when reviewed_evals_count is zero.
İlgili dosyalar:apps/api/src/routes/ai-inference-cost-rollup.ts
accepted is not done
KavramBağlayıcılar ve CRMDiğer adlar: accepted is not completed, ACCEPTED_202
Kalıcı bağlantıThe rule that a provider saying a request was accepted (such as HTTP 202) proves receipt only, never completion.
External ad, messaging and commerce APIs often accept a request quickly and finish the real work asynchronously seconds or minutes later. Treating an HTTP 202 or accepted acknowledgement as finished causes reports to claim orders synced or messages delivered when the background job later failed. For example, a Shopify bulk operation returns ACCEPTED_202 or RUNNING before building its JSONL export, and only per-record reconciliation after COMPLETED proves every order arrived. Until completion is verified, the product marks status as pending or unconfirmed rather than done.
Bu depoda nasıl kullanılır
Built in packages/connectors/src/bulk-job-and-manifest.ts and packages/signals/src/whatsapp-window-state.ts, tracking reconciliation_status from provider_accepted to business_state_reconciled.
İlgili dosyalar:packages/connectors/src/bulk-job-and-manifest.ts
access log
KavramOperasyon ve doğrulamaDiğer adlar: log_skip, request log
Kalıcı bağlantıA server's line-by-line record of every incoming HTTP request and the response sent back.
A reverse proxy writes one access-log entry for each request it forwards, recording the path, status code and response time. Because headers and query parameters can carry cookies, signatures or one-time codes, an access log must scrub secrets before writing to disk. For example, logging a full OAuth callback URL would save a user's authorisation code in plain text.
Bu depoda nasıl kullanılır
The Caddy template in deploy/caddy/Caddyfile writes JSON access logs with a scrubbed_access_log filter that strips Authorization, Cookie, Set-Cookie, step-up MFA and webhook signature headers, masks client IPs to /24 IPv4 or /48 IPv6, and uses log_skip on /v1/oauth/<provider>/callback.
İlgili dosyalar:deploy/caddy/Caddyfile
accessibility
a11yTR: erişilebilirlikKavramÖn yüz ve tasarımDiğer adlar: a11y
Kalıcı bağlantıDesigning and coding screens so every person can read and operate them, including with a keyboard, screen reader, or zoomed text.
Accessible interfaces remove barriers for people with low vision, colour-vision differences, motor impairments, vestibular sensitivity, or temporary constraints like bright sunlight on a small phone. Good accessibility starts with semantic HTML, sufficient contrast, clear focus outlines, and keyboard parity rather than bolted-on patches. For example, a native button works with mouse, touch, Enter, Space, and screen readers automatically, whereas a clickable div breaks keyboard users.
Bu depoda nasıl kullanılır
Every route in apps/web and all 58 primitives in packages/ui target WCAG 2.2 AA, enforced by tools/check-a11y-static.mjs, unit accessibility tests, and the 40-route browser audit in tests/browser/a11y-tree-audit.mjs.
İlgili dosyalar:tools/check-a11y-static.mjstests/browser/a11y-tree-audit.mjs
accessibility tree
TR: erişilebilirlik ağacıKavramÖn yüz ve tasarım
Kalıcı bağlantıThe simplified structure of roles, names, and states that the browser builds from the page DOM for assistive technology.
Screen readers and voice-control tools do not inspect CSS pixels; they read the browser accessibility tree, which strips purely decorative wrappers and exposes each interactive control role, accessible name, and state. If a visual icon button lacks text or aria-label, its node appears unnamed in the tree and becomes unusable without sight. For example, a drawer close button with aria-label="Kapat" appears in the tree as a button named Kapat.
Bu depoda nasıl kullanılır
Audited live across 29 public routes and 11 workspace routes by tests/browser/a11y-tree-audit.mjs using real browser snapshots.
İlgili dosyalar:tests/browser/a11y-tree-audit.mjs
accessible name
TR: erişilebilir adKavramÖn yüz ve tasarımDiğer adlar: aria-label, aria-labelledby
Kalıcı bağlantıThe short label assistive technology speaks for a control, derived from its visible text, associated label, or ARIA labelling attribute.
Every button, input, link, and dialog needs an accessible name so a screen-reader or voice user knows what activating it will do. Prefer visible text or a <label> linked to an input; reach for aria-label or aria-labelledby only when a control shows an icon or draws its title from a nearby heading. For example, a modal dialog points aria-labelledby at its heading ID so opening the dialog announces its exact title.
Bu depoda nasıl kullanılır
Static rule 5 in tools/check-a11y-static.mjs fails any role="dialog" without aria-label or aria-labelledby, and every primitive in packages/ui requires caller-supplied names.
İlgili dosyalar:tools/check-a11y-static.mjspackages/ui/src/components/Drawer.tsx
accordion
TR: akordeonKavramÖn yüz ve tasarımDiğer adlar: Accordion
Kalıcı bağlantıA vertical stack of heading triggers that expand and collapse their paired content panels one at a time or independently.
An accordion lets a reader scan section titles first and open only the details they need, keeping tall reference pages calm and scannable. Following the ARIA Authoring Practices Guide, each trigger sits inside an appropriate heading level with aria-expanded and aria-controls pointing to its panel. For example, a methodology FAQ uses an accordion so five dense explanations do not bury the summary table.
Bu depoda nasıl kullanılır
Implemented as Accordion in packages/ui/src/components/Accordion.tsx, enforcing valid heading order (headingLevel) and keyboard navigation without skipping levels.
İlgili dosyalar:packages/ui/src/components/Accordion.tsx
account connection
TR: hesap bağlantısıKavramBağlayıcılar ve CRMDiğer adlar: connected account, oauth_connections
Kalıcı bağlantıAn owner-approved OAuth link between a workspace and an external Meta, Google or storefront account.
To read campaign performance, sync shop orders or dispatch consented conversions, the workspace owner connects the business own accounts through each provider consent screen without ever handing over a password. Tokens are encrypted with per-workspace keys inside the isolated vault schema, while the business retains legal ownership of its ad accounts and shop. For example, disconnecting an account revokes the token at the provider when possible and cryptographically shreds the local vault row immediately. Outside marketers never see or export raw tokens.
Bu depoda nasıl kullanılır
Built across apps/api/src/connections/ (health.ts, refresh.ts, revoke.ts, oauth/) and docs/schema.sql (vault.oauth_connections); live external provider approvals (issue 4) are pending.
İlgili dosyalar:apps/api/src/connectionsdocs/schema.sql
account connections (screen 4)
TR: Hesap bağlantılarıKavramBağlayıcılar ve CRMDiğer adlar: screen 4, Connections, Bağlantılar, /w/:ws/settings/connections
Kalıcı bağlantıThe workspace settings screen where owners connect, check health of and revoke external ad and shop accounts.
Screen 4 gives a business owner a single place to link Meta, Google Ads and storefront accounts through official OAuth flows, check whether each token is healthy and disconnect any account in one click. Every connected account displays its encrypted vault status, granted scopes and currency, with unknown values shown as a dash instead of invented defaults. For example, if a long-lived Meta token expires, the screen displays needs_reauth with a direct reconnect button rather than letting sync jobs fail silently. Password sharing is never requested anywhere on the screen.
Bu depoda nasıl kullanılır
Built at apps/web/src/app/w/[workspaceId]/settings/connections/page.tsx backed by apps/api/src/routes/connections-crm.ts and apps/api/src/connections/.
İlgili dosyalar:apps/web/src/app/w/[workspaceId]/settings/connections/page.tsx
account enumeration
KavramSaldırı ve savunmalarDiğer adlar: enumeration
Kalıcı bağlantıInferring which e-mail addresses or accounts exist in a system by observing differences in error messages or response timing.
If a sign-in or password-reset form says 'no account found' for unknown e-mails and 'check your inbox' for registered ones, an attacker can test thousands of addresses to harvest a customer list. Good sign-in endpoints always return the exact same neutral message and status code regardless of whether the address exists. For example, requesting a sign-in link always responds with the same generic confirmation so an outsider learns nothing about who uses the product.
Bu depoda nasıl kullanılır
Blocked in the passwordless sign-in flow (apps/api/src/auth/sign-in) by returning identical generic responses for known and unknown e-mail addresses.
account sovereignty
KavramBüyük resimDiğer adlar: Account & Data Sovereignty, data sovereignty, rule R1
Kalıcı bağlantıThe rule that the small business always owns its ad accounts, tracking data, storefront and customer records.
Account sovereignty means a business never hands over its root credentials or legal ownership of ad platforms to an outside agency or marketer. Instead, outside help works through scoped, time-limited access that can be revoked without breaking anything. For example, if a leather shop ends a contract with a marketer, one click revokes the grant while the shop keeps every campaign, pixel and customer record.
Bu depoda nasıl kullanılır
Rule R1 in design/FRAME.md and rule 6 in AGENTS.md require zero password sharing, encrypted vault token storage and one-click revocation of marketer grants.
İlgili dosyalar:design/FRAME.mdAGENTS.md
Action Gateway
TR: eylem kapısıKavramOnaylar ve otomasyonDiğer adlar: action-gateway-hysteresis, approvals/hysteresis-check
Kalıcı bağlantıThe approvals safety module that checks pending-proposal edits, remote version drift, post-write read-back and pause-or-restart hysteresis.
An Action Gateway centralises high-assurance checks around external mutations: ensuring only allow-listed editable fields change, retiring old preview hashes after an edit, rejecting writes when the remote version drifted, verifying post-write read-back and applying two-threshold hysteresis before recommending a pause or restart. Keeping these checks pure and deterministic lets teams test safety invariants without touching live ad accounts.
Bu depoda nasıl kullanılır
Implemented in packages/approvals/src/action-gateway-hysteresis.ts and exercised today via the read-only check route (approvals/hysteresis-check) that changes nothing on outside platforms.
İlgili dosyalar:packages/approvals/src/action-gateway-hysteresis.ts
action payload
KavramOnaylar ve otomasyonDiğer adlar: action_payload_jsonb, executable payload
Kalıcı bağlantıThe structured JSON description of the exact external change an executor will perform once an approval is granted.
Every approval request stores both a human-readable summary and a machine-readable action payload containing the exact target, currency and numeric values that the executor will send. Locking the payload at creation time, binding it to the preview and computing its canonical SHA-256 hash guarantees that what the executor runs matches byte for byte what the owner approved.
Bu depoda nasıl kullanılır
Persisted in approval_requests.action_payload_jsonb (docs/schema.sql), restricted to closed per-action keys by packages/approvals/src/payload-allowlist.ts and protected from updates by migration 0003.
İlgili dosyalar:docs/schema.sqlpackages/approvals/src/payload-allowlist.ts
action source
KavramÖlçümlemeDiğer adlar: action_source, website, system_generated
Kalıcı bağlantıMeta's label naming where a tracked event happened, such as a website, a business server or a WhatsApp chat.
Every event sent to Meta's Conversions API must declare its action source so Meta knows which validation rules and matching paths apply. A shop checkout carries website and requires a page URL and browser user agent, while a CRM-recorded sale uses system_generated and a WhatsApp conversion uses business_messaging. Picking the wrong value causes Meta to reject the event or drop browser-to-server deduplication.
Bu depoda nasıl kullanılır
In packages/signals/src/meta-capi.ts, the builder enforces the exact required fields for each action_source, requiring event_source_url and client_user_agent for website events and an in-flight review stamp for business_messaging events.
İlgili dosyalar:packages/signals/src/meta-capi.tsapps/api/src/dispatch/signal-dispatch.ts
action type
KavramOnaylar ve otomasyonDiğer adlar: action_type, APPROVAL_ACTION_TYPES, META_UPDATE_BUDGET, META_PUBLISH_CAMPAIGN, META_PAUSE_ENTITY, GOOGLE_UPDATE_BUDGET, TRACKING_UPDATE_DESTINATION
Kalıcı bağlantıThe closed category naming what kind of change an approval request performs, such as updating a Meta budget or changing a tracking destination.
Restricting approval requests to a fixed enumeration of action types stops arbitrary or undocumented commands from sneaking through a generic endpoint. Each action type carries its own payload key allow-list, guardrail rules, step-up MFA trigger and executor mapping. Today the allowed types cover Meta and Google daily budget changes, publishing or pausing a campaign, changing tracking destinations and releasing a safeguarded payment milestone.
Bu depoda nasıl kullanılır
Defined as APPROVAL_ACTION_TYPES in packages/approvals/src/guardrails.ts and mirrored in docs/schema.sql; only META_UPDATE_BUDGET and TRACKING_UPDATE_DESTINATION have live-style executors wired today.
İlgili dosyalar:packages/approvals/src/guardrails.tsdocs/schema.sql
actor kind
TR: aktör sınıfıKavramKimlik ve erişimDiğer adlar: actor_kind, actorKind, actor class
Kalıcı bağlantıThe category naming what kind of caller is making a request (member, marketer, system_worker, webhook, or ai_diagnostic).
Knowing a user UUID is not enough because a permanent business owner, an outside marketer on a time-bound grant, an automated background job, and an AI diagnostic all obey different authorization rules. Carrying actor_kind in both the session and PostgreSQL's transaction-local context lets middleware, triggers, and RLS policies apply the right rule set cleanly. For example, the approval trigger requires app.actor_kind = 'member' for approving or rejecting proposals, blocking marketers and AI jobs at the database layer.
Bu depoda nasıl kullanılır
Defined in packages/auth/src/tenant-scope.ts and packages/db/src/tenant-tx.ts, stored on auth.sessions (member or marketer), and checked by app_has_workspace_access and approval triggers.
İlgili dosyalar:packages/auth/src/tenant-scope.tspackages/db/src/tenant-tx.ts
ad account
TR: reklam hesabıKavramBağlayıcılar ve CRMDiğer adlar: Meta ad account, Google Ads account
Kalıcı bağlantıA business own billing and campaign container at Meta or Google Ads that remains owned by the business.
An ad account holds a business campaigns, ad sets, budgets, spending history and payment methods inside Meta or Google. Under account sovereignty, the business always connects its own ad account rather than running ads inside an agency-owned account that could vanish if the relationship ends. For example, connecting Meta ad account act_123456 grants scoped API access for one workspace while the business keeps full admin ownership and historical data. Revoking the connection stops product access without touching the business ownership of the account.
Bu depoda nasıl kullanılır
Inspected and listed during OAuth connection and health checks in apps/api/src/connections/health.ts (ad_account: name, currency, status).
İlgili dosyalar:apps/api/src/connections/health.ts
ad platform
TR: reklam platformuKavramÖlçümlemeDiğer adlar: advertising platform, ad network, Meta Ads, Google Ads
Kalıcı bağlantıAn advertising service where businesses buy ad placements, run campaigns and receive performance reports.
An ad platform auctions ad space across its apps and sites, shows ads to people likely to buy, and reports clicks, spend and conversions back to the advertiser. Meta Ads (Facebook, Instagram and WhatsApp) and Google Ads (Search, YouTube and Display) are the two main platforms for Turkish e-commerce businesses. Each platform grades itself using its own attribution rules, which is why its reported sales can overlap with another platform's.
Bu depoda nasıl kullanılır
Release 1 integrates Meta Ads and Google Ads as the two first-class platforms, while keeping TikTok reserved for Release 2 and always comparing platform claims against store truth.
İlgili dosyalar:docs/adr/0002-dual-server-side-capi-and-google-data-manager.md
ad set
TR: reklam setiKavramBağlayıcılar ve CRMDiğer adlar: adset, meta_adset
Kalıcı bağlantıThe level inside a Meta campaign that defines audience targeting, placement, schedule and often the daily budget.
Meta organises advertising into three tiers: campaign (objective), ad set (targeting, placements and budget) and individual ads (creative and copy). Because many small-business accounts set spending caps at the ad-set level, budget-change proposals frequently target a specific meta_adset reference. For example, an approval request might propose raising act_123/adset_987 daily budget from 1,000 TRY to 1,200 TRY (a 20 percent step), which the executor verifies by reading the live ad set before writing. Protecting flagship ad sets in protected_entity_refs blocks automated edits.
Bu depoda nasıl kullanılır
Targeted by budget proposals and checked against workspaces.protected_entity_refs in docs/schema.sql and apps/api/src/approvals/.
İlgili dosyalar:docs/schema.sql
ad spend
TR: reklam harcamasıMetrikÖlçümlemeDiğer adlar: spend, advertising spend, total ad spend, spend_minor
Kalıcı bağlantıThe total money a business pays an ad platform to show its ads over a chosen period.
Ad spend is the cost denominator behind efficiency ratios such as ROAS, MER, CPA, CPC and CPM. For example, if a shop spends 20,000 lira across Meta and Google in one week and makes 80,000 lira in net sales, its marketing efficiency ratio is 4.00. Accurate spend tracking requires storing exact minor units in the account's currency so rounding errors never accumulate across daily rows.
Bu depoda nasıl kullanılır
Spend is stored as whole minor-unit integers (spend_minor) and summed with BigInt arithmetic in packages/ai/src/layer0-analytics.ts and apps/api/src/routes/kpi-ledger.ts before any ratio is divided.
İlgili dosyalar:packages/ai/src/layer0-analytics.tsapps/api/src/routes/kpi-ledger.ts