ASELSANMicrokernel
S227 · SOURCE-BOUND GATE EVIDENCE

G8l: production migration-lifecycle S183 scheduler-receipt boundary

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

S227Focused kod testiOperations id exactsource SHA exacttest target exact

operation: g8l-s227-production-migration-lifecycle-s183-scheduler-receipt-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–L94
kernel/src/g8l_target_dispatch_scheduler_owner_scheduler_mutation_production_migration_lifecycle_s183_scheduler_receipt.rs::prepare_production_s187_handoff_from_production_s183_scheduler_receipt

/// CPU0 source half of the S183 -> S184 -> S185 -> S186 -> 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_s183_scheduler_receipt(
    runtime: G8lRuntimeAuthority,
    authority: G8lSchedulerOwnerAuthority,
    scheduler_receipt: G8lTargetDispatchSchedulerReceipt,
) -> Result<
    crate::g8l_target_dispatch_scheduler_owner_scheduler_mutation_production_migration_lifecycle_s186_mapping_retirement::G8lProductionMigrationLifecycleS187Handoff,
    G8lProductionMigrationLifecycleS183SchedulerReceiptError,
>{
    let caller_cpu = crate::percpu::try_current_cpu_id()
        .ok_or(G8lProductionMigrationLifecycleS183SchedulerReceiptError::WrongSourceCpu)?;
    if caller_cpu != CPU0 {
        return Err(G8lProductionMigrationLifecycleS183SchedulerReceiptError::WrongSourceCpu);
    }
    let scheduler_execution =
        G8lTargetDispatchSchedulerExecution::from_scheduler_receipt(&runtime, scheduler_receipt)
            .map_err(
                G8lProductionMigrationLifecycleS183SchedulerReceiptError::SchedulerExecution,
            )?;
    unsafe {
        crate::g8l_target_dispatch_scheduler_owner_scheduler_mutation_production_migration_lifecycle_s184_scheduler_execution::prepare_production_s187_handoff_from_production_s184_scheduler_execution(
            runtime,
            authority,
            scheduler_execution,
        )
    }
    .map_err(G8lProductionMigrationLifecycleS183SchedulerReceiptError::S184)
}
snippet sha256: 8abf312d0bfdfile sha256: 50119d6e586b
02 · Doğrulayan test kodu

Operations komutuna bağlı focused test

tam Rust öğesiL104–L123
simulation/tests/g8l_target_dispatch_scheduler_owner_scheduler_mutation_production_migration_lifecycle_s183_scheduler_receipt.rs::s227_keeps_scheduler_gic_eret_and_physical_boundaries_closed

#[test]
fn s227_keeps_scheduler_gic_eret_and_physical_boundaries_closed() {
    let source = include_str!("../../kernel/src/g8l_target_dispatch_scheduler_owner_scheduler_mutation_production_migration_lifecycle_s183_scheduler_receipt.rs");
    for forbidden in [
        "task::scheduler",
        "SCHEDULER",
        "gic::",
        "send_sgi",
        "runtime.context_switch(",
        "write_ttbr0",
        "eret()",
        "power_on",
    ] {
        assert!(
            !source.contains(forbidden),
            "forbidden S227 marker: {forbidden}"
        );
    }
}
snippet sha256: e9da3f1c946ffile sha256: 762ae3db3bee
03 · Kapı kimlik kaydı

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

