Skip to content

Garry's Opinionated OpenClaw/Hermes Agent Brain

TypeScript

docs: CONTRIBUTING and the Ubicloud README name the remote-gate reuse path

garrytanb4abb74f7132
diff --git a/CONTRIBUTING.md b/CONTRIBUTING.md
index 671373e419..f815f2baea 100644
--- a/CONTRIBUTING.md
+++ b/CONTRIBUTING.md
@@ -722,7 +722,9 @@ gstack reads both from master, so a branch's edits take effect after it merges.
whole suite). `UBI_OWNER=<thread code> gstack-pregate --stage tests --remote
--spend-cap <usd> --allow-repo-commands` then runs the full Ubicloud gate on
the working tree and clears the obligation from its
- `PREGATE_REMOTE: tree=… tests=… failed=…` line.
+ `PREGATE_REMOTE: tree=… tests=… failed=…` line. On a clean tree whose Test and
+ E2E full runs already passed on GitHub, the line comes from those runs and no
+ VM starts ([remote-gate reuse](docs/ci-event-parity.md#remote-gate-reuse)).
- `.gstack/ship-policy.json`: the stamp rule (the release stamp files and
version patterns) and the migration numbering `gstack-pregate regate` and
`gstack-tree-receipt` use to decide whether a restamped head is the same tree
diff --git a/scripts/ubicloud/README.md b/scripts/ubicloud/README.md
index 8fcbbcc72b..f779e63259 100644
--- a/scripts/ubicloud/README.md
+++ b/scripts/ubicloud/README.md
@@ -14,7 +14,9 @@ matches an already-gated tree apart from the release stamp files needs no new
gate). During development use `bun run ci:ubicloud:diff`, `--lanes` and
targeted suites (`bun test --timeout=60000 <files>`). The gstack pregate remote stage
(`scripts/pregate-remote-gate.sh`, `.gstack/pregate.json`'s `remote_gate`)
-runs the `:diff` form for the same reason. `:diff` narrows only doc-only
+runs the `:diff` form for the same reason, unless the clean tree already passed
+GitHub's full Test and E2E runs, when it reuses them and starts no VM
+([remote-gate reuse](../../docs/ci-event-parity.md#remote-gate-reuse)). `:diff` narrows only doc-only
trees today (doc checks plus gitleaks); any other tree still runs every lane,
so pick `--lanes` or targeted suites when the change is narrow. In a
multi-lane wave, lanes run `ci:ubicloud:diff` or targeted suites, and only