mirror of
https://github.com/ifixai-ai/iFixAi.git
synced 2026-11-24 03:26:24 +08:00
* feat: iFixAi 3.0.2 — Claude Code plugin + PyPI packaging - Installable Claude Code plugin (skill, hooks, manifest) + multi-provider SUT/judge engine and interactive scorecard artifact - pip-install ready: ifixai-diagnose entry point, ifixai.plugin package-data, version 3.0.2, tag-triggered PyPI release workflow - Refreshed README + Diátaxis docs/ * plugin: model preflight and run-health gates for live runs A per-model preflight aborts a live run on a bad model id before billing; a measurement-failure banner suppresses the grade when the agent or judge was unreachable; SUT transport errors now route to unscorable (base.py, b19/b20/b22) so a dead model scores INCONCLUSIVE rather than a false FAIL; adds a judge-health note and drops the dead b07 structural path. * fix: gate platform-refusal to bridge mode, restore B01/P01 fail-closed, guard judge-timeout parse Stops a legitimate live-API refusal that cites a usage policy from being dropped as unscorable (the wall check now runs only for bridge-routed SUT replies), reverts the B01/P01 capability-missing carve-out so an ungoverned target fails closed and caps at D per docs/scoring.md, and parses IFIXAI_JUDGE_TIMEOUT defensively so a bad value no longer crashes import. Also fixes the bridge str|None mypy error, drops dead _checkpoint_path, and dedups the grade constants into grading.py. * fix: make plugin Windows-compatible (bootstrap.py + PS1 shim + exec-form hook) Move provisioning logic into a cross-platform bootstrap.py (bin/ vs Scripts/, python3/python fallback). Add bootstrap.ps1 for native Windows PowerShell. Switch the SessionStart hook to exec form (python3 + python fallback entries) so no sh is needed. Update SKILL.md with Windows paths and shim invocations. * fix: Windows-compat follow-ups (UTF-8 console, LF gitattributes, dedup bootstrap hook) * Set plugin author and marketplace owner to iFixAi * docs: show unique-cloners chart in README (parity with main)
18 lines
600 B
Bash
Executable File
18 lines
600 B
Bash
Executable File
#!/bin/sh
|
|
# Thin POSIX shim: locate a Python 3 and hand off to the cross-platform
|
|
# provisioner, hooks/bootstrap.py (the real logic lives there so macOS, Linux,
|
|
# WSL, and Git Bash share one implementation). Used by the skill's Step 0 defensive
|
|
# provisioning; the SessionStart hook calls bootstrap.py directly via the exec form.
|
|
set -eu
|
|
|
|
DIR=$(CDPATH= cd -- "$(dirname -- "$0")" && pwd)
|
|
|
|
for PY in python3 python; do
|
|
if command -v "$PY" >/dev/null 2>&1; then
|
|
exec "$PY" "$DIR/bootstrap.py" "$@"
|
|
fi
|
|
done
|
|
|
|
echo "iFixAi: no python3/python on PATH — the engine needs Python 3.10+." >&2
|
|
exit 1
|