From acfd0f7aae986ba8f99c682b85bb93e592c62991 Mon Sep 17 00:00:00 2001 From: Remi Antczak <140408771+remigiusz-antczak@users.noreply.github.com> Date: Tue, 3 Nov 2026 20:39:07 +0100 Subject: [PATCH] release: 1.645.0 (stamped at land time) Ships #2210 (landing watchdog: configurable landing branch from env, policy or origin/HEAD) and #2211 (security audit ready bar, whole-app audit runs the tool pass and writes the report template at every app size, report contract linter, G5 dependency-currency detector, cost checks, G10 IaC benches and hygiene tier). Tests: 31/31 Co-Authored-By: Claude Opus 5.5 --- .claude-plugin/plugin.json | 2 +- .claude/skills/agentic-delivery/SKILL.md | 2 +- .claude/skills/agentic-delivery/VERSION | 2 +- .claude/skills/deep-code-review/SKILL.md | 2 +- .claude/skills/deep-code-review/VERSION | 2 +- .claude/skills/idea-critic/SKILL.md | 2 +- .claude/skills/idea-critic/VERSION | 2 +- .codex-plugin/plugin.json | 2 +- CHANGELOG.md | 30 ++++++++++++++++++++++++ SHA256SUMS | 12 +++++----- changelog.d/cost-limit.md | 2 -- changelog.d/dependency-currency.md | 4 ---- changelog.d/dockerfile-chmod.md | 2 -- changelog.d/hygiene-tier.md | 2 -- changelog.d/keyline-primary.md | 2 -- changelog.d/reportlint.md | 4 ---- changelog.d/unbounded-body.md | 2 -- changelog.d/watchdog-landing-branch.md | 2 -- gemini-extension.json | 2 +- 19 files changed, 45 insertions(+), 35 deletions(-) delete mode 100644 changelog.d/cost-limit.md delete mode 100644 changelog.d/dependency-currency.md delete mode 100644 changelog.d/dockerfile-chmod.md delete mode 100644 changelog.d/hygiene-tier.md delete mode 100644 changelog.d/keyline-primary.md delete mode 100644 changelog.d/reportlint.md delete mode 100644 changelog.d/unbounded-body.md delete mode 100644 changelog.d/watchdog-landing-branch.md diff --git a/.claude-plugin/plugin.json b/.claude-plugin/plugin.json index da4a6983d..f62cd5e40 100644 --- a/.claude-plugin/plugin.json +++ b/.claude-plugin/plugin.json @@ -2,7 +2,7 @@ "name": "perun", "description": "Perun: a suite of skills for building with AI agents. Deep code review, token and cost tools (spend reports, auto-compact with handoff, model-tier guidance), gated agentic delivery (merge train, lanes, destructive-command guard, auto-update), an idea critic, and product, growth, positioning, business-ops and output-safety specialists.", "skills": "./.claude/skills", - "version": "1.644.0", + "version": "1.645.0", "author": { "name": "deep-code-review contributors" }, diff --git a/.claude/skills/agentic-delivery/SKILL.md b/.claude/skills/agentic-delivery/SKILL.md index 9ade890e3..38cc25b9e 100644 --- a/.claude/skills/agentic-delivery/SKILL.md +++ b/.claude/skills/agentic-delivery/SKILL.md @@ -8,7 +8,7 @@ description: >- license: MIT metadata: author: deep-code-review contributors - version: "1.644.0" + version: "1.645.0" --- # Agentic delivery diff --git a/.claude/skills/agentic-delivery/VERSION b/.claude/skills/agentic-delivery/VERSION index 6b82c2955..26a8b555f 100644 --- a/.claude/skills/agentic-delivery/VERSION +++ b/.claude/skills/agentic-delivery/VERSION @@ -1 +1 @@ -1.644.0 +1.645.0 diff --git a/.claude/skills/deep-code-review/SKILL.md b/.claude/skills/deep-code-review/SKILL.md index 70096733f..8b252a2f5 100644 --- a/.claude/skills/deep-code-review/SKILL.md +++ b/.claude/skills/deep-code-review/SKILL.md @@ -8,7 +8,7 @@ description: >- license: MIT metadata: author: deep-code-review contributors - version: "1.644.0" + version: "1.645.0" --- # Deep Code Review diff --git a/.claude/skills/deep-code-review/VERSION b/.claude/skills/deep-code-review/VERSION index 6b82c2955..26a8b555f 100644 --- a/.claude/skills/deep-code-review/VERSION +++ b/.claude/skills/deep-code-review/VERSION @@ -1 +1 @@ -1.644.0 +1.645.0 diff --git a/.claude/skills/idea-critic/SKILL.md b/.claude/skills/idea-critic/SKILL.md index 6ed9704ea..a031a8c29 100644 --- a/.claude/skills/idea-critic/SKILL.md +++ b/.claude/skills/idea-critic/SKILL.md @@ -8,7 +8,7 @@ description: >- license: MIT metadata: author: deep-code-review contributors - version: "1.644.0" + version: "1.645.0" --- # Veles: the evil twin (idea-critic) diff --git a/.claude/skills/idea-critic/VERSION b/.claude/skills/idea-critic/VERSION index 6b82c2955..26a8b555f 100644 --- a/.claude/skills/idea-critic/VERSION +++ b/.claude/skills/idea-critic/VERSION @@ -1 +1 @@ -1.644.0 +1.645.0 diff --git a/.codex-plugin/plugin.json b/.codex-plugin/plugin.json index b04a13fb9..c7e5eac3c 100644 --- a/.codex-plugin/plugin.json +++ b/.codex-plugin/plugin.json @@ -1,6 +1,6 @@ { "name": "perun", - "version": "1.644.0", + "version": "1.645.0", "description": "Perun: a skill suite for AI-agent teams: deep code review, token and cost tools, gated delivery, an idea critic and product specialists.", "skills": "./.claude/skills", "interface": { diff --git a/CHANGELOG.md b/CHANGELOG.md index 770ba88d4..d37c87319 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -3,6 +3,36 @@ All notable changes to this repository are documented here. Format loosely follows Keep a Changelog; versioning follows Semantic Versioning. +## [1.645.0] — 2026-11-03 + +### Added +- `review_checks.sh --full` now also runs `cost_limit_map.py` (tool `cost-limit`, rule `missing-cost-limit`): an HTTP handler that calls an LLM or paid API, takes an upload, searches, exports, or lets the client choose an uncapped page size, with no rate or quota limit evidence in its file or package. Report-only lead; SKIPPED when the repo has no HTTP handler. + +### Added +- `review_checks.sh` now runs a built-in dependency-currency step (`scripts/dependency_currency.py`, stdlib only). For each changed manifest, lockfile (direct and transitive), Dockerfile, workflow and runtime pin it reports current, latest stable, how far behind, OSV vulnerability ids (CISA KEV-listed rows first) and an upgrade target read from the registry; it also reports manifest-vs-lock drift, end-of-life runtimes and frameworks (endoflife.date), unpinned images and action refs, and flags vendored directories. A lookup that fails is a `not-checked` (NOT RUN) row, never "up to date". +- Dependency-currency hardening: an unreachable OSV is a `not-checked` row even for a current dependency; yarn berry, pnpm-lock, `requirements*.in`, `pyproject.toml`, Go `replace`, Maven parent/BOM and starter-parent, docker-compose images, `action.yml`, `.nvmrc` aliases, Dockerfile `ARG` tags and Gradle dynamic versions are read or reported; pre-releases below their stable count as behind, npm latest follows `dist-tags.latest`, Maven keeps its `-jre`/`-android` flavor; names are quoted per path segment, responses and files are capped at 5 MB, all registry calls honor `--budget` and crates.io is limited to one request per second. +- Dependency-currency root-cause fixes: requirement files in any directory (`requirements/*.txt`, `constraints*.txt`) and every file they pull in with `-r`/`-c` are read; `setup.cfg`, `pyproject.toml` extras / dependency groups and `Pipfile` drift against the locks in their directory or its `requirements/` subdirectory; `rust-toolchain[.toml]` pins, a root-level `Cargo.toml`, Symfony components (lockstep with the framework), unmapped official images (endoflife.date product of the same name) and Kubernetes manifest images get rows; npm workspaces missing from the lock's `packages`, Maven literal versions that override a parent's managed version or `.version` property, and Gradle versions held in `ext` maps, variables or `gradle.properties` are compared with their lock. + +### Added +- `review_checks.sh` flags a world-writable `chmod` in a Dockerfile `RUN` (777, a+w, o+w, including `-R`) as `dockerfile-chmod`, since hadolint, checkov and trivy have no rule for it. + +### Changed +- `review_checks.sh` hides a hygiene tier by default: trivy LOW rows, hadolint info/style rows and a short list of low-value checkov ids (for example KSV-0125) no longer appear in the findings. `--hygiene` shows them again, and a stderr line counts the hidden rows. + +### Fixed +- `review_checks.sh` anchors zizmor rows on the SARIF Primary location (the offending line) instead of the first location, which could be a Related span such as the enclosing job. trivy and checkov rows are anchored on the offending key, and checkov `evaluated_keys` are split on `/` as well as `.`. + +### Added +- `scripts/report_contract_lint.py REPORT.md --root REPO` checks a whole-project security audit report against the honesty contract: required per-standard table, NOT CHECKED, static-vs-runtime and dependency sections, a status on every item, no safety claim (paraphrases included), cited paths and lines that exist, guided passes with examined files and a quoted negative, no pass for a tool under NOT RUN, and at most 40% unexcused not-checked items. The template is the new `references/whole-project-report.md`. +size-budget-raise: .claude/skills/deep-code-review/references/full-map-report.md 2328→2467 one routing sentence to the whole-project report template +size-budget-raise: .claude/skills/deep-code-review/references/security-review-mode.md 10789→11605 the whole-app audit runs the tool pass and writes the report template at every app size (calibration: both were skipped on a three-file app) + +### Added +- `cost_limit_map.py` (the `cost-limit` step of `review_checks.sh --full`) also reports `unbounded-body` (CWE-770): a handler that reads the whole request body (`formData()`, `text()`, `arrayBuffer()`, `request.body()`, `request.files`, a no-size `read()` on a request, stream or UploadFile receiver; `json()` is never flagged) with no streamed byte count or framework body limit, a Content-Length-only cap, or an express/body-parser limit of 10 MB or more. The default 100kb is not flagged. + +### Fixed +- The landing watchdog no longer cries "Landing stalled" on a repo whose default branch is owner-gated and release-only while the merge train lands on another branch. Set the branch with env `PERUN_LANDING_BRANCH` or policy `landing_branch` (for example `perun_policy.py set landing_branch development`); unset keeps origin/HEAD, then main, then master. A branch missing on origin keeps the hook silent. + ## [1.644.0] — 2026-11-02 ### Changed diff --git a/SHA256SUMS b/SHA256SUMS index dabe30f55..8ca7071a8 100644 --- a/SHA256SUMS +++ b/SHA256SUMS @@ -20,8 +20,8 @@ ef9e423362b12d0dd73c8e165faf32e9f53c4d4ac215b57c2e34002a88713838 .claude/skills 9521b057ff3db92d1e60923ebd88170713914f7e235ceb45717eb39419daf811 .claude/skills/agentic-ceo/scripts/weekly_receipt.py 81e857c1c5462222ebf737517c1d8639eac3d56b564854af8a7340537752adc1 .claude/skills/agentic-delivery/INDEX-scripts.md 39b5ff201f1ef82cb7fb95f8f69f407c91eaf024ce8ed7c6496baed89f481a15 .claude/skills/agentic-delivery/INDEX.md -dabd7dde4cf5bf62bf867fa3149498e2408a94422cc757705bc0adcc1bf1eb3c .claude/skills/agentic-delivery/SKILL.md -a993481133cf1bfca1ee521623d80e1e04dc623b0d3297ea8383ad590e33b3de .claude/skills/agentic-delivery/VERSION +f2c850508f2a835d863c8f8c4eda084b68f94426ae83b14ad90437777ad65931 .claude/skills/agentic-delivery/SKILL.md +34a449b40a5176c1d4dc31b674eac70ffdb0e2b149ea35e559bd56086aba37e1 .claude/skills/agentic-delivery/VERSION 51194479002df37b742c31c7ff8e547dd956e6a4b487ab2d8f150b365c54a814 .claude/skills/agentic-delivery/evals/evals.json fba7699a2d0836b51b7c838d019b1f0cd20570522a362e8a32b8dacfb911298e .claude/skills/agentic-delivery/evals/triggers.json d7ab95bb614e70bec6d97bf16f06ffd510d4f9472139519bd8c93dd5061e69ba .claude/skills/agentic-delivery/references/cost-quality-guardrails.md @@ -206,8 +206,8 @@ d98f3e4380da3496061ba63be7beebe75017ab4ee1734eda9a3e798e19007b0e .claude/skills 18f20db537ab784460ad33cf218f7a01ac0a172fc38413f14c0e19e1ce6821cc .claude/skills/contribution/scripts/share_learning.py ba2a51bb1c0f94103e37f6d04f3fa092f20c2a86b64bb02b30a93cffd380d9b9 .claude/skills/deep-code-review/INDEX-scripts.md 33eda7bba7ddf4631e902b0798861645da2b673cf116453290a7bd982b49c9aa .claude/skills/deep-code-review/INDEX.md -82c00f5d6d12957b7881eb6dbba19d6e1fdba7315c8f20079d2facc04e690f14 .claude/skills/deep-code-review/SKILL.md -a993481133cf1bfca1ee521623d80e1e04dc623b0d3297ea8383ad590e33b3de .claude/skills/deep-code-review/VERSION +b84867536eae73b992e754a6c50d80a358e92590cef105c71ae053c9cacc4e12 .claude/skills/deep-code-review/SKILL.md +34a449b40a5176c1d4dc31b674eac70ffdb0e2b149ea35e559bd56086aba37e1 .claude/skills/deep-code-review/VERSION b97d95bc93cc23a8bc689e2e23db261a138367bcbc69d2f8a0452d5c2c6dfb68 .claude/skills/deep-code-review/evals/evals.json 13dbb52e4bf61b1093302e094151def167371d26e7cf67a026f3beeb09d34378 .claude/skills/deep-code-review/evals/triggers.json b84e3a2b88dc189f041784e76b97e68ad879915814e00f4b37cd27513746d6f1 .claude/skills/deep-code-review/references/a11y-aria.md @@ -432,8 +432,8 @@ e951eaa63fd0d1870701d69c89c29ef4fe74dbad9b680ab6ef0a4e993fb8bc20 .claude/skills fd316c63bbf1cc0ea64322d7d923d66692eaf7b545c056367bfecca35146c862 .claude/skills/growth-analytics/references/full-map.md 2f1d7499e9ed7ae59f550b5c00043e465b2a4e885821ad153438e2e33fcccb45 .claude/skills/growth-analytics/scripts/readout_check.py 67e71ec40535ad0b3931c51f3decf323bce809ed4c9586c6d422b7ad5698129f .claude/skills/idea-critic/INDEX.md -6435e2eecb7d531e0f55baab8736c4f083155b0737f5192493a23d99cfdf584e .claude/skills/idea-critic/SKILL.md -a993481133cf1bfca1ee521623d80e1e04dc623b0d3297ea8383ad590e33b3de .claude/skills/idea-critic/VERSION +2a56dcaa8dd0df26c6f78b98872efb7fccffd9118cc6ffcf3cc900cbba6a4f63 .claude/skills/idea-critic/SKILL.md +34a449b40a5176c1d4dc31b674eac70ffdb0e2b149ea35e559bd56086aba37e1 .claude/skills/idea-critic/VERSION 9f77d5d6d13c99fd16cd8c398795d8be226d74bae5a5bf65369ed94a59fa56b7 .claude/skills/idea-critic/evals/evals.json 0e1c0db300661a1ab1a427a7157c75e2ed67130ab24d5c6cb02ec3ff9e793f58 .claude/skills/idea-critic/evals/heldout.json d8098c5ced63e8b8608867dd144091049563a0553cf62d27ce05b9d52ac54266 .claude/skills/idea-critic/evals/triggers.json diff --git a/changelog.d/cost-limit.md b/changelog.d/cost-limit.md deleted file mode 100644 index 2ce92b42d..000000000 --- a/changelog.d/cost-limit.md +++ /dev/null @@ -1,2 +0,0 @@ -### Added -- `review_checks.sh --full` now also runs `cost_limit_map.py` (tool `cost-limit`, rule `missing-cost-limit`): an HTTP handler that calls an LLM or paid API, takes an upload, searches, exports, or lets the client choose an uncapped page size, with no rate or quota limit evidence in its file or package. Report-only lead; SKIPPED when the repo has no HTTP handler. diff --git a/changelog.d/dependency-currency.md b/changelog.d/dependency-currency.md deleted file mode 100644 index d9d9fb928..000000000 --- a/changelog.d/dependency-currency.md +++ /dev/null @@ -1,4 +0,0 @@ -### Added -- `review_checks.sh` now runs a built-in dependency-currency step (`scripts/dependency_currency.py`, stdlib only). For each changed manifest, lockfile (direct and transitive), Dockerfile, workflow and runtime pin it reports current, latest stable, how far behind, OSV vulnerability ids (CISA KEV-listed rows first) and an upgrade target read from the registry; it also reports manifest-vs-lock drift, end-of-life runtimes and frameworks (endoflife.date), unpinned images and action refs, and flags vendored directories. A lookup that fails is a `not-checked` (NOT RUN) row, never "up to date". -- Dependency-currency hardening: an unreachable OSV is a `not-checked` row even for a current dependency; yarn berry, pnpm-lock, `requirements*.in`, `pyproject.toml`, Go `replace`, Maven parent/BOM and starter-parent, docker-compose images, `action.yml`, `.nvmrc` aliases, Dockerfile `ARG` tags and Gradle dynamic versions are read or reported; pre-releases below their stable count as behind, npm latest follows `dist-tags.latest`, Maven keeps its `-jre`/`-android` flavor; names are quoted per path segment, responses and files are capped at 5 MB, all registry calls honor `--budget` and crates.io is limited to one request per second. -- Dependency-currency root-cause fixes: requirement files in any directory (`requirements/*.txt`, `constraints*.txt`) and every file they pull in with `-r`/`-c` are read; `setup.cfg`, `pyproject.toml` extras / dependency groups and `Pipfile` drift against the locks in their directory or its `requirements/` subdirectory; `rust-toolchain[.toml]` pins, a root-level `Cargo.toml`, Symfony components (lockstep with the framework), unmapped official images (endoflife.date product of the same name) and Kubernetes manifest images get rows; npm workspaces missing from the lock's `packages`, Maven literal versions that override a parent's managed version or `.version` property, and Gradle versions held in `ext` maps, variables or `gradle.properties` are compared with their lock. diff --git a/changelog.d/dockerfile-chmod.md b/changelog.d/dockerfile-chmod.md deleted file mode 100644 index 52f75ef2a..000000000 --- a/changelog.d/dockerfile-chmod.md +++ /dev/null @@ -1,2 +0,0 @@ -### Added -- `review_checks.sh` flags a world-writable `chmod` in a Dockerfile `RUN` (777, a+w, o+w, including `-R`) as `dockerfile-chmod`, since hadolint, checkov and trivy have no rule for it. diff --git a/changelog.d/hygiene-tier.md b/changelog.d/hygiene-tier.md deleted file mode 100644 index be11b1f56..000000000 --- a/changelog.d/hygiene-tier.md +++ /dev/null @@ -1,2 +0,0 @@ -### Changed -- `review_checks.sh` hides a hygiene tier by default: trivy LOW rows, hadolint info/style rows and a short list of low-value checkov ids (for example KSV-0125) no longer appear in the findings. `--hygiene` shows them again, and a stderr line counts the hidden rows. diff --git a/changelog.d/keyline-primary.md b/changelog.d/keyline-primary.md deleted file mode 100644 index 98b569fed..000000000 --- a/changelog.d/keyline-primary.md +++ /dev/null @@ -1,2 +0,0 @@ -### Fixed -- `review_checks.sh` anchors zizmor rows on the SARIF Primary location (the offending line) instead of the first location, which could be a Related span such as the enclosing job. trivy and checkov rows are anchored on the offending key, and checkov `evaluated_keys` are split on `/` as well as `.`. diff --git a/changelog.d/reportlint.md b/changelog.d/reportlint.md deleted file mode 100644 index 24eb96946..000000000 --- a/changelog.d/reportlint.md +++ /dev/null @@ -1,4 +0,0 @@ -### Added -- `scripts/report_contract_lint.py REPORT.md --root REPO` checks a whole-project security audit report against the honesty contract: required per-standard table, NOT CHECKED, static-vs-runtime and dependency sections, a status on every item, no safety claim (paraphrases included), cited paths and lines that exist, guided passes with examined files and a quoted negative, no pass for a tool under NOT RUN, and at most 40% unexcused not-checked items. The template is the new `references/whole-project-report.md`. -size-budget-raise: .claude/skills/deep-code-review/references/full-map-report.md 2328→2467 one routing sentence to the whole-project report template -size-budget-raise: .claude/skills/deep-code-review/references/security-review-mode.md 10789→11605 the whole-app audit runs the tool pass and writes the report template at every app size (calibration: both were skipped on a three-file app) diff --git a/changelog.d/unbounded-body.md b/changelog.d/unbounded-body.md deleted file mode 100644 index f52b9b946..000000000 --- a/changelog.d/unbounded-body.md +++ /dev/null @@ -1,2 +0,0 @@ -### Added -- `cost_limit_map.py` (the `cost-limit` step of `review_checks.sh --full`) also reports `unbounded-body` (CWE-770): a handler that reads the whole request body (`formData()`, `text()`, `arrayBuffer()`, `request.body()`, `request.files`, a no-size `read()` on a request, stream or UploadFile receiver; `json()` is never flagged) with no streamed byte count or framework body limit, a Content-Length-only cap, or an express/body-parser limit of 10 MB or more. The default 100kb is not flagged. diff --git a/changelog.d/watchdog-landing-branch.md b/changelog.d/watchdog-landing-branch.md deleted file mode 100644 index 6bb60cbb4..000000000 --- a/changelog.d/watchdog-landing-branch.md +++ /dev/null @@ -1,2 +0,0 @@ -### Fixed -- The landing watchdog no longer cries "Landing stalled" on a repo whose default branch is owner-gated and release-only while the merge train lands on another branch. Set the branch with env `PERUN_LANDING_BRANCH` or policy `landing_branch` (for example `perun_policy.py set landing_branch development`); unset keeps origin/HEAD, then main, then master. A branch missing on origin keeps the hook silent. diff --git a/gemini-extension.json b/gemini-extension.json index 2189cab25..01117f2a1 100644 --- a/gemini-extension.json +++ b/gemini-extension.json @@ -1,6 +1,6 @@ { "name": "perun", - "version": "1.644.0", + "version": "1.645.0", "description": "Perun: a skill suite for AI-agent teams: deep code review, token and cost tools, gated delivery, an idea critic and product specialists.", "contextFileName": "AGENTS.md" }