mirror of
https://github.com/norandom/OpenUltraSAST.git
synced 2026-12-03 18:28:19 +00:00
The maintainer's request, in their words: "I want to tag a new minor release for
the image and packages". The menu of 2026-11-28: the release is v2.2.0-alpha.1
(pyproject and the lockfile say 2.2.0a1; the notes say that no pre-push
capability is admitted yet); the notes and the tag name are shown first. The
maintainer approved the entry as drafted (/tmp/opencode/s10_rel1_notes_draft.md).
After that approval the date moved to the expected day of the tag, one sentence
in the last bullet and a closing paragraph were added, and a reviewer's three
findings on wording were applied: the gate of task 11.4 against the final gate
of the benchmark, the frozen population v4, and the reason of the deselected
assertion. The maintainer sees the final entry again before the tag.
What changed
- pyproject.toml, uv.lock and src/openultrasast/__init__.py: the version is
2.2.0a1.
- CITATION.cff: version 2.2.0-alpha.1 and date-released 2026-11-29. Its doi line
is unchanged: it names 10.5281/zenodo.24012765, the version DOI of
v2.1.0-alpha.1. The concept DOI is 10.5281/zenodo.24012764 (s10_rel1_zenodo.out).
The choice is left to the maintainer before the tag.
- RELEASE_NOTES.md: the entry of v2.2.0-alpha.1 at the top, 49 lines, in the
form of the earlier entries. Beyond the approved draft it says that CI on
main is green again, that the final gate of the benchmark waits for the
governed run, that population v4 is frozen for M4, and that the release job
of an alpha tag still deselects one assertion, for a reason that is resolved.
Checks
- s10_rel1_version.out: uv lock --check exits 0; the three version strings are
2.2.0a1; the package reports 2.2.0a1.
- s10_rel1_exits.txt: the gates with label rel1, ten zeros. s10_rel1_diffcheck.out:
five files, +54 -5; git diff --check exits 0; no non-ASCII character added; the
widest added line of the entry is 108 columns.
- s10_rel1_claims.out: CI on f756099 is green (checks, semantic, dagger);
CITATION.cff parses; release.yml holds the deselect of an alpha tag.
- The s10 files are under /tmp/opencode, outside the repository.
Not verified
- The build of the package: uv build runs in the release job.
- The Task base image workflow that this push starts, and the pin commit that
follows it.
- No pytest ran on this tree: no test reads the version, the citation or the
notes (a grep of tests/).
Review.
Two read-only rounds, 2026-11-29 at about 00:05 and 00:10 CET, of the five files
and of this message. Round one approved the tree and blocked the message on one
count: three sentences, not two, had been added after the approval. It asked
for three changes to the wording of the entry: the gate that passes is the one
of detection-core task 11.4, not the final gate of the benchmark (task 11.7,
not run); population v4, frozen with 11 cases, was not named; the deselected
assertion had no reason given. All three are in the entry, each read against
its record. Round two approves the tree and the message: the version strings
agree, uv lock --check exits 0, CITATION.cff parses with the two new values,
and nothing but the three places moved since round one. CI green rests on
s10_rel1_claims.out and the DOI reading on s10_rel1_zenodo.out; neither was
read again here. No pytest ran on this tree.
115 lines
3.7 KiB
TOML
115 lines
3.7 KiB
TOML
[build-system]
|
|
requires = ["uv_build>=0.8.13,<0.9.0"]
|
|
build-backend = "uv_build"
|
|
|
|
[project]
|
|
name = "openultrasast"
|
|
version = "2.2.0a1"
|
|
description = "OpenCode-oriented SAST harness for evidence-gated security analysis"
|
|
readme = "README.md"
|
|
license = "Apache-2.0"
|
|
license-files = ["LICENSE"]
|
|
requires-python = ">=3.11"
|
|
dependencies = ["pyyaml>=6.0"]
|
|
|
|
[project.optional-dependencies]
|
|
# Hunter learning research only; the core install stays PyYAML.
|
|
hunt = [
|
|
"dspy>=3.4,<3.5",
|
|
"pandas>=2.2,<3",
|
|
"scipy>=1.13,<2",
|
|
"scikit-learn>=1.6,<2",
|
|
"statsmodels>=0.14,<1",
|
|
]
|
|
# The documentation site (mkdocs.yml, docs/). Mermaid renders client-side through Material's superfences fence.
|
|
docs = [
|
|
"mkdocs>=1.6,<2",
|
|
"mkdocs-material>=9.5,<10",
|
|
]
|
|
# The plane's memory store on an S3-compatible bucket (OUSAST_MEMORY=s3://<bucket>, plane/memory.py; RustFS is the
|
|
# tested server). Imported lazily; the core install and the file store need nothing beyond PyYAML.
|
|
s3 = [
|
|
"boto3>=1.35,<2",
|
|
]
|
|
# Structured parse for overlay (JS/C/C++/Java/PHP/Python). Core install stays empty.
|
|
# Wheels are MIT; import is lazy via openultrasast.semantic.extra.
|
|
semantic = [
|
|
"tree-sitter>=0.23,<0.27",
|
|
"tree-sitter-python>=0.23",
|
|
"tree-sitter-javascript>=0.23",
|
|
"tree-sitter-typescript>=0.23",
|
|
"tree-sitter-c>=0.23",
|
|
"tree-sitter-cpp>=0.23",
|
|
"tree-sitter-java>=0.23",
|
|
"tree-sitter-php>=0.23",
|
|
]
|
|
|
|
[project.scripts]
|
|
ousast = "openultrasast.cli:main"
|
|
|
|
[tool.pytest.ini_options]
|
|
testpaths = ["tests"]
|
|
pythonpath = ["src"]
|
|
markers = [
|
|
"docker: requires a docker daemon",
|
|
"semantic: requires openultrasast[semantic] tree-sitter extra",
|
|
"sandbox: needs bubblewrap isolation; skipped where the isolation preflight fails (CI's container has no bwrap)",
|
|
"ax: requires the live ax cluster of ops/ax/up.sh (skipped unless `ousast plane doctor` passes)",
|
|
]
|
|
|
|
[tool.ruff]
|
|
line-length = 140
|
|
target-version = "py311"
|
|
# Benchmark fixtures are intentionally vulnerable, unformatted sample corpora;
|
|
# linting/formatting them would flag the planted bugs and shift ground-truth lines.
|
|
extend-exclude = ["benchmarks/fixtures", "benchmarks/pairs"]
|
|
|
|
[tool.ruff.lint]
|
|
select = ["B", "E", "F", "I", "SIM", "UP"]
|
|
|
|
[tool.mypy]
|
|
python_version = "3.11"
|
|
files = ["src/openultrasast"]
|
|
check_untyped_defs = true
|
|
disallow_untyped_defs = true
|
|
no_implicit_optional = true
|
|
warn_redundant_casts = true
|
|
warn_return_any = true
|
|
warn_unused_configs = true
|
|
|
|
[[tool.mypy.overrides]]
|
|
module = "tree_sitter"
|
|
ignore_missing_imports = true
|
|
|
|
# boto3 is an optional extra without inline types, absent in the type-check environment (plane/memory.py imports
|
|
# it lazily).
|
|
[[tool.mypy.overrides]]
|
|
module = ["boto3", "botocore.*"]
|
|
ignore_missing_imports = true
|
|
|
|
# PyYAML ships no inline types and types-PyYAML is not a dev dependency.
|
|
[[tool.mypy.overrides]]
|
|
module = "yaml"
|
|
ignore_missing_imports = true
|
|
|
|
# dspy, pandas, statsmodels and scikit-learn ship no py.typed marker and no stub packages are dev dependencies;
|
|
# numpy, pydantic and litellm arrive with them and are absent in the type-check environment of CI.
|
|
[[tool.mypy.overrides]]
|
|
module = ["dspy", "dspy.*", "pandas", "pandas.*", "statsmodels.*", "sklearn.*", "numpy", "numpy.*", "pydantic", "pydantic.*", "litellm", "litellm.*"]
|
|
ignore_missing_imports = true
|
|
|
|
# The hunt package reaches the benchmark scorers and manifests lazily. benchmarks/ is not in `files` and has never
|
|
# been type-checked; src stays strict against its signatures while errors inside benchmarks/ are not reported.
|
|
[[tool.mypy.overrides]]
|
|
module = "benchmarks.*"
|
|
follow_imports = "silent"
|
|
|
|
[dependency-groups]
|
|
dev = [
|
|
"dagger-io>=0.21.7",
|
|
"mypy>=2.1.0",
|
|
"pre-commit>=4.6.0",
|
|
"pytest>=8",
|
|
"ruff>=0.15.17",
|
|
]
|