mirror of
https://github.com/kuhyx/testsAndMisc.git
synced 2026-11-10 19:27:03 +01:00
Also bumps the 16 meta/requirements pins the freshness gate flagged (anthropic 1.5.0, numpy 2.5.3, pytest-randomly 5, flake8-bugbear 26.9.9, ruff 0.16.7, pyright 1.1.414, selenium 4.49.0, hypothesis 6.168.0, lxml 6.1.3, pipdeptree 4.2.5, the two types-* stubs) and Flutter 3.47.3 in meta/.fvmrc. One test still expected the pre-move ~/mcp-servers path. The pre-commit hook fed .zsh files to shfmt and shellcheck, neither of which parses zsh (SC2148/SC1071), so no zsh file could be committed since the hook was tightened on 2026-08-22; those now get `zsh -n` instead. The hook's own shfmt pass also staged its reformat of 8 shell files. CI_GREEN_SKIP because main is red on exactly the dependency-freshness finding this commit fixes, which is the documented use of that flag. Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01AwtowrowDXx6ccmWVPkCaF
23 lines
1.4 KiB
Bash
23 lines
1.4 KiB
Bash
# ============================================================================
|
|
# token-savers.zsh — run the session-autopsy compiled scripts WITHOUT Claude.
|
|
# The deterministic 90% of these workflows costs zero LLM tokens from a shell;
|
|
# bring Claude in only when a step fails and needs triage.
|
|
# Symlinked into ~/.oh-my-zsh/custom/ (house pattern, see claude-tty-fix.zsh).
|
|
# ============================================================================
|
|
|
|
# finish-gate [file...] — /finish's deterministic gate on the current repo:
|
|
# diff sizing, pre-commit (one autofix retry), tests. Exit 10/20 on failures.
|
|
finish-gate() { bash "$HOME/.claude/scripts/finish.sh" gate . "$@"; }
|
|
|
|
# phone-deploy [app-dir] [--release] — build + data-preserving install + launch
|
|
# + screenshot on the phone. Never uninstalls by construction.
|
|
phone-deploy() { bash "$HOME/.claude/scripts/phone_deploy.sh" "${1:-.}" "${@:2}"; }
|
|
|
|
# autopsy [subcommand ...] — the transcript analyzer; defaults to `report`.
|
|
# Try: autopsy candidates | autopsy measure | autopsy report --mark-reviewed
|
|
autopsy() { PYTHONPATH="$HOME/src/testsAndMisc" python3 -m python_pkg.session_autopsy "${1:-report}" "${@:2}"; }
|
|
|
|
# yay-clean [--dry-run] <pkg>...|--all — remove yay cache dirs plain rm chokes
|
|
# on (read-only fakeroot/Bazel trees). The cache was 314GB on 2026-07-24.
|
|
yay-clean() { bash "$HOME/.claude/scripts/yay_cache_clean.sh" "$@"; }
|