SpeculationDurability
Parameters and properties
Section titled “Parameters and properties”transporterRequiredTransportTransport you own that stores the race under speculations/<sha256 of runId>.json with conditional writes, up to 16 MiB. createLocalTransport() under .outpost/storage is the usual choice.runIdRequiredstringStable nonempty name of the race. One coordinator owns it at a time; another speculate() call on it rejects until the owner returns or is recovered.versionRequiredstringNonempty version of your agents, validation and settings. With the repository, provider, candidate keys, briefs and budget, it must match the saved race, otherwise speculate() rejects.resumeOptional"retry-incomplete" | undefinedretry-incomplete replays candidates interrupted while running, with their side effects, as new attempts. Without it, a race with interrupted candidates rejects.