Skip to content

AI Engineering: section map for agents

Main map · This map · Section overview

Engineering AI products connects intended behavior with context, execution, evidence, and decisions. These notes develop that connection through evaluation, retrieval, agents, and product investigations.

All documents in this collection are listed below, grouped by subsection.

Status labels: Canonical = preferred starting point for its topic; Draft = provisional working material; Archived = preserved history. Unlabeled documents have no assigned status.

Documents

  • AI Engineering Working Assumptions — Plausible proposals are becoming abundant; good experiments and discriminating evidence remain scarce. Scoped task performance, explicit evaluators, and whole-job feedback connect alternatives to useful outcomes.

Agents

Agents work within human ownership, repository knowledge, tools, and feedback. These notes cover engineering work with assistants, the agent environment, customizing agents, harnesses, AGENTS.md, evaluating work with agents, AI-assisted …

  • Project Understanding and Ownership — Project ownership means knowing enough about a system to make and review changes safely. Coding agents can make gaps in that knowledge harder to spot: they produce working code and plausible explanations, even when key context is missing.
  • Reasoning Log: Modeling the Domain Around AGENTS.md — Step-by-step working notes on modeling the domain around AGENTS.md: workflows, goals, the approach, participants, where to start on a project, a minimal AGENTS.md, and how the environment, the agent customization, and the harness separate.

Agent Environment

What a project gives the people and agents working in it, where agents run, and how their actions are restricted and checked, with a comparison of how six coding agents set up their environment.

  • Agent Development Environment — A proposed term for the project and what it gives the people and agents working in it, described as feedforward and feedback controls, and separated from the harness, the agent customization, and the execution environment.
  • Command Layer — How a repository exposes its workflows to developers and agents through named, cataloged commands in a task runner. Covers how agents and humans differ at the command line, three-level composition, service lifecycles, risk boundaries, and …
  • Coordination Mechanisms Between People and Agents — Five ways people and agents keep their work coordinated in a project: progressive disclosure, a source-of-truth hierarchy, guidance and mechanical enforcement, decision ownership and escalation, and continuity across sessions and tools.
  • How Coding Agents Check Actions — When and how six coding agents check an action before, during and after it runs: commands, file actions, network and integration calls, and limits on a whole run. Separates deterministic checks from checks where a model judges the action.
  • How Coding Agents Set Up and Restrict Their Environment — The concepts six coding agents use for the environment an agent works in: the workspace, where commands run, how the machine is prepared, and how access is restricted. Compares Codex, Claude Code, OpenCode, Zoo Code, Cline and Roomote.
  • Project Knowledge in the Agent Development Environment — What agents need to know about a project and where it's kept: three dimensions of project knowledge, an example layout of repository docs, shared agent docs, task directories, and local files, and how AGENTS.md points to each.
  • Reframing the Command Layer — Working notes on the command layer in ADE: separating solid base structures and practical consequences from system-wide dimensions in a holding space and explicit, optional design prototypes.
  • Where Coding Agents Run — The execution environment of a coding agent: who receives the work, where the agent loop and its workspace are, and how the workspace is prepared, across six setups from a developer's terminal to a self-hosted agent server.

Agent Harnesses

How an agent harness builds a session: the steps of a turn, the system prompt and the rest of the model's context, instruction files, memory, and tools. These notes read the source of Codex, OpenCode, and Roomote, a server built on …

  • How Codex Assembles an Agent Session — How the OpenAI Codex CLI creates a session, runs a turn, builds the model context, uses memory and instruction files, and exposes and executes tools. Based on reading the codex-rs source.
  • How Codex Builds Its System Prompt — Where the Codex CLI's system prompt comes from, how a session chooses it, what can change it during a session or through agent roles, and where it sits in the request. Based on the codex-rs source, with an August 2026 experiment on a local …
  • How OpenCode Assembles an Agent Session — How OpenCode creates a session, runs its steps, builds the model context, uses instruction files and other sources, and exposes and executes tools. Based on reading the OpenCode V2 source.
  • How Roomote Assembles an Agent Session — How Roomote turns a message into a session, builds the session agent's context, delegates tasks, prepares a sandbox and an OpenCode server for each task, and controls tools, approvals, credentials and memory. Based on reading the Roomote …
  • Roomote — Analysis of Roomote, a self-hosted cloud coding agent built on OpenCode. Covers its building blocks, how work enters it and how results return, where each part is deployed, and how it maps to the Agent Development Environment.

AGENTS.md

A repository's AGENTS.md tells coding agents how the project works. These notes cover what belongs in it given what agents do on their own and how to build it from agent behavior. Notes on testing whether it helps are in the evaluation …

  • Defining AGENTS.md — How vendors, researchers, and practitioners define AGENTS.md and its per-tool relatives, the dimensions on which their definitions differ, and candidate definitions built from each view, as input for rewriting the design note's definition.
  • Designing the Root AGENTS.md — The root AGENTS.md is loaded in every session, so every line costs context. This note derives its design rules: keep the file a short map of project defaults, enforce what matters, and justify each line by a failure or a decision.
  • Two Example AGENTS.md Files — Two root AGENTS.md files from real projects with the same layout: keys, a small CLI run through a Taskfile, and sem-rag, a document question-answering service run through a Makefile, with notes on how each follows the design rules.
  • Where Fixes Go and How AGENTS.md Changes — Rules 7 to 13 for the root AGENTS.md: put each fix where it works best, prefer enforcement over prose, add lines only for observed failures or project decisions, record each change, and recheck the file when the setup changes.

Building and Reviewing Software with AI

AI-assisted development connects a user’s problem to a design, implementation, and evidence that the result works. These notes carry that thread through product framing, coding-agent work, testing, and merge review.

  • A Practical Review Process — Readiness to merge depends on more than code correctness. Eight review steps connect intended behavior and system impact to design, implementation, testing, deployment, recovery, and a recommendation grounded in evidence.
  • Common Mistakes in AI-Assisted Development — Passing tests can coexist with guessed requirements, missed callers, unnecessary machinery, or an unsafe API assumption. The failure catalog pairs these patterns with concrete ways to investigate and correct them.
  • Defining the Product Before Building — A buildable brief identifies who needs what outcome and how they complete the job. Separating agreed requirements from existing behavior, assumptions, and open choices gives engineers and agents a basis for design.
  • Making System Design Decisions — System design turns intended behavior into components, data ownership, interactions, and failure rules. Consequential assumptions get focused checks, and decisions record what implementation must preserve or reconsider.
  • Reviewing Software Changes — A sound review follows the intended change through requirements, surrounding code, design choices, and tests. It checks whether convincing explanations and passing checks could all repeat the same mistaken assumption.
  • Testing a Change During Review — A retry test can miss duplicate writes if its timeout mock never saves anything. The worked example checks a lost response after commit, then inspects request identities, saved state, and side effects.
  • Working with a Coding Agent — Coding-agent work needs a connected loop of defining, building, explaining, testing, and reviewing a change. Focused investigations and clear decision ownership keep the work understandable as evidence changes the plan.

Customizing Agents

What a team can change around an agent session, from the task and the model to the harness, the project, the execution environment and the authority layer, and the text, settings, code and bundles a team writes for its harness.

  • Agent Customization — The layer between the harness and the project: the text the model reads, the settings the harness applies, the code it runs, and the bundles that combine them, shared across projects and managed like an application's configuration.
  • What a Team Can Change Around an Agent Session — Everything a team can change that affects an agent session, from the task, the model and the harness to the agent customization, the environments, the authority layer and the participants, and where each kind of change belongs.
  • What a Team Can Set in a Harness It Doesn’t Change — What a team can set when it can't change its coding harness: instruction files, skills, subagents, tools, permission rules, the sandbox, hooks, and checks in Claude Code, Codex, and Droid, and what that means for AGENTS.md.

Engineering Work with Software Assistants

A working model of engineering work with software assistants: goals, activities and task types, reasoning and cycles, participants and processes, concrete workflows, and how to build and revise them from real tasks.

  • Bottom-Up Approach to Building Engineering Workflows — Our approach to building engineering workflows with software assistants: describe how the team works now, construct a workflow with agents, test it on real tasks from a minimal setup, and keep only the structure that proves its value.
  • Cycles in Engineering Work — How problem solving and learning repeat at different scales—from one decision inside an activity, through task workflows and project phases, to improving a project's environment and revising the working model across projects.
  • Engineering Activities — The six general activities of engineering work, what each one produces and needs, the problem-solving cycle inside each, which activities each project phase uses most, and what a project's own version of an activity states.
  • Engineering Workflows — What an engineering workflow is, the six parts a workflow specifies for a task type, how workflows live in a project's setup, and why teams fall into the generate-and-accept shortcut without them.
  • Features of a Good Approach to Engineering Work — Ten practices for reasoning and deciding in any engineering task, grouped by the four parts of the problem-solving cycle, with one rule for scaling their depth, examples for each of the six activities, and why assistants need them.
  • Independent Verification Workflows for Coding Agents — Tests and reviews that an LLM writes after its own code tend to repeat the code's assumptions. These workflows separate who defines correctness, who implements, and who tries to disprove the result, using fresh agents.
  • Participants and Substrates — Who takes part in engineering work with agents, described by four responsibilities, capability, authority, and accountability, and the layers (substrates) that hold shared state and enforce commitments.
  • Processes Derived from the Goals and the Participants — How work is coordinated across people, coding agents, and automated checks: what multi-participant work adds on top of individual reasoning, which features of the participants and the work make the goals hard, and ten processes derived from …
  • SDLC Workflows: Reading Map — Links to vault notes on engineering workflows, grouped by topic: the lifecycle, discovery, work with assistants, review, decisions, investigation, evidence, reflection, bottom-up learning, and the agent environment.
  • Task Types in Engineering Work — The recurring kinds of tasks in engineering work, grouped by what each starts from and produces, sorted from the product, behavior, architecture and output points of view, with a delegation profile for each and how to measure work by type.
  • Testing and Revising the Working Model — A loop for the working model of engineering work with assistants: apply its concepts on real tasks, reflect on whether they helped, and revise the model, with what the loop needs to work.
  • Two Planes of Goals for Engineering Work with Assistants — The goals of engineering work with software assistants on two planes: product and engineering goals that hold with or without assistants, two conditions from working with agents, and goals for the agent setup and environment.
  • Workflow Example: Fix a Bug — A concrete workflow for fixing a bug with a coding assistant, written in the six-part workflow format and ready to test on actual tasks.
  • Workflow Example: Frame a Problem — A concrete workflow for framing a problem with a coding assistant, turning a rough request, idea, or report into a short brief that design or implementation can act on without guessing intent.

Evaluating Engineering Work with Agents

How a team can tell whether its work with coding agents is any good and whether a change to its setup helps: why reading the setup can't show it, why hidden parameters hide the effect, and how to study a change with experiments.

  • A Practical Way to Study Coding-Agent Improvements — Start from the decision a study could change, choose a method for the question, and decide what counts as improvement for each task type. Then work within the limits of few tasks and hidden parameters, and interpret the results without …
  • Reasoning Log: Evaluating Engineering Work with Agents — Working notes on how a team can tell whether its work with coding agents is any good: the problem in a developer's words, first candidate questions, what a good result looks like for one kind of task, and why it's hard.
  • Why It Is Hard to Tell Whether AGENTS.md Works — Reading AGENTS.md and running static checks can't show whether the file makes the work better. Only the results of real tasks show it, and they also depend on the ticket, the person, the model and the setup, so the evidence is weak.

Problems

  • Features Behind the Problems in Work with Agents — Sixteen features of the work, of people, and of agents that the 94 problems in engineering work with coding agents trace back to, where they meet, and how they compare with the working model.
  • Problems in Engineering Work with Agents — A list of 94 problems in engineering work with coding agents in three layers: problems a team has without agents, problems that appear with agents, and problems of telling whether a change helps.
  • Sequences of Problems in Engineering Work with Agents — How the 94 problems in engineering work with coding agents lead to one another, in three layers: problems a team has without agents, what agents add, and telling whether a change helps, with 126 links and two loops.

ReAct Agents

ReAct, the reasoning-and-acting pattern for LLM agents: what the paper proposed, which older agent research it repeats, and what frameworks keep under the name.

  • ReAct in Context: A Critical Historical Analysis — ReAct read as an LLM implementation of a much older agent architecture: its claims set against decades of work on planning, BDI agents, cognitive architectures, and epistemic action, and what its own and later results show.
  • What a ReAct Agent Is — Separates what the ReAct paper proposed from the generic model-tool loop and the frameworks sold under its name, traces each element to earlier agent research, and proposes splitting the transcript into explicit state.

System Prompts

Cline

Prompts

Codex System Prompts

Codex Piece Lists by Model
Codex Prompt Pieces
Codex System Prompts by Model

Opencode

Prompts

Roomote

Prompts

AI Engineering Approach

AI delivery combines engineering mechanisms with experiments on actual behavior. These notes connect assurance, evaluation, cross-domain skills, and product learning to decisions about design, changes, and release.

  • AI Practitioner Roles: Taxonomy and Panel Notes — Maps AI practitioner roles by what they produce, how success is judged, and risks owned, with contrasting research and industry perspectives for discussion.
  • AI Products Need Evals, Not Just Tests — A clear product target can still leave reliability uncertain. The delivery loop combines enforceable safeguards, realistic cases, trace inspection, expert judgment, regression checks, and scoped release decisions.
  • AI Systems Require Behavioral Evidence — Learned components limit what implementation inspection can establish. An escalation example links requirements, mechanism assurance, behavioral evidence, and decisions about the scope a product can support.
  • Aligning on AI Product Engineering — The work and support I seek in AI product engineering: hands-on responsibility, room to apply and develop judgment, and time, access, and authority to turn findings into product decisions.
  • Carrying Software Engineering Skills into ML and LLM Work — Product thinking, ownership, and software architecture carry into ML and LLM work. A lifecycle gap map connects those strengths to data literacy, statistical experiments, evaluation, and focused learning projects.
  • Discipline in AI Product Work: Where to Read — A cross-note reading map linking assumptions, proportionate experiments, evaluation, and decision records, with a distinction between experiment-led roadmaps and evidence for the next commitment.
  • Discipline in AI: Annotated Reading Map — An annotated map of notes on AI engineering as an emerging practice, scientific mindset, disciplined experimentation, evaluation, and organizational support.
  • Disciplined AI Experimentation — A useful AI experiment names the decision, baseline, change, cases, and judgment rule. Versioned evidence and production follow-up test whether quality gains justify their cost, latency, and workflow effects.
  • Eval-Driven Development — An eval pyramid combines fast code checks, model grading, and human calibration. A prompt-change example connects reusable cases and RAG quality measures to local iteration and CI gates.
  • Evaluation in AI Product Development — Evaluation connects product decisions with a maintained capability to inspect behavior, develop shared criteria, compare changes, and learn from production while preserving the limits of the evidence.
  • Goals of AI Product Delivery — Defines user-task success as the top AI delivery goal, then derives behavioral contracts, controlled changes, failure diagnosis, and production feedback as supporting capabilities.
  • Language, Mindset, and Discipline in AI Products — Building an AI product also develops the practice behind it: shared cases sharpen expectations, experiments examine assumptions, and team support lets findings change the work.
  • Language, Mindset, and Discipline: Second Version — A practical engineering stance for discovery and delivery: make supported behavior explicit, test consequential assumptions, preserve the reasoning, and give findings a route into product commitments.
  • My Perspective on AI Engineering — My approach to AI engineering treats behavior as a system concern, combining evaluation with architecture, team practices, and production learning so evidence can guide changes and supported scope.
  • Review of My Perspective on AI Engineering — Reviews a production AI engineering statement for company alignment, identifying missing accountability, domain participation, proportional rigor, and evidence-based planning mechanisms.
  • Structured AI Development: Outline of Components — Evaluation, observability, test layers, and product investigations reveal different parts of the same delivery system. Connecting them helps a team choose what to build, inspect, change, and release.

AI Product Delivery

Delivering an AI product connects problem framing, system design, build, release, and operation. These notes cover the delivery lifecycle, production readiness, data flywheels, and shared platform patterns.

  • AI Discovery Platform [Draft] — A discovery platform for AI products is built around the loop from uncertainty to experiment, evidence, and decision, keeping prototypes and environments cheap and disposable while making evidence, failures, and decisions durable.
  • AI Platform Capability Map [Draft] — A reference model and capability map for an enterprise AI platform, with build-or-buy positions, identity and evaluation as platform concerns, a KPI scorecard, a five-level maturity model, a build sequence, and landscapes for surveying the …
  • AI Platform from the Team’s Delivery Loop [Draft] — Derives AI platform capabilities from what a product team does as it discovers, prototypes, validates, ships, operates, and improves an AI feature, instead of starting from a list of components.
  • AI Product Design and Delivery Framework — A configurable AI project lifecycle linking problem framing, system design, build, release, and operation with continuous data, evidence, readiness, observability, and adoption workstreams.
  • Baseline, Prototype, and Feasibility — Defines a thin, instrumented end-to-end baseline for testing feasibility, establishing deterministic foundations, and comparing later changes before production hardening.
  • Data Flywheel — A governed data flywheel converting product use into traceable evidence and reusable learning assets, connecting curation, interpretation, system changes, release, and production feedback.
  • Data Foundation: A Cross-Cutting Workstream — Defines the cross-cutting data foundation for AI delivery, covering trustworthy source and evaluation data, synthetic-data validation, sufficiency, production shifts, and evidence traceability.
  • Design and Delivery Framework: Development Notes — Development notes for configuring the delivery framework around starting state, transformation intent, uncertainty, and risk, with particular attention to brownfield migration and legacy AI.
  • Design and Delivery Framework: Principles and Remarks — Companion principles for the delivery framework: work backwards, retain feedback between phases, establish deterministic tool contracts, and place domain invariants deliberately.
  • Design Science Method: Excerpts from Johannesson and Perjons — Design-science source material covering problem explication, requirements, alternative designs, artifact construction, design rationale, demonstration, and evaluation.
  • Design Science: Artefact Evaluation (Book Chapter Excerpt) — A design-science source chapter on selecting artifact evaluation goals, contexts, strategies, and methods, distinguishing artificial efficacy tests from naturalistic effectiveness studies.
  • Development Approaches and Modes — Distinguishes experiments, baselines, prototypes, and walking skeletons as optional development modes, choosing each according to uncertainty and the evidence needed for decisions.
  • Platform Components and Reuse — Reusable AI infrastructure separates common access, retrieval, tool, and evaluation capabilities from application workflows, with a build plan that establishes attribution, versioning, and policy before agent orchestration.
  • Problem and Response Cycle — Frames the problem and desired outcome before selecting a response, defining the project's contribution and evidence that may require revising or stopping it.
  • Production Build, Evaluation, and Release — Specifies production build objectives, hardening activities, experiment questions, outputs, and readiness evidence, including conditions that require returning to implementation.
  • System Design in the Delivery Framework — A system-design activity and artifact checklist connecting objectives, requirements, domain models, contracts, architecture, risk, migration, validation, and operational ownership.

AI Platform Patterns

  • Is a Separate Prompt Registry Needed? — A sourced decision note on when shared production prompts need a registry, contrasting runtime releases, collaboration, and rollback requirements with simpler repository-based versioning.
  • Model Gateway: Overview and Financial Reference Designs — Collected model-gateway designs progress from a general control-and-data-plane pattern to hybrid financial architectures, culminating in a single-organization proposal with data-class routing, action mediation, and audit controls.

AI Production Readiness

  • AI Production Readiness: Revised Definition (Draft) — Adapts production readiness to AI systems, grounding contextual sufficiency in behavioral evidence, operational capability, lifecycle support, explicit uncertainty, and accepted residual risk.
  • Background and Review of Production-Readiness Definitions — Reviews competing production-readiness definitions, distinguishing intended-use sufficiency, system properties, organizational capability, assessment criteria, and the mechanisms used to establish readiness.
  • Building a Production Readiness Model and Framework — Working rationale for deriving a readiness model and framework, emphasizing joint design of software and operations and testing capabilities rather than checking that mechanisms exist.
  • Production Readiness Framework (Draft) — A draft organizational framework translating readiness concepts into context-specific requirements, evidence, tailored rigor, lifecycle checkpoints, responsibility, decisions, exceptions, and reassessment.
  • Production Readiness Model — Defines readiness as evidenced sufficiency for a specified production use across the system, technical environment, and responsible organization, within explicit uncertainty and residual risk.

Context for AI Systems

An AI system's output depends on the context assembled for the task. These notes cover retrieval design: interpreting the need, selecting evidence, and fitting it to the consuming step.

Retrieval for AI Systems

Retrieval as part of aligning context to a task: interpret the need, design searchable source views, preserve evidence decisions, and compare how people, models, and software construct and use working context.

  • Beyond RAG: Context-to-Task Alignment (Draft) — RAG is one pattern in a task-centered architecture: determine what the user needs, align retrieval with source representations, and build context for decisions, actions, and verified outcomes.
  • Conceptual Alignment and Contract Discipline in RAG — A request can serve unchanged as a query while the roles remain distinct. Explicit input and output contracts expose who interprets the task, selects evidence, judges context, and checks the outcome.
  • Context-to-Task Alignment and Evidence Workflows — An evidence workflow separates source identity, acquisition routes, collection, and support judgments, retaining gaps and exact operation inputs so an inquiry can evolve or finish with discovery.
  • Domain Model of Context-Augmented Task Systems — Working context is a bounded view of a larger investigation. This domain model links requests, requirements, source identity, assessments, and operation results so revisions and failures remain traceable.
  • RAG Reframing: Editorial Review of the Companion Notes — An editorial map of the retrieval companions explains why assembly is bounded to operation inputs, discovery can be an outcome, and evidence judgments require a stated basis, while main-framing choices remain open.
  • Representation Design for Task-Relevant Retrieval — Design searchable views around a demonstrated access problem, then recover the original material needed to read a match. Test whether added access outweighs information loss, source-mapping errors, and upkeep.
  • Retrieval Design: Baselines, Experiments, and Shared Work — Separate improvements to the current inquiry from policies for future runs. Use small retrieval baselines, inspectable interventions, and whole-task comparisons to decide which operations to automate.

Drafts and Restored Copies of AI Engineering Notes

Draft notes and earlier copies of AI engineering notes, kept for reference. The current versions are in the other AI engineering sections.

AI Production Readiness (Restored Copy)

A restored copy of the production-readiness notes as they were in the first commit, with a map of the notes in this folder and related notes in the vault and notes-acc.

  • Building a Production Readiness Model and Framework — Working rationale for deriving a readiness model and framework, emphasizing joint design of software and operations and testing capabilities rather than checking that mechanisms exist.
  • Production Readiness Framework — A draft organizational framework translating readiness concepts into context-specific requirements, evidence, tailored rigor, lifecycle checkpoints, responsibility, decisions, exceptions, and reassessment.
  • Production Readiness Model — Defines readiness as evidenced sufficiency for a specified production use across the system, technical environment, and responsible organization, within explicit uncertainty and residual risk.
  • Use-Case-Specific AI Production Readiness — Adapts production readiness to AI systems, grounding contextual sufficiency in behavioral evidence, operational capability, lifecycle support, explicit uncertainty, and accepted residual risk.

Causal Stack Layer Notes (Restored Copy)

Four layer notes from the earlier causal stack, restored from the 2026-09-28 snapshot because they are not in the vault or its git history, with links to their sections on observability.

  • Layer 1C: AI-System-Level Causal Features — Restored draft of the causal stack's Layer 1C: features of AI systems that cause failures, starting from the principle that AI systems are empirical and must be measured, not only inspected.
  • Layer 3: System Control Families — Restored draft of the canonical Layer 3 control families for AI systems, grouped by architectural boundary, with core definitions and observability requirements for each family.
  • Layer 3: System Controls and System Faults — Restored draft of the causal stack's Layer 3: the controls, safeguards, monitoring and processes that decide whether behavioral fault modes are prevented, detected, bounded or recovered from.
  • Layer 3: System Fault Families — Restored draft of the causal stack's Layer 3 fault families: failures in the application around the model that let model-derived fault modes reach users, with typical faults and examples.

Evaluation v1 Notes on Observability (Restored Copy)

Two early evaluation notes that define observability for AI systems, restored from the 2026-08-30 snapshot because they are not in later snapshots, the vault, or its git history.

Evaluating AI Products

AI evaluation notes on choosing cases, recording evidence, making judgments, investigating failures, and using findings to change a product or its implementation.

  • Where to Start with AI Evaluation — A practical starting sequence for AI evaluation: frame one workflow, choose a product decision, define expected behavior, run representative cases and act on the findings, plus which existing evaluation notes to keep, simplify or defer.

Evaluation Framework

Evaluation notes on defining cases, recording executions, applying criteria, investigating failures, and drawing conclusions from the available evidence.

  • AI Evaluation Reading Guide — The AI evaluation guide routes practical questions to methods for case design, evidence capture, failure analysis, evaluator validation, controlled comparisons, and learning from real use.
  • AI Product Improvement System — Feedback loops are defined by what they change: the delivered product, quality understanding, or evidence capability. Offline and online evidence connects all three through reusable evaluation assets.
  • Building a Starting Set of User Inputs for AI Evaluation — Build evaluation inputs by mapping real requests to meaningful variation and generating missing situations from reviewed tuples, then add fixtures and balance cases against product guarantees and risk.
  • Conceptual Model for AI Evaluation — Product intent, configured AI systems, execution evidence, and decision needs meet in an evaluation model with distinct feedback routes for product improvement, evaluation knowledge, and infrastructure.
  • Coverage and Case Design for AI Evaluation — Claims, critical boundaries, and meaningful variation determine evaluation coverage. Cases encode executable conditions; production samples define which live behavior the resulting findings can describe.
  • Evaluation Harness and Workspace — Controlled execution and evidence capture form the evaluation harness; the wider workspace supplies case management, trace review, version comparisons, human judgment, and production learning.
  • Evaluation Subsystem — An AI evaluation subsystem connects cases and live runs to inspectable traces, reliable judgments, comparisons, and findings through people, data, tools, and practices that grow with repeated evidence needs.
  • Evidence Model for AI Evaluation — Cases specify situations, executions produce trajectories, and traces capture partial evidence; these distinctions anchor judgeability, failure models, operational checks, and causal diagnosis.
  • Failure Understanding in AI Evaluation — Recurring AI failures become useful engineering knowledge when incidents are compared, category boundaries tested, and selected failure modes translated into evidence-based criteria and measurements.
  • Introduction to AI Evaluation — AI evaluation starts with a question and examines whole-product behavior in defined situations, preserving the evidence and limits needed to inform discovery, delivery, and production decisions.
  • Judgment and Findings in AI Evaluation — Judging AI behavior requires applicable criteria and sufficient evidence; validated evaluators, traceable labels, and explicit denominators turn those judgments into scoped findings for product decisions.
  • Production Learning — Deliberate sampling of live AI behavior tests production commitments and reveals new situations; its findings revise product scope, improve evaluation assets, and reopen questions about user outcomes.

Theoretical Methodology for AI Evaluation

An early, theoretical attempt to structure how AI and ML systems could be estimated, compared, and built from evidence. It has not been tested in practice.

Evidence Appraisal

Claims that AI tools improve engineering need evidence about outcomes, causes, and hidden costs. These notes connect critical appraisal, empirical methods, and evaluation protocols to that investigation.

  • A Zalando Case Critique — Zalando's report on agentic engineering is a useful experience report and weak evidence that coding agents improve outcomes. The critique separates operational observations from causal evidence and sketches how the central thesis could be …
  • AI Engineering Evidence Protocol — A productivity claim must account for supervision, review, correction, and later rework. The protocol sets evidence requirements for AI evaluations, including baselines, failure cases, and uncertainty.

Theoretical Methodology Framework

The framework treats AI improvement as an evidence loop from execution traces to estimates, controlled comparisons, release gates, monitoring, and constrained search, with shared contracts across the steps.

  • Change Detection v1.2: Production Discipline for LLM Systems — A metric spike needs integrity checks, comparison with a suitable baseline, and attribution before it supports a response. The detection pipeline packages that evidence with actions and lessons for future incidents.
  • Estimation v1.2: Production Discipline for LLM Systems — Episode outcomes become state estimates and deltas through paired or clustered inference, explicit uncertainty, and missingness rules. Window finalization accounts for late data before results support decisions.
  • Experimental Design v1.1 for LLM and Agentic Systems — Paired offline runs, randomized A/B tests, and switchbacks answer different comparison problems. Precommitted endpoints, clustering, contamination controls, and decision margins determine what their results can support.
  • Fingerprinting Spec v1.3: Canonicalization and Hashing — Configuration, inputs, dependencies, and evaluators need identities that survive harmless representation changes. Canonical JSON, expanded defaults, and versioned hashes define how those identities are computed and compared.
  • Foundations v1.3: Assumptions, Invariants, Validity Threats — Comparisons of AI behavior depend on assumptions about data, randomness, measurement, dependencies, optimization, and observability. The validity contract connects these assumptions to safeguards and remedies when they fail.
  • Framework Factors v1.2: Failure Drivers and Controls — From input shift to unsafe tool access, failure drivers become reviewable requirements through observable signals, required artifacts, validation methods, owners, and release controls scaled to risk.
  • Framework Factors v1.3: Failure Drivers and Controls — Reliability depends on preserving acceptable behavior across runs and system changes. The operating model connects task-specific equivalence, component traces, recovery paths, and product experience to release controls.
  • Instrumentation v1.2: Production Discipline for LLM Systems — A compact record for every episode captures identity, routing, termination, budgets, and failures. Detailed traces are sampled by importance, with field and retention rules for diagnosis under logging limits.
  • Methodology Principles v1.1 for LLM and Agentic Systems — AI improvement requires separating what was changed from shifts in inputs, dependencies, and evaluation. The principles join that distinction to uncertainty, controlled experiments, constrained optimization, and incident learning.
  • Optimization v1.2: Production Discipline for LLM Systems — Configuration search begins with explicit objectives and hard constraints, then moves from cheap offline screening to holdout and canary confirmation. Online exploration uses approved options and circuit breakers.
  • Schema Pack v1.3: Contracts for Framework Artifacts — Records for traces, estimates, comparisons, gates, and incidents carry shared identity and provenance rules. The catalog specifies required fields, measurement coverage, and compatibility across those interfaces.
  • Slices v1.1: Slice Types for Gating and Monitoring — Comparing variants on requests that happened to use a tool can select different populations. Slice types separate input-defined release cohorts from execution diagnostics, with versioned predicates and promotion rules.
  • State Definition v1.1 for LLM and Agentic Systems — A system’s identity and its measured behavior are different objects. State keys track configuration, inputs, dependencies, and evaluators; estimates and delta reports add outcomes, uncertainty, and comparison context.
AI Systems Framework Usage Guides

Runtime records, comparison reports, and incident packets become everyday engineering tools through implementation guides and adoption plans. A companion critique examines their measurement dependencies and operating costs.

  • AI Systems Framework for Software Developers (v1) — A prompt or retrieval change needs evidence beyond a few convincing answers. Developer workflows connect episode provenance, safe slice comparisons, delta reports, and incident triage, building toward controlled rollout.
  • AI Systems Framework: Methodology Critique (v1) — The framework’s controls can also create fragile labels, fragmented baselines, expensive governance, and too many inconclusive results. This assessment connects those costs to mitigations and an order of adoption.
  • Instrumentation Guide for Chat and RAG (v1) — Diagnosing a RAG answer requires knowing what was retrieved, what entered the prompt, and what the answer cited. Stage records connect that evidence to versions, missingness, sampling, and conformance checks.
  • RFC: AI Systems Framework Overview and Adoption (v1) — Teams can coordinate product-specific quality decisions through shared evidence artifacts. This adoption RFC connects runtime records and comparisons to release gates, incident response, ownership, and rollout criteria.
  • RFC: AI Systems Framework v1.3 for a Single Product Team — A product team can implement the framework as runtime, measurement, state, monitoring, and optimization layers. The RFC defines their interfaces, rollout milestones, owners, and resolutions of conflicting conventions.

Investigating AI Product Behavior

A customer task connects the investigation: record what happened, compare explanations, test a change, and follow its effect on the work. Cases, claims, and checks keep observations and decisions traceable.

  • Cases from Product Use — A case links an attempted customer job to its outcome, hidden human assistance, and supporting artifacts. Competing explanations and a next check keep observations useful without prematurely naming a cause.
  • Causal-Stack Refactoring Record — The refactoring replaces overlapping layer taxonomies with cases, claims, debugging, and checks tied to customer tasks. A destination map records which material survived, how it changed, and which evidence claims remain open.
  • Claims to Check in Product Work — A definition, incident explanation, and product recommendation need different support. Scoped expectations, counterexamples, and revision rules let product evidence strengthen, narrow, or overturn engineering claims.
  • Debugging a Failed Customer Task — Follow a failed task through intent, evidence, meaning, state, and tool effects. The first visible mismatch guides competing explanations and focused checks before choosing a fix or changing supported scope.
  • Focused Checks for AI Product Behavior — Focused checks turn a product question into cases, a judgment rule, and an interpretable comparison. Recipes cover evidence use, variation, exact meaning, tool effects, fallback, and continued customer outcomes.
  • Learning Through Real Product Use — Start from an existing customer job, build one usable path, inspect real attempts, compare changes, and observe repeat use. Record which investigation questions improve decisions and how much effort the guide adds.

Causal-Stack Reference

Language, model behavior, and candidate interventions offer different lenses on a failed task. These references connect each lens to observable evidence, focused checks, and the costs of changing a product.

  • Language and Interaction — Ambiguity, missing information, contextual references, and corrections pose different engineering questions. Concrete examples connect target binding, clarification cost, state updates, and preservation of meaning.
  • Model and System Behavior — Model research can suggest a local check while application traces show inputs, handoffs, state, and effects. The reference separates background findings from incident attribution and tracks feedback into future evidence.
  • Possible Interventions — A diagnosed boundary suggests changes to compare, from source selection and context assembly to permissions, retries, and recovery. Each option carries a check, a cost, and a limit on what it can establish.

Use the main map to explore other collections. Descriptions come from note metadata or the page summary; working notes and versions retain their own scope.