0
0
the batch: everything in flight, run out of band (plan 0040 decisions 56, 62)
.knotless/workflows/promote.yml+3−4
| @@ -8,12 +8,12 @@ | ||
# rerun of `test` does not start this again: ask it (docs/ci-debug.md "After a red test"). On the `release` | ||
# executor binding (only main's names socialweb-computer-release, whose | ||
# release-workload module holds the socialweb.computer session with the software.release.* scopes; the binding asks for | ||
# no guest requester: the gate signs in as bob, alice and john, and `promote.sh prepare` exits 1 on a VM that has one and makes | ||
# no guest requester: the gate signs in as bob and alice, and `promote.sh prepare` exits 1 on a VM that has one and makes | ||
# the gate's unix user r2): after the plain `staging gate` step, its release step is | ||
# `release <command>`: the module writes the rc's manifest and version and moves channel rc, runs the command on the VM | ||
# with RELEASE_VERSION (the rc), RELEASE_STABLE_VERSION (the stable vT a green writes), RELEASE_URL and RELEASE_SHA256 | ||
# (scripts/promote.sh: the prod target, the droplets, the rc operators' heartbeats, the prod gate: every `both` entry of | ||
# tests/entries.txt as prod bob, alice and john; then the copy of main/<sha>/ to releases/vT/ in the bucket, checked from its | ||
# tests/entries.txt as prod bob and alice; then the copy of main/<sha>/ to releases/vT/ in the bucket, checked from its | ||
# public URLs: exit 0 only when all of it is green), then moves stable on exit 0, or moves rc back and runs | ||
# `scripts/promote.sh rollback`. | ||
# A cancel or a timeout drops that step mid-run, so `stop` (run after the step, whatever it came to, with the step's env | ||
| @@ -32,7 +32,7 @@ | ||
# PROD_ALICE_ATPROTO_PASSWORD aliceoa.bsky.social's main password, one line (not an app password: the OAuth sign-ins | ||
# type it). The handle is tests/targets/prod.json's | ||
# PROD_BOB_ATPROTO_PASSWORD bobvmbuilder.bsky.social's main password, one line | ||
# PROD_JOHN_ATPROTO_PASSWORD johnandersen777.bsky.social's main password, one line (owner, 2026-11-18: a third driver) | ||
# (bob and alice are the gate's only drivers: owner, 2026-11-19) | ||
# PROD_OPS_READ_SECRET the shared secret of the read-only ops routes (GET /xrpc/com.fedfork.exec.ops.*) of | ||
# every prod bidder and the ssh gateway, one line: each host holds the same value in its | ||
# ops-read-secret file (0600; `install bidder --ops-read-secret-file`, docs/SYSTEM.md) | ||
| @@ -56,7 +56,6 @@ secrets: | ||
- ATIRC_AGENT_CONFIG | ||
- PROD_ALICE_ATPROTO_PASSWORD | ||
- PROD_BOB_ATPROTO_PASSWORD | ||
- PROD_JOHN_ATPROTO_PASSWORD | ||
- PROD_OPS_READ_SECRET | ||
- SPACES_ACCESS_KEY_ID | ||
- SPACES_SECRET_ACCESS_KEY | ||
.knotless/workflows/test.yml+7−6
| @@ -1,9 +1,9 @@ | ||
# knotless CI: the staging gate, after `release` (which compiles everything and carries the gate's checks), on one kcp-test VM (4 vCPU / 8 GB, its own guest | ||
# requester R2). It stands up ONE staging network (tests/compositions/staging, the multi-VM layout: an atproto VM, two 4/8 nested-virt bidder VMs and a gateway | ||
# VM on one meshd overlay, rented by R2) on THIS commit's build and runs every entry of tests/entries.txt on it (tests/gate.sh from the network's atproto VM as | ||
# its alice1..alice4, four at once; scripts/ci-test.sh input_default); an exclusive entry (gate.sh GATE_EXCLUSIVE: 0001, 0007:restart, 0014:*) is alone on it. | ||
# The step prints its RESULT lines and `gate: staging: N of 43 PASS` (`scripts/ci-staging-total.sh <commit>` reads it back). `promote` runs after this one | ||
# (owner, 2026-11-19: staging and prod in series, for less compute). The socialweb-computer is release's linux/amd64 of this commit (main: the bucket's | ||
# its alice1..alice4, four at once; scripts/ci-test.sh input_default); an exclusive entry (gate.sh GATE_EXCLUSIVE: 0001, 0007:restart, 0007:upgrade, | ||
# 0014:*, 0014:memfit among them) is alone on it. The step prints its RESULT lines and `gate: staging: N of 46 PASS` (`scripts/ci-staging-total.sh <commit>` reads it back). | ||
# `promote` runs after this one (owner, 2026-11-19: staging and prod in series, for less compute). The socialweb-computer is release's linux/amd64 of this commit (main: the bucket's | ||
# main/<sha>/; a branch: pulled by digest from ttl.sh, its artifact oci/binary.ref) on the CI VM and on every staging VM; the test host and meshd are release's | ||
# too (the bucket on main, its artifacts dist/ on a branch). Nothing here builds. Runs after `release` on a push to main that changes code (paths below; the | ||
# same list as release.yml's and promote.yml's: deploy/check.sh) and on a branch only when asked (`knotless run rerun knotless://<owner>/socialweb-computer-kcp | ||
| @@ -41,9 +41,10 @@ steps: | ||
- name: binary | ||
timeout: 30 | ||
run: bash scripts/ci-test.sh binary | ||
# 43 entries on one network: about 2 h 40 min with the stand-up (plan 0040, Finding "Gate shards": 9123 s of gate on two | ||
# bidders); the input's deadlineMin 250 (from the rent: stand-up and gate), then a failed run's 30 min freeze, then the | ||
# teardown; 300 is the runner's --step-timeout | ||
# 46 entries on one network: about 2 h 45 min with the stand-up for the 45 before 0007:upgrade (plan 0040, Finding "Gate shards": 9123 s of gate on two | ||
# bidders, and 0014:memfit's 178 s), plus 0007:upgrade alone (the 900 in tests/entries.txt is an ordering hint; its bounds are the module's 60 min | ||
# timer and the 300 s wait in the guest); the input's deadlineMin 250 (from the rent: stand-up and gate), then a failed | ||
# run's 30 min freeze, then the teardown; 300 is the runner's --step-timeout | ||
- name: staging | ||
timeout: 300 | ||
run: bash scripts/ci-test.sh staging | ||
api/exposure/v1alpha1/resources.go+1−1
| @@ -17,7 +17,7 @@ var APIResources = []APIResource{ | ||
{Name: "Suspend", Type: "boolean", JSONPath: ".spec.suspend"}, | ||
{Name: "Age", Type: "date", JSONPath: ".metadata.creationTimestamp"}, | ||
}}, | ||
{Kind: "Exposure", Plural: "exposures", Revision: 5, Export: "exposures", Object: Exposure{}, PrinterColumns: []PrinterColumn{ | ||
{Kind: "Exposure", Plural: "exposures", Revision: 6, Export: "exposures", Object: Exposure{}, PrinterColumns: []PrinterColumn{ | ||
{Name: "Mode", Type: "string", JSONPath: ".spec.mode"}, | ||
{Name: "Hostname", Type: "string", JSONPath: ".spec.hostname"}, | ||
{Name: "Phase", Type: "string", JSONPath: ".status.phase"}, | ||
api/exposure/v1alpha1/types_exposure.go+2−0
| @@ -114,6 +114,8 @@ const ( | ||
| ||
IngressSubscriberWaiting IngressSubscriberState = "waiting" | ||
| ||
IngressSubscriberReplaced IngressSubscriberState = "replaced" | ||
| ||
IngressSubscriberClosed IngressSubscriberState = "closed" | ||
) | ||
| ||
api/v1alpha1/resources.go+2−2
| @@ -131,7 +131,7 @@ var APIResources = []APIResource{ | ||
{Name: "DID", Type: "string", JSONPath: ".status.did"}, | ||
{Name: "Age", Type: "date", JSONPath: ".metadata.creationTimestamp"}, | ||
}}, | ||
{Kind: "ComputeContract", Plural: "computecontracts", Revision: 37, Export: "computecontracts", Object: ComputeContract{}, PrinterColumns: []PrinterColumn{ | ||
{Kind: "ComputeContract", Plural: "computecontracts", Revision: 38, Export: "computecontracts", Object: ComputeContract{}, PrinterColumns: []PrinterColumn{ | ||
{Name: "Phase", Type: "string", JSONPath: ".status.phase"}, | ||
{Name: "Contract", Type: "string", JSONPath: ".status.contract.phase"}, | ||
{Name: "Winner", Type: "string", JSONPath: ".status.contract.winner.did"}, | ||
| @@ -168,7 +168,7 @@ var APIResources = []APIResource{ | ||
{Kind: "Bidder", Plural: "bidders", Revision: 35, Export: "applications", Object: Bidder{}, PrinterColumns: componentPrinterColumns}, | ||
{Kind: "GuestControlPlane", Plural: "guestcontrolplanes", Revision: 16, Export: "applications", Object: GuestControlPlane{}, PrinterColumns: componentPrinterColumns}, | ||
{Kind: "Pds", Plural: "pds", Revision: 18, Export: "applications", Object: Pds{}, PrinterColumns: componentPrinterColumns}, | ||
{Kind: "Requester", Plural: "requesters", Revision: 36, Export: "applications", Object: Requester{}, PrinterColumns: componentPrinterColumns}, | ||
{Kind: "Requester", Plural: "requesters", Revision: 37, Export: "applications", Object: Requester{}, PrinterColumns: componentPrinterColumns}, | ||
{Kind: "GatewayAPI", Plural: "gatewayapis", Revision: 22, Export: "applications", Object: GatewayAPI{}, PrinterColumns: componentPrinterColumns}, | ||
{Kind: "SshServer", Plural: "sshservers", Revision: 22, Export: "applications", Object: SshServer{}, PrinterColumns: componentPrinterColumns}, | ||
{Kind: "Plc", Plural: "plcs", Revision: 17, Export: "applications", Object: Plc{}, PrinterColumns: componentPrinterColumns}, | ||
api/v1alpha1/types_component.go+2−0
| @@ -629,6 +629,8 @@ type RequesterSpec struct { | ||
| ||
MarketExposureRef *commonv1.LocalObjectRef `json:"marketExposureRef,omitempty"` | ||
| ||
GuestIrohExposureRef *commonv1.LocalObjectRef `json:"guestIrohExposureRef,omitempty"` | ||
| ||
OperatorDID string `json:"operatorDID,omitempty"` | ||
| ||
PolicyEngineRef *commonv1.ObjectRef `json:"policyEngineRef,omitempty"` | ||
api/v1alpha1/types_computecontract.go+2−0
| @@ -277,6 +277,8 @@ type ComputeContractStatus struct { | ||
| ||
SecretsFetchedAt string `json:"secretsFetchedAt,omitempty"` | ||
| ||
SecretsFetchedVia string `json:"secretsFetchedVia,omitempty" apigen:"enum=iroh|webrtc|https"` | ||
| ||
Contract *NodeClaimContract `json:"contract,omitempty"` | ||
| ||
Grant *NodeClaimGrant `json:"grant,omitempty"` | ||
api/v1alpha1/types_computevm.go+8−0
| @@ -137,6 +137,14 @@ func (g *GuestNetworkOptions) NetworkTCPOf() []string { | ||
return g.NetworkTCP | ||
} | ||
| ||
func (g *GuestNetworkOptions) WebRTCUDPPortsOf() *GuestUDPPortRange { | ||
if g == nil || g.WebRTCUDPPorts == nil { | ||
return nil | ||
} | ||
r := *g.WebRTCUDPPorts | ||
return &r | ||
} | ||
| ||
func (g *GuestNetworkOptions) WebRTCUDPPortOf() int32 { | ||
if g == nil { | ||
return 0 | ||
api/v1alpha1/zz_generated.deepcopy.go+5−0
| @@ -9794,6 +9794,11 @@ func (in *RequesterSpec) DeepCopyInto(out *RequesterSpec) { | ||
*out = new(commonv1alpha1.LocalObjectRef) | ||
**out = **in | ||
} | ||
if in.GuestIrohExposureRef != nil { | ||
in, out := &in.GuestIrohExposureRef, &out.GuestIrohExposureRef | ||
*out = new(commonv1alpha1.LocalObjectRef) | ||
**out = **in | ||
} | ||
if in.PolicyEngineRef != nil { | ||
in, out := &in.PolicyEngineRef, &out.PolicyEngineRef | ||
*out = new(commonv1alpha1.ObjectRef) | ||
cmd/socialweb-computer/args.gonew+190−0
| @@ -0,0 +1,190 @@ | ||
package main | ||
| ||
import ( | ||
"fmt" | ||
"io" | ||
"slices" | ||
"sort" | ||
"strings" | ||
| ||
"github.com/johnandersen777/socialweb-computer-kcp/internal/app/compose" | ||
"github.com/johnandersen777/socialweb-computer-kcp/internal/atproto/cloudinit" | ||
"github.com/johnandersen777/socialweb-computer-kcp/internal/capabilities" | ||
"github.com/johnandersen777/socialweb-computer-kcp/internal/clicfg" | ||
"github.com/johnandersen777/socialweb-computer-kcp/internal/stack/request" | ||
) | ||
| ||
const ( | ||
parseArgsVerb = "internal parse-args" | ||
execOpt = "exec" | ||
execUsage = cloudinit.RequestExecUsage | ||
optionsJSON = "internal/clicfg/options.json" | ||
) | ||
| ||
type verbArgs struct { | ||
app []string | ||
appNames []string | ||
appShown []string | ||
command []string | ||
dashdash bool | ||
execValue string | ||
} | ||
| ||
func takesCommand(own []string) bool { return slices.Contains(own, execOpt) } | ||
| ||
func splitVerbArgs(spec clicfg.Spec, verb string, own []string, app string, args []string) ([]string, verbArgs, error) { | ||
var out verbArgs | ||
if app != "" { | ||
mappings, err := compose.AppOptionMappings(app) | ||
if err != nil { | ||
return nil, out, err | ||
} | ||
var twice []string | ||
for _, m := range mappings { | ||
if slices.Contains(own, m.Name) { | ||
twice = append(twice, "--"+m.Name) | ||
} | ||
out.appNames = append(out.appNames, m.Name) | ||
if m.To != compose.MapToRemoved { | ||
out.appShown = append(out.appShown, m.Name) | ||
} | ||
} | ||
if len(twice) > 0 { | ||
return nil, out, fmt.Errorf("%s: %s defined twice, in %s and in %s (app %s); each option of a verb is defined once", verb, strings.Join(twice, " "), optionsJSON, "deploy/"+compose.OptionMapPath, app) | ||
} | ||
} | ||
known := func(name string) bool { | ||
_, ok := spec.Options[name] | ||
return ok || slices.Contains(out.appNames, name) | ||
} | ||
var flags, words []string | ||
for i := 0; i < len(args); i++ { | ||
arg := args[i] | ||
if arg == "--" { | ||
out.dashdash, out.command = true, slices.Clone(args[i+1:]) | ||
break | ||
} | ||
if !strings.HasPrefix(arg, "-") || arg == "-" { | ||
words = append(words, arg) | ||
continue | ||
} | ||
name, value, hasValue := strings.Cut(strings.TrimLeft(arg, "-"), "=") | ||
if strings.HasPrefix(arg, "--") && slices.Contains(out.appNames, name) { | ||
out.app = append(out.app, arg) | ||
if !hasValue && i+1 < len(args) && !strings.HasPrefix(args[i+1], "-") { | ||
i++ | ||
out.app = append(out.app, args[i]) | ||
} | ||
continue | ||
} | ||
if name == execOpt && takesCommand(own) { | ||
if hasValue && value != "true" && value != "false" { | ||
return nil, out, oldExec(verb, value) | ||
} | ||
if !hasValue && i+1 < len(args) && !strings.HasPrefix(args[i+1], "-") { | ||
out.execValue = args[i+1] | ||
} | ||
} | ||
flags = append(flags, arg) | ||
if o, ok := spec.Options[name]; ok && !hasValue && o.Type != clicfg.TypeBoolean && o.Bare == "" && i+1 < len(args) && args[i+1] != "--" { | ||
i++ | ||
flags = append(flags, args[i]) | ||
} | ||
} | ||
if out.dashdash && len(out.command) > 0 && strings.HasPrefix(out.command[0], "-") { | ||
name, _, _ := strings.Cut(strings.TrimLeft(out.command[0], "-"), "=") | ||
if known(name) && out.execValue != "" { | ||
return nil, out, fmt.Errorf("%s: every option goes before the command, and --exec takes no value; write: %s %s", verb, strings.Join(out.command, " "), execExample(out.execValue)) | ||
} | ||
if known(name) && !takesCommand(own) { | ||
return nil, out, fmt.Errorf("%s runs no command: -- ends its options and nothing may follow it; put %s with its other options", verb, strings.Join(out.command, " ")) | ||
} | ||
if known(name) { | ||
return nil, out, fmt.Errorf("%s: -- ends the options and what follows it is the command; put %s before --", verb, strings.Join(out.command, " ")) | ||
} | ||
} | ||
return append(flags, words...), out, nil | ||
} | ||
| ||
func checkCommand(verb string, own []string, vals clicfg.Values, va verbArgs) error { | ||
switch exec := takesCommand(own) && vals.Bool(execOpt); { | ||
case !takesCommand(own) && va.dashdash: | ||
return fmt.Errorf("%s runs no command: -- ends the options and nothing may follow it", verb) | ||
case !exec && va.dashdash: | ||
return fmt.Errorf("%s: the command after -- runs with --exec: %s", verb, execUsage) | ||
case exec && !va.dashdash && va.execValue != "": | ||
return oldExec(verb, va.execValue) | ||
case exec && !va.dashdash: | ||
return fmt.Errorf("%s: --exec runs the command written after --: %s", verb, execUsage) | ||
case exec && len(va.command) == 0: | ||
return fmt.Errorf("%s: --exec -- needs a command: %s", verb, execUsage) | ||
} | ||
return nil | ||
} | ||
| ||
func oldExec(verb, value string) error { | ||
return fmt.Errorf("%s: --exec takes no value; write the command after --: %s", verb, execExample(value)) | ||
} | ||
| ||
func execExample(line string) string { | ||
if strings.ContainsAny(line, " \t\n;|&<>()$`\\\"'*?[]#~=%{}") { | ||
return "--exec -- sh -c " + request.RemoteCommand([]string{line}) | ||
} | ||
return "--exec -- " + line | ||
} | ||
| ||
func printVerbUsage(w io.Writer, verb string, own []string, va verbArgs, app string) { | ||
if takesCommand(own) { | ||
fmt.Fprintf(w, "usage: socialweb-computer %s [options] %s\n the command and its args go to the guest as that argv, never through a shell; a shell line is --exec -- sh -c '<line>'\n", verb, execUsage) | ||
} | ||
if app == "" { | ||
return | ||
} | ||
names := slices.Clone(va.appShown) | ||
sort.Strings(names) | ||
fmt.Fprintf(w, "options of the %s application (%s), on the same command line:\n", app, "deploy/"+compose.OptionMapPath) | ||
line := " " | ||
for _, n := range names { | ||
if len(line)+len(n)+3 > 110 { | ||
fmt.Fprintln(w, line) | ||
line = " " | ||
} | ||
line += " --" + n | ||
} | ||
fmt.Fprintln(w, line) | ||
} | ||
| ||
type parsedArgs struct { | ||
Verb string `json:"verb"` | ||
Words []string `json:"words"` | ||
App []string `json:"app"` | ||
Command []string `json:"command"` | ||
} | ||
| ||
func (a *app) parseArgs(args []string) int { | ||
verb, rest, ok := capabilities.Find(args) | ||
if !ok { | ||
return a.fail(exitRefused, "%s: unknown subcommand %q", parseArgsVerb, strings.Join(args, " ")) | ||
} | ||
if _, folded := foldedVerbs()[verb.Path]; folded { | ||
return a.fail(exitRefused, "%s: %s parses its own arguments", parseArgsVerb, verb.Path) | ||
} | ||
if verb.Path == parseArgsVerb { | ||
return a.fail(exitRefused, "%s: not of itself", parseArgsVerb) | ||
} | ||
p, code, done := a.parseVerb(verb, rest) | ||
if done { | ||
return code | ||
} | ||
if app := verbApps[verb.Path]; app != "" { | ||
if _, err := compose.ParseAppArgs(app, a.args.app); err != nil { | ||
return a.fail(exitRefused, "%s: %v", verb.Path, err) | ||
} | ||
} | ||
out := parsedArgs{Verb: verb.Path, Words: p.rest, App: a.args.app} | ||
if p.vals.Bool(execOpt) { | ||
out.Command = a.args.command | ||
} | ||
a.printJSON(out) | ||
return exitOK | ||
} | ||
cmd/socialweb-computer/bidder.go+6−9
cmd/socialweb-computer/gatewayssh.go+3−3
cmd/socialweb-computer/install.go+5−5
cmd/socialweb-computer/main.go+64−19
cmd/socialweb-computer/request.go+73−104
cmd/socialweb-computer/requestagent.go+14−5
cmd/socialweb-computer/requestassociation.go+2−3
cmd/socialweb-computer/requester.go+7−7
deploy/apps/option-map.yaml+0−13
deploy/market-network/README.md+3−3
deploy/apiresourceschema-revisions.txt+3−0
deploy/check.sh+2−1
deploy/computecontract-apiexport.yaml+1−1
deploy/computecontract-apiresourceschema.yaml+7−1
deploy/exposure-apiresourceschema.yaml+2−1
deploy/marketnetwork-apiexport.yaml+1−1
deploy/requester-apiresourceschema.yaml+9−1
deploy/service-apiexport.yaml+1−1
did-key-associator/components/dka-app.js+1−1
did-key-associator/components/dka-oauth-transfer.js+1−1
did-key-associator/generated/oauth-scope.js+1−1
docs/acceptance/0001-auth-modes.md+6−6
docs/acceptance/0003-cli-webrtc-ssh.md+5−5
docs/acceptance/0004-vm-atirc-agent.md+1−1
docs/acceptance/0005-guest-requester-association.md+2−2
docs/acceptance/0006-rollout-compat.md+1−1
docs/acceptance/0007-bidder-termination.md+63−0
docs/acceptance/0012-infra-quickstart.md+2−2
docs/acceptance/0013-mixed-prod.md+8−8
docs/acceptance/0014-accept-fallback.md+15−9
docs/acceptance/0015-vm-memory.md+4−2
docs/acceptance/0017-owner-release.md+1−1
docs/acceptance/README.md+1−1
docs/design/ident-link-associations.md+3−3
docs/infra/FEDPROXY.md+36−0
docs/plans/0040-findings.md+1113−62
1175 lines changed: not loaded until asked for.
docs/plans/0040-release-pipeline.md+81−17
docs/plans/0043-cli-arguments.mdnew+268−0
docs/plans/0053-computer-socialweb-lexicons.md+1−1
docs/plans/0054-route-trust.mdnew+150−0
docs/protocol/compute-contract-flow-map.md+4−4
docs/protocol/flow.md+4−4
docs/protocol/glossary.md+10−12
docs/protocol/guest-events.md+27−25
docs/protocol/identity.md+24−2
docs/protocol/lexicons-market.md+11−29
docs/protocol/market.md+17−4
docs/protocol/outside.md+4−4
docs/protocol/policy.md+3−3
docs/protocol/README.md+11−14
docs/security/proposed-controls.md+215−0
docs/spec/integration-catalog.yaml+17−17
docs/ARCHITECTURE.md+27−6
docs/bidder.md+1−1
docs/ci-debug.md+31−22
docs/FEATURES.md+1−1
docs/quickstart-local.md+3−3
docs/quickstart-prod.md+11−11
docs/SYSTEM.md+5−3
hack/recordcheck/main.gonew+301−0
internal/app/compose/compose.go+2−0
internal/app/compose/optionmap.go+12−0
internal/app/compose/secretscontracts.gonew+83−0
internal/app/compose/status.go+2−4
internal/app/marketrequester/marketrequester.go+30−7
internal/atproto/cloudinit/agent.go+8−1
internal/atproto/cloudinit/guestsecrets.go+67−6
internal/atproto/cloudinit/modules.go+59−36
internal/atproto/ingress/client.go+8−0
internal/atproto/ingress/nonce.go+26−27
internal/atproto/ingress/protocol.go+1−0
internal/atproto/ingress/server.go+36−11
internal/atproto/ingress/status.go+3−1
internal/atproto/market/attest.go+55−13
internal/atproto/market/badgeblue.go+12−5
internal/atproto/market/contract.go+10−3
internal/atproto/market/http.go+34−10
internal/atproto/market/nsid.go+5−7
internal/atproto/market/repostore.go+11−4
internal/atproto/market/zz_generated.lexicons.go+114−83
internal/atproto/oauth/scope.go+3−3
internal/atproto/pdsclient/client.go+15−1
internal/atproto/recordcid/recordcid.gonew+204−0
internal/atprotorepo/remote/remote.go+10−1
internal/capabilities/capabilities.go+7−6
internal/clicfg/clicfg.go+12−4
internal/clicfg/options.json+12−10
internal/compute/firecracker/contract.go+1−0
internal/compute/firecracker/firecracker.go+10−1
internal/computevm/provider.go+6−0
internal/contract/market/intents.go+2−0
internal/controllers/marketintents/intents.go+17−0
internal/eventstream/market.go+21−7
internal/exposure/exposure.go+3−0
internal/exposure/subscriber.go+7−1
internal/guestagent/agent.go+10−0
internal/guestagent/association.go+1−6
internal/guestagent/config.go+42−11
internal/guestagent/requester.gonew+247−0
internal/guestagent/secrets.go+43−64
internal/guestagent/subscribe.go+2−0
internal/guestagent/wire.go+0−2
internal/guestcp/relay/relay.go+5−0
internal/guestnet/fence_linux.go+12−0
internal/guestnet/guestnet.go+21−2
internal/guestseed/binaries.go+13−4
internal/guestseed/userdata.go+1−1
internal/identlink/remote.go+35−32
internal/ingress/webrtc/meshdial.go+11−1
internal/ingress/webrtc/webrtc.go+22−2
internal/kit/pinneddownloads/pinneddownloads.go+63−3
internal/market/bidder/acceptgiveup.go+2−18
internal/market/bidder/acceptgiveup_test.godeleted+0−82
internal/market/bidder/adapters.go+8−7
internal/market/bidder/bidder.go+22−8
internal/market/bidder/bids.go+14−4
internal/market/bidder/guestevents.go+7−0
internal/market/bidder/kinds.go+1−1
internal/market/bidder/memory.go+9−4
internal/market/bidder/offering.go+39−13
internal/market/bidder/policy.go+6−5
internal/market/bidder/provision.go+4−30
internal/market/bidder/submit.go+1−7
internal/market/bidder/syncs.go+2−20
internal/market/bidder/vmsize.go+423−98
521 lines changed: not loaded until asked for.
internal/market/participant/comms.go+8−4
internal/market/participant/records.go+15−2
internal/market/requester/accept.go+6−2
internal/market/requester/bidcatchup.go+8−1
internal/market/requester/callbacks.go+25−3
internal/market/requester/contractevents.go+10−1
internal/market/requester/events.go+18−21
internal/market/requester/guestsecrets.go+9−0
internal/market/requester/guestwebrtc.gonew+241−0
internal/market/requester/inbox.go+10−10
internal/market/requester/keybinding.gonew+51−0
internal/market/requester/market.go+93−69
internal/market/requester/observe.go+1−0
internal/market/requester/policy.go+5−1
internal/market/requester/requester.go+18−10
internal/market/requester/runner.go+159−59
internal/market/requester/secrets.go+185−23
internal/policyengine/controller/engine.go+19−4
internal/policyengine/controller/run.go+39−4
internal/policyengine/policytest/testdata/workflows/vouch-cache-key-undeclared.ymlnew+55−0
internal/policyengine/spec/engine_test.go+85−0
internal/policyengine/spec/harness_test.go+7−0
internal/policyengine/trust/trust.go+77−15
internal/services/bidder/guests.go+1−0
internal/services/bidder/routes.go+5−0
internal/services/bidder/wiring.go+1−0
internal/services/guestcontrolplane/config.go+1−0
internal/services/guestcontrolplane/downloads.gonew+80−0
internal/services/guestcontrolplane/routes.go+1−1
internal/services/guestcontrolplane/service.go+7−0
internal/services/requester/service.go+43−4
internal/services/requester/wiring.go+1−0
internal/stack/request/ssh.go+10−2
internal/vmruntime/runtime_linux.go+1−1
internal/vmruntime/vmruntime.go+2−0
internal/webrtcproxy/conn.go+21−4
lexicons/com/fedfork/exec/ops/getBidder.json+17−2
lexicons/com/fedfork/exec/ops/getHealth.json+6−2
lexicons/com/fedfork/exec/ops/getLog.json+7−2
lexicons/com/fedfork/exec/ops/getRequesterLog.json+12−3
lexicons/com/fedfork/exec/ops/getVm.json+16−2
lexicons/com/fedfork/exec/ops/getVmMemory.json+8−2
lexicons/com/fedfork/exec/ops/listVms.json+7−2
lexicons/com/fedproxy/temp/xrpc/alias.jsonnew+23−0
lexicons/com/fedproxy/temp/xrpc/getRegistrationNonce.jsonnew+36−0
lexicons/com/fedproxy/temp/xrpc/registration.jsonnew+25−0
lexicons/com/fedproxy/temp/xrpc/subscribe.jsonnew+141−0
lexicons/com/fedproxy/temp/xrpc/tunnel.jsonnew+24−0
lexicons/com/fedproxy/rbac.jsonnew+40−0
lexicons/com/fedproxy/sshPublicKey.jsonnew+21−0
lexicons/com/publicdomainrelay/temp/auth/allowlist/rbacDid.jsonnew+15−0
lexicons/com/publicdomainrelay/temp/cluster/controlPlaneDown.json+7−4
lexicons/com/publicdomainrelay/temp/cluster/controlPlaneUp.json+4−2
lexicons/com/publicdomainrelay/temp/cluster/createCluster.json+3−2
lexicons/com/publicdomainrelay/temp/cluster/deleteCluster.json+4−2
lexicons/com/publicdomainrelay/temp/cluster/getKubeconfig.json+4−2
lexicons/com/publicdomainrelay/temp/cluster/listClusters.json+5−3
lexicons/com/publicdomainrelay/temp/cluster/listKubeconfigs.json+4−2
lexicons/com/publicdomainrelay/temp/cluster/revokeIdentity.json+6−4
lexicons/com/publicdomainrelay/temp/cluster/revokeKubeconfig.json+4−2
lexicons/com/publicdomainrelay/temp/cluster/subscribeClusters.json+5−2
lexicons/com/publicdomainrelay/temp/compute/config/wif/simple.jsonnew+27−0
lexicons/com/publicdomainrelay/temp/compute/events/guest/image.json+1−1
lexicons/com/publicdomainrelay/temp/compute/events/guest/r2Start.json+1−1
lexicons/com/publicdomainrelay/temp/compute/events/guest/requesterDid.json+1−1
lexicons/com/publicdomainrelay/temp/compute/events/guest/secrets.json+1−1
lexicons/com/publicdomainrelay/temp/compute/events/guest/secretsApplied.json+1−1
lexicons/com/publicdomainrelay/temp/compute/events/guest/secretsRequested.json+1−1
lexicons/com/publicdomainrelay/temp/compute/events/vm/delete.json+1−1
lexicons/com/publicdomainrelay/temp/compute/events/vm/memoryPressure.json+1−1
lexicons/com/publicdomainrelay/temp/compute/events/vm/onNetwork.json+2−2
lexicons/com/publicdomainrelay/temp/compute/events/vm/oomKilled.json+1−1
lexicons/com/publicdomainrelay/temp/compute/events/vm/registerIdentity.jsondeleted+0−19
lexicons/com/publicdomainrelay/temp/compute/events/vm/sandbox.json+3−3
lexicons/com/publicdomainrelay/temp/compute/events/vm/started.jsondeleted+0−20
lexicons/com/publicdomainrelay/temp/compute/events/vm/terminated.json+4−3
lexicons/com/publicdomainrelay/temp/compute/guest/subscribeEvents.json+9−5
lexicons/com/publicdomainrelay/temp/compute/secrets/getSecrets.jsonnew+31−0
lexicons/com/publicdomainrelay/temp/compute/vm.json+5−5
lexicons/com/publicdomainrelay/temp/ingress/webRTC.json+2−2
lexicons/com/publicdomainrelay/temp/keepalive/ping.jsonnew+14−0
lexicons/com/publicdomainrelay/temp/market/accepts/free.json+1−1
lexicons/com/publicdomainrelay/temp/market/accepts/x402.json+2−2
lexicons/com/publicdomainrelay/temp/market/bids/x402.json+1−1
lexicons/com/publicdomainrelay/temp/market/policies/denoWorker.jsonnew+15−0
lexicons/com/publicdomainrelay/temp/market/receipts/free.json+1−1
lexicons/com/publicdomainrelay/temp/market/receipts/x402.json+1−1
lexicons/com/publicdomainrelay/temp/market/accept.json+2−2
lexicons/com/publicdomainrelay/temp/market/event.json+1−1
lexicons/com/publicdomainrelay/temp/market/offering.json+3−3
lexicons/com/publicdomainrelay/temp/market/receipt.json+3−3
lexicons/com/publicdomainrelay/temp/market/relays.json+1−1
lexicons/com/publicdomainrelay/temp/market/rfp.json+2−2
lexicons/com/publicdomainrelay/temp/market/submitAccept.json+14−17
lexicons/com/publicdomainrelay/temp/market/submitBid.json+4−4
lexicons/com/publicdomainrelay/temp/market/submitEvent.json+4−4
lexicons/com/publicdomainrelay/temp/market/submitRfp.json+7−4
lexicons/computer/socialweb/cicd/process/exec.jsonnew+40−0
lexicons/computer/socialweb/cicd/process/kill.jsonnew+32−0
lexicons/computer/socialweb/cicd/process/list.jsonnew+43−0
lexicons/computer/socialweb/cicd/process/read.jsonnew+40−0
lexicons/computer/socialweb/cicd/process/start.jsonnew+35−0
lexicons/computer/socialweb/cicd/process/write.jsonnew+33−0
lexicons/computer/socialweb/ingress/listen.json+1−0
lexicons/computer/socialweb/k8s/getJob.json+4−2
lexicons/computer/socialweb/k8s/kubectlApplyServerSide.json+4−2
lexicons/computer/socialweb/mesh/roster.jsondeleted+0−111
lexicons/computer/socialweb/temp/policy/ghalite.jsonnew+33−0
lexicons/computer/socialweb/temp/policy/typescript.jsonnew+15−0
lexicons/computer/socialweb/ephemeralInfra.json+1−1
lexicons/computer/socialweb/peer.json+2−2
scripts/check-cli-args.shnew+67−0
scripts/check-shards.sh+2−2
scripts/ci-prod-target.sh+1−1
scripts/ci-staging-total.sh+1−1
scripts/ci-test.sh+1−1
scripts/deploy-xrpc-relay.sh+11−0
scripts/promote.sh+4−4
site/index.md+8−1
tests/compositions/staging/probe.sh+1−1
tests/compositions/staging/README.md+3−2
tests/host/src/more.rs+295−12
tests/host/src/ops.rs+36−8
tests/host/src/swc.rs+160−50
tests/modules/acc-0001/src/s2.rs+2−2
tests/modules/acc-0003/src/lib.rs+7−3
tests/modules/acc-0006/src/lib.rs+1−1
tests/modules/acc-0007/src/lib.rs+347−23
tests/modules/acc-0007/src/upgrade.rsnew+306−0
tests/modules/acc-0007/module.json+17−3
tests/modules/acc-0013/src/lib.rs+2−2
tests/modules/acc-0014/src/lib.rs+440−31
471 lines changed: not loaded until asked for.