ci: verify Windows contract checkout - #31
Merged
AlexStocks merged 3 commits intoAug 29, 2026
Merged
Conversation
AlexStocks
force-pushed
the
codex/wp0-windows-contract
branch
from
August 28, 2026 09:38
b06094a to
c69c5f9
Compare
Combine the target branch CodeQL, compatibility, coverage, governance, and issue-contract updates with the pull request LF checkout guard while preserving both rule sets. Constraint: PR #31 must target the current codex/wp0-workflow-hardening head without rebasing or force-pushing. Tested: targeted tools/release workflow tests; make governance-check; actionlint; git diff --cached --check. Confidence: high Scope-risk: moderate Co-authored-by: OmX <omx@oh-my-codex.dev>
8 tasks
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 - add
.gitattributesthat enforces LF checkout for supported source, generated-contract, fixture, and documentation text formats while retaining database and media fixtures as binary - add a Windows 2025 checkout-onlywindows-contractjob with no binary-support claim - verify LF attributes, all six frozen Python v0.0.2 fixture SHA-256 values, and generated-contract/worktree cleanliness on Windows - register the workflow in the release workflow topology contract and CI documentation ## Rationale WP0-B in #3 requires a lightweight Windows checkout boundary that catches CRLF drift without treating Windows as a supported binary-release target. Before this change the repository had no.gitattributes; a contributor'score.autocrlfcould rewrite hashed JSON fixtures or generated contracts. A native fresh Git clone withcore.autocrlf=truewas created from the exact submitted tree. The fixture hashes matched,authority-rows.jsonreportedeol: lf, and the contract paths had no diff. This PR is stacked on #30 (codex/wp0-workflow-hardening). ## Behavior, API, and compatibility - no application, public API, protocol, dependency, or generated-contract behavior change - database fixtures remain binary and never receive line-ending conversion - the Windows job checks checkout bytes and contract cleanliness only; it does not build or publish a Windows binary ## Validation - native fresh Windows-style clone withcore.autocrlf=true: all frozen fixture SHA-256 values matched and contract diff was clean -make governance-check-go test ./...-make lint(0 issues) -make check-make check-generated-make license-check-go run github.com/rhysd/actionlint/cmd/actionlint@v1.7.12-git diff --cached --checkExact head validated:c69c5f9176bae51bdd5041d380a073e5599a83de. ## AI usage Implemented with Codex assistance. The workflow, Git attributes, and topology test were self-reviewed and verified with the commands above.