Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
81 changes: 75 additions & 6 deletions .abcd/development/brief/04-surfaces/04-launch.md
Original file line number Diff line number Diff line change
Expand Up @@ -175,11 +175,16 @@ gate, and an uncommitted change refuses the render.

**The emit step ends with the receipts protocol.** After the cut's report, the
render closes with a numbered checklist, composed in the core and carried in
the machine-readable report too: commit the roll, run each semantic gate the
release workflow requires against that commit, key every receipt to it, commit
the receipts on top of the roll, disposition every finding as fixed, invalid or
deferred and commit one open issue record per deferred finding after the
receipts, then prove the gate locally. The gate names come from the committed `release.yml`, the list the
the machine-readable report too: run each semantic gate the release workflow
requires before the roll, the changelog review reading the composed payload
itself, whose prose the roll writes word for word, with the practice run
checking it against the cut, and commit the fixes first, a prose fix in the
payload, so the roll happens once and leaves no revert (iss-2611060603323399);
key each receipt to the commit its reviewer read; roll; carry the receipts to
the roll and review again only what the carry names; commit the receipts on top
of the roll; disposition every finding as fixed, invalid or deferred, with one
open issue record per deferred finding committed before the roll or after the
receipts; then prove the gate locally. The gate names come from the committed `release.yml`, the list the
release job enforces, so the checklist cannot ask for a gate the release does not
require. A workflow that arms no semantic gate gets a checklist that says no
receipt is required.
Expand All @@ -201,6 +206,34 @@ receipt or issue-ledger change, because the release job reads the committed
tree. It exits 0 when the gate would
admit (or nothing is armed), 1 when it would refuse, and 2 on a structural fault.

**A receipt is carried, not reviewed again, over reads that did not change.**
The receipts sub-verb's carry, given the commit the receipts name, moves each
required gate's receipt from the commit its reviewer read to HEAD when no path that gate reads differs between
the two commits as git stores them, rewriting its subject to HEAD and naming the
commit read in `carriedFrom`; a gate whose reads changed keeps its receipt where
it was, and the report names each changed path for its reviewer to read
(iss-2612022218233502, dcn-2612022235231317). No gate reads the working tier;
the docs-currency reviewer reads none of the design record but the archived
release pages and the release-gate manifest; the brief cross-check reads
neither `docs/` nor the cut's own outputs; any other gate reads every path but
the working tier. What each gate reads is decided by HEAD's tree (the release
workflow, the record-lint config and the declared release digest), never by an
uncommitted edit, and a submodule bumped between the two commits counts as a
change whatever its ignore setting says. A receipt already naming HEAD is never
replaced, by one exclusive create. It exits 0 when every receipt was carried, 1
when any was left, and 2 when the sha is not a commit this clone holds that is
an ancestor of HEAD. The release job is unchanged: a carried receipt names the
content commit like any other, so the v0.18.0 cut's four rolls, each running
both reviews again, become one roll and a review of what changed. The local
check holds the receipts to HEAD as the carry does: a gate whose reads changed
between the commit its receipt names and HEAD is refused, naming the paths and
the carry, since the release job judges a receipt by the commit it names and
its released commit can be a merge-queue batch tip (dcn-2612030049218475). That
local check is the only one: nothing after the merge refuses a fix never
carried, so it is kept from the merge only when the cutter runs the check and
merges on its pass. The check judges the repository at the checkout's root,
wherever in the checkout it runs.

`commands/launch.md` carries the emit, compose and ingest orchestration over the
`release-changelog-composer` agent, including the release page's retry loop. The
deterministic emit alone is the cut the preview renders, read-only and
Expand Down Expand Up @@ -955,6 +988,39 @@ account for is armed, so the cut's runbook (`commands/launch.md`) has the
cutting session run the preview again just before it merges the release pull
request, and tell people working in the repository by hand to hold.

