main branch
KavramNasıl geliştiriyoruzDiğer adlar: main, default branch
Kalıcı bağlantıThe repository's primary shared branch holding integrated, verified work and serving as the starting point for new waves.
Keeping main always passing lets any builder branch from a trustworthy baseline instead of inheriting half-finished experiments. Feature work happens on short-lived wave or workstream branches and reaches main only through reviewed pull requests. For example, Waves 45 through 48 merged into main via pull requests 95, 100, 101 and 102.
Bu depoda nasıl kullanılır
Hosted as origin/main on GitHub and checked on every push by .github/workflows/verify.yml (OD-17).
İlgili dosyalar:.github/workflows/verify.yml
managed review
TR: yönetilen insan incelemesiKavramÜründe yapay zekaDiğer adlar: managed human review, vendor review, managed AI agency
Kalıcı bağlantıPaid vendor staff reviewing AI drafts on behalf of customers, modelled as a warning and not offered by the product.
Some AI vendors quietly hire human reviewers behind the scenes to inspect and fix model outputs before customers see them. While that can hide model weaknesses, labour costs grow linearly with every single task and quickly erase software gross margins on small-business subscriptions. For example, on a pilot plan priced at 890 TRY per month, paying staff to review 60 drafts per customer would cost far more than the subscription fee itself. Modelling managed review explicitly proves why owner self-review and strong deterministic guardrails are essential.
Bu depoda nasıl kullanılır
Modelled in packages/ai/src/c-accepted.ts to compare labour-dominated managed review against customer self-review; the product does not offer managed review.
İlgili dosyalar:packages/ai/src/c-accepted.ts
managed spend tier
TR: Yönetilen harcama bandıMetrikİş modeli ve pazarDiğer adlar: spend tier
Kalıcı bağlantıA broad bucket showing the 12-month ad spend a marketer has managed—computed from read-only ad-platform APIs rather than self-reported numbers.
Showing a marketer's exact client spend figures risks leaking confidential competitor budgets, while hiding scale altogether leaves a store owner unsure whether a specialist has ever managed serious spend. Bucketing verified 12-month spend into broad tiers (TRY_300K_PLUS, TRY_500K_PLUS, TRY_2M_PLUS, TRY_10M_PLUS, USD_100K_PLUS, USD_500K_PLUS) read directly through read-only API connections proves experience without exposing raw client totals. For example, a brand spending ₺120,000/month can shortlist specialists holding at least TRY_2M_PLUS verified annual spend.
Bu depoda nasıl kullanılır
Built as a closed enum (VerifiedSpendTier) inside Tier 3 verification in packages/payments/src/marketer-badges.ts and displayed via design/WORDS.md (dos.metric_spend).
İlgili dosyalar:packages/payments/src/marketer-badges.tsdesign/WORDS.md
manual check
TR: manuel kontrolSüreçNasıl geliştiriyoruzDiğer adlar: manual gate, manual test, manual run
Kalıcı bağlantıA verification step that only a human can perform, such as listening with a screen reader or running a live Meta test runbook.
Automated suites cover deterministic logic and browser DOM rules, but some realities require human judgment or real external credentials that automated tests must never hold. Listing manual checks separately from automated gates keeps reports honest about what still requires an owner's hands. For example, sending a real test event to the owners' Meta Events Manager is a manual runbook, never run in CI.
Bu depoda nasıl kullanılır
Documented in docs/runbooks/send-meta-test-event.md, connect-meta-test-account.md, approve-meta-test-budget-change.md and research/E06-UX-BENCHMARK-CLOSURE-LEDGER.md.
İlgili dosyalar:docs/runbooks/send-meta-test-event.mddocs/runbooks/approve-meta-test-budget-change.md
margin gate
TR: marj tabanıKavramİş modeli ve pazarDiğer adlar: margin floor, marj kapısı, base gate, stress gate, unknown_cogs_blocked, unsupported_fx_blocked, E08 gate
Kalıcı bağlantıThe fail-closed pricing rule requiring at least 70% gross margin in the base case and at least 50% in the combined stress case, blocking readouts when any cost is missing.
Ultra-cheap SaaS prices feel attractive in a pitch deck yet bleed cash the moment direct support minutes or server costs rise slightly. The margin gate evaluates every proposed tier in exact integer basis points against two floors—>= 7,000 bps (70%) base gross margin and >= 5,000 bps (50%) combined stress gross margin—and fails closed whenever any COGS field is null (unknown_cogs_blocked) or an exchange rate is unverified (unsupported_fx_blocked). For example, in docs/FINANCIAL-MODEL-36M.md, $29/month fails both gates across every task volume (hitting -62.07% stress margin at 3,000 tasks), while $49 (35 tasks) and $59 (100–300 tasks) pass both.
Bu depoda nasıl kullanılır
Built and verified locally in packages/payments/src/cogs-and-trust-gates.ts (E08_BASE_GROSS_MARGIN_GATE_BPS = 7_000, E08_STRESS_GROSS_MARGIN_GATE_BPS = 5_000) and governed in docs/FINANCIAL-MODEL-36M.md (§1, §6).
İlgili dosyalar:packages/payments/src/cogs-and-trust-gates.tsdocs/FINANCIAL-MODEL-36M.md
marketer
TR: uzmanKavramBüyük resimDiğer adlar: specialist, growth marketer, verified marketer, uzman, doğrulanmış uzman, vetted marketer
Kalıcı bağlantıAn outside growth specialist hired by a small business to work inside its workspace under time-bound, revocable access.
Small businesses often need skilled advertising help without losing ownership of their accounts or handing over blind spending power. In this product, a marketer works inside the business's own workspace through a scoped grant, proposes changes for owner approval and builds portable API-verified proof. For example, Caner in the sample world proposes a budget adjustment that waits in Selin's approval queue.
Bu depoda nasıl kullanılır
docs/schema.sql models marketer profiles and marketer_grants, enforcing that marketers can never read OAuth vault tokens or execute budget changes without approval.
İlgili dosyalar:docs/schema.sqldesign/FRAME.md
marketer dossier (screen 8)
TR: Uzman DosyasıKavramİş modeli ve pazarDiğer adlar: dossier, screen 8, /w/:ws/marketers/:slug
Kalıcı bağlantıThe workspace screen profiling one vetted marketer with their four verification tiers, API-verified metrics, sprint and retainer prices and spend-floor advisory.
Before a business owner opens scoped access or funds a safeguarded payment, they need one honest page showing what the specialist has actually verified rather than marketing fluff. Screen 8 shows all four verification tiers with exact scope and verification dates, 12-month managed spend tier, Event Match Quality lift, N >= 3-gated retention, anonymised case studies (named only under dual opt-in), the operational SLA commitment (explicitly stating no guaranteed ROAS) and the OD-08 soft ₺40,000/month spend advisory for monthly retainers. For example, a shop spending ₺25,000/month on ads sees a calm note recommending a 7-day sprint first.
Bu depoda nasıl kullanılır
Designed in design/WORDS.md (Screen 8, dos.* keys) and powered locally by packages/payments/src/marketer-badges.ts; live marketplace profiles await Founding Cohort recruitment (issue 21).
İlgili dosyalar:design/WORDS.mdpackages/payments/src/marketer-badges.ts
marketer grant
TR: kapsamlı yetkiKavramKimlik ve erişimDiğer adlar: grant, scoped access, marketer_grants, uzman erişimi, scoped marketer, Kapsamlı uzman, Hired Marketer
Kalıcı bağlantıTime-bound, revocable, least-privilege workspace access issued to an outside specialist tied to a funded or active engagement.
Rather than adding a hired marketer as a permanent team member or sharing account passwords, the owner issues a marketer_grants row with explicit allowed_scopes (chosen from six grantable scopes), starts_at, and expires_at, linked by composite foreign key to an active engagement. PostgreSQL RLS checks revoked_at IS NULL, engagement.status IN ('funded', 'active'), and starts_at <= now() < expires_at on every query, denying raw crm_contacts PII unless crm:read_contacts was explicitly toggled on. For example, once expires_at passes, the marketer loses access automatically without anyone clicking a button.
Bu depoda nasıl kullanılır
Defined in docs/schema.sql (marketer_grants, app_has_workspace_access, app_has_workspace_scope) and mirrored in packages/auth/src/grants-rbac.ts (evaluateMarketerGrant).
İlgili dosyalar:packages/auth/src/grants-rbac.tsdocs/schema.sql
marketers (place)
TR: UzmanlarKavramBüyük resimDiğer adlar: screen 7, Verified Marketers, Doğrulanmış Uzmanlar, /w/:ws/marketers
Kalıcı bağlantıThe third navigation place in a workspace, where owners browse verified specialists and open their performance dossiers.
Instead of an unvetted freelance directory filled with screenshots and star ratings, the marketers place presents a small set of specialists vetted through API-verified telemetry and tax checks. From here an owner opens a dossier and starts a scoped sprint or monthly retainer under safeguarded payments. For example, filtering by e-commerce and Meta CAPI narrows the list to matching specialists.
Bu depoda nasıl kullanılır
Screen 7 in design/FRAME.md, implemented at apps/web/src/app/w/[workspaceId]/marketers/page.tsx under the Turkish label Uzmanlar.
İlgili dosyalar:apps/web/src/app/w/[workspaceId]/marketers/page.tsxdesign/FRAME.md
marketing efficiency ratio
MERMetrikÖlçümlemeDiğer adlar: MER
Kalıcı bağlantıTotal store net sales divided by total ad spend across all channels, grounded in store truth rather than platform claims.
Marketing efficiency ratio (MER) answers the simplest executive question: for every lira spent on ads anywhere, how many lira of real net sales did the shop book? If net store sales after refunds equal 250,000 lira and total spend across Meta and Google equals 50,000 lira, MER is 5.00. Because MER uses store net sales in the numerator, platform over-attribution cannot inflate it.
Bu depoda nasıl kullanılır
Computed in apps/api/src/routes/kpi-ledger.ts from the finance ledger (store net sales minus order adjustments) divided by summed ad spend, returning null when spend is zero.
İlgili dosyalar:apps/api/src/routes/kpi-ledger.ts
marketplace
TR: pazaryeriKavramİş modeli ve pazarDiğer adlar: embedded expert layer, gömülü uzman katmanı, embedded marketplace, two-sided marketplace, expert delivery layer
Kalıcı bağlantıThe embedded vetted-marketer layer where small businesses match with verified commercial specialists who work inside the business's own workspace under safeguarded payments.
Unlike standalone freelance portals that leave buyers and sellers to share passwords over chat and chase bank transfers, an embedded marketplace sits directly on top of the daily operating ledger. Businesses come for single-player tracking and analytics first, then activate vetted specialists for fixed 7-day sprints or monthly retainers inside their own workspace using scoped grants, SHA-256 approvals and TCMB-licensed iyzico Pazaryeri safeguarded payments. For example, in docs/FINANCIAL-MODEL-36M.md, the SaaS layer generates 75% to 85% of modelled gross profit while the marketplace cuts modelled churn in half (7.5% to 3.5%/month).
Bu depoda nasıl kullanılır
Built locally across packages/payments/src/ and apps/web/src/app/w/[workspaceId]/marketers; live marketplace launch is gated behind Gate B (OD-05, issue 3, issue 4 and issue 21).
İlgili dosyalar:apps/web/src/app/w/[workspaceId]/marketersdocs/BUSINESS-PLAN.mddocs/adr/0008-audit-to-sprint-cold-start-wedge.md
match quality estimate
MetrikÖlçümlemeDiğer adlar: EMQ estimate, emq_estimated_milli, EMQ simulator, computeEmqSignals
Kalıcı bağlantıThe product's local 0-to-10,000 pre-send score estimating how strongly an event's identifiers will match at Meta.
Before an event ever reaches Meta Events Manager, inspecting which match signals are present — hashed e-mail, hashed phone, fbc, fbp, external_id, name and city — reveals obvious tracking gaps immediately. Computing a deterministic milli-unit score from 0 to 10000 (representing 0.0 to 10.0) flags weak payloads in tests and diagnostics. It is always presented as an internal estimate, never disguised as Meta's official EMQ.
Bu depoda nasıl kullanılır
Calculated as emq_estimated_milli by computeEmqSignals in packages/signals/src/dedup-and-emq.ts and surfaced in apps/api/src/routes/signals-attribution-quality.ts.
İlgili dosyalar:packages/signals/src/dedup-and-emq.tsapps/api/src/routes/signals-attribution-quality.ts
match rate
TR: eşleşme oranıMetrikÖlçümlemeDiğer adlar: Enhanced Conversions match rate
Kalıcı bağlantıThe percentage of uploaded conversion events or customer records that an ad platform successfully ties to its own user accounts.
If a shop sends 1,000 hashed purchase events to Google Ads Data Manager and Google resolves 720 of them to signed-in Google accounts, the match rate is 72 percent. Low match rates usually stem from formatting mistakes — such as forgetting the leading + on E.164 phone numbers, failing to strip Gmail dots or sending only one weak identifier. Higher match rates give bidding algorithms cleaner conversion signals.
mean
TR: ortalamaMetrikOperasyon ve doğrulamaDiğer adlar: average, arithmetic mean
Kalıcı bağlantıThe arithmetic average formed by summing all measurements and dividing by how many there are.
The mean is easy to compute, yet in software operations it is easily distorted by skewed latency curves. Ninety-nine fast 10 ms requests and one stuck 10-second request average to 110 ms, hiding the fact that one user waited ten seconds. For example, ops dashboards inspect p95 and p99 percentiles alongside the mean so slow outliers never disappear.
Bu depoda nasıl kullanılır
The local load benchmark in tests/perf/load-bench.mjs reports percentiles rather than relying on averages alone, and tools/lib/linear-time.mjs uses medians to resist machine-noise outliers.
İlgili dosyalar:tests/perf/load-bench.mjstools/lib/linear-time.mjs
A binary data size unit equal to 1,048,576 bytes (1024 * 1024), used for strict webhook and response caps.
Unbounded HTTP request or response bodies let a hostile webhook sender or bloated webpage exhaust server RAM in seconds. Setting exact caps in mebibytes (1 MiB = 1,048,576 bytes) bounds parser memory cleanly before JSON decoding or HTML scanning starts. For example, webhook-normalizer.ts and replay-queue.ts reject inbound webhook payloads over 1 MiB, bulk-job-and-manifest.ts caps JSONL bulk downloads at 2 MiB by default, and ssrf-guard.ts caps crawled HTML responses at 5 MiB. Enforcing byte caps at the stream boundary protects stability.
Bu depoda nasıl kullanılır
Enforced as WEBHOOK_MAX_PAYLOAD_BYTES = 1_048_576 (packages/connectors/src/webhook-normalizer.ts), BULK_JSONL_DEFAULT_MAX_BYTES = 2_097_152 and MAX_RESPONSE_BYTES = 5 MiB (apps/seo-worker/src/ssrf-guard.ts).
İlgili dosyalar:packages/connectors/src/webhook-normalizer.tsapps/seo-worker/src/ssrf-guard.ts
media gate
TR: medya bütçe kapısıSüreçÖn yüz ve tasarımDiğer adlar: media budget, asset size budget, media ledger, check-media-assets, web and media budgets, medya bütçesi
Kalıcı bağlantıThe automated audit in tools/check-media-assets.mjs checking WebP headers, byte budgets, SHA-256 parity with Higgsfield masters, zero stock URLs, and zero orphan assets.
Uncompressed hero photos, unattributed stock links, or forgotten unused images bloat deployments and introduce licensing risks. The media gate inspects every asset binary header (RIFF....WEBP), checks exact pixel dimensions and KiB limits, hashes each file against design/assets/ and design/higgsfield/LOG.md, and verifies every public asset is actually referenced by a page. For example, adding a 300 KiB editorial image or leaving an unused WebP in apps/web/public/assets/ fails the gate immediately.
Bu depoda nasıl kullanılır
Implemented in tools/check-media-assets.mjs, verifying all 17 Higgsfield WebPs (<= 60 KiB avatars, < 250 KiB editorial, <= 270 KiB hero, <= 2.5 MiB total) plus the locked Option B SVG.
İlgili dosyalar:tools/check-media-assets.mjs
median
TR: medyanMetrikOperasyon ve doğrulamaDiğer adlar: middle value
Kalıcı bağlantıThe exact middle value of a sorted set of numbers, also written as p50, which resists extreme outliers.
Half of all observations fall at or below the median and half fall at or above it. Because one random garbage-collection pause or noisy CI spike cannot pull the middle value far off course, the median is far steadier than the arithmetic mean for performance comparisons. For example, in the sorted timings 8, 9, 10, 11, 250 ms, the median is 10 ms while the mean jumps to 57.6 ms.
Bu depoda nasıl kullanılır
In tools/lib/linear-time.mjs, growth-ratio checks run five interleaved rounds at 1/8 size and full size and compare their medians so shared CI runner jitter does not trigger false failures.
İlgili dosyalar:tools/lib/linear-time.mjs
membership
TR: üyelikKavramKimlik ve erişimDiğer adlar: workspace membership, workspace_memberships
Kalıcı bağlantıThe table row linking a permanent team user account to a workspace with one role (owner, admin, analyst, or viewer).
Because one person can belong to several businesses with different roles (for instance owner of their own shop and viewer on a partner's workspace), roles live on workspace_memberships rather than on public.users. Setting revoked_at ends a member's access without deleting their historical audit trail. For example, during onboarding auth.create_first_workspace inserts the new workspaces row and the creator's owner membership in one atomic transaction.
Bu depoda nasıl kullanılır
Stored in public.workspace_memberships (docs/schema.sql), created on onboarding by migration 0007, and checked by both app_has_workspace_access and packages/auth/src/grants-rbac.ts.
İlgili dosyalar:docs/schema.sqlpackages/db/migrations/0007_auth_login_challenges.sqlpackages/auth/src/grants-rbac.ts
merge
TR: birleştirmeKavramNasıl geliştiriyoruzDiğer adlar: merge commit
Kalıcı bağlantıCombining commits from one Git branch into another; Git joins non-overlapping lines automatically, creating new combined code.
A clean text merge with zero conflicts only proves two branches edited different lines—not that the resulting program still compiles or behaves correctly. Because a merge creates a file state neither author ever wrote or ran alone, typechecking and tests must always run again after merging. For example, merging Wave 48 A and B succeeded cleanly in Git while silently dropping a needed KekKeyring import.
Bu depoda nasıl kullanılır
Performed by the integrator on wave branches and via GitHub pull requests into main, always followed by re-running verification.
The most recent common ancestor commit shared by two branches, from which Git computes what each side changed.
When Git merges branch B into branch A, it compares both tips against their merge base rather than only against each other. If branch A deleted a line that branch B left untouched, Git knows branch A intentionally removed it and drops the line in the merged file. For example, git merge-base main HEAD prints the exact commit where the current branch diverged from main.
Bu depoda nasıl kullanılır
Used during wave integration and gitleaks branch-range scans to isolate changes introduced by a single branch.
merge conflict
TR: birleştirme çakışmasıKavramNasıl geliştiriyoruzDiğer adlar: conflict
Kalıcı bağlantıA situation where two branches edited the same lines differently, forcing a human to reconcile them before completing the merge.
Git pauses a merge and inserts conflict markers whenever two commits change overlapping lines in incompatible ways. Preventing unnecessary conflicts is why each parallel workstream in a wave owns disjoint files—and why shared files like design/WORDS.md or docs/openapi.yaml have a single designated owner per wave. For example, Wave 49 assigned design/WORDS.md exclusively to C2 so parallel branches would not collide.
Bu depoda nasıl kullanılır
Minimized by single-owner file tables in docs/wave49/briefs/COMMON.md and resolved by the integrator during wave merges.
İlgili dosyalar:docs/wave49/briefs/COMMON.md
A text-based diagram syntax rendered visually on GitHub, used in a few architecture docs but disallowed in new OD-23 lessons.
Mermaid lets authors write flowcharts in plain Markdown so GitHub renders them as boxes and arrows without binary image files. Because the in-app /academy reader renders plain text diagrams without shipping a heavy diagram parser to browsers, new lessons draw diagrams in text code blocks instead. For example, docs/SYSTEM.md uses Mermaid while docs/lessons/AUTHORING.md requires text blocks.
Bu depoda nasıl kullanılır
Present in docs/SYSTEM.md and archived lessons, and rejected by tools/learning/build.mjs in new topic lessons under OD-23.
İlgili dosyalar:docs/lessons/AUTHORING.md
message template
TR: şablonKavramHukuk, vergi ve ödemeDiğer adlar: template, template message, approved template, onaylı şablon, version-pinned template
Kalıcı bağlantıA pre-written WhatsApp message reviewed and approved by Meta in advance, required whenever a business messages a customer outside the 24-hour service window.
Once a customer's 24-hour customer service window closes, WhatsApp blocks arbitrary text and accepts only approved templates classified as marketing, utility or authentication. Pinning every dispatch to an exact immutable version identifier—refusing mutable labels like latest or draft—guarantees that the wording sent matches the wording audited and approved. For example, sending an appointment reminder template clinic_appt_v3 48 hours after a patient's last chat succeeds when that exact version is approved and not paused, whereas sending latest or an unapproved draft fails closed.
Bu depoda nasıl kullanılır
Built and verified locally in packages/signals/src/whatsapp-window-state.ts, which rejects mutable version aliases (latest, draft, live) and unapproved or paused templates.
İlgili dosyalar:packages/signals/src/whatsapp-window-state.ts
Meta App Review
SüreçBağlayıcılar ve CRMDiğer adlar: App Review, Business Review, Advanced Access
Kalıcı bağlantıMeta mandatory approval process granting Advanced Access to marketing permissions for external customer accounts.
While a Meta app is in development, it can only access ad accounts belonging to people listed as developers or testers on the app. Serving real Turkish businesses requires passing Meta App Review for each permission (such as ads_read, ads_management and leads_retrieval), submitting screencasts, privacy policies and test instructions proving legitimate use. For example, until Meta App Review and Business Verification complete (issue 4), external SMBs cannot connect live Meta ad accounts through Screen 4. Planning around this multi-week review gate keeps launch schedules realistic.
Bu depoda nasıl kullanılır
Tracked as an open external launch gate in docs/OWNER-DECISIONS.md (OD-01, issue 4) and docs/WEBHOOK-DELIVERY-HMAC-AND-DEAD-LETTER-RUNBOOK.md.
İlgili dosyalar:docs/OWNER-DECISIONS.md