ASELSANMicrokernel
S196 · SOURCE-BOUND GATE EVIDENCE

G8l: scheduler-owner → scheduler mutation dispatch receipt

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

S196Focused kod testiOperations id exactsource SHA exacttest target exact

operation: g8l-s196-scheduler-owner-scheduler-mutation-dispatch-receipt-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 öğesiL41–L157
kernel/src/g8l_target_dispatch_scheduler_owner_scheduler_mutation_dispatch_receipt.rs::from_scheduler_mutation_dispatch

impl G8lSchedulerOwnerSchedulerMutationDispatchReceipt {
    /// Consume the exact S195 scheduler-mutation dispatch by value.
    pub fn from_scheduler_mutation_dispatch(
        runtime: &G8lRuntimeAuthority,
        authority: &G8lSchedulerOwnerAuthority,
        dispatch: G8lSchedulerOwnerSchedulerMutationDispatch,
        caller_cpu: usize,
    ) -> Result<Self, G8lSchedulerOwnerSchedulerMutationDispatchReceiptError> {
        if caller_cpu != CPU1 {
            return Err(G8lSchedulerOwnerSchedulerMutationDispatchReceiptError::InvalidCallerCpu);
        }
        dispatch.revalidate(authority, runtime)?;
        if runtime.phase() != RuntimePhase::Running1 {
            return Err(
                G8lSchedulerOwnerSchedulerMutationDispatchReceiptError::RuntimePhaseMismatch,
            );
        }
        if runtime.migration_input().owner_cpu != CPU1
            || runtime.migration_input().task_id != dispatch.task_id()
            || dispatch.caller_cpu() != CPU1
            || dispatch.target_cpu() != CPU1
            || dispatch.owner_epoch() != authority.epoch()
        {
            return Err(
                G8lSchedulerOwnerSchedulerMutationDispatchReceiptError::RuntimeInputMismatch,
            );
        }
        Ok(Self {
            runtime_instance_id: dispatch.runtime_instance_id(),
            task_id: dispatch.task_id(),
            caller_cpu,
            target_cpu: dispatch.target_cpu(),
            owner_epoch: dispatch.owner_epoch(),
            exact_s195_dispatch_consumed: true,
        })
    }

