Skip to content

Architecture Decision Records ​

ADRs capture significant architectural decisions — the context, the options considered, the decision, and its consequences — so the why survives the people who made it.

Format: lightweight MADR-style. One file per decision, numbered, never deleted (supersede instead).

Decision status is separate from delivery status. Historical context may describe retired behavior; follow linked guides and references for current procedures.

#TitleStatus
0001Extensibility & Plugin ArchitectureAccepted
0002Reusable Subagent WorkflowsAccepted
0003Reactive Agent: Activity Thread, Event Bus & Inbound InboxAccepted
0004Multi-Instance Data ScopingAccepted
0005Tool Pollution & Progressive Tool DisclosureAccepted
0006Observability & the Self-Improving FlywheelAccepted
0007Directory-Aware Operator Primitives (enabling a "Roxy" fork)Accepted
0008Sandboxing posture & NVIDIA OpenShellAccepted
0009The Studio control stack (goals · workflows · subagents · skills)Accepted
0010Headless setup & UI deployment tiers (lighter stack)Accepted
0011Deep-research workflow with adversarial reviewAccepted
0012Eval strategy: model-tagged tracking & model comparisonAccepted
0013Console data layer: TanStack Query + Suspense + ErrorBoundaryAccepted
0014A2A 0.3 → 1.0: adopt a2a-sdk + protolabs-a2aAccepted (shipped #453)
0015Optional native Discord surface (ingress + outbound)Accepted (shipped as plugins/discord)
0016In-app Discord configuration (token, admin list, live connect)Accepted
0017In-app Google (Gmail + Calendar) connect flowAccepted
0018Plugins contribute surfaces, routes & subagentsAccepted
0019Plugins contribute config, settings & secretsAccepted
0020Console IA: run from Chat, manage from surfacesAccepted
0021Agent memory: extract, don't dumpAccepted
0022Activity is a provenance feed, not a second chatAccepted
0023Decompose server.py: an AppState container + a composition rootAccepted
0024Spawn CLI coding agents over ACP (code_with)Superseded by 0025 (code_with removed; ACP lives on as an acp delegate)
0025Unified delegate registry + hot-swappable management panelAccepted (complete; PR1–PR4)
0026Plugin-contributed console surfaces (rail views + tabs)Accepted (complete; PR1–PR3)
0027Install plugins from a git URL (shareable plugin repos)Accepted (sliced)
0028Plugin-contributed goal verifiers (+ safe programmatic goals)Accepted (sliced)
0029A standard for communication (chat-surface) pluginsAccepted
0030Monitor goals: cadence-evaluated, hook-reactive objectives (+ per-goal no-progress limit)Superseded by 0067
0031Pluggable knowledge backendAccepted
0032Pluggable middlewareAccepted
0033Pluggable agent runtime (ACP executor)Accepted
0034Plugin UI as first-class React (Module Federation)Superseded by 0038
0035Console layout: symmetric dual-rail, mobile-first, persisted UI stateAccepted
0036A unified context-menu system (+ plugin-contributed items)Accepted
0037Design-system foundation: Tailwind + @protolabsai/design + shadcn/RadixAccepted
0038Generative-UI artifacts + a two-mode plugin UI (retire federation)Accepted
0039A plugin event bus (decoupled pub/sub, no cross-plugin dependencies)Accepted
0040Plugin bundles (install a curated set of plugins as one)Accepted
0041Workspaces & tiered stores (the fleet-on-one-host model)Accepted (v0.31.0)
0042Fleet supervisor & unified console (background agents, in-place switching)Accepted (v0.31.0)
0043Plugin consumption SDK + workflows as the first opt-in core extractionAccepted
0044Plugin-driven console navigationProposed
0045The chat panel is a slot (swappable chat plugins)Accepted
0046Pluggable utility bar: declarative widgets + data tickersProposed
0047Layered settings cascade (App→Host→Agent, per-field, Field.scope)Accepted; path layout amended by 0065
0048Settings & console-configuration IA (domain-first, scope-as-badge)Accepted
0049Bundle pin lifecycle (a pin means "last verified working")Accepted
0050Background subagents & reactive task notificationsAccepted
0051A2A realtime streaming & component renderingAccepted
0052User-facing skills (slash commands in chat)Accepted
0053wait: yield-and-resume instead of busy-pollingAccepted
0054dream & distill: scheduled self-curation subagentsAccepted
0055Multi-team orchestration: federated boards over A2A (scale-out)Accepted
0056Unified dockable-view model (tabs ↔ rails)Proposed
0057Command palette (⌘⇧K): plugin-extensible quick commandAccepted
0058Runtime plugin install in the frozen desktop app (Discord as the first external comms plugin)Accepted
0059Unified plugin manager: in-app directory (Discover) + folded config (Installed)Accepted
0060Skills: progressive disclosure (always-on index + load on demand)Accepted
0061Frontend extension registries (fork-safe console behavior seams)Accepted
0062Full-screen document viewer surfaceAccepted
0063Scoped, user-rebindable keybinding systemAccepted
0064coder: execution-grounded code-solve (the board's verifier-grounded coder)Accepted
0065Two-tier instance paths (box / instance) + single resolution ruleAccepted
0066Goal trust-gate Phase 2: federation token + operator /api channelAccepted
0067Standalone watch primitive (many concurrent watches)Accepted
0068Developer flags & the Developer panel (gating pre-release functionality)Accepted
0069Memory delivery layer: attributed digest, provenance, trust tiersAccepted
0070Background results: push-resume, indexed reports, disposable workersAccepted
0071Plugin permissions: a trust-and-consent model, not a runtime sandboxAccepted
0072Fleet seed: declare a team in config (team-via-config)Proposed
0073Goal completion contractsAccepted
0074System lifecycle eventsAccepted
0075External interfaces: a first-class protoagent CLI + tightened MCP / API / model onboardingAccepted
0076Managed git for acp delegates: framework-owned branch/commit/push/PRAccepted
0077Adversarial code-review workflow + the findings conventionAccepted
0078Fleet PR review as a protoAgent tier: harvest Quinn, keep the panelAccepted
0079Autonomous operating model (goals · tasks · scheduling · watches → one OODA loop)Accepted
0080External secrets manager: env hydration with pluggable providers (Infisical first)Accepted
0081Self-authored persona: a guarded edit_soul toolAccepted
0082Per-chat ACP runtime: hot-swap a coding agent like a modelAccepted
0083Cowork mode: a prepackaged knowledge-worker archetypeAccepted
0084Computer use: an out-of-process driver, and the fence it voidsAccepted
0085Managed Node.js runtime, provisioned on demandAccepted
0086Chat-first mobile shell (amends ADR 0035 D6)Accepted
0087Device pairing: per-device revocable tokens + short-TTL QR codesAccepted
0088Per-finding inline review threads: finding-granular GitHub-native memoryProposed
0089Intra-instance trust boundary: the hub authenticates, members trust a fleet service tokenAccepted
0090Console-created goals drive in a dedicated chat tab (attach / detach)Accepted
0091Agent snapshot portability: a declarative, secret-free bundle (not a raw state dump)Accepted
0092Desktop document-generation baseline + versioned file artifactsAccepted
0093Pip-less wheel installer for frozen-app plugin depsAccepted
0094Managed Python runtime: execute_code on the frozen desktop appAccepted
0095Managed projects registry: one place to declare a projectProposed
0096The self-building loop: plugin-devkit closes design → build → test → hot-swapProposed
0097Native OAuth-subscription providers (run Claude / ChatGPT on your own plan)Proposed; implemented; provider configuration amended by 0106
0098One process-tree lifecycle: infra/proc anchors and kills every child treeProposed
0099Chat-bundle format v1: a structured, artifact-aware export for the P2 hosted viewerProposed
0100Agent archetypes (starter agent types, ratified)Accepted
0101Context lifecycle: log, surface, pressureAccepted
0102The trajectory: append-only session log + derived surfacePartially implemented; remainder deferred
0103Programmatic tool calls: agent tools callable from execute_codeAccepted
0104The session turns read API: durable chat history has a server-side readerAccepted
0105Fleet-shared delegates: one roster on the box, every member's benchAccepted
0106Providers are a registry; every model reference names its providerAccepted
0107Unified, policy-bounded self-improvement reviewsProposed
0108Context Architecture v2: lifecycle, authority, and projectionProposed
0109project_board: one board, one store, N reposAccepted
0110Plugin setup steps: a host-run, operator-only fix behind a setup-gap buttonAccepted
0111Zed as the operator's editor: ACP agent shim, editor deep-links, operator MCPProposed
0112Console code pane: a read-only navigator surface the agent points intoProposed
0113Agent pairing: remote fleet members get a paired, revocable tokenAccepted
0114Console browser storage — transcripts in IndexedDB, a budget, and a full quota never crashesProposed
0115Model calls share a bounded, priority-ordered in-flight lane per endpoint and model (off by default)Proposed; implemented (off by default)
0116A local-first data analyst: DuckDB over files in place, charts as Vega-Lite specs, and a plugin-service call seamProposed
0117Subagent-only tools: a domain's tools live in the subagent that owns itProposed
0118Interactive answers: inline artifacts in chat, streamed previews, a send-to-chat bridge, and frame-rendered plugin componentsAccepted
0119Organize runtime source without renaming importsAccepted
0120Bound checkpoint growth on the write path, and alert on itProposed
0121Device pairing over an operator-supplied public URL: one home origin, a throttled claim, device-scoped tokensAccepted (2026-10-18)
0122Subscription usage model and routing: two sources into one cache, normalized windows, and unknown routes as todayAccepted (2026-10-21)
0123Forward delegate approvals up the delegation chainAccepted (2026-10-25)
0124Per-caller run_command approval policy for A2A callers; allow / ask / never for unattended turns (D5)Proposed (D5 shipped)
0125Separate memory, knowledge and history: three stores, per-layer tools, history never auto-injects, optional shared operator profileAccepted (2026-10-28)
0126Close the eval loop: three eval tiers, a nightly gate on the host, feedback and friction as scores on the turn's trace, and turns promoted to per-instance eval casesAccepted (2026-10-29)
0127Compaction fidelity: one engine for all compaction paths, whole-span summaries, operator messages carried verbatim, the agent's pending actions shown in full, and a per-chat directive ledgerAccepted (2026-11-08)
0128Generation profiles: each subagent role gets its own output, reasoning and context budget, a blank reply at the token cap is a failed turn retried one step down, and core ships profile names while operators set the numbersAccepted (2026-11-08)
0129Work consolidation: four groups (Needs you, Doing now, Coming up, Your instructions) for the operator and the agent; tasks fold into jobs; schedules, watches and wait become one follow-up primitive; approvals come from decision answers and close with their jobAccepted (2026-11-11)
0130Server-authoritative live sync: the server owns session state, a durable resumable change feed, every client (desktop, phone, hidden panes) converges, multi-client sync tested as a contractAccepted (2026-11-12)
0131Work knows its conversation: extend the inbox and tasks stores (no new binding store or event log); a task's origin is the conversation that caused it, not a throwaway job turn; outside threads kept 7 days; progress is a view over board status + D9; observe-only alerts through existing paths, measured before pilotingAccepted (2026-11-15; P1–P2 committed)
0132Chat context carries across tabs: a short per-chat gist in the digest, detail on demand via recall/search; digest lists real chats (no machinery) and recently closed summarized chats; whole-chat harvest summaries; incognito enforced on memory writes; idle-pruned chats rehydrate from turnsAccepted (2026-11-15)
0133Every core model role (aux, compaction, harvest, facts, goal eval, memory select, gist, drift judge, image describe, subagent tiers) takes a string or an ordered fallback chain in config; blank inherits the parent chain; one seam with retryable-error fallbacks; embeddings/transcription excludedAccepted (2026-11-15)
0134execute_code session kernels and MCP bridging — one long-lived child per session behind execute_code.session_state (off by default), bounded lifecycle (timeout kills the kernel, idle TTL, LRU cap, dies with its chat), policy checked per call not per kernel, operator-named MCP tools plus tools.help(name), and default-on gated on a realistic two-lane benchProposed
0135The always-on orchestrator: the hub is the fleet's chief of staff (detect, route, escalate, prove what ran); its one unattended action is restarting a dead local member; lanes and member schedules stay put; ships as an opt-in archetype plus core seams (amends 0007); cheap quiet heartbeat; notify / question / review delivery; spend cap and unattended policyAccepted (2026-11-18)
0136Workflow step kinds, typed outputs and graph-editing tools (amends 0002)Accepted (2026-11-30)

Part of the protoLabs autonomous development studio.