0
0
# 0040 - The plan: every acceptance entry green, released by CI to prod and stable
Status: the only plan in flight (owner, 2026-11-17); docs/plans/0001-0039 and NEXT.yaml are history. How to run, hold
and debug CI by hand: `docs/ci-debug.md`. The state before this work: main e39097c2 (2026-11-12).
State (2026-11-22; updated by the lead; older history is in Findings and in git):
- Main: stable v0.0.1 = main 324f69a1 (promote 14, v0.0.1-rc3, green 08:39Z 11-21; amd64 394445f3). Roll two, main
7b0afc69: `release` green, `test` RED `gate: staging: 45 of 47 PASS` (19:38Z 11-21), `promote` refused at its first
step; channel rc never moved, prod untouched.
- STAGING IN CI: 45 of 47 at 7b0afc69 (red); last green 47 of 47 at 324f69a1. The list is 48 with this pull.
- PROD IN CI: 31 of 31 PASS at 324f69a1 (promote 14, as prod bob and alice).
- ROLLS: 0 green in a row. Two consecutive greens are owed; between them only the colored help of decision 74.
- Decision 78: no roll while a known cause of gate failure is unfixed. The causes found since roll two are fixed on
five branches, each reviewed, merged as `stack6` 1c028e5d (the Go tree is that of `stack5`), plus the dumbpipe
bump (decision 79): this pull's tree is `bump6` cf34bc81 = `stack6` + the bump. It lands:
- `health-pid` 8e49c3a0 (tests only): `bidder.health` reads the current core process only (roll two's 0008:run
counted the old process's shutdown errors), `logs.fetchRuns` takes its absolute dir, 0014:exhausted counts a
capacity decline. Proven: hand cycle 47 of 47 (stg-031952); in the stack5 cycle 0008:run read errors 0 for a
bidder whose previous (rc186) core logged an ERROR at its stop (0007:fence, 03:45Z 11-22).
- `bid-capacity` c26c0927: the room is decided once per RFP, when its bid is created, on every intake path
(submitRfp and the market stream); a recorded decline is what a later submitRfp answers; the requester's accept
replacement budget is per waiting round and a 409 past it waits for capacity; the ssh gateway's sign-in ends
only once the account's link exists (`bus.AwaitLink`). Proven: on stg-033371 the stream brought every RFP first
and a full bidder never bid (0014:giveup 5 of 5, 0014:wait 7 of 8, the one FAIL a sign-in timeout); all ten 0014
entries PASS in the stack5 cycle. NOT proven: the ssh sign-in wait closes a window: 0 refusals in 30 sign-ins on
the fix, but main 7b0afc69 gave 0 in 40 too (failure not reproduced; worst session wait on main 5.5 s against
the 5 s settle).
- `ingress-rereg` ce2ec862, with the new staging entry `0007:ingress`: a replaced ingress listener's publications
are re-registered, Ready only once dumbpipe listens, no stored build-specific dumbpipe path, no xrpc fallback for
a named IngressProxy that is not registered yet. Proven on stg-033371: 0007:ingress PASS twice and FAIL on main
7b0afc69 as it must, 0007:upgrade and 0007:fence PASS, 0 ERROR lines in 11 bidder core processes; PASS in the
stack5 cycle. A switch between two dumbpipe pins: the bump's proof below. NOT proven: the crash-restart path.
- `signin-retry` ae1db64f: a transient createSession failure (timeout, refused or reset connection, 5xx, 429)
keeps the MarketIdentity Pending and is retried; Failed stays for a refused credential, a DNS not-found and a
certificate error; the core passes its network client, so the intended 10 s per call applies (a 5 s client cut
it). Proven on a local market only (a proxy holding createSession). NOT exercised on staging: 0 retry lines in
the stack5 cycle (no sign-in was slow).
- `stage-budget` 1c028e5d (tests only): a host script states its budget and the test host waits that long plus
120 s (it cut every script at 120 s; the stack5 cycle's one FAIL: the 0007:upgrade stage fetch of the 594 MB
from binary took 119 s). Proven by a local harness (old code cut at 120.0 s, new code completes) and by
0007:upgrade, 0007:fence, 0007:restart, 0006:run, 0008:run by hand on stg-277608 (all PASS). NOT exercised there:
a fetch (the from binary was already on both bidders); why that fetch was slow is not established. In the
stack6 cycle 0007:upgrade fetched for real (17 s at 33 MiB/s, 40 s at 14 MiB/s) and PASSED.
- the bump (`bump6` cf34bc81, reviewed): dumbpipe 0.39.0 -> 0.40.1 (pins, guest image 7e5dc836 with 0.40.1 baked,
the cloud-init default); the guest's setup-iroh fetch is limited to 3 tries of 10 s when the image has a
dumbpipe (worst case 34 s, then the image's own runs) and is main's loop when it has none. Why: in the stack6
cycle `iroh.service` restarted once on bidder-2 (07:12:33Z) and once on the gateway VM (07:29:38Z), each
"Endpoint dropped without calling Endpoint::close", both survived; the claim to check in the stack7 cycle is 0
such restarts. Proven on stg-113817 (`~/.tmp/ingress-rereg/slot6/`): both bidders 0.39.0 -> 0.40.1 with 0 ERROR;
0007:upgrade 324f69a1 <-> bump PASS, the old core listening 8.9 and 8.1 s after its start; 0007:run and
0007:restart PASS; a guest of the bump requester on a bump bidder fetched nothing and runs dumbpipe 0.40.1.
- Hand cycles of the combined tree (full list, fresh network, CI's default input):
- stack4 7b0f1bc3 (stg-033371): 44 of 48. FAIL 0007:upgrade, 0007:ingress, 0014:giveup, 0014:wait, all four from
earlier heads of `ingress-rereg` and `bid-capacity`, each root-caused and corrected (Findings).
- stack5 df3b1c2c (stg-277608): `gate: staging: 47 of 48 PASS`, wall 7311 s (`~/.tmp/cycle-stack5/saved/final/`).
FAIL 0007:upgrade (the 120 s cut; `stage-budget`).
- stack6 1c028e5d (stg-113817): gate: staging: 48 of 48 PASS, wall 7347 s, `~/.tmp/cycle-stack6/saved/final/`
- stack7 43297eda (bump6 + cli-help), stg-513391: stopped as a survey at 10 of 48 done, 9 PASS, 1 FAIL
(09:01Z; `~/.tmp/cycle-stack7/saved/final/`); iroh.service restarts 0 and "Endpoint dropped" 0 on all four
VMs in 54 min. FAIL 0006:run:
one start-up ERROR on bidder-1's first start, "the HostProcess supervisor stopped; starting it again" (sets
`provider` and `applications` both apply APIBinding `policy`; kcp refuses one when they overlap; healed 2 s
later). On main since 2026-10-21; first hit. Fix (owner: a healed retry is not an ERROR): `bind-label`
287b641c: WARN while retrying, ERROR once a failing streak lasts the set apply's deadline (1 min). The four
network VMs fetched dumbpipe v0.40.1 in 0 to 1 s each at stand-up.
- stack8 70321d69 (bind-label + cli-help), stg-858914: stopped as a survey at 3 of 48 done, 2 PASS, 1 FAIL (0006:run on bob3: that line; 09:33Z; `~/.tmp/cycle-stack8/results.txt`). Seen at
its start: one start-up ERROR on bidder-2's first start, "Failed to watch ... the server could not find the
requested resource ... *v1alpha1.Service" (the exposures virtual workspace serves discovery about 0.6 s before
it serves the resource; the reflector retried and healed in 0.4 s). Fix: `start-warn` 00e47278: that reflector
line logs WARN while its streak is under the cache-sync deadline (2 min), ERROR after. No timing shift from the
bump was found (10 local starts each on the stack6 and stack8 release builds); the races follow host load.
Sweep of every saved journal: no other ERROR within 600 s of a bidder core start (`~/.tmp/bind-label/sweep.txt`).
- stack9 1d794a7b (this tree 00e47278 + cli-help): gate: staging: 48 of 48 PASS, wall 7632 s (stg-090117,
09:45-11:52Z; `~/.tmp/cycle-stack9/saved/final/`): iroh.service restarts 0 and "Endpoint dropped" 0 on all
four VMs; dumbpipe 0.40.1 never exited under a running core (0.39.0 did 3 times under the old binaries
inside 0007); the APIBinding race fired once on bidder-1 at WARN and 0006:run passed (startupErrors 0)
- one ERROR "Failed to watch ... context canceled" (controller marketbidder, an apibindings watch) 4 s after
the start of an OLD-binary core (324f69a1) inside 0007:upgrade on stg-090117: no health reading counted it;
first seen; the same controller code is in this tree, cause not established: being root-caused while the
roll runs (lead's call, owner asleep: his order is one green roll by noon);
This one cycle is the out of band run for both pulls (decision 79).
- Open through the next roll:
- a guest still fetches dumbpipe from GitHub at boot when its requester and its image have different versions:
CI's 4 network VMs at stand-up, an old stable CLI on updated bidders, new requesters after a bidder rollback;
setup-iroh's fallback to the image's own dumbpipe is proven locally only;
- an installed ssh gateway re-rendering its iroh-dial HostProcess to the new dumbpipe tree across the upgrade:
proven in prod's layout on hat-8 (`~/.tmp/gw-dial/`): `systemctl restart` of the `--fg` gateway re-renders
the dialer onto the 0.40.1 tree (extracted before the dialer starts), dialer down about 21 s, 0 ERROR, new
connections to 0.39.0 and 0.40.1 listeners PASS, rollback the same; an open session breaks at the restart as
on every release; one host, no real signed-in ssh session
- 0007:upgrade does not assert per-bidder iroh reachability of the from binary (follow-up);
- three outer bounds of the test host shorter than their step's stated worst case (`dev up` 200 s, requester stop
120 s, page-round 900 s): latent, never observed; raising them alone was reviewed NOT SAFE (Findings);
- provision StateSyncs are never deleted; the local market delivers no RFP over the market stream, so a change
to RFP intake is proven on staging only.
- Next: the roll of this pull (release, test, promote); then `cli-help` (decision 74) for the second roll.
- Landed without CI (docs, site): the site from `site/` with `/install.sh`, white pages, build-time highlighting,
the lexicon and XRPC reference, lexicon tables and glossary generated from `lexicons/`; the flow map; plan 0053
(rename to `computer.socialweb.*` and `goat lex publish`, after Done when; decision 59).
- Not in the batch: the DigitalOcean bidder (decisions 47, 68; built, never run against DigitalOcean; paused;
the owner rotates the OAuth secret before it goes live).
- Open, no fix yet: the guest's own release step exits 1 every time (0005); a stable build's version string holds
`-rc`; 0001:run's second node that never joined (11-18); the trace's code findings (findings).
- Compute: prod is hat-7, hat-8, hat-9, hat-10. The DigitalOcean OAuth client secret that sat in the old site's web
root must be rotated by the owner.
## Flow
Every push to main that changes code: `release`, then `test`, then `promote` (decision 43: in series; a roll is
green only when both are):
```
release gate checks, the one build, publish bucket main/<sha>/binaries/{..., SHA256SUMS}
| green
test one ephemeral staging network; every entry
below (48), as staging's own accounts
(drivers alice1..alice4)
| green
promote on the release VM, as socialweb.computer (release-workload):
1. write manifest + version vT-rcN, move channel rc
1b. this commit's `test` check first; anything but success is red (so stable never moves on a red staging test)
2. deploy the socialweb-computer droplet (gateway, ssh gateway) to the same binary
3. wait until every rc-operator bidder heartbeats rcN's sha256 (10 min): the bidders update themselves
4. prod retest: every *both* entry below against prod, as prod bob and alice
5. green: version vT on the same manifest, move channel stable, copy main/<sha>/ to releases/vT/ (no build)
red: at once (no debug hold): move rc back to the version it pointed at before (what this promote rolled
forward from), deploy its binary to the droplet, wait until every bidder heartbeats it; debug from the
run's artifacts
```
A failed, cancelled or timed-out `test` is held for debug (cancelled or timed out: from step 7; before then, a Finding and
a rerun) and fixed in place (`docs/ci-debug.md`) before the next CI cycle. A red, cancelled or timed-out `promote` rolls
back at once (owner, 2026-11-17) and is debugged from its artifacts (`gate-runs`) and fixed before the next cycle; it ends
with `rc` and the droplet on this promote's version (green) or the one it rolled forward from.
Until step 15 lands, `promote.yml` runs only when asked (`asked:`), so main never releases an untested gate; with step 15
(built on branch `step-15`) it runs on every push to main with test.yml's paths. Until step
11 lands, nobody asks it: `scripts/promote.sh` on phase-2 calls the gate in a form the gate refuses (step 11).
## Decisions
- Bidders follow their channel both ways; a rollback is a channel move.
- A hand roll moves prod to a binary that promote did not release; there is none. A host may be reinstalled or repaired by
hand at its channel's current release (e.g. hat-7 as bob).
- The socialweb.computer account (`did:plc:gmlkrhimoueejcertevr4hl3`) owns every `software.release.*` record.
- A bidder is on a release when its own executable's sha256 (heartbeat `version.sha256`) equals the artifact's (its CID is
CIDv1 raw of that sha256). CI's rcs are main builds (`v0.0.0-rc99.0.<time>-<sha>`).
- Stable is cut only by a green prod retest.
- No SKIP state (owner, 2026-11-17): an entry PASSes or FAILs. A module that skips (a missing target field, a missing input,
a partial reading) FAILs the run. Each entry declares where it runs, *both* or *staging* (it fills or restarts the shared
prod bidders, or needs root on a staging host); the gate selects by the target's declared kind (`network` present:
staging; else prod; anything else fails), never by name, and never skips. The list of record is `tests/entries.txt`
(entry, both|staging; shipped with the gate); the Entries table mirrors it and step 6 checks they match; reclassifying
an entry is the owner's decision. A single-entry rerun on a held network (`docs/ci-debug.md`) is debug, never a result.
- An entry's assertions are its runbook's. Loosening one (a fail path removed, a skip turned into a pass, a wider accepted
outcome) needs the owner; any `tests/modules` diff that removes a fail path gets a cold subagent review first.
- Never shrink a list, a target or an input to get a green.
- Work that would turn main red lands only after a hand cycle on a branch proved it green (`docs/ci-debug.md`).
- Accounts (owner, 2026-11-17; the staging names: decision 12): `test` = the staging network's throwaway accounts
(`tests/compositions/staging/accounts.sh`, its README "Accounts"): alice1..alice4 the gate's drivers (one gate slot
each), alice5 the operator of the gateway's requester, bob1 the ssh gateway's operator; the bidders' handles are bob2
to bob<n+1> for the input's `bidders` n (default 4: bob2 to bob5), and 0020's own bidder is bob<n+2>t<tag>.
Prod retest = prod alice (`aliceoa.bsky.social`), bob (`bobvmbuilder.bsky.social`) and john
(`johnandersen777.bsky.social`). Each creds file exports
`<P>_ATPROTO_HANDLE` and `<P>_ATPROTO_PASSWORD` (P = ALICE, BOB, JOHN; on staging the account's name in capitals, `trust.sh`), the password the account's main one (not app-password
format; alice's also `ALICE_CASCADE_APP_PASSWORD`); both sign-in paths read them (testkit's pdsAccount takes the first
`*ATPROTO_PASSWORD`, `target.rs` `password()`; `oauth-signin.ts --account P` the handle and password). What
CI gets: decision 7. Whatever is sealed goes to `refs/heads/main` only, never printed, logged, committed or put in an
artifact. One driver per account: no
hat-8 gate while a promote runs.
- Discovery is always relay, Jetstream or firehose; `bidderDids` only filters it.
- Proof: a CI result is its knotless workflow log link; a hat-8 gate is its summary (RESULT lines) and gate dir, recorded in
`.plans.yaml`; a docs example is the run of its check.
## Versions
```
target T = last stable vX.Y.Z -> vX.Y.(Z+1); no stable -> v0.0.0
rc = rcs of T exist -> vT-rc(max+1); none -> vT-rc0
```
Records (socialweb.computer repo): `software.release.project/socialweb-computer`, `software.release.manifest/<rkey>`,
`software.release.version/socialweb-computer:<v>`, `software.release.channel/socialweb-computer:{rc,stable}`. 2026-11-17:
rc169 (seeded) to rc175 written, channel `rc` -> rc174 (whose promote was cancelled before its retest), no stable.
## Operators
`deploy/release/rc-operators.json` and `tests/targets/prod.json` list the same four, all bob's (`agent-of`
`did:plc:ocnuqjlzgohypj3zoznermms`): hat-8 `did:plc:2l2wdry77c7jtucbslstagkj`, hat-9 `did:plc:4vcig7s43z3nyqrnepmcfzqt`,
hat-10 `did:plc:7fj5jk5jxadrqtc5txp7xitp`, hat-7 `did:plc:kmccrdloxyziyhvga37tdg67` (installed 2026-11-17; john's
`did:plc:7q5lnitxv4meizdon5fmhzrq` on hat-7 is suspended, its unit disabled, its state kept).
Temporary bidders (owner decisions 23-25, 2026-11-18; destroyed 2026-11-19, decision 43, and in neither list): three
DigitalOcean droplets tagged `swc-dev` (c-32, sfo3), bob's: swc-dev-bidder-1 did:plc:4srtkmossz4zzfzszpjpvoww, swc-dev-bidder-2
did:plc:g5oltzb7gm2xiijdt7wazr4i, swc-dev-bidder-3 did:plc:2nwkww3hif5atrybzjpqxbsr. They resolve names through public
DNS (`/etc/systemd/resolved.conf.d/public.conf`): the region's resolver answers the bucket with a private address.
## Entries
`tests/entries.txt` (48; `tests/gate.sh` reads it): *staging* entries run on staging only (17); the rest run on both (31). 0010 (iOS) was
removed (owner, 2026-11-17).
| Entry | Proves |
|---|---|
| 0001:run | tenant cluster on the gateway, kubeconfig + no-expiry revoke, deployment 1 -> 2 -> 1 -> 0, one replica per bidder |
| 0001:s2 | *staging* (root on a staging host): a temporary oauthQr bidder of its own account Ready (iroh + webrtc), removed after |
| 0002:run | `ssh <handle>@gateway` rents a VM as the user; `atirc agent run` transient and held |
| 0003:run | `run request --hold`, ssh over WebRTC fresh and after a restart, no plaintext secrets, released clean |
| 0004:run | agent VM: the owner's mesh node reaches it and it answers; records deleted, DIDs tombstoned |
| 0005:run | outer VM with guest requester R2 Held on a nested VM; the release cascades; R2 tombstoned |
| 0005:b | R2 with a co-located account; the outer VM deleted out of band; both DIDs tombstoned |
| 0005:r2fail | an R2 failed after reporting its DID leaves no live DID |
| 0006:run | every bidder: identity Ready, policy, 0 ERROR and 0 restarts in its first 10 min |
| 0006:compat | the previous rc's CLI (`SWC_COMPAT_REQUESTER` = `sha:<previous rc commit>`) rents and releases against the new servers |
| 0007:run | a VM deleted on its bidder: gone in 2 min, vm.terminated pinned, records deleted |
| 0007:restart | *staging* (restarts a bidder's core): the bidder core restarted in place under a Held VM, its unit unchanged |
| 0007:webrtc | getSecrets over the WebRTC channel (iroh off by the contract's user_data): log and contract say webrtc, files written, nothing left |
| 0007:upgrade | *staging* (every bidder changes binary): a guest placed before its bidder's self-update still gets its binaries from the new core and is Held |
| 0007:fence | *staging* (a bidder changes binary under a running guest): the new core reloads the guest's nftables rules (decision 75); from inside the guest, WebRTC to a guest of the same bidder fails before and works after; its open ssh survives |
| 0007:ingress | *staging* (replaces each bidder's IngressProxy `ingress-iroh` by its MarketBidder's component override, restored): after the last of three replacements the market Exposure listens again (dumbpipe_listening after the last started, a live dumbpipe child) and a run limited to that bidder over iroh exits 0 |
| 0008:run | a VM's timeline on its host, release, vm.terminated, records gone, orphan check on every host |
| 0009:run | the browser page rents per bidder over webrtc, a shell over the datachannel, nothing left |
| 0011:run | atirc deploy gates (binary, /chat, unauthenticated revoke 401) |
| 0011:token | a minted atirc token posts; refused after revoke |
| 0012:run | every examples/infra file dry-runs; VM, Deno sandbox, restart while Held; deletes remove every record |
| 0013:run | long-lived requester: vm1 (iroh + webrtc), sbx1, agent1 (association, answer); restart; clean delete |
| 0013:c | `run requester --with-gateway`: a cluster, a k8s workload on a market node, scale to zero |
| 0013:b | *staging* (root on a staging host): `install requester` as root, Ready, DID kept across a restart, purge |
| 0014:run | *staging* (fills bidders): more rentals than room: 409 CapacityExceeded, next bid, new RFP |
| 0014:concurrent | *staging* (fills bidders): fillers plus four concurrent rentals all placed |
| 0014:exhausted | *staging* (fills bidders): all rentals but one Held, never on a refusing bidder |
| 0014:giveup | *staging* (fills bidders): bidders full: waits in rounds, fails at its deadline |
| 0014:wait | *staging* (fills bidders): bidders full: waits; placed once a filler frees a slot |
| 0014:impossible | a request no bidder can take fails fast with the reason |
| 0014:abandon | an accept whose record is gone: bounded retries, abandoned, one line |
| 0014:backtoback | *staging* (fills one bidder): 6 VMs one after another on one bidder, every one Held |
| 0014:overcommit | *staging* (fills bidders): CPU overcommit capacity honoured exactly (default 2x) |
| 0014:memfit | *staging* (fills a bidder's memory): a guest is admitted only while MemAvailable, less the memory every admitted guest has not taken yet, still holds it |
| 0015:run | a VM fills ~95% RAM and fsyncs for 10 s and survives (no OOM, no reboot) |
| 0015:pressure | *staging* (drives a VM's cgroup to pressure): memory-pressure events fire once per crossing and re-arm |
| 0016:run | a VM boots the requester-chosen image (input `image`, `marker`: `deploy/vm-images/ci-toolchain.json`), marker verified |
| 0016:badsha | a wrong image sha256 is refused by every bidder |
| 0016:bigmarker | a large image marker works |
| 0017:run | a separate release while the owner holds an interactive ssh session: Released in 60 s |
| 0017:killed | the owner killed inside the release: it still settles |
| 0017:killedlate | the owner killed while stopping after Released: summary Released |
| 0017:half | a half-ended invocation is not released by mistake |
| 0017:devsup | 12x `dev down` SIGKILLed then `dev up` at once: every kcp ready |
| 0017:samename | two instances of one name in two state dirs are independent |
| 0018:run | *staging* (tampers a binary on the test host): a tampered downloads tree or build record is healed or refused |
| 0019:run | a rental's `bidderDids` filters discovery, never replaces it |
| 0020:run | *staging* (root on a staging host): an installed bidder follows the rc channel to A, then B |
Last full prod gate: 2026-11-14, main 4d54b2b4 (gate dir `~/.tmp/swc-system-tests/gate/20261114T134403Z`, `results.tsv`):
36 entries, 20 genuine PASS; 11 recorded PASS were skips (0001:s2, 0007:restart, 0013:b, 0014:run, concurrent,
exhausted, giveup, wait, backtoback, 0015:pressure, 0018:run); 0016:badsha's PASS was a 3617 s capacity give-up; SKIP
0010:run and 0017:killedlate (`GATE_SKIP`); FAIL 0002:run, 0013:c.
## Built
1. `bidderDids` filters discovery (`internal/market/requester/market.go`). 0019.
2. The heartbeat names the running version (`heartbeat#runningVersion`).
3. Release lexicons and records (`lexicons/software/release/*`, `internal/atproto/release`).
4. Bidder self-update: an AtprotoRecordWatch on the channel (`release-channel-watch@<profile>`), `internal/releasefollow`,
`install.Upgrade`, restart in place; options `release-channel`, `release-repo` in `--bidder-spec-file`. 0020; on prod
every bidder heartbeat followed rc172, back to rc171, and rc174.
5. Every rental's `bidderDids` is its requester's `spec.bidderDids`; a market network sets its children's. 0012, 0013.
6. Release composition `socialweb-computer-release` (requester repo `modules/release-workload`, session `release`: project,
manifest/version create, channel create + update), named by main's `release` binding.
7. `.knotless/workflows/promote.yml` (`after: [release, test]`, executor `release`, artifacts `gate-runs`).
8. `scripts/deploy.sh`: the binary checked against its sha256 before the move, 3 tries; `bin/previous` kept.
9. Requester port parity (requester repo 481f25e; published 2026-11-17 by `scripts/publish-chain.sh --land`, requester
45211c5: Finding "Step 5 (2026-11-17)"): `wait_capacity_s` defaults to 1800 s; a policy that denied every bid fails
at once.
Every proof above came from runs that counted a skip as a pass: each is proven again by step 10 (staging) and step 11 (prod).
## Steps
Each CI stage change rehearsed by hand first (`docs/ci-debug.md`); release-workload's record logic (steps 12, 15) by its
`modules/release-workload/test.mjs` against a stub session, extended per change; a step's decision is answered before it starts. Phase 2
work lands on main only once a hand cycle on its branch is green.
Phase 1, the means to prove:
0. `promote.yml` to `asked:` only (no push trigger) until step 15; prod stays on rc174 (decision 6); `docs/ci-debug.md`'s
cycle runs on the branch commit and lands only once green.
1. `scripts/promote.sh --dry-run` (prints the droplet deploys, the heartbeat wait and the gate command it would run; runs
none; release-workload writes the records, rehearsed by its `test.mjs`), run by hand on a VM with the release image; `docs/ci-debug.md` gains the promote rehearsal, getting that VM, and the hat-8 gate command.
2. Hand builds go only to `local/<sha>/` (testkit `local:`): `scripts/ci-release.sh` publish and verify (any ref but main
and tags), `scripts/ci-staging-binary.sh` and `docs/ci-debug.md`; `main/<sha>/` is CI's alone, so promote can never
release a hand build. 0020 takes build A from the installed build's own prefix (`main/`, `local/`), no skip path.
3. `AGENTS.md`: the CI table with `promote.yml`; the release pipeline as this Flow (no hand pipeline, no hand rc tags); one
landing rule (remote `swc`, the CI repo); `test` described as it runs; `docs/plans` rules match this plan's proof rule;
comments citing old step numbers (`promote.yml`, `promote.sh`, `acc-0020`); the dead 0010 links (`docs/FEATURES.md`,
`docs/acceptance/0004`, `0008`, `0009`, `tests/testkit/README.md`).
4. One bidder set: hat-7's bidder as bob; `rc-operators.json` and `tests/targets/prod.json` list the same four (prod.json
lacks hat-10: a hat-10 winner fails 0005, 0007, 0008 today).
5. Publish the requester module (built 9: capacity wait, policy denials fail at once); the page (0009) uses it.
Phase 2, staging all green (one branch, hand cycles, then one landing):
6. No SKIP: `tests/gate.sh` fails a run whose module skipped: `steps::skip`, the host's `{"skipped"}` (0017:devsup,
samename), and every partial reading: each module reading that says not read, not applied, not seen, unchecked,
unknown, out_of_band or skipped becomes a fail path (grep every instance: today 0001:s2, 0004 x2, 0005, 0008, 0013:run,
0014, 0015:run, 0015:pressure, 0016); and every check over "each bidder" or the gateway that drops a bidder whose kcp
or `cluster` the target lacks fails instead (today 0001:run, 0003 per-host and winner-host, 0006, 0008 `reach` empty,
0014); an unset `SWC_COMPAT_REQUESTER`, a missing composition; `tests/entries.txt` read; `GATE_SKIP` and entry arguments removed; 0016:badsha requires the fast every-bidder refusal; the runbooks and
`AGENTS.md` lose SKIP (0007, 0014, 0015, 0017, 0018, 0019, 0020, README, AGENTS.md "Full suite against prod").
7. `test` runs every entry through `tests/gate.sh <staging target> --account alice1,alice2,alice3,alice4`
(`tests/compositions/staging/suite.sh`, the drivers of `accounts.sh`): the suite tarball carries
`tests/gate.sh`, `tests/entries.txt` and `deploy/vm-images/`; `GATE_HOST` the shipped test host, `SWC_HEAVY_HELD=1`;
the input's `bidders` (default 4) small bidder VMs hold one default guest each (that many guest slots), so the CI
input is `bidders` 2, `gateJobs` 4 and `freezeTtl` 5 (`scripts/ci-test.sh` `input_default`), and the staging
module sets `GATE_VMS` to `bidders` unless the input names `gateVms`; the gate is one workflow, `test` (decision 43), on
one kcp-test VM with one staging network running every entry, and prints `gate: staging: N of 46 PASS`
(`scripts/ci-staging-total.sh <commit>` reads it back; shares, `GATE_SHARD`, by hand only),
a freeze within `deadlineMin`; 0016's image input; `SWC_COMPAT_REQUESTER` = `sha:<previous rc commit>`; the
gate's summary printed into the step log (the proof), its per-entry logs in the artifact; 46 entries fit `deadlineMin`
and the test step timeout on a push run (entries are never dropped; `deadlineMin` 250 and the step's 300 min); a
cancel or timeout holds the network as a failure does: the knotless fork keeps attach open through `stop:` and takes
the stop budget from the workflow and adds it to the machine's lifetime, and the `stop` job gets the workflow's env
and granted secrets as a step does; the runner's `--step-timeout` (which caps every push run's step) covers test's
and promote's timeouts; deployed by knotless-fork-infra. The `stop:` hook freezes, not releases; single-entry
reruns stay on `swc-test-host` (debug only).
The runner half is deployed (Finding "Step 7's runner half (2026-11-18)"): fork 62c08d7b as
`knotless-fork:62c08d7b2681` with `--step-timeout 18000` (test.yml's step is 300 min, promote.yml's 240). The
runner deployed before it was 4cb9bbb3, not af321883 (Finding "Correction (2026-11-18)"), so the deploy was the
stop change alone. On branch phase-2: `test.yml` `stop_timeout: 50` and `ci-test.sh stop` (freeze, 30 min hold,
then the release). Not proven: the hold on a cancelled run (an asked branch `test`, cancelled, then attached); the
46 entries in CI.
8. Staging layers (design study 2026-11-18; evidence by file:line in git history of this step), in this order:
a. Sign-in tooling: `target.sh`/`trust.sh` write `<P>_ATPROTO_HANDLE` and `<P>_ATPROTO_PASSWORD` into each creds file
and `oauthAccount` into the account (the network PDS has an OAuth server: `internal/atproto/oauth`); deno, node and
Chrome on the atproto VM; 0001:s2 fails at once on a refused sign-in (`s2.rs:88` polled 10 min).
b. Bidders with per-VM cgroups (0015:pressure; the delegation 0013:c needs): a delegated user manager for stg, the
bidders installed as prod's (`install bidder --market-network-file`, decision 9); `vm.memory` runs on the winner's
host, not the atproto VM.
Built: the bidder VMs run `install bidder --handle bob<n> --market-network-file --bidder-spec-file`, their state
on a reflink XFS loop file (`BIDDER_REFLINK`), both in `tests/modules/staging/src/lib.rs`. Seen: 0007:restart and
0020:run PASS on installed bidders (cycle 3). To prove: the reflink XFS (the 0014 fillers, cycle 4).
c. The network's atirc (0011, 0004, part of 0002): `atirc serve --plc-directory-url` on a network https name; the
network value carries `atircUrl`; the target's `atirc`; the host passes `ATIRC_PLC_DIRECTORY_URL` to `atirc token`.
Built: `tests/compositions/staging/atirc.sh` (`https://atirc.stg.test:8443`), `dev up --network-atirc-url`,
`target.sh` writes the target's `atirc`. Seen: 0011:run PASS (cycle 3), 0011:token PASS by hand.
d. The gateway on the gateway VM as its own kcp (`serve gateway kcp`, the network value in its spec): a gateway child
of the network would refuse 0013:c's `run requester --with-gateway`. Names and TLS: decision 10 (ports on the
network's address, the run's leaf `*.stg.test`; no per-name A records). The target's
`gateway.{url,aud,requesterDid,kcp,log}`.
Built: `tests/compositions/staging/gateway.sh up`, in prod's shape: a localRepo requester, the agent of the
operator account alice5 (`trust.sh associate`). Seen: 0001:run PASS by hand (528 s).
e. The ssh gateway on the gateway VM in prod's shape (`public-origin`, web sign-in, `--ssh-operator-did`, the
operator bob1 vouching alice1..alice4); a target field for its web origin (`gateway.sshWeb`; absent, prod:
`ssh.<host>`).
Built: `gateway.sh ssh-up`; `tests/testkit/src/target.rs` `Gateway::ssh_web`. Seen: 0002:run PASS by hand (645 s).
f. The page (0009): `scripts/page-round.mjs` and `web/webrtc/main.js` (requester repo) take the PDS and PLC from the
target; the page, node and Chrome on the atproto VM; `pageRepo`.
Built: CI `release` builds the page (`scripts/ci-page.sh`, `ci-release.sh page`) from the pin `page` of
`tests/compositions/staging/page-tools.json` (requester a5dcb50 on its branch page-staging, atlibs f39c7a7);
`scripts/ci-test.sh host` fetches it and sets `SWC_PAGE_REPO`. Seen: 0009:run PASS by hand with a built
checkout. Not proven: the CI payload (in CI; 0009 with it: cycle 4). Open: the pin is a commit of a branch, not
of the requester repo's main.
g. 0001:s2: decision 8.
Built: `tests/compositions/staging/qr.sh` (`https://qr.stg.test:8446`), the vendored `did-key-associator/` and
`typescript-helpers/` (decision 13), `dev up --network-qr-origin`. Seen: 0001:s2 PASS by hand (130.9 s).
No layer is done: each needs its entries PASS in one gate (step 10). The Findings hold each layer's history.
False passes found, fixed with their layer: 0001:run with no `gateway.requesterDid` skips section 6's orphan and
vm.terminated checks (`lib.rs:204,218`); 0009 passes when its "deleted, now" line is missing (`lib.rs:41`); 0011:token
does not check the revoke's result and counts any failed publish as refused (`lib.rs:83-85`).
9. Staging names, not addresses: in-network PDS and relay traffic on https names (no `hosts` overrides), the target's
`xrpcFront` override gone, the PLC's DNS in its own component.
10. Each staging FAIL root-caused and fixed until a hand cycle is 46 of 46 PASS; then the branch lands and CI `test` is
46 of 46 PASS.
Phase 3, prod:
11. Prove by hand both sign-in paths (pdsAccount, `oauth-signin.ts`) from the sealed creds (decision 7). A CI prod target
the release VM can use: decision 7's secrets (main only) written to creds files (0600, r2-owned), reachable bidder
kcps (the sealed kubeconfigs) and `gateway.log` (`PROD_DEPLOY_SSH_KEY` reaches the droplet), headless Chrome, the page repo,
`SWC_COMPAT_REQUESTER`, per-slot iroh keys; `promote.sh` runs `tests/gate.sh <prod target> --account bob,alice`
(`GATE_R2_ENTRIES` removed); gate plus heartbeat wait fit `timeout: 240` on a push run (step 7's runner limit); `AGENTS.md` records the secret exception.
Today, on phase-2: `scripts/promote.sh` calls `./gate.sh <target> --account bob,alice` (its 17-name list gone) and
`scripts/ci-prod-target.sh` writes the target (Finding "Step 11, the part that needs no network"); neither has run
in CI, so promote is not asked until this step proves them.
To build: the CI prod target; the creds files and the four bidder kubeconfigs (hat-7, 8, 9, 10) from the sealed
secrets; Chrome, deno and the page payload on the release VM (`tests/targets/prod.json` `pageRepo` is a hat-8 path).
12. Promote rolls back at once on red, cancel or timeout (decision 4) and keeps its artifacts. A cancel or timeout drops
the workload mid-run (its red branch never runs: how rc174 was left): release-workload records on each new rc version
the version `rc` pointed at before, and gains a rollback job (`rc` back to it, no new rc, its own session) that
`promote.yml`'s `stop:` invokes (step 7's fork change gives `stop` its env and secrets); every rollback waits for
every rc-operator bidder's heartbeat.
13. CI's own rentals vs the prod retest: no landing on main while a promote runs (a by-hand hat-8 debug run is the
lead's to schedule around); the retest leaves room
for the release VM. With decision 43 `test`'s staging VMs and promote's retest rent from the prod bidders one after
the other; only a push during a cycle makes the next `test` rent with this promote.
14. The hat-8 gate is the debug flow (owner decision 18 and 2026-11-18 again: "just there as a description of how to
debug things"): when a prod entry fails, the lead runs the 30 *both* entries, or the one, by hand from hat-8
against prod (`requester` = `sha:<the commit prod runs>`; the command is in `docs/ci-debug.md`) and fixes the
cause. It gates nothing and is not required after a roll.
15. Stable visible to tools: promote gets the bucket key (`SPACES_*`, main only) and vT from release-workload (today it
passes only the rc's `RELEASE_VERSION`), and copies
`main/<sha>/` to `releases/vT/` before it exits 0; testkit's `release` reads the stable channel (not GitHub `v*` tags);
`release.yml` stops building `refs/tags/v*`; then `promote.yml` back on push (it is `after: [release, test]`:
decision 43; its paths are test.yml's, so a push that skips one skips both).
Built on branch `step-15` (kcp, rebased on main 8857c9f8; requester `step-15`, landed as requester main 11a9892 and
published by `publish-chain.sh --land release-workload`, 4b60786, atlibs f31e5f3, 2026-11-18): release-workload gives
the command `RELEASE_STABLE_VERSION` (its target vT; `modules/release-workload/src/lib.rs` run_handler, test.mjs 8 of
8); `scripts/promote.sh` takes `SPACES_*` out of the environment at its start, asks for them, deno and
`RELEASE_STABLE_VERSION` before any deploy, and after the `test` check and the gate copies `main/<sha>/` to
`releases/<vT>/` (`scripts/copy-spaces.ts`) and checks it from the public URLs (`stable`); `promote.yml` names
`SPACES_ACCESS_KEY_ID` and `SPACES_SECRET_ACCESS_KEY` and is `on: push` (refs/heads/main, test.yml's paths) plus
`asked`; `release.yml` and `scripts/ci-release.sh` build and publish no tag (no `refs/tags/v*` in either); testkit's
`release` reads channel stable -> version -> manifest -> the artifact's url and its sha256 from its cid
(`tests/testkit/src/requester.rs` `Records`), `release:<version>` that version's record. Finding "Step 15 built".
Phase 4, then the rolls:
16. MOVED to `0041-after-the-pipeline.md` step 1 (owner, 2026-11-18): atlibs port parity of the Rust compose host.
17. A docs checker: blocks marked to run (`run=gate`, as atlibs) in the docs it lists (atlibs `docs/`, kcp `README.md`,
`docs/quickstart*.md`, `docs/deploy.md`, `docs/bidder.md`) run in CI and pass; prod-acting and debug docs are out of its
list.
Built (branch step-17): `scripts/check-docs.sh`, run by `deploy/check.sh` (so by `release`'s checks step). A page's
`run=gate` blocks run in one `bash -euo pipefail` shell from the repository root; a `run=gate` block that is not
bash or sh fails; other blocks are not run (`--list` names them). Today the five kcp docs hold 57 blocks, none
`run=gate` (step 19 marks them), so the check passes on nothing. atlibs `docs/` runs only with
`ATLIBS_REPO=<checkout>`: CI's checks step has no atlibs checkout or wasm toolchain, so atlibs' 10 `run=gate`
blocks (f39c7a7) run in no CI yet; two cannot pass as written (`docs/browser/oauth.md:231` js, an interactive
sign-in; `docs/transports.md:56` `<an iroh ticket>`): step 18.
18. MOVED to `0041-after-the-pipeline.md` step 2 (owner, 2026-11-18): atlibs docs and examples.
19. MOVED to `0041-after-the-pipeline.md` step 3 (owner, 2026-11-18): kcp docs and examples.
README install (owner, 2026-11-19): no version and no checksum in the docs; the example resolves the `stable`
channel record, takes the binary and its sha256 from the release record, verifies, installs. Stable v0.0.0
exists since roll one, so this does not wait for roll two: branch `docs-0041`, landed with the docs.
20. One pins source: `scripts/publish-chain.sh` (requester repo) already writes john's, alice's and socialweb.computer's
`com.fedfork.exec.pins/atlibs` from one pin set (Finding "Step 5 (2026-11-17)"). Left: check the three records
equal after a publish.
Built (branch step-17): `scripts/check-pins-records.sh` (`go run ./hack/pinsrecords`), run by `deploy/check.sh`:
the three records read without a credential, equal apart from `createdAt`, else it fails; 2026-11-18: equal. It
does not compare them with atlibs `pins.json`, and `publish-chain.sh` does not call it yet.
21. Two consecutive green CI rolls (Done when 3), the last step.
### Secrets over the peer transports (in the batch; decisions 52, 61, 64; branch `secrets`)
Design (findings "SECRETS OVER THE PEER TRANSPORTS"): getSecrets stays one XRPC service with its workload identity
check; the transports only carry its requests. Channel order: iroh (every guest has dumbpipe; iroh relays cross NAT),
then WebRTC (STUN only: a symmetric NAT defeats it), then https to the requester ingress, then the sealed record only in
comms mode Firehose. WebRTC: the requester OFFERS with its existing WebRTC ingress service (`ingress/webrtc.Service`,
the one bidders answer) over the existing sealed guest signalling (`guest.publicKey` and `guest.signalWebRTC`, tag
`requester`, through the bidder): no new record type; the guest agent answers with `ingress/webrtc.Peer` and opens the
datachannels that carry the HTTP. Guest plumbing: the agent serves `/run/socialweb-guest-agent/requester.sock` (root
0600, unix only); setup-secrets asks it first, then https.
1. kcp requester: a Service `svc-requester-<name>-iroh` (named handler `iroh`) behind IngressProxy `requester-iroh`
(provider iroh), the bidder's pattern; a guest WebRTC ingress service; `user_data` `/etc/socialweb-guest-agent/requester.json`
{iroh ticket, WebRTC ingress id}; the channel of each fetch recorded (`status.secretsFetchedVia`, reasons
`GetSecretsIroh`, `GetSecretsWebRTC`, `GetSecretsHTTPS`).
2. kcp guest agent: `requester.json` makes the bidder install it; the socket proxy, iroh through dumbpipe connect,
WebRTC through `webrtc.Peer`.
3. kcp setup-secrets: the socket first, https second; the sealed path unchanged (Firehose only).
4. atlibs: no change in this batch: no atlibs crate or module serves or fetches getSecrets (kcp's iroh and WebRTC here
are its own Go packages); the atlibs transports (`transports/iroh`, `transports/webrtc`, Rust and JS) change with
the browser and embedded requesters after the two rolls, when they serve getSecrets over a peer transport. No pin moves.
5. Tests: 0007 asserts the channel (`requester_guest_secrets_fetched` `channel`).
6. Proofs, local market (test-0001): https unavailable: iroh, then WebRTC with iroh off; both off: https; all three off
(not Firehose): Failed, exit 1, nothing sealed; the owner's `--secrets <(jq ...)` command; skew with the stable binary.
7. Closed (owner, decision 69, 2026-11-20): the requester's iroh ticket in `requester.json` stays PUBLIC, as the
bidders' are (it is in the public `compute.vm` record; the IngressProxy publishes the relay-only
`clusterlink.ShortTicket`). No per-contract key, no sealed ticket, no dialer check in this batch; verifying the
dialer's iroh id is in docs/security/proposed-controls.md, after roll two.
## Owner decisions
All answered 2026-11-17.
1. No SKIP; 0010 removed; the 13 *staging* entries run on staging only (they fill, restart or install on prod hosts that
also carry promote's own release VM); staging proves them on the same binary.
2. Pushes to every repo we own are approved and expected: commit and push as we go.
3. 0011, 0002, 0004 on staging use the network's own atirc (step 8; prod atirc cannot resolve the network's DIDs).
4. A red, cancelled or timed-out promote rolls back at once, no debug hold; debug from its artifacts.
5. No memory right-sizing step: a VM that runs out of memory is a failure, root-caused in the step it breaks.
6. No baseline: a rollback goes to the version that promote rolled forward from (none is clean yet). prod stays on rc174.
7. Sealed to `refs/heads/main`: alice's and bob's handle and main password, and the prod target's other access: the
bidder kcp kubeconfigs (hat-7, 8, 9, 10) and the bucket key `SPACES_*` (step 15); `PROD_DEPLOY_SSH_KEY` and
`ATIRC_AGENT_CONFIG` are already sealed.
8. (answered 2026-11-18) 0001:s2 on staging: a QR associator runs inside the network (`network.qrOrigin`) and the
temporary bidder is installed with `--market-network-file`; the entry stays *staging*.
9. (answered 2026-11-18) Staging bidders are installed like prod: `install bidder --market-network-file`.
10. (answered 2026-11-18) Staging service names keep ports on the network's address (`gateway.stg.test:8444`,
`ssh-web.stg.test:8445`, `ssh-gateway.stg.test:2222`, atirc `:8443`; socat on the atproto VM forwards to the
service). No per-name DNS records, no change to the guest firewall rule. This replaces step 8d's per-name A records.
11. (2026-11-18) The merge queue keeps the squash. Finding "Owner, 2026-11-18: the merge queue keeps the squash": "The
fork branch `queue-fast-forward` stays unlanded and undeployed; landing phase-2 squashes the vendored repos'
commits into one (their history stays on the phase-2 branch and upstream). The hold on landing for it is lifted."
12. (2026-11-18) Staging accounts are named aliceN (requester side) and bobN (bidder side). Finding "Owner,
2026-11-18: staging accounts are named aliceN".
13. (2026-11-18) did-key-associator is vendored into this repo under `did-key-associator/`, with its history, and
prod's qr.fedfork.com deployed from the vendored tree (Finding "did-key-associator vendored (owner, 2026-11-18)").
14. (2026-11-18) B3: expose `DPoP-Nonce` to browsers ("make it so"). On B1 and B2 the owner's words were questions:
"we have DNS, can't you use it?" and "same, DNS what happened to it?"; the reading built from them is the lead's
(below). Finding "B1, B2, B3 built".
15. (2026-11-18) PDS account creation: "Own account only": a requester's, bidder's or gateway's own PDS refuses
createAccount from outside; a market network's PDS (staging's test accounts) stays open. The vault plugin's guard:
"Fix it". Built: `fix-pds-own-account` (main + fix) and merged into phase-2.
16. (2026-11-18) The foreign accounts on prod: "just remove them", data included, without auditing them first; and
"Remove the evidence you collected". Done on every prod host and the hand runner.
17. (2026-11-18) The PDS fix rolls to prod BY HAND: "you roll this one and this one only by hand". The bidders follow
channel rc, so: "Move rc by hand": published as v0.0.0-rc176, rc moved to it. No other release is cut by hand. The
fix must land on main before any promote is asked.
18. (2026-11-18) The hat-8 prod gate is the lead's by-hand debug run of the prod gate, not a status line of its own.
19. (2026-11-18) The prod gate from CI (step 11): NO route from the CI VM to the bidder hosts ("we didn't okay that").
Instead: "expose some read only metrics/logs routes protected by some shared secret we provision into the CI so
those tests still have what they need. Keyword READONLY". GET only, fixed shapes, bearer secret, on the public
XRPC name the bidder and gateway already serve; bidders discovered, no hand-kept host list in the prod target.
20. (2026-11-18) 0005 and 0007: "that specific piece of the test that needs the write can run only on staging": the
VM delete on the bidder's kcp. The rest of each entry runs on prod and ends PASS or FAIL.
21. (2026-11-18) 0003: "Yes okay to make that 0003 change": each round is steered by naming the bidder's discovered
DID in the request (bidderDids), not by pausing the other bidders; its assertions unchanged.
22. (2026-11-18) More staging bidders for throughput: the bidder count becomes a stand-up input, default 4 (owner:
"Can't we provision more staging bidders during staging to increase throughput?"); branch `stg-bidders`.
23. (2026-11-18) Deadline: done within 12 hours (by ~03:00Z 11-19). "Yes you have permission to run in CI instead of
by hand and hold it and debug it there": phase-2 lands on main without a fully green hand cycle first; a failed CI
test run is held and fixed in place. More compute: two droplets tagged `swc-dev` (doctl), bob's bidders, destroyed
when the plan is done. Docs and plan are updated as part of each change ("always"). (superseded by 43,
2026-11-19: the droplets are destroyed)
24. (2026-11-18, "Yes on all fronts") (a) The staging gate is split across two staging networks run side by side in
CI: the same 43 entries, none dropped, each network a share (the run-alone entries split too); a third `swc-dev`
droplet for headroom. (superseded by 43, 2026-11-19: one network, one `test` workflow; the droplet destroyed)
(b) The first promote is asked as soon as the read-only routes are on main, without waiting
for a green staging run on that commit (a red promote rolls back at once). (c) 0004 and 0013 FAIL when the agent
never posts `<nick> online`. (d) qr.fedfork.com is redeployed from the vendored `did-key-associator/` so its scope
list matches the current build.
25. (2026-11-18) "You may split into more staging networks and spin more droplets as needed to parallelize further":
the shard count is an input (CI default 4 networks), `swc-dev` droplets are added as the measured need shows; three
exist (swc-dev-bidder-1..3, c-32, sfo3, $1/h each), all destroyed when the plan is done. (superseded by 43,
2026-11-19: one network in CI; the droplets destroyed)
26. (2026-11-18) The staging stand-up: "Why not just boot that one or make a third? And yes make install parallel": a
third VM image with the suite's tools (Node, Chrome, Deno and their libraries) baked in, keyed by its pins, built
and published by `ci-release.sh` like the other images; the bidders' install steps run for all bidders at once.
Branch `fast-standup`. Measured before (hand cycle 4, two bidders), rent to first test 8 min 34 s: rent and boot
2:39, overlay and accounts 0:44, bidders to Ready 2:19, gateway/atirc/QR 2:26, suite and tools 2:45. (The lead's
earlier "25 to 30 minutes" was unmeasured and wrong.)
27. (2026-11-18) The read-only ops routes, after the independent review: "one secret for all" (one shared secret for
every bidder and the gateway; no per-host derived secrets); the routes answering about every tenant's VMs and logs
to the holder of the secret is "Expected": "take no action" (no per-tenant allowlist). The `swc-dev` droplets get
no host firewall ("No on firewall addition"). (droplets superseded by 43, 2026-11-19: destroyed)
28. (2026-11-18, AskUserQuestion: "Run alongside") Promote runs alongside the staging test on every roll: it starts
when the build is done; prod gets the build before staging has passed it; a red promote rolls back; a roll is
green only when both the staging test and promote are green (promote does not end green while the same commit's
staging test is red or missing). Built on branch `step-12`. (superseded by 43, 2026-11-19: promote runs after
`test`, `after: [release, test]`)
29. (2026-11-18, AskUserQuestion: "Take it as built") 0014:impossible's fix: a candidate with no fresh heartbeat does
not hold an unservable request open; the request fails at once when every bidder with a fresh heartbeat is too
small (a big bidder mid-restart: the requester asks again). The relay still listing a removed bidder is left open.
30. (2026-11-18) Questions to the owner go through the question tool only (he gets no notification of prose).
31. (2026-11-18) Each share of the split staging gate runs on its OWN CI VM with its own associated guest requester
("Can't each set use its own associated requester?"): one test workflow per share, side by side after the build;
no shared requester and no test-host change for it (a guest has one associated requester:
internal/market/requester/association.go, "the guest already reported"). The 43 is the total of the shares' logs.
(superseded by 43, 2026-11-19: one `test` workflow, no shares in CI)
28. (2026-11-18, AskUserQuestion, "Run alongside (Recommended)") CI's promote runs alongside the staging test on every
roll instead of after it: promote starts as soon as the build (release workflow) is done, in parallel with `test`;
prod gets the build before staging has passed it; a red promote rolls prod back automatically; a roll counts as
green only when both the staging test and promote are green. Built: `promote.yml` `after: [release]`;
`scripts/promote.sh` waits for the commit's `test` check after a green gate and exits 0 only on success.
(superseded by 43, 2026-11-19: promote runs after `test`, `after: [release, test]`)
32. (2026-11-18) "Let's stop fiddling with our flow for timing wins and just focus on our goal": no NEW timing work.
The three timing changes already built go in ("I want all three if we already built them"): promote alongside the
staging test (28), the split gate with one CI VM per share (24a, 25, 31), the staging image with the reordered
stand-up (26). Not started and not to be started: baking the guest image into the staging image, a faster build.
(promote alongside and the split gate superseded by 43, 2026-11-19: in series, one network)
33. (2026-11-18) Scope of this plan: "numbers now, rest after. Once we have solid CI/CD everything else is easy":
43 of 43 staging, 30 of 30 prod, two green rolls, with step 15 (stable visible to tools) kept. Steps 16, 18 and 19
and the open items are moved to `0041-after-the-pipeline.md` "so they stay out of this goal".
34. (2026-11-18) Work off main ("part of what's hurting our timing is you keep using lots of branches"): small checked
changes land through the queue; no long-lived side branches. `release` gets the test workflows' `paths:` filter
("fix path filter NOW"): a docs-only push builds and tests nothing. The plan doc holds the plan only; the working
notes are `0040-findings.md` ("move all that stuff that's not the core plan into its own file").
35. (2026-11-18, AskUserQuestion: "Yes, land it") On prod the read-only ops routes are read over the bidder's public
iroh market endpoint (a prod bidder's offering has an iroh and a webrtc endpoint, no https one): the requester's
own transport, the same GETs and shared secret, no host ssh, no new listener. The gateway's route stays https.
36. (2026-11-18, AskUserQuestion on 0013:run failing as bob on prod) "the vouch policy mode must also trust the own
user and their associated DIDs/agents to N levels down": under the vouch policy a party trusts whom its operator
vouches AND its own user with that user's verified agents, agents of agents included. The policy spec gets the
cases; 0013's precondition follows the same rule; a gap in the product against this rule is a finding to fix.
37. (2026-11-18, AskUserQuestion: "Both") The orphan guest-requester VM (0005:b: the outer VM deleted out of band, the
guest requester's own rental left on the bidder until its association's 24 h expiry): the product ends a VM once
its requester's association no longer verifies, AND the test host may delete VMs rented by a guest requester its
own run associated. Branch `rc-0014b`; the product change gets an independent review before it lands.
38. (2026-11-18) The hat-8 gate is not a done-when item: "just there as a description of how to debug things which is
already what you are doing". Done when 2 is CI's promote, 30 of 30. Target for today: roll one green by 5:30 PM
Pacific (01:30Z 11-19): "if the roll one lands by 5:30 then I'll be happy".
39. (2026-11-18, AskUserQuestion) No rotation of the seven CI secrets whose sealed copies sat on knotless.dev. The prod gate gets more drivers: "You can add john and socialweb.computer". The two-grants question of the orphan-VM fix: "Decide later" (plan 0041).
40. (2026-11-18, AskUserQuestion) Promote 8 (its test-4 had failed at stand-up): "Cancel it now".
41. (2026-11-19, AskUserQuestion) The bidder's one startup ERROR line after a roll (its own schema apply cancels a
watch opened on the old definition; 0006:run and 0008:run require zero): "Gate only for now": the provider waits
for the schemas its binary carries; what is logged does not change and neither does the assertion; revisit with
evidence if the line recurs.
42. (2026-11-19, AskUserQuestion) The renter retires a guest requester's did:plc that was reported but never
verified (0005:r2fail) only when its document also names this contract's handle, beside the renter's rotation key
and `agent-of`: "If Approve the check is correct then go with that. If you are unsure about it for any reason keep
digging". An independent security review found it correct and necessary (without it a guest could have another
contract's guest or an associated identity retired): approved.
43. (2026-11-19) "We are no longer under time constraints. Can you spin down the DO swc-dev droplets we were using
for bidders and move staging and prod-test back into series instead of parallel, all staging in one workflow and
prod in the next or however it used to be so that we don't need as much compute although it might take longer."
The three droplets are destroyed (07:20Z 11-19); prod is hat-7, hat-8, hat-9, hat-10. This replaces "promote
alongside" and the four shares (decisions on shards and drivers stand only as far as four home hosts carry them).
44. (2026-11-18) The kcp docs (plan 0041 step 3) now: "extremely minimal wording and mostly known working runnable
examples to run the bidder requester in different ways". Branch `docs-0041`.
45. (2026-11-19) "our readme still shows the old rc, how do we make it just always show how to download the latest
version?": the README follows the stable channel record (step 19's note).
46. (2026-11-19, AskUserQuestion) The old /fancy/ pages: "Restore and update but in the style/theme of
console.socialweb.computer - also make the root page that same terminal like styling". The site keeps the
owner's own text, his demo video near the top, his diagrams, one repo link named "source", no "Verified"
sections on user pages ("this is end user facing").
47. (2026-11-19, AskUserQuestion) The hosted DigitalOcean bidder: "Write code in socialweb-computer-kcp to fill out
whatever kcp native abstractions we need to make the DigitalOcean based bidder a reality again within our new
architecture, then put the link back and redeploy - dispatch fable subagent to do this - once the deployed
version is working then land the commit on main and push".
48. (2026-11-19, AskUserQuestion) The protocol diagram's stale label: "Change that label".
49. (2026-11-19, AskUserQuestion) Docs: "we just care about having the requester/bidder association modes as copy
pastable examples with how to do the association and also ... the mode where the account itself is used"; is
QR sign-in still supported; and `run request --name vm1 --exec id -- --atproto-oauth-qr`: "why is the
--atproto-oauth-qr flag behind exec and the double hyphen? ... usually it would be `socialweb-computer run
request --name vm1 --atproto-oauth-qr --exec -- some-command --with-that-commands-args`".
50. (2026-11-19) "make sure we have docs on the full protocol flow and how everything works in docs/": `docs/
how-it-works.md`, `docs/protocol/{flow,release,glossary}.md`, the older protocol pages corrected in place.
51. (2026-11-19) "make sure we are always testing out of band before we land through pull requests / merge queue
from now on so that our CI/CD ensures via the work we did in 0040 that users always get the latest stable
release.": every change under the workflows' paths is run by hand off CI first (a local market, a held staging
network, a hand prod entry, a module's own test) and the pull says what was run and seen; then the pull and
the merge queue, one code change per cycle.
52. (2026-11-19) Secrets: "We are still using iroh or webrtc as primary channel for secrets right and falling back
to the secrets in record ONLY if the ONLY way we have to communicate [is] the firehose/jetstream/relay correct?
If not correct fix it"; the page's `--secrets` example must work as written. Branch `secrets`.
53. (2026-11-19) The site: the root page's background plain white; the Quickstart installs by `curl -sfL <knotless
raw URL>/scripts/install.sh | bash -e` and a PATH line.
54. (2026-11-19, AskUserQuestion) 0013:run on four home hosts (the gate's machine and its rental on one host: UDP
to the host's own addresses is dropped by the per-guest nftables bridge prerouting rules; the router has no NAT
loopback): "nftables: allow WebRTC range": one accept rule per guest: UDP from the guest's tap to the host's own
addresses with destination port in the bidder's WebRTC port range; every other port stays dropped. He asked
for technical terms in place of "fence".
55. (2026-11-19) The site: `curl -sfL https://socialweb.computer/install.sh | bash -e`; every docs page's
background plain white; code highlighted at build time, not client side; `COMPUTE_CONTRACT_FLOW_MAP.md` brought
into docs and updated for the current lexicons; the lexicon and XRPC reference laid out after
cocore.dev/docs/lexicons, "firmly in our theme/css/style".
56. (2026-11-19) "so can we land a rebase on main with everything we've done once we have a batch": yes: the reviewed
branches are rebased into ONE landing, run out of band first (decision 51: a hand staging cycle and the hand
prod entries on the batch), then one pull; the roll after it is the help text change (Done when 3). This
replaces "one code change per cycle" for this batch.
57. (2026-11-19) "are we using my account in CI anymore? should just be alice and bob now correct?": the prod gate
drives as bob and alice only; john (added as a third driver on 11-18, decision on drivers) is removed from the
gate, the CI target and the sealed secrets.
58. (2026-11-19) "so we should make the lexicons part of the docs generated from the lexicons": `lexicons/` is the one
source of lexicon docs (site reference, includes, generated glossary); missing and wrong lexicons are fixed on
`lexicons-fix`, in the batch.
59. (2026-11-19) "after we hit two stable CI/CD rolls we're going to s/com.publicdomainrelay.temp/computer.socialweb/g
and publish using `goat lex publish`": not in this plan; its own plan (branch `plan-nsid`), started after Done when.
60. (2026-11-19) "Ya i want the CLI layout and secrets inside the two rolls": the batch for roll one carries the
`cli-args` and `secrets` branches (after their review fixes and hand proofs) with the prod fixes, the nftables
rule and `ci-no-john`; prod bidders move off the `-- --atproto-oauth-qr` drop-in before that roll.
61. (2026-11-19) "well direct is probably over iroh or webrtc now": it is not (getSecrets is https to the requester
ingress; on prod the ingress relay ends TLS). Asked, the owner chose "Inside the two rolls": getSecrets is
reached over the iroh or WebRTC peer transport, in the roll-one batch (`secrets` branch).
62. (2026-11-19) "land all our in flight stuff on main so we have no more stray branches. then resume work on two
clean rolls": every in-flight branch (rc-reads, ci-no-john, secrets, cli-args, lexicons-fix, rc-cap, rc-pins,
rc-writes, do-bidder, docs-assoc) lands in the batch, each reviewed and run out of band first; merged and dead
branches on `swc` are deleted; then the two rolls.
63. (2026-11-20) "land fast-standup under a plan after the two rolls, remove those three unused lexicons":
`vm.registerIdentity`, `vm.started` and `mesh.roster` are removed on `lexicons-fix` (in the batch); branch
`fast-standup` (staging VM image, parallel stand-up) stays until its plan after Done when (plan 0041).
64. (2026-11-20) secrets over the peer transports, asked: "Both now, make sure you make the needed atlibs* updates
too and incorporate that in plan": getSecrets over iroh AND WebRTC in the batch, with the atlibs transport
changes and pins; https to the requester ingress stays the second choice; the sealed record only when the relay
is the only channel; the embedded and browser requesters keep the sealed record until after the two rolls.
65. (2026-11-20) the ingress relay accepts a registration signed by any key and does not compare the token issuer
with the identity registered (found by the lexicon work; confirmed in `internal/atproto/ingress`). Asked, the
owner chose "Build, prove, deploy now": only a signature by the key being registered counts and the token
issuer must equal it; branch `relay-fix`; reproduced on a local relay first; the relay is deployed by hand.
66. (2026-11-20) controls on what arrives through a route, asked: "1, 2 and 3": (1) a guest writes secrets only at
clean absolute paths, creates only missing folders, honours the mode (`secrets`); (2) the requester fetches each
bid from the bidder's own repo, never from a reply; (3) record reads check the bytes against the CID asked for
(both on `route-trust`, based on `rc-reads`). Not approved: signing or sealing the getSecrets answer, a
single-use guest token (proposed-controls).
67. (2026-11-20) "yes OAuth requesters should write offers, add the scope": the requester's OAuth scope gains
`repo:com.publicdomainrelay.temp.ingress.webRTC?action=create` (`rc-writes`); an old session keeps working over
HTTP callbacks until it signs in again; the lead does the consents for our accounts.
68. (2026-11-20) "move DO bidder to after roll two, pause work and document": branch `do-bidder` is out of the
batch; its state and resume steps are in its plan 0042 on that branch; resumed after Done when (plan 0041).
69. (2026-11-20) the requester's iroh ticket for getSecrets, asked: "Public, as bidders do": it stays in public
user_data; nothing verifies an iroh dialer on either side (dumbpipe cannot); calls are authenticated at the XRPC
layer. Verifying the dialer's iroh id: proposed-controls, after roll two.
70. (2026-11-20) the bidder's OAuth scope, asked: "Yes, add it": `ingress.webRTC?action=create` is optional in the
bidder scope too (`rc-writes`), so an OAuth bidder can write its answer record.
71. (2026-11-20) bid signatures (prod bids are signed by an attestation key bound by an unsigned `badgeBlueKeys`
record read through the route; a bid by callback wins unchecked; any key verifies a receipt), asked: "Bids and
receipts, in the batch": every bid is signature-checked before it is queued, receipts get the same binding, and
the binding record is read with its repo commit verified against the DID document's key (`route-trust`).
72. (2026-11-20) the guest's requester socket, asked whether it forwards only getSecrets with a body cap: "Forward
everything": no path restriction and no added cap (`secrets`).
73. (2026-11-20) "we have to close the little free memory potential failure gap, we should serialize VM start
requests on a bidder so that we reject if starting one means the next won't have capacity to start. Not
serialize the starting, but just the queue to start them.": admission (already one at a time) sets aside the
memory of every admitted VM that has not taken it yet; an accept that does not fit after that is refused at
admission; starts stay parallel (`rc-cap`). The rule as built: a guest is admitted, and bid for, only when its
committed memory fits in MemAvailable less every unplaced hold's committed memory and, for each live VM, its
committed memory less the anonymous memory of its cgroup (`memory.stat` `anon`) (all of it while the cgroup is not readable), with the sum of
committed memory within MemTotal (`internal/market/bidder/vmsize.go` `committed`, `capacityRefused`).
74. (2026-11-20) Roll two's "CLI help text" change: "use https://github.com/charmbracelet/fang or some kind
charmbracelet library so that our CLI commands have nice colored flags and subcommands and include examples from
our docs - if fang can't do that then also include https://github.com/charmbracelet/glamour". fang needs cobra and
the CLI parses with the standard `flag` package and `cmd/socialweb-computer/args.go`; asked, the owner chose
lipgloss + glamour: the parser stays, only help output changes (colored flags and subcommands with lipgloss,
examples from the docs rendered with glamour). Branch `cli-help`, run out of band, landed after roll one is green.
The owner also confirmed the order: batch onto main, then two green rolls on main.
Glamour stays (owner, asked after a review measured it: "keep glamour"): its cost is accepted: `version` 21.0 ms
to 27.7 ms, startup allocations 10.2 MB to 16.1 MB at every start of the binary, binary +7.8 MiB (chroma's init);
inside tmux without a truecolor TERM lipgloss v2 also runs `tmux info` once per start. Error paths and every
non-help output stay byte for byte as before (branch `cli-help` 11de77b7; plan 0043 Built).
75. (2026-11-20) Guest network rules follow the running bidder (asked after promote 93fd8c11 went red; answer:
"Approve reload on adopt"): when a bidder adopts a running guest (after an update or a rollback) it reloads that
guest's nftables rules from its own current rule set: exactly decision 54's rule, nothing wider. Cause it fixes:
a guest's rules were loaded once, by the bidder binary that booted it; promote's own VM is booted before channel
rc moves, so a rule shipped in a release was never on the promote's requester. Branch `fence-on-adopt`, a staging
entry for it, proven on a held staging network before the next roll.
76. (2026-11-20) hat-10's firewalld zone opened no UDP (hat-9: 31000-31999/udp; hat-7, hat-8: 1025-65535/udp); answer:
"Yes, match hat-9": done by the lead 23:2xZ: `firewall-cmd --zone=FedoraServer --add-port=31000-31999/udp`, runtime
and permanent (before: `1997/tcp`; after: `1997/tcp 31000-31999/udp`).
77. (2026-11-21) The reload-on-adopt fix lands without a full hand staging cycle (owner: "should we just yeet it and
see jowbit goes? its just the firewall rule apply on already exisiting vms right?"): CI's `test` runs all 47
entries before `promote` touches prod, so the hand cycle would repeat it. Kept: the fix's own proof on a held
staging network (0007:fence four runs, the rule tables before, after and after rollback, probes 0 of 16 before
and 40 of 40 after), a strict review of the rule swap (one nf_tables transaction, the old table kept on any
failure, same rule function as boot, the VMM pinned by pidfd before setns, the adopting binary's own stub), and
build plus `deploy/check.sh --fast`. This is for this fix only; decision 51 stands.
78. (2026-11-21) "why arent we trying to fix those?" ... "there is no point doing a CI cycle if we know its going to
fail": no roll starts while a known cause of gate failure is unfixed. The four the lead was carrying are fixed
first, on branches, proven by hand, then rolled: a bidder unreachable over iroh after its ingress listener is
replaced (`ingress-rereg`: release N of the two-release order, dumbpipe stays v0.39.0); the silent bid drop for
capacity and the sign-in link lag (`bid-capacity`); the v0.39.0 listener exits (the v0.40.1 bump, only after
`ingress-rereg` is stable). The tests-only fixes of the red roll (`health-pid`) wait for them: one pull when all
are proven.
79. (2026-11-22, 07:50Z) The dumbpipe v0.40.1 bump rides this roll (answer: "Bump, one shared cycle"): after the
bump's switch proof, ONE hand cycle on bump + colored help (`stack7` 43297eda) is the out of band run for both
pulls; roll one's tree (`bump6` cf34bc81) differs from the cycled tree only by the CLI help change. Decision 51
stands otherwise. The lead's two-release order for the bump (Findings, "bidders deaf over iroh": the bump only
after `ingress-rereg` is in stable) is dropped, the lead's reading, proven on stg-113817: with `ingress-rereg` in
the same release the new core resolves dumbpipe from its own record and an old core rewrites its own path.
80. (2026-11-22, 19:55Z) The staging overlay stops depending on the public iroh relays (answer: "both relay now
iroh.socialweb.computer use fqdn. direct in distinct plan doc for later"): our own iroh relay at
`iroh.socialweb.computer` now (plan 0056), direct links between staging VMs in a distinct plan (0057). Measured
that day: all 12 links of a staging network select the public n0 relay, never a direct path; under a bulk
transfer it caps a VM at about 0.04 MB/s and that VM's overlay starves; roll three's `test` went red three times.
The owner, same day: dumbpipe needs code work for a relay of ours ("copy dumbpipe source and modify ... or just
build your own implementation off the iroh docs"): dumbpipe 0.40.1 hard-codes the n0 relays (plan 0056 has the
options); and: finish the relay code work, then pause: no validation cycle until he restarts the lead.
## Lead decisions awaiting the owner
Taken by the lead while the owner was away; the owner may overrule each. Not owner decisions.
- 2026-11-18: B1 and B2 (the lead's reading of the owner's two questions, decision 14): a service that is part of a
market network reaches the network's services by the network's own names (its resolver and CA); nothing changes
outside a network. See Findings: "B1, B2, B3 built".
- 2026-11-18: typescript-helpers is vendored too, with its history, under `typescript-helpers/`: did-key-associator
imports it by relative path. See Findings: "The vendored did-key-associator needs its sibling".
- 2026-11-18: 0001:s2 on staging asserts the offering is exactly {https, iroh, webrtc}. See Findings: "0001:s2 after
the htu fix (hand, alice2, stg-858064".
- 2026-11-18: 0002's module takes `requester_release_settled_by_termination` as Released, only with reason
`deleted_on_request`. See Findings: "0002:run by hand with the vault trust fix and the fixed test host".
- 2026-11-18: a network member's vault atproto trust reaches the network's services by name, at the network's front,
with its CA, TLS kept. See Findings: "Gateway layer merged in prod's shape".
- 2026-11-18: the staging bidders' state is on a reflink XFS. See Findings: "0014:exhausted and 0014:giveup in hand
cycle 3".
- 2026-11-18: 0013:c: only a dev build on a network uses the requester's local download base; a release build uses
the bucket. See Findings: "0013:c fix (lead, 2026-11-18)".
- 2026-11-18: the CI input is `gateJobs` 3 and `freezeTtl` 5. See Findings: "CI page step merged (phase-2-ci-page".
- 2026-11-18: CI `release` builds the page from a pinned requester commit and publishes it for `test`. See Findings:
"Step 8f decisions (lead, 2026-11-18".
- 2026-11-18: Chrome's shared libraries on the staging VM come by apt (against the pinned-assets rule). See Findings:
"Step 8f decisions (lead, 2026-11-18".
- 2026-11-18: Chrome runs `--no-sandbox` on staging. See Findings: "Step 8f decisions (lead, 2026-11-18".
- 2026-11-18: the suite key is authorized for root on the throwaway bidder VMs. See Findings: "Step 8b built on branch
phase-2-bidders".
Owner questions open:
- The QR backend's 8192 token limit (our PDS's token is about 8004 chars): raise or configure it, or make the tokens
references. See Findings: "Token size (lead, 2026-11-18)".
- The vault plugin's address guard: a zoned IPv6 literal passes it (`docs/security/proposed-controls.md`). See
Findings: "Review of the vault trust fix".
- Staging capacity: two guest slots in all. See Findings: "Staging capacity (seen in cycle 3)".
- Where to fix the unanswered `ingress.offer` leak: atlibs-webrtc or the page. See Findings: "0009:run by hand with
the page script fix".
- Whether our PDS sends `#atproto_pds` relative. See Findings: "0009:run note for the product".
- Whether step 9 (staging by names, no `xrpcFront` override) comes before or after the first 46 of 46. See the CI gap
study (`~/.tmp/ci-gap/REPORT.md`, E; Finding "CI gap study").
- Refused accepts accumulate in a requester's repo. See Findings: "0005:b in hand cycle 3".
- The 120 s network window counts the bidder's prep. See Findings: "0014:exhausted and 0014:giveup in hand cycle 3".
## Done when
Steps 0-15, 17 and 20 done (16, 18 and 19 moved to plan 0041: owner decision 33), then step 21; on the commit of
step 21's second roll:
1. staging: CI `test` 48 of 48 PASS, 0 FAIL on a push run: the step log's gate summary.
2. prod: CI `promote` (a push run) 31 of 31 *both* entries PASS as prod bob and alice (its log; decision 57). The by-hand gate
on hat-8 is the lead's debug run of the same 31 against prod (owner decision 18), not a number of this plan.
3. Two consecutive green CI promote runs on distinct main commits: each moves stable, every `rc-operators.json` DID
heartbeats its sha256, no hand roll; between the two promoted commits, the only change under the workflows' `paths:`
is CLI help text: the colored help of decision 74 (docs and `.plans.yaml` may change).
## Findings
The working notes (what failed, why, the fix, the proof) are in `0040-findings.md`, not here. A finding that changes
the plan becomes a step or an owner decision above.