chore: add the documented pre-commit hook configuration #6

Open
opened 2026-10-10 16:58:35 +00:00 by KofTwentyTwo · 2 comments
KofTwentyTwo commented 2026-10-10 16:58:35 +00:00 (Migrated from github.com)

Problem

Both AppKit and starter CONTRIBUTING instructions run pre-commit install, but neither includes .pre-commit-config.yaml.

Acceptance criteria

Adopt SHA-pinned shared hooks; verify both hook installations and applicable local checks; ensure generated apps include the configuration and documentation is executable.

Scope

AppKit and windows-app-template.

This issue is part of the user-requested AppKit readiness remediation. Local work is not completion until the applicable published/runtime state and checks are verified. Substantial AI assistance: Codex.

## Problem Both AppKit and starter CONTRIBUTING instructions run pre-commit install, but neither includes .pre-commit-config.yaml. ## Acceptance criteria Adopt SHA-pinned shared hooks; verify both hook installations and applicable local checks; ensure generated apps include the configuration and documentation is executable. ## Scope AppKit and windows-app-template. This issue is part of the user-requested AppKit readiness remediation. Local work is not completion until the applicable published/runtime state and checks are verified. Substantial AI assistance: Codex.
KofTwentyTwo commented 2026-10-10 17:12:30 +00:00 (Migrated from github.com)

Added the shared SHA-pinned pre-commit configuration in AppKit and windows-app-template. Both documented hook installations now succeed. Initial hook runs normalized existing line endings/JSON file terminators. AppKit all-file hooks pass; starter rerun is being verified. Publication and generated-template inclusion verification remain.

Added the shared SHA-pinned pre-commit configuration in AppKit and windows-app-template. Both documented hook installations now succeed. Initial hook runs normalized existing line endings/JSON file terminators. AppKit all-file hooks pass; starter rerun is being verified. Publication and generated-template inclusion verification remain.
KofTwentyTwo commented 2026-10-10 17:52:21 +00:00 (Migrated from github.com)

Pinned pre-commit and commit-msg hooks are now committed in AppKit 36886cbaae8810bf9c9a3c85867a2cee51d0ba3d and windows-app-template a5cbc98cd72e7223a0f61c5c4a237afc0de60efe.

Hooks ran successfully for every new commit, including secrets, workflow lint/security, file hygiene, Conventional Commit titles and DCO sign-off. The starter package carries the configuration into both generated variants. The template build lock needed one EOF/LF normalization; the repeated commit checks passed.

Remaining: publish the changes and retain fresh-clone onboarding evidence. Commits are local, SSH-signed and signed off. AI assistance: Codex (GPT-6).

Pinned pre-commit and commit-msg hooks are now committed in AppKit `36886cbaae8810bf9c9a3c85867a2cee51d0ba3d` and windows-app-template `a5cbc98cd72e7223a0f61c5c4a237afc0de60efe`. Hooks ran successfully for every new commit, including secrets, workflow lint/security, file hygiene, Conventional Commit titles and DCO sign-off. The starter package carries the configuration into both generated variants. The template build lock needed one EOF/LF normalization; the repeated commit checks passed. Remaining: publish the changes and retain fresh-clone onboarding evidence. Commits are local, SSH-signed and signed off. AI assistance: Codex (GPT-6).
Sign in to join this conversation.