architecture.artof.link

Architecture Glossary

Plain-English definitions for terms and concepts used across this documentation site. Each entry explains what the concept means, why it matters, and where it is applied in practice.


Core Architecture Concepts

Shared Understanding

The session's live digital notepad. It captures the customer's intent (occasion, recipient relationship, budget, card message) in a structured format that both the shopper and store services can read and update in real time.

Domain Services

The authoritative backend software systems that manage real-world business operations: inventory, pricing, delivery scheduling, payment, and order management.

Outer Harness

The software factory and automated safety scaffolding built around conversational AI to ensure honesty, reliability, and security in production. It consists of six layers: Guides, Sensors, Loop, Memory, Permissions, and Observability.

Fail-Closed Availability

A safety design rule: if a backend service (such as cooler inventory or delivery driver scheduling) is unreachable or times out, the purchase action turns off immediately.

Thin Client

A lightweight client application (such as our Android app) that handles screen display and user gestures, while delegating all business logic, inventory validation, and pricing calculations to the central backend (ADR-017).

Need → Pick → Pay

The three-step phone journey: say what you need, pick a real bouquet, then confirm delivery and payment. Used by the Android companion and the Path B mobile-web concierge. Not a new requirement ID — it is the screen map in the native mobile UX spec.

Honesty Loop

Detect a web-vs-phone mismatch, open one issue, ship the smallest fix, then prove it on a real device — or leave the status Unknown.

Keep Learning and Apply

Continuous learning from build history, applied into durable harness artifacts. Knowledge First reads the vault; Keep Learning and Apply grows it. A retrospective or honesty pass that does not change a skill, sensor, or guide is incomplete.

BFF (Backend-for-Frontend)

A secure gateway server that translates client requests from web browsers or mobile apps into internal domain commands.

Least-Data & Ephemeral Shredding

A privacy-first design principle (ADR-020) where sensitive customer information (such as physical delivery addresses) is isolated in an encrypted table and automatically purged after a 14-day fulfillment window.

Edge Wallet

An encrypted notebook on the customer’s phone. After a confirmed order, the companion stores a receipt locally (Android Keystore). Names and card wording stay on the device. The store only ever sees an opaque product/order token if a reorder is sent later.

Florist Staff Console

The /florist page on the live shop. Florists see orders and Contact Florist requests in a browser. It is not a second native app.


Project & Governance Terms

Path B

The code name for our reference flower shop implementation at https://aea.artof.link. It demonstrates the Adaptive Workspace and customer journeys in action. The pilot host is an evening demo window by default (see Pilot demo window), not a 24/7 always-live claim.

Pilot demo window

Sponsor schedule for the Path B AWS pilot (aea.artof.link): default online daily 20:00–22:00 Europe/Berlin; otherwise down unless woken via Lambda with a short lease. Not 08:00–20:00 office hours. Phase 1 keeps MSK and NAT running. Off-window public origin serves a resting HTML page via ALB fixed-response (infra/aws/static/offline.html) — Probed 2026-09-17. Schedule/wake Lambda automation remains Documented until probed in git. Distinct from NFR-003 assistant availability (local/fail-closed path) and from architecture.artof.link (GitLab Pages).

Probe

A verification action performed on real hardware or live servers to prove that a feature works as claimed, rather than assuming it works because a ticket was closed.

CF-NNN (Coherence Finding Codes)

An internal tracking identifier for an architectural discrepancy or falsifiable claim. Each finding follows a strict 1-finding → 1-issue → 1-branch discipline until verified or resolved.

ID Freeze

A governance rule: once a requirement (FR/NFR) or business goal ID is assigned in canonical project records, it is never renumbered or reused, preserving traceability across years of commits.

Fourteen Hats (Roles)

The 14 specialized quality perspectives AEA uses to inspect code and architecture (e.g. UX Designer, AppSec Auditor, Cost Guardian, Performance Guardian). They represent areas of review, not a 14-person bureaucracy.

Taxonomy Map Only

A related-work idea we recorded so later sessions do not forget it. It is not a live shop feature and not a new requirement ID.

Lesson Candidate

A short inbox note after a run: what failed, what changed, which fix worked. It is not an automatic rewrite of skills or canonical docs.


Agent coordination vocabulary

Autonomy Ladder

Evidence-backed promotion of agent (or routine) autonomy across five levels: 0 Observe, 1 Prepare, 2 Execute-with-approval, 3 Schedule-or-trigger, 4 Coordinate-specialists. Promote only when prior-level runs leave durable proof; demote when quality degrades. Autonomy is a runtime privilege, not a permanent label.

