R5 — Infrastructure, Security, Integration and Ops
Researcher: R5. Scope: event sourcing/audit, self-hosted security, MCP/A2A ecosystem, webhook/API standards, notifications, backup/DR, LLM observability, LLM cost optimisation, local LLMs, plugin architecture. ~27 web searches used.
TOPIC 1 — Event sourcing and tamper-evident audit logs
- Rekor/Sigstore (2025-2026 activity): public append-only transparency log built on a Merkle tree; entries checkpointed so any rewrite changes the root hash, and
rekor-monitorlets third parties continuously verify consistency/inclusion. OpenSSF and Trail of Bits published Dec-2025 posts on using Rekor-style monitoring to catch malicious package releases — the pattern (public log + independent monitors + periodic checkpoint signing) is now considered supply-chain best practice, not just a Sigstore-specific trick. openssf.org/blog/2025/12/19, blog.trailofbits.com, sigstore/rekor-monitor - OpenTimestamps: proves data existed before a point in time by committing a hash into the Bitcoin blockchain; verification needs only the
.otsproof file plus 80-byte Bitcoin block headers — no trust in any calendar server or centralized infra required. 2026 usage pattern seen in the wild: a GitHub Action that stamps every commit automatically, storing.otsproofs alongside hash files in-repo. opentimestamps.org, medium.com/@bbkilboz - Postgres-native event sourcing pattern (2026 write-ups converge on the same shape): append-only
eventstable with a global monotonicbigserialposition for total order, anaggregate_idto partition per-entity streams, a per-aggregate version for optimistic concurrency, JSONB payload + metadata; DB-level enforcement via revoked UPDATE/DELETE grants or triggers that raise on mutation. oneuptime.com/blog/2026-01-30-event-store-design - Hash-chained audit logs: each event's hash = hash(canonical payload + previous event's hash); tampering with one row breaks every hash after it, giving cheap O(n) verification. Multiple 2026 posts explicitly distinguish this from "true" event sourcing: an audit log answers "who did what when" for compliance; an event store is a system-of-record for replay/rebuild. A system can (and often should) have both, but they're not the same artifact. dev.to/gentlyding
- Gap vs Resolution: Resolution already does hash-chained append-only Postgres/pglite with "signed anchors" — this is directly in line with 2026 best practice. What's not mentioned in the brief: (a) independent third-party monitoring of the chain (Rekor's key insight — a log an attacker fully controls, including its owner, is not self-evidently tamper-evident to anyone else), (b) anchoring the periodic signature to something external and low-cost like OpenTimestamps/Bitcoin rather than only a local keypair, which matters for a one-owner box where the same person controls both the app and its signing key.
- Concrete improvements:
- OpenTimestamps-anchor the periodic "signed anchor." What: instead of (or in addition to) signing anchors with a local key, submit the anchor hash to OpenTimestamps so it gets embedded in Bitcoin. Why: today "signed anchors" only prove the owner's own key signed them — if the box (and key) are compromised or the owner wants to dispute their own past self, there's no independent witness. An OpenTimestamps proof is free, needs no server trust, and gives a external, unforgeable "this hash existed by this Bitcoin block" fact for the whole event log's Merkle root, roughly weekly. Effort: S (a client library call + storing the
.otsfile next to the anchor). Risk: low; adds a soft external dependency (calendar servers, and eventually a full confirmation), but the proof degrades to "still valid" not "silently lost" if that dependency ever disappears, and it can be independently re-verified without asking Resolution's own server anything. - Publish a small "verify the ledger" tool the owner can run standalone. What: a script (like
rekor-monitor) that recomputes the hash chain from the raw event table and checks it against the last signed/anchored root, runnable offline. Why: the brief's stance ("money figures only from code") is undermined if the audit log itself can only be checked by trusting the app that wrote it. Effort: S. Risk: none — pure read-only verification tool.
- OpenTimestamps-anchor the periodic "signed anchor." What: instead of (or in addition to) signing anchors with a local key, submit the anchor hash to OpenTimestamps so it gets embedded in Bitcoin. Why: today "signed anchors" only prove the owner's own key signed them — if the box (and key) are compromised or the owner wants to dispute their own past self, there's no independent witness. An OpenTimestamps proof is free, needs no server trust, and gives a external, unforgeable "this hash existed by this Bitcoin block" fact for the whole event log's Merkle root, roughly weekly. Effort: S (a client library call + storing the
TOPIC 2 — Self-hosted app security: secrets at rest, passkeys/WebAuthn, Tailscale, token links vs sessions
- Secrets management landscape 2026: three converging approaches — centralized vault (HashiCorp Vault, now IBM-owned since the Feb-2025 acquisition; OpenBao is the community fork of the last MPL-licensed Vault 1.14.0, governed by OpenSSF, and now includes namespaces + horizontal read scaling for free that Vault Enterprise charges for), cloud KMS services, and encrypted-in-repo tools (SOPS — encrypts individual values in YAML/JSON/ENV files, keys stay plaintext, good git-diff ergonomics). For a single self-hosted box, SOPS +
age(not GPG) is the low-ceremony 2026 recommendation; a full Vault/OpenBao instance is generally overkill for one owner. unixy.io/blog/secrets-management-2026, startwithidentity.com - Passkeys/WebAuthn 2026 adoption: >15B accounts support passkeys, 48% of top-100 sites support them; both device-bound and synced (cloud-backed) passkey types exist — device-bound never leaves the authenticator, which matters for a "the owner signs every order" model. Self-hosted IdPs (Keycloak, Authentik) support WebAuthn as a config toggle. Important nuance: FIDO2/WebAuthn is built for login (identity), not transaction authorization — using it to approve a specific dollar-amount trade requires "dynamic linking" (binding the signature to the transaction content, not just proving presence), which the base WebAuthn ceremony does not give you out of the box; banking/PSD2-style implementations add this as an extra layer. wultra.com/blog, spark.money/glossary
- Tailscale Serve vs Funnel (2026):
tailscale serveexposes a local service only within the tailnet (zero open ports, automatic HTTPS, stable hostname);tailscale funnelis the one-flag change that makes it internet-reachable — several 2026 posts flag Funnel as "the one-word difference that puts your app on the public internet," i.e. an easy foot-gun for someone who meant Serve. April 2026 pricing update: Personal plan free forever, up to 6 users/unlimited devices. tailscale.com/docs/features/tailscale-serve, vpnsmith.com - Token links vs sessions: no single 2026 standard found beyond general API-key/JWT practice; the operative principle from Standard Webhooks/OAuth ecosystems is short-lived, scoped, revocable tokens over long-lived bearer links, and treating any "magic link" as equivalent to a password (must expire, must be single-use or narrowly scoped, must be logged when redeemed).
- Gap vs Resolution: charter mentions "scoped API tokens" — good — but the brief doesn't mention (a) SOPS/age for secrets at rest specifically (vs. generic ".env"), (b) that WebAuthn alone does not satisfy "the owner signs every order" for order-signing unless dynamic linking (binding the signature to the specific order content/amount) is added, (c) an explicit Funnel-vs-Serve default that fails closed.
- Concrete improvements:
- Bind the order-signing WebAuthn ceremony to the order's content hash, not just presence. What: when the owner "signs" an order, include a hash of the order's material terms (ticker, size, price band, timestamp) in the WebAuthn challenge so the resulting signature cryptographically covers that specific order, not just "a human touched the key around this time." Why: as shipped, a generic WebAuthn login-style challenge only proves presence/liveness, not that the owner saw and approved these terms — replay or UI-redress could get a valid signature over the wrong order. Effort: M (custom challenge construction + verification code, still stock WebAuthn browser APIs). Risk: medium — needs careful implementation to avoid breaking standard passkey UX; get this reviewed rather than home-grown.
- Default Tailscale exposure to
serve, require an explicit second confirmation step to ever enablefunnel. What: doc/config guardrail. Why: Resolution is phone-access-via-Tailscale by design; the single-word Serve→Funnel jump is a well-documented accidental-exposure pattern in 2026 write-ups. Effort: S. Risk: none. - Move secrets at rest from plain
.env/DB columns to SOPS+age. What: encrypt provider API keys, IBKR credentials, notification tokens with age keys, decrypt at process start. Why: cheap, git-diffable, no server to run (unlike Vault/OpenBao), fits a one-owner box. Effort: S–M. Risk: low; key management (where does the age private key live) becomes the new single point of failure — store it outside the repo/backup blob that gets shipped off-site, or the encryption is theater.
TOPIC 3 — The MCP ecosystem and agent interoperability as of 2026
- MCP 2026-07-28 spec is described as "the largest revision since launch," hardening authorization to align with real-world OAuth/OIDC deployments: MCP servers act as OAuth 2.1 resource servers, clients as OAuth 2.1 clients, with a separate authorization server issuing scoped tokens; discovery and token validation were made stricter, and there's now a path for "unattended agents" and centrally-managed (SSO-integrated) access so IT/owners can manage MCP access from one identity console. blog.modelcontextprotocol.io/2026-07-28, workos.com/blog
- MCP security is a live, serious problem in 2026, not theoretical: scans across thousands of real MCP servers found 43% vulnerable to command injection, 82% with path-traversal-prone file ops (n=2,614), 36.7% SSRF-vulnerable (n=7,000+), ~5.5% with detectable tool poisoning, and one broader scan found 66% of 1,808 servers had some security finding. Tool poisoning specifically: descriptions are an unsanitized text field where a malicious/compromised server embeds hidden instructions that agents follow without the user seeing them. Multiple IDEs (Cursor, Claude Code, Gemini CLI, Copilot, Amazon Q) were shown auto-executing project-defined MCP servers with full OS privileges and no sandboxing. Recommended mitigations: signed tool manifests, automated scanning of tool metadata for embedded instructions, and dynamic/session-scoped tool access instead of blanket grants. practical-devsecops.com, media.defense.gov CSI_MCP_SECURITY.pdf
- A2A (Agent2Agent): Google-originated (Apr 2025), moved to Linux Foundation (Jun 2025), 100+ companies backing it; framed as solving a different layer than MCP — MCP = agent-to-tool, A2A = agent-to-agent delegation across trust boundaries — so "most production multi-agent systems will use both," not one instead of the other. v1.0.1 (May 2026) added an extension mechanism; bindings exist for JSON-RPC, gRPC, and HTTP+JSON/REST. Independent 2026 commentary ("A2A in 2026: Adoption, Hype, and Reality") is more skeptical about real-world uptake outside genuinely independent, differently-owned agent systems. a2a-protocol.org, glukhov.org/a2a-protocol-2026-adoption
- Gap vs Resolution: Resolution already ships an MCP server as an integration surface — this puts it directly in the blast radius of the tool-poisoning and auto-execution issues above, especially since Resolution's MCP tools plausibly include things adjacent to money (reading positions, ledger, maybe ticket pricing). The brief doesn't mention MCP-server-side authorization hardening (2026-07-28 spec) or tool-manifest signing.
- Concrete improvements:
- Scope Resolution's own MCP server tools to read-only, narrowly-typed operations, and require a fresh, scoped token per client session rather than one static token. What: adopt the OAuth 2.1 resource-server pattern from the 2026-07-28 spec instead of a single static bearer token for the MCP endpoint. Why: matches where the ecosystem is moving and closes the "one leaked token = permanent access" failure mode. Effort: M. Risk: low; this is additive hardening, not new capability.
- Never let an externally-authored MCP server's tool description reach the LLM un-reviewed if Resolution ever consumes third-party MCP servers (vs. only exposing its own). What: if/when Resolution adds outbound MCP client capability (e.g. to pull external data), scan tool descriptions for embedded instructions before registering them, per Microsoft's recommended control. Why: the charter's own "web pages/documents are data never instructions" rule has a blind spot at the MCP tool-description layer specifically, which isn't "a document," it's metadata the agent trusts by default. Effort: S–M (a static scan against known injection patterns is a reasonable first pass). Risk: low, but false negatives are inherent — treat as defense-in-depth, not a guarantee.
TOPIC 4 — Webhook and API standards
- Standard Webhooks (Svix-stewarded, backers include Zapier, Twilio, Supabase, Lob, Mux, ngrok, Kong) standardizes three headers:
webhook-id,webhook-timestamp,webhook-signature(HMAC-SHA256 default). Thewebhook-iddoubles as the idempotency key — consumers cache seen IDs (e.g. in Redis for a bounded window) to dedupe retried/duplicate deliveries. Adopted by OpenAI, Anthropic, Google Gemini, Twilio, PagerDuty, Supabase — meaning a single verify+dedupe implementation now works across many compliant providers. github.com/standard-webhooks - OpenAPI 3.1 fully adopts JSON Schema 2020-12 (3.0's schema dialect was a custom restricted subset, not valid JSON Schema). By early 2026, most gateways/doc/test tooling default to 3.1; 3.0-only specs increasingly hit compatibility walls. OpenAPI 3.2 (Sept 2025) adds hierarchical tags, first-class streaming, custom HTTP methods, and migrates from 3.1 with zero breaking changes — the recommendation for new specs in 2026 is 3.1 minimum, ideally already 3.2-aware. learn.openapis.org/upgrading, anakin.ai/openapi-3-2-vs-3-1-vs-3-0
- Idempotency keys generally: the pattern (client-supplied unique key, server caches the result and replays it for a retry with the same key, rather than re-executing) is now table stakes for any API that can be safely retried — the Standard Webhooks spec essentially formalizes the receiving side of this for webhook delivery specifically.
- Gap vs Resolution: charter mentions a scoped
/api/v1OpenAPI surface and webhooks as integrations, but doesn't specify which OpenAPI version or whether outbound webhooks follow Standard Webhooks conventions. - Concrete improvements:
- Adopt Standard Webhooks verbatim for Resolution's outbound webhooks (9 notification channels / integrations). What: sign with
webhook-signatureHMAC, includewebhook-id/webhook-timestamp, document it as Standard-Webhooks-compliant. Why: free interoperability — anyone with an existing Standard-Webhooks verifier (increasingly common given OpenAI/Anthropic/Stripe-adjacent adoption) can consume Resolution's webhooks with zero custom code, and it closes the standard replay/dedupe gap for free. Effort: S. Risk: none. - Author
/api/v1's OpenAPI doc as 3.1 (JSON Schema 2020-12), not 3.0. What: pick the schema dialect deliberately. Why: 2026 tooling defaults to 3.1; going 3.0 now is already legacy. Effort: S if not yet written, M if it needs migrating. Risk: none for a not-yet-public API.
- Adopt Standard Webhooks verbatim for Resolution's outbound webhooks (9 notification channels / integrations). What: sign with
TOPIC 5 — Notification best practice
- ntfy remains the top 2026 pick for a self-hosted push hub: single Go binary + one YAML config, HTTP POST to publish, native Android/iOS/web apps, topic-based routing (e.g.
build-alerts,iot-home). Pushover is the closest managed alternative but is not self-hosted — messages transit Pushover's servers and are capped (7,500 msgs/month/app on paid tiers). For a one-owner privacy-sensitive fund app, ntfy's self-hosted option is the stronger default; Pushover trades that away for a more polished managed client and guaranteed delivery infra. stackharbor.com, notilens.com/pushover-alternatives - General best practice found repeatedly: alert only on things that need action (not every log line), topic-scope by severity/domain, and — a gap the search explicitly surfaced — quiet-hours and escalation logic are not a first-class ntfy feature; they have to be built at the application layer (e.g. Resolution's own notification dispatcher deciding "HARD block at 2am → escalate/repeat; SOFT warn at 2am → hold until morning digest").
- Gap vs Resolution: 9 notification channels is already broader than most self-hosted tools attempt. The brief doesn't mention quiet-hours/escalation policy explicitly — and per the research above, no downstream notification tool (ntfy or Pushover) will give this for free; it has to live in Resolution's own dispatch logic.
- Concrete improvements:
- Build quiet-hours + escalation as a Resolution-owned policy layer in front of all 9 channels, not per-channel. What: HARD-grade blocks/kill-switch events always page immediately regardless of hour; SOFT/LOG-grade items queue into the next digest unless the owner has an active override session. Why: none of the underlying transports (ntfy, Pushover, web push) do this, so it has to be first-class Resolution logic or it silently doesn't exist. Effort: M. Risk: low, but get the "what counts as urgent enough to wake someone" list explicitly signed off by the manager — this is a judgment call, not an engineering one, and the charter is clear that engineering doesn't make judgment calls for the manager.
TOPIC 6 — Backup and disaster recovery for small self-hosted apps
- restic remains the 2026 default for small self-hosted backup: encrypts client-side before upload, deduplicates, supports append-only/immutable repository keys (ransomware resistance), and works well with off-site targets like Backblaze B2 (a common "3-2-1 for self-hosters: restic + B2" pattern). dev.to/byte-guard
- 3-2-1 rule still the stated industry standard: 3 copies, 2 media types, 1 off-site.
- Restore drills: repeated 2026 advice converges on a concrete cadence — quarterly spot-restores of random files/snapshots, and a full "pull a random snapshot to a fresh VM and confirm the app actually boots" drill every six months. The framing used repeatedly: "a backup you've never tested is not a backup, it's a hope." Also flagged: wire the restic exit code into uptime/health monitoring (Healthchecks.io/Uptime Kuma pattern) so a silently-failing backup job is caught immediately, not discovered at restore time. selfhostwise.com, aicybr.com/self-hosted-backup-architecture
- Gap vs Resolution: brief lists "backups" and "doctor" but doesn't state a restore-drill cadence, dead-man's-switch monitoring on the backup job itself, or off-site target.
- Concrete improvements:
- Add a scheduled, automatic restore drill as a ritual, not just a backup job. What: monthly/quarterly, spin up the Postgres/pglite event log from the latest off-site restic snapshot into a throwaway container and run the hash-chain verifier from Topic 1 against it; report pass/fail to the owner. Why: this directly tests the two things Resolution's whole trust model depends on (backups exist, and the audit log is intact) in one automated step, closing the "hope, not backup" gap. Effort: M. Risk: low — needs disk/compute headroom on the box or a cheap scratch VM.
- Dead-man's-switch on the backup job itself. What: a Healthchecks.io-style ping-on-success pattern (self-hostable variant exists too) so a silently-broken backup cron is caught same-day, not at disaster time. Why: cheap, closes exactly the failure mode 2026 write-ups flag as most common ("backup fails for months, nobody notices"). Effort: S. Risk: none.
TOPIC 7 — Observability for LLM apps
- OpenTelemetry GenAI semantic conventions: as of mid-2026, every
gen_ai.*attribute/span/metric/event is still stability-tagged "Development" (renamed from "experimental") — none are Stable, and names can still change. On 12 June 2026 (v1.42.0) the GenAI conventions were split out of the core semconv repo into their ownsemantic-conventions-genairepo specifically so they can iterate faster than core's stability bar allows — an organizational change, not a graduation to stable. Practical read: core chat/embedding attributes are "stable enough to build on," but agent/tool-orchestration conventions (exactly what Resolution's multi-seat, multi-call pipeline needs) are explicitly called out as still settling. Already used in production by OpenAI Codex, Claude Code, VS Code Copilot despite pre-1.0 status. dev.to/azena-ai, opentelemetry.io/docs/specs/semconv/gen-ai - Langfuse vs Helicone (2026): Langfuse is the open-source, self-hostable, Docker-deployable option — strong for teams wanting data ownership and GDPR-friendly self-hosting (directly relevant for an EU-based one-owner fund); v4 added OTel-based tracing for local LLMs without SDK monkey-patching. Helicone is a proxy-based, single-endpoint-swap integration — faster to stand up but a shallower ceiling; not self-hosting-first in the same way. For a self-hosted-by-design product like Resolution, Langfuse is the closer philosophical fit. buildmvpfast.com
- Gap vs Resolution: the brief says "cost recorded per call" and "seat balances" but doesn't mention whether traces are OTel-GenAI-shaped or Langfuse-compatible; without that, cross-seat debugging (why did the judge disagree with both bears) has no standard trace format to hang on.
- Concrete improvements:
- Emit OTel GenAI-shaped spans per seat-call even though the convention is pre-1.0, and self-host a Langfuse instance (or point it at Langfuse's OTel ingestion) as the trace store. What: standard span per LLM call with model, cost, token counts, and a Resolution-specific attribute for seat name/provider/thesis id. Why: gets the debugging/observability UI for free instead of building a bespoke one, and OTel gives an exit path if Langfuse is abandoned later (unlikely, but the convention is what future tools will consume). Effort: M. Risk: low; treat attribute names as provisional (the convention itself says so) and expect to update field names as OTel's GenAI spec stabilizes.
TOPIC 8 — LLM cost and token optimisation
- Prompt caching: OpenAI auto-caches from 1,024 tokens, bills cache reads at 0.1x; Anthropic requires explicit
cache_controlmarkers, reads at 0.1x but writes cost 1.25x at the default 5-minute TTL — break-even is roughly 2 reads. For Resolution's repeated-context patterns (same charter/rules/portfolio state re-sent across many seat calls per idea), this is close to free money if the shared context is hoisted to the front of the prompt and cache-marked consistently. - Batch APIs: ~50% price cut for non-time-sensitive workloads (both major providers). Directly applicable to Resolution's overnight/scheduled rituals (screens, calibration, academy content generation) that don't need synchronous replies.
- Routing: sending each call to the cheapest model that still passes evals is described as the third leg (alongside caching and batching) of the 60-80%+ savings teams report when stacking all three — but explicitly conditional on "workload mix fits," i.e. routing only pays off when task difficulty is heterogeneous enough that cheap models genuinely suffice for a meaningful share of calls.
- Gap vs Resolution: 16-provider roster with per-seat cost recording is already routing-capable in principle, but the brief doesn't mention prompt caching or batch-API usage for the parts of the pipeline that don't need same-second latency.
- Concrete improvements:
- Cache-mark the shared, unchanging context (charter, golden rules, roster, portfolio snapshot) at the front of every seat prompt. What: structure prompts so static context is first and cache-control-tagged (Anthropic) / naturally cache-hit (OpenAI's automatic threshold). Why: the debate/analyst-pool pattern (same idea re-read by 10 seats + bears in both orders + judge) re-sends the same charter/rules/context repeatedly within one idea's evaluation — textbook cache-hit shape, likely 60-90% cheaper on that shared portion with no behavior change. Effort: S. Risk: none functionally; must track that cache-write cost (1.25x on Anthropic) doesn't dominate for very short-lived, one-off contexts.
- Route overnight rituals (screens, calibration runs, academy content) through the Batch API. What: anything not needing a same-session answer (per the charter, these are scheduled rituals, not live chat) goes through batch endpoints for the ~50% discount. Effort: S–M (requires async result polling instead of sync calls). Risk: low; must handle the up-to-24h batch turnaround in scheduling.
TOPIC 9 — Local LLMs for privacy (Ollama and similar)
- 2026 quality bar has moved substantially: Qwen3 family (1.7B–235B, Apache 2.0, no commercial restriction) is now the default answer to "what to run locally"; Qwen3.6-27B scores 77.2 SWE-bench Verified / 83.9 LiveCodeBench on a single 24GB GPU — beating some much larger MoE models; Kimi K2.6 leads open weights overall (80.2 SWE-bench Verified) on multi-GPU setups. Apple's M5 Max (128GB unified memory) is cited as making 70B-class models practical on a laptop in 2026. At the low end, Gemma 4 12B is called "genuinely good" on 16GB. morphllm.com/best-ollama-models, whatllm.org/best-ollama-models
- Consensus tradeoff unchanged in kind, shrunk in magnitude: local means no API bills and no sending data off-box, at the cost of somewhat slower responses and a real (if narrowing) quality gap on hard reasoning versus frontier hosted models.
- Gap vs Resolution: 16-provider cloud roster with no mention of a local-model option for privacy-sensitive steps (e.g. reading the owner's actual portfolio/tax data into a prompt) or as a zero-marginal-cost fallback seat.
- Concrete improvements:
- Offer an Ollama-backed "privacy seat" option for any pipeline stage that touches raw personal financial data (Box 3 calculations, DEGIRO/IBKR CSV parsing context, tax notes) before it's abstracted into anonymized figures. What: run a capable local model (Qwen3.6-class, sized to the VPS's actual RAM/GPU — likely CPU-only on a typical VPS, so expectations should be modest, more like a 7-14B model unless the box has a GPU) for the narrow slice of work where sending PII to 16 external providers is the more sensitive tradeoff. Why: matches the "self-hosted, one-owner" ethos and reduces surface area for accidental data exposure; local model quality in 2026 is credible enough for structured extraction/parsing tasks specifically (as opposed to open-ended judgment calls, which should stay on frontier models per the charter's own two-hat/desk design). Effort: M (needs to size to actual VPS hardware — a CPU-only cloud VPS will not run a 27B model well; this may mean a smaller, purpose-specific model, or may not be worth it if the box has no GPU). Risk: medium — quality gap is real for anything beyond structured extraction, and running it at all costs RAM/CPU on a box that's also running the app; scope narrowly or skip if the VPS is resource-constrained.
TOPIC 10 — Plugin and extension architecture for self-hosted apps
- Obsidian (>800 community plugins in the 2026 build, 4,000+ plugins/themes total, 120M+ downloads since its 2020 plugin API launch) is the reference case for a mature, non-trivial plugin ecosystem around a single-owner, local-first app — directly analogous to Resolution's shape (one owner, local/self-hosted data, room for personalization). 2026 note: Obsidian itself "simplified" its own core plugin surface (e.g. semantic search) rather than growing it, leaving that expansion to the community — a deliberate small-core/big-ecosystem split. Obsidian also launched a new "Obsidian Community" directory + developer dashboard in 2026 to make plugin discovery/quality more browsable. obsidian.md/blog/future-of-plugins, obsidian.md/help/community-plugins
- General self-hosted-app plugin architecture pattern (Home Assistant is the other strong reference, see Systems below): a stable core data/event model + a typed extension API + a manifest describing required permissions/capabilities, with the platform (not the plugin author) responsible for sandboxing what a plugin can touch.
- Gap vs Resolution: the brief doesn't mention any plugin/extension surface at all — it's all first-party (screens, terminal functions, integrations). Given the charter's explicit "you may write your own skills" self-improvement model for the agent side, there's a reasonable parallel gap on the product side: no way for a technically inclined owner to add a custom screen, a custom notification channel, or a custom terminal function without forking.
- Concrete improvements:
- If Resolution ever opens a plugin surface, follow Home Assistant's config-flow model rather than Obsidian's arbitrary-code model. What: declarative manifests (what data a plugin reads, what triggers it responds to, what UI it renders) validated by the core, rather than arbitrary Python/JS with full access — this matters more for Resolution than for Obsidian because Resolution's data includes real money figures and broker-adjacent state, which is a much higher-stakes thing to hand a third-party plugin author than a notes vault. Effort: L (this is a genuine architecture decision, not a quick add). Risk: medium-high if done as arbitrary-code-execution (mirrors the MCP tool-poisoning/auto-exec problem in Topic 3 almost exactly — a plugin is just an unaudited code path with your data). Given the one-owner nature of Resolution, this is probably low priority unless the owner specifically wants extensibility; the "write your own skill" model already gives the agent side of this without a formal plugin API.
SYSTEMS (20)
- Home Assistant — the reference self-hosted home-automation platform; steal: its config flow pattern (declarative, UI-driven integration setup with reauth/reconfigure built in) and its 2026 automation UX shift toward human-readable trigger/condition naming "so users understand an automation's purpose at a glance" — directly applicable to how Resolution could present rule triggers/overrides in plain language instead of raw config. Alive, very actively developed (monthly numbered releases through 2026).
- n8n — self-hostable, code-capable workflow automation; steal: nothing conceptually new for Resolution (it's an integration hub, not a fund tool), but its 2026 security incident (an unauthenticated RCE in unpatched self-hosted instances) is a cautionary data point: self-hosting demands active patching discipline, which is directly relevant to Resolution's own self-hosted posture. Alive, actively developed.
- Zapier — the hosted, no-self-host automation incumbent; nothing to steal architecturally (opposite deployment model from Resolution), but its breadth-of-integrations model is why Standard Webhooks (Topic 4) exists — Zapier is a co-steward of that spec. Alive.
- IFTTT — small (45 employees as of mid-2026), still active and releasing new integrations (BambooHR, HubSpot in June 2026), no evidence of imminent shutdown found; nothing to steal — it's the consumer-simplicity end of automation, not applicable to a fund's needs. Alive, small.
- Actual Budget — self-hosted personal budgeting app, one of the two live Maybe-Finance successors in practice; nothing structurally new to steal for Resolution beyond confirming that a lean, actively-maintained self-hosted personal-finance tool is a viable reference for UX simplicity. Alive.
- Firefly III — actively maintained (2,037 commits/12mo, 24k GitHub stars, pre-release builds days before this research), self-hosted budgeting/money-management; steal: nothing new mechanically, but its longevity (vs. Maybe's death) is itself the finding — plain self-hosted tools with no VC-funded growth pressure seem to outlive funded personal-finance startups. Alive, healthy.
- Maybe Finance — dead. Timeline: shut down as a funded startup mid-2023 after spending ~$1M; revived open-source in 2024 for self-hosting; pivoted to B2B financial forecasting and stopped maintaining the OSS repo, which was archived 27 July 2025. Stated root cause: bank-data-provider integration cost/reliability ("the single biggest challenge... is bank providers") proved to need more time/money than the team had. Directly relevant lesson for Resolution: broker/bank integration (DEGIRO/IBKR CSV imports, Flex reports) is exactly the kind of expensive, unglamorous plumbing that kills funded competitors — Resolution's choice to use the owner's own read-only Flex token rather than build a universal bank-aggregation layer sidesteps Maybe's specific failure mode.
- Beancount/Fava — plain-text accounting + web UI; Fava actively updated (July 2026), 396 open issues but healthy cadence; steal: Beancount's strict parser + Python plugin API for investments/lots/multi-currency is a good reference model for how Resolution's ledger schema could expose an extension point for power users doing custom tax/lot calculations, without Resolution itself computing money figures (matches the "never compute a money figure" rule — Beancount-style plugins compute, the core stays a strict, auditable ledger). Alive.
- hledger — plain-text accounting, Haskell, more permissive syntax than Beancount, known for friendly CSV import; steal: its CSV-import ergonomics are a reasonable reference for Resolution's DEGIRO/IBKR CSV import feature specifically. Alive.
- OpenBB Platform — effectively winding down as a company (announced August 2026): open-sourcing its entire stack (Workspace, Copilot, Excel Add-in, Open Data Platform under AGPL) after failing to find commercial product-market fit as a "Bloomberg Terminal alternative" business, ending a ~6-year run from its Gamestonk Terminal origins. Steal: OpenBB is the closest prior-art analog to Resolution's own "Bloomberg-style Terminal" ambition — its failure mode (couldn't monetize a terminal-for-individuals business) is a warning that Resolution's terminal should stay a means to the fund's own discipline goal, not a product Resolution tries to sell standalone; the newly-open-sourced OpenBB codebase itself may now be worth mining for terminal UI/function-key patterns since it's free and dead as a company (lower legal/IP risk to study its approach).
- Grafana — dashboarding/observability; nothing new to report — standard, alive, not directly researched this round beyond prior knowledge; relevant only as a possible backend for Resolution's own dashboards if it ever wants a proven charting engine rather than building one, but the charter's KPI-tile-is-computed-elsewhere model already avoids needing a general dashboard tool for that purpose.
- Langfuse — see Topic 7; open-source, self-hostable LLM observability, actively developed (v4 in 2026), strong EU/GDPR self-hosting fit. Steal: adopt directly as Resolution's trace store rather than reinventing seat-call tracing. Alive, healthy, well-matched to Resolution's deployment model.
- Helicone — proxy-based LLM observability, fast to integrate but shallower than Langfuse; steal: nothing Resolution needs that Langfuse doesn't already cover better for a self-hosted deployment. Alive.
- LiteLLM — self-hosted, open-source LLM gateway/proxy across 100+ APIs with routing modes (weighted, latency-based, cost-based, custom Python); steal: this is close to what a 16-provider roster needs for per-seat routing/failover/spend-tracking — worth evaluating as the actual routing layer under Resolution's seats rather than hand-rolling provider dispatch. Alive, actively developed.
- OpenRouter — managed multi-provider LLM gateway, 300+ models/60+ providers, 0% markup on provider pricing + 5.5% fee on credit purchases; steal: useful as a fallback provider-of-providers for smaller/rarer models in the 16-provider roster rather than integrating each directly, trading a small fee for reduced integration maintenance. Alive, healthy.
- Ollama — see Topic 9; the standard local-LLM runner; steal: viable now for narrow, privacy-sensitive, structured tasks given 2026 model quality, not yet a frontier-model substitute for judgment-heavy seats. Alive, actively developed (cited v0.33.1 in 2026 sources).
- Obsidian plugins — see Topic 10; steal: the config-flow-over-arbitrary-code lesson, and the small-core/big-ecosystem split. Alive, thriving ecosystem (800+ plugins in-app, 4,000+ historically).
- Paperless-ngx — self-hosted document management/OCR; actively maintained (3.0.4 released within weeks of this research, "by far the most active fork" of the original Paperless), now shipping LLM-assisted workflows. Steal: its OCR + LLM-tagging pipeline for ingesting scanned broker statements/tax documents is a closer architectural analog than building bespoke PDF parsing for Resolution's own document intake (theses, uploaded research, broker confirmations) — worth studying its ingestion pipeline rather than the whole app. Alive, healthy.
- Immich — self-hosted photo management, "the self-hosted photo app to beat" in 2026 with a polished v3 line; steal: nothing directly applicable to a fund app's domain, but its UX polish is a good bar-setter for what "good self-hosted app" now looks like to end users, relevant to the founding wizard's UX ambitions. Alive, thriving.
- Tailscale — see Topic 2; steal: Serve/Funnel distinction as the exact mechanism for Resolution's phone access, plus the free-tier generosity (6 users/unlimited devices) meaning a one-owner fund never needs a paid tier for basic remote access. Alive, thriving, actively priced/positioned for exactly this self-hosted-single-owner use case.
TOP 10 IMPROVEMENTS FOR RESOLUTION (ranked by value/effort)
- Cache-mark shared context (charter/rules/portfolio state) at the front of every seat prompt. Near-zero effort, likely 60-90% cost cut on the repeated-context portion of every multi-seat idea evaluation. From: Topic 8 (LLM cost optimisation).
- Route overnight/scheduled rituals (screens, calibration, academy generation) through Batch APIs for the ~50% discount. Cheap to implement, no user-facing latency cost since these are already async by design. From: Topic 8.
- Adopt Standard Webhooks (HMAC signature + id/timestamp headers) for all outbound webhooks/notification integrations. Trivial to implement, buys free interoperability with a growing list of compliant consumers and closes the replay/dedupe gap for free. From: Topic 4 (webhook standards).
- Add a dead-man's-switch health check on the backup job itself, separate from the backup succeeding. Cheap, closes the single most commonly cited real-world backup failure mode ("fails silently for months"). From: Topic 6 (backup/DR).
- Add a scheduled restore-and-verify drill that restores the latest off-site snapshot and runs the audit-log hash-chain verifier against it. Medium effort, but it's the one test that simultaneously validates both pillars of Resolution's trust model — durability of records and integrity of the audit trail — in one automated step. From: Topics 1 + 6 combined.
- OpenTimestamps-anchor the periodic signed audit-log root into Bitcoin, alongside/instead of only local-key signing. Small effort, free, gives an externally-verifiable "this existed by this time" proof that survives even a compromise of the box's own signing key — closes a real single-point-of-trust gap in an otherwise strong tamper-evidence design. From: Topic 1 (event sourcing/tamper-evident logs).
- Scope Resolution's own MCP server to OAuth 2.1 resource-server semantics with per-session scoped tokens instead of one static bearer token, per the 2026-07-28 MCP spec. Medium effort, closes a "one leaked token = permanent access" failure mode right as the ecosystem standardizes exactly this pattern. From: Topic 3 (MCP ecosystem/security).
- Bind order-signing to the order's content hash (dynamic linking), not just WebAuthn presence/liveness. Medium-risk-to-implement but addresses a real gap: standard passkey login proves "the owner touched the key," not "the owner approved these specific terms" — directly relevant to a system whose entire premise is "the owner signs every order." From: Topic 2 (self-hosted security/passkeys).
- Author
/api/v1OpenAPI as 3.1 (JSON Schema 2020-12) from the start, not 3.0. Trivial if not yet written; avoids near-term legacy-migration cost as 2026 tooling has already tipped to defaulting on 3.1. From: Topic 4. - Build quiet-hours + grade-based escalation as a Resolution-owned dispatch policy in front of all 9 notification channels. Medium effort, but none of the underlying transports (ntfy, Pushover, web push) provide this, so without it the "never reward activity / respect the owner's time" ethos has no actual enforcement mechanism for when the owner gets interrupted. From: Topic 5 (notifications).
Summary (for final message)
Researched event sourcing/audit (Rekor-style external monitoring + OpenTimestamps anchoring), self-hosted security (SOPS/age, WebAuthn dynamic-linking gap, Tailscale Serve/Funnel), the 2026 MCP/A2A landscape (spec hardened 2026-07-28, but real vulnerability rates are high — 43-82% of scanned servers have exploitable issues), webhook/API standards (Standard Webhooks, OpenAPI 3.1/3.2), notifications (ntfy > Pushover for self-hosting, but neither does quiet-hours), backup/DR (restic + mandatory restore drills), LLM observability (OTel GenAI still pre-1.0, Langfuse fits EU self-hosting), LLM cost optimization (caching/batching/routing stack to 60-80%+ savings), local LLMs (Qwen3.6/Kimi K2.6 now genuinely capable for structured tasks), and plugin architecture (Home Assistant's config-flow model over Obsidian's arbitrary-code model, given the money-adjacent stakes). Notable system findings: Maybe Finance died from bank-integration cost, not competition; OpenBB just open-sourced its whole "Terminal for individuals" stack after failing to monetize it — a direct cautionary analog for Resolution's own Terminal ambition.