architecture.artof.link

Comparison & Visual Guide

This page is the public comparative guide to Adaptive Experience Architecture: mapping the six-layer outer harness, the 5 concentric building floors, and engineered memory alongside modern software engineering practices.

Why Most AI Prototypes Never Make It to Production: A chatbot that talks charmingly in a demo is not a finished business. When real customers order flowers, the system must check physical cooler inventory, calculate delivery routes, itemize taxes, and process payments without leaking data. AI language models are probabilistic word predictors—they cannot manage a real warehouse. The Outer Harness is the software factory built around the AI to guarantee real-world honesty and safety.

What this is · Why prototypes fail · Everyday formula · Three eras · 5 floors · Second brain · Team roles · Six layers · Honest ledger · Sources


What this is

An independent architecture analysis by Art of Group. It maps AEA onto six harness layers (guides, sensors, loop, memory, permissions, observability) and five concentric floors used in contemporary engineering literature. The AEA formula remains: Shared Understanding + Domain Services + Outer Harness. The flower shop at aea.artof.link serves as our Path B reference case study (evening demo window by default — see ledger). Knowledge about that shop lives here; /native and /framework on the shop host are not documentation pages.


What this is not


1. The Core Formula in Everyday Terms

Adaptive Experience = Shared Understanding + Domain Services + Outer Harness

The Core Formula in Everyday Terms: 4-step flow

The Three Golden Rules

The first three are safety rules. Keep Learning and Apply is an operating principle alongside them: when the build teaches something, write it into the harness before the next loop.


2. The Three Eras of Building with AI (2023 → 2026)

EraCore FocusWhat It OptimizedThe Fatal Flaw
Era 1: Prompting (2023–24)Single UtteranceMagic prompt keywords, tone, phrasingThe AI forgets everything the second the chat window closes.
Era 2: Context / RAG (2025)What the AI seesStuffing large PDF manuals and search resultsInformation overload; the AI knows facts but lacks real actions.
Era 3: Harness Eng. (2026)The Entire SystemAutomated test guards, databases, merge gatesNone. The AI is bounded by real-world software engineering.

3. The 5 Concentric Floors (Why AI Apps Break)

Think of an AI system like a 5-story building. Each floor rests on the one below it. If you skip the lower floors, the top floor collapses.

The 5 Concentric Floors: Why AI Apps Break

4. How the "Second Brain" Solves AI Amnesia

Without engineered memory, an AI starts every new conversation from scratch. Dumping hundreds of pages of past chat logs into the prompt makes the AI slow, expensive, and confused. AEA organizes memory into 4 clean vaults:


5. Team Organization: 14 Hats Mapped to 6 Functions

To prevent agents and developers from stepping on each other, AEA organizes 14 specialized roles into 6 clear functions:

FunctionStakeholder RolesCore Responsibility
1. DiscoveryUX Designer, Customer Journey, Support CoordinatorIdentify shopper friction, design mobile/web flows, and intake customer needs.
2. StrategyProduct Owner, Project ManagerSet business priorities, manage milestone delivery, and enforce scope gates.
3. SafetySecurity Auditor, Cost Guardian, Performance Guardian, Coherence GuardianBlock prompt injection, enforce cloud spending caps, guarantee fast loading times.
4. BuildersSenior Software Engineer, AI Engineer, DevSecOps PlatformBuild backend services, native Android apps, cloud infrastructure, and AI models.
5. GatekeeperMerge Request Coordinator (@aea-mrc)Independent Review: Verifies all tests pass before code touches production.
6. KnowledgeKnowledge Guardian (@aea-kg)Records every breakthrough and lesson into the Second Brain for future sessions.

6. The Six Layers of the Outer Harness in Practice

  1. Guides (The Rulebook): Clear instructions, role limits, and playbooks loaded before starting any task.
  2. Sensors (The Smoke Alarms): Automated tests and fail-closed checks that detect errors before customers see them.
  3. The Loop (The Factory Line): Disciplined workflow: One issue → one branch → one merge request.
  4. Memory (The Vault): Preserves lessons and daily handoffs so past mistakes are never repeated.
  5. Permissions (The Keycard): Strict controls over who can touch sensitive customer data, budgets, or servers.
  6. Observability (The Dashboard): Real-time Grafana telemetry proving the entire system is healthy with hard facts.

Honest Status Ledger

To avoid confusing architecture mental models with live production software, every concept on this site is explicitly flagged:

