Skip to content

Architecture Decisions ​

These records explain why Wayfindr is built the way it is. Each one gives the context, the decision, and what follows from it. A record is not rewritten when the code changes: a later decision amends or replaces it.

ADRDecision
0001Expose exactly two meta-tools: search_tools and call_tool.
0002Implement in Go, shipped as a single static binary.
0003One daemon owns all upstreams; clients connect over local HTTP.
0004Refresh OAuth tokens lazily, single-flight per credential.
0005Each store implements hybrid search; SQLite computes cosine in Go.
0006Declarative TOML config; secrets live encrypted in the store.
0007OAuth discovery chain, client registration order, and redirect handling.
0008Relay elicitation to clients.
0009Choose which upstream tools agents see with a per-connector tools list.
0010Narrow a project's connectors and tools with a project scope file.
0011Pick a scope by name with profiles in the config.
0012Limit a client to named connectors with scoped client tokens.
0013Serve /mcp statelessly at every protocol version.
0014Record every call_tool call in a call log, without arguments or results.
0015Warn before a connector's credential fails, without refreshing it.
0016Serve a local web console over the admin API, signed in from the CLI.
0017Let the daemon add connectors for the console; review commands before they run.
0018Model upstream OAuth as three axes: grant, client authentication, sender constraint.
0019Load connector logos from theSVG on jsDelivr; embed only the slug list.
0020Send an opt-in daily usage report of counts and allowlisted names.
0021Let cloud agents reach /mcp through a tunnel with remote client tokens.

0001 to 0007 were accepted on 2026-11-03, 0013 on 2026-11-04, 0014 and 0015 on 2026-11-08, 0008 and 0009 on 2026-11-09, 0010 on 2026-11-10, 0011 and 0012 on 2026-11-11, 0016 and 0017 on 2026-11-12, 0018 and 0019 on 2026-11-17, 0020 on 2026-11-18, and 0021 on 2026-11-21. 0013 to 0015 were written down on 2026-11-12, after their decisions shipped.

Released under the Apache 2.0 License.