From 5fc0d49450c763d91fd6e89113a4db0b003d7baf Mon Sep 17 00:00:00 2001 From: "Jonathan D.A. Jewell" <6759885+hyperpolymath@users.noreply.github.com> Date: Tue, 22 Sep 2026 22:22:26 +0100 Subject: [PATCH] docs: summarise generated pipeline workflow and hook files Closing deliverable of the zero-cost quality/security/coverage/mirroring pipeline brief: a single inventory of every generated hook and workflow file, what each actually checks, and how to enable the hooks locally. Covers .githooks/ (18 files, all 100755 -- a 100644 validator passes locally and dies in CI at exit 126), the ten jobs of ci-pipeline.yml mapped onto the brief's four, and the mirroring workflows. States two limitations rather than smoothing them over: - Job 3 appends its table to $GITHUB_STEP_SUMMARY and uploads nothing, so a code_coverage ruleset rule is unsatisfiable against this pipeline BY DESIGN -- the mirror image of a vacuous gate, a gate that can never say yes. code_coverage is one of the four retired rule types. - core.hooksPath is per-clone local config, so a fresh clone has no hooks until the setup command is run. CI is the only unskippable enforcement. Records the Part-3 safety rules as implemented: CI formatters run only in --check form, no --fix anywhere in CI, secrets referenced solely as ${{ secrets.NAME }} and never inlined into a run: body, never --no-verify. Written as AsciiDoc per ADR-004 (canonical estate-wide); the brief's Markdown rendering is delivered to the owner separately. Co-Authored-By: Claude Opus 5 Claude-Session: https://claude.ai/code/session_01Ji1bq3TypfycfUPAR7hSxR --- docs/PIPELINE-AND-HOOKS-SUMMARY.adoc | 182 +++++++++++++++++++++++++++ 1 file changed, 182 insertions(+) create mode 100644 docs/PIPELINE-AND-HOOKS-SUMMARY.adoc diff --git a/docs/PIPELINE-AND-HOOKS-SUMMARY.adoc b/docs/PIPELINE-AND-HOOKS-SUMMARY.adoc new file mode 100644 index 00000000..a2550586 --- /dev/null +++ b/docs/PIPELINE-AND-HOOKS-SUMMARY.adoc @@ -0,0 +1,182 @@ +// SPDX-License-Identifier: MPL-2.0 +// SPDX-FileCopyrightText: 2025-2026 Jonathan D.A. Jewell += Quality, Security, Coverage and Mirroring Pipeline — File Summary +:toc: macro +:toclevels: 2 + +toc::[] + +== What this is + +The closing deliverable of the zero-cost quality / security / coverage / +mirroring pipeline: a single inventory of *every generated hook and workflow +file*, what each one actually checks, and how to switch the local hooks on. + +It is a *description of what is on disk*, not a specification of what ought to +be. Where a file's behaviour differs from the original brief, the difference is +stated rather than smoothed over. + +== Part 1 — Local pre-commit hooks (`.githooks/`) + +Eighteen files, all committed mode `100755`. + +NOTE: Mode matters. A hook or validator committed `100644` passes every local +run — because `bash