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