Skip to content

ci: verify Windows contract checkout - #31

Merged
AlexStocks merged 3 commits into
codex/wp0-workflow-hardeningfrom
codex/wp0-windows-contract
Aug 29, 2026
Merged

ci: verify Windows contract checkout#31
AlexStocks merged 3 commits into
codex/wp0-workflow-hardeningfrom
codex/wp0-windows-contract

Conversation

@AlexStocks

@AlexStocks AlexStocks commented Aug 28, 2026

Copy link
Copy Markdown
Collaborator

Summary - add .gitattributes that 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-only windows-contract job 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's core.autocrlf could rewrite hashed JSON fixtures or generated contracts. A native fresh Git clone with core.autocrlf=true was created from the exact submitted tree. The fixture hashes matched, authority-rows.json reported eol: 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 with core.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 --check Exact 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.

AlexStocks and others added 2 commits August 29, 2026 11:10
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>
@AlexStocks
AlexStocks merged commit be1837d into codex/wp0-workflow-hardening Aug 29, 2026
28 checks passed
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