Files
Agent-System-Dev/scripts/evidence.sh
weichen 8af945a1d5 Make development gates preserve work and verifiable evidence
Why: cleanup, component synchronization, receipt recording and credential handling could contradict the documented development boundaries.

Evidence: SELF 75 isolated governance tests and source checks are captured in .task/feature-governance-reliability.md; combination and CI verification follow.

Impact: hardens local task and CI tooling, aligns policy and component documentation, and adds continuous regression tests without changing product behavior.

Refs: .task/feature-governance-reliability.md; policy/governance.md; policy/platform-admission.md
2026-10-05 12:36:02 +00:00

9 lines
541 B
Bash
Executable File

#!/usr/bin/env bash
# Local evidence is always SELF; GATE/REPLAY require external run/reviewer identity.
# CMD='make test' make evidence append a recorded run to the card
# RECEIPT=/tmp/precheck.json CMD='make precheck' make evidence capture before a card exists
# IMPORT_RECEIPT=/tmp/precheck.json make evidence import without re-executing
# VALIDATE_RECEIPT=/tmp/precheck.json bash scripts/evidence.sh task-start preflight
set -euo pipefail
exec python3 "$(cd -- "$(dirname -- "${BASH_SOURCE[0]}")" && pwd)/evidence.py"