Pattern Matrix/Pattern Engineering Notes

ADPS Agent Design Pattern White Paper · Engineering notes

Pattern Engineering Notes

Patterns in concrete environments: state, interfaces, failure handling, and verification.

A pattern specification describes a recurring problem, mechanism, and boundary. A pattern engineering note places those ideas in a concrete environment and follows the design into storage, state transitions, interfaces, failure handling, and recovery.

These notes are not Blue Book reports. A Blue Book report records the evolution, artifacts, and results of an attributed project. An engineering note may begin with a real implementation question and combine several patterns, but it does not present an unverified design as an enterprise outcome. It is also narrower than a cross-cutting topic: one module normally owns the question, and the note links back to the relevant specifications.

From a problem to a pattern

In the Kubernetes example, a user preference has been written to Markdown, yet the next request lands on a different Pod. The engineering chain follows the write commit, version conflicts, index synchronization, startup assembly, and cross-Pod recovery. M1, M2, and M3 explain retention layers, retrieval, and task continuity; X1 and X3 add operational evidence and tenant boundaries.

In the frontend/backend example, the frontend agent reproduces an API timeout while the backend session already holds transaction and log context. The chain follows discovery, claim, repair, deployment, retest, and verified closure. C4 defines the handoff sequence and C5 preserves local context and authority boundaries. C1 or C2 enters only when the work needs central ownership or parallel investigation.

Pattern names provide stable navigation. The engineering chain shows where each mechanism lives and what evidence remains when it fails. Future notes follow the same structure.

Memory

Agent memory on Kubernetes: storage layers and recovery

Why does Markdown memory disappear when the same user's next request reaches another Pod? The note separates content representation, runtime workspace, system of record, and retrieval entry, then defines tests for version conflicts, index synchronization, tenant isolation, and cross-Pod recovery.

Related specifications: M1 Hierarchical Retention, M2 RAG, M3 Progress Tracking, X1 Observability, and X3 Security & Identity.

Collaboration

Connecting two agents: from context reference to task handoff

When a frontend agent discovers a backend defect, how should it transfer responsibility and evidence to an agent that already holds the backend context? The note separates messages, project facts, and local working context, then defines a task state machine, Handoff Contract, collaboration control plane, and acceptance tests.

Related specifications: C4 Handoff Chain and C5 Sub-Agent Isolation. Add C1 Hierarchical Delegation or C2 Fan-out/Gather only when the task needs central ownership or safe parallel investigation.

Acceptance criteria

A pattern engineering note should retain:

  1. the concrete environment, participants, and observed failure;
  2. the data, state, authority, and evidence that must move or persist;
  3. the interfaces, data structures, or execution order;
  4. failure tests beyond the happy path;
  5. links to the relevant specifications and an account of what remains unresolved.

Named products may serve as checked implementation examples. A product list cannot substitute for an architecture.

Citation and license: ADPS, Pattern Engineering Notes, 13 September 2026.

Pattern Matrix · CC BY 4.0

Provenance

Source record
ADPS Pattern Engineering Notes index
First published here

View in the ADPS Chronicle