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>
This commit is contained in:
thanhnv
2026-07-03 22:03:44 +09:00
co-authored by Claude Opus 4.8
parent fabd5f8783
commit fbcef967e5
182 changed files with 3865 additions and 341 deletions
@@ -0,0 +1,14 @@
#!/usr/bin/env bash
# D1 — 🔥 Cost-spike: step tốn 3× token bị bắt (SHOWPIECE H6)
# cwd = thư mục gốc dự án. Offline OK (dùng telemetry seed).
# provider-usage.jsonl: 3 step ~200 token, 1 step "plan" = 710 (spike)
printf '%s\n' \
'{"step":"srs","total_tokens":210}' \
'{"step":"bd","total_tokens":195}' \
'{"step":"spec","total_tokens":230}' \
'{"step":"plan","total_tokens":710}' > /tmp/usage.jsonl
bash .specify/scripts/bash/cost-spike-detect.sh /tmp/usage.jsonl 3.0; echo "exit=$?"
# Kỳ vọng: median_tokens=220.0 threshold=660 · SPIKE step=plan tokens=710 (>660)
# COST_SPIKE_DETECTED count=1 · exit=2