- Updated API documentation for risk endpoints to include optional caching headers and error catalog references. - Added a new error catalog JSON file to standardize error responses. - Improved explainability documentation with sample outputs for console and CLI. - Added SHA256 checksums for new sample files related to explainability. - Refined AocGuard tests to utilize a helper method for generating test JSON, improving readability and maintainability. - Updated runbook references to ensure consistency in sprint documentation. - Introduced stub implementations for MongoDB storage interfaces and options, laying groundwork for future development. - Disabled analytics in Angular CLI configuration for privacy considerations.
27 lines
1.1 KiB
Bash
27 lines
1.1 KiB
Bash
#!/usr/bin/env bash
|
|
set -euo pipefail
|
|
|
|
# Helper to stage and commit the prep/doc updates once disk/PTY issues are resolved.
|
|
# Usage: ./scripts/commit-prep-artifacts.sh "Your commit message"
|
|
|
|
root="$(cd "$(dirname "${BASH_SOURCE[0]}")/.." && pwd)"
|
|
cd "$root"
|
|
|
|
git add \
|
|
docs/modules/policy/prep/2025-11-20-policy-airgap-prep.md \
|
|
docs/modules/policy/prep/2025-11-20-policy-aoc-prep.md \
|
|
docs/modules/policy/prep/2025-11-20-policy-attest-prep.md \
|
|
docs/modules/policy/prep/2025-11-21-policy-metrics-29-004-prep.md \
|
|
docs/modules/policy/prep/2025-11-21-policy-path-scope-29-002-prep.md \
|
|
docs/modules/scanner/prep/2025-11-21-scanner-records-prep.md \
|
|
docs/samples/prep/2025-11-20-lnm-22-001-prep.md \
|
|
docs/implplan/SPRINT_0123_0001_0001_policy_reasoning.md \
|
|
docs/implplan/SPRINT_0123_0000_0001_policy_reasoning.md \
|
|
docs/implplan/SPRINT_0125_0001_0001_policy_reasoning.md \
|
|
docs/implplan/SPRINT_0131_0001_0001_scanner_surface.md
|
|
|
|
git status --short
|
|
|
|
msg="${1:-Start prep on policy path/scope, metrics/logging, and scanner record payloads}"
|
|
git commit -m "$msg"
|