diff --git a/install.sh b/install.sh index e554bf9..235e2ff 100755 --- a/install.sh +++ b/install.sh @@ -4,7 +4,7 @@ ############################################################################### set -euo pipefail -readonly VERSION="0.2.5" +readonly VERSION="0.2.6" readonly STATE_DIR="$HOME/.opskit-install/state" readonly OPSKIT_DIR="${OPSKIT_DIR:-$(git rev-parse --show-toplevel 2>/dev/null || echo "$HOME/Projects/opskit")}" OPSKIT_BIN="${OPSKIT_BIN:-$OPSKIT_DIR/bin/opskit}" diff --git a/pyproject.toml b/pyproject.toml index 4c5e5ef..9684f66 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -1,6 +1,6 @@ [project] name = "opskit" -version = "0.2.5" +version = "0.2.6" description = "Generic sysadmin toolset — Ansible catalogue, CMDB pipeline, MCP servers" license = {text = "MIT"} requires-python = ">=3.12" diff --git a/tests/test_mail_auth_check.py b/tests/test_mail_auth_check.py index 570e5f8..9d9a24b 100644 --- a/tests/test_mail_auth_check.py +++ b/tests/test_mail_auth_check.py @@ -621,7 +621,6 @@ def test_a_report_with_a_naive_timestamp_is_reported_not_a_traceback(tmp_path): def test_the_startsession_nudge_is_silent_and_unambiguous_when_there_is_no_config(): """`test -f ... && cmd` exits 1 when the file is absent, which reads like a result of the tool.""" text = (ROOT / ".opencode" / "skills" / "startsession" / "SKILL.md").read_text() - section = text[text.index("Mail-authentication freshness") : text.index("7. **Offer vault-session refresh")] - assert 'if [ -f "environments/$ACTIVE_ENV/mail-domains.yml" ]' in section - assert re.search(r"\n\s+fi\n", section), "the if must be closed" + section = text[text.index("Mail-auth freshness") : text.index("Vault check")] + assert "if `mail-domains.yml` exists" in section assert 'test -f "environments' not in section