Approval by Reversibility

Finish reversible work; park irreversible gates for a human. Irreversible examples: send, publish, purchase, delete, production change, legal commitment. A good run completes the reversible majority, stages the exact next action, and stops at the boundary — it does not stall at 10% because approval is needed later.

Handoff Packet

A compact ownership transfer between agents or roles — not a full transcript. Minimum fields: from, to, objective, artifacts, decisions, constraints, open_questions, next_gate. Artifacts hold detail; the packet holds state; the thread holds discussion.

Account Connection vs Role Authority

Connecting an account or tool is plumbing (what the shared environment can reach). A role contract is permission (what this agent may do with that reach). Keep the two decisions separate. One careless connection is larger than one agent when sessions are shared.

Independent Checker

The builder is not the verifier. Generation and approval use separate prompts, rubrics, or roles — same spirit as MRC vs implementer and probe-before-status-words. Add a checker before promoting autonomy on the ladder.


Decision layer vocabulary

Decision Layer

A named control surface separate from generative LLM text: cheap typed judgments that route, triage, score, or stop work. Generative models write and reason; the decision layer returns constrained answers; code executes and owns irreversible gates. Maps onto AEA Loop + Graph routing and Permissions approval — not a second product brain and not a Path B vendor SDK.

Typed Decision (Choice · Score · Gate)

Three plain shapes for a judgment: Choice (pick one predefined option + probabilities), Score (position on a described scale), Gate (yes/no probability / stop-continue). External literature may say Noul for Gate. AEA adopts the shapes as vocabulary — not a requirement to call any vendor API.

Rebuild Option Menu

When offering a Choice, rebuild the option list from current worker, tool, or domain state. Do not reuse a stale menu from an earlier turn.

Cost Per Decision

Track cost per completed decision or task, not only token rates ($/MTok). Useful for comparing typed-decision paths with generative calls. Vendor demo unit costs (e.g. Browser Use $0.0039) are not AEA Path B evidence until probed on our stack.

Model-tier Choice

A typed Choice that picks a model tier (e.g. fast / capable / expensive) from a rebuilt option menu before spend. Home: Cost Guardian + Observability + decision layer. External literature may show this as ModelRouterMiddleware (LangChain harness-with-Jev). AEA adopts the pattern name — not a requirement to install LangChain Typesafe middleware or TypeSafe/Jev.

AutoMode pre-tool Gate

