ASELSANMicrokernel
S197 · SOURCE-BOUND GATE EVIDENCE

G8l: scheduler-owner → scheduler mutation dispatch receipt commit

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

S197Focused kod testiOperations id exactsource SHA exacttest target exact

operation: g8l-s197-scheduler-owner-scheduler-mutation-dispatch-receipt-commit-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 öğesiL43–L161
kernel/src/g8l_target_dispatch_scheduler_owner_scheduler_mutation_dispatch_receipt_commit.rs::from_scheduler_mutation_dispatch_receipt

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

    pub fn revalidate(
        &self,
        authority: &G8lSchedulerOwnerAuthority,
        runtime: &G8lRuntimeAuthority,
    ) -> Result<(), G8lSchedulerOwnerSchedulerMutationDispatchReceiptCommitError> {
        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(
                G8lSchedulerOwnerSchedulerMutationDispatchReceiptCommitError::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_s196_receipt_consumed(&self) -> bool {
        self.exact_s196_receipt_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_commit_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: d9bdf9ccfb85file sha256: ba1b87e6617f
02 · Doğrulayan test kodu

Operations komutuna bağlı focused test

tam Rust öğesiL115–L134
simulation/tests/g8l_target_dispatch_scheduler_owner_scheduler_mutation_dispatch_receipt_commit.rs::publishes_exact_s196_receipt_as_scheduler_mutation_commit

#[test]
fn publishes_exact_s196_receipt_as_scheduler_mutation_commit() {
    let (runtime, authority, receipt) = scheduler_mutation_dispatch_receipt();
    let commit = G8lSchedulerOwnerSchedulerMutationDispatchReceiptCommit::from_scheduler_mutation_dispatch_receipt(
        &runtime,
        &authority,
        receipt,
        CPU1,
    )
    .unwrap();

    assert_eq!(commit.runtime_instance_id(), runtime.instance_id());
    assert_eq!(commit.task_id(), TASK);
    assert_eq!(commit.caller_cpu(), CPU1);
    assert_eq!(commit.target_cpu(), CPU1);
    assert_eq!(commit.owner_epoch(), OWNER_EPOCH + 1);
    assert!(commit.exact_s196_receipt_consumed());
    commit.revalidate(&authority, &runtime).unwrap();
}
snippet sha256: 69e0a71e67b2file sha256: d77b56b286a2
03 · Kapı kimlik kaydı

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

tam Operations kaydıL21839–L21888
website/src/lib/operations.ts::g8l-s197-scheduler-owner-scheduler-mutation-dispatch-receipt-commit-partial
  {
    id: "g8l-s197-scheduler-owner-scheduler-mutation-dispatch-receipt-commit-partial",
    date: "2026-08-24",
    sequence: 197,
    status: "passed",
    umbrella_status: "partial",
    title: "G8l: scheduler-owner → scheduler mutation dispatch receipt commit",
    summary:
      "S197, non-Copy S196 scheduler-mutation dispatch receipt'ini by-value tüketen 10/10 allocation-free scheduler-mutation dispatch receipt commit sınırını kapattı. Aynı canlı Running1 runtime, task, CPU1 dispatch ve epoch 23→24 yeniden doğrulanıp source-model commit 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_commit: 10/10 PASS; exact S196 receipt by-value consumption, Running1/CPU1 commit 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–S197 sıra-düzenli birleşik matris iki bağımsız koşuda 43 grup / 384/384 PASS ve 5277 B / SHA-256 a4063750aacfafba553b58be7de5c947c42f373270905f043f956118ec988a19 verdi.",
      "RPi5 AArch64 source compile PASS: 494 warning envanterlendi, hata yok; 224652 B log / SHA-256 e58813ad04b9c4d34f2448e5ec087bb6037223961776b315adbd4003035ecbbd. Zero-warning iddiası yoktur.",
      "Scheduler mutation dispatch receipt commit 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-S197-Scheduler-Owner-Scheduler-Mutation-Dispatch-Receipt-Commit-Proof.md`.",
      "Immutable pages.dev direct fetch current host'tan 10 saniyelik connect timeout verdi; bu probe PASS olarak sayılmadı.",
      "S197 fiziksel/device operasyonu yapmadı: physical/device operations=0 ve RUNBOOK_EXECUTED_IN_S197=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: S197_10_OF_10_G8L_SCHEDULER_OWNER_SCHEDULER_MUTATION_DISPATCH_RECEIPT_COMMIT_SOURCE_EXACT_S196_DISPATCH_RECEIPT_CONSUMED_BY_VALUE_NONCOPY_LIVE_RUNNING1_CPU1_DISPATCH_TASK_EPOCH23_TO24_REVALIDATED_SCHEDULER_MUTATION_DISPATCH_RECEIPT_COMMIT_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_S357_TO_S407_S382_NO_RUNBOOK_EXECUTED_IN_S197_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_commit -- --test-threads=1",
      "cargo check --quiet --manifest-path kernel/Cargo.toml --target aarch64-unknown-none --no-default-features --features board-rpi5",
    ],
    terminalSessions: [
      {
        id: "s197-g8l-scheduler-owner-scheduler-mutation-dispatch-receipt-commit",
        title:
          "G8l S197 scheduler-owner scheduler mutation dispatch receipt commit",
        commandLines: [
          "cargo test --quiet --test g8l_target_dispatch_scheduler_owner_scheduler_mutation_dispatch_receipt_commit -- --test-threads=1",
        ],
        outputLines: [
          "running 10 tests",
          "test result: ok; 10 passed; 0 failed",
          "S196 dispatch receipt consumed by value; scheduler mutation dispatch receipt commit published",
          "production scheduler mutation/global exclusion/GIC/hardware: not invoked / not claimed",
        ],
        exitCode: 0,
        outputMode: "selected",
      },
    ],
    terminalSessionsNote:
      "Terminal özeti dar S197 source sınırını gösterir; QEMU veya fiziksel cihaz çalıştırması değildir.",
    limitations: [
      "S197 dar typed scheduler-mutation dispatch receipt commit source-model kabulü PASS'tir; gerçek production scheduler mutation, global lock, GIC/hardware runtime ve fiziksel çalışma açık kalır.",
      "S197 fiziksel/device operasyonu yapmadı; RUNBOOK_EXECUTED_IN_S197=NO.",
    ],
  },
snippet sha256: 4d3ca8686da1file sha256: 9726dbf00f84
Focused test komutu
cargo test --quiet --test g8l_target_dispatch_scheduler_owner_scheduler_mutation_dispatch_receipt_commit -- --test-threads=1
proof: docs/M8.1-RPi5-G8l-S197-Scheduler-Owner-Scheduler-Mutation-Dispatch-Receipt-Commit-Proof.md
Registry schema v5 · generator website/scripts/generate-code-gates.mjs · Tam SHA-256: 91d38c7b6222f0b4c117be786454853543da55a160e543d9b951057cc20dcc06