Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions .envrc
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
# SPDX-License-Identifier: MPL-2.0
# shellcheck shell=bash
# Activate development environment
# Install direnv: https://direnv.net/

Expand Down
8 changes: 4 additions & 4 deletions .machine_readable/scripts/maintenance/maint-assault.sh
Original file line number Diff line number Diff line change
Expand Up @@ -31,10 +31,10 @@ fi
echo "Initiating full assault on $BINARY_NAME..."
mkdir -p "$(dirname "$REPORT_PATH")"

"$PA_BIN" assault "target/release/$BINARY_NAME"
--source .
--intensity medium
--duration 10
"$PA_BIN" assault "target/release/$BINARY_NAME" \
--source . \
--intensity medium \
--duration 10 \
--output "$REPORT_PATH"

echo ""
Expand Down
21 changes: 13 additions & 8 deletions .pre-commit-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -11,26 +11,31 @@ repos:
- id: trailing-whitespace
- id: end-of-file-fixer
- id: check-yaml
# devcontainer.json is JSONC by specification, not strict JSON.
# Separate JSONC-aware validation is required for this path.
- id: check-json
exclude: '^\.devcontainer/devcontainer\.json$'
- id: check-toml
- id: check-merge-conflict
- id: detect-private-key
- id: check-added-large-files
args: ['--maxkb=1024']

# --- A2ML manifest validation ---
- repo: https://github.com/hyperpolymath/a2ml-pre-commit
rev: main
# Use the checked-in validators also run by the Dogfood Gate.
- repo: local
hooks:
- id: validate-a2ml
name: Validate A2ML manifests

# --- K9 contract validation ---
- repo: https://github.com/hyperpolymath/k9-pre-commit
rev: main
hooks:
entry: bash .githooks/validate-a2ml.sh
language: system
pass_filenames: false
files: '\.a2ml$'
- id: validate-k9
name: Validate K9 contracts
entry: bash .githooks/validate-k9.sh
language: system
pass_filenames: false
files: '\.k9(\.ncl)?$'

# --- Shell linting ---
- repo: https://github.com/shellcheck-py/shellcheck-py
Expand Down
Loading