Skip to content

fix(#866,#872): close release-tooling reuse gaps and record v0.38.0 portal verdicts - #876

Merged
fdaviddpt merged 3 commits into
mainfrom
fix/866
Oct 3, 2026
Merged

fdaviddpt merged 3 commits into
mainfrom
fix/866

Conversation

@fdaviddpt

Copy link
Copy Markdown
Contributor

Summary

  • Widens the Anthropic API key credential regex in check_release_tree.py so a short fixture key of the shape that blocked v0.37.0's full portal scan is caught, and stops skipping .md files in the MCP_FORWARDS_CREDENTIAL_ENV REVIEW check so README.md's own credential-env-var mentions are reported, the way the portal flagged them.
  • Adds a new REVIEW-only check that flags eval fed by a command substitution and a curl/wget download piped into a shell (including through intermediate hops like tee), the two shapes Directory warning RUNTIME_FETCH_EXEC (download-and-run) rose from 2 to 3 findings on v0.38.0; find the real matches #864 and fix(#864): remove real eval calls from log.sh config cache, reword CHANGELOG/RUNTIME_FETCH_EXEC triggers #875 learned to watch for, without false-positiving on a trailing .sh filename piped into a non-shell.
  • Tokenizes allowed-tools front-matter parsing so a space-delimited list (no commas) is checked entry by entry instead of being merged into one unmatched pattern (trap.d/859's gap). The other two sub-gaps trap.d/859 named -- dot-dot-escaped plugin-root paths and wrapper commands such as env bash or sudo curl -- are intentionally NOT covered here; docs/releasing.md says so explicitly.
  • Moves smoke_release_tree.py's hard-coded REMEMBER_* env var names, scrubbed env prefixes and fake-binary list, plus release-branch.yml's pinned CLAUDE_CLI_VERSION, into .github/release-branch.json so another plugin repository (claude-supertool, claude-jit-context) can reuse this tooling by editing config instead of the scripts.
  • Records the v0.38.0 portal's three remaining verdicts in docs/releasing.md: the four UNKNOWN_KEY plugin.json fields are confirmed harmless, the listing icon is fixed at the plugin's first portal save or submission, and RUNTIME_FETCH_EXEC names files, not lines, explaining why all three of v0.38.0's findings were false positives.

Two review rounds (Explore + oss:auditor, each per agents/developer/review.md) found ten issues; nine were fixed directly, including a changelog fragment that would have self-tripped the widened credential regex once folded into CHANGELOG.md, a download-pipe regex that missed an intermediate tee hop, and a Markdown-code-span edge case in the backtick-stripping logic caught on a second pass. The tenth -- the download-piped-to-shell check also flagging names like sh.exe or sh-wrapper-tool -- is below-bar: no reachable caller is harmed, since REVIEW lines are advisory only, and the module docstring already frames every REVIEW-only check as "a reviewer's judgement call, not a hard rule" (#866).

Test plan

  • Red before green on every behavior change (sk-ant- widening, eval/curl checks, allowed-tools tokenizing, smoke config overrides, CLI-version config) -- see the commit messages and changelog fragments for exact pytest invocations.
  • Full targeted suite: tests/test_release_branch_check_851.py, tests/test_release_branch_smoke_851.py, tests/test_release_branch_build_851.py, tests/test_release_branch_preflight_851.py -- 254 passed, 1 skipped (pre-existing, unrelated case-insensitive-filesystem skip).
  • Real build_release_tree.py + check_release_tree.py run against this repo's own shipped tree: zero new eval/curl REVIEW false positives, zero credential FAILs.
  • Full repo pytest and the cross-platform CI matrix -- not run locally; CI is the gate.

Closes #866
Closes #872

[AI-generated]

fdaviddpt and others added 3 commits October 3, 2026 02:32
…g-drive smoke/CLI version, record #872's v0.38.0 portal verdicts

Co-Authored-By: Claude Sonnet 5 <[email protected]>
…ring/docs staleness, two regex gaps, config-path warning

Co-Authored-By: Claude Sonnet 5 <[email protected]>
… download-pipe-shell check

Co-Authored-By: Claude Sonnet 5 <[email protected]>
@fdaviddpt
fdaviddpt merged commit 25d0c05 into main Oct 3, 2026
16 checks passed
@fdaviddpt
fdaviddpt deleted the fix/866 branch October 3, 2026 01:19
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

1 participant