The reservation is also the cut's freeze (iss-2612022218224985,
dcn-2612022235359298, dcn-2612022305274369). It notes in the cutting copy's
local tier the commit origin's default branch names as its own fetch left it,
which stands until the cutting copy releases the reservation or finds it
released. Only a reservation made afresh takes one: a renewal, a take-over or a
cut resumed after its lease lapsed keeps the note its copy holds, and a
take-over into a copy that holds none takes none, so a cut resumed there is
never refused for the branch it was already cut from (dcn-2612030049145636).
The ship sub-verb names the freeze and the time since it, or says that this
copy holds none and judges the cut against none, and its roll, the practice run
included, refuses a cut whose base on the default branch (the merge base of HEAD
and the branch the freeze read) is any other commit, and a noted freeze it
cannot read or judge, unless the operator refreezes the cut and says why; the
report carries the reason (dcn-2612030049215303). The freeze judged is the one
noted for the release the cut derives, the tag the ingest holds the composed
payload to, never a tag read out of the payload; a cut the derivation cannot
make is refused before anything is written. Releasing and reserving again,
offered for a note that cannot be read, takes a new freeze at the default branch
as it stands then and drops the old one with no reason recorded. The judgement never fetches:
it reads the branch as this copy last fetched it and names that commit. Read
stale, the branch can pass a cut that took later default-branch commits by a
route that left the tracking branch where it was, and can refuse a cut on the
freeze only in a copy that last fetched before the freeze; a fetch before the
roll ends both, and the named commit shows either (dcn-2612030049145636). A note's branch must be a
plain remote-tracking branch name, never a revision expression. The v0.18.0 cut
set for 01:00 waited until 04:07 for two pull requests because nothing named
the commit it was cut from: with the freeze, a pull
request open at the freeze waits for the next release, and a cut that takes it
says so. The emit step refuses nothing on it, so the cut it previews stays
readable, and a copy with no note cuts as before, since the note is this copy's
alone and a pushed field an older peer's binary does not know risks the
reservation reading as unreadable, which holds every merge.

The hosted release run reuses no test result: its test steps pass `-count=1` on the
tree being tagged.

Expand Down Expand Up @@ -1182,7 +1248,9 @@ Sub-verbs: none.

Sub-verbs: none.

Flags: none.
| Flag | Type |
|---|---|
| `--carry` | string |

### `abcd launch reland`

Expand Down Expand Up @@ -1212,6 +1280,7 @@ Sub-verbs: none.
| `--dry-run` | bool |
| `--fetch-baseline` | bool |
| `--payload-dir` | string |
| `--refreeze` | string |
| `--route` | stringArray |

### `abcd launch smoke-pages`
Expand Down
23 changes: 22 additions & 1 deletion .abcd/development/brief/04-surfaces/37-reserve.md
Original file line number Diff line number Diff line change
Expand Up @@ -563,7 +563,28 @@ renewal and that from five minutes after the lapse any copy reserves the
release again, to resume the cut or, followed by a release, to withdraw it
(`lapsed_releases`, iss-2610241104098581), so no session waits on a holder
that is gone. The subject is `rel-v` and three plain numbers,
with no leading zero and no suffix, so one release never makes two branches. It differs from a record's reservation in four ways:
with no leading zero and no suffix, so one release never makes two branches.
A release reservation notes its freeze in the cutting copy's local tier:
origin's default branch as the reservation's own fetch left it, which the launch
verb's ship step cuts from (iss-2612022218224985, dcn-2612022235359298). The note
stands until the cutting copy releases the reservation or finds it released
(dcn-2612022305274369). Only a reservation made afresh takes one: a renewal, a
take-over or a cut resumed after its lease lapsed keeps the note its copy
holds, and a take-over into a copy that holds none takes none and says why, so
a cut resumed there is never refused for the branch it was already cut from
(dcn-2612030049145636). A take-over stamps the taking copy on the reservation,
so a later renewal there reads like one in the copy that first reserved the
release, and the reservation records no difference. A renewal or a take-over
that finds no note therefore names both ways on: the note of the copy that
first reserved the release, copied across, keeps the freeze, while releasing
the reservation and reserving it again takes a new freeze at the default branch
as it then stands and drops the old one. The reservation says whether its freeze was
noted now or kept from an earlier act, with the time it was noted. A note the
copy holds but cannot read is named, and the reservation warns that the launch
verb's roll refuses the cut until the operator refreezes it with a reason,
never that the cut goes ahead against no freeze. The note is not pushed, because every peer's binary
reads the reservation and a field an older one does not know risks reading as
unreadable, which holds every merge. It differs from a record's reservation in four ways:

- It takes no footprint, and refuses one: it holds every merge, not some
files.
Expand Down
Loading
Loading