Skip to content

docs: summarise generated pipeline workflow and hook files - #1012

Merged
hyperpolymath merged 1 commit into
mainfrom
docs/pipeline-hooks-summary
Sep 22, 2026
Merged

hyperpolymath merged 1 commit into
mainfrom
docs/pipeline-hooks-summary

Conversation

@hyperpolymath

Copy link
Copy Markdown
Owner

What

Adds docs/PIPELINE-AND-HOOKS-SUMMARY.adoc — the closing deliverable of the
zero-cost quality / security / coverage / mirroring pipeline brief, which asked
for "a concise summary of all generated workflow and hook files". It had never
been produced.

One document, no code changes, no workflow changes.

What it covers

Part Content
1 .githooks/ — all 18 files, the four entry-point hooks and the ten validators each invokes, which two are required at commit (validate-gitleaks.sh, validate-lint-format.sh) and which eight are advisory
2 ci-pipeline.yml — its ten jobs mapped onto the brief's four, plus the mirroring workflows
3 The brief's safety rules, recorded as implemented rather than as intended

It includes the local setup line the brief mandates verbatim:

git config core.hooksPath .githooks

Two limitations it states rather than smooths over

Job 3's coverage table cannot satisfy a code_coverage ruleset rule. The
brief required no external coverage service, so report appends a Markdown
table to $GITHUB_STEP_SUMMARY and uploads nothing to GitHub. A code_coverage
rule demanding e.g. minimum_coverage: 95 against these repos is therefore
unreachable by design — the mirror image of a vacuous gate: a gate that can
never say yes. This is why code_coverage is one of the four retired rule
types, and the document says so at the point where a reader would otherwise
assume the number was merely not yet met.

Hook enablement is per clone. core.hooksPath is local configuration; a
fresh clone has no hooks until the command above is run. CI is the only
enforcement that cannot be skipped by forgetting a setup step.

It also records why a green mirror run is not evidence mirroring authenticated:
a secret that does not exist resolves to the empty string silently.

Format

AsciiDoc, per ADR-004 (canonical estate-wide — 1072 .adoc vs 135 .md in
tree), with the estate's two SPDX header lines. The brief's Markdown rendering
is delivered to the owner separately; committing a .md under docs/ would
have contradicted the repo's own documentation-format gate.

Verification

  • docs/ is .adoc-only in tree; header matches docs/CICD-SIGNAL-DISCIPLINE.adoc
  • Every hook, validator and job named was read from origin/main, not recalled
  • Commit signed (ED25519, Good "git" signature)

🤖 Generated with Claude Code

https://claude.ai/code/session_01Ji1bq3TypfycfUPAR7hSxR

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 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01Ji1bq3TypfycfUPAR7hSxR
@coderabbitai

coderabbitai Bot commented Sep 22, 2026

Copy link
Copy Markdown
Contributor

Warning

Review limit reached

Next included review available in 15 minutes.

Check out review usage here.

View limit details

Limit details: You’ve used the included review currently available.

You've used all free OSS reviews for now. Wait for the free limit to reset to keep reviewing this public repository.

Learn how review limits work.

Review configuration:

⚙️ Run configuration

Configuration used: Organization UI

Review profile: ASSERTIVE

Plan: Advanced

Run ID: a5ff6346-00d2-4aaa-97e0-f5eca54231c6

📥 Commits

Reviewing files that changed from the base of the PR and between faed4dd and 5fc0d49.

📒 Files selected for processing (1)
  • docs/PIPELINE-AND-HOOKS-SUMMARY.adoc

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

❤️ Share

Comment @coderabbitai help to get the list of available commands.

@sonarqubecloud

Copy link
Copy Markdown

@hyperpolymath
hyperpolymath merged commit 991b13e into main Sep 22, 2026
45 checks passed
@hyperpolymath
hyperpolymath deleted the docs/pipeline-hooks-summary branch September 22, 2026 21:40
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