~ knotless Search/
↑↓ move↵ open⇧↵ all results

socialweb.computer/socialweb-computer-kcp

socialweb.computer: a compute market on atproto (kcp)

1 collaborator
0
0

docs/plans/0040: step 4 design

Merged johnandersen777.bsky.social asked to merge into main from socialweb.computer/socialweb-computer-kcp:plan-0040-step4-design
docs/plans/0040-release-pipeline.md+18−0
@@ -184,6 +184,24 @@ firehose. A new controller reacts to a change of that record:
The channel comes from the running version: `-rcNNN` follows `rc`; plain `vN.N.N` follows `stable`.
Design (2026-11-16):
```
installed bidder core
MarketBidder composes AtprotoRecordWatch repo socialweb.computer, collection software.release.channel,
rkey socialweb-computer:<rc|stable> (only when installed: bin/current exists)
updater controller watch status changes -> channel -> version -> manifest (each strongRef CID checked)
-> the artifact whose target is this GOOS/GOARCH -> download to bin/.incoming/<sha256>
-> size and CID checked -> install.Upgrade (sha256, self-check, bin/previous, bin/current,
restart in place) ; a version equal to the running one does nothing
```
- The channel's account and project come from the bidder's install config (`release-channel`, default
`at://did:plc:gmlkrhimoueejcertevr4hl3/software.release.project/socialweb-computer`); empty turns it off.
- Proof: a staging VM bidder installed with `install bidder` (dev nets run no installed bidder, and `install.Upgrade`
works on an install's `bin/`), following a channel in a staging account: move it forward, the heartbeat shows the
new version; move it back, the previous one.
### 5. k8s gateway: `bidderDids` through its rentals
The gateway's NodeClaim and Infra rentals take a bidder DID allowlist from their spec and pass it to the contract,