Extracted 52 files from Timmy_Foundation/hermes-agent (gitea/main) into hermes-sovereign/ directory to restore clean upstream tracking. Layout: docs/ 19 files — deploy guides, performance reports, security docs, research security/ 5 files — audit workflows, PR checklists, validation scripts wizard-bootstrap/ 7 files — wizard environment, dependency checking, auditing notebooks/ 2 files — Jupyter health monitoring notebooks scripts/ 5 files — forge health, smoke tests, syntax guard, deploy validation ci/ 2 files — Gitea CI workflow definitions githooks/ 3 files — pre-commit hooks and config devkit/ 8 files — developer toolkit (Gitea client, health, notebook runner) README.md 1 file — directory overview Addresses: #337, #338
16 lines
308 B
Bash
16 lines
308 B
Bash
#!/bin/bash
|
|
#
|
|
# Pre-commit hook wrapper for secret leak detection.
|
|
#
|
|
# Installation:
|
|
# git config core.hooksPath .githooks
|
|
#
|
|
# To bypass temporarily:
|
|
# git commit --no-verify
|
|
#
|
|
|
|
set -euo pipefail
|
|
|
|
SCRIPT_DIR="$(cd "$(dirname "${BASH_SOURCE[0]}")" && pwd)"
|
|
exec python3 "${SCRIPT_DIR}/pre-commit.py" "$@"
|