    pub fn revalidate(
        &self,
        authority: &G8lSchedulerOwnerAuthority,
        runtime: &G8lRuntimeAuthority,
    ) -> Result<(), G8lSchedulerOwnerSchedulerMutationDispatchReceiptError> {
        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(
                G8lSchedulerOwnerSchedulerMutationDispatchReceiptError::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_s195_dispatch_consumed(&self) -> bool {
        self.exact_s195_dispatch_consumed
    }

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

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

    pub const fn scheduler_mutation_dispatch_receipt_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: 1bd4b52c364cfile sha256: 0c44d029364a
02 · Doğrulayan test kodu

Operations komutuna bağlı focused test

tam Rust öğesiL109–L126
simulation/tests/g8l_target_dispatch_scheduler_owner_scheduler_mutation_dispatch_receipt.rs::publishes_exact_s195_dispatch_as_scheduler_mutation_receipt

#[test]
fn publishes_exact_s195_dispatch_as_scheduler_mutation_receipt() {
    let (runtime, authority, dispatch) = scheduler_mutation_dispatch();
    let receipt =
        G8lSchedulerOwnerSchedulerMutationDispatchReceipt::from_scheduler_mutation_dispatch(
            &runtime, &authority, dispatch, CPU1,
        )
        .unwrap();

    assert_eq!(receipt.runtime_instance_id(), runtime.instance_id());
    assert_eq!(receipt.task_id(), TASK);
    assert_eq!(receipt.caller_cpu(), CPU1);
    assert_eq!(receipt.target_cpu(), CPU1);
    assert_eq!(receipt.owner_epoch(), OWNER_EPOCH + 1);
    assert!(receipt.exact_s195_dispatch_consumed());
    receipt.revalidate(&authority, &runtime).unwrap();
}
snippet sha256: 053cfbe30dcdfile sha256: 65c6628f7681
03 · Kapı kimlik kaydı

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

tam Operations kaydıL21889–L21939
website/src/lib/operations.ts::g8l-s196-scheduler-owner-scheduler-mutation-dispatch-receipt-partial
  {
    id: "g8l-s196-scheduler-owner-scheduler-mutation-dispatch-receipt-partial",
    date: "2026-08-24",
    sequence: 196,
    status: "passed",
    umbrella_status: "partial",
    title: "G8l: scheduler-owner → scheduler mutation dispatch receipt",
    summary:
      "S196, non-Copy S195 scheduler-mutation dispatch'ini by-value tüketen 10/10 allocation-free scheduler-mutation dispatch receipt sınırını kapattı. Aynı canlı Running1 runtime, task, CPU1 dispatch ve epoch 23→24 yeniden doğrulanıp source-model dispatch receipt 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_dispatch_receipt: 10/10 PASS; exact S195 dispatch by-value consumption, Running1/CPU1 receipt 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–S196 sıra-düzenli birleşik matris iki bağımsız koşuda 42 grup / 374/374 PASS ve 5152 B / SHA-256 4bdad446e202e3f8e9183c52c6f94214355f3b6c848315711ec5a91ce4c65530 verdi.",
      "RPi5 AArch64 source compile PASS: 480 warning envanterlendi, hata yok; 216550 B log / SHA-256 4da4a550ca912e3209ab9da7b232a339c1c00cf665767d9594b76d806b74d04e. Zero-warning iddiası yoktur.",
      "Scheduler mutation dispatch receipt yalnız source-model typed 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-S196-Scheduler-Owner-Scheduler-Mutation-Dispatch-Receipt-Proof.md`.",
      "İlk S196 production yayını: https://751a59be.aselsan-microkernel.pages.dev · full id 751a59be-b2bc-4c9e-bba2-3f2c4ff1816f.",
      "Cache-busted özel alan adı yerel statik çıktıyla byte-exact 3/3 doğrulandı: operations 6337081 B / SHA-256 c91fbac56220b39f87cc707292242315d16e74bccfc337e838cb84b873f5928f; timeline 932301 B / SHA-256 a2a4a4e0b2313d2a7cf379a499fd29c5a1f820549c818e38ea01e8728618c380; yol-haritasi 932049 B / SHA-256 126ad99e85152086276dcdc19283eb485de37a3bbdd946f161a0a88eb781159a.",
      "Immutable pages.dev direct fetch current host'tan 10 saniyelik connect timeout verdi; bu probe PASS olarak sayılmadı.",
      "S196 fiziksel/device operasyonu yapmadı: physical/device operations=0 ve RUNBOOK_EXECUTED_IN_S196=NO.",
      "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ı.",
      "Canlı marker: S196_10_OF_10_G8L_SCHEDULER_OWNER_SCHEDULER_MUTATION_DISPATCH_RECEIPT_SOURCE_EXACT_S195_SCHEDULER_MUTATION_DISPATCH_CONSUMED_BY_VALUE_NONCOPY_LIVE_RUNNING1_CPU1_DISPATCH_TASK_EPOCH23_TO24_REVALIDATED_SCHEDULER_MUTATION_DISPATCH_RECEIPT_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_S356_TO_S406_S381_NO_RUNBOOK_EXECUTED_IN_S196_VERIFIED; deployment-specific route/hash evidence is recorded in the project-status manifest.",
    ],
    commands: [
      "cargo test --quiet --test g8l_target_dispatch_scheduler_owner_scheduler_mutation_dispatch_receipt -- --test-threads=1",
      "cargo check --quiet --manifest-path kernel/Cargo.toml --target aarch64-unknown-none --no-default-features --features board-rpi5",
    ],
    terminalSessions: [
      {
        id: "s196-g8l-scheduler-owner-scheduler-mutation-dispatch-receipt",
        title: "G8l S196 scheduler-owner scheduler mutation dispatch receipt",
        commandLines: [
          "cargo test --quiet --test g8l_target_dispatch_scheduler_owner_scheduler_mutation_dispatch_receipt -- --test-threads=1",
        ],
        outputLines: [
          "running 10 tests",
          "test result: ok; 10 passed; 0 failed",
          "S195 dispatch consumed by value; scheduler mutation dispatch receipt published",
          "production scheduler mutation/global exclusion/GIC/hardware: not invoked / not claimed",
        ],
        exitCode: 0,
        outputMode: "selected",
      },
    ],
    terminalSessionsNote:
      "Terminal özeti dar S196 source sınırını gösterir; QEMU veya fiziksel cihaz çalıştırması değildir.",
    limitations: [
      "S196 dar typed scheduler-mutation dispatch receipt source-model kabulü PASS'tir; gerçek production scheduler mutation, global lock, GIC/hardware runtime ve fiziksel çalışma açık kalır.",
      "S196 fiziksel/device operasyonu yapmadı; RUNBOOK_EXECUTED_IN_S196=NO.",
    ],
  },
snippet sha256: e6e7f03e5d8dfile sha256: 9726dbf00f84
Focused test komutu
cargo test --quiet --test g8l_target_dispatch_scheduler_owner_scheduler_mutation_dispatch_receipt -- --test-threads=1
proof: docs/M8.1-RPi5-G8l-S196-Scheduler-Owner-Scheduler-Mutation-Dispatch-Receipt-Proof.md
Registry schema v5 · generator website/scripts/generate-code-gates.mjs · Tam SHA-256: 91d38c7b6222f0b4c117be786454853543da55a160e543d9b951057cc20dcc06