Skip to content

Release tooling reuse: make smoke_release_tree.py configurable, and close the gaps where check_release_tree.py is weaker than the portal #866

Closed

Description

@fdaviddpt

claude-supertool (#2704/#2705) and claude-jit-context (#436/#437) plan to copy remember's release-branch tooling (#851). The fact-check of docs/releasing.md and the observed portal scans found these reuse gaps:

  1. smoke_release_tree.py is remember-specific. It hard-codes REMEMBER_CLAUDE_BIN, REMEMBER_CODEX_BIN, REMEMBER_* prefixes and hook-errors.log. Move these into .github/release-branch.json, e.g. a smoke block with env overrides, the fake binaries to put on PATH, and the log files to collect, so another repo only edits config.
  2. The check is not a superset of the portal. Gaps found so far:
    • SECRET_IN_SCRIPT: the portal blocked v0.37.0's full tree on the fake fixture keys in tests/test_haiku.py (sk-ant-api03-example, sk-ant-oat-example). Our regex sk-ant-[A-Za-z0-9_-]{20,} does not match them, so only the deny-list keeps them out. Widen the pattern to any sk-ant- prefix, and add a test.
    • MCP_FORWARDS_CREDENTIAL_ENV: the portal flagged README.md, scripts/session-start-hook.sh and plugin.json, none of which our REVIEW lines name (the check skips .md). Consider scanning shipped .md too, as REVIEW only.
    • allowed-tools spelling gaps: from the v0.38.0 release audit (trap.d/859): space-delimited lists, ..-escaped plugin-root paths, and wrapper commands.
  3. The CLI pin (CLAUDE_CLI_VERSION) lives in the workflow. Consider putting it in the config too, with the ≥ 2.1.281 floor documented next to it.

Docs: update the "Reusing this in another plugin repository" section of docs/releasing.md once each item lands.

[AI-generated]

Activity

  1. added
    priority:medium
    lane-other
    on Oct 2, 2026
  2. self-assigned this
    on Oct 3, 2026
  3. added a commit that references this issue on Oct 3, 2026
  4. removed their assignment
    on Oct 3, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    lane-otherpriority:medium

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions