Skip to content

Audit PR6334 on POSIX with materialized path and alias controls - #7602

Open
FanPUYen wants to merge 1 commit into
CrocSwap:mainfrom
FanPUYen:contribution/pr6334-posix-audit
Open

FanPUYen wants to merge 1 commit into
CrocSwap:mainfrom
FanPUYen:contribution/pr6334-posix-audit

Conversation

@FanPUYen

@FanPUYen FanPUYen commented Nov 14, 2026 •

Copy link
Copy Markdown
Contributor

PR #6334 fixes a local-overlap inventory that normalizes CR/CRLF Git names to LF, but its author explicitly left POSIX execution and symlink coverage open. This independent audit closes that bounded environment gap at e579ddc0e0b4614184b869f8d20cffdcc26380a6 and supplies a self-contained differential replay.

The new package constructs real CR, LF and CRLF filenames, executable notes and symlinks. Across seven filesystem states, it runs both the pinned canonical-main helper and #6334's helper through their offline JSON CLI. In five incomplete states, main falsely reports complete coverage while #6334 lists the exact two missing paths. Real-note restoration, untracked notes, leaf/parent/dangling aliases, the result limit and unchanged cache bytes are checked. The implementation repair remains credited to josecarlosgonzalezroque-design; no shared helper or selected result is changed here.

Validation

macOS 26.5 arm64, CPython 3.12.16, Apple Git 2.50.1:

  • Predecessor's nine documented modules: 83 tests passed, zero skips; another 13 optimized-driver executions passed. All five symlink tests skipped in the original Windows run executed here.
  • Independent differential replay: 7 cases × 2 versions, in normal and optimized modes, all expected results. Every independent CLI child explicitly receives -O in optimized mode. The unchanged predecessor local-suite driver's children remain nonoptimized, as documented.
  • 5 corrupted source files and 8 forged report fields rejected, with two positive controls, in both modes.
  • Registered four-command package replay, metadata/source pins, committed-byte preflight (28 files), and git diff --check pass.
  • A committed-source export outside project Git history passes the direct optimized verifier and rejection controls. All five retained source/test files are SHA256-pinned; no cached unmerged commit or network fetch is required.
  • Replay planning selects only this package, accounting for 4,552 omitted existing manifests.

The unrelated current-main test_research_current_status.py has one reproduced failure out of six tests: CI documentation still names frontier6030 while selected metadata names frontier7000. Existing #7276 addresses that repair. This submission does not claim globally green tests or perform a scientific cold replay.

Hosted CI result

Actions run 43600296628 completed with failure at the generic onboarding stage: 760 tests, 1 failure, 24 platform skips (735 passed). The sole failure is exactly the pre-existing CurrentCiNavigationTests.test_current_ci_section_matches_selected_record mismatch reproduced above. The package-specific hosted replay was therefore not reached. This does not replace the successful local four-command registered replay and Git-history-free source export.

Scope, evidence and coordination

README and exact evidence, source origins, original test logs, machine receipts, and explicit replay hooks are included. Base: e54523517d0f03e58352e647c403a5af3e525a57, priority revision 8. The portable-replay card is retained with an explicit scope change to #6334's handoff. This is evidence for the exact pending head, not the eventual merge result; integration with later main changes remains a separate check.

Advance claim. Handoff-first and targeted PR/Discussion searches found no matching POSIX audit. The overlap helper refreshed 901 open PR bodies and 7,512 Discussion records. The final PR refresh succeeded; the final Discussion refresh failed with EOF and retained the earlier 13:20 UTC complete snapshot. Sparse local and closed-PR coverage remain limited; no exhaustive novelty claim.

Credit josecarlosgonzalezroque-design (#6334), lee-phys (#4419), Ali Romman (#5725), Nick Petalas (#6161), Douglas Colkitt and retained tool contributors. Prepared by Hao Yan (@FanPUYen) with substantial OpenAI Codex assistance and separately scoped agents for overlap review, test execution, package scaffolding and review. Apache-2.0. No theorem, supplier admission, merge, or selected-frontier change.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant