S228 · SOURCE-BOUND GATE EVIDENCE
G8l: production migration-lifecycle S182 scheduler-callsite boundary
Operations --test hedefi → test hedefiyle aynı adlı uygulama/model modülü → kaynak kesiti Bu sayfa yalnız S228 kapısına aittir; komşu kapıların kaynakları bu kabulün içine katılmaz.
S228Focused kod testiOperations id exactsource SHA exacttest target exact
operation: g8l-s228-production-migration-lifecycle-s182-scheduler-callsite-partial
uygulama/model · focused test · Operations · 3 exact excerpt
sequence-bound=true · implementation-bound=true
01 · Testin bağlı olduğu uygulama/model kodu
Kapının yürüttüğü gerçek kaynak
tam Rust öğesiL64–L92
kernel/src/g8l_target_dispatch_scheduler_owner_scheduler_mutation_production_migration_lifecycle_s182_scheduler_callsite.rs::prepare_production_s187_handoff_from_production_s182_scheduler_callsite
/// CPU0 source half of the S182 -> S183 -> S184 -> S187 path.
/// The returned S187 handoff is still not proof of cross-CPU delivery.
#[cfg(all(target_arch = "aarch64", target_os = "none"))]
pub unsafe fn prepare_production_s187_handoff_from_production_s182_scheduler_callsite(
runtime: G8lRuntimeAuthority,
authority: G8lSchedulerOwnerAuthority,
scheduler_callsite: G8lTargetDispatchSchedulerCallsite,
) -> Result<
crate::g8l_target_dispatch_scheduler_owner_scheduler_mutation_production_migration_lifecycle_s186_mapping_retirement::G8lProductionMigrationLifecycleS187Handoff,
G8lProductionMigrationLifecycleS182SchedulerCallsiteError,
>{
let caller_cpu = crate::percpu::try_current_cpu_id()
.ok_or(G8lProductionMigrationLifecycleS182SchedulerCallsiteError::WrongSourceCpu)?;
if caller_cpu != CPU0 {
return Err(G8lProductionMigrationLifecycleS182SchedulerCallsiteError::WrongSourceCpu);
}
let scheduler_receipt =
G8lTargetDispatchSchedulerReceipt::from_scheduler_callsite(&runtime, scheduler_callsite)
.map_err(G8lProductionMigrationLifecycleS182SchedulerCallsiteError::SchedulerReceipt)?;
unsafe {
crate::g8l_target_dispatch_scheduler_owner_scheduler_mutation_production_migration_lifecycle_s183_scheduler_receipt::prepare_production_s187_handoff_from_production_s183_scheduler_receipt(
runtime,
authority,
scheduler_receipt,
)
}
.map_err(G8lProductionMigrationLifecycleS182SchedulerCallsiteError::S183)
}snippet sha256: bb132abfe09d…file sha256: 52862971712c…
02 · Doğrulayan test kodu
Operations komutuna bağlı focused test
tam Rust öğesiL103–L122
simulation/tests/g8l_target_dispatch_scheduler_owner_scheduler_mutation_production_migration_lifecycle_s182_scheduler_callsite.rs::s228_keeps_scheduler_gic_eret_and_physical_boundaries_closed
#[test]
fn s228_keeps_scheduler_gic_eret_and_physical_boundaries_closed() {
let source = include_str!("../../kernel/src/g8l_target_dispatch_scheduler_owner_scheduler_mutation_production_migration_lifecycle_s182_scheduler_callsite.rs");
for forbidden in [
"task::scheduler",
"SCHEDULER",
"gic::",
"send_sgi",
"runtime.context_switch(",
"write_ttbr0",
"eret()",
"power_on",
] {
assert!(
!source.contains(forbidden),
"forbidden S228 marker: {forbidden}"
);
}
}snippet sha256: 32e6431fa3ba…file sha256: 51a97d9b830b…
03 · Kapı kimlik kaydı
Operations sıra, kimlik ve başlık bağı
tam Operations kaydıL20227–L20278
website/src/lib/operations.ts::g8l-s228-production-migration-lifecycle-s182-scheduler-callsite-partial
{
id: "g8l-s228-production-migration-lifecycle-s182-scheduler-callsite-partial",
date: "2026-08-25",
sequence: 228,
status: "passed",
umbrella_status: "partial",
title:
"G8l: production migration-lifecycle S182 scheduler-callsite boundary",
summary:
"S228 13/13 PASS ile live CPU0'ın exact non-Copy S182 scheduler callsite'ını target gate sonrasında by-value tüketmesini, mevcut S183 scheduler-receipt constructor'ını bir kez çağırmasını ve S227/S226/S225/S224 CPU0 producer üzerinden non-Copy S187 handoff döndürmesini source/ABI olarak sabitledi; literal CPU0 impersonation yoktur. Ayrı CPU1 consumer ile downstream invoke edilmedi; exact production scheduler mutation, cross-CPU delivery, GIC/SGI, ERET ve runtime bağlı değildir.",
evidence: [
"S228 focused grubu iki bağımsız koşuda 13/13 PASS: by-value S182 ABI, S183 constructor reuse, S182→S183→S184→S185→S186→S187 order, target CPU0 gate, error surface ve scheduler/GIC/ERET/hardware sınırları doğrulandı.",
"Focused koşular byte-eşit kaldı: 128 B / SHA-256 02983f1a7d644519bfddb0884a6cd0ce69f40c4b845eb54b71ecdc6e19a8ff09.",
"S206 callsite/readback + S207 invocation + S208 return + S209 handoff + S210 acknowledgement/caller + S211–S228 dependency matrix frozen S227 prefix'i üzerine 25 grup / 303/303 PASS ve 3176 B / SHA-256 d9aeaf67a2cbfbe0ddb01da7ec5acee3769239157fe3e1b35d397fded90d74fd verdi; ilk 3048 B exact S227 dependency prefix'idir.",
"S155–S228 explicit sequence-ordered matrix frozen S227 prefix'i üzerine 77 grup / 786/786 PASS ve 9587 B / SHA-256 f5b0e6cbb6ff4a3963d3a6ab57c7855c55e1179daf941c4fdaa8596cea4df21d verdi; exact S227 9459 B prefix'i korundu.",
"RPi5 AArch64 compile PASS: 598 warning envanterlendi; 297460 B / SHA-256 7b20f53f6b5a3ce9f6bb18523f3e2292fd35050d1d53fc78a3d4ce823e877988. smp: 598 warning, 297402 B / SHA-256 e356c4892631f98a6861db008c5cff1907173ea40bd3e95651133c6ad3a082b8. Zero-warning iddiası yoktur.",
"Kalıcı kapsam: docs/M8.1-RPi5-G8l-S228-Migration-Lifecycle-S182-Scheduler-Callsite-Proof.md.",
"S228 exact S182 callsite boundary'sini by-value tüketir, mevcut S183 constructor'ını bir kez çağırır ve S227/S226/S225/S224 CPU0 producer üzerinden non-Copy S187 handoff döndürür. Target-only producer live CPU0'ı tüketimden önce doğrular; ayrı CPU1 consumer, S223/S222 downstream, gerçek scheduler mutation, cross-CPU delivery, boot veya migration runtime callsite'ı invoke edilmedi.",
"S228 fiziksel/device operasyonu yapmadı: physical/device operations=0 ve RUNBOOK_EXECUTED_IN_S228=NO.",
"Canlı marker: S228_13_OF_13_MIGRATION_LIFECYCLE_S182_SCHEDULER_CALLSITE_LIVE_CPU0_GATE_S182_NONCOPY_BY_VALUE_EXACT_S183_SCHEDULER_RECEIPT_S227_S226_S225_S224_CPU0_PRODUCER_S187_NONCOPY_HANDOFF_RETURNED_CPU1_CONSUMER_NOT_INVOKED_DOWNSTREAM_NOT_RUNTIME_INVOKED_CROSS_CPU_DELIVERY_NOT_WIRED_NO_LITERAL_CPU0_IMPERSONATION_NO_REPLACEMENT_NO_RETRY_AARCH64_COMPILED_PRESENT_REQUEST_NOT_OBSERVED_LEGACY_SCHEDULER_ACCESSES_UNCOVERED_WHOLE_SCHEDULER_GIC_HARDWARE_QEMU_PHYSICAL_CPU2_CPU3_HOTPLUG_SOAK_GENERIC_SMP_OPEN_FULL_PHYSICAL_RUNBOOK_VISIBLE_S388_TO_S438_S413_NO_RUNBOOK_EXECUTED_IN_S228_VERIFIED; deployment-specific route/hash evidence is recorded in the project-status manifest.",
],
commands: [
"cargo test --quiet -p aselsan_microkernel_simulation --test g8l_target_dispatch_scheduler_owner_scheduler_mutation_production_migration_lifecycle_s182_scheduler_callsite -- --test-threads=1",
"cargo check --quiet --manifest-path kernel/Cargo.toml --target aarch64-unknown-none --no-default-features --features board-rpi5",
"cargo check --quiet --manifest-path kernel/Cargo.toml --target aarch64-unknown-none --no-default-features --features board-rpi5,smp",
],
terminalSessions: [
{
id: "s228-g8l-production-migration-lifecycle-s182-scheduler-callsite",
title: "G8l S228 migration-lifecycle S182 scheduler-callsite boundary",
commandLines: [
"cargo test --quiet -p aselsan_microkernel_simulation --test g8l_target_dispatch_scheduler_owner_scheduler_mutation_production_migration_lifecycle_s182_scheduler_callsite -- --test-threads=1",
],
outputLines: [
"test result: ok; 13 passed; 0 failed",
"production ABI: non-Copy S182 consumed by value; existing S183 receipt constructor reused",
"target-only CPU0 gate precedes S182 consumption; S227/S226/S225/S224 CPU0 producer returns non-Copy S187",
"separate CPU1 consumer and downstream are not invoked",
"scheduler mutation, GIC/SGI, ERET, exact production runtime and physical operation are not invoked",
],
exitCode: 0,
outputMode: "selected",
},
],
terminalSessionsNote:
"Terminal özeti S228 exact S182→S183 source/ABI sınırını ve target CPU0 fail-closed kapısını gösterir; exact production scheduler runtime, QEMU veya fiziksel cihaz çalıştırması değildir.",
limitations: [
"S228 S182→S183→S227/S226/S225/S224 CPU0 producer→S187 boundary'sini source/ABI ve AArch64 compile olarak bağlar; ayrı CPU1 consumer, downstream delivery ve exact production scheduler execution/runtime iddia edilmez.",
"Production scheduler mutation, whole-scheduler exclusion, GIC/SGI delivery, ERET/context-switch assembly, QEMU present-tuple yolu, fiziksel RPi, CPU2/CPU3, hotplug, soak ve Generic SMP açıktır.",
"S228 fiziksel/device operasyonu yapmadı; RUNBOOK_EXECUTED_IN_S228=NO.",
],
},snippet sha256: 18529e094813…file sha256: 9726dbf00f84…
Focused test komutu
cargo test --quiet -p aselsan_microkernel_simulation --test g8l_target_dispatch_scheduler_owner_scheduler_mutation_production_migration_lifecycle_s182_scheduler_callsite -- --test-threads=1proof: docs/M8.1-RPi5-G8l-S228-Migration-Lifecycle-S182-Scheduler-Callsite-Proof.md
Registry schema v5 · generator
website/scripts/generate-code-gates.mjs · Tam SHA-256: 3050638b71a684d8f8f947a8a6faa237a17fa8db5dc0db04fb207b668b462af9