캘리브레이션 거버넌스 도구 + WBS-7.1/7.2 실증 격차 가시화
캘리브레이션 백로그 → 우선순위 → 검토리포트 → 승인목록 → 결정초안으로 이어지는 임계값 보정 거버넌스 파이프라인을 추가하고, 2026-06-21 비판적 리뷰에서 발견한 두 가지 stale-수치 문제를 도구 차원에서 해소한다. - registry_health(): 190여 개 임계값의 source별(SPEC_DERIVED/EXPERT_PRIOR/ PROVISIONAL/CALIBRATED) 분포를 매 실행마다 자동 집계 — 수동 grep 불필요 - live_t5_status(): T+5 적중률을 하드코딩(35.86 리터럴) 대신 Temp/prediction_accuracy_harness_v2.json에서 항상 최신값으로 읽음 - spec/calibration_registry.yaml: SEMI_CLUSTER_CAP_RISK_OFF 중복 id로 인한 조용한 무시 버그 수정(SEMI_CLUSTER_CAP_RISK_OFF_MWA로 분리) - spec/27_bch_calibration_runbook.yaml: current_status_2026_06_21 블록 신설(단일 진실원천), 기존 05-30 스냅샷은 "역사적, 현재로 인용 금지"로 명시
This commit is contained in:
@@ -0,0 +1,80 @@
|
||||
name: Calibration Backlog (Registry Drift Watch)
|
||||
|
||||
on:
|
||||
schedule:
|
||||
- cron: "15 2 * * 1-5" # UTC 02:15 = KST 11:15, weekday backlog update
|
||||
workflow_dispatch:
|
||||
|
||||
jobs:
|
||||
build-calibration-backlog:
|
||||
runs-on: self-hosted
|
||||
|
||||
steps:
|
||||
- name: Checkout Code
|
||||
run: |
|
||||
if [ -d .git ]; then
|
||||
git remote set-url origin http://x-access-token:${{ secrets.GITHUB_TOKEN }}@192.168.123.100:8418/KimJaeHyun/myfinance.git
|
||||
else
|
||||
git init
|
||||
git remote add origin http://x-access-token:${{ secrets.GITHUB_TOKEN }}@192.168.123.100:8418/KimJaeHyun/myfinance.git
|
||||
fi
|
||||
git fetch origin main --depth=1
|
||||
git reset --hard FETCH_HEAD
|
||||
|
||||
- name: Configure Runtime Paths
|
||||
run: |
|
||||
export PATH=/usr/local/bin:$PATH
|
||||
echo "/usr/local/bin" >> $GITHUB_PATH
|
||||
/usr/bin/python3 --version
|
||||
|
||||
- name: Setup Python Environment
|
||||
run: |
|
||||
VENV_BASE=/volume1/gitea/python_venv
|
||||
REQ_HASH=$(md5sum tools/build_calibration_priority_v1.py 2>/dev/null | cut -d' ' -f1 || echo "calib-default")
|
||||
VENV="$VENV_BASE/$REQ_HASH"
|
||||
|
||||
if [ ! -f "$VENV/bin/python" ]; then
|
||||
mkdir -p "$VENV_BASE"
|
||||
/usr/bin/python3 -m venv "$VENV"
|
||||
if [ ! -f "$VENV/bin/pip" ]; then
|
||||
curl -sS https://bootstrap.pypa.io/pip/3.8/get-pip.py -o get-pip.py
|
||||
"$VENV/bin/python" get-pip.py --quiet
|
||||
rm get-pip.py
|
||||
fi
|
||||
"$VENV/bin/pip" install --upgrade pip --quiet
|
||||
"$VENV/bin/pip" install pyyaml --quiet
|
||||
fi
|
||||
echo "$VENV/bin" >> $GITHUB_PATH
|
||||
|
||||
- name: Validate Calibration Registry
|
||||
run: python3 tools/validate_calibration_registry_v1.py
|
||||
|
||||
- name: Build Calibration Priority Backlog
|
||||
run: python3 tools/build_calibration_priority_v1.py
|
||||
|
||||
- name: Build Calibration Change Ledger
|
||||
run: python3 tools/build_calibration_change_ledger_v4.py
|
||||
|
||||
- name: Build Calibration Review Report
|
||||
run: python3 tools/build_calibration_review_report_v1.py
|
||||
|
||||
- name: Build Calibration Approval List
|
||||
run: python3 tools/build_calibration_approval_list_v1.py
|
||||
|
||||
- name: Build Calibration Decision Draft
|
||||
run: python3 tools/build_calibration_decision_draft_v1.py
|
||||
|
||||
- name: Validate Calibration Change Ledger
|
||||
run: python3 tools/validate_calibration_change_ledger_v1.py
|
||||
|
||||
- name: Summarize Backlog
|
||||
if: always()
|
||||
run: |
|
||||
STATUS="${{ job.status }}"
|
||||
echo "=== Calibration Backlog Result ==="
|
||||
echo "status: $STATUS"
|
||||
echo "priority: Temp/calibration_priority_v1.json"
|
||||
echo "ledger: Temp/calibration_change_ledger_v4.json"
|
||||
echo "review: Temp/calibration_review_report_v1.md"
|
||||
echo "approval: Temp/calibration_approval_list_v1.md"
|
||||
echo "decision: Temp/calibration_decision_draft_v1.md"
|
||||
Reference in New Issue
Block a user