C1–C10 (counsel questions)
Proje kimliğiProje kodlarıDiğer adlar: counsel question C1 to C10
Kalıcı bağlantıThe ten structured legal and tax questions in docs/COUNSEL-BRIEF.md awaiting Turkish counsel and YMM sign-off.
C1 through C10 organise every legal and tax boundary that software alone cannot settle into ten concrete questions for Turkish specialists: C1 to C3 cover KVKK data residency, cross-border transit and DPA wording, while C4 to C10 cover Law 6493 payment compliance, 3/10 VAT withholding, 1 percent e-commerce withholding and commercial-entity invoicing. For example, Stage 1 SaaS launch waits on C1 to C3, and Stage 2 marketplace payments wait on C4 to C10.
Bu depoda nasıl kullanılır
Defined in docs/COUNSEL-BRIEF.md (issue 3) and mapped to Stage 1 and Stage 2 go-live gates in docs/RUNBOOK.md; note these are distinct from Wave 49 workstream labels WS-C1 and WS-C2.
İlgili dosyalar:docs/COUNSEL-BRIEF.mddocs/RUNBOOK.md
A fast temporary copy of data kept to avoid repeating slower lookups, which can go stale or vanish on restart.
Keeping recent results in process memory avoids repeated network or disk reads, but a cache is never the source of truth because every process has its own copy and a restart wipes it clean. Using an in-memory map as a cache for security counters or deduplication lets two server instances disagree or forget past events after a deploy. For example, caching a deduplication key only in memory fails when a retry lands on a second API instance.
Bu depoda nasıl kullanılır
Deduplication keys (tracking_event_keys), sessions (auth.sessions), and MFA lockout counters (auth.mfa_throttle) live in PostgreSQL rather than process-local caches so every instance shares one authoritative state.
İlgili dosyalar:packages/db/migrations/0006_auth_durable_sessions_and_mfa.sqlpackages/db/migrations/0009_tracking_event_keys_and_dispatch_lease.sql
cache hit ratio
TR: önbellek isabet oranıMetrikÜründe yapay zekaDiğer adlar: cache hit rate, cache_hit_ratio_bps, önbellek isabeti
Kalıcı bağlantıThe fraction of input tokens served from a model server prefix cache instead of being recomputed.
Language model servers can cache the repeated beginning of prompts, such as shared system instructions and JSON schemas, so later calls skip recomputing those tokens. Cache hit ratio divides cached input tokens by total input tokens to show how well prompt prefixes are reused. For example, if a workspace sends 100,000 input tokens in a month and 60,000 come from prefix cache, the cache hit ratio is 60 percent (6,000 basis points), cutting both latency and compute load. When no input tokens were processed, the ratio is null and displayed as a dash.
Bu depoda nasıl kullanılır
Built in apps/api/src/routes/ai-inference-cost-rollup.ts from ai_inference_runs.cached_input_tokens and input_tokens, paired with --enable-prefix-caching in deploy/vllm/docker-compose.vllm.yml.
İlgili dosyalar:apps/api/src/routes/ai-inference-cost-rollup.tsdeploy/vllm/docker-compose.vllm.yml
Cache-Control: no-store
StandartSaldırı ve savunmalarDiğer adlar: no-store
Kalıcı bağlantıAn HTTP response header instructing browsers and intermediate proxies never to store any copy of the response on disk or in memory.
Authenticated API responses carry tenant data, financial figures, and personal information that must never sit in a shared office proxy cache or remain readable via the browser Back button after sign-out. Sending Cache-Control: no-store forbids caching everywhere along the response path. For example, every API JSON response carries Cache-Control: no-store so Workspace A's dashboard data cannot be served from cache to another user.
Bu depoda nasıl kullanılır
Attached to API responses in apps/api/src/platform/hardening.ts and verified by cross-route header fuzz tests.
İlgili dosyalar:apps/api/src/platform/hardening.ts
Caddy
TeknolojiOperasyon ve doğrulamaDiğer adlar: Caddyfile, Caddy 2
Kalıcı bağlantıAn open-source web server and reverse proxy configured in one Caddyfile, with automatic HTTPS certificates.
Caddy sits in front of web and API applications, terminates encrypted HTTPS traffic and routes each request to the right internal service. It obtains and renews TLS certificates automatically from Let's Encrypt without extra renewal scripts. For example, a single Caddyfile can add strict security headers, cap upload sizes and scrub sensitive headers from access logs.
Bu depoda nasıl kullanılır
The hardened proxy template lives in deploy/caddy/Caddyfile and is tested by deploy/caddy/security-headers.test.mjs, including automatic TLS 1.2/1.3, header scrubbing and blocking /metrics and /internal/* externally.
İlgili dosyalar:deploy/caddy/Caddyfiledeploy/caddy/security-headers.test.mjs
calendar grid
TR: takvim ızgarasıKavramÖn yüz ve tasarımDiğer adlar: CalendarGrid, role="grid", month grid
Kalıcı bağlantıA Monday-first monthly day grid using role="grid" where one Tab stop enters the calendar and arrow, Home, End, and Page keys navigate days.
Date grids contain 28 to 31 interactive cells, so giving every day its own Tab stop would force keyboard users to press Tab dozens of times just to pass a month picker. Using roving tabindex inside a role="grid" table lets one Tab enter the active date while Arrow, Home, End, and PageUp/PageDown keys move smoothly across days and months. For example, pressing PageDown moves from 14 March to 14 April without shifting dates across time zones.
Bu depoda nasıl kullanılır
Built as CalendarGrid in packages/ui/src/components/CalendarGrid.tsx on top of integer epoch-day arithmetic (epochDaysToCivil) with zero local Date parsing drift.
İlgili dosyalar:packages/ui/src/components/CalendarGrid.tsx
calendar round-trip check
KavramSaldırı ve savunmalarDiğer adlar: calendar round-trip
Kalıcı bağlantıConstructing a date from year, month, and day and checking that all three components read back unchanged to catch overflow dates.
JavaScript's Date constructor silently rolls impossible calendar dates forward rather than rejecting them, turning 2026-02-31 into 2026-03-03. A calendar round-trip check builds the UTC Date object and immediately asserts that getUTCFullYear(), getUTCMonth() + 1, and getUTCDate() equal the original input numbers. For example, passing 2026-02-30 into a messaging-window check fails validation instead of silently shifting into March.
Bu depoda nasıl kullanılır
Built in apps/api/src/routes/whatsapp-window-preflight.ts and date validators across the API.
İlgili dosyalar:apps/api/src/routes/whatsapp-window-preflight.ts
calm voice
TR: sakin sen diliKavramÖn yüz ve tasarımDiğer adlar: the voice, sen, sakin sen dili, unified calm sen voice
Kalıcı bağlantıThe product editorial voice: direct informal Turkish sen, short factual sentences, exact numbers, two-sentence max errors, and zero exclamation marks.
Founders checking ad spend or approving budget changes do not want cheerful hype or vague apologies; they want calm, concrete facts and the exact next action. Writing in direct sen in Turkish and plain everyday English keeps every screen respectful without sounding stiff or robotic. For example, an error states what failed and how to retry in two plain sentences rather than blaming the user or promising magic.
Bu depoda nasıl kullanılır
Defined in design/WORDS.md and reflected across apps/web/src/lib/words.ts, checked by tools/check-i18n.mjs and Wave 46–48 plain-language tests.
İlgili dosyalar:design/WORDS.mdapps/web/src/lib/words.ts
CamClo safety controls
TR: güvenlik kontrolleriKavramOnaylar ve otomasyonDiğer adlar: CamClo, CamClo guardrails, apr.camclo, Safety guardrails
Kalıcı bağlantıThe shorthand name in design docs and UI copy for the core campaign safety bundle: paused-by-default launches, step cap, kill switch, protected entities and tracking-health launch gate.
Early product research studied ad-automation safety practices from CamClo AI and distilled five non-negotiable controls that protect merchants from runaway spend: new campaigns start paused, single budget steps stay bounded, an emergency kill switch halts spend immediately, protected campaigns cannot be touched, and degraded purchase tracking blocks launches. Together they form the baseline safety bar shown on workspace screens.
Bu depoda nasıl kullanılır
Enforced across packages/approvals/src/guardrails.ts and referenced by screen copy keys (apr.camclo) in design/FRAME.md.
İlgili dosyalar:packages/approvals/src/guardrails.tsdesign/FRAME.md
A structured advertising initiative on an ad platform with a shared objective, schedule and budget.
Ad platforms organise work in layers: an ad account holds campaigns, each campaign sets a goal such as purchases or leads and groups ad sets or ad groups, and those contain the individual creatives people see. Budgets can sit at either the campaign level or the ad-set level. Comparing campaigns fairly requires aligning their reporting windows, currencies and attribution rules.
canary
KavramSaldırı ve savunmalarDiğer adlar: sentinel, planted value, needle
Kalıcı bağlantıA unique synthetic marker string planted inside a test input so assertions can prove it never leaked into errors, logs, or outputs.
When testing zero-echo rules or secret scrubbers, generic inputs like test or abc might appear in an error message by coincidence or miss subtle leaks. Planting a distinctive canary string such as CANARY_SECRET_9f8a7b inside a hostile header, body, or unknown JSON key lets a fuzz suite assert with certainty that zero bytes of that canary appear anywhere in the HTTP response. For example, the cross-route zero-echo fuzz suite sends a unique canary per route and fails if the response echoes even a fragment of it.
Bu depoda nasıl kullanılır
Used throughout apps/api/test/all-routes-zero-echo-and-header-fuzz.test.ts and tools/lib/zero-echo.mjs.
İlgili dosyalar:apps/api/test/all-routes-zero-echo-and-header-fuzz.test.tstools/lib/zero-echo.mjs
canonical JSON
TR: kanonik JSONKavramKriptografi ve gizlilerDiğer adlar: canonical form, canonical key order, canonicalisation, canonical serialisation, canonicalJsonStringify, canonical payload
Kalıcı bağlantıA single deterministic text representation of a JSON value, with sorted object keys, so equal data always hashes identically.
Standard JSON allows different key orders and whitespace for the same object, which would produce completely different SHA-256 hashes for identical data. Canonical JSON fixes one exact layout by sorting object keys deterministically, stripping extra spacing, and rejecting values JSON cannot represent cleanly such as NaN or Infinity. For example, {b:1, a:2} and {a:2, b:1} both serialise to {"a":2,"b":1}, guaranteeing the same hash on every machine.
Bu depoda nasıl kullanılır
Built in packages/approvals/src/canonical-hash.ts (canonicalJsonStringify) and used by packages/approvals/src/audit-chain.ts and packages/vault/src/crypto-shred.ts before hashing.
İlgili dosyalar:packages/approvals/src/canonical-hash.tspackages/approvals/src/audit-chain.ts
canonical URL
TR: kanonik URLKavramBağlayıcılar ve CRMDiğer adlar: canonical tag, canonical, rel=canonical
Kalıcı bağlantıThe preferred URL declared via rel="canonical" so search engines consolidate duplicate page addresses into one.
Online shops routinely expose the same product at multiple URLs—for example with sorting parameters, UTM tags or nested category paths—splitting search equity across copies. A <link rel="canonical"> tag tells Google which clean URL is the authoritative version to index. For example, pointing /urun/deri-cuzdan?utm_source=ig to https://shop.example/urun/deri-cuzdan prevents query strings from creating hundreds of duplicate index entries. Any canonical URL proposed by the SEO worker is also checked against SSRF and same-origin rules so it cannot point at internal or hostile hosts.
Bu depoda nasıl kullanılır
Audited in apps/seo-worker/src/auditor.ts and validated with strict HTTPS-only, non-IP canonical URL checks in apps/seo-worker/src/ikas-seo-patch-policy.ts.
İlgili dosyalar:apps/seo-worker/src/auditor.tsapps/seo-worker/src/ikas-seo-patch-policy.ts
canvas, surface, ink and line
TR: zemin, yüzey, mürekkep ve çizgiKavramÖn yüz ve tasarımDiğer adlar: --canvas, --surface, --ink, --line, zemin, yüzey, mürekkep, çizgi
Kalıcı bağlantıThe four foundational semantic colour families: --canvas for page background, --surface for panels, --ink for text, and --line for borders.
Grouping neutral colours by architectural role rather than hue name (gray-200, slate-900) makes light mode, dark mode, and high-contrast verification automatic across every screen. Each family steps gently in hierarchy (--surface to --surface-3, --ink to --ink-3, --line to --line-field) so text and control borders stay readable in both themes. For example, switching <html data-theme="dark"> swaps every canvas, surface, ink, and line value in one stylesheet block without touching any component.
Bu depoda nasıl kullanılır
Declared in packages/ui/src/tokens.css for both light and [data-theme="dark"] modes, with --line-field guaranteeing at least 3:1 contrast on interactive control edges.
İlgili dosyalar:packages/ui/src/tokens.cssdesign/VISUAL.md
capacity cap
TR: kapasite tavanıKavramİş modeli ve pazarDiğer adlar: portfolio cap, portföy kapasite tavanı, capacity headroom, MAX_ACTIVE_WORKSPACES_PER_SPECIALIST, AGENCY_PORTFOLIO_CAP_EXCEEDED, Uzman kapasitesi, Specialist capacity
Kalıcı bağlantıThe hard limit of at most six active client workspaces per vetted marketer at once, protecting response speed and delivery quality.
A common failure mode of freelance marketers and small agencies is taking on 15 to 20 retainers simultaneously, leaving every client ignored for days while ad spend burns unmonitored. Enforcing a ceiling of six concurrent workspaces (MAX_ACTIVE_WORKSPACES_PER_SPECIALIST = 6) ensures every specialist has real bandwidth to review signals, propose weekly optimisations and answer within SLA. For example, a marketer already serving six active workspaces cannot be matched onto a seventh shortlist or assigned as a 72-hour standby replacement (AGENCY_PORTFOLIO_CAP_EXCEEDED), and total free slots across all vetted specialists are tracked as capacity headroom.
Bu depoda nasıl kullanılır
Built and verified locally in packages/payments/src/replacement-sla.ts (MAX_ACTIVE_WORKSPACES_PER_SPECIALIST = 6) and packages/payments/src/cohort-vetting.ts (FOUNDING_MAX_ACTIVE_WORKSPACES = 6).
İlgili dosyalar:packages/payments/src/replacement-sla.tspackages/payments/src/cohort-vetting.ts
cardinality explosion
TR: kardinalite patlamasıKavramOperasyon ve doğrulamaDiğer adlar: cardinality, label cardinality, high cardinality
Kalıcı bağlantıPutting too many unique values into metric labels, creating so many time series that monitoring runs out of memory.
Every distinct combination of label values on a metric creates its own time series in memory and on disk. Putting unbounded identifiers such as user IDs, order IDs or e-mail addresses into a label multiplies series counts by thousands or millions. For example, adding request_id to a Prometheus counter creates a brand-new series on every HTTP call until the server crashes.
Bu depoda nasıl kullanılır
The sanitiser in packages/vault/src/metrics-sanitizer.ts prevents cardinality explosion by permitting only eight fixed low-variety label keys (ALLOWED_METRIC_LABELS) and rejecting UUIDs, long hex strings and numeric IDs in label values.
İlgili dosyalar:packages/vault/src/metrics-sanitizer.ts
cardless trial
TR: kartsız denemeKavramİş modeli ve pazarDiğer adlar: 14-day cardless trial, free trial, no-card trial, 14 gün kartsız canlı deneme, 14-day cardless live trial
Kalıcı bağlantıA 14-day free evaluation that asks for no credit card and automatically downgrades to Audit Free on Day 15 with zero surprise charges.
Many marketing SaaS tools demand a credit card upfront and silently convert intro trials into $79 or $199 recurring charges, driving chargebacks and bitter reviews. Owner decision OD-09 locks the opposite posture: businesses test live tracking and reporting for 14 days without entering a card, and if they do not explicitly upgrade, the workspace drops cleanly back to Audit Free on Day 15 with zero charge and full export access preserved. For example, experiment E01 in docs/GTM-TURKEY-PLAYBOOK.md plans to compare a 21-day cardless trial against this 14-day baseline once live billing exists.
Bu depoda nasıl kullanılır
Decided in docs/OWNER-DECISIONS.md (OD-09) and surfaced in design/WORDS.md (audit.pricing_pilot_note); subscription billing and trial timers are not built yet.
İlgili dosyalar:docs/OWNER-DECISIONS.mddesign/WORDS.mddocs/GTM-TURKEY-PLAYBOOK.md
case study card
TR: vaka özetiKavramİş modeli ve pazarDiğer adlar: case study, sanitizeCaseStudyCard
Kalıcı bağlantıA summary of one past engagement shown on a marketer's dossier that reveals the client's brand name only while both sides keep explicit opt-in consent active.
Businesses want proof that a marketer has solved real problems in their vertical, yet most small brands do not want competitors reading their ad spend or margins publicly. A case study card shows anonymised vertical context by default and displays the client's brand name only when both the client and the marketer have opted in—and strips the brand name immediately if either side revokes consent. For example, sanitizeCaseStudyCard replaces the brand name with an anonymised vertical label the moment clientOptIn or marketerOptIn flips to false.
Bu depoda nasıl kullanılır
Built and verified locally in packages/payments/src/marketer-badges.ts (sanitizeCaseStudyCard) and tested in packages/payments/test/payments.test.mjs.
İlgili dosyalar:packages/payments/src/marketer-badges.tspackages/payments/test/payments.test.mjs
CDN
CDNTR: içerik dağıtım ağıTeknolojiÖn yüz ve tasarımDiğer adlar: content delivery network
Kalıcı bağlantıA distributed network of edge servers that caches and delivers static assets such as images and stylesheets closer to each visitor.
Serving files from a server near the visitor reduces network round-trip latency and takes load off the application server. However, pulling third-party scripts, stock photos, or external fonts from third-party CDNs leaks visitor IP addresses and creates external uptime dependencies. For example, this repository forbids stock-photo CDNs so every image is served locally from apps/web/public/assets/.
Bu depoda nasıl kullanılır
External stock-photo CDNs are blocked by tools/check-web-budgets.mjs and tools/check-media-assets.mjs; no production CDN is deployed yet.
İlgili dosyalar:tools/check-web-budgets.mjstools/check-media-assets.mjs
ceiling division
KavramVeri ve PostgreSQLDiğer adlar: round-up division
Kalıcı bağlantıWhole-number division that rounds any non-zero remainder up to the next integer.
Ordinary integer division drops the remainder, which can make a value slightly above a limit look as if it passed the check. Ceiling division adds divisor - 1 before dividing ((a + b - 1) / b for positive integers) so even a tiny overshoot rounds up into the next whole unit. For example, raising a daily budget by 20.01% over a 20% (2,000 bps) step cap rounds up to 2,001 bps and is rejected instead of truncating down to 2,000 bps.
Bu depoda nasıl kullanılır
Both apps/api/src/routes/approvals-guardrail-preflight.ts and the database trigger in packages/db/migrations/0003_approval_intent_integrity.sql compute budget_step_bps with exact signed ceiling division: (abs(delta) * 10000 + current - 1) div current.
İlgili dosyalar:apps/api/src/routes/approvals-guardrail-preflight.tspackages/db/migrations/0003_approval_intent_integrity.sql
chain fork
TR: çatallanmaKavramKriptografi ve gizlilerDiğer adlar: forked chain
Kalıcı bağlantıA broken hash chain where two rows point to the same earlier hash, caused by concurrent inserts that did not serialise.
A chain fork happens when two writers read the same latest hash at once and each appends a new row pointing back to it. Instead of one straight line of history, the log splits into two competing branches and offline verification fails. For example, if two API requests simultaneously log approvals against row 41 without locking the chain head, both rows 42 and 43 record row 41 as their previous hash.
Bu depoda nasıl kullanılır
Prevented in docs/schema.sql by having trg_audit_log_hash_chain lock the single row in vault.audit_chain_head with FOR UPDATE before computing each new row_hash.
İlgili dosyalar:docs/schema.sql
chain head
TR: zincir başıKavramKriptografi ve gizlilerDiğer adlar: audit chain head, vault.audit_chain_head, head hash
Kalıcı bağlantıThe stored pointer to the latest audit row's sequence number and hash, locked on each insert to prevent chain forks.
A hash chain needs one authoritative tip so concurrent requests append strictly one after another. Locking the chain head row inside the insert transaction forces the second writer to wait until the first finishes and updates the head hash. For example, when two requests write audit rows in the same millisecond, the database lock ensures row 101 links to row 100 and row 102 links to row 101.
Bu depoda nasıl kullanılır
Stored in vault.audit_chain_head in docs/schema.sql, updated exclusively by the audit trigger, and summarised by apps/api/src/routes/audit-log-chain-checkpoint.ts.
İlgili dosyalar:docs/schema.sqlapps/api/src/routes/audit-log-chain-checkpoint.ts
challenge
KavramKimlik ve erişimDiğer adlar: passkey challenge, WebAuthn challenge
Kalıcı bağlantıA fresh single-use 32-byte random nonce issued by the server that a passkey must sign so old assertions cannot be replayed.
If a passkey signed a static message, an eavesdropper who captured one signed response could replay it forever to sign in again. Issuing a brand-new random 32-byte challenge stored with a short expiry (5 minutes for passkey sign-in) and consuming it atomically on first use proves the signature was created right now for this exact sign-in or step-up request. For example, auth.consume_passkey_login_challenge marks consumed_at in one conditional UPDATE ... WHERE consumed_at IS NULL so a replayed assertion fails immediately.
Bu depoda nasıl kullanılır
Stored in auth.passkey_challenges (step-up, migration 0006) and auth.passkey_login_challenges (sign-in, migration 0007), verified in apps/api/src/auth/session-and-mfa.ts and passkey-verifier.ts.
İlgili dosyalar:apps/api/src/auth/session-and-mfa.tspackages/db/migrations/0007_auth_login_challenges.sql
change preview
TR: değişiklik önizlemesiKavramOnaylar ve otomasyonDiğer adlar: preview, exact diff, exact-diff preview, diff preview, preview_summary_jsonb
Kalıcı bağlantıThe exact human-readable before-and-after diff shown to the owner before they decide, bound cryptographically to the executable payload.
A vague prompt like "Increase campaign budget" hides whether the change adds 50 lira or 5,000 lira. A change preview spells out the target object, current value, proposed value, lira delta, basis-point step and every guardrail evaluated. Because the server checks that the preview matches the action payload and pins both with a SHA-256 preview hash, the owner can trust what they read.
Bu depoda nasıl kullanılır
Stored in approval_requests.preview_summary_jsonb, validated against action_payload_jsonb by packages/approvals/src/guardrails.ts, and rendered in apps/web/src/app/w/[workspaceId]/approvals/[approvalId]/page.tsx.
İlgili dosyalar:packages/approvals/src/state-machine.tspackages/approvals/src/guardrails.ts