update report h6

This commit is contained in:
thanhnv
2026-07-20 23:47:09 +07:00
parent f462079435
commit 4b6819f578
38 changed files with 1244 additions and 62 deletions
@@ -61,6 +61,20 @@ if [[ -z "${CASAN_STATE_ROOT:-}" ]]; then
CASAN_STATE_ROOT="$CASAN_APP_ROOT/.specify"
fi
# Canonical H6 telemetry files. Writers and readers must use these three names so
# runtime, provider usage and alerts cannot silently drift into different trees.
# The older dashboard/control-panel variables remain accepted as compatibility
# aliases while downstream deployments move to the CASAN_TELEMETRY_* contract.
if [[ -z "${CASAN_TELEMETRY_METRICS_LOG:-}" ]]; then
CASAN_TELEMETRY_METRICS_LOG="${CASAN_DASHBOARD_METRICS:-$CASAN_STATE_ROOT/logs/cost/metrics.jsonl}"
fi
if [[ -z "${CASAN_TELEMETRY_PROVIDER_LOG:-}" ]]; then
CASAN_TELEMETRY_PROVIDER_LOG="${CASAN_CP_PROVIDER_USAGE:-${CASAN_PROVIDER_LOG:-$CASAN_STATE_ROOT/logs/level5/provider-usage.jsonl}}"
fi
if [[ -z "${CASAN_TELEMETRY_ALERTS_LOG:-}" ]]; then
CASAN_TELEMETRY_ALERTS_LOG="${CASAN_DASHBOARD_ALERTS:-$CASAN_STATE_ROOT/agentops/alerts.log}"
fi
# Governance root: central-governance mixes harness pub-keys/registries, runtime
# policy-manifest state, and a private key. Rooted under STATE (not HARNESS) so the
# runtime-regenerated policy-manifest.{json,sig} and the private key never land inside