S288 · SOURCE-BOUND GATE EVIDENCE
G8l: endpoint-holder purge writer-authority audit
Operations --test hedefi → test hedefiyle aynı adlı uygulama/model modülü → kaynak kesiti Bu sayfa yalnız S288 kapısına aittir; komşu kapıların kaynakları bu kabulün içine katılmaz.
S288Focused kod testiOperations id exactsource SHA exacttest target exact
operation: g8l-s288-endpoint-holder-purge-writer-authority-audit-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 öğesiL21–L89
kernel/src/g8l_target_dispatch_scheduler_owner_scheduler_mutation_production_migration_lifecycle_s288_endpoint_holder_purge_writer_authority_audit.rs::S288_WHOLE_SCHEDULER_GUARDED_SITES
pub const S288_WRITER_BOUNDARY_SITES: usize = 1;
pub const S288_WRITER_AUTHORITY_SITES: usize = 0;
pub const S288_DIRECT_SCHEDULER_ACCESS_SITES: usize = S287_DIRECT_SCHEDULER_ACCESS_SITES;
pub const S288_IMMUTABLE_READ_SITES: usize = S287_IMMUTABLE_READ_SITES;
pub const S288_WHOLE_SCHEDULER_GUARDED_SITES: usize = S287_WHOLE_SCHEDULER_GUARDED_SITES;
pub const S288_WHOLE_SCHEDULER_UNROUTED_SITES: usize = S287_WHOLE_SCHEDULER_UNROUTED_SITES;
pub const S288_OPEN_WRITER_SITES: usize = S287_OPEN_WRITER_SITES;
#[derive(Clone, Copy, Debug, PartialEq, Eq)]
pub enum G8lS288SchedulerWriterAuthorityAuditOutcome {
Idle,
AwaitingWriterAuthority {
request_id: u64,
guarded_sites: usize,
writer_sites: usize,
},
}
#[derive(Clone, Copy, Debug, PartialEq, Eq)]
pub enum G8lS288SchedulerWriterAuthorityAuditError {
S287(G8lS287SchedulerWriterAuthorityAuditError),
S245(G8lS245ExclusionAdmissionRequestError),
PriorCoverageDrift {
guarded_sites: usize,
unrouted_sites: usize,
},
}
/// Revalidate the prior fail-closed authority boundary without taking
/// admission or constructing a production exclusive wrapper.
pub fn preflight_s288_scheduler_writer_authority(
caller_cpu: usize,
request: Option<G8lS245WholeSchedulerExclusionAdmissionRequestView>,
) -> Result<G8lS288SchedulerWriterAuthorityAuditOutcome, G8lS288SchedulerWriterAuthorityAuditError>
{
match preflight_s287_scheduler_writer_authority(caller_cpu, request)
.map_err(G8lS288SchedulerWriterAuthorityAuditError::S287)?
{
G8lS287SchedulerWriterAuthorityAuditOutcome::Idle => {
Ok(G8lS288SchedulerWriterAuthorityAuditOutcome::Idle)
}
G8lS287SchedulerWriterAuthorityAuditOutcome::AwaitingWriterAuthority {
request_id,
guarded_sites,
writer_sites,
} if guarded_sites == S288_WHOLE_SCHEDULER_GUARDED_SITES
&& writer_sites == S288_OPEN_WRITER_SITES =>
{
Ok(
G8lS288SchedulerWriterAuthorityAuditOutcome::AwaitingWriterAuthority {
request_id,
guarded_sites,
writer_sites,
},
)
}
G8lS287SchedulerWriterAuthorityAuditOutcome::AwaitingWriterAuthority {
guarded_sites,
writer_sites: _,
..
} => Err(
G8lS288SchedulerWriterAuthorityAuditError::PriorCoverageDrift {
guarded_sites,
unrouted_sites: S288_DIRECT_SCHEDULER_ACCESS_SITES - guarded_sites,
},
),
}
}snippet sha256: 5e0cc78693a1…file sha256: 76790a40a73d…
02 · Doğrulayan test kodu
Operations komutuna bağlı focused test
tam Rust öğesiL31–L41
simulation/tests/g8l_target_dispatch_scheduler_owner_scheduler_mutation_production_migration_lifecycle_s288_endpoint_holder_purge_writer_authority_audit.rs::s288_keeps_endpoint_holder_purge_writer_open_until_exclusive_authority_exists
#[test]
fn s288_keeps_endpoint_holder_purge_writer_open_until_exclusive_authority_exists() {
assert_eq!(S288_WRITER_BOUNDARY_SITES, 1);
assert_eq!(S288_WRITER_AUTHORITY_SITES, 0);
assert_eq!(S288_DIRECT_SCHEDULER_ACCESS_SITES, 113);
assert_eq!(S288_IMMUTABLE_READ_SITES, 44);
assert_eq!(S288_WHOLE_SCHEDULER_GUARDED_SITES, 44);
assert_eq!(S288_WHOLE_SCHEDULER_UNROUTED_SITES, 69);
assert_eq!(S288_OPEN_WRITER_SITES, 69);
}snippet sha256: 9f94bad6061f…file sha256: ebc0e7361885…
03 · Kapı kimlik kaydı
Operations sıra, kimlik ve başlık bağı
tam Operations kaydıL16969–L17025
website/src/lib/operations.ts::g8l-s288-endpoint-holder-purge-writer-authority-audit-partial
{
id: "g8l-s288-endpoint-holder-purge-writer-authority-audit-partial",
date: "2026-08-26",
sequence: 288,
status: "passed",
umbrella_status: "partial",
title: "G8l: endpoint-holder purge writer-authority audit",
summary:
"S288 focused 15/15 PASS ile teardown_endpoint_object_under_ipc_transaction helper'ındaki ilk explicit scheduler writer erişimini, exact endpoint-holder purge sınırını kaynakta doğrular. Writer authority yalnız model gate'inin exclusive lease'iyle mümkündür; reader lease'i writer'ı açmaz. Production inventory 113 direct / 44 immutable guarded / 69 open writer'dır; helper'ın iki wake writer'ı ayrıca açık kalır ve production exclusive wrapper, provider authority, whole-scheduler exclusion veya scheduler mutation üretilmez.",
evidence: [
"S288 focused kaynak/model kapısı iki bağımsız koşuda 15/15 PASS verdi: 130 B / SHA-256 0447f2fe9dc6fdf30815a6962cf23d978425e51bef2acde1efb27e5da13a78b3.",
"teardown_endpoint_object_under_ipc_transaction içindeki üç addr_of_mut!(crate::task::scheduler::SCHEDULER) writer'dan yalnız purge_endpoint_holders_exact sınırı audit edilir. Immutable holder preflight, endpoint registry removal linearization, exact owner equality, tek holder purge, exact preflight equality ve provenance revoke sırası kaynakta görünür; takip eden iki wake_tasks_on_revoked_endpoint writer'ı ayrıca açık kalır.",
"Model gate reader membership exclusive writer authority'yi ExclusiveBusy ile bloklar; reader bırakıldıktan sonra non-zero token'lı exclusive lease alınır. Bu host/model evidence'tır.",
"S287 authority preflight yeniden doğrulanır; pending S245 request korunur ve sonuç AwaitingWriterAuthority { guarded_sites: 44, writer_sites: 69 } olarak döner.",
"Dört AArch64 profil derlemesi iki koşuda byte-equal exit 0 verdi: QEMU 110646 B / 96692bca, RPi4 149371 B / df3e2018, RPi5 390056 B / 6c533459 ve RPi5+SMP 389998 B / f6ec6ac3. Warning header'ları sırasıyla 291, 389, 785 ve 785'tir; zero-warning iddiası değildir.",
"Birleşik board-rpi5,board-qemu özellikleri iki koşuda beklenen exit 101, 18590 B / ad3ca52d, 17 error ve 22 warning header ile fail-closed kaldı; S288 writer boundary'si iki board profilinin birlikte etkinleşmesini açmaz.",
"S238–S288 dependency matrisi iki koşuda 52 grup / 704/704 PASS; ham loglar 6682 B / 0f1a61fa ve b603d9b9, süre-normalize özet 6786 B byte-equal / 941aa9016717001dc9ee58d4ec73cd7e0df924c9c6f90dc28e4587076ce1821b. Bu production writer-authority invocation kanıtı değildir.",
"Ortak make verify-qemu iki koşuda PASS verdi: 116222 B / caecacc8 ve 116139 B / fca5c610; W^X 31/31, S271 GRAPH_ABSENT=YES, RuntimePmm baseline, EL0 x4096, IPC 20/20, tek beklenen S142 fatal containment ve SEC5 korunur. Bu ortak smoke S288 production writer invocation kanıtı değildir.",
"Exact yedi tarihsel G8h assertion adlarıyla dışlandığında workspace iki koşuda 250 sonuç grubu / 2482 PASS / 7 filtered verdi: ham loglar 59961 B, süre-normalize 24131 B özet byte-equal / SHA-256 6299ec1d5ce31b6df610d581a953c2059452856e75fb056a2737109b0c34342e. Filtresiz koşu exit 101, 55183 B / 31088b75 ile frozen S96 exceptions.S identity kapısında RED kaldı; full-workspace GREEN iddia edilmez.",
"S288 production exclusive wrapper, provider authority, whole-scheduler exclusion, QEMU runtime fixture veya scheduler mutation iddiası eklemez; physical/device operations=0 ve RUNBOOK_EXECUTED_IN_S288=NO.",
],
commands: [
"cargo test --quiet -p aselsan_microkernel_simulation --test g8l_target_dispatch_scheduler_owner_scheduler_mutation_production_migration_lifecycle_s288_endpoint_holder_purge_writer_authority_audit -- --test-threads=1",
"cargo check --quiet -p aselsan_kernel --target aarch64-unknown-none --no-default-features --features board-qemu",
"cargo check --quiet -p aselsan_kernel --target aarch64-unknown-none --no-default-features --features board-rpi4",
"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 check --quiet -p aselsan_kernel --target aarch64-unknown-none --no-default-features --features board-rpi5,board-qemu",
"make verify-qemu",
],
terminalSessions: [
{
id: "g8l-s288-endpoint-holder-purge-writer-authority-audit",
title: "G8l S288 endpoint-holder purge writer-authority audit",
commandLines: [
"cargo test --quiet -p aselsan_microkernel_simulation --test g8l_target_dispatch_scheduler_owner_scheduler_mutation_production_migration_lifecycle_s288_endpoint_holder_purge_writer_authority_audit -- --test-threads=1",
],
outputLines: [
"test result: ok; S288 focused 1 group / 15 passed; 0 failed",
"repeat-stable quiet output: 130 B / 0447f2fe9dc6fdf30815a6962cf23d978425e51bef2acde1efb27e5da13a78b3",
"endpoint-holder purge writer authority remains model-only: reader blocks exclusive lease; two helper wake writers and 69 production writer sites remain open",
"dependency: S238–S288 · 52 groups · 704/704 PASS; workspace: 250 groups · 2482 PASS · 7 historical filtered",
],
exitCode: 0,
outputMode: "selected",
},
],
terminalSessionsNote:
"S288 kaynak/model fail-closed authority boundary'sidir; production writer guard, helper wake-writer migration, QEMU fixture mutation ve fiziksel/device execution claim edilmez.",
limitations: [
"S288 yalnız teardown_endpoint_object_under_ipc_transaction içindeki endpoint-holder purge writer sınırını audit eder; helper'ın iki wake writer'ı ve toplam 69 production writer site açık kalır.",
"Exclusive lease yalnız host/model gate'inde test edilir; production exclusive wrapper, provider authority ve whole-scheduler exclusion açık kalır.",
"S238–S288 dependency matrisi exact 52 grup / 704/704 PASS'tir; bu production writer authority invocation kanıtı değildir.",
"Filtresiz workspace frozen S96 identity kapısında RED'dir; workspace umbrella GREEN iddia edilmez.",
"Supported-profile runtime invocation, Generic SMP ve fiziksel RPi kabulü açık kalır; S288 physical/device operations=0 ve RUNBOOK_EXECUTED_IN_S288=NO.",
],
},snippet sha256: 313bde11e42a…file sha256: 9726dbf00f84…
Focused test komutu
cargo test --quiet -p aselsan_microkernel_simulation --test g8l_target_dispatch_scheduler_owner_scheduler_mutation_production_migration_lifecycle_s288_endpoint_holder_purge_writer_authority_audit -- --test-threads=1proof: docs/M8.1-RPi5-G8l-S288-Endpoint-Holder-Purge-Writer-Authority-Audit-Proof.md
Registry schema v5 · generator
website/scripts/generate-code-gates.mjs · Tam SHA-256: 91d38c7b6222f0b4c117be786454853543da55a160e543d9b951057cc20dcc06