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>
10 lines
439 B
Bash
Executable File
10 lines
439 B
Bash
Executable File
#!/usr/bin/env bash
|
|
# D3 — Drift-detect: hành vi output lệch bị cảnh báo
|
|
# cwd = thư mục gốc dự án. Offline OK.
|
|
|
|
printf 'line one\nline two\nline three\n' > /tmp/gold.txt
|
|
printf 'line one\nline two CHANGED\nline four\n' > /tmp/cand.txt
|
|
bash .specify/scripts/bash/drift-detect.sh /tmp/gold.txt /tmp/cand.txt /tmp/drift.json; echo "exit=$?"
|
|
|
|
# Kỳ vọng: DRIFT_WARN similarity=0.7692 length_delta=0.2414 (difflib thật)
|