chore: migrate legacy pre-commit hook to .pre-commit-config.yaml

Replaces shell script (.git/hooks/pre-commit.legacy) with ecosystem-managed pre-commit framework:
- gitleaks/gitleaks: secret scanning
- jumanjihouse/pre-commit-hooks: shellcheck wrapper
- pre-commit/pre-commit-hooks: JSON/YAML validation, end-of-file-fixer, trailing-whitespace
- local hooks: SKILL.md frontmatter validation

Uses pinned versions for reproducibility across environments. Includes auto-fixes from hook runs (formatting, trailing whitespace, JSON beautification).

Co-Authored-By: Claude Haiku 4.5 <[email protected]>
This commit is contained in:
Defame1297andClaude Haiku 4.5 committed 2026-06-27 18:54:37 +00:00
1 parent 3e52636da6
commit d98d0dae18
39 files changed
+1077 -235

No files matched your search

@@ -1,9 +1,9 @@
# AI Coding Factory — Implementation Guidance
**Version:** 1.2
**Date:** May 2026
**Status:** Guidance — not yet adapted to repo vision, roadmap, or ADRs
**Audience:** Human implementing the factory; Claude Code executing against it
**Version:** 1.2
**Date:** May 2026
**Status:** Guidance — not yet adapted to repo vision, roadmap, or ADRs
**Audience:** Human implementing the factory; Claude Code executing against it
**Prerequisite reading:** `ai-coding-factory-principles.md`, `ai-coding-factory-research.md`, `ai-coding-factory-skills-index.md`
> **Important:** This document is research-derived implementation guidance, not a finalised plan. It must be reconciled with the repo's actual vision and roadmap (to be established via grill-me sessions in Claude Code) before implementation begins. Where this guidance conflicts with those outputs, the grill-me session outputs win. ADRs produced in Claude Code are the authoritative implementation decisions; this document provides the evidence base and recommendations that inform them.
@@ -698,15 +698,14 @@ The intended final state: every concrete recommendation in this document either
```
/grill-me
Context: I'm building an AI coding factory — a governed, AI-assisted development environment
implemented as committed files in a repo. I have completed research and implementation
Context: I'm building an AI coding factory — a governed, AI-assisted development environment
implemented as committed files in a repo. I have completed research and implementation
guidance (loaded in context). I need to establish [session topic] before building.
Grill me until every decision is explicit. Do not let me proceed with vague answers.
Grill me until every decision is explicit. Do not let me proceed with vague answers.
Output: a structured decision record suitable for converting to an ADR.
```
---
*This is a living guidance document. Update it as grill-me sessions produce decisions. When an ADR supersedes a recommendation, mark the section with `> Superseded by ADR-NNN` and link the ADR. Version in git alongside the rest of the factory.*