fix(vendor): recover Windows portability patches - #59
Merged
Conversation
Recover the eleven validated tokscale-core commits accumulated in the Windows downstream so this repository remains the canonical source for future syncs.\n\nRelease cache file handles before Windows atomic replacement, preserve explicit-home scanner boundaries, and isolate core fixtures from inherited environment and profile state. Record the downstream provenance while keeping cache schema 29 and all parser, FFI, and public API contracts unchanged.\n\nVerification: focused and hostile-environment Rust suites, cargo test --workspace, cargo clippy --workspace --all-targets, make build, Swift selftest/smoke, knowledge check, diff check, byte-for-byte downstream fidelity, and fresh verifier confirmation.
This was referenced Jul 17, 2026
Closed
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.
Summary
tokscale-corecommits validated in the Windows downstream so TokenBar remains the canonical source for the next Windows sync.use_env_roots, and evaluate extra-path warnings against the supplied scan home.vendor/README.md.Provenance
The Windows port started from TokenBar commit
2ed256ee. This PR recovers the validated vendor sequence documented in the issue #45 handoff:e5200634->db2a96a3->15f418ee->e807f333->0979cdb0->26b892a6->6ac77c03->e91fb2c6->fbecb99c->3c8bfc52->aec5bd88The seven modified vendor source files are byte-identical to the Windows tree at
aec5bd88. The ledger is the only additional file; this is a selective recovery, not a wholesale re-vendor.Compatibility
CACHE_SCHEMA_VERSIONremains 29.Verification
cargo test --workspacecargo clippy --workspace --all-targetsmake buildswift run TokenBar --selftestswift run TokenBar --smoke(exit 0; existing live-data drift and unavailable-provider diagnostics were still emitted)make check-docsgit diff --checkCONFIRMED