Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -87,6 +87,7 @@ This project has a published GitHub Release line, but no stable support or API g

### Fixed

- Made the post-release audit CLI version smoke derive the expected version from `pyproject.toml` instead of hardcoding `0.3.0`.
- Scoped governance finding suppression to same-line negation or approval cues so adjacent safe guidance no longer hides unrelated risky instructions.
- Reject symlinked supported instruction files and harden `init --write` temporary and backup paths against symlink escapes.
- Report non-UTF-8 supported instruction files as `AIRK-SYS001` findings instead of silently skipping governance analysis.
Expand Down
12 changes: 11 additions & 1 deletion scripts/post-release-audit.sh
Original file line number Diff line number Diff line change
Expand Up @@ -200,7 +200,17 @@ print(f"OK: package metadata and version parity {pyproject_version}")
PY_METADATA

printf '\n== local CLI smoke ==\n'
PYTHONPATH=src python -m agent_rules_kit.cli --version | grep -Eq '^agent-rules-kit 0\.3\.0$'
PACKAGE_VERSION="$(python - <<'PY_VERSION'
from __future__ import annotations

import tomllib
from pathlib import Path

project = tomllib.loads(Path("pyproject.toml").read_text(encoding="utf-8"))["project"]
print(project["version"])
PY_VERSION
)"
PYTHONPATH=src python -m agent_rules_kit.cli --version | grep -Fx "agent-rules-kit ${PACKAGE_VERSION}"
PYTHONPATH=src python -m agent_rules_kit.cli check tests/fixtures/repositories/single-agent --format json | python -m json.tool >/dev/null
PYTHONPATH=src python -m agent_rules_kit.cli doctor tests/fixtures/repositories/single-agent >/dev/null
PYTHONPATH=src python -m agent_rules_kit.cli budget tests/fixtures/repositories/single-agent >/dev/null
Expand Down