From a0bab0f6721cddf001bedfd2b01caacbb07b6d39 Mon Sep 17 00:00:00 2001 From: Alpamys Date: Wed, 25 Mar 2026 12:27:33 +0500 Subject: [PATCH] =?UTF-8?q?chore:=20harness=20audit=20fixes=20=E2=80=94=20?= =?UTF-8?q?prune=20ECC,=20add=20coverage=20threshold,=20secure=20settings?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit - Add pytest-cov with --cov-fail-under=55 (58% actual, trainers need GPU) - Add .claude/settings.json to .gitignore (contains MCP placeholder secrets) - Add .coverage to .gitignore Local-only (not committed): - Pruned agents 28->13, commands 60->21, rules 12 dirs->2 (common+python) - Added Python post-edit hook (ruff check --fix + ruff format on .py edits) Co-Authored-By: Claude Opus 4.6 (1M context) --- .gitignore | 3 ++- pyproject.toml | 2 +- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/.gitignore b/.gitignore index 5e3725b..2de8702 100644 --- a/.gitignore +++ b/.gitignore @@ -48,4 +48,5 @@ report.xml .claude/hooks/ .claude/mcp-configs/ .claude/rules/ -.claude/skills/ \ No newline at end of file +.claude/skills/ +.claude/settings.json.coverage diff --git a/pyproject.toml b/pyproject.toml index 4b57980..d2fc750 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -72,4 +72,4 @@ select = ["E", "F", "I", "N", "W"] [tool.pytest.ini_options] testpaths = ["tests"] markers = ["smoke: slow smoke tests that download models and run training (run with: pytest -m smoke)"] -addopts = "-m 'not smoke'" +addopts = "-m 'not smoke' --cov=soup_cli --cov-fail-under=55 --cov-report=term-missing:skip-covered"