You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Refresh the local discovery and first-inference proof on the merged Router base. Add ADR 0086 to make operator-owned runtime state and genuine loaded-model evidence explicit; retain bounded prompt-free receipts and fail closed when local delivery is not proven.
[roadmap:WF-ROADMAP-0017]
wayfinder-router init --preset local --endpoint http://127.0.0.1:11434/v1 --model qwen2.5-coder:7b
17
18
wayfinder-router doctor
19
+
wayfinder-router serve
20
+
wayfinder-router local probe --model local --json
18
21
```
19
22
23
+
Choose the endpoint and model from the discovery output rather than copying the example blindly. Discovery touches only fixed loopback catalogs and never installs or pulls a model; setup is not complete until the fixed public inference probe returns a local execution receipt.
24
+
20
25
Point Codex, Claude Code, OpenCode, Pi, or Aider at the same loopback policy with
21
26
`wayfinder-router connect <client>`. See the
22
27
[verified coding-agent quick starts](docs/coding-agent-quickstarts.md), or run
# Prove a local inference before declaring first-run success
11
+
12
+
## Context
13
+
14
+
The native `local` starter preset names Ollama and `llama3.1`, but creating and parsing that file does not prove that either the runtime or model exists. An Omarchy surface can therefore report a configured service as ready while the first agent request will fail. Installing a runtime, pulling a model, scanning arbitrary ports, or choosing a discovered model without review would cross ownership, network, storage, and policy boundaries.
15
+
16
+
## Decision
17
+
18
+
1.`wayfinder-router local discover --json` queries only a fixed catalog of literal-loopback runtime endpoints for Ollama, LM Studio, llama.cpp, and vLLM. It emits `wf-local-discovery-v1` candidates containing only runtime name, loopback endpoint, fixed route ID, and public model ID. It does not install, pull, select, or write anything, and it does not scan the network.
19
+
2.`wayfinder-router init --preset local --endpoint URL --model MODEL` accepts one explicitly selected discovery result. The endpoint must remain literal loopback, the model ID is bounded, the generated policy is parse-validated, and the existing no-clobber create contract remains authoritative.
20
+
3.`wayfinder-router local probe --endpoint URL --model ROUTE_ID --json` sends one fixed, public, low-output request through an already running loopback Router. Success requires a non-empty normalized response plus the exact bounded receipt for that request with a terminal success and an `on-device` or `local-network` execution boundary.
21
+
4. The `wf-local-probe-v1` report includes endpoint, route, served destination, execution boundary, timestamp, request count, and the fixed-prompt disclosure. It never includes response text, prompt text beyond the public disclosure label, provider payloads, credentials, repository paths, tool arguments, or private reasoning.
22
+
5. Consumers may call setup complete only after the probe passes. An empty discovery, failed probe, missing receipt, hosted boundary, missing capability, or older Router remains visibly not ready.
23
+
24
+
## Consequences
25
+
26
+
- First run distinguishes “configuration exists” from “a local model actually answered.”
27
+
- Operators keep control of runtime installation, model downloads, and policy selection.
28
+
- Discovery intentionally misses runtimes on nonstandard ports until the operator supplies and reviews an explicit loopback endpoint.
29
+
- Hosted and account-backed first runs remain separate provider contracts; this decision does not import credentials or change Automatic routing.
Copy file name to clipboardExpand all lines: docs/coding-agent-quickstarts.md
+20-1Lines changed: 20 additions & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -7,7 +7,26 @@ the selected destination.
7
7
8
8
## Start Wayfinder
9
9
10
-
From a directory that does not already contain `wayfinder-router.toml`:
10
+
For an honest local-only first run, discover only the supported fixed-loopback runtime catalogs and review one candidate:
11
+
12
+
```sh
13
+
wayfinder-router local discover --json
14
+
wayfinder-router init --preset local \
15
+
--endpoint http://127.0.0.1:11434/v1 \
16
+
--model qwen2.5-coder:7b
17
+
wayfinder-router doctor
18
+
wayfinder-router serve
19
+
```
20
+
21
+
In another terminal, prove one real delivery through the running Router:
22
+
23
+
```sh
24
+
wayfinder-router local probe --model local --json
25
+
```
26
+
27
+
Discovery never scans arbitrary ports, installs a runtime, pulls a model, selects a candidate, or writes configuration. `init` retains its no-clobber contract. The fixed public probe reports `passed` only when its matching bounded receipt proves a successful on-device or local-network execution; it does not emit the request or response text. An empty candidate list means that no supported fixed-loopback catalog answered, not that the machine has no local runtime.
28
+
29
+
For a two-arm local/hosted policy, start from a directory that does not already contain `wayfinder-router.toml`:
Copy file name to clipboardExpand all lines: llms.txt
+11Lines changed: 11 additions & 0 deletions
Original file line number
Diff line number
Diff line change
@@ -14,6 +14,17 @@ cd ~/.config/omarchy/plugins/io.github.asdecided.wayfinder
14
14
15
15
Then ask the user to open the Wayfinder bar item and choose **Set up Wayfinder**. The plugin creates only a missing policy, validates it, and installs the independent user service. Never replace an existing policy, provider credential, coding-agent configuration, or independently installed Router binary.
16
16
17
+
For the local-only first-success path, discover fixed loopback catalogs, explicitly choose a returned model, initialize a no-clobber policy, start the Router, and prove one real routed response:
18
+
19
+
```sh
20
+
wayfinder-router local discover --json
21
+
wayfinder-router init --preset local --endpoint http://127.0.0.1:11434 --model MODEL
22
+
wayfinder-router serve
23
+
wayfinder-router local probe --endpoint http://127.0.0.1:8787 --model local --json
24
+
```
25
+
26
+
Discovery never scans the network, installs a runtime, pulls a model, or chooses on the user's behalf. The probe sends one fixed public prompt and reports only bounded delivery evidence; it never prints the model response. A policy is not created and readiness is not claimed unless every explicit step succeeds.
27
+
17
28
For a two-arm local/OpenAI policy outside the panel, run:
0 commit comments