YUKK 6458 · TVK 5901 · KVKK 6698

Prepare error-free Turkish immigration dossiers before appointment day.

Gocmenim is a sovereign compliance workbench and local OCR verification platform for Turkish residence permits and citizenship applications. It validates statutory document gates, ICAO 9303 passport MRZ data, address codes, and cross-form consistency before applicants appear at Provincial Immigration Directorates.

Zero external AI APIs: PDF rasterization and 5-script OCR run locally inside AWS Istanbul Local Zone (eu-central-1-ist-1a) under HYOK encryption.

  • TR / EN / RU / AR RTL
  • Local OCR & ICAO MRZ
  • AWS Istanbul Local Zone
  • 7-Year HYOK S3 Vault
Gocmenim Dossier Command Center interface showing mandatory YUKK 6458 document checklist, multi-file upload dropzone, household profile switcher, and real-time readiness score.
Authenticated Dossier Command Center tracking statutory checklist gates, household profiles, and cross-audit readiness in real time.

Problem & Audience

Eliminating appointment-day rejections for applicants and HR teams

In Türkiye, minor mismatches across e-İkamet forms, passports, insurance policies, and e-Devlet records trigger delayed processing or flat rejections. Gocmenim catches clerical and statutory issues deterministically beforehand.

B2C · Households

Foreign Residents & Turkish Sponsors

Built for individuals, students, spouses, and Turkish citizen sponsors preparing First-Time (Art. 21), Extension (Art. 24), Transition (Art. 30), Family (Arts. 34-37), and Citizenship (TVK 5901) files.

  • Supports multi-profile families in one account
  • Highlights statutory fee and insurance waivers
  • Hydrates recurring annual renewals safely
B2B · Mobility

Corporate HR & Relocation Teams

Tenant-isolated corporate workspaces allow HR and global mobility teams to manage employee residence dossiers, verify compliance gates, and track expiry windows at scale.

  • Scoped B2B portfolios and batch verification
  • Proactive permit and PTT UETS deadline alerts
  • Immutable audit trail per applicant cycle
Deterministic Gates

Common Rejections Prevented

Every uploaded file is cross-checked against statutory timing rules, checksums, and municipal residency registers before the physical appointment date.

  • 60-day passport margin & 60-day extension window
  • 10-digit UAVT address code & 20% quota checks
  • 30-day e-Devlet barcode & name-spelling parity

Three-Stage Flow

How Gocmenim audits a dossier from upload to export

Applicants enter without passwords, upload their paperwork in any order, and walk into their appointment with a cross-verified PDF and ZIP binder.

01

Passwordless SMS Intake & Auto-Detection

Applicants authenticate with a 6-digit Turkish GSM SMS WebOTP code. Either select a permit pathway in 3 steps or drop an existing e-ikamet.goc.gov.tr application PDF to auto-detect the category, track, and mandatory gate checklist.

02

Local Multi-Script OCR & Checksum Parsing

An asynchronous worker runs poppler-utils rasterization and tesseract.js across Turkish, English, Russian, Arabic, and Persian, verifying ICAO Doc 9303 MRZ Modulo-10 digits and 11-digit TCKN / 99-series YKN checksums without leaving Türkiye.

03

Cross-Audit Resolution & Stamped Binder

The deterministic engine flags EQ-01 through EQ-07 discrepancies side by side, calculates the binary readiness score, and builds a stamped, QR-verified PDF and ZIP submission binder alongside proactive UETS and renewal reminders.

Engineering Depth

Built on deterministic legal logic and strict KVKK controls

Designed as a high-integrity financial-grade compliance system rather than a fragile wrapper around generic chatbots.

Statutory Rule Engine (YUKK & TVK)

Encodes Law No. 6458 residence tracks, Law No. 5901 naturalization rules, USD 200,000 real estate thresholds, rolling 90/180-day stay calculations, and Treasury fee codes (9207, 9233, 9070).

7 Cross-Document Invariants

Enforces EQ-01 through EQ-07 equality across profile YKN/TCKN, passport numbers, Turkish diacritic-normalized names, sponsor identity, 10-digit UAVT address codes, insurance coverage dates, and 30-day document recency.

Web SPA & Zero-GMS Mobile Apps

Built with Svelte 5, Framework7 9, and Capacitor 8 for iOS and Android using hardware keystore secrets, bundled local fonts, offline deadline tracking, and zero Google or Apple push relays.