tam Operations kaydıL20279–L20330
website/src/lib/operations.ts::g8l-s227-production-migration-lifecycle-s183-scheduler-receipt-partial
  {
    id: "g8l-s227-production-migration-lifecycle-s183-scheduler-receipt-partial",
    date: "2026-08-25",
    sequence: 227,
    status: "passed",
    umbrella_status: "partial",
    title:
      "G8l: production migration-lifecycle S183 scheduler-receipt boundary",
    summary:
      "S227 13/13 PASS ile live CPU0'ın exact non-Copy S183 scheduler receipt'ini target gate sonrasında by-value tüketmesi, mevcut S184 scheduler-execution constructor'ını bir kez çağırması ve S226/S225/S224 CPU0 producer üzerinden non-Copy S187 handoff döndürmesi source/ABI olarak sabitlendi; literal CPU0 impersonation yoktur. Ayrı CPU1 consumer ile S223/S222 downstream invoke edilmedi; exact production scheduler mutation, cross-CPU delivery, GIC/SGI, ERET ve runtime bağlı değildir.",
    evidence: [
      "S227 focused grubu iki bağımsız koşuda 13/13 PASS: by-value S183 ABI, S184 constructor reuse, 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–S227 dependency matrix frozen S226 prefix'i üzerine 24 grup / 290/290 PASS ve 3048 B / SHA-256 45dc5c609d43dd0099071213147ea6c58205005f0091f3816f18077465f91d2c verdi; ilk 2920 B exact S226 dependency prefix'idir.",
      "S155–S227 explicit sequence-ordered matrix frozen S226 prefix'i üzerine 76 grup / 773/773 PASS ve 9459 B / SHA-256 87db703928be248324669734fc1e026bddd6c852fb0151a72e9c78512e8835d6 verdi; exact S226 9331 B prefix'i korundu.",
      "RPi5 AArch64 compile PASS: 595 warning envanterlendi; 296369 B / SHA-256 3126d4245089f9d4fbd3bc4e37f0ef764c2bc1ef5a2cbe82a14468b5fe5719f1. smp: 595 warning, 296259 B / SHA-256 bde8c6b1009940ee9325cec716d3f01b4fc4c138d9f37627358c420c518d6875. Zero-warning iddiası yoktur.",
      "Kalıcı kapsam: `docs/M8.1-RPi5-G8l-S227-Migration-Lifecycle-S183-Scheduler-Receipt-Proof.md`.",
      "S227 exact S183 receipt boundary'sini by-value tüketir, mevcut S184 constructor'ını bir kez çağırır ve 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.",
      "S227 fiziksel/device operasyonu yapmadı: physical/device operations=0 ve RUNBOOK_EXECUTED_IN_S227=NO.",
      "Canlı marker: S227_13_OF_13_MIGRATION_LIFECYCLE_S183_SCHEDULER_RECEIPT_LIVE_CPU0_GATE_S183_NONCOPY_BY_VALUE_EXACT_S184_SCHEDULER_EXECUTION_S226_S225_S224_CPU0_PRODUCER_S187_NONCOPY_HANDOFF_RETURNED_CPU1_CONSUMER_NOT_INVOKED_S223_S222_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_S387_TO_S437_S412_NO_RUNBOOK_EXECUTED_IN_S227_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_s183_scheduler_receipt -- --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: "s227-g8l-production-migration-lifecycle-s183-scheduler-receipt",
        title: "G8l S227 migration-lifecycle S183 scheduler-receipt boundary",
        commandLines: [
          "cargo test --quiet -p aselsan_microkernel_simulation --test g8l_target_dispatch_scheduler_owner_scheduler_mutation_production_migration_lifecycle_s183_scheduler_receipt -- --test-threads=1",
        ],
        outputLines: [
          "test result: ok; 13 passed; 0 failed",
          "production ABI: non-Copy S183 consumed by value; existing S184 constructor reused",
          "target-only CPU0 gate precedes S183 consumption; S226/S225/S224 CPU0 producer returns non-Copy S187",
          "separate CPU1 consumer and S223/S222 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 S227 exact S183→S184 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: [
      "S227 S183→S184→S226/S225/S224 CPU0 producer→S187 boundary'sini source/ABI ve AArch64 compile olarak bağlar; ayrı CPU1 consumer, S223/S222 downstream 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.",
      "S227 fiziksel/device operasyonu yapmadı; RUNBOOK_EXECUTED_IN_S227=NO.",
    ],
  },
snippet sha256: 3a5dbbe09df9file sha256: 9726dbf00f84
Focused test komutu
cargo test --quiet -p aselsan_microkernel_simulation --test g8l_target_dispatch_scheduler_owner_scheduler_mutation_production_migration_lifecycle_s183_scheduler_receipt -- --test-threads=1
proof: docs/M8.1-RPi5-G8l-S227-Migration-Lifecycle-S183-Scheduler-Receipt-Proof.md
Registry schema v5 · generator website/scripts/generate-code-gates.mjs · Tam SHA-256: 3050638b71a684d8f8f947a8a6faa237a17fa8db5dc0db04fb207b668b462af9