{
  "schemaVersion": 1,
  "canonicalUrl": "https://docs.wago.sh/",
  "pages": [
    {
      "path": "beta/getting-started.md",
      "title": "Getting started",
      "description": "Install Wago, select a runtime, and run a real WebAssembly module from a clean terminal.",
      "section": "Beta channel",
      "url": "https://docs.wago.sh/beta/getting-started",
      "markdown": "https://docs.wago.sh/raw/beta/getting-started.md",
      "headings": [
        "Install the manager",
        "Install a runtime",
        "Download a small module",
        "Run it",
        "Try the everyday commands",
        "Where to go next",
        "[Use the CLI well](./guides/cli)",
        "[Embed Wago in Go](./guides/embed/runtime-and-modules)",
        "[Add host capabilities](./using-plugins)",
        "[Fix a first-run problem](./troubleshooting)"
      ]
    },
    {
      "path": "beta/guides/cli.md",
      "title": "Use the CLI",
      "description": "Invoke, inspect, develop, debug, and precompile WebAssembly modules with the Wago CLI.",
      "section": "Beta channel",
      "url": "https://docs.wago.sh/beta/guides/cli",
      "markdown": "https://docs.wago.sh/raw/beta/guides/cli.md",
      "headings": [
        "Invoke an export",
        "Inspect and validate",
        "Develop",
        "Debug a trap",
        "Cache native code"
      ]
    },
    {
      "path": "beta/guides/cli/configuration.md",
      "title": "Configure and manage Wago",
      "description": "Configure CLI defaults and select, update, or pin Wago runtimes.",
      "section": "Beta channel",
      "url": "https://docs.wago.sh/beta/guides/cli/configuration",
      "markdown": "https://docs.wago.sh/raw/beta/guides/cli/configuration.md",
      "headings": [
        "Save configuration",
        "Install completions",
        "Select a runtime",
        "Choose a build",
        "Update"
      ]
    },
    {
      "path": "beta/guides/embed/artifacts.md",
      "title": "Cache compiled code",
      "description": "Serialize compiled WebAssembly, load trusted native code, and adopt it into a Wago runtime.",
      "section": "Beta channel",
      "url": "https://docs.wago.sh/beta/guides/embed/artifacts",
      "markdown": "https://docs.wago.sh/raw/beta/guides/embed/artifacts.md",
      "headings": [
        "Treat artifacts as executable code"
      ]
    },
    {
      "path": "beta/guides/embed/calls-and-state.md",
      "title": "Work with calls and state",
      "description": "Pass typed values, choose an instance lifetime, and access guest memory and globals.",
      "section": "Beta channel",
      "url": "https://docs.wago.sh/beta/guides/embed/calls-and-state",
      "markdown": "https://docs.wago.sh/raw/beta/guides/embed/calls-and-state.md",
      "headings": [
        "See instance state survive",
        "Read and write memory safely"
      ]
    },
    {
      "path": "beta/guides/embed/host-functions.md",
      "title": "Let Wasm call Go",
      "description": "Bind Go functions as WebAssembly imports and safely exchange data through guest memory.",
      "section": "Beta channel",
      "url": "https://docs.wago.sh/beta/guides/embed/host-functions",
      "markdown": "https://docs.wago.sh/raw/beta/guides/embed/host-functions.md",
      "headings": [
        "Bind a typed function",
        "WAT",
        "AssemblyScript",
        "TinyGo",
        "Read caller memory",
        "Re-enter Wasm deliberately",
        "Define failures deliberately"
      ]
    },
    {
      "path": "beta/guides/embed/limits-and-policy.md",
      "title": "Add limits and cancellation",
      "description": "Bound compilation and instance resources, apply guest policy, and cancel WebAssembly calls.",
      "section": "Beta channel",
      "url": "https://docs.wago.sh/beta/guides/embed/limits-and-policy",
      "markdown": "https://docs.wago.sh/raw/beta/guides/embed/limits-and-policy.md",
      "headings": [
        "Run with explicit boundaries",
        "Handle cancellation and failures"
      ]
    },
    {
      "path": "beta/guides/embed/runtime-and-modules.md",
      "title": "Run WebAssembly from Go",
      "description": "Compile a WebAssembly module, create an isolated instance, and call an export from Go.",
      "section": "Beta channel",
      "url": "https://docs.wago.sh/beta/guides/embed/runtime-and-modules",
      "markdown": "https://docs.wago.sh/raw/beta/guides/embed/runtime-and-modules.md",
      "headings": [
        "Create a small project",
        "WAT",
        "AssemblyScript",
        "TinyGo",
        "Know what you own"
      ]
    },
    {
      "path": "beta/guides/embed/services-and-concurrency.md",
      "title": "Run Wago in a service",
      "description": "Reuse compiled code across concurrent calls and shut a long-lived Wago runtime down cleanly.",
      "section": "Beta channel",
      "url": "https://docs.wago.sh/beta/guides/embed/services-and-concurrency",
      "markdown": "https://docs.wago.sh/raw/beta/guides/embed/services-and-concurrency.md",
      "headings": []
    },
    {
      "path": "beta/guides/plugin-authoring.md",
      "title": "Author Wago plugins",
      "description": "Build Wago plugins with explicit providers, exact Authorities, host imports, lifecycle hooks, configuration, and typed Contracts.",
      "section": "Beta channel",
      "url": "https://docs.wago.sh/beta/guides/plugin-authoring",
      "markdown": "https://docs.wago.sh/raw/beta/guides/plugin-authoring.md",
      "headings": [
        "Start here",
        "[Write your first plugin](./plugins/authoring/first-plugin)",
        "[Definitions and providers](./plugins/authoring/definitions-and-providers)",
        "[Testing](./plugins/authoring/testing)",
        "[Publish](./plugins/publish)",
        "Pick one next step",
        "Trust boundary"
      ]
    },
    {
      "path": "beta/guides/plugins.md",
      "title": "Use plugins",
      "description": "Add, review, run, and update a Wago plugin step by step.",
      "section": "Beta channel",
      "url": "https://docs.wago.sh/beta/guides/plugins",
      "markdown": "https://docs.wago.sh/raw/beta/guides/plugins.md",
      "headings": [
        "Follow the tutorial"
      ]
    },
    {
      "path": "beta/guides/plugins/authoring/configuration.md",
      "title": "Configure a plugin",
      "description": "Add strict JSON configuration to a Wago plugin and read it during registration.",
      "section": "Beta channel",
      "url": "https://docs.wago.sh/beta/guides/plugins/authoring/configuration",
      "markdown": "https://docs.wago.sh/raw/beta/guides/plugins/authoring/configuration.md",
      "headings": [
        "Define the Go shape",
        "Publish a schema",
        "Read the value",
        "Change configuration"
      ]
    },
    {
      "path": "beta/guides/plugins/authoring/contracts.md",
      "title": "Contracts and dependencies",
      "description": "Connect Wago plugins through typed, major-versioned Contracts.",
      "section": "Beta channel",
      "url": "https://docs.wago.sh/beta/guides/plugins/authoring/contracts",
      "markdown": "https://docs.wago.sh/raw/beta/guides/plugins/authoring/contracts.md",
      "headings": [
        "Name the service",
        "Provide it",
        "Require it",
        "Choose a binding"
      ]
    },
    {
      "path": "beta/guides/plugins/authoring/custom-instructions.md",
      "title": "Add a custom instruction",
      "description": "Define a custom imported operation with portable semantics and an optional native compiler lowering.",
      "section": "Beta channel",
      "url": "https://docs.wago.sh/beta/guides/plugins/authoring/custom-instructions",
      "markdown": "https://docs.wago.sh/raw/beta/guides/plugins/authoring/custom-instructions.md",
      "headings": [
        "Pick the guest ABI",
        "Request the module",
        "Define its meaning",
        "Add a scalar lowering"
      ]
    },
    {
      "path": "beta/guides/plugins/authoring/custom-types.md",
      "title": "Add a custom compiler type",
      "description": "Define an expression-scoped compiler value with a standard Wasm carrier and target-specific native representation.",
      "section": "Beta channel",
      "url": "https://docs.wago.sh/beta/guides/plugins/authoring/custom-types",
      "markdown": "https://docs.wago.sh/raw/beta/guides/plugins/authoring/custom-types.md",
      "headings": [
        "Register the type",
        "Use the returned token",
        "Provide native code"
      ]
    },
    {
      "path": "beta/guides/plugins/authoring/definitions-and-providers.md",
      "title": "Definitions and providers",
      "description": "Define immutable Wago plugin metadata, explicit provider factories, and side-effect-free register catalogs.",
      "section": "Beta channel",
      "url": "https://docs.wago.sh/beta/guides/plugins/authoring/definitions-and-providers",
      "markdown": "https://docs.wago.sh/raw/beta/guides/plugins/authoring/definitions-and-providers.md",
      "headings": [
        "`PluginDefinition`",
        "`PluginProvider`",
        "The `/register` catalog",
        "Keep versions aligned"
      ]
    },
    {
      "path": "beta/guides/plugins/authoring/first-plugin.md",
      "title": "Write your first plugin",
      "description": "Scaffold and test a Wago plugin that provides one host import to WebAssembly guests.",
      "section": "Beta channel",
      "url": "https://docs.wago.sh/beta/guides/plugins/authoring/first-plugin",
      "markdown": "https://docs.wago.sh/raw/beta/guides/plugins/authoring/first-plugin.md",
      "headings": [
        "Start the wizard",
        "Request one Authority",
        "Define the guest function",
        "Check it"
      ]
    },
    {
      "path": "beta/guides/plugins/authoring/guest-languages.md",
      "title": "Call a plugin from guest code",
      "description": "Call the same Wago plugin import from WAT, AssemblyScript, and TinyGo.",
      "section": "Beta channel",
      "url": "https://docs.wago.sh/beta/guides/plugins/authoring/guest-languages",
      "markdown": "https://docs.wago.sh/raw/beta/guides/plugins/authoring/guest-languages.md",
      "headings": [
        "WAT",
        "AssemblyScript",
        "TinyGo"
      ]
    },
    {
      "path": "beta/guides/plugins/authoring/host-imports.md",
      "title": "Add host imports",
      "description": "Add reflection-free host imports to a Wago plugin and handle values and guest memory safely.",
      "section": "Beta channel",
      "url": "https://docs.wago.sh/beta/guides/plugins/authoring/host-imports",
      "markdown": "https://docs.wago.sh/raw/beta/guides/plugins/authoring/host-imports.md",
      "headings": [
        "Get the registrar",
        "Write the callback",
        "Declare its Wasm signature",
        "Guest memory",
        "Guest capabilities"
      ]
    },
    {
      "path": "beta/guides/plugins/authoring/lifecycle-and-hooks.md",
      "title": "Lifecycle and hooks",
      "description": "Start and stop plugin state at the correct boundary, then add scoped runtime observers or interceptors.",
      "section": "Beta channel",
      "url": "https://docs.wago.sh/beta/guides/plugins/authoring/lifecycle-and-hooks",
      "markdown": "https://docs.wago.sh/raw/beta/guides/plugins/authoring/lifecycle-and-hooks.md",
      "headings": [
        "Add lifecycle callbacks",
        "Choose a hook",
        "Observe a call"
      ]
    },
    {
      "path": "beta/guides/plugins/authoring/testing.md",
      "title": "Test a plugin",
      "description": "Test a Wago plugin's Go code, registration plan, provider catalog, lifecycle, and clean installation.",
      "section": "Beta channel",
      "url": "https://docs.wago.sh/beta/guides/plugins/authoring/testing",
      "markdown": "https://docs.wago.sh/raw/beta/guides/plugins/authoring/testing.md",
      "headings": [
        "Test ordinary Go code",
        "Test registration",
        "Check the catalog",
        "Test shutdown",
        "Try the consumer path"
      ]
    },
    {
      "path": "beta/guides/plugins/faq.md",
      "title": "Plugin FAQ",
      "description": "Short answers about Wago plugin trust, builds, scopes, lockfiles, configuration, Contracts, testing, and publishing.",
      "section": "Beta channel",
      "url": "https://docs.wago.sh/beta/guides/plugins/faq",
      "markdown": "https://docs.wago.sh/raw/beta/guides/plugins/faq.md",
      "headings": [
        "Do I need a plugin for every Wasm module?",
        "Why does WASI come from a plugin?",
        "Do plugins require Go?",
        "Why does adding a plugin take longer than running a module?",
        "Should I install a plugin locally or globally?",
        "Are plugins sandboxed?",
        "What is an Authority?",
        "What happens if I deny a required Authority?",
        "How are guest capabilities different from plugin Authorities?",
        "Why are there two JSON files?",
        "Can I edit wago-lock.json by hand?",
        "Why does a plugin expose a register package?",
        "Can one repository publish several plugins?",
        "Can a plugin add custom Wasm instructions?",
        "What is a custom compiler type?",
        "Which guest languages can use a plugin?",
        "Where does plugin configuration live?",
        "When should two plugins use a Contract?",
        "Does inspection run plugin code?",
        "How do I test an unpublished plugin?",
        "Can the public registry host a private plugin?",
        "Why did a locked rebuild fail after an update?",
        "How do I remove a plugin?"
      ]
    },
    {
      "path": "beta/guides/plugins/grants-and-lockfiles.md",
      "title": "Review the install",
      "description": "Review the installed plugin, its requested access, and the generated lockfile.",
      "section": "Beta channel",
      "url": "https://docs.wago.sh/beta/guides/plugins/grants-and-lockfiles",
      "markdown": "https://docs.wago.sh/raw/beta/guides/plugins/grants-and-lockfiles.md",
      "headings": [
        "Inspect the graph"
      ]
    },
    {
      "path": "beta/guides/plugins/install-and-scope.md",
      "title": "Add a plugin",
      "description": "Create a local Wago project and add its first plugin interactively.",
      "section": "Beta channel",
      "url": "https://docs.wago.sh/beta/guides/plugins/install-and-scope",
      "markdown": "https://docs.wago.sh/raw/beta/guides/plugins/install-and-scope.md",
      "headings": []
    },
    {
      "path": "beta/guides/plugins/publish.md",
      "title": "Publish a Wago plugin",
      "description": "Initialize, review, authenticate, and publish an open-source Wago plugin package.",
      "section": "Beta channel",
      "url": "https://docs.wago.sh/beta/guides/plugins/publish",
      "markdown": "https://docs.wago.sh/raw/beta/guides/plugins/publish.md",
      "headings": [
        "Prepare the plugin",
        "Sign in",
        "Refresh the catalog",
        "Commit and tag",
        "Preview publication",
        "Publish"
      ]
    },
    {
      "path": "beta/guides/plugins/update-and-rebuild.md",
      "title": "Run and maintain the plugin",
      "description": "Run with the plugin, review updates, and reproduce its runtime from the lockfile.",
      "section": "Beta channel",
      "url": "https://docs.wago.sh/beta/guides/plugins/update-and-rebuild",
      "markdown": "https://docs.wago.sh/raw/beta/guides/plugins/update-and-rebuild.md",
      "headings": [
        "Check for updates",
        "Rebuild from the lockfile",
        "Remove a plugin"
      ]
    },
    {
      "path": "beta/index.md",
      "title": "Welcome to Wago",
      "description": "A wonderfully quick, compact, and extensible WebAssembly runtime for Go",
      "section": "Beta channel",
      "url": "https://docs.wago.sh/beta/",
      "markdown": "https://docs.wago.sh/raw/beta/index.md",
      "headings": [
        "What is Wago?",
        "What's in the box?",
        "Digging in",
        "[Run a Wasm file](./getting-started)",
        "[Embed Wago in Go](./guides/embed/runtime-and-modules)",
        "[Connect Wasm to Go](./guides/embed/host-functions)",
        "[Extend Wago with plugins](./using-plugins)"
      ]
    },
    {
      "path": "beta/reference/configuration.md",
      "title": "Configuration",
      "description": "Configure Wago globally, override it per project, and control deterministic automation with manifests and flags.",
      "section": "Beta channel",
      "url": "https://docs.wago.sh/beta/reference/configuration",
      "markdown": "https://docs.wago.sh/raw/beta/reference/configuration.md",
      "headings": [
        "Pick a topic",
        "[Scopes and settings](./configuration/scopes-and-settings)",
        "[Project manifest](./configuration/project-manifest)",
        "[Automation and Go](./configuration/automation-and-go)"
      ]
    },
    {
      "path": "beta/reference/configuration/automation-and-go.md",
      "title": "Configure CI, shells, and the Go API",
      "description": "Isolate Wago state, use automation flags and shell completions, and configure the Go runtime API.",
      "section": "Beta channel",
      "url": "https://docs.wago.sh/beta/reference/configuration/automation-and-go",
      "markdown": "https://docs.wago.sh/raw/beta/reference/configuration/automation-and-go.md",
      "headings": [
        "Isolate Wago state",
        "Automation flags",
        "Shell completions",
        "Go API"
      ]
    },
    {
      "path": "beta/reference/configuration/project-manifest.md",
      "title": "Configure `wago.json`",
      "description": "Configure Wago runtime features, optimizations, workers, and plugins in wago.json.",
      "section": "Beta channel",
      "url": "https://docs.wago.sh/beta/reference/configuration/project-manifest",
      "markdown": "https://docs.wago.sh/raw/beta/reference/configuration/project-manifest.md",
      "headings": [
        "Feature settings",
        "Optimization settings",
        "Runtime settings",
        "Plugins and lockfile state",
        "Publish metadata"
      ]
    },
    {
      "path": "beta/reference/configuration/scopes-and-settings.md",
      "title": "Configure global and project settings",
      "description": "Inspect and edit Wago settings in global or project scope, including experimental previews.",
      "section": "Beta channel",
      "url": "https://docs.wago.sh/beta/reference/configuration/scopes-and-settings",
      "markdown": "https://docs.wago.sh/raw/beta/reference/configuration/scopes-and-settings.md",
      "headings": [
        "Inspect effective configuration",
        "Get and set one value",
        "Reset inheritance",
        "Precedence"
      ]
    },
    {
      "path": "beta/troubleshooting.md",
      "title": "Troubleshooting",
      "description": "Diagnose Wago installation, runtime, module, plugin, compilation, and Go API failures from the outside in.",
      "section": "Beta channel",
      "url": "https://docs.wago.sh/beta/troubleshooting",
      "markdown": "https://docs.wago.sh/raw/beta/troubleshooting.md",
      "headings": [
        "Pick the failing boundary",
        "[Installation and runtimes](./troubleshooting/installation-and-runtimes)",
        "[Modules and calls](./troubleshooting/modules-and-calls)",
        "[Plugins and builds](./troubleshooting/plugins-and-builds)",
        "[Go API and memory](./troubleshooting/go-api-and-memory)",
        "Report an issue"
      ]
    },
    {
      "path": "beta/troubleshooting/go-api-and-memory.md",
      "title": "Fix Go API and guest memory problems",
      "description": "Diagnose Wago Go API host signatures, guest memory access, cancellation, and instance concurrency.",
      "section": "Beta channel",
      "url": "https://docs.wago.sh/beta/troubleshooting/go-api-and-memory",
      "markdown": "https://docs.wago.sh/raw/beta/troubleshooting/go-api-and-memory.md",
      "headings": [
        "Host import mismatch",
        "Guest memory range failure",
        "Cancellation does not stop work",
        "Concurrent instance calls",
        "Report a reduced failure"
      ]
    },
    {
      "path": "beta/troubleshooting/installation-and-runtimes.md",
      "title": "Fix installation and runtime selection",
      "description": "Fix Wago PATH, missing runtime, wrong variant, cache, and stale precompiled artifact problems.",
      "section": "Beta channel",
      "url": "https://docs.wago.sh/beta/troubleshooting/installation-and-runtimes",
      "markdown": "https://docs.wago.sh/raw/beta/troubleshooting/installation-and-runtimes.md",
      "headings": [
        "The shell cannot find `wago`",
        "macOS / Linux",
        "PowerShell",
        "Command Prompt",
        "No runtime is active",
        "The wrong variant is active",
        "A `.wago` file stopped loading",
        "Inspect and clean caches"
      ]
    },
    {
      "path": "beta/troubleshooting/modules-and-calls.md",
      "title": "Fix module, import, export, and call errors",
      "description": "Diagnose Wago module decoding, validation, imports, exports, arguments, and WebAssembly feature sets.",
      "section": "Beta channel",
      "url": "https://docs.wago.sh/beta/troubleshooting/modules-and-calls",
      "markdown": "https://docs.wago.sh/raw/beta/troubleshooting/modules-and-calls.md",
      "headings": [
        "Decode or validation failure",
        "Missing import",
        "Missing export",
        "Rejected arguments"
      ]
    },
    {
      "path": "beta/troubleshooting/plugins-and-builds.md",
      "title": "Fix plugin resolution and standalone builds",
      "description": "Diagnose Wago plugin resolution, Authority Grants, Contract bindings, lockfiles, offline mode, and standalone builds.",
      "section": "Beta channel",
      "url": "https://docs.wago.sh/beta/troubleshooting/plugins-and-builds",
      "markdown": "https://docs.wago.sh/raw/beta/troubleshooting/plugins-and-builds.md",
      "headings": [
        "Inspect plugin state",
        "Locked mode fails",
        "Dependency resolution fails",
        "Contract binding fails",
        "An Authority is denied",
        "Offline mode fails",
        "Standalone compilation fails"
      ]
    },
    {
      "path": "beta/using-plugins.md",
      "title": "Using plugins",
      "description": "Install the WASI plugin, review its access, and run a WASI module with Wago.",
      "section": "Beta channel",
      "url": "https://docs.wago.sh/beta/using-plugins",
      "markdown": "https://docs.wago.sh/raw/beta/using-plugins.md",
      "headings": [
        "Before you begin",
        "Create a local Wago project",
        "Add WASI",
        "Download a WASI module",
        "Run it",
        "Where to go next",
        "[Install and choose scope](./guides/plugins/install-and-scope)",
        "[Review grants and lockfiles](./guides/plugins/grants-and-lockfiles)",
        "[Write your own plugin](./guides/plugins/authoring/first-plugin)",
        "[Browse plugins](https://plugins.wago.sh)",
        "[Troubleshoot a build](./troubleshooting/plugins-and-builds)"
      ]
    },
    {
      "path": "components.md",
      "title": "Documentation components",
      "description": "Author rich Wago documentation with synchronized tabs, cards, steps, API blocks, file trees, and WAT highlighting.",
      "section": "Optional authoring reference",
      "url": "https://docs.wago.sh/components",
      "markdown": "https://docs.wago.sh/raw/components.md",
      "headings": [
        "Tabbed code examples",
        "Tabbed sections",
        "Compile",
        "Instantiate",
        "Run",
        "Cards",
        "[Get started](/canary/getting-started)",
        "[Configuration](/canary/reference/configuration)",
        "[Plugin registry](https://plugins.wago.sh/)",
        "[Source code](https://github.com/wago-org/wago)",
        "Steps",
        "Install Wago",
        "Compile a module",
        "Run it",
        "Status badges",
        "Accordions",
        "What is compiled once?",
        "Does Wago require cgo?",
        "API endpoints",
        "GET /api/packages",
        "POST /api/packages/{name}/installs",
        "Comparisons",
        "File trees",
        "Code annotations"
      ]
    },
    {
      "path": "canary/getting-started.md",
      "title": "Getting started",
      "description": "Install Wago, select a runtime, and run a real WebAssembly module from a clean terminal.",
      "section": "Canary channel",
      "url": "https://docs.wago.sh/canary/getting-started",
      "markdown": "https://docs.wago.sh/raw/canary/getting-started.md",
      "headings": [
        "Before you begin",
        "Install the manager",
        "Install a runtime",
        "Download a small module",
        "Run it",
        "Try the everyday commands",
        "Where to go next",
        "[Use the CLI well](./guides/cli)",
        "[Embed Wago in Go](./guides/embed/runtime-and-modules)",
        "[Add host capabilities](./using-plugins)",
        "[Fix a first-run problem](./troubleshooting)"
      ]
    },
    {
      "path": "canary/guides/cli.md",
      "title": "Use the CLI",
      "description": "Run and inspect Wasm, build standalone executables, and diagnose Wago workloads from the terminal.",
      "section": "Canary channel",
      "url": "https://docs.wago.sh/canary/guides/cli",
      "markdown": "https://docs.wago.sh/raw/canary/guides/cli.md",
      "headings": [
        "Find the right command"
      ]
    },
    {
      "path": "canary/guides/cli/configuration.md",
      "title": "Configure and manage Wago",
      "description": "Choose Wago runtime profiles, pin a revision, and keep project and user defaults separate.",
      "section": "Canary channel",
      "url": "https://docs.wago.sh/canary/guides/cli/configuration",
      "markdown": "https://docs.wago.sh/raw/canary/guides/cli/configuration.md",
      "headings": [
        "Know what is running",
        "Pick a channel",
        "Choose a profile and build",
        "Save defaults where they belong",
        "Update deliberately",
        "Add shell completion"
      ]
    },
    {
      "path": "canary/guides/cli/profiling.md",
      "title": "Profile and debug a workload",
      "description": "Reproduce a Wasm trap, build the opt-in profiler, validate a workload, and distinguish elapsed timings from native CPU samples.",
      "section": "Canary channel",
      "url": "https://docs.wago.sh/canary/guides/cli/profiling",
      "markdown": "https://docs.wago.sh/raw/canary/guides/cli/profiling.md",
      "headings": [
        "Reproduce a trap",
        "Build the optional profiler",
        "Record a checked workload",
        "Read the capture",
        "Collect native CPU samples on Linux",
        "Compare equivalent work",
        "Bound the recording and protect its contents"
      ]
    },
    {
      "path": "canary/guides/cli/running-modules.md",
      "title": "Run and inspect modules",
      "description": "Choose exports, pass typed arguments, inspect module metadata, rerun changed Wasm, and save trusted native artifacts.",
      "section": "Canary channel",
      "url": "https://docs.wago.sh/canary/guides/cli/running-modules",
      "markdown": "https://docs.wago.sh/raw/canary/guides/cli/running-modules.md",
      "headings": [
        "Check the module first",
        "Call an export",
        "Call several exports on one instance",
        "Rerun after a rebuild",
        "Adjust compilation and stack capacity",
        "Save compiled code for later"
      ]
    },
    {
      "path": "canary/guides/cli/standalone.md",
      "title": "Build a standalone executable",
      "description": "Package WebAssembly as a native executable with Go or TinyGo, with tested prerequisites and platform limits.",
      "section": "Canary channel",
      "url": "https://docs.wago.sh/canary/guides/cli/standalone",
      "markdown": "https://docs.wago.sh/raw/canary/guides/cli/standalone.md",
      "headings": [
        "Before you start",
        "Build with Go",
        "Build a smaller executable with TinyGo",
        "Choose the entry point and arguments",
        "Include the plugins your guest needs",
        "Build on the destination platform",
        "Diagnose a failed build"
      ]
    },
    {
      "path": "canary/guides/components.md",
      "title": "Run a WebAssembly component",
      "description": "Invoke a typed Component Model export from Go and run a WASI Preview 2 command through a scoped service lease.",
      "section": "Canary channel",
      "url": "https://docs.wago.sh/canary/guides/components",
      "markdown": "https://docs.wago.sh/raw/canary/guides/components.md",
      "headings": [
        "Run the complete example",
        "Declare the service you need",
        "Call a typed export",
        "Run a Preview 2 command",
        "Review resource limits",
        "Add your own host interface"
      ]
    },
    {
      "path": "canary/guides/embed/artifacts.md",
      "title": "Cache compiled code",
      "description": "Serialize compiled WebAssembly, load trusted native code, and adopt it into a Wago runtime.",
      "section": "Canary channel",
      "url": "https://docs.wago.sh/canary/guides/embed/artifacts",
      "markdown": "https://docs.wago.sh/raw/canary/guides/embed/artifacts.md",
      "headings": [
        "Treat artifacts as executable code"
      ]
    },
    {
      "path": "canary/guides/embed/calls-and-state.md",
      "title": "Work with calls and state",
      "description": "Pass typed values, choose an instance lifetime, and access guest memory and globals.",
      "section": "Canary channel",
      "url": "https://docs.wago.sh/canary/guides/embed/calls-and-state",
      "markdown": "https://docs.wago.sh/raw/canary/guides/embed/calls-and-state.md",
      "headings": [
        "Choose typed checks when you need them",
        "See instance state survive",
        "Resolve a frequently used export",
        "Add guest memory"
      ]
    },
    {
      "path": "canary/guides/embed/guest-memory.md",
      "title": "Exchange bytes with a guest",
      "description": "Pass strings through a pointer-length host import, reject invalid ranges, and read and write guest memory from Go.",
      "section": "Canary channel",
      "url": "https://docs.wago.sh/canary/guides/embed/guest-memory",
      "markdown": "https://docs.wago.sh/raw/canary/guides/embed/guest-memory.md",
      "headings": [
        "Keep borrowed memory inside the callback",
        "Use checked copies outside callbacks"
      ]
    },
    {
      "path": "canary/guides/embed/host-functions.md",
      "title": "Let Wasm call Go",
      "description": "Bind Go functions as WebAssembly imports and safely exchange data through guest memory.",
      "section": "Canary channel",
      "url": "https://docs.wago.sh/canary/guides/embed/host-functions",
      "markdown": "https://docs.wago.sh/raw/canary/guides/embed/host-functions.md",
      "headings": [
        "Bind a typed function",
        "WAT",
        "AssemblyScript",
        "TinyGo",
        "Read caller memory",
        "Re-enter Wasm deliberately",
        "Define failures deliberately"
      ]
    },
    {
      "path": "canary/guides/embed/limits-and-policy.md",
      "title": "Add limits and cancellation",
      "description": "Bound compilation and instance resources, apply guest policy, and cancel WebAssembly calls.",
      "section": "Canary channel",
      "url": "https://docs.wago.sh/canary/guides/embed/limits-and-policy",
      "markdown": "https://docs.wago.sh/raw/canary/guides/embed/limits-and-policy.md",
      "headings": [
        "Run with explicit boundaries",
        "Handle cancellation and failures",
        "Interrupt a guest that does not return"
      ]
    },
    {
      "path": "canary/guides/embed/runtime-and-modules.md",
      "title": "Run WebAssembly from Go",
      "description": "Compile a WebAssembly module, create an isolated instance, and call an export from Go.",
      "section": "Canary channel",
      "url": "https://docs.wago.sh/canary/guides/embed/runtime-and-modules",
      "markdown": "https://docs.wago.sh/raw/canary/guides/embed/runtime-and-modules.md",
      "headings": [
        "Create a small project",
        "WAT",
        "AssemblyScript",
        "TinyGo",
        "Know what you own"
      ]
    },
    {
      "path": "canary/guides/embed/services-and-concurrency.md",
      "title": "Run Wago in a service",
      "description": "Reuse compiled code across concurrent calls and shut a long-lived Wago runtime down cleanly.",
      "section": "Canary channel",
      "url": "https://docs.wago.sh/canary/guides/embed/services-and-concurrency",
      "markdown": "https://docs.wago.sh/raw/canary/guides/embed/services-and-concurrency.md",
      "headings": [
        "Choose what can survive a request",
        "Wait for shutdown without deadlocking"
      ]
    },
    {
      "path": "canary/guides/plugin-authoring.md",
      "title": "Author Wago plugins",
      "description": "Build Wago plugins with explicit providers, exact Authorities, host imports, lifecycle hooks, configuration, and typed Contracts.",
      "section": "Canary channel",
      "url": "https://docs.wago.sh/canary/guides/plugin-authoring",
      "markdown": "https://docs.wago.sh/raw/canary/guides/plugin-authoring.md",
      "headings": [
        "Start here",
        "[Write your first plugin](./plugins/authoring/first-plugin)",
        "[Definitions and providers](./plugins/authoring/definitions-and-providers)",
        "[Testing](./plugins/authoring/testing)",
        "[Publish](./plugins/publish)",
        "Before you begin",
        "Pick one next step",
        "Trust boundary"
      ]
    },
    {
      "path": "canary/guides/plugins.md",
      "title": "Use plugins",
      "description": "Add, review, run, and update a Wago plugin step by step.",
      "section": "Canary channel",
      "url": "https://docs.wago.sh/canary/guides/plugins",
      "markdown": "https://docs.wago.sh/raw/canary/guides/plugins.md",
      "headings": [
        "Follow the tutorial"
      ]
    },
    {
      "path": "canary/guides/plugins/authoring/configuration.md",
      "title": "Configure a plugin",
      "description": "Add strict JSON configuration to a Wago plugin and read it during registration.",
      "section": "Canary channel",
      "url": "https://docs.wago.sh/canary/guides/plugins/authoring/configuration",
      "markdown": "https://docs.wago.sh/raw/canary/guides/plugins/authoring/configuration.md",
      "headings": [
        "Define the Go shape",
        "Publish a schema",
        "Read the value",
        "Change configuration"
      ]
    },
    {
      "path": "canary/guides/plugins/authoring/contracts.md",
      "title": "Contracts and dependencies",
      "description": "Connect Wago plugins through typed, major-versioned Contracts.",
      "section": "Canary channel",
      "url": "https://docs.wago.sh/canary/guides/plugins/authoring/contracts",
      "markdown": "https://docs.wago.sh/raw/canary/guides/plugins/authoring/contracts.md",
      "headings": [
        "Name the service",
        "Provide it",
        "Require it",
        "Choose a binding"
      ]
    },
    {
      "path": "canary/guides/plugins/authoring/custom-instructions.md",
      "title": "Add a custom instruction",
      "description": "Define a custom imported operation with portable semantics and an optional native compiler lowering.",
      "section": "Canary channel",
      "url": "https://docs.wago.sh/canary/guides/plugins/authoring/custom-instructions",
      "markdown": "https://docs.wago.sh/raw/canary/guides/plugins/authoring/custom-instructions.md",
      "headings": [
        "Pick the guest ABI",
        "Request the module",
        "Define its meaning",
        "Add a scalar lowering"
      ]
    },
    {
      "path": "canary/guides/plugins/authoring/custom-types.md",
      "title": "Add a custom compiler type",
      "description": "Define an expression-scoped compiler value with a standard Wasm carrier and target-specific native representation.",
      "section": "Canary channel",
      "url": "https://docs.wago.sh/canary/guides/plugins/authoring/custom-types",
      "markdown": "https://docs.wago.sh/raw/canary/guides/plugins/authoring/custom-types.md",
      "headings": [
        "Register the type",
        "Use the returned token",
        "Provide native code"
      ]
    },
    {
      "path": "canary/guides/plugins/authoring/definitions-and-providers.md",
      "title": "Definitions and providers",
      "description": "Define immutable Wago plugin metadata, explicit provider factories, and side-effect-free register catalogs.",
      "section": "Canary channel",
      "url": "https://docs.wago.sh/canary/guides/plugins/authoring/definitions-and-providers",
      "markdown": "https://docs.wago.sh/raw/canary/guides/plugins/authoring/definitions-and-providers.md",
      "headings": [
        "`PluginDefinition`",
        "`PluginProvider`",
        "The `/register` catalog",
        "Keep versions aligned"
      ]
    },
    {
      "path": "canary/guides/plugins/authoring/first-plugin.md",
      "title": "Write your first plugin",
      "description": "Scaffold, register, and execute a Wago plugin that provides one host import to a WebAssembly guest.",
      "section": "Canary channel",
      "url": "https://docs.wago.sh/canary/guides/plugins/authoring/first-plugin",
      "markdown": "https://docs.wago.sh/raw/canary/guides/plugins/authoring/first-plugin.md",
      "headings": [
        "Start the wizard",
        "Request one Authority",
        "Define the guest function",
        "Refresh and check the catalog",
        "Call it from Wasm",
        "Keep going"
      ]
    },
    {
      "path": "canary/guides/plugins/authoring/guest-languages.md",
      "title": "Call a plugin from guest code",
      "description": "Call the same Wago plugin import from WAT, AssemblyScript, and TinyGo.",
      "section": "Canary channel",
      "url": "https://docs.wago.sh/canary/guides/plugins/authoring/guest-languages",
      "markdown": "https://docs.wago.sh/raw/canary/guides/plugins/authoring/guest-languages.md",
      "headings": [
        "WAT",
        "AssemblyScript",
        "TinyGo",
        "Check the guest before loading it"
      ]
    },
    {
      "path": "canary/guides/plugins/authoring/host-imports.md",
      "title": "Add host imports",
      "description": "Add reflection-free host imports to a Wago plugin and handle values and guest memory safely.",
      "section": "Canary channel",
      "url": "https://docs.wago.sh/canary/guides/plugins/authoring/host-imports",
      "markdown": "https://docs.wago.sh/raw/canary/guides/plugins/authoring/host-imports.md",
      "headings": [
        "Get the registrar",
        "Write the callback",
        "Declare its Wasm signature",
        "Guest memory",
        "Guest capabilities"
      ]
    },
    {
      "path": "canary/guides/plugins/authoring/lifecycle-and-hooks.md",
      "title": "Lifecycle and hooks",
      "description": "Start and stop plugin state at the correct boundary, then add scoped runtime observers or interceptors.",
      "section": "Canary channel",
      "url": "https://docs.wago.sh/canary/guides/plugins/authoring/lifecycle-and-hooks",
      "markdown": "https://docs.wago.sh/raw/canary/guides/plugins/authoring/lifecycle-and-hooks.md",
      "headings": [
        "Add lifecycle callbacks",
        "Choose a hook",
        "Observe a call"
      ]
    },
    {
      "path": "canary/guides/plugins/authoring/testing.md",
      "title": "Test a plugin",
      "description": "Test a Wago plugin's Go code, registration plan, provider catalog, lifecycle, and clean installation.",
      "section": "Canary channel",
      "url": "https://docs.wago.sh/canary/guides/plugins/authoring/testing",
      "markdown": "https://docs.wago.sh/raw/canary/guides/plugins/authoring/testing.md",
      "headings": [
        "Test ordinary Go code",
        "Test registration",
        "Execute a guest",
        "Check the catalog",
        "Test shutdown",
        "Try the consumer path"
      ]
    },
    {
      "path": "canary/guides/plugins/faq.md",
      "title": "Plugin FAQ",
      "description": "Short answers about Wago plugin trust, builds, scopes, lockfiles, configuration, Contracts, testing, and publishing.",
      "section": "Canary channel",
      "url": "https://docs.wago.sh/canary/guides/plugins/faq",
      "markdown": "https://docs.wago.sh/raw/canary/guides/plugins/faq.md",
      "headings": [
        "Do I need a plugin for every Wasm module?",
        "Why does WASI come from a plugin?",
        "Do plugins require Go?",
        "Why does adding a plugin take longer than running a module?",
        "Should I install a plugin locally or globally?",
        "Are plugins sandboxed?",
        "What is an Authority?",
        "What happens if I deny a required Authority?",
        "How are guest capabilities different from plugin Authorities?",
        "Why are there two JSON files?",
        "Can I edit wago-lock.json by hand?",
        "Why does a plugin expose a register package?",
        "Can one repository publish several plugins?",
        "Can a plugin add custom Wasm instructions?",
        "What is a custom compiler type?",
        "Which guest languages can use a plugin?",
        "Where does plugin configuration live?",
        "When should two plugins use a Contract?",
        "Does inspection run plugin code?",
        "How do I test an unpublished plugin?",
        "Can the public registry host a private plugin?",
        "Why did a locked rebuild fail after an update?",
        "How do I remove a plugin?"
      ]
    },
    {
      "path": "canary/guides/plugins/grants-and-lockfiles.md",
      "title": "Review the install",
      "description": "Review the installed plugin, its requested access, and the generated lockfile.",
      "section": "Canary channel",
      "url": "https://docs.wago.sh/canary/guides/plugins/grants-and-lockfiles",
      "markdown": "https://docs.wago.sh/raw/canary/guides/plugins/grants-and-lockfiles.md",
      "headings": [
        "Inspect the graph"
      ]
    },
    {
      "path": "canary/guides/plugins/install-and-scope.md",
      "title": "Add a plugin",
      "description": "Create a local Wago project and add its first plugin interactively.",
      "section": "Canary channel",
      "url": "https://docs.wago.sh/canary/guides/plugins/install-and-scope",
      "markdown": "https://docs.wago.sh/raw/canary/guides/plugins/install-and-scope.md",
      "headings": [
        "Choose the scope deliberately",
        "Select a provider and version"
      ]
    },
    {
      "path": "canary/guides/plugins/publish.md",
      "title": "Publish a Wago plugin",
      "description": "Initialize, review, authenticate, and publish an open-source Wago plugin package.",
      "section": "Canary channel",
      "url": "https://docs.wago.sh/canary/guides/plugins/publish",
      "markdown": "https://docs.wago.sh/raw/canary/guides/plugins/publish.md",
      "headings": [
        "Prepare the plugin",
        "Sign in",
        "Refresh the catalog",
        "Commit and tag",
        "Preview publication",
        "Publish"
      ]
    },
    {
      "path": "canary/guides/plugins/update-and-rebuild.md",
      "title": "Run and maintain the plugin",
      "description": "Run with the plugin, review updates, and reproduce its runtime from the lockfile.",
      "section": "Canary channel",
      "url": "https://docs.wago.sh/canary/guides/plugins/update-and-rebuild",
      "markdown": "https://docs.wago.sh/raw/canary/guides/plugins/update-and-rebuild.md",
      "headings": [
        "Check for updates",
        "Rebuild from the lockfile",
        "Remove a plugin"
      ]
    },
    {
      "path": "canary/guides/wasi.md",
      "title": "Run a WASI command",
      "description": "Run a WASI Preview 1 command, pass arguments and environment, configure streams and mounts, and choose the Preview 2 path.",
      "section": "Canary channel",
      "url": "https://docs.wago.sh/canary/guides/wasi",
      "markdown": "https://docs.wago.sh/raw/canary/guides/wasi.md",
      "headings": [
        "Choose the preview",
        "Build a small command",
        "Pass arguments",
        "Choose environment values",
        "Choose streams",
        "Grant a directory",
        "Keep the runtime reproducible"
      ]
    },
    {
      "path": "canary/index.md",
      "title": "Welcome to Wago",
      "description": "A wonderfully quick, compact, and extensible WebAssembly runtime for Go",
      "section": "Canary channel",
      "url": "https://docs.wago.sh/canary/",
      "markdown": "https://docs.wago.sh/raw/canary/index.md",
      "headings": [
        "What is Wago?",
        "What's in the box?",
        "Digging in",
        "[Run a Wasm file](./getting-started)",
        "[Embed Wago in Go](./guides/embed/runtime-and-modules)",
        "[Connect Wasm to Go](./guides/embed/host-functions)",
        "[Extend Wago with plugins](./using-plugins)"
      ]
    },
    {
      "path": "canary/reference/configuration.md",
      "title": "Configuration",
      "description": "Configure Wago globally, override it per project, and control deterministic automation with manifests and flags.",
      "section": "Canary channel",
      "url": "https://docs.wago.sh/canary/reference/configuration",
      "markdown": "https://docs.wago.sh/raw/canary/reference/configuration.md",
      "headings": [
        "Pick a topic",
        "[Scopes and settings](./configuration/scopes-and-settings)",
        "[Project manifest](./configuration/project-manifest)",
        "[Automation and Go](./configuration/automation-and-go)"
      ]
    },
    {
      "path": "canary/reference/configuration/automation-and-go.md",
      "title": "Configure CI, shells, and the Go API",
      "description": "Isolate Wago state, use automation flags and shell completions, and configure the Go runtime API.",
      "section": "Canary channel",
      "url": "https://docs.wago.sh/canary/reference/configuration/automation-and-go",
      "markdown": "https://docs.wago.sh/raw/canary/reference/configuration/automation-and-go.md",
      "headings": [
        "Isolate Wago state",
        "Automation flags",
        "Shell completions",
        "Go API"
      ]
    },
    {
      "path": "canary/reference/configuration/project-manifest.md",
      "title": "Configure `wago.json`",
      "description": "Configure Wago runtime features, optimizations, workers, and plugins in wago.json.",
      "section": "Canary channel",
      "url": "https://docs.wago.sh/canary/reference/configuration/project-manifest",
      "markdown": "https://docs.wago.sh/raw/canary/reference/configuration/project-manifest.md",
      "headings": [
        "Feature settings",
        "Optimization settings",
        "Runtime settings",
        "Plugins and lockfile state",
        "Publish metadata"
      ]
    },
    {
      "path": "canary/reference/configuration/scopes-and-settings.md",
      "title": "Configure global and project settings",
      "description": "Inspect and edit Wago settings in global or project scope, including experimental previews.",
      "section": "Canary channel",
      "url": "https://docs.wago.sh/canary/reference/configuration/scopes-and-settings",
      "markdown": "https://docs.wago.sh/raw/canary/reference/configuration/scopes-and-settings.md",
      "headings": [
        "Inspect effective configuration",
        "Get and set one value",
        "Reset inheritance",
        "Precedence"
      ]
    },
    {
      "path": "canary/troubleshooting.md",
      "title": "Troubleshooting",
      "description": "Diagnose Wago installation, runtime, module, plugin, compilation, and Go API failures from the outside in.",
      "section": "Canary channel",
      "url": "https://docs.wago.sh/canary/troubleshooting",
      "markdown": "https://docs.wago.sh/raw/canary/troubleshooting.md",
      "headings": [
        "Pick the failing boundary",
        "[Installation and runtimes](./troubleshooting/installation-and-runtimes)",
        "[Modules and calls](./troubleshooting/modules-and-calls)",
        "[Plugins and builds](./troubleshooting/plugins-and-builds)",
        "[Go API and memory](./troubleshooting/go-api-and-memory)",
        "Report an issue"
      ]
    },
    {
      "path": "canary/troubleshooting/go-api-and-memory.md",
      "title": "Fix Go API and guest memory problems",
      "description": "Diagnose Wago Go API host signatures, guest memory access, cancellation, and instance concurrency.",
      "section": "Canary channel",
      "url": "https://docs.wago.sh/canary/troubleshooting/go-api-and-memory",
      "markdown": "https://docs.wago.sh/raw/canary/troubleshooting/go-api-and-memory.md",
      "headings": [
        "The example does not compile",
        "Host import mismatch",
        "Guest memory range failure",
        "Cancellation does not stop work",
        "Concurrent instance calls",
        "Shutdown timed out",
        "Report a reduced failure"
      ]
    },
    {
      "path": "canary/troubleshooting/installation-and-runtimes.md",
      "title": "Fix installation and runtime selection",
      "description": "Fix Wago PATH, missing runtime, wrong variant, cache, and stale precompiled artifact problems.",
      "section": "Canary channel",
      "url": "https://docs.wago.sh/canary/troubleshooting/installation-and-runtimes",
      "markdown": "https://docs.wago.sh/raw/canary/troubleshooting/installation-and-runtimes.md",
      "headings": [
        "The shell cannot find `wago`",
        "macOS / Linux",
        "PowerShell",
        "Command Prompt",
        "No runtime is active",
        "The wrong variant is active",
        "The installer is building from source",
        "Standard commands are missing",
        "A `.wago` file stopped loading",
        "Inspect and clean caches"
      ]
    },
    {
      "path": "canary/troubleshooting/modules-and-calls.md",
      "title": "Fix module, import, export, and call errors",
      "description": "Diagnose Wago module decoding, validation, imports, exports, arguments, and WebAssembly feature sets.",
      "section": "Canary channel",
      "url": "https://docs.wago.sh/canary/troubleshooting/modules-and-calls",
      "markdown": "https://docs.wago.sh/raw/canary/troubleshooting/modules-and-calls.md",
      "headings": [
        "Decode or validation failure",
        "Missing import",
        "Missing export",
        "Rejected arguments",
        "A Go embedder never starts the program",
        "A raw result changes after another call"
      ]
    },
    {
      "path": "canary/troubleshooting/plugins-and-builds.md",
      "title": "Fix plugin resolution and standalone builds",
      "description": "Diagnose Wago plugin resolution, Authority Grants, Contract bindings, lockfiles, offline mode, and standalone builds.",
      "section": "Canary channel",
      "url": "https://docs.wago.sh/canary/troubleshooting/plugins-and-builds",
      "markdown": "https://docs.wago.sh/raw/canary/troubleshooting/plugins-and-builds.md",
      "headings": [
        "Inspect plugin state",
        "A first plugin passes tests but cannot load",
        "Configuration succeeds but startup fails",
        "A component reports `bad version at offset 4`",
        "WASI access fails",
        "Locked mode fails",
        "Dependency resolution fails",
        "Contract binding fails",
        "An Authority is denied",
        "Offline mode fails",
        "Standalone compilation fails"
      ]
    },
    {
      "path": "canary/using-plugins.md",
      "title": "Using plugins",
      "description": "Install the WASI plugin, review its access, and run a WASI module with Wago.",
      "section": "Canary channel",
      "url": "https://docs.wago.sh/canary/using-plugins",
      "markdown": "https://docs.wago.sh/raw/canary/using-plugins.md",
      "headings": [
        "Before you begin",
        "Create a local Wago project",
        "Add WASI",
        "Download a WASI module",
        "Run it",
        "Where to go next",
        "[Configure a WASI command](./guides/wasi)",
        "[Run a component](./guides/components)",
        "[Install and choose scope](./guides/plugins/install-and-scope)",
        "[Review grants and lockfiles](./guides/plugins/grants-and-lockfiles)",
        "[Write your own plugin](./guides/plugins/authoring/first-plugin)",
        "[Browse plugins](https://plugins.wago.sh)",
        "[Troubleshoot a build](./troubleshooting/plugins-and-builds)"
      ]
    }
  ]
}
