Architecture decisions
Proposed choices, alternatives, trade-offs, and questions to resolve.
ADR 001 · Documents before broad autonomy
Proposed: start with a bounded document-to-report workflow. Alternative: a general agent that can work across arbitrary tools. Trade-off: narrower scope is less flexible but makes evaluation, source tracking, and failure analysis more tractable. Open question: which document formats represent the first users well?
ADR 002 · Application-owned execution
Proposed: the model suggests plans and tool arguments; deterministic application logic validates and executes them. Alternative: delegate the entire loop to a provider-managed agent runtime. Trade-off: more orchestration work in exchange for clearer approval and state boundaries. Open question: what state store best supports resumable runs?
ADR 003 · A small provider boundary
Proposed: define a narrow server-side provider interface when live model calls are introduced. Alternative: deeply embed one provider throughout the execution layer. Trade-off: a small boundary reduces coupling, but provider capabilities still differ. Open question: how should schema reliability, latency, cost, and tool behavior be compared on the same evaluation set?
ADR 004 · Evidence before polished delivery
Proposed: preserve source locations and review the report before release. Alternative: prioritize a fast generated answer with minimal provenance. Trade-off: more extraction and review work, with a clearer basis for checking factual claims. Open question: how should a reviewer see conflicting evidence or unreliable OCR?
ADR 005 · Explicit approval for external writes
Proposed: approve a specific destination and payload revision before execution. Alternative: grant broad session-wide permission. Trade-off: additional interaction, with a tighter consent boundary. Open question: which low-impact actions, if any, could safely use a user-defined standing policy?