diff --git a/REPORT.md b/REPORT.md index b6b0263..a4cc4c4 100644 --- a/REPORT.md +++ b/REPORT.md @@ -1,7 +1,7 @@ # omni-parse · автоотчёт -_обновлено 2026-10-26T16:19:01+00:00_ +_обновлено 2026-10-26T16:20:23+00:00_ | метрика | значение | |---|---| diff --git a/tools/autocommit.sh b/tools/autocommit.sh index fdaa0c3..381ccd8 100644 --- a/tools/autocommit.sh +++ b/tools/autocommit.sh @@ -24,8 +24,11 @@ if [ "$FEED" = "1" ]; then fi # 2) самоаудит + REPORT.md -"$PY" tools/selfcheck.py >> "$LOG" 2>&1 +OUT="$("$PY" tools/selfcheck.py 2>&1)" +echo "$OUT" >> "$LOG" echo "selfcheck_exit=$?" >> "$LOG" +STATS="$(printf '%s +' "$OUT" | tail -1)" # 3) коммит, только если есть реальные изменения кода/отчёта git add -A @@ -34,8 +37,7 @@ if git diff --cached --quiet; then exit 0 fi -STATS="$(tail -1 "$LOG" | sed 's/^/ /')" -git commit -q -m "chore(auto): самоаудит $STAMP —$(printf '%s' "$STATS" | cut -c1-160)" +git commit -q -m "chore(auto): $STAMP — $(printf '%s' "$STATS" | cut -c1-180)" COMMIT="$(git rev-parse --short HEAD)" echo "commit=$COMMIT" >> "$LOG"