Master Data vs. Immutable Cycles

Persistent household records (passports, civil extracts, addresses) live in a normalized 21-table 3NF PostgreSQL 16 schema with pgvector, hydrating annual renewals while locking historical exported binders.

RBAC Admin Engine Studio

Operations teams use role-separated SUPER_ADMIN, COMPLIANCE_AUDITOR, SUPPORT_OPS, and ENGINE_TUNER views to tune OCR thresholds, closed-neighborhood caches, and audit ledgers.

12-Tool Deterministic MCP Server

Exposes 12 read-safe statutory and KVKK tokenization tools over stdio Model Context Protocol (@modelcontextprotocol/sdk and TOON serialization) with zero outbound network telemetry.

Live Application Surfaces

Desktop intake speed and 4-language mobile parity

Every flow adapts across Turkish, English, Russian, and right-to-left Arabic while isolating numeric MRZ, phone, and address tokens cleanly.

Gocmenim application entry screen showing e-Ikamet PDF form auto-detection dropzone, 3-step summary, and KVKK 6698 privacy assurance.
Lookup-first intake dropzone automatically classifies uploaded e-İkamet PDF application forms into First-Time, Extension, or Transition workflows.
Gocmenim mobile application rendered in Arabic right-to-left layout with logical CSS mirroring and isolated left-to-right numbers.
Full Arabic RTL mobile layout with zero-spacing cursive ligature protection and Capacitor 8 native wrapper support.

AWS Infrastructure & KVKK Residency

Split-Plane AWS Architecture with Türkiye Data Sovereignty

Turkish data-protection regulations (KVKK Law No. 6698 & Law No. 7499) require sensitive identity documents, biometrics, and OCR text to remain physically inside Türkiye. Gocmenim achieves full cloud automation on AWS without moving PII outside national borders.

Gocmenim Split-Plane AWS Istanbul Local Zone and HYOK Architecture Traffic from Web and Mobile clients enters AWS Istanbul Local Zone eu-central-1-ist-1a via Caddy TLS 1.3 and Bun API on EC2 c7i.large, persists encrypted tokens in private EC2 m7i.large PostgreSQL 16 and encrypted blobs in Istanbul S3 Directory Buckets, unwraps keys over mTLS 1.3 against on-premises OpenBao KMS in Turkiye, while non-sensitive IAM, Terraform, and GuardDuty governance run in eu-central-1 Frankfurt. Clients (Web SPA & Capacitor Mobile) HTTPS / HTTP3 TLS 1.3 · Zero-GMS · TR/EN/RU/AR AWS Frankfurt (eu-central-1) Control Plane IAM · Terraform · GuardDuty · Security Hub (Zero PII) AWS ISTANBUL LOCAL ZONE (eu-central-1-ist-1a) · TÜRKIYE-RESIDENT DATA PLANE App EC2 (c7i.large) Caddy TLS 1.3 + Bun/Elysia Local poppler + Tesseract OCR Loopback VictoriaMetrics Private Subnet (m7i.large) PostgreSQL 16 + pgvector 21-Table 3NF + [[TKN_*]] Zero Internet / Zero NAT S3 Directory Buckets S3 One Zone-IA (euc1-ist1) GCMN1 AES-256-GCM Blobs 7-Yr Retention & O(1) Wipe Sovereign On-Premises HYOK KMS & Pull Replica (Türkiye Static IP) OpenBao 2.1 Transit (:8200 mTLS 1.3) · Non-exportable KEK & HMAC · age + zstd Encrypted Backups
Sovereign split-plane topology isolating all applicant PII, PostgreSQL storage, and S3 objects inside Istanbul Local Zone while retaining Terraform, IAM, and GuardDuty automation.
eu-central-1-ist-1a

Compute & Storage in Istanbul

Provisioned with Terraform (>= 1.7) using c7i.large App EC2 (Caddy TLS 1.3 + Bun/Elysia + local OCR worker), m7i.large Data EC2 (PostgreSQL 16 + pgvector in a private no-NAT subnet), and Istanbul S3 Directory Buckets.

Hold-Your-Own-Key (HYOK)

Envelope Encryption & O(1) Erasure

Every document binary uses GCMN1 AES-256-GCM envelope encryption whose per-account DEKs wrap exclusively against an on-premises OpenBao 2.1 Transit KMS over mutual TLS 1.3. KVKK Art. 7 deletion executes instant cryptographic shredding.

FinOps & Security Controls

Zero-PII Observability & IAM Guardrails

Least-privilege IAM Instance Profiles restrict App EC2 strictly to local S3 Directory Buckets (s3express:CreateSession), while VictoriaMetrics, Grafana, and StatsD collect zero-PII metrics over loopback only alongside GuardDuty and AWS Budgets.

AWS Production Stack & Data Residency Allocation
Architecture Plane Location AWS & Infrastructure Stack Compliance & Security Boundary
Application & OCR Plane Istanbul, Türkiye (eu-central-1-ist-1a) EC2 c7i.large, Rootless Podman, Caddy TLS 1.3, Bun 1.x + Elysia, poppler-utils, tesseract.js CIS Level 1 Ubuntu, IMDSv2 required, SSM-only shell access (no port 22), RAM zeroized after archival.
Relational Database Plane Istanbul, Türkiye (Private Subnet) EC2 m7i.large, 100 GB encrypted gp3 EBS, PostgreSQL 16 + pgvector (21-table 3NF) Zero internet or NAT route; TLS 1.3 verify-full; sealed AES-256-GCM envelopes + blind indexes.
Object Vault & Backups Istanbul, Türkiye (euc1-ist1-az1) Amazon S3 Directory Buckets (S3 One Zone-IA): gocmenim-vault & gocmenim-backups Opaque object keys (no PII filenames), 7-year encrypted retention, TLS-only Deny policies, age + zstd dumps.
Key Custody & DR Türkiye On-Premises OpenBao 2.1 Transit KMS (mTLS 1.3), automated S3 pull-replica Non-exportable gocmenim-kek; AWS Frankfurt KMS/Secrets Manager intentionally excluded.
AWS Governance Plane Frankfurt (eu-central-1) IAM Instance Profiles, Terraform IaC, GuardDuty, Security Hub (FSBP), Budgets, CloudTrail (mgmt only) Non-sensitive infrastructure control plane only; S3 data events disabled so zero PII enters Frankfurt logs.

Questions & Compliance Boundaries

Frequently Asked Questions

Is Gocmenim an official Turkish government portal or a law firm?

No. Gocmenim is an independent pre-appointment dossier preparation and cross-audit workbench developed by Anylogy. It is not affiliated with the Presidency of Migration Management (Göç İdaresi Başkanlığı), and its deterministic checks do not constitute legal representation or counsel under Turkish Attorneyship Law No. 1136 Art. 35.

Where is applicant data stored under KVKK Law No. 6698?

All applicant identity data, PostgreSQL 16 databases, local OCR processing, and encrypted S3 Directory Buckets reside inside the AWS Istanbul Local Zone (eu-central-1-ist-1a) in Türkiye. Master encryption keys stay on an isolated OpenBao KMS in Türkiye over mutual TLS 1.3.

Do uploaded passports or e-Devlet PDFs go to external LLM APIs?

No. PDF rasterization (poppler-utils), bilingual and multi-script OCR (tesseract.js across Turkish, English, Russian, Arabic, and Persian), ICAO 9303 MRZ checksum checks, and statutory rule evaluations execute strictly locally with zero calls to external AI services.

Which Turkish residence and citizenship pathways are supported?

The engine covers First-Time (YUKK Art. 21), Extension (YUKK Art. 24), and Transition (YUKK Art. 30) permits across Short-Term (Arts. 31-33, including USD 200,000 real estate rules), Family Residence (Arts. 34-37 for both Turkish citizen and foreign sponsors), Student, Long-Term, and Citizenship tracks under Law No. 5901 (Arts. 11, 12, and 16).

How is the platform built and deployed on AWS?

Gocmenim pairs a Bun + Elysia TypeScript backend, PostgreSQL 16 + pgvector, and Svelte 5 + Framework7 + Capacitor 8 clients with Terraform-managed AWS Istanbul Local Zone EC2 instances (c7i.large and m7i.large) and Amazon S3 Directory Buckets (S3 One Zone-IA), plus AWS GuardDuty, Security Hub, and Budgets in eu-central-1.

Early Access · B2B Pilots · AWS Activate

Partner with Gocmenim

Developed by Anylogy in Istanbul, Türkiye. Reach out for corporate mobility pilot onboarding, insurance or sworn-translator partner integrations, or AWS startup program technical verification.