ASELSANMicrokernel
S194 · SOURCE-BOUND GATE EVIDENCE

G8l: scheduler-owner → scheduler mutation target boundary

Operations --test hedefi → test hedefiyle aynı adlı uygulama/model modülü → kaynak kesiti Bu sayfa yalnız S194 kapısına aittir; komşu kapıların kaynakları bu kabulün içine katılmaz.

S194Focused kod testiOperations id exactsource SHA exacttest target exact

operation: g8l-s194-scheduler-owner-scheduler-mutation-target-partial

uygulama/model · focused test · Operations · 3 exact excerpt

sequence-bound=true · implementation-bound=false
01 · Testin bağlı olduğu uygulama/model kodu

Kapının yürüttüğü gerçek kaynak

tam Rust öğesiL10–L151
kernel/src/g8l_target_dispatch_scheduler_owner_scheduler_mutation_target.rs::G8lSchedulerOwnerSchedulerMutationTargetError
use crate::g8l_target_dispatch_scheduler_owner_scheduler_mutation::{
    G8lSchedulerOwnerSchedulerMutationBoundary, G8lSchedulerOwnerSchedulerMutationError,
};

#[derive(Clone, Copy, Debug, PartialEq, Eq)]
pub enum G8lSchedulerOwnerSchedulerMutationTargetError {
    MutationBoundary(G8lSchedulerOwnerSchedulerMutationError),
    InvalidCallerCpu,
    RuntimePhaseMismatch,
    RuntimeInputMismatch,
}

impl From<G8lSchedulerOwnerSchedulerMutationError>
    for G8lSchedulerOwnerSchedulerMutationTargetError
{
    fn from(error: G8lSchedulerOwnerSchedulerMutationError) -> Self {
        Self::MutationBoundary(error)
    }
}

/// Non-Copy source-model proof that the S193 boundary reached a typed
/// scheduler mutation target on CPU1.
#[derive(Debug, PartialEq, Eq)]
pub struct G8lSchedulerOwnerSchedulerMutationTarget {
    runtime_instance_id: u64,
    task_id: u64,
    caller_cpu: usize,
    target_cpu: usize,
    owner_epoch: u64,
    exact_s193_boundary_consumed: bool,
}

impl G8lSchedulerOwnerSchedulerMutationTarget {
    /// Consume the exact S193 mutation boundary by value.
    pub fn from_scheduler_mutation_boundary(
        runtime: &G8lRuntimeAuthority,
        authority: &G8lSchedulerOwnerAuthority,
        boundary: G8lSchedulerOwnerSchedulerMutationBoundary,
        caller_cpu: usize,
    ) -> Result<Self, G8lSchedulerOwnerSchedulerMutationTargetError> {
        if caller_cpu != CPU1 {
            return Err(G8lSchedulerOwnerSchedulerMutationTargetError::InvalidCallerCpu);
        }
        boundary.revalidate(authority, runtime)?;
        if runtime.phase() != RuntimePhase::Running1 {
            return Err(G8lSchedulerOwnerSchedulerMutationTargetError::RuntimePhaseMismatch);
        }
        if runtime.migration_input().owner_cpu != CPU1
            || runtime.migration_input().task_id != boundary.task_id()
            || boundary.caller_cpu() != CPU1
            || boundary.owner_cpu() != CPU1
            || boundary.owner_epoch() != authority.epoch()
        {
            return Err(G8lSchedulerOwnerSchedulerMutationTargetError::RuntimeInputMismatch);
        }
        Ok(Self {
            runtime_instance_id: boundary.runtime_instance_id(),
            task_id: boundary.task_id(),
            caller_cpu,
            target_cpu: boundary.owner_cpu(),
            owner_epoch: boundary.owner_epoch(),
            exact_s193_boundary_consumed: true,
        })
    }

    pub fn revalidate(
        &self,
        authority: &G8lSchedulerOwnerAuthority,
        runtime: &G8lRuntimeAuthority,
    ) -> Result<(), G8lSchedulerOwnerSchedulerMutationTargetError> {
        if self.caller_cpu != CPU1
            || self.target_cpu != CPU1
            || self.owner_epoch == 0
            || self.task_id != authority.task_id()
            || authority.owner_cpu() != CPU1
            || authority.epoch() != self.owner_epoch
            || runtime.instance_id() != self.runtime_instance_id
            || runtime.phase() != RuntimePhase::Running1
            || runtime.migration_input().owner_cpu != CPU1
            || runtime.migration_input().task_id != self.task_id
        {
            return Err(G8lSchedulerOwnerSchedulerMutationTargetError::RuntimeInputMismatch);
        }
        Ok(())
    }

    pub const fn runtime_instance_id(&self) -> u64 {
        self.runtime_instance_id
    }

