0
0
docs: no Verified sections on the user pages (docs only)
docs/plans/0040-findings.md+48−0
| @@ -2156,3 +2156,51 @@ Each: what was seen (with the log), the cause, the fix, its proof. | ||
the renter rotation key; `GuestDIDs` lists it, so `run request` waits for its tombstone before the kcp stops. With no | ||
verified renter handle it is skipped (`requester_tombstone_skipped`). Open: (2), the release unit's exit 1 (read | ||
`journalctl -u socialweb-r2-release.service` on a held 0005:r2fail guest). Proof: none yet (next promote). | ||
- THE DOCS EXAMPLES, AS RUN BY HAND (2026-11-18, branch docs-0041; moved here from the pages on 2026-11-19: the | ||
owner: "what is that verified section ... drop that. this is end user facing"). The `run=gate` blocks are run by | ||
`scripts/check-docs.sh`; the rest were run once by hand, as each page's list below says: | ||
- `README.md`: | ||
2026-11-18, release v0.0.0 (688c2105): Install by `scripts/check-docs.sh` (`run=gate`); Rent a VM as written, on prod, | ||
signed in as `aliceoa.bsky.social` (4 bids, `uid=0(root) gid=0(root) groups=0(root)`, released, 106 s with the sign-in); | ||
Run a bidder in a VM rented with `--nested-virt` (Ubuntu 24.04): the command as `--dry-run`, then installed with the | ||
OAuth QR spec file of [docs/bidder.md](docs/bidder.md) (53 s, `check-host` all `OK`); the local market as the account | ||
`test-0001` on hat-8 (Fedora 44): Ready in 34 s, `uid=0(root)` in 113 s, down in 123 s. | ||
- `docs/quickstart-local.md`: | ||
2026-11-18, release v0.0.0 (688c2105), as the account `test-0001` on hat-8 (Fedora 44), every block above in order: | ||
`check-host` all OK; Ready in 34 s; `uid=0(root) gid=0(root) groups=0(root)` in 113 s; `--hold` Held with `x86_64`, | ||
`ssh --exec` `PRETTY_NAME="Ubuntu 24.04.5 LTS"`, `list` `vm2 ... Held`, `release` Released; `run requester` ready in | ||
12 s, `quickstart-vm` Deployed 19 s after the apply, ssh `quickstart-vm-ok`; `dev down`. | ||
As an account whose home is `0701`, the VM never boots (`vmm_exited`; the bidder log says `swc-userns-stage: execve | ||
errno 13`) and `run request` still exits 0. | ||
- `docs/quickstart-prod.md`: | ||
2026-11-18, release v0.0.0 (688c2105), prod bidders: | ||
| block | as | seen | | ||
| --- | --- | --- | | ||
| Vouches | `scripts/check-docs.sh` (`run=gate`) | both records | | ||
| Run a command | `aliceoa.bsky.social`, `--atproto-oauth-qr` (signed in by `scripts/oauth-signin.ts`) | 4 bids, `uid=0(root) gid=0(root) groups=0(root)`, released, 106 s | | ||
| Hold, ssh | an associated local identity (`--identity <name>` in place of the sign-in options) | `--hold --nested-virt --cpus 4 --mem 8G --expires-in 3h`: Held in 94 s, 4 vCPUs, 7 GiB, `/dev/kvm`, 50G disk; `run request ssh --exec` with stdin | | ||
| Sign in, pdsAccount | `aliceoa.bsky.social`, its account password in `ATPROTO_PASSWORD` (not an app password) | 7 bids, `uid=0(root)`, released, 108 s | | ||
| run requester | `aliceoa.bsky.social`, `--atproto-oauth-qr`, from a fresh clone | ready right after the sign-in (52 s from the start), `quickstart-vm` Deployed 63 s after the apply, ssh `quickstart-vm-ok`, deleted | | ||
Not run today: `--atproto-oauth` (browser), `--image`, `--tunnel ... --transport webrtc`, `list` and `release` on prod | ||
(both run on a local market: [quickstart-local.md](quickstart-local.md#verified)). | ||
- `docs/bidder.md`: | ||
2026-11-18, release v0.0.0 (688c2105) and main db33c9ff, as root in a VM rented from prod with `--nested-virt` | ||
(Ubuntu 24.04, 4 vCPUs, 8G), the handle `docs-0041.example.com`: | ||
| block | seen | | ||
| --- | --- | | ||
| Host | packages installed; `check-host` later all `OK` (this guest kernel has no AppArmor userns restriction, so the profile step was `NOT NEEDED HERE`: the profile itself was not exercised) | | ||
| Binary | `scripts/install.sh stable` and `rc` from fresh HOMEs (both named 688c2105, sha256 from the manifest CID equal to the bucket's `SHA256SUMS`); `main/db33c9ff...` `socialweb-computer-linux-amd64: OK`; a dev build from a fresh `git clone` in 88 s (warm caches on hat-8), `dev build, not reproducible: commit db33c9ff..., tree clean` | | ||
| Installed | `--dry-run`: `34 change(s) computed, nothing written`; the install with the spec file of Who it serves: 53 s (guest image 24 s), `check-host the host contract holds`; again: 14 `FOUND PRESENT`; unit `active (running)` | | ||
| Health | `check-host` all `OK`; `marketidentities` `bidder oauthQr AwaitingScan`, its URL on `https://qr.fedfork.com/`; `marketbidder app` `Provisioning` until the sign-in (not done) | | ||
| Upgrade, rollback | `upgrade: bin/current -> d000bd42... (previous d4933943...)`, version `...-db33c9ffd53c`; `rollback: bin/current -> d4933943...`, unit active; journal `releasefollow_on` `"channel":"rc"` for both builds, and `"channel":"stable"` after an install with `release-channel: stable`; no `releasefollow_seen` line in 10 min (the bidder was not signed in), so a self-update itself was not seen | | ||
| Uninstall | `--purge`: units, linger, subids, kvm group, state dir, account and install record removed | | ||
| Foreground | a new account `op` (`useradd -m`, which gave it one range): a second range by `usermod --add-subuids` made `run bidder` refuse (`2 ranges for op in /etc/subuid; install reserves exactly one`); with one, `check-host` all `OK`, `marketidentity bidder` `oauthQr AwaitingScan`, the QR URL in its output; Ctrl-C stopped it in 4 s and kept `dev/b-docs-0041-example-com` | | ||
Not run today: the operator sign-in itself, a rented VM on this bidder (End a VM). | ||
- `docs/deploy.md`: | ||
2026-11-18: Where each channel is by `scripts/check-docs.sh` (`run=gate`); The runs of a commit on hat-8 (`promote` of | ||
db33c9ff `failure` after `test-1` failed, `rc` back at `v0.0.0-rc186`). The survival table is the reading of | ||
AGENTS.md "Prod deployments"; the gateway rollback was not run (prod). | ||
- `docs/gateway.md`: | ||
2026-11-18, the prod gateway, both CLI blocks as written with a `goat account login` session of `aliceoa.bsky.social`: | ||
the cluster `Ready`, `kubectl get ns` listed `default`, `kube-system` and the rest; `revokeKubeconfig` `"revoked": true`; | ||
`deleteCluster`, then `listClusters` `Draining`. The browser path and the operating section were not run (prod). | ||
docs/bidder.md+0−17
| @@ -173,20 +173,3 @@ state; the same command resumes it. | ||
| ||
Comms modes, association by hand, the VMM choice: [CONTRIBUTING.md](../CONTRIBUTING.md#install-a-release-bidder) and | ||
`socialweb-computer run bidder -h`. | ||
| ||
## Verified | ||
| ||
2026-11-18, release v0.0.0 (688c2105) and main db33c9ff, as root in a VM rented from prod with `--nested-virt` | ||
(Ubuntu 24.04, 4 vCPUs, 8G), the handle `docs-0041.example.com`: | ||
| ||
| block | seen | | ||
| --- | --- | | ||
| Host | packages installed; `check-host` later all `OK` (this guest kernel has no AppArmor userns restriction, so the profile step was `NOT NEEDED HERE`: the profile itself was not exercised) | | ||
| Binary | `scripts/install.sh stable` and `rc` from fresh HOMEs (both named 688c2105, sha256 from the manifest CID equal to the bucket's `SHA256SUMS`); `main/db33c9ff...` `socialweb-computer-linux-amd64: OK`; a dev build from a fresh `git clone` in 88 s (warm caches on hat-8), `dev build, not reproducible: commit db33c9ff..., tree clean` | | ||
| Installed | `--dry-run`: `34 change(s) computed, nothing written`; the install with the spec file of Who it serves: 53 s (guest image 24 s), `check-host the host contract holds`; again: 14 `FOUND PRESENT`; unit `active (running)` | | ||
| Health | `check-host` all `OK`; `marketidentities` `bidder oauthQr AwaitingScan`, its URL on `https://qr.fedfork.com/`; `marketbidder app` `Provisioning` until the sign-in (not done) | | ||
| Upgrade, rollback | `upgrade: bin/current -> d000bd42... (previous d4933943...)`, version `...-db33c9ffd53c`; `rollback: bin/current -> d4933943...`, unit active; journal `releasefollow_on` `"channel":"rc"` for both builds, and `"channel":"stable"` after an install with `release-channel: stable`; no `releasefollow_seen` line in 10 min (the bidder was not signed in), so a self-update itself was not seen | | ||
| Uninstall | `--purge`: units, linger, subids, kvm group, state dir, account and install record removed | | ||
| Foreground | a new account `op` (`useradd -m`, which gave it one range): a second range by `usermod --add-subuids` made `run bidder` refuse (`2 ranges for op in /etc/subuid; install reserves exactly one`); with one, `check-host` all `OK`, `marketidentity bidder` `oauthQr AwaitingScan`, the QR URL in its output; Ctrl-C stopped it in 4 s and kept `dev/b-docs-0041-example-com` | | ||
| ||
Not run today: the operator sign-in itself, a rented VM on this bidder (End a VM). | ||
docs/deploy.md+0−6
| @@ -49,9 +49,3 @@ Nothing else is promised: a release may drop sessions, VMs, clusters or receipts | ||
A bidder, as its account: `rollback` ([bidder.md](bidder.md#upgrade-rollback-self-update)). The gateway, as its account: | ||
`socialweb-computer rollback --state-dir /var/lib/socialweb-computer/socialweb`. A failed `promote` already moves `rc` | ||
back; the next green `promote` rolls forward. | ||
| ||
## Verified | ||
| ||
2026-11-18: Where each channel is by `scripts/check-docs.sh` (`run=gate`); The runs of a commit on hat-8 (`promote` of | ||
db33c9ff `failure` after `test-1` failed, `rc` back at `v0.0.0-rc186`). The survival table is the reading of | ||
AGENTS.md "Prod deployments"; the gateway rollback was not run (prod). | ||
docs/gateway.md+0−6
| @@ -55,9 +55,3 @@ Its environment: | ||
The first run installs the gateway; every later run upgrades it and runs `install gateway` again. After a fresh install | ||
the requester account has no gateway session (`no oauth session stored`): sign it in with [oauth.md](oauth.md), | ||
`--url https://k8s.socialweb.computer/ --start-api`. | ||
| ||
## Verified | ||
| ||
2026-11-18, the prod gateway, both CLI blocks as written with a `goat account login` session of `aliceoa.bsky.social`: | ||
the cluster `Ready`, `kubectl get ns` listed `default`, `kube-system` and the rest; `revokeKubeconfig` `"revoked": true`; | ||
`deleteCluster`, then `listClusters` `Draining`. The browser path and the operating section were not run (prod). | ||
docs/quickstart-local.md+1−11
| @@ -10,7 +10,7 @@ socialweb-computer check-host -role bidder -state-dir ~/.swc/demo | ||
``` | ||
| ||
Every line `OK` (an `INFO` line is a note); a `FAIL` line names its fix. A home of mode `0701` passes but its VMs do | ||
not boot (see Verified); `0700` works. | ||
not boot; `0700` works. | ||
| ||
## Start it | ||
| ||
| @@ -85,13 +85,3 @@ It releases every VM and removes `$S/dev/demo`. | ||
A tenant Kubernetes cluster (`--with-gateway`), a Deno sandbox (`--compute-kinds vm,deno`), `EphemeralInfra` and an | ||
agent VM: [acceptance/0012](acceptance/0012-infra-quickstart.md) and [../examples/infra/](../examples/infra/). The | ||
network itself: [../deploy/market-network/README.md](../deploy/market-network/README.md). | ||
| ||
## Verified | ||
| ||
2026-11-18, release v0.0.0 (688c2105), as the account `test-0001` on hat-8 (Fedora 44), every block above in order: | ||
`check-host` all OK; Ready in 34 s; `uid=0(root) gid=0(root) groups=0(root)` in 113 s; `--hold` Held with `x86_64`, | ||
`ssh --exec` `PRETTY_NAME="Ubuntu 24.04.5 LTS"`, `list` `vm2 ... Held`, `release` Released; `run requester` ready in | ||
12 s, `quickstart-vm` Deployed 19 s after the apply, ssh `quickstart-vm-ok`; `dev down`. | ||
| ||
As an account whose home is `0701`, the VM never boots (`vmm_exited`; the bidder log says `swc-userns-stage: execve | ||
errno 13`) and `run request` still exits 0. | ||
docs/quickstart-prod.md+0−15
| @@ -120,18 +120,3 @@ The objects: [../examples/infra/](../examples/infra/). | ||
| an atirc agent on the VM (`--agent`) | [acceptance/0004](acceptance/0004-vm-atirc-agent.md) | | ||
| Kubernetes clusters | [gateway.md](gateway.md); your own: `run requester --with-gateway`, [acceptance/0013](acceptance/0013-mixed-prod.md) | | ||
| the requester as a systemd service | `socialweb-computer install requester -h` | | ||
| ||
## Verified | ||
| ||
2026-11-18, release v0.0.0 (688c2105), prod bidders: | ||
| ||
| block | as | seen | | ||
| --- | --- | --- | | ||
| Vouches | `scripts/check-docs.sh` (`run=gate`) | both records | | ||
| Run a command | `aliceoa.bsky.social`, `--atproto-oauth-qr` (signed in by `scripts/oauth-signin.ts`) | 4 bids, `uid=0(root) gid=0(root) groups=0(root)`, released, 106 s | | ||
| Hold, ssh | an associated local identity (`--identity <name>` in place of the sign-in options) | `--hold --nested-virt --cpus 4 --mem 8G --expires-in 3h`: Held in 94 s, 4 vCPUs, 7 GiB, `/dev/kvm`, 50G disk; `run request ssh --exec` with stdin | | ||
| Sign in, pdsAccount | `aliceoa.bsky.social`, its account password in `ATPROTO_PASSWORD` (not an app password) | 7 bids, `uid=0(root)`, released, 108 s | | ||
| run requester | `aliceoa.bsky.social`, `--atproto-oauth-qr`, from a fresh clone | ready right after the sign-in (52 s from the start), `quickstart-vm` Deployed 63 s after the apply, ssh `quickstart-vm-ok`, deleted | | ||
| ||
Not run today: `--atproto-oauth` (browser), `--image`, `--tunnel ... --transport webrtc`, `list` and `release` on prod | ||
(both run on a local market: [quickstart-local.md](quickstart-local.md#verified)). | ||
README.md+0−8
| @@ -69,14 +69,6 @@ More: [docs/quickstart-local.md](docs/quickstart-local.md). | ||
| ||
`run request --exec` and `run request ssh` read stdin: paste a block with one of them as its last line. | ||
| ||
## Verified | ||
| ||
2026-11-18, release v0.0.0 (688c2105): Install by `scripts/check-docs.sh` (`run=gate`); Rent a VM as written, on prod, | ||
signed in as `aliceoa.bsky.social` (4 bids, `uid=0(root) gid=0(root) groups=0(root)`, released, 106 s with the sign-in); | ||
Run a bidder in a VM rented with `--nested-virt` (Ubuntu 24.04): the command as `--dry-run`, then installed with the | ||
OAuth QR spec file of [docs/bidder.md](docs/bidder.md) (53 s, `check-host` all `OK`); the local market as the account | ||
`test-0001` on hat-8 (Fedora 44): Ready in 34 s, `uid=0(root)` in 113 s, down in 123 s. | ||
| ||
## Docs | ||
| ||
| doc | what | | ||