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

socialweb.computer/socialweb-computer-kcp

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

1 collaborator
0
0

plan 0041: lexicons with no test or no writer; x402 gap list

Merged johnandersen777.bsky.social asked to merge into main from socialweb.computer/socialweb-computer-kcp:phase-2
docs/plans/0041-after-the-pipeline.md+18−0
@@ -46,3 +46,21 @@ counts toward 0040's Done when.
Each step's own proof: step 1 by a composition on both hosts; steps 2 and 3 by `scripts/check-docs.sh` running every
example in CI; step 4 item by item.
## Lexicons with no test or no writer (history traced 2026-11-20; owner: "bids.x402 and accepts.* and receipts.* we want for sure")
- LIVE on the gateway, code complete, no test since 48b88154 and no canary since 6e76e7f4: `k8s.kubectlApplyServerSide`,
`k8s.getJob` (`internal/gateway/tenantapi.go:101,111`), `cluster.subscribeClusters` (`internal/xrpcserver/subscribe.go:125`),
`cluster.revokeIdentity` (`internal/gateway/gateway.go:402`: an account DID revokes its own access to its tenant
clusters). To do: a composition test for each; an acceptance 0001 step.
- Superseded, never written: `compute.events.vm.registerIdentity` (today: `guest.requesterDid`, the renter key and
tombstone, `vm.onNetwork`, `vm.hostKeys`), `compute.events.vm.started` (today: `vm.onNetwork`). Owner decides: remove.
- `mesh.roster`: writer removed eb4814c7 (staging moved to one VM); `socialweb-meshd --roster` still reads it. Owner
decides: keep or remove.
- Wanted, not wired: `bids.x402`, `accepts.{free,x402}`, `receipts.{free,x402}`. Only `cost` of a `bids.x402` is read
(`internal/market/requester/accept.go:276`). Old code: `~/src/publicdomainrelay/atproto-market`
`lib/market-settlement-x402/` and the PoC's `bids_x402.ts`. To build: bidder price config, the bidder writes
`bids.x402`, a payment route on the bidder's transport (verify and settle through a facilitator, mint the receipt),
requester wallet and paying fetch, accept carries the payment, bidder verifies before provisioning,
`receipt.payload` set, lexicon fixes (no settlement evidence in `receipts.x402`; no network, asset, payTo in
`bids.x402`; `accepts.*` missing from the OAuth scopes), a composition test on a test network. Needs its own plan.