Skip to content

Commit 5701c57

Browse files
authored
Merge pull request #293 from Fr-e-d/contrib/sync-1777638996
sync: update 4 file(s) in core/
2 parents 989b0e2 + c8290a6 commit 5701c57

4 files changed

Lines changed: 10 additions & 9 deletions

File tree

.gaai/core/scripts/daemon-dispatch.sh

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -137,7 +137,7 @@ _emit_routing_record() {
137137
--duration-ms 0 \
138138
--fallback-reason "$fallback_reason" \
139139
--impl-model-tag "$impl_tag" \
140-
"${log_path_args[@]}" \
140+
${log_path_args[@]+"${log_path_args[@]}"} \
141141
2>/dev/null || true
142142
}
143143

@@ -164,7 +164,7 @@ _emit_plan_routing_record() {
164164
--fallback-reason "$fallback_reason" \
165165
--impl-model-tag "$impl_tag" \
166166
--pipeline "3phase" \
167-
"${log_path_args[@]}" \
167+
${log_path_args[@]+"${log_path_args[@]}"} \
168168
2>/dev/null || true
169169
}
170170

@@ -191,7 +191,7 @@ _emit_qa_routing_record() {
191191
--fallback-reason "$fallback_reason" \
192192
--impl-model-tag "$impl_tag" \
193193
--pipeline "3phase" \
194-
"${log_path_args[@]}" \
194+
${log_path_args[@]+"${log_path_args[@]}"} \
195195
2>/dev/null || true
196196
}
197197

@@ -220,7 +220,7 @@ _emit_commit_routing_record() {
220220
--pipeline "3phase" \
221221
--pr-url "$pr_url" \
222222
--auto-merge-applied "$auto_merge_applied" \
223-
"${log_path_args[@]}" \
223+
${log_path_args[@]+"${log_path_args[@]}"} \
224224
2>/dev/null || true
225225
}
226226

@@ -273,7 +273,7 @@ _emit_cutover_routing_record() {
273273
--forced "$forced" \
274274
--operator-id "$operator_id" \
275275
--pre-flip-in-progress-count "$pre_flip_count" \
276-
"${log_path_args[@]}" \
276+
${log_path_args[@]+"${log_path_args[@]}"} \
277277
2>/dev/null || true
278278
}
279279

.gaai/core/scripts/tests/validate-cohort.test.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
#!/usr/bin/env bash
22
# validate-cohort.test.sh — Test harness for validate-cohort.sh
33
#
4-
# Tests all DEC-88 §validation-gates acceptance criteria (AC1-AC6)
4+
# Tests all §validation-gates acceptance criteria (AC1-AC6)
55
#
66
# Usage: bash .gaai/core/scripts/tests/validate-cohort.test.sh
77
# Exit 0 = all pass. Exit 1 = at least one failure.

.gaai/core/scripts/validate-cohort.sh

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
#!/usr/bin/env bash
2-
# validate-cohort.sh — DEC-88 §validation-gates cohort evaluation harness
2+
# validate-cohort.sh — 3-phase pipeline cohort evaluation harness
33
#
44
# Usage:
55
# validate-cohort.sh --window <Nd|Nh> (evaluate records in last N days|hours)
@@ -148,14 +148,14 @@ write_verdict_and_exit() {
148148
echo ""
149149
case "$verdict" in
150150
ROLLBACK_TO_LEGACY)
151-
echo "> One or more gates FAILED. The 3phase pipeline does not meet DEC-88 validation thresholds."
151+
echo "> One or more gates FAILED. The 3phase pipeline does not meet the configured validation thresholds."
152152
echo "> Operator should evaluate failed gates and consider rollback via \`gaai-cutover.sh --to legacy\`."
153153
;;
154154
INCONCLUSIVE_INSUFFICIENT_DATA)
155155
echo "> Insufficient data to render a verdict. Gather more stories and re-run."
156156
;;
157157
REMAIN_ON_3PHASE)
158-
echo "> All gates PASS or SKIP. The 3phase pipeline meets DEC-88 validation thresholds."
158+
echo "> All gates PASS or SKIP. The 3phase pipeline meets the configured validation thresholds."
159159
;;
160160
esac
161161
echo ""

CHANGELOG.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
1010
## [Unreleased]
1111

1212
### Changed
13+
- fix(daemon-dispatch): set -u safe array expansion in 5 routing record emitters
1314
- fix(OSS): remove example story ID from daemon-prompt-construct.sh comment
1415
- fix(skill): remove private project refs from generate-stories §12 rationale
1516

0 commit comments

Comments
 (0)