Files
CASAN/optimize-docs/video-steps/H6-AgentOps/D4-telemetry-real/commands.sh
T
thanhnvandClaude Opus 4.8 fbcef967e5 chore(freeze): snapshot demo state before Plan-07 hardening work
Freeze current submission/demo baseline:
- casan-next-plans/: full task-level plan set (Plan 00 index + 02/04/06/07/08/09/12, QA, slide deck)
- optimize-docs/video-steps/: per-vector scene breakdown (commands/screen-text/script) + start-tmux
- run-all.sh / scorecard.sh / map-live.sh: REAL=1 live-battery wiring
- regenerated evidence + audit/telemetry logs from live REAL=1 run
- submission README + video recording guide updates
- dry-run pipeline logs for 001-okr-web-app

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
2026-07-03 22:03:44 +09:00

11 lines
612 B
Bash
Executable File

#!/usr/bin/env bash
# D4 — Telemetry TOKEN THẬT từ model (nguồn dữ liệu H6)
# ⚠️ CẦN OLLAMA LIVE (bật tunnel). cwd = thư mục gốc dự án. Dùng lại /tmp/a1.txt.
# Mỗi lời gọi model-router tự ghi provider-usage.jsonl với token THẬT
bash .specify/scripts/bash/model-router.sh /tmp/a1.txt /tmp/v.json --role classify >/dev/null 2>&1
tail -1 .specify/logs/level5/provider-usage.jsonl 2>/dev/null
# Kỳ vọng: dòng JSON có cost_source=ollama_local_real_tokens
# total_tokens = input_tokens + output_tokens (prompt_eval_count + eval_count THẬT của ornith:9b)