fix: harden review and verifier governance
This commit is contained in:
@@ -5,11 +5,11 @@ report_date_value() {
|
||||
}
|
||||
|
||||
report_output_dir() {
|
||||
printf '%s\n' "reports/daily"
|
||||
printf '%s\n' "$(report_output_root)"
|
||||
}
|
||||
|
||||
report_html_dir() {
|
||||
printf '%s\n' "$(report_output_dir)/html"
|
||||
printf '%s\n' "$(report_html_root)"
|
||||
}
|
||||
|
||||
report_markdown_path() {
|
||||
@@ -42,6 +42,38 @@ report_archive_html_path() {
|
||||
printf '%s\n' "$(report_archive_dir "$report_date")/daily_report_${report_date}.html"
|
||||
}
|
||||
|
||||
report_output_root() {
|
||||
printf '%s\n' "${REPORT_OUTPUT_DIR:-reports/daily}"
|
||||
}
|
||||
|
||||
report_html_root() {
|
||||
printf '%s\n' "$(report_output_root)/html"
|
||||
}
|
||||
|
||||
report_ad_hoc_dir() {
|
||||
local report_date run_kind trigger_source
|
||||
report_date="$(report_date_value "${1:-}")"
|
||||
run_kind="${2:-manual}"
|
||||
trigger_source="${3:-cli}"
|
||||
printf '%s\n' "reports/ad_hoc/${report_date}/${run_kind}/${trigger_source}"
|
||||
}
|
||||
|
||||
report_ad_hoc_markdown_path() {
|
||||
local report_date run_kind trigger_source
|
||||
report_date="$(report_date_value "${1:-}")"
|
||||
run_kind="${2:-manual}"
|
||||
trigger_source="${3:-cli}"
|
||||
printf '%s\n' "$(report_ad_hoc_dir "$report_date" "$run_kind" "$trigger_source")/daily_report_${report_date}.md"
|
||||
}
|
||||
|
||||
report_ad_hoc_html_path() {
|
||||
local report_date run_kind trigger_source
|
||||
report_date="$(report_date_value "${1:-}")"
|
||||
run_kind="${2:-manual}"
|
||||
trigger_source="${3:-cli}"
|
||||
printf '%s\n' "$(report_ad_hoc_dir "$report_date" "$run_kind" "$trigger_source")/html/daily_report_${report_date}.html"
|
||||
}
|
||||
|
||||
archive_report_artifacts() {
|
||||
local report_date markdown_path html_path archive_dir
|
||||
report_date="$(report_date_value "${1:-}")"
|
||||
|
||||
Reference in New Issue
Block a user