ASELSANMicrokernel
S182 · SOURCE-BOUND GATE EVIDENCE

G8l: scheduler-mutation callsite source contract

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

S182Focused kod testiOperations id exactsource SHA exacttest target exact

operation: g8l-s182-target-dispatch-scheduler-callsite-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 öğesiL33–L88
kernel/src/g8l_target_dispatch_scheduler_callsite.rs::from_scheduler_permit

impl G8lTargetDispatchSchedulerCallsite {
    pub fn from_scheduler_permit(
        runtime: &G8lRuntimeAuthority,
        permit: G8lTargetDispatchSchedulerPermit,
    ) -> Result<Self, G8lTargetDispatchSchedulerCallsiteError> {
        permit.revalidate_runtime(runtime)?;
        Ok(Self {
            permit: Some(permit),
        })
    }

    pub fn revalidate_runtime(
        &self,
        runtime: &G8lRuntimeAuthority,
    ) -> Result<(), G8lTargetDispatchSchedulerCallsiteError> {
        let permit = self
            .permit
            .as_ref()
            .ok_or(G8lTargetDispatchSchedulerCallsiteError::Consumed)?;
        permit.revalidate_runtime(runtime)?;
        Ok(())
    }

    pub const fn consumed(&self) -> bool {
        self.permit.is_none()
    }

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

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

    pub const fn production_scheduler_wired(&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 source_contract_only(&self) -> bool {
        true
    }
}
snippet sha256: 54b2aaeeacb6file sha256: eb68accb3449
02 · Doğrulayan test kodu

Operations komutuna bağlı focused test

tam Rust öğesiL49–L59
simulation/tests/g8l_target_dispatch_scheduler_callsite.rs::scheduler_callsite_keeps_mutation_and_global_exclusion_closed

#[test]
fn scheduler_callsite_keeps_mutation_and_global_exclusion_closed() {
    let source = include_str!("../../kernel/src/g8l_target_dispatch_scheduler_callsite.rs");
    assert!(source.contains("pub const fn scheduler_mutation_callsite_wired(&self) -> bool"));
    assert!(source.contains("pub const fn scheduler_mutation_executed(&self) -> bool"));
    assert!(source.contains("pub const fn production_scheduler_wired(&self) -> bool"));
    assert!(source.contains("pub const fn global_scheduler_exclusion_proven(&self) -> bool"));
    assert!(source.contains("pub const fn gic_delivery_wired(&self) -> bool"));
    assert!(source.contains("pub const fn hardware_execution_proven(&self) -> bool"));
}
snippet sha256: a8c8e14562dbfile sha256: 3c49a826601d
03 · Kapı kimlik kaydı

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

tam Operations kaydıL22570–L22609
website/src/lib/operations.ts::g8l-s182-target-dispatch-scheduler-callsite-partial
  {
    id: "g8l-s182-target-dispatch-scheduler-callsite-partial",
    date: "2026-08-24",
    sequence: 182,
    status: "passed",
    umbrella_status: "partial",
    title: "G8l: scheduler-mutation callsite source contract",
    summary:
      "S182, S181 scheduler-mutation permitini by-value tek sahip typed scheduler callsite sınırında tüketen 8/8 source contract kurdu. Callsite retention öncesi canlı runtime yeniden doğrulanır; permit error ve consumed durumları fail-closed kalır, scheduler mutation/production owner/global exclusion/GIC/hardware bağlanmaz.",
    evidence: [
      "g8l_target_dispatch_scheduler_callsite: 8/8 PASS; exact S181 scheduler-permit consumption, single-owner Option boundary and runtime revalidation before retention.",
      "S181 permit error and consumed states propagate fail-closed; caller-built architecture constructor and public source getters remain closed.",
      "Production scheduler mutation callsite/execution, owner, global scheduler exclusion, GIC/SGI delivery and hardware execution remain closed: scheduler_mutation_callsite_wired=false, scheduler_mutation_executed=false, production_scheduler_wired=false, gic_delivery_wired=false, hardware_execution_proven=false.",
      "Kalıcı kapsam: `docs/M8.1-RPi5-G8l-S182-Scheduler-Mutation-Callsite-Proof.md`.",
      "S182 fiziksel/device operasyonu yapmadı: physical/device operations=0 ve RUNBOOK_EXECUTED_IN_S182=NO.",
    ],
    commands: [
      "cargo test --quiet --test g8l_target_dispatch_scheduler_callsite -- --test-threads=1",
      "cargo check --quiet --manifest-path kernel/Cargo.toml --target aarch64-unknown-none --no-default-features --features board-rpi5",
    ],
    terminalSessions: [
      {
        id: "s182-g8l-target-dispatch-scheduler-callsite",
        title: "G8l S182 scheduler-mutation callsite source contract",
        commandLines: [
          "cargo test --quiet --test g8l_target_dispatch_scheduler_callsite -- --test-threads=1",
        ],
        outputLines: ["running 8 tests", "test result: ok; 8 passed; 0 failed"],
        exitCode: 0,
        outputMode: "selected",
      },
    ],
    terminalSessionsNote:
      "S182 dar kaynak kabulü PASS'tir; typed scheduler callsite permit'i tüketir fakat production scheduler/GIC/hardware authority açmaz.",
    limitations: [
      "S182 source-only scheduler mutation callsite boundary'dir; production scheduler mutation ve gerçek owner wiring yapmaz.",
      "Global scheduler exclusion/source linearity, GIC/SGI delivery, context-switch assembly, QEMU ve fiziksel RPi execution kapsam dışıdır.",
      "S182 fiziksel/device operasyonu yapmadı; RUNBOOK_EXECUTED_IN_S182=NO.",
    ],
  },
snippet sha256: f0a7ddc2f60dfile sha256: 9726dbf00f84
Focused test komutu
cargo test --quiet --test g8l_target_dispatch_scheduler_callsite -- --test-threads=1
proof: docs/M8.1-RPi5-G8l-S182-Scheduler-Mutation-Callsite-Proof.md
Registry schema v5 · generator website/scripts/generate-code-gates.mjs · Tam SHA-256: 3050638b71a684d8f8f947a8a6faa237a17fa8db5dc0db04fb207b668b462af9