Skip to content

kenanay/AykenOS

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

189 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

AykenOS

The Constitutional AI Operating System

Anayasal Yapay Zeka İşletim Sistemi

This document is subordinate to PHASE 0 – FOUNDATIONAL OATH. In case of conflict, Phase 0 prevails.

Copyright (c) 2026 Kenan AY. All rights reserved.

License: Proprietary Author: Kenan AY Status: Protected

Oluşturan: Kenan AY Oluşturma Tarihi: 01.01.2026 Son Güncelleme: 14.03.2026 Closure Evidence: local-freeze-p10p11 + local-phase11-closure + run-local-phase12c-closure-2026-03-11 Evidence Git SHA: 8029f8a5 Closure Sync / Remote CI: fe9031d7 (ci-freeze#22797401328 = success) CURRENT_PHASE: 12 (trust layer — local closure-ready, remote confirmation pending) Freeze Zinciri: make ci-freeze = 21 gate | make ci-freeze-local = 20 gate Acil Blocker: yok Yakın Hedef: PR #54 merge + official Phase-12 remote closure confirmation + formal phase transition to Phase-13

Proje Durumu: Core OS Phase 4.5 TAMAMLANDI ✅ | Phase 10 runtime CLOSED (official) ✅ | Phase 11 verification substrate CLOSED (official) ✅ | Phase 12 trust layer LOCAL CLOSURE-READY ✅ | Architecture Freeze ACTIVE ✅ Boot/Kernel Bring-up: UEFI→kernel handoff doğrulandı ✅ | Ring3 process preparation operasyonel ✅ | ELF64 loader çalışıyor ✅ | User address space creation aktif ✅ | Syscall roundtrip doğrulandı ✅ | IRQ-tail preempt doğrulama hattı mevcut ✅ Phase 10 Status: Runtime determinism officially closed ✅ | remote ci-freeze run 22797401328 Phase 11 Status: Replay + KPL + proof bundle officially closed ✅ Phase 12 Status: P12-01..P12-18 = COMPLETED_LOCAL ✅ | authority sinkhole absorption ✅ | trust reuse runtime surface ✅ | verification diversity gates ✅ | normatif Phase-12C gate seti GREEN ✅ | PR #54 açık (remote CI bekliyor) Architecture Quick Map: docs/specs/phase12-trust-layer/AYKENOS_GATE_ARCHITECTURE.md Canonical Technical Definition: AykenOS is a deterministic verification architecture that separates kernel execution, verification semantics, evidence artifacts, and distributed diagnostics into explicit layers. The kernel provides mechanism, userspace verification services produce artifact-bound verdicts and receipts, and parity/topology surfaces expose cross-node observability without elevating diagnostics into authority or consensus.

⚠️ CI Mode: ci-freeze workflow varsayılan olarak CONSTITUTIONAL modda çalışır (PERF_BASELINE_MODE=constitutional). Ayrıntı: Constitutional CI Mode.


🔒 IMPORTANT LEGAL NOTICE

This software is proprietary and confidential. All rights reserved by Kenan AY.

⚖️ Usage Restrictions:

  • Educational viewing permitted for learning purposes
  • Commercial use prohibited without license
  • Modification prohibited without written permission
  • Distribution prohibited without authorization
  • Reverse engineering prohibited

� Licensing Contact:

For commercial licensing, partnerships, or permissions:


🎯 Proje Vizyonu

AykenOS, yapay zeka destekli, yenilikçi ve çoklu mimari işletim sistemi projesidir. Geleneksel işletim sistemlerinden farklı olarak, execution-centric (yürütme merkezli) bir mimari benimser ve AI-native (yapay zeka doğal) tasarım prensipleriyle geliştirilmiştir.

Mimari Dönüşüm

  • Ring0 (Kernel Mode): 11 execution-centric mekanizma syscall'ı (1000-1010 aralığı)
  • Ring3 (User Mode): Tüm politika kararları (VFS, DevFS, AI, scheduler) kullanıcı modunda
  • Capability-Based Security: Yetenek tabanlı güvenlik modeli ile erişim kontrolü
  • BCIB Execution Engine: Binary Compressed Instruction Bundle formatı ile veri-odaklı yürütme

🚀 Temel Özellikler

Execution-Centric Syscall Interface (1000-1010)

ID Syscall Açıklama
1000 sys_v2_map_memory Bellek haritalama
1001 sys_v2_unmap_memory Bellek haritalama kaldırma
1002 sys_v2_switch_context Bağlam değiştirme
1003 sys_v2_submit_execution BCIB yürütme gönderimi
1004 sys_v2_wait_result Yürütme sonucu bekleme
1005 sys_v2_interrupt_return Kesme dönüşü
1006 sys_v2_time_query Zaman sorgulama
1007 sys_v2_capability_bind Yetenek bağlama
1008 sys_v2_capability_revoke Yetenek iptal etme
1009 sys_v2_exit Süreç sonlandırma
1010 sys_v2_debug_putchar Ring3 debug heartbeat

Çoklu Mimari Desteği

  • UEFI/x86_64: Tam özellikli kernel ve bootloader ✅
  • ARM64: Bootloader implementasyonu 🔄
  • RISC-V: Bootloader implementasyonu 🔄
  • Raspberry Pi: Özel bootloader desteği ✅
  • MCU: Mikrodenetleyici bootloader ✅

📁 Proje Yapısı

AykenOS/
├── kernel/              # C tabanlı çekirdek (Ring0, x86_64)
├── bootloader/          # Çoklu mimari bootloader'lar
├── userspace/           # Ring3 bileşenleri (Rust + C)
│   ├── libayken/       # Ring3 VFS/DevFS/Scheduler (C)
│   ├── bcib-runtime/   # BCIB execution engine
│   ├── semantic-cli/   # Semantic CLI
│   ├── dsl-parser/     # DSL parser
│   └── proofd/         # Proof daemon service
├── ayken-core/          # AI/data systems (Rust)
│   └── crates/
│       ├── abdf/       # Ayken Binary Data Format
│       ├── bcib/       # Binary CLI Instruction Buffer
│       └── proof-verifier/ # Trust layer verification
├── ayken/               # Constitutional governance tool (Rust)
├── docs/                # Dokümantasyon
│   └── specs/phase12-trust-layer/  # Phase 12 spesifikasyonları
├── scripts/ci/          # CI gate scriptleri
├── tools/ci/            # CI test araçları
├── evidence/            # CI gate evidence (auto-generated)
└── constitution/        # Constitutional framework

🛠️ Derleme ve Çalıştırma

Gereksinimler

  • clang + ld.lld — Kernel toolchain
  • nasm — Assembler
  • qemu-system-x86_64 — Test/emülasyon
  • cargo / rustc — Rust bileşenleri (opsiyonel)

Temel Komutlar

# Temiz build
make clean && make all

# EFI disk imajı + QEMU
make efi-img
make run

# Profil bazlı build
make release          # Optimized (default)
make validation       # Debug + instrumentation
make validation-strict # Validation + -Werror

CI Gates

# Pre-CI discipline (local, ~30-60s)
make ci-gate-abi
make ci-gate-boundary
make ci-gate-hygiene
make ci-gate-constitutional

# Tam CI suite
make ci-freeze        # 21 gate (strict, fail-closed)
make ci-freeze-local  # 20 gate (local)

Rust Bileşenleri

cd ayken-core && cargo build && cargo test
cd userspace && cargo build && cargo test
cd ayken && cargo build && ./target/debug/ayken check

📊 Proje Durumu

Tamamlanan Fazlar

Faz Durum Açıklama
Phase 1 — Core Kernel ✅ CLOSED UEFI boot, bellek, GDT/IDT, sürücüler
Phase 1.5 — Stabilization ✅ CLOSED Ring3 round-trip, toolchain doğrulama
Phase 2 — Execution-Centric ✅ CLOSED 11 syscall, Ring3 VFS/DevFS, BCIB
Phase 2.5 — Legacy Cleanup ✅ CLOSED POSIX kaldırma, Ring0 policy temizliği
Phase 3.4 — Multi-Agent ✅ CLOSED Gate A-E tamamlandı
Phase 4.3 — Performance ✅ CLOSED HashMap→Indexed (3-5x), 80%+ mem azalma
Phase 4.4 — Ring3 Model ✅ CLOSED Ring3 execution, syscall roundtrip
Phase 4.5 — Policy Accept ✅ CLOSED Gate-4 policy-accept proof operasyonel
Phase 10 — Runtime ✅ OFFICIALLY CLOSED CPL3 entry, deterministic runtime
Phase 11 — Verification ✅ OFFICIALLY CLOSED Ledger, ETI, replay, proof bundle
Phase 12 — Trust Layer 🟡 LOCAL CLOSURE-READY PR #54 açık, remote CI bekliyor

Phase 12 Detayı (Güncel)

Phase 12 trust layer kapsamında tamamlananlar:

  • P12-01..P12-18 — Tüm lokal gate'ler GREEN
  • ✅ Authority Sinkhole Absorption — gate_authority_sinkhole_absorption.sh
  • ✅ Authority Sinkhole Companion Flow/Producer
  • ✅ Trust Reuse Runtime Evaluator / Surface / Emitter
  • ✅ Verification Context Object + Verifier Attestation
  • ✅ Verification Diversity Floor / Ledger / Producer
  • ✅ Cartel Correlation gate
  • ✅ proofd service observability boundary
  • ✅ Cross-surface basin alignment metrics
  • 🟡 PR #54 — remote ci-freeze gate bekliyor

CI Gate Durumu (14 Mart 2026)

Gate Durum
ABI ✅ PASS
Boundary ✅ PASS
Hygiene ✅ PASS
Constitutional ✅ PASS
Ring0 Exports ✅ PASS
Syscall v2 Runtime ✅ PASS
Sched Bridge Runtime ✅ PASS
Policy Accept ✅ PASS
Performance ✅ PASS
proofd-service ✅ PASS

📚 Dokümantasyon

  • Architecture Map: docs/specs/phase12-trust-layer/AYKENOS_GATE_ARCHITECTURE.md
  • Phase 13 Hazırlık: docs/specs/phase12-trust-layer/PHASE13_ARCHITECTURE_MAP.md
  • Verification Observability: docs/specs/phase12-trust-layer/VERIFICATION_OBSERVABILITY_MODEL.md
  • Trust Reuse Runtime: docs/specs/phase12-trust-layer/TRUST_REUSE_RUNTIME_SURFACE_SPEC.md
  • Authority Sinkhole: docs/specs/phase12-trust-layer/AUTHORITY_SINKHOLE_COMPANION_FLOW_SPEC.md
  • Constitutional CI Mode: docs/operations/CONSTITUTIONAL_CI_MODE.md
  • Freeze Workflow: docs/roadmap/freeze-enforcement-workflow.md
  • Documentation Index: docs/development/DOCUMENTATION_INDEX.md

� Lisans

AykenOS iki lisans modeli ile dağıtılır:

ASAL v1.0 — AykenOS Source-Available License

  • ✅ Eğitim, araştırma, kişisel kullanım
  • ❌ Ticari kullanım yasak

ACL v1.0 — AykenOS Commercial License

  • ✅ Ticari ürünler, SaaS, entegrasyon
  • ✅ Binary dağıtımı
  • Lisans için: kenanay@example.com

🎯 Sonraki Hedefler

Kısa Vadeli:

  • PR #54 merge → official Phase-12 remote closure
  • Formal phase transition: Phase-12 → Phase-13
  • Phase-13 observability architecture başlangıcı

Orta Vadeli:

  • ARM64 + RISC-V kernel portları
  • Gerçek donanım testleri (Raspberry Pi)
  • Network stack (temel TCP/IP)

Uzun Vadeli:

  • Tam AI entegrasyonu (TinyLLM)
  • Veri-odaklı dosya sistemi
  • AI-native shell
  • Ekosistem geliştirme

Son Güncelleme: 14 Mart 2026 — Phase-12 trust layer local closure-ready, PR #54 açıldı.

© 2026 Kenan AY — AykenOS Project

About

AykenOS is an AI-native, execution-centric experimental operating system redefining OS architecture with Ring3 policy control, capability-based security, BCIB execution engine, and constitutional governance infrastructure.

Topics

Resources

License

Security policy

Stars

Watchers

Forks

Packages

 
 
 

Contributors