Item / ConceptStatus FlagOperational Reality
Domain Services & BackendDeployed / pilot schedulePostgreSQL, Kafka (MSK), Nginx, and Edge BFF on AWS ECS Fargate (aea.artof.link). Default online 20:00–22:00 Europe/Berlin daily or short on-demand lease — not 24/7. MSK+NAT stay (phase 1). Schedule claim Documented until Lambda probed.
Path B pilot demo windowDocumented (schedule) / Probed (resting page)Sponsor policy: evening demo 20:00–22:00 Europe/Berlin + Lambda wake with short lease. Off-window ALB fixed-response resting HTML Probed 2026-09-17 (infra/aws/static/offline.html). Schedule Lambda/S3 still DSO-owned / Documented. Not office hours. Does not weaken NFR-003. Pages host unrelated.
Fail-Closed AvailabilityLive / VerifiedSelect button automatically disables when inventory or delivery probes are stale or missing.
14 Pre-Flight Quality GuardsLive / VerifiedAutomated Python guards blocking secret leaks, skill drift, and broken traceability in CI.
14 Stakeholder Hats & MRC GateLive / OperationalRole separation and independent MR coordinator gate enforced before merging code.
Second Brain Memory VaultsLive / Operational4-vault curated Obsidian structure (Skills, Constraints, Graph, Daily Briefs) in Git.
5 Concentric Wrapping FloorsTaxonomy Map OnlyConceptual framing (Kocer) adapted to explain how AEA layers nest; not a separate library.
rvaniaaaa 6-Role Second BrainTaxonomy Map OnlyPattern evaluated for pre-irreversible gates; 6 generic role collapse is rejected.
10 Sep X-scan (gipp / beam / avid)Taxonomy Map OnlyDual-loop lessons, token playbook, shared-wiki prompt. Not AEA evidence. Vault: research/random-thoughts/2026-09-10-aea-vs-x-scan-gipp-beam-avid.md.
Second Brain OS comparison (Keep Learning)DocumentedXVIII-H: wiki/project IPOF; dual-claim pages; slash-command façade; read-only subagent roster; vault health sensors; evening pedagogy (#489–#495). Already covered (no redo): six layers, honesty ledger, KLA, 1→1 MR, MRC≠implementer, Decision #446–#451, Annatar #484–#487. Reject SBOS/Claude Path B runtime.
steipete/agent-scripts + advisor pattern (Keep Learning)DocumentedXVIII-I: adapt one canonical rules file with tool pointers (#502) and skill header validation plus cross-tool audit (#503); adapt only the vendor-neutral model/effort routing by role principle (#504, proposal). Park /advisor (experimental, one vendor). Reject copying his rules content and user-home symlink scripts. Already covered: 14 role skills with generated adapters and drift check, independent verifier, escalation rule. Not Live until Pages probe. EVO-X2 multi-tool loading and routing cost effect are Unknown. Cite steipete/agent-scripts; advisor doc.
Graph Engineering + two reviewed posts (Keep Learning)DocumentedXVIII-J: adapt a fresh-context verifier rule and a source-independence rule for cross-checks (#509); adapt a review-only fake-edge audit of CI stage barriers (#510). Park three-lens majority by default and fan-out tricks. Reject: duplicate node-contract ideas, the unverified cost anecdote, a flat-file notes article (19 Jul, already covered, rejects Obsidian) and a mixture-of-experts explainer (31 Aug, not a harness topic). Not Live.
"100 tips for a personal AI agent" post (Keep Learning)DocumentedXVIII-N: ideas by u/palo888 (Reddit, May 2026), repackaged by @humzaakhalid; one builder's claims, unverified. Adapt a `Class: Hard\Default plus Why: line on every always-on rule (#548) and data-freshness stamps with TTL-means-Unknown and a degraded mode per integration (#549). Sharpen #503 (not_for:` field, usage count), #543 (escalation ladder 3/5) and #545 (verdict plus confidence on escalation packets, hypotheses expire after 30 days) by comment. Park a devil's-advocate pass on irreversible packets (#550). Reject personal-assistant features. Not Live.
Model-plus-harness survey, Jev repost, five-repo agents list (Keep Learning)DocumentedXVIII-M: the survey (arXiv 2606.20683, synthesis of public results) confirms the six-layer design; the post headline "quality comes from the model" is not confirmed as written. Adapt Layer/Cause fields on Findings (#543), a task-property table (#544), a confidence-routing policy and calibration check for the decision layer (#545), and review of third-party skill packs as code (#546, borderline with #527). Reject bulk installs, star counts, vendor multiples. Already covered: run configuration with scores (#535, #536), falsifiable changes (#525, #526), parallel gates (#450). Not Live.
awesome-ai-agents map post (Keep Learning)DocumentedXVIII-L: read the list's category headings, not its picks. Adapt an Adoption record for new tools and dependencies (prior art, last release, licence, open issues, security model, measured need; #527) and propose a passive DAST baseline of our own allowlisted hosts (#528). Park Strix-style AI pentesting (needs written sponsor scope and a disposable environment). Reject as duplicates a stack-layer checklist (#340), observability/eval (Layer 6, #509, #525) and Graphiti (already Watch); reject adopting screenpipe, Cua or Open Interpreter (PX0). Checked: the list is real (MIT, 305 entries) but four of the five picks are not on it. Other claims unverified. Not Live.
Two-model search harness post (Keep Learning)DocumentedXVIII-K: adapt evaluator isolation for merge gates (Gate-change: line, #525) and anchored lesson promotion (#526). Park idea-graph search (MAP-Elites/MCTS over a graph). Reject duplicates (planner/worker split, per-iteration reset), a graph database dependency, and the post's results and attribution (claimed, unverified; no paper linked). Not Live.
Holmberg / LangChain harness patterns (Keep Learning)DocumentedModel-tier Choice; AutoMode pre-tool Gate; Holmberg recipe families (classify/dedupe, anti-slop Gate, post Score, SEO Score). Vault paper XVIII-G + framework schema/glossary (#471–#474). Not Live until Pages probe. Not Path B shop UI. Not TypeSafe/Jev or LangChain Typesafe middleware install. Cite Holmberg; LangChain.
Anthropic agentic workflows (Keep Learning)DocumentedWorkflow vs Agent; Augmented LLM map; five composable workflows ↔ Loop/Graph/Sensors; ground truth / measured complexity / ACI. Vault paper XVIII-F + framework schema/glossary (#460–#464). Not Live until Pages probe after merge. Not Path B shop UI. Not framework install. Cite Anthropic; X summary slash1sol.
Keep Learning and ApplyDocumented / PlannedPrinciple text is in repo (docs/framework/ + root AGENTS.md, GitLab #434). Live Pages at architecture.artof.link remains Unknown / Documented until a post-merge fetch (incl. ~375px table probe for #453). This MR does not claim Probed. Not a shop feature.
CF-054 Dual-Viewport Live Re-recordUnknown / RegressedCSS merged to repo, but dual-viewport side-by-side video clip re-recording remains unprobed.
Live Stripe Card GatewaySimulated ExtensionRuns deterministic payment simulation engine under ADR-016; live Stripe is not active.
Third-Party Benchmark ScoresNot AEA EvidenceGAIA, Terminal Bench, and 1M-line metrics belong strictly to cited papers [2], [6], [7].

Sources

Related work (cited, not inherited as AEA evidence):

  1. Mitchell Hashimoto, “My AI Adoption Journey,” mitchellh.com, 5 Feb 2026. Agent mistakes get a ratchet so they do not recur.
  2. Ryan Lopopolo, “Harness Engineering: Leveraging Codex in an Agent-First World,” OpenAI, 11 Feb 2026. Coding-agent field report. The million-line figure is not an AEA result.
  3. Birgitta Böckeler, “Harness Engineering for Coding Agent Users,” martinfowler.com, Apr 2026. Guides and sensors vocabulary.
  4. Vinay Trivedy, “The Anatomy of an Agent Harness,” LangChain Blog, 10 Mar 2026.
  5. Adnan Masood, “Agentic Harness Engineering,” Google Cloud / Medium, Jun 2026. GAIA deltas are not AEA results. Not an official Google research paper.
  6. LangChain Engineering, “Improving Deep Agents with Harness Engineering,” 17 Feb 2026. Terminal Bench ranks are not AEA results.
  7. Lauren Tan, “How Cursor Turned AI Agents Into Better Engineers,” Aug 2026.
  8. Anthropic, “Building Effective AI Agents,” anthropic.com, Dec 2024.
  9. Independent compilation, “Production Agent Engineering Practice 2026” (harness_final.pdf). Independently compiled. Not affiliated with Google, OpenAI, or Anthropic. Used as a document-design template only, not as an official source of AEA evidence.
  10. 0xWast3 (wast3), “Memory Engineering for Kimi,” Aug 2026. Context window is a workspace, not memory; splits procedure, correction, and relationship memory.
  11. Kocer (@kocer_eth), “Five Layers of Agent Engineering: Each One Wraps the One Below It,” Aug 2026. Resolves harness vs loop vs graph as five concentric floors (prompt, context, harness, loop, graph).
  12. rvaniaaa (@rvaniaaaa), “The Second Brain That Acts. The Agent Team That Remembers,” Aug 2026. Six non-overlapping roles around a compiled second brain; guardian blocks irreversible acts before executor.
  13. gippp69 (@gippp69), X post 2097659069456654812, retrieved 10 Sep 2026 (x.com 403; text via fxtwitter). Dual-loop after-run lessons as small memory files. Not AEA evidence.
  14. beamnxw (@beamnxw), X post 2097746415632155110, retrieved 10 Sep 2026. Claude cost playbook (audit / cache / effort) plus agent-memory commentary. Not AEA evidence. Paid hillclimb parked.
  15. Av1dlive (@Av1dlive), X post 2097639365644279857, retrieved 10 Sep 2026. Shared-wiki / Agentic Stack prompt (provenance, knowledge ≠ authority). Not an instruction to install a second Second Brain product.
  16. Shann Holmberg (@shannholmberg), X status 2101751911481573598, retrieved 21 Sep 2026. Workspace audit recipes (classify/dedupe, anti-slop Gate, post Score, SEO Score) as decision-layer recipes — Keep Learning map only; not TypeSafe/Jev endorsement.
  17. Sydney Runkle & Hunter Lovell, “Building a Harness with Jev,” LangChain Blog, 17 Sep 2026 (langchain.com/blog/building-a-harness-with-jev). ModelRouterMiddleware / AutoModeMiddleware related work — not AEA Path B dependency; vendor unit-cost claims not AEA evidence.

Primary AEA sources (probed on GitLab main, not chat):

Where they agree

Where they differ

What AEA claims here

Only what has a probe, or Unknown:

What AEA does not claim here

Back to the framework, the schema, the glossary, the Path B case study, or the journal.