A typed Gate (yes/no probability / stop-continue) run before a side-effecting tool executes. Maps onto AEA irreversible park list (#441): send / publish / purchase / delete / production / legal. External literature may say AutoModeMiddleware. AEA adopts the pattern name — not a vendor SDK.


Agentic workflows vocabulary (Anthropic Keep Learning)

Thin terms from Anthropic Building effective agents (Dec 2024) via Keep Learning — not an Anthropic product endorsement and not Path B shop UI. Status until Pages probe: Documented.

Workflow (predefined path)

A system where LLMs and tools follow a predefined code or guide path. In AEA: playbooks, CF sequences, and fixed sensor gates — predictable orchestration.

Agent (model-directed process)

A system where the LLM dynamically directs process and tool use within bounds. In AEA: the Interpret→Act→Verify→Remember Loop inside Permissions, autonomy ladder, and irreversible park list — not an open-ended shop agent.

Augmented LLM

Building block: model + retrieval + tools + memory. AEA map: retrieval → Memory/vault/Knowledge First; tools → Domain Services + ACI; memory → DATE_RE / committed vault (not chat-only).

Environment Ground Truth

Before the next Loop step, take probeable feedback from the environment (tool result, sensor, clip, CI log) — not model self-confidence.

Measured Complexity

Prefer simple composable patterns; add complexity only when a measured benefit justifies latency/cost. Maps to When Not to Grow the Harness + cost per decision.

ACI (Agent-Computer Interface)

Craft tool names, docs, and argument shapes with the same care as HCI — so models (and humans) misuse tools less. Maps to Guides + Permissions boundaries.

Wiki vs project layers (IPOF)

Wiki (know) holds durable concepts; projects (do) hold hot delivery briefs via Inputs/Process/Outputs/Feedback. Keep Learning from Second Brain OS (two-layers.md) — Documented complement to AEA's four-vault taxonomy (#489). Not an Obsidian product dependency.

Dual-claim / contradiction page contract

When two vault facts conflict, surface both (dated dual claim) instead of silent overwrite. Strengthens Honesty beyond Unknown. Distinct from Annatar forgetting/TTL (#481/#485). Documented (#490).

Vault health sensors

Computational checks for orphan notes, broken links, and vault metrics — Knowledge Guardian Sensors pattern from SBOS scripts//orphans. Documented (#493). Not Live shop health.

Canonical rules file with tool pointers

One shared rules file that every coding agent reads, with thin pointer files per tool that only say where to look. Keep Learning from steipete/agent-scripts — Documented complement to AEA's generated skill adapters (#502). Must never hold account IDs, private hosts or secrets. Not Live.

Skill front-matter validation

A check that each canonical skill has parseable front matter, a name that matches its folder, and a short routing description, plus a read-only audit that each tool can see the skills. Extends the existing 6-way drift guard (#503). Documented.

Model and effort routing by role

A vendor-neutral policy that names a capability tier and effort level per role, with escalation triggers that reuse the sponsor gate, MRC and the repeated-error rule. Proposal only (#504), related to Model-tier Choice (#473). Cost effect is Unknown until measured.

Fresh-context verifier

A verifier that does not run inside the producer's conversation or reuse its plan; it reads the artifact and the rule directly and cites the rule for each finding. Extends the independent verifier (paper XV.C). Proposal, Documented (#509). Effect on defects Unknown.

Source independence

A cross-check only counts if its anchor is not the claim's own source: a test that ran, a live probe or a frozen rule, not another agent's summary of the same document. Supports the Documented, Probed and Live labels. Proposal (#509). Not Live.

Fake-edge audit

Asking of every "and then" whether the next step needs the previous result, so needless waits can be removed and independent work run together. Applied first as a review of CI stage barriers (#510). Saving Unknown until measured.

Gate-change declaration

A one-line Gate-change: <what changed; tighten or relax> in an MR that edits a merge gate itself: a guard script, a guard test, fixtures, an exception list or the CI file. It applies the evaluator-isolation idea: the change under review must not quietly edit the check that scores it. Such an MR is not self-merged. Proposal, Documented (#525). Effect Unknown.

Anchored lesson

A lesson note that cites something which ran and can be re-checked (a CI job, a commit, a probe output, a test result). Only anchored lessons are promoted from the inbox into the vault; the note's own summary does not count (see Source independence). Documented (#526). Not Live.

Adoption record

A short block filled in before a new tool, service or dependency is adopted: the prior art searched, the last commit or release, the licence and its obligations (AGPL, commercial), the open-issue load, the security model (sandbox, data captured, credentials reachable) and the measured need. Keep Learning reviews incoming ideas; this checks the outside world before adoption. pip-audit covers known CVEs only. Template: research/templates/adoption-record.md (#527). Documented until one real adoption uses it.

Passive DAST baseline

A scheduled, non-intrusive scan of our own deployed hosts from the outside (for example an OWASP ZAP baseline scan), limited to an allowlist kept under the permissions layer, with results posted as guard verdicts. Report-only first, promoted to blocking only through a Gate-change: line. AI pentesting stays parked. Proposal, Documented (#528). No job exists yet.

Confidence routing

A written policy that turns a typed decision's confidence into an action: act above a high threshold, ask a stronger model or a human in between, never act on the cheap answer below a low one. Thresholds are per decision kind (a Gate before an irreversible action uses the strictest), every question has an other/none exit, and a calibration check on labelled data must pass, ideally after a shadow run, before a band is trusted. The park list still applies whatever the confidence. Proposal, Documented (#545). The decision layer logs confidence today but nothing acts on it.

Task-property rule

A short table that names, per task type, how checkable success is (strong, weak or delayed oracle), the horizon, reversibility and autonomy, and the evidence each needs. Strong oracle: a CI guard. Weak oracle: clip probe plus honesty ledger. Irreversible: park list. Proposal, Documented (#544); the weak-oracle plus high-autonomy case is undefined today.

Rule class (Hard or Default)

Every always-on rule says whether it can ever bend. Class: Hard rules are never overridden by context or a request and change only through an ADR or decision record; Class: Default rules adapt to context, and a deviation is stated in the MR. Each rule carries a one-line Why: linking the CF, ADR, issue or decision that created it. Documented (#548). Not Live.

Data freshness stamp

A line on any brief, Finding or report that cites external state: Data: <source> as of <time>, age <n>. Cached files carry last_sync:. Data past its time-to-live is reported as Unknown, not as a value, and each integration has a written degraded mode. Documented (#549). Not Live.