- gstack-pregate clear --remote pregate.json/remote_gate --run accepts one verified GitHub Actions run per profile declared by the base branch, allowing a passed remote run for the same tree to clear the remote test gate
- gstack-pregate clear --run option (repeatable) that accepts a run only when it belongs to the repository, ran a push or workflow_dispatch event of the profile's workflow, and its newest attempt succeeded with every named job passing exactly once
- Verification of run evidence against the GitHub API run and jobs, the tree git computes for the run's head, and the tree.json uploaded by the run, requiring it to name the run, attempt, event and head and record the head's tree
- Freshness check on run evidence via max_age_hours (default 24) and check that the run's OS matches the profile's OS
- Refusal of a run when any run of the same workflow on the head that started at or after it failed, was cancelled, or is still running, or when the run changed attempts during checking
- run_profiles and remote_gate_runs settings in .gstack/pregate.json, read only from origin/, with user-owned policies setting them refused
- gstack-pregate verify refuses a run receipt recorded for another tree unless its stamp-only substitution is recorded behavior changed · inferred, marked in the notes below
- Profiled lanes refuse to clear when the base config or GitHub origin cannot be read, instead of falling back to an unverified record
- gstack-pregate clear refuses --bundle-lane for lanes named by a profile, clearing such lanes only through verified runs
- Refusals print REUSE: refused reason= and accepted clears print REUSE: accepted
1 change to check, marked in the notes below
From gstack
A passed GitHub Actions run can now clear the remote test gate for the same tree, so a repository stops running its full suite twice per slot. gbrain paid a 30–45 minute Ubicloud gate and then an 18–20 minute full-ci dispatch on the same tree in every serial slot (GBRA-108). gstack-pregate clear --remote pregate.json/remote_gate --run accepts one verified run per profile the base branch declares. gstack checks each run against the runner's own record: the GitHub API's run and jobs, the tree git computes for the run's head, and the tree.json the run uploaded. Nothing is skipped; the tests still run once, in CI. A repository that declares no profiles is unchanged. gstack-pregate clear --run (repeatable; lib/run-evidence.ts). A run is accepted only when it belongs to this repository, ran a push or workflow_dispatch event of the profile's workflow, and its newest attempt succeeded with every named job passing exactly once. Its tree.json must name the run, attempt, event and head and record the head's tree, and it must be fresh (max_age_hours, default 24) and on the profile's OS. It is refused if any run of that workflow on the head that started at or after it failed, was cancelled or is still running, or if the run changed attempts while being checked. Refusals print REUSE: refused reason=; an accepted clear prints REUSE: accepted. run_profiles and remote_gate_runs in .gstack/pregate.json, read only from origin/. A user-owned policy that sets them is refused. gstack-pregate clear clears a lane named by a profile only through verified runs, and --bundle-lane is refused for such lanes. When the base config or GitHub origin cannot be read, a profiled lane refuses rather than fall back to an unverified record. gstack-pregate verify stays offline and also refuses a run receipt recorded for another tree unless its stamp-only substitution is recorded. Tests: test/run-evidence.test.ts and test/pregate-clear-runs.test.ts cover the refusal reasons, re-run cases, attempt changes, profile assignment, and the profiled-lane matrix. behavior changed · inferred