Skip to content

0.70.2 T24: count the Python the gate path runs, at run time, not how scripts spell it (R12 replacement) #4742

Open
0 of 5 issues completed

Description

@noahgift

R12 (#4684) stopped after two review rounds that did not pass on the same findings: a text scan of how tools are invoked does not converge.

This replacement measures at run time instead. A PATH shim for python, python3 and uv wraps every nightly lane and logs each call with its caller; an execve trace catches the absolute shebangs the shim misses. The count of distinct Python entry points the gate path ran lands as a ratchet from the first measured night (head vs base, never worse). It blocks only after three green nights.

Plants: a lane that calls Python through env, through a variable and through a heredoc must each raise the count.

Why P0: it is the mechanism for the operator's ruling that the build is Rust only and Python stays only as external validation.

Status: built on a branch; review stopped after two rounds that did not pass. A third round, or a park to 0.70.3, is the operator's call.

K^ 3. Owner aprender-a7r. Refs #4678. #4684 closes into this issue with a pointer.

Collapsed rows (APR-EPIC-001 rule 20, C334)

Activity

  1. added this to the 0.71.0 milestone on Oct 8, 2026
  2. noahgift commented on Oct 9, 2026

    @noahgift
    ContributorAuthor

    Parked by aprender-triage-worker at cop's order (E1 was 12/10; #5001 and #5002 kept on the critical path). Unlinked from E1 #3998; the issue stays open, milestone unchanged. It has no pushed branch, no open PR, and its owner session (wprodmodels) is at a shell. It re-enters E1 when an E1 child closes. Nothing reads sub-issue membership (checked: no code, workflow or contract), so no gate is affected.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

      Milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions