S256 · SOURCE-BOUND GATE EVIDENCE
G8l: task-exit identity read-access guard genişletmesi
Operations --test hedefi → test hedefiyle aynı adlı uygulama/model modülü → kaynak kesiti Bu sayfa yalnız S256 kapısına aittir; komşu kapıların kaynakları bu kabulün içine katılmaz.
S256Focused kod testiOperations id exactsource SHA exacttest target exact
operation: g8l-s256-task-exit-identity-read-access-guard-expansion-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 öğesiL57–L121
kernel/src/g8l_target_dispatch_scheduler_owner_scheduler_mutation_production_migration_lifecycle_s255_task_exit_identity_read_access_guard_expansion.rs::preflight_s256_whole_scheduler_read_coverage
pub fn preflight_s256_whole_scheduler_read_coverage(
caller_cpu: usize,
request: Option<G8lS245WholeSchedulerExclusionAdmissionRequestView>,
) -> Result<
G8lS256WholeSchedulerReadCoveragePreflightOutcome,
G8lS256WholeSchedulerReadCoveragePreflightError,
> {
match preflight_s255_whole_scheduler_read_coverage(caller_cpu, request)
.map_err(G8lS256WholeSchedulerReadCoveragePreflightError::S255)?
{
G8lS255WholeSchedulerReadCoveragePreflightOutcome::Idle => {
return Ok(G8lS256WholeSchedulerReadCoveragePreflightOutcome::Idle);
}
G8lS255WholeSchedulerReadCoveragePreflightOutcome::AwaitingCoverage {
guarded_sites,
unrouted_sites,
..
} if guarded_sites == S255_WHOLE_SCHEDULER_GUARDED_SITES
&& unrouted_sites
== S246_DIRECT_SCHEDULER_ACCESS_SITES - S255_WHOLE_SCHEDULER_GUARDED_SITES => {}
G8lS255WholeSchedulerReadCoveragePreflightOutcome::AwaitingCoverage {
guarded_sites,
unrouted_sites,
..
} => {
return Err(
G8lS256WholeSchedulerReadCoveragePreflightError::PriorCoverageDrift {
guarded_sites,
unrouted_sites,
},
);
}
}
let outcome = preflight_s246_whole_scheduler_exclusion_provider(
caller_cpu,
request,
G8lS246WholeSchedulerCoverageAudit::new(
S246_SOURCE_AUDIT_UNITS,
S246_DIRECT_SCHEDULER_ACCESS_SITES,
S256_WHOLE_SCHEDULER_GUARDED_SITES,
),
)
.map_err(G8lS256WholeSchedulerReadCoveragePreflightError::S246)?;
match outcome {
G8lS246WholeSchedulerProviderPreflightOutcome::Idle => {
Ok(G8lS256WholeSchedulerReadCoveragePreflightOutcome::Idle)
}
G8lS246WholeSchedulerProviderPreflightOutcome::AwaitingCoverage {
request_id,
guarded_sites,
unrouted_sites,
} => Ok(
G8lS256WholeSchedulerReadCoveragePreflightOutcome::AwaitingCoverage {
request_id,
guarded_sites,
unrouted_sites,
},
),
G8lS246WholeSchedulerProviderPreflightOutcome::CoverageCompleteAwaitingProvider {
..
} => Err(G8lS256WholeSchedulerReadCoveragePreflightError::UnexpectedCoverageComplete),
}
}snippet sha256: be56925e55f8…file sha256: 7e9528acbed4…
02 · Doğrulayan test kodu
Operations komutuna bağlı focused test
tam Rust öğesiL62–L80
simulation/tests/g8l_target_dispatch_scheduler_owner_scheduler_mutation_production_migration_lifecycle_s255_task_exit_identity_read_access_guard_expansion.rs::s256_pending_request_reports_twenty_guarded_without_taking_it
#[test]
fn s256_pending_request_reports_twenty_guarded_without_taking_it() {
let state = pending_request();
assert_eq!(
preflight_s256_whole_scheduler_read_coverage(
S245_TARGET_CPU1,
Some(pending_request_view(&state)),
),
Ok(
G8lS256WholeSchedulerReadCoveragePreflightOutcome::AwaitingCoverage {
request_id: 1,
guarded_sites: 20,
unrouted_sites: 91,
}
)
);
assert_eq!(state.pending_request_id(), Some(1));
}snippet sha256: 441278f5a139…file sha256: b7c9c3bcd0e3…
03 · Kapı kimlik kaydı
Operations sıra, kimlik ve başlık bağı
tam Operations kaydıL18764–L18818
website/src/lib/operations.ts::g8l-s256-task-exit-identity-read-access-guard-expansion-partial
{
id: "g8l-s256-task-exit-identity-read-access-guard-expansion-partial",
date: "2026-08-25",
sequence: 256,
status: "passed",
umbrella_status: "partial",
title: "G8l: task-exit identity read-access guard genişletmesi",
summary:
"S256 11/11 PASS ile S255 production reader gate'ini fatal task sonlandırma ve normal task_exit yollarındaki iki read-only current-task-id snapshot'ına taşıdı. Her iki yol yalnız Option<u64> kopyası çıkarır; reader membership kopyadan hemen sonra ve IPC teardown, scheduler mutasyonu, ASID retirement veya yield/context-switch başlamadan explicit düşer. Coverage 18/111'den 20/111'e ilerledi; 91 site unrouted kalır. Production exclusive wrapper hâlâ yoktur; S245 request non-consuming incelenir, alınmaz ve pending kalır.",
evidence: [
"S256 focused host grubu final kernel kaynağı üzerinde iki bağımsız koşuda 11/11 PASS verdi: canonical test-result 95 B / SHA-256 2c07f0a50574922424c491ec40d2a364ada2ad650cb922a2036d326c49b26e45.",
"Exact source coverage: S255 guarded=18/111 başlangıcı yeniden doğrulandı; fatal task termination ve ordinary task_exit current-task-id snapshot'ları common reader membership altına alındı. Yeni toplam guarded=20/111, unrouted=91; additional read-only=2, mutating-while-reader-live=0.",
"İki yol Option<u64> task-id kopyası çıkarır. Reader immutable SCHEDULER okumasından önce alınır ve explicit drop; IPC teardown, scheduler mutable alias, ASID retirement ile yield/context-switch çağrılarının tamamından önce gerçekleşir. Scheduler referansı guard dışına kaçmaz. Bu snapshot'lar IPC transaction yolu değildir; yeni IPC kilidi iddiası yapılmaz.",
"S238'den S256'ya exact sıra-düzenli dependency matrisi 20 grup / 284/284 PASS verdi. Ham summary iki bağımsız koşuda byte-equal 1900 B / SHA-256 f7657fa73209667df7e6590df70123f20a517d42a6b2296a926de42ed9de30d4; süre-normalize summary 2000 B / SHA-256 e9af3995401a477ec0bc6a9edee14b461f5db0687c4abb0a2122bceff46dbc02 oldu. S240 receipt ve SGI gruplarının ikisi de dahildir.",
"RPi5 AArch64 normal/SMP profilleri ikişer koşuda byte-equal PASS verdi. Normal: 357427 B / 693 warning başlığı / SHA-256 3a0c4049f71adc2e3bedc1f26c76113f41ab9ea08092280f35018d5ac0f21dd6. SMP: 357369 B / 693 warning başlığı / SHA-256 67c2ed28f43d9184d8880d0ead3afe87bf7468879e71795a23bca46d1a789c41. Zero-warning iddiası yoktur.",
"Exact production sırası: CPU1 timer IRQ → GIC EOI → S246 request preflight → S247 → S248 → S249 → S250 → S251 → S252 → S253 → S254 → S255 → S256 20/111 coverage preflight → S242 service → scheduler dispatch. Exact S245 request yalnız non-consuming metadata view ile incelenir, alınmaz ve pending kalır.",
"Filtresiz workspace aynı frozen S96 identity kapısında exit 101 verdi: 51178 B / SHA-256 78512c5c0aa0058d6a9731e067964bc78e5a3c5523563443386627fcdb1361e6. Exact yedi tarihsel assertion dışlandığında final manifest-aware iki audit 218 grup / 2030 PASS / 0 fail / 7 filtered oldu. Süre-normalize test-result özetleri byte-equal 22118 B / SHA-256 3f49982c9e8483aceb598a8b36906d80f3ca639630b014ad1c86e842023f9389 verdi; full-workspace GREEN iddia edilmez.",
"S256 physical/device operations=0; RUNBOOK_EXECUTED_IN_S256=NO. Tarihsel S124 physical BOOT8H PASS ve tam operatör sırası görünür biçimde korunur.",
"Canlı marker: S256_11_OF_11_TASK_EXIT_IDENTITY_READ_ACCESS_GUARD_EXPANSION_TWO_ADDITIONAL_COPY_RETURNING_READ_ONLY_LOCAL_IRQ_GUARDED_TASK_ID_SNAPSHOTS_READER_EXPLICITLY_DROPPED_AFTER_COPY_BEFORE_IPC_TEARDOWN_SCHEDULER_MUTATION_ASID_RETIREMENT_OR_YIELD_CONTEXT_SWITCH_TOTAL_20_OF_111_GUARDED_91_UNROUTED_NO_SCHEDULER_REFERENCE_ESCAPES_NO_CONTEXT_SWITCH_CAPABLE_OR_MUTATING_SITE_GUARDED_WHILE_READER_LIVE_PRODUCTION_EXCLUSIVE_WRAPPER_ABSENT_S245_REQUEST_INSPECTED_NONCONSUMING_NOT_TAKEN_REMAINS_PENDING_AWAITING_COVERAGE_NO_PROVIDER_AUTHORITY_NO_EXCLUSION_PROOF_NO_S244_ADMISSION_NO_S243_S236_INVOCATION_NO_SGI_NO_SAFE_RUNTIME_EXECUTION_CLAIM_AARCH64_NORMAL_SMP_COMPILED_WORKSPACE_2030_PASS_7_HISTORICAL_G8H_ASSERTIONS_RED_PHYSICAL_QEMU_CPU2_CPU3_HOTPLUG_SOAK_GENERIC_SMP_OPEN_FULL_PHYSICAL_RUNBOOK_VISIBLE_S416_TO_S466_S441_NO_RUNBOOK_EXECUTED_IN_S256_VERIFIED.",
],
commands: [
"cargo test --quiet -p aselsan_microkernel_simulation --test g8l_target_dispatch_scheduler_owner_scheduler_mutation_production_migration_lifecycle_s255_task_exit_identity_read_access_guard_expansion -- --test-threads=1",
"cargo check --quiet -p aselsan_kernel --target aarch64-unknown-none --no-default-features --features board-rpi5",
"cargo check --quiet -p aselsan_kernel --target aarch64-unknown-none --no-default-features --features board-rpi5,smp",
"cargo test --workspace --quiet -- --test-threads=1 --skip wiring_does_not_mutate_timer_gic_boot_or_expand_runtime_scope --skip s97_runtime_and_layout_identities_are_unchanged --skip clean_bridge_literal_include_closure_is_manifest_complete --skip clean_image_make_recipe_inputs_are_exact_and_manifested --skip s99_and_s98_are_narrowly_historically_versioned --skip s97_s98_inputs_and_make_history_are_narrowly_versioned --skip historical_s90_and_s100_inputs_remain_exact",
],
terminalSessions: [
{
id: "s256-g8l-task-exit-identity-read-access-guard-expansion",
title: "G8l S256 task-exit identity read-access guard genişletmesi",
commandLines: [
"cargo test --quiet -p aselsan_microkernel_simulation --test g8l_target_dispatch_scheduler_owner_scheduler_mutation_production_migration_lifecycle_s255_task_exit_identity_read_access_guard_expansion -- --test-threads=1",
],
outputLines: [
"test result: ok; S256 focused 1 group / 11 passed; 0 failed",
"source coverage: 7 units / 111 direct SCHEDULER sites / previous=18 / additional=2 / guarded=20 / unrouted=91",
"new routes: fatal termination + ordinary task_exit current-task-id snapshots / local IRQ / Option<u64> copy-returning read-only",
"reader explicit drop precedes IPC teardown / scheduler mutation / ASID retirement / yield-context-switch",
"production exclusive wrapper absent; S245 request inspected non-consuming, not taken, remains pending",
],
exitCode: 0,
outputMode: "selected",
},
],
terminalSessionsNote:
"S256 terminal özeti iki copy-returning task-exit identity snapshot'ını ve guard'ın tüm teardown/mutasyon/context-switch işinden önce düşmesini doğrular; 91 unrouted site nedeniyle whole-scheduler exclusion provider authority/proof/admission değildir.",
limitations: [
"S256 yalnız 2 ek copy-returning read-only snapshot ile toplam 20/111 coverage'tır; 91 scheduler erişimi unrouted kalır.",
"Reader membership kopyadan sonra explicit düşer; IPC teardown, scheduler mutasyonu, ASID retirement veya context switch reader canlıyken başlamaz ve scheduler referansı guard dışına çıkmaz.",
"Production exclusive acquisition wrapper'ı coverage tamamlanmadan yayımlanmadı; provider authority, exclusion proof, lease veya S244 admission yoktur.",
"Exact S245 request yalnız read-only view ile incelenir, alınmaz ve pending kalır; S243/S236 production girişi veya SGI yoktur.",
"QEMU RPi5 whole-scheduler provider yolunu doğrulamaz; fiziksel RPi, CPU2/CPU3, hotplug, soak ve Generic SMP açıktır.",
"S256 fiziksel/device operasyonu yapmadı; RUNBOOK_EXECUTED_IN_S256=NO.",
],
},snippet sha256: c7a2d90f1f36…file sha256: 9726dbf00f84…
Focused test komutu
cargo test --quiet -p aselsan_microkernel_simulation --test g8l_target_dispatch_scheduler_owner_scheduler_mutation_production_migration_lifecycle_s255_task_exit_identity_read_access_guard_expansion -- --test-threads=1proof: docs/M8.1-RPi5-G8l-S256-Task-Exit-Identity-Read-Access-Guard-Expansion-Proof.md
Registry schema v5 · generator
website/scripts/generate-code-gates.mjs · Tam SHA-256: 3050638b71a684d8f8f947a8a6faa237a17fa8db5dc0db04fb207b668b462af9