Skip to content

v0.7.2 — permission checks before credentials, explain locked down, repeat guards (gateway v0.7.2 lockstep)

Latest

Choose a tag to compare

@saubyk saubyk released this 03 Nov 00:20
254f0cb

Lockstep release for gateway v0.7.2.

This action release:

  • pins runtime_ref to gateway v0.7.2;
  • adds an Authorize gateway event step after the runtime checkout. The CLI install and the run step only run if it passes, so a command that isn't allowed never hands the App key or Claude credentials to a step. A runtime older than v0.7.2, which has no authorizer, is let through and checks permissions itself, as before;
  • passes the job token (GATEWAY_AUTH_TOKEN) and the PR author (GATEWAY_PR_AUTHOR) to the runtime, which v0.7.2 requires;
  • adds an optional commenter pre-filter and a commented-out concurrency: block to the template. No input changes.

What the v0.7.2 runtime brings:

  • permission check before any credentials. A command that isn't allowed doesn't install Claude, touch the App key or Claude credentials, or mint a token. It gets no reply; the reason is in the workflow log.
  • /gateway explain needs a maintainer or the PR author. It used to be open to anyone.
  • repeat guards.
    • Explaining the same finding again within 10 minutes is refused with a short reply.
    • Checking the same commit again within 10 minutes gets a 👀 reaction and no new comment.
    • Both are refused before any Claude call. GATEWAY_EXPLAIN_COOLDOWN_SECONDS and GATEWAY_CHECK_COOLDOWN_SECONDS change the windows (0 turns a guard off).

Consumer update: bump both pins, uses: to this release's SHA and runtime_ref: to the gateway v0.7.2 SHA, together. The v0.7.2 runtime fails every command without this action release. Copying the template's new if: filter is optional. Before you do, check that every maintainer's org membership is public: a private member can show up as CONTRIBUTOR and be skipped silently.