Technology Glossary

One-page explanations of the 83 engineering and AI concepts behind the Site Factory, the system that builds and keeps running memocho’s sites. Each article separates the general meaning from how the Site Factory uses it in production. For the big picture, see the Architecture Overview.

83 terms

A. Data-Intensive Design

B. Software Architecture

  • B1ADR (Architecture Decision Record)KeyA concise document recording a significant architectural decision alongside its context, rationale, and consequences
  • B2Architecture Characteristics (-ilities)KeyQuality attributes that describe how software behaves rather than what it does
  • B3Separation of Concerns (SoC) and Role BoundariesKeyThe principle of dividing distinct responsibilities within a system into independent components or roles with strict non-interference boundaries
  • B4Control Plane and Data PlaneKeyAn architectural separation between the control plane (which decides policies and task routing) and the data plane (which executes heavy workloads and data processing)
  • B5Work Queue (Producer-Consumer Pattern)KeyAn asynchronous mechanism that buffers pending tasks in a queue to decouple task producers from task consumers
  • B6Bulkhead Pattern (Isolation)Partitioning a system into isolated compartments so a failure or overload in one area cannot sink the entire system
  • B7Orchestration and ChoreographyThe contrast between coordinating multiple agents via a central conductor that issues step-by-step commands (Orchestration) versus having each agent react autonomously to surrounding events (Choreography)
  • B8Fallback Chain (Cascading Fallback)KeyA multi-stage resilience mechanism that sequentially switches to pre-defined alternatives according to priority whenever a primary method fails, hits quota limits, or goes offline
  • B9Retry Limits and Circuit BreakersProtective mechanisms that stop repeating the same failure endlessly by capping retry counts or automatically tripping a breaker (holding dispatch) to shield the system
  • B10Watchdog Timer / Watchdog ProcessKeyAn external guardian mechanism that periodically monitors system liveness and task progress, automatically reclaiming or restarting hung jobs without human intervention
  • B11Heartbeat and Failure DetectionA periodic liveness signal ('pulse') sent by a process or machine to prove it is still running healthily, paired with a mechanism to declare failure when the signal stops
  • B12Split-Brain Avoidance and Leader ElectionMechanisms that safely elect a single coordinator ('leader') among multiple machines and prevent 'split-brain' disasters where network partitions cause two nodes to act as leader simultaneously
  • B13Single Point of Failure (SPOF) and FailoverIdentifying and eliminating critical weak points where a single failure halts the entire system (SPOF), and automatically switching operations to a standby node (Failover) to survive outages
  • B14Pipes and Filters Pattern (Pipeline Architecture)KeyAn architecture that divides data processing into a sequence of independent processing stages (filters) connected by standardized data conduits (pipes)
  • B15Declarative Design (Blueprint-driven Architecture)Declaring 'what to build' as structured data (a blueprint) and letting a general-purpose engine build it automatically, rather than writing imperative step-by-step code for each project
  • B16Exit Code ContractStrictly defining the meaning of the integer status code returned when a program terminates so parent processes can branch deterministically without fragile text parsing
  • B17Edge Computing and ServerlessAn execution platform that runs code on demand at network edge locations close to users without maintaining always-on origin servers
  • B18Static Site Delivery (SSG)Serving pre-rendered HTML, CSS, and images directly from an edge CDN without assembling pages dynamically on a web server
  • B19CI/CD Gate and Automated MergeKeyAn automated quality gate that merges pull requests into the production branch without human intervention once all automated tests and checks pass
  • B20Self-hosted RunnerRegistering and operating your own servers or Macs as CI/CD execution nodes instead of using cloud-hosted virtual machines
  • B21Architectural Fitness FunctionAutomated, objective inspection code that continuously verifies whether a system's architectural characteristics (quality standards, constraints, and banned patterns) remain intact
  • B22Webhook and PollingCombining instant event-driven push notifications (Webhooks) with periodic active state checks (Polling)
  • B23Principle of Least Privilege (PoLP)Granting every process, AI agent, and API key only the bare minimum permissions required to perform its specific role
  • B24Secrets ManagementKeeping credentials such as API tokens, private keys, and passwords out of source code and Git, retrieving them on demand from an encrypted vault only at runtime
  • B25Distinguishing 'Implemented' from 'Running' (Definition of Done)Strictly separating 'code written and passing tests (Implemented)' from 'deployed to production and verified live (Running)'

C. AI Engineering & LLM Ops

  • C1LLM-as-a-JudgeKeyA design pattern that uses an LLM as an evaluator (judge)
  • C2Independent Verification (Verifier)KeyA design where artifacts are checked by a mechanism completely separate from the generator
  • C3Model Cascade and RoutingKeyA staged architecture that assigns work starting from the lowest-cost model
  • C4Local-First (Local Pipeline)KeyA design approach that runs tasks on local hardware (Macs) before relying on external cloud AI
  • C5Benchmark-Driven Model SelectionKeySelecting models based on empirical metrics measured on in-house production hardware
  • C6Task-Specific BenchmarkKeyEvaluating models on tests tailored to actual operational scenarios
  • C7Structured Output and JSON ContractKeyA mechanism that restricts LLM outputs to strict JSON formats agreed upon between programs
  • C8Grounding and Source VerificationKeyA mechanism that mechanically verifies whether AI outputs are backed by trustworthy primary source text
  • C9Hallucination MitigationKeyMechanisms that prevent, detect, and contain LLM hallucinations—plausible falsehoods or factually incorrect outputs
  • C10Human-in-the-Loop and EscalationKeyA mechanism that embeds human approval gates inside autonomous AI workflows and hands off decisions in stages only when necessary
  • C11Agent HarnessKeyThe outer execution environment (framework and scaffolding) that runs an LLM as a practical autonomous agent
  • C12A2A (Agent-to-Agent)KeyA collaborative multi-agent architecture where multiple AI agents divide roles to exchange, verify, and review artifacts autonomously
  • C13MCP (Model Context Protocol)An open standard protocol connecting AI models to external tools and data sources
  • C14Agent Skills and Instruction FilesKeyInstruction files that define behavioral rules for AI agents, paired with modular, reusable workflow playbooks (Agent Skills)
  • C15Context EngineeringThe discipline of optimizing and minimizing the context (prompts and reference material) fed into an LLM
  • C16PersonaA concrete profile of a representative user defining their situation, device, familiarity, and goals
  • C17Context Length and KV CacheThe maximum token count a model can process at once, and the cache memory holding past inference states
  • C18QuantizationA technique that reduces the numerical precision of model weights to shrink memory footprint and accelerate inference
  • C19ChunkingThe process of splitting long documents into smaller segments suitable for model processing
  • C20Information Extraction with LLMExtracting target attributes from unstructured documents and converting them into structured records using an LLM
  • C21Optical Character Recognition (OCR)Technology that recognizes and extracts readable text from images and scanned PDF files
  • C22Token Quota and Cost SettlementKeyA governance mechanism managing LLM API token consumption, expenditures, and rate limits through upfront reservations and post-run settlements
  • C23Sandbox and GuardrailsA protective isolation mechanism that confines an AI agent's operational scope to a safe boundary and prevents hazardous actions
  • C24Inference OffloadingA distributed execution mechanism that delegates resource-heavy AI inference workloads to separate, capable machines with spare capacity
  • C25Evals and Effect MeasurementKeyA rigorous methodology for continuously measuring AI model quality and system enhancements against quantitative operational data rather than subjective impressions
  • C26Goodhart's LawKeyAn observation stating that when a measure becomes a target, it ceases to be a good measure
  • C27Receipt and Definition of DoneA verification framework that validates task completion through tamper-evident artifacts and cryptographically verifiable receipts

D. Site Factory System Design