mirror of
https://github.com/garrytan/gstack.git
synced 2026-11-23 00:21:14 +01:00
* Make gstack agents lead every report with what failed, what's unverified and what else changed (GST-1455)
The shared closer asks a status report to stay under 250 words and open with Failed or skipped:, Unverified: and Also changed: lines, each naming every item or none; lists past 10 give the top 10 and a count. Capy's factory.md point 10, the lane report Outcome and READY's lane lines carry the same lines, and point 10 points findings write-ups at ETHOS.md section 8. The wording is GEVA-2's round-3 candidate f83eba4, ported without the retired /investigate rows. factory.md is 4,396 B, so its budget rises from 4,200 to 4,400.
Co-authored-by: capy-ai[bot] <230910855+capy-ai[bot]@users.noreply.github.com>
* Update the ship skill golden files for the new shared preamble id (GST-1455)
Co-authored-by: capy-ai[bot] <230910855+capy-ai[bot]@users.noreply.github.com>
---------
Co-authored-by: capy-ai[bot] <230910855+capy-ai[bot]@users.noreply.github.com>
79 lines
3.8 KiB
Markdown
79 lines
3.8 KiB
Markdown
# READY block
|
|
|
|
Sent by the lane: first the block exactly as `gstack-ship-queue ready --pr <n> --no-screen|--screen`
|
|
prints it, then the lane's own lines. The controller validates every field before the pin
|
|
enters `train build`. A missing or wrong field goes back to the lane, never into a train.
|
|
|
|
The tool's lines (shapes as printed; `screen:` is inserted as the second line under a train policy):
|
|
|
|
```text
|
|
READY #<n> <sha40> STAMP_VERSION=unstamped
|
|
screen: <screen|no-screen> policy=<selection> nonce=<nonce> run=<run id or ->
|
|
pr: <PR url>
|
|
head: <sha40>
|
|
version: unstamped
|
|
base: origin/<BASE>@<base sha40>
|
|
ci: green at <sha12> (passed=<k> failed=0 pending=0 skipped=<s>)
|
|
PREGATE: pass tree=<tree12> head=<sha12> checks=<c>
|
|
gate: command=<"…"|none> full_e2e=<yes|no> gate-ahead=<…>
|
|
SHIP_RECEIPT: pr=<n> head=<sha12> version=- base=<BASE> tree=<tree> session_kind=unattended …
|
|
PLAN: approved <run id> row=<a-…> (…) | exempt <reason> | warn … (<CODE>)
|
|
READY_RECEIPT: <path the tool wrote> (<local and notes-ref detail>)
|
|
```
|
|
|
|
A wave PR (docs/ship-policy.md#wave-prs) adds two lines after `READY`, and the controller checks
|
|
that every constituent named is one the wave was planned for:
|
|
|
|
```text
|
|
WAVE: <nonce> area=<area> branch=wave/<nonce> constituents=<k> integrator_commits=<i>
|
|
CONSTITUENTS: #<n>@<sha12>,#<n>@<sha12>,... (heads frozen; fixes go on the wave branch)
|
|
```
|
|
|
|
Under `changelog_fragments` (docs/ship-policy.md#changelog-fragments) the PR's entry is a
|
|
fragment, `changelog.d/<slug>.md`, never an `[Unreleased]` section or a version, and the
|
|
controller merges with `train land` or `land`, so no slot call follows this block.
|
|
|
|
The lane's own lines, after the block:
|
|
|
|
```text
|
|
pin: <sha40> # the full head SHA, restated
|
|
Failed or skipped: <none | each check, case or step that failed or never ran, and why>
|
|
Also changed: <none | each config, CI or out-of-scope file the PR touches>
|
|
screen choice: <--no-screen: cases <ids> ran focused and passed | --screen: <reason>>
|
|
flaky: <none | case, both run ids, logged in the ledger on <date>>
|
|
review passes: <n> (deferred: <findings kept on the PR, or none>)
|
|
Unverified: <none | each claim the lane did not check itself, and why>
|
|
Head frozen from now on; a push drops this PR from any train and I will READY again.
|
|
```
|
|
|
|
`Unverified:` is required. It lists every claim in the READY that the lane did not check
|
|
itself: a local test that timed out, a paid run skipped, a number a model reported, a claim
|
|
inherited from another thread, and a review finding set aside on an assumption nobody
|
|
tested. `none` means the lane looked for each of these and found none. A missing line is
|
|
asked for as a follow-up message: it never holds a PR out of a train, does not stale
|
|
READYs sent before the line existed, and needs no new `ready` or /ship run.
|
|
|
|
Every number, "green" and "ready" in the block names where it came from (a run id, a commit,
|
|
a command) and is read at the pinned head; anything carried over from an earlier head goes
|
|
under `Unverified:` until it is re-read ([ETHOS.md: write-up checklist](../../ETHOS.md#write-up-checklist)).
|
|
|
|
Optional lines a crew's rules file may require:
|
|
|
|
```text
|
|
gate_run: <run id> tree=<tree12> # when lanes gate on their own machines
|
|
closes: #<issue>
|
|
image: <URL of the key before/after image>
|
|
```
|
|
|
|
Refuse (send back) when: the SHA is short or a fork head; `SHIP_RECEIPT` reads `none` or
|
|
`invalid`, or its head is not the pin; `ci:` is not `green at` the pin; `PREGATE:` is not
|
|
`pass` for the pin's tree; `PLAN:` is missing, says `warn`, or names another plan than the
|
|
brief's `Plan:` line; `--no-screen` names no cases; a flaky case is not in the ledger;
|
|
the PR page is "green" but no block was sent; the evidence offered is a cheap tier.
|
|
|
|
After the slot call the lane answers with the stamped head:
|
|
|
|
```text
|
|
READY #<n> <stamped sha40> STAMP_VERSION=<X>
|
|
```
|