S279 · SOURCE-BOUND GATE EVIDENCE
G8l: current capability-insert writer-authority audit
Operations --test hedefi → test hedefiyle aynı adlı uygulama/model modülü → kaynak kesiti Bu sayfa yalnız S279 kapısına aittir; komşu kapıların kaynakları bu kabulün içine katılmaz.
S279Focused kod testiOperations id exactsource SHA exacttest target exact
operation: g8l-s279-current-capability-insert-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_s279_current_capability_insert_writer_authority_audit.rs::S279_WHOLE_SCHEDULER_GUARDED_SITES
pub const S279_WRITER_BOUNDARY_SITES: usize = 1;
pub const S279_WRITER_AUTHORITY_SITES: usize = 0;
pub const S279_DIRECT_SCHEDULER_ACCESS_SITES: usize = S278_DIRECT_SCHEDULER_ACCESS_SITES;
pub const S279_IMMUTABLE_READ_SITES: usize = S278_IMMUTABLE_READ_SITES;
pub const S279_WHOLE_SCHEDULER_GUARDED_SITES: usize = S278_WHOLE_SCHEDULER_GUARDED_SITES;
pub const S279_WHOLE_SCHEDULER_UNROUTED_SITES: usize = S278_WHOLE_SCHEDULER_UNROUTED_SITES;
pub const S279_OPEN_WRITER_SITES: usize = S278_OPEN_WRITER_SITES;
#[derive(Clone, Copy, Debug, PartialEq, Eq)]
pub enum G8lS279SchedulerWriterAuthorityAuditOutcome {
Idle,
AwaitingWriterAuthority {
request_id: u64,
guarded_sites: usize,
writer_sites: usize,
},
}
#[derive(Clone, Copy, Debug, PartialEq, Eq)]
pub enum G8lS279SchedulerWriterAuthorityAuditError {
S278(G8lS278SchedulerWriterAuthorityAuditError),
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_s279_scheduler_writer_authority(
caller_cpu: usize,
request: Option<G8lS245WholeSchedulerExclusionAdmissionRequestView>,
) -> Result<G8lS279SchedulerWriterAuthorityAuditOutcome, G8lS279SchedulerWriterAuthorityAuditError>
{
match preflight_s278_scheduler_writer_authority(caller_cpu, request)
.map_err(G8lS279SchedulerWriterAuthorityAuditError::S278)?
{
G8lS278SchedulerWriterAuthorityAuditOutcome::Idle => {
Ok(G8lS279SchedulerWriterAuthorityAuditOutcome::Idle)
}
G8lS278SchedulerWriterAuthorityAuditOutcome::AwaitingWriterAuthority {
request_id,
guarded_sites,
writer_sites,
} if guarded_sites == S279_WHOLE_SCHEDULER_GUARDED_SITES
&& writer_sites == S279_OPEN_WRITER_SITES =>
{
Ok(
G8lS279SchedulerWriterAuthorityAuditOutcome::AwaitingWriterAuthority {
request_id,
guarded_sites,
writer_sites,
},
)
}
G8lS278SchedulerWriterAuthorityAuditOutcome::AwaitingWriterAuthority {
guarded_sites,
writer_sites: _,
..
} => Err(
G8lS279SchedulerWriterAuthorityAuditError::PriorCoverageDrift {
guarded_sites,
unrouted_sites: S279_DIRECT_SCHEDULER_ACCESS_SITES - guarded_sites,
},
),
}
}snippet sha256: 32e527ffb7e4…file sha256: f2911f11c1e3…
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_s279_current_capability_insert_writer_authority_audit.rs::s279_keeps_current_capability_insert_writer_open_until_exclusive_authority_exists
#[test]
fn s279_keeps_current_capability_insert_writer_open_until_exclusive_authority_exists() {
assert_eq!(S279_WRITER_BOUNDARY_SITES, 1);
assert_eq!(S279_WRITER_AUTHORITY_SITES, 0);
assert_eq!(S279_DIRECT_SCHEDULER_ACCESS_SITES, 113);
assert_eq!(S279_IMMUTABLE_READ_SITES, 44);
assert_eq!(S279_WHOLE_SCHEDULER_GUARDED_SITES, 44);
assert_eq!(S279_WHOLE_SCHEDULER_UNROUTED_SITES, 69);
assert_eq!(S279_OPEN_WRITER_SITES, 69);
}snippet sha256: 882d446b177a…file sha256: aea16dfea8e6…
03 · Kapı kimlik kaydı
Operations sıra, kimlik ve başlık bağı
tam Operations kaydıL17484–L17536
website/src/lib/operations.ts::g8l-s279-current-capability-insert-writer-authority-audit-partial
{
id: "g8l-s279-current-capability-insert-writer-authority-audit-partial",
date: "2026-08-26",
sequence: 279,
status: "passed",
umbrella_status: "partial",
title: "G8l: current capability-insert writer-authority audit",
summary:
"S279 focused 15/15 PASS ile current-task capability-insert akışındaki insert_cap_to_current explicit scheduler writer 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. Whitespace/format bağımsız production inventory 113 direct / 44 immutable guarded / 69 open writer'dır; production exclusive wrapper, provider authority, whole-scheduler exclusion ve scheduler mutation üretilmez.",
evidence: [
"S279 focused kaynak/model kapısı iki bağımsız koşuda 15/15 PASS verdi: 130 B / SHA-256 0447f2fe9dc6fdf30815a6962cf23d978425e51bef2acde1efb27e5da13a78b3.",
"insert_cap_to_current içindeki tek addr_of_mut!(SCHEDULER) writer boundary'si ve current task CNode Capability forwarding'i kaynakta görünür; writer authority site sayısı 0, açık writer sayısı 69'dur.",
"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.",
"S278 authority preflight yeniden doğrulanır; pending S245 request korunur ve sonuç AwaitingWriterAuthority { guarded_sites: 44, writer_sites: 69 } olarak döner.",
"Üç AArch64 profil derlemesi iki koşuda byte-equal exit 0 verdi; log SHA-256 değerleri QEMU f8d676a4, RPi5 bb633183 ve RPi5+SMP e83742b7'dir. Warning header'ları 291, 740 ve 740'tır; bu zero-warning iddiası değildir. Birleşik board özellikleri iki koşuda beklenen exit 101 ile fail-closed kaldı.",
"S238–S279 dependency matrisi iki koşuda 43 grup / 569/569 PASS; süre-normalize 5598 B özet byte-equal / SHA-256 72da29b4a0e8e121109144c78a43a71ed8963742851768947281c0503d1f4e66.",
"Yedi frozen tarihsel G8h assertion'ını ayıran workspace iki koşuda 241 grup / 2338 PASS / 7 filtered; normalize 23258 B özet byte-equal / SHA-256 d3760c57bee6bea378b1bbf57c480a0d323955d859929e77f2756857b70696bb. Filtresiz koşu frozen S96 identity kapısında exit 101 kaldı; tam-workspace GREEN iddia edilmez.",
"Ortak make verify-qemu iki koşuda PASS verdi; W^X 31/31, RuntimePmm baseline, EL0 x4096, IPC 20/20 ve SEC5 korunur. Bu ortak smoke S279 production writer invocation kanıtı değildir.",
"S279 production exclusive wrapper, provider authority, whole-scheduler exclusion, QEMU runtime fixture veya scheduler mutation iddiası eklemez; physical/device operations=0 ve RUNBOOK_EXECUTED_IN_S279=NO.",
],
commands: [
"cargo test --quiet -p aselsan_microkernel_simulation --test g8l_target_dispatch_scheduler_owner_scheduler_mutation_production_migration_lifecycle_s279_current_capability_insert_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-rpi5",
"cargo check --quiet -p aselsan_kernel --target aarch64-unknown-none --no-default-features --features board-rpi5,smp",
"make verify-qemu",
],
terminalSessions: [
{
id: "g8l-s279-current-capability-insert-writer-authority-audit",
title: "G8l S279 current capability-insert writer-authority audit",
commandLines: [
"cargo test --quiet -p aselsan_microkernel_simulation --test g8l_target_dispatch_scheduler_owner_scheduler_mutation_production_migration_lifecycle_s279_current_capability_insert_writer_authority_audit -- --test-threads=1",
],
outputLines: [
"test result: ok; S279 focused 1 group / 15 passed; 0 failed",
"repeat-stable quiet output: 130 B / 0447f2fe9dc6fdf30815a6962cf23d978425e51bef2acde1efb27e5da13a78b3",
"current-task capability-insert writer authority remains model-only: reader blocks exclusive lease; 69 production writer sites remain open",
"dependency: S238–S279 · 43 groups · 569/569 PASS; workspace: 241 groups · 2338 PASS · 7 historical filtered",
],
exitCode: 0,
outputMode: "selected",
},
],
terminalSessionsNote:
"S279 kaynak/model fail-closed authority boundary'sidir; production writer guard, QEMU fixture mutation ve fiziksel/device execution claim edilmez.",
limitations: [
"S279 yalnız insert_cap_to_current writer boundary'sini audit eder; 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–S279 dependency matrisi 43 grup / 569/569 PASS'tir; bu production writer authority kanıtı değildir.",
"Supported-profile runtime invocation, Generic SMP ve fiziksel RPi kabulü açık kalır; S279 physical/device operations=0 ve RUNBOOK_EXECUTED_IN_S279=NO.",
],
},snippet sha256: 5ea8bbd75498…file sha256: 9726dbf00f84…
Focused test komutu
cargo test --quiet -p aselsan_microkernel_simulation --test g8l_target_dispatch_scheduler_owner_scheduler_mutation_production_migration_lifecycle_s279_current_capability_insert_writer_authority_audit -- --test-threads=1proof: docs/M8.1-RPi5-G8l-S279-Current-Capability-Insert-Writer-Authority-Audit-Proof.md
Registry schema v5 · generator
website/scripts/generate-code-gates.mjs · Tam SHA-256: 3050638b71a684d8f8f947a8a6faa237a17fa8db5dc0db04fb207b668b462af9