fix(standalone): decouple evidence paths and harden gate scripts

Switch acceptance/fault/release scripts to project-local .sisyphus evidence roots and remove parent-repo path assumptions.

Also harden deterministic behavior with run-id-derived port allocation and tuned fault thresholds so release gate pass and injected-failure flows remain stable in standalone execution.
This commit is contained in:
2026-03-05 23:52:37 +08:00
parent 7413590519
commit d5df65927b
6 changed files with 35 additions and 35 deletions
+1 -6
View File
@@ -4,10 +4,9 @@ set -u -o pipefail
SCRIPT_DIR="$(cd "$(dirname "${BASH_SOURCE[0]}")" && pwd)"
STREAMER_ROOT="$(cd "${SCRIPT_DIR}/.." && pwd)"
WORKTREE_ROOT="$(cd "${STREAMER_ROOT}/../.." && pwd)"
BUILD_DIR="${STREAMER_ROOT}/build"
EVIDENCE_ROOT="${WORKTREE_ROOT}/.sisyphus/evidence"
EVIDENCE_ROOT="${STREAMER_ROOT}/.sisyphus/evidence"
TASK_EVIDENCE_DIR="${EVIDENCE_ROOT}/task-17-release-gate"
PASS_EVIDENCE="${EVIDENCE_ROOT}/task-17-release-gate.txt"
FAIL_EVIDENCE="${EVIDENCE_ROOT}/task-17-release-gate-error.txt"
@@ -122,10 +121,6 @@ required_evidence=(
"${EVIDENCE_ROOT}/task-14-acceptance-summary.json"
"${EVIDENCE_ROOT}/task-15-fault-suite.txt"
"${EVIDENCE_ROOT}/task-15-fault-suite-summary.json"
"${EVIDENCE_ROOT}/task-15-fault-suite-error.txt"
"${EVIDENCE_ROOT}/task-15-fault-suite-error-summary.json"
"${EVIDENCE_ROOT}/task-16-docs.txt"
"${EVIDENCE_ROOT}/task-16-docs-error.txt"
)
if [[ "${INJECT_FAILURE}" == "evidence" ]]; then