feat(core): W3-PR-B dilim-2 — Darwin execution-authority ops-v2 native impl (F_GETPATH) + platform-resolver - #68
Merged
Merged
Conversation
…DY (tren 2026-08-06-b) Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
…ipt'i (B4-SUPP emsali) Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
…PATH) + platform-resolver, çift-platform kanıt Native addon'a tek yeni primitif fdPath (Darwin fcntl F_GETPATH, diğer POSIX /proc readlink — POSIX-portable, Linux gerçek-koşuyla test edilir; dönen path CURRENT'tır, rename-sonrası pin testli). file-lock'ta darwinNativeExecutionAuthorityOpsV2: ops-v2 yüzeyinin addon-tabanlı Darwin impl'i — binding lazy+memoized (module-eval side-effect-free kontratı), yokluk typed secure-open-unsupported (D3, asla path-fallback); identityOf mountId'yi f_fsid'den alır, Linux'ta typed fail-closed (negatif pin). resolveExecutionAuthorityOpsV2(): linux→/proc twin bayt-eşdeğer, darwin→native, diğeri typed throw. Parite testi ubuntu native job'ında binding-vs-proc davranış paritesini, macos job'ında gerçek-Darwin yaşam-döngüsünü koşar. Konsumer migrasyonu + clean twin + gerçek-Mac real-binary kanıt dilim-3 (tasarım §10.1). Stats regen supp-receipt'le (test-rozet +6); hermetic baseline'lar build-free (unresolved 12481, inventory 1197 digest-only). Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
…er (dilim-3 kaldı) Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
AlbSar
added this pull request to the merge queue
Aug 5, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Özet (tren 2026-08-06-b, tek-dilim: 3347/W3-PR-B dilim-2 — Alperen direktifi 'darwin dilim-2 trenini başlat')
Darwin execution-authority adapter'ının ops-v2 implementasyonu. W2 ölçümü Darwin'de /dev/fd dizin-traversal'inin ÖLÜ olduğunu kanıtlamıştı — tek yol native openat-ailesi (D1-D3 onaylı).
fdPath(fd)— Darwinfcntl(F_GETPATH), diğer POSIX/proc/self/fdreadlink. POSIX-portable: Linux CI aynı op yüzeyini gerçek-koşuyla test eder. Dönen path CURRENT'tır (rename-sonrası pin testli).darwinNativeExecutionAuthorityOpsV2— ops-v2 yüzeyinin addon-tabanlı Darwin impl'i. Binding lazy+memoized (module-eval side-effect-free kontratı — FAZ4 ci: Bump actions/checkout from 4 to 6 #1 sınıfı korunur); yokluk typedsecure-open-unsupported(D3), asla path-fallback yok.identityOfmountId'yif_fsidçiftinden alır; Linux'ta f_fsid typed-absent → identityOf fail-closed (negatif pin testli).resolveExecutionAuthorityOpsV2()— linux→/proc twin (bayt-eşdeğer), darwin→native, diğerleri typed throw.Kanıt
Dilim-3 (bilinçli kalan — tasarım §10.1)
Konsumer migrasyonu (
pinExecutionLockDirectories+ clean.mjs twin → resolver; mkdirAt/openFileAt/fsyncFd ek primitifleri), SQLite secure-open Darwin yolu, addon'un ürün-kurulum derlenme stratejisi (macos E2E gerçek-binary clean/lock yeşili buna bağlı), gerçek-Mac kapanış kanıtı.Rejim
Receipt'ler
GR-2026-08-05-EXEC-AUTH-W3B2-01+GR-2026-08-05-W3B2-STATS-SUPP-01(mekanik stats-regen, B4-SUPP emsali) — ikisi de consumed; 3347 alt-dilim kuralıyla OPEN.🤖 Generated with Claude Code