docs(mesh): steps and routes are what a teapot exports
The CHANGELOG gains an [Unreleased] section — no version heading, no date — covering the three mesh changes on this branch and why each one follows from the first: a remote export is a step now, so it holds nothing between requests, so an absent teapot costs a 503 rather than a boot. The README says it in the Honest scope section, where the mesh caveats already live: what can be exported, what happens if you export a provider anyway, and why a missing token still fails the boot when an unreachable teapot no longer does. Two stale bits go with it. The JSDoc over assertNeedsSatisfiable still quoted the old unconditional message; the Deno and Bun fixtures still said a teapot exports its scopes. And the degrade plan's D6 planned to reuse a seam this branch deleted — a dated note says so, and why a degraded step never needed it. Signed-off-by: Diego Resendez <diego.resendez@zero-oneit.com>
This commit is contained in:
7 files changed
+69
-5
No files matched your search
+8
-1
@@ -699,7 +699,14 @@ function finalizeGraph(
|
||||
return { orderedProviders, orderedSteps };
|
||||
}
|
||||
|
||||
/** Throws if any route needs a key that nothing (local or mesh) provides, suggesting the nearest match. */
|
||||
/**
|
||||
* Throws if any route needs a key that nothing provides, suggesting the nearest match.
|
||||
*
|
||||
* `missingNote` arrives only from a mesh boot, and only when a teapot did not connect. It changes
|
||||
* what the message can honestly claim: "local or connected mesh" instead of "local or mesh", since
|
||||
* the exports of an absent teapot were never searched — and it appends which teapots those were,
|
||||
* which is the actual cause every time it is the cause.
|
||||
*/
|
||||
function assertNeedsSatisfiable(
|
||||
routePlans: RoutePlan[],
|
||||
providerNodes: GraphNode[],
|
||||
|
||||
Reference in new issue
Block a user