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
22 changes: 11 additions & 11 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ jobs:

steps:
- name: Check out repository
uses: actions/checkout@v4
uses: actions/checkout@v7
with:
fetch-depth: 0

Expand All @@ -35,10 +35,10 @@ jobs:

steps:
- name: Check out repository
uses: actions/checkout@v4
uses: actions/checkout@v7

- name: Set up Python
uses: actions/setup-python@v5
uses: actions/setup-python@v7
with:
python-version: "3.11"

Expand All @@ -56,10 +56,10 @@ jobs:

steps:
- name: Check out repository
uses: actions/checkout@v4
uses: actions/checkout@v7

- name: Set up Python
uses: actions/setup-python@v5
uses: actions/setup-python@v7
with:
python-version: ${{ matrix.python-version }}
cache: pip
Expand Down Expand Up @@ -88,10 +88,10 @@ jobs:

steps:
- name: Check out repository
uses: actions/checkout@v4
uses: actions/checkout@v7

- name: Set up Python
uses: actions/setup-python@v5
uses: actions/setup-python@v7
with:
python-version: "3.11"
cache: pip
Expand All @@ -103,7 +103,7 @@ jobs:
- name: Install build tooling
run: |
python -m pip install --upgrade pip
python -m pip install "build~=1.2.2" "twine~=6.2.0"
python -m pip install "build~=1.6.1" "twine~=7.0.0"

- name: Build sdist and wheel
run: python -m build
Expand All @@ -124,10 +124,10 @@ jobs:

steps:
- name: Check out repository
uses: actions/checkout@v4
uses: actions/checkout@v7

- name: Set up Python
uses: actions/setup-python@v5
uses: actions/setup-python@v7
with:
python-version: "3.11"
cache: pip
Expand All @@ -138,7 +138,7 @@ jobs:
- name: Install audit tooling
run: |
python -m pip install --upgrade pip
python -m pip install "pip-audit~=2.10.0"
python -m pip install "pip-audit~=2.10.1"

- name: Audit declared dependency groups
run: python scripts/audit_dependencies.py
6 changes: 3 additions & 3 deletions .github/workflows/codeql.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,12 +20,12 @@ jobs:

steps:
- name: Check out repository
uses: actions/checkout@v4
uses: actions/checkout@v7

- name: Initialize CodeQL
uses: github/codeql-action/init@v3
uses: github/codeql-action/init@v4
with:
languages: python

- name: Perform CodeQL analysis
uses: github/codeql-action/analyze@v3
uses: github/codeql-action/analyze@v4
5 changes: 5 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,11 @@
### Security
- Raised `sentence-transformers` to `~=5.6.0` to exclude versions affected by PYSEC-2026-4164 (CVE-2026-68770).

### Dependencies
- Updated the optional semantic stack to `sentence-transformers~=6.0.1` and `transformers~=5.17.0`.
- Updated development tooling: `pytest~=9.1.1`, `pytest-asyncio~=1.4.0`, `ruff~=0.16.8`, `pip-audit~=2.10.1`, `build~=1.6.1`, `twine~=7.0.0`, `pymdown-extensions~=12.0`, and a `setuptools>=84.0.0` build requirement. The ruff rule set is now pinned in `pyproject.toml` to the rules the gates already enforced, because newer ruff releases enable many more by default.
- Updated CI actions: `actions/checkout@v7`, `actions/setup-python@v7`, `github/codeql-action@v4`.

### Added
- Decision model questions (`noul`, `choice`, and `score`) under `llm:` through OpenRouter Decisions or Ollama, alongside fully supported quoted LLM checks.
- Explicit typed-model activation, provider/model configuration, and caller-supplied context through the CLI and SDK.
Expand Down
9 changes: 7 additions & 2 deletions pyproject.toml
Original file line number Diff line number Diff line change
@@ -1,3 +1,8 @@
[build-system]
requires = ["setuptools>=64", "wheel"]
build-backend = "setuptools.build_meta"
requires = ["setuptools>=84.0.0", "wheel"]
build-backend = "setuptools.build_meta"

[tool.ruff.lint]
# The rule set ruff applied by default when these gates were introduced (0.8).
# Newer releases enable far more rules by default; widen this deliberately.
select = ["E4", "E7", "E9", "F"]
18 changes: 9 additions & 9 deletions requirements.txt
Original file line number Diff line number Diff line change
Expand Up @@ -6,26 +6,26 @@ requests~=2.34.2
colorama~=0.4.6

# Optional semantic model stack (requires Python 3.10+)
sentence-transformers~=5.6.0; python_version >= "3.10"
transformers~=5.10.0; python_version >= "3.10"
sentence-transformers~=6.0.1; python_version >= "3.10"
transformers~=5.17.0; python_version >= "3.10"

# Testing
pytest~=9.0.3
pytest-asyncio~=1.3.0
pytest~=9.1.1
pytest-asyncio~=1.4.0
pytest-cov~=7.1.0
pyyaml~=6.0.3

# Static checks
ruff~=0.8.6
ruff~=0.16.8

# Security audit
pip-audit~=2.10.0
pip-audit~=2.10.1

# Release tooling
build~=1.2.2
twine~=6.2.0
build~=1.6.1
twine~=7.0.0

# Documentation (optional, for building docs locally)
mkdocs~=1.6.1
mkdocs-material~=9.7.7
pymdown-extensions~=11.0
pymdown-extensions~=12.0
18 changes: 9 additions & 9 deletions setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -23,13 +23,13 @@ def get_version():

semantic_requirements = [
# Current safe semantic stack requires Python 3.10+, matching NOVA's runtime floor.
"sentence-transformers~=5.6.0; python_version >= '3.10'",
"transformers~=5.10.0; python_version >= '3.10'",
"sentence-transformers~=6.0.1; python_version >= '3.10'",
"transformers~=5.17.0; python_version >= '3.10'",
]

test_requirements = [
"pytest~=9.0.3",
"pytest-asyncio~=1.3.0",
"pytest~=9.1.1",
"pytest-asyncio~=1.4.0",
"pytest-cov~=7.1.0",
"pyyaml~=6.0.3",
]
Expand All @@ -39,20 +39,20 @@ def get_version():
"mkdocs-material~=9.7.7",
# Explicit floor: mkdocs-material alone allows pymdown-extensions >=10.2,
# which includes versions vulnerable to CVE-2026-61632 (fixed in 11.0.0).
"pymdown-extensions~=11.0",
"pymdown-extensions~=12.0",
]

lint_requirements = [
"ruff~=0.8.6",
"ruff~=0.16.8",
]

security_requirements = [
"pip-audit~=2.10.0",
"pip-audit~=2.10.1",
]

release_requirements = [
"build~=1.2.2",
"twine~=6.2.0",
"build~=1.6.1",
"twine~=7.0.0",
]

setup(
Expand Down
2 changes: 1 addition & 1 deletion tests/test_metadata.py
Original file line number Diff line number Diff line change
Expand Up @@ -246,7 +246,7 @@ def test_ci_workflow_covers_supported_versions_and_release_gates():
step.get("run", "")
for step in jobs["dependency-audit"]["steps"]
)
assert 'python -m pip install "pip-audit~=2.10.0"' in audit_runs
assert 'python -m pip install "pip-audit~=2.10.1"' in audit_runs
assert "python scripts/audit_dependencies.py" in audit_runs
assert 'python -m pip install -e ".[security]"' not in audit_runs
assert "python -m pip_audit --local" not in audit_runs
Expand Down