Skip to content

DARZ Agent Gate Check v0.2.0

Choose a tag to compare

@houman44 houman44 released this 24 Nov 07:33
79fec26

Breaking

  • Node 22 or later is required (engines >=22). The Action runs on node24.
  • Records are format darz-record-0.2 (schema/record-0.2.schema.json). Records from v0.1.0 stay format 0.1; their schema is kept unchanged.

New

  • Opt-in GraphQL reader (--graphql-ruleset-roles, Action input graphql-ruleset-roles) for the role names of ruleset bypass actors in check 4. It is the one exception to GET-only reads: fixed query documents, no mutations, the configured host only.
  • Checks 1 and 3 also judge probe paths: a new workflow, a new action, and CODEOWNERS locations GitHub reads first (new_gate_paths_unowned).
  • Check 6 judges candidate gate files as they were at each merge, and reads merges until none can be missing (merges_incomplete at the page cap).
  • OrganizationAdmin bypasses are judged from organisation membership; agent app installation permissions are checked where the token can read them.
  • Agent apps: one slug declared with two ids is agent_app_ids_conflict, two slugs sharing one id is agent_app_slugs_share_id, and a declared id that GitHub's lookup does not confirm is noted in context.
  • Redirects for renamed or transferred repositories are followed within the API URL.

Changed

  • Candidate files are read up to 500 distinct blobs; node_modules paths are skipped.
  • Fixes for false passes found in review, among them check 5 with unresolved agent apps and the classic-protection 404 proof.
  • A test keeps shipped files free of tracker numbers, local paths and personal email addresses.