    pub const fn task_id(&self) -> u64 {
        self.task_id
    }

    pub const fn caller_cpu(&self) -> usize {
        self.caller_cpu
    }

    pub const fn target_cpu(&self) -> usize {
        self.target_cpu
    }

    pub const fn owner_epoch(&self) -> u64 {
        self.owner_epoch
    }

    pub const fn exact_s193_boundary_consumed(&self) -> bool {
        self.exact_s193_boundary_consumed
    }

    pub const fn production_constructor_wired(&self) -> bool {
        true
    }

    pub const fn production_constructor_invoked(&self) -> bool {
        false
    }

    pub const fn scheduler_mutation_target_published(&self) -> bool {
        true
    }

    pub const fn production_scheduler_mutated(&self) -> bool {
        false
    }

    pub const fn global_scheduler_exclusion_proven(&self) -> bool {
        false
    }

    pub const fn gic_delivery_wired(&self) -> bool {
        false
    }

    pub const fn hardware_execution_proven(&self) -> bool {
        false
    }

    pub const fn global_source_linearity_proven(&self) -> bool {
        false
    }
}
snippet sha256: d43f6a7115dafile sha256: 3f75c7dd22eb
02 · Doğrulayan test kodu

Operations komutuna bağlı focused test

tam Rust öğesiL101–L117
simulation/tests/g8l_target_dispatch_scheduler_owner_scheduler_mutation_target.rs::publishes_exact_s193_boundary_as_cpu1_scheduler_mutation_target

#[test]
fn publishes_exact_s193_boundary_as_cpu1_scheduler_mutation_target() {
    let (runtime, authority, boundary) = scheduler_mutation_boundary();
    let target = G8lSchedulerOwnerSchedulerMutationTarget::from_scheduler_mutation_boundary(
        &runtime, &authority, boundary, CPU1,
    )
    .unwrap();

    assert_eq!(target.runtime_instance_id(), runtime.instance_id());
    assert_eq!(target.task_id(), TASK);
    assert_eq!(target.caller_cpu(), CPU1);
    assert_eq!(target.target_cpu(), CPU1);
    assert_eq!(target.owner_epoch(), OWNER_EPOCH + 1);
    assert!(target.exact_s193_boundary_consumed());
    target.revalidate(&authority, &runtime).unwrap();
}
snippet sha256: 57d40c348cbefile sha256: 2d85df837490
03 · Kapı kimlik kaydı

Operations sıra, kimlik ve başlık bağı

tam Operations kaydıL21994–L22045
website/src/lib/operations.ts::g8l-s194-scheduler-owner-scheduler-mutation-target-partial
  {
    id: "g8l-s194-scheduler-owner-scheduler-mutation-target-partial",
    date: "2026-08-24",
    sequence: 194,
    status: "passed",
    umbrella_status: "partial",
    title: "G8l: scheduler-owner → scheduler mutation target boundary",
    summary:
      "S194, non-Copy S193 scheduler-owner scheduler-mutation boundary'sini by-value tüketen 10/10 allocation-free scheduler-mutation target sınırını kapattı. Aynı canlı Running1 runtime, task, CPU1 target ve epoch 23→24 yeniden doğrulanıp source-model mutation target yayınlandı; production scheduler özellikle çalıştırılmadı ve değiştirilmedi. Foreign authority/runtime ile CPU0 caller fail-closed kaldı.",
    evidence: [
      "g8l_target_dispatch_scheduler_owner_scheduler_mutation_target: 10/10 PASS; exact S193 mutation-boundary by-value consumption, Running1/CPU1 target revalidation and closed production claims.",
      "Odaklı test iki bağımsız koşuda 10/10 PASS ve byte-eşit kaldı: 125 B / SHA-256 7742173cc9d98f4cbe90debabdf83ee6b5d3e9e965e25428a46d090582275222.",
      "S155–S194 birleşik matris iki bağımsız koşuda 40 grup / 354/354 PASS ve 4902 B / SHA-256 5f663d66d19605336bf65f965f82a63e6bf08bfe8b19a4db4a91a98eed57d26c verdi.",
      "RPi5 AArch64 source compile PASS: 474 warning envanterlendi, hata yok; 211022 B log / SHA-256 ee82b325c3d240df0783f0f66679d48f546c69da6cb5c2b4c9b6b4045eca8341. Zero-warning iddiası yoktur.",
      "Scheduler mutation target yalnız source-model typed selection handoff'tur; production task::scheduler::SCHEDULER mutation/global exclusion, GIC/SGI, CPU1 ERET assembly ve hardware authority iddiası üretmez.",
      "Kalıcı kapsam: `docs/M8.1-RPi5-G8l-S194-Scheduler-Owner-Scheduler-Mutation-Target-Proof.md`.",
      "S194 fiziksel/device operasyonu yapmadı: physical/device operations=0 ve RUNBOOK_EXECUTED_IN_S194=NO.",
      "Web yayın doğrulaması: 287/287 test, lint ve TypeScript PASS; 23/23 statik rota ve 191 dosya üretildi.",
      "Production deployment: https://bbcf0134.aselsan-microkernel.pages.dev · full id bbcf0134-3712-4cfa-a548-cce12dcd993d.",
      "Custom domain byte-exact: /operations/ 6285323 B SHA-256 12949a8ec92b9e525a8339bd507d9d7e4de0f04f4fca1e92612d8c2b34c489c2; /timeline/ 918612 B SHA-256 b631c203d7149ce7bd8788a0af34d8f028a53d4ab9b0214443d54d67f285e69b; /yol-haritasi/ 918360 B SHA-256 89dfbd7a521f29de7a44719946681a06db5d0dc3c162c993147e58cc971b5877.",
      "Canlı marker: S194_10_OF_10_G8L_SCHEDULER_OWNER_SCHEDULER_MUTATION_TARGET_SOURCE_EXACT_S193_SCHEDULER_MUTATION_BOUNDARY_CONSUMED_BY_VALUE_NONCOPY_LIVE_RUNNING1_CPU1_TARGET_TASK_EPOCH23_TO24_REVALIDATED_SCHEDULER_MUTATION_TARGET_PUBLISHED_WRONG_CALLER_FOREIGN_AUTHORITY_FOREIGN_RUNTIME_FAIL_CLOSED_PRODUCTION_CONSTRUCTOR_WIRED_NOT_INVOKED_PRODUCTION_SCHEDULER_MUTATION_GLOBAL_EXCLUSION_GIC_HARDWARE_GLOBAL_SOURCE_LINEARITY_QEMU_PHYSICAL_CPU2_CPU3_HOTPLUG_SOAK_GENERIC_SMP_OPEN_FULL_PHYSICAL_RUNBOOK_VISIBLE_S354_TO_S404_S379_NO_RUNBOOK_EXECUTED_IN_S194_VERIFIED; immutable pages.dev direct fetch from current host timed out after 10 seconds.",
      "Görünür fiziksel sıra: Gücü kapat → SD kartı Pi'den çıkar → SD kartı Mac'e tak → Yetkili write/verify/read-back işlemini tamamla → SD kartı Mac'ten güvenli çıkar → SD kartı güçsüz Pi'ye tak → UART capture pre-arm ve exact identity kapısını doğrula → Güç ver. Bu sıra yalnız tarihsel S124'te tamamlandı.",
    ],
    commands: [
      "cargo test --quiet --test g8l_target_dispatch_scheduler_owner_scheduler_mutation_target -- --test-threads=1",
      "cargo check --quiet --manifest-path kernel/Cargo.toml --target aarch64-unknown-none --no-default-features --features board-rpi5",
      "npm run deploy",
    ],
    terminalSessions: [
      {
        id: "s194-g8l-scheduler-owner-scheduler-mutation-target",
        title: "G8l S194 scheduler-owner scheduler mutation target boundary",
        commandLines: [
          "cargo test --quiet --test g8l_target_dispatch_scheduler_owner_scheduler_mutation_target -- --test-threads=1",
        ],
        outputLines: [
          "running 10 tests",
          "test result: ok; 10 passed; 0 failed",
          "S193 mutation boundary consumed by value; scheduler mutation target published",
          "production scheduler mutation/global exclusion/GIC/hardware: not invoked / not claimed",
        ],
        exitCode: 0,
        outputMode: "selected",
      },
    ],
    terminalSessionsNote:
      "Terminal özeti dar S194 source sınırını gösterir; QEMU veya fiziksel cihaz çalıştırması değildir.",
    limitations: [
      "S194 dar typed scheduler-mutation target boundary source-model kabulü PASS'tir; gerçek production scheduler mutation, global lock, GIC/hardware runtime ve fiziksel çalışma açık kalır.",
      "S194 fiziksel/device operasyonu yapmadı; RUNBOOK_EXECUTED_IN_S194=NO.",
    ],
  },
snippet sha256: b9d8bd3ad84dfile sha256: 9726dbf00f84
Focused test komutu
cargo test --quiet --test g8l_target_dispatch_scheduler_owner_scheduler_mutation_target -- --test-threads=1
proof: docs/M8.1-RPi5-G8l-S194-Scheduler-Owner-Scheduler-Mutation-Target-Proof.md
Registry schema v5 · generator website/scripts/generate-code-gates.mjs · Tam SHA-256: 91d38c7b6222f0b4c117be786454853543da55a160e543d9b951057cc20dcc06