The Architecture D dashboard provides a real-time overview of your entire COSMO-governed system. At a glance, you can see the number of brands under management, prompt module status, and specialist readiness.

DashboardDashboard showing 6 brands, 7 prompt modules (103K tokens), Tier 1 Foundation v2 (23K tokens), and 6/6 specialists ready

Key Metrics

Brands

Total brands under management with their pipeline status

Prompt Modules

Combined token count across Tier 1 and all Tier 2 modules

Tier 1 Foundation

Current version and token count of the foundational copywriting module

Specialists Ready

How many of the 6 discipline specialists are loaded and operational

Prompt System Overview

The dashboard displays all seven prompt modules with their version numbers and token counts. The Tier 1 Foundation module is the COSMO knowledge layer inherited by every specialist. Each Tier 2 module adds discipline-specific expertise on top.

The Brands page is where you manage all brand profiles in the system. Each brand card shows its current lifecycle status and key information extracted during onboarding.

Brands pageBrand portfolio showing automated status lifecycle: setup → onboarding → active

Brand Lifecycle

setup
onboarding
active

Status transitions automatically based on pipeline progress: setup when created, onboarding when GTM extraction begins, and active once Phase 0 knowledge assets are generated.

Brand Detail

Brand detailClear Theory® brand profile — the spec's designated initial target brand (§4.1)

Each brand detail page displays the full profile populated from GTM extraction: category, target audience, key ingredients, and product claims. Quick Actions let you jump directly to onboarding, editing, or cloning a brand.

Architecture D provides a zero-friction onboarding pipeline: upload a GTM Master Guidebook (PDF or DOCX), and the system automatically extracts Brand DNA, creates knowledge assets, and populates the brand profile.

Step 1: Upload GTM Guidebook

Onboard uploadZero-friction upload: drop a PDF or DOCX to create a brand automatically

Navigate to Onboard Brand in the sidebar. Drop your GTM Master Guidebook — the system creates a brand record from the filename and begins processing.

Step 2: Extract Brand DNA

Extraction progressPHYTODIM® PLUS extraction: 43 pipeline events, 100% completeness, $1.29 total cost

The extraction pipeline processes your document chunk by chunk, extracting all Brand DNA sections. The Pipeline Timeline shows every event with cost, duration, and model used. Extraction Completeness tracks which sections have been populated.

Extraction results15+ Brand DNA sections extracted with item counts — Import into Architecture D with one click

Step 3: Import into Architecture D

Once extraction is complete, import the data into Architecture D models. You can choose:

Import All Sections

Creates brand profile, ASIN catalog, COSMO knowledge assets, and Amazon listing data

Import Phase 0 Only

Creates COSMO knowledge assets only (intention taxonomy, lexicon, hierarchy, competitive analysis)

Import ASINs Only

Populates the ASIN catalog from product science data

Extraction Models

You can select which LLM model performs the extraction. DeepSeek V3 is the default (cost-optimized at ~$0.65 per full extraction). Sonnet, Haiku, and Opus are available for comparison. Model benchmark results are documented in GTM-EXTRACTION-MODEL-ANALYSIS.md.

The Knowledge Layer page manages the four foundational knowledge assets that every specialist consumes. These must be built before any specialist can run — this is Phase 0.

Knowledge LayerPhytoDIM® Plus: all 4 assets created (v1, current), with refresh cadence tracking

The Four Knowledge Assets

Intention Taxonomy

COSMO 15-relation types mapped per product category, ranked by typicality. Quarterly refresh.

Desire-Language Lexicon

Customer vocabulary organized by relation type with search volume and typicality. Monthly refresh.

Brand Intent Hierarchy

4-level tree: desire → product type → attribute → ASIN. Semi-annual refresh.

Competitive Intention Analysis

Relation-type coverage gaps in competitor listings. Monthly refresh.

Viewing Asset Content

Taxonomy contentIntention Taxonomy JSON: is_a relation with terms, notes, and typicality scoring (dominant/secondary)

Click View content on any asset to inspect the full JSON structure. Each relation type contains terms with typicality classifications (dominant vs. secondary) that govern how the specialists prioritize language.

Refresh Cadence

Each asset shows its age and next refresh due date. The system tracks whether assets are Fresh or overdue. When an asset is refreshed, downstream specialist runs are automatically flagged as stale.

Use Run Phase 0 to generate assets for the first time, or Force Regenerate to refresh them.

The Workflow Pipeline runs all six COSMO-governed specialists in the correct dependency order for a selected brand. This is the primary execution interface for generating complete brand content.

Workflow Pipeline topTHE BIG LITTLE CO® pipeline: All Steps Complete, $0.261 total — Steps 1-4 shown
Workflow Pipeline bottomSteps 3-7 with "Pipeline Complete" confirmation — note "Parallel" tags on Steps 4 and 5

Execution Order

Phase 0
Knowledge Foundation
Operational
ArchitectureCOSMO 15-relation audit
ASIN
OptimizationTitle, bullets, backend
Backend + A+ + PPCParallel execution
Store
ArchitectureBrand storefront

Each step shows its execution time, cost, and age. Steps 4 (Backend Terms & Competitive) and Step 5 (A+ Content) are marked Parallel — they run simultaneously since they don't depend on each other. Use Re-run to regenerate any individual step, or History to view past runs.

The Specialists page lets you run individual discipline specialists against a brand's knowledge layer. This is useful for targeted regeneration or testing specific disciplines.

Specialists page6 specialists ready for THE BIG LITTLE CO® — "Knowledge layer ready (4/4 assets)" confirmed

The Six Specialists

ASIN Optimization

Product listing: title, bullets, description, backend terms

Store Architecture

Amazon Brand Store structure and navigation

Operational Architecture

Phase 0 knowledge foundation specialist

PPC Strategy

5-tier PPC campaign architecture with COSMO targeting

A+ Content

Enhanced brand content modules with desire-language

Backend & Competitive

249-byte backend terms and competitive gap analysis

Specialist Output

Specialist resultStore Architecture result: 5 validation gates passed, COSMO 15/15 coverage, relation-type tags on every element

Each specialist result shows validation gates (Layer 2 automated checks), a formatted output view, and raw JSON. Relation-type tags (e.g., xWant, capable_of, used_for_func) are annotated on every content element so you can verify COSMO coverage.

The Prompt Modules page manages the two-tier prompt system — the core intellectual property of Architecture D.

Prompt Modules7 modules total: Tier 1 Foundation (23,301 tokens, v2) + 6 Tier 2 disciplines with token counts

Two-Tier Architecture

Tier 1 Foundation (~23K tokens) encodes the COSMO knowledge layer: identity & mandate, semantic gap principle, 15-relation taxonomy, typicality filter, regulatory compliance, Masters Operational Doctrine, desire-language framework, specificity standards, and the 7-gate self-validation protocol. This module is inherited in full by every Tier 2 specialist — never abridged.

Tier 2 Disciplines (10K–16K tokens each) add domain expertise: ASIN Optimization (Sections 10-19), Store Architecture (Sections 10-20), Operational Architecture (Sections 10-19), PPC Strategy (Sections 10-19), A+ Content (Sections 10-20), Backend & Competitive (Sections 10-18).

Prompt contentASIN Optimization Tier 2 content: Section 10 discipline identity, COSMO references, typicality filter

Version Management

Each module has independent versioning with changelog tracking. The Tier 1 module shows version history (v1 → v2 with change description). At runtime, the system assembles the system prompt by concatenating: Tier 1 + transition block + Tier 2 discipline.

The Human Review Gate implements Layer 3 of the validation architecture — structured quality assessment across 6 dimensions derived from the COSMO knowledge layer.

Review listSpecialist outputs awaiting review for THE BIG LITTLE CO® — Preview and Review buttons per output

Review Interface

Review scoringSide-by-side view: Layer 2 automated gates (5/5 passed) + formatted output on the left, 6-dimension quality scoring on the right

The 6 Quality Dimensions

Semantic Gap

Does the output close the gap between brand language and customer desire language?

COSMO Coverage

Are all 15 COSMO relation types adequately distributed across the output?

Typicality

Do terms match dominant/secondary typicality ratings for the product category?

Desire-Language Density

Is customer desire language used consistently over internal brand language?

Regulatory Compliance

Does the output comply with category-specific regulations (FDA, FTC, etc.)?

Experience Dimension

Does the output reflect real product experience rather than generic claims?

Verdict

After scoring each dimension, select an overall verdict: Pass, Conditional, or Fail. The verdict is auto-suggested from dimension scores but can be overridden. Add notes for specific observations or prompt revision recommendations.

The Feedback Loop implements Domain 7 of the deployment specification — a closed-circuit system where execution performance data feeds back into the knowledge layer.

Feedback LoopFeedback Loop page: 6 source types, Upload CSV and Manual Entry, brand and source filtering

Six Data Sources

The system accepts feedback data from six categories:

Search Term Reports

Actual queries customers typed — highest-value feedback for lexicon validation

Advertising Performance

Keyword performance, campaign ROAS, bid efficiency data

Business Reports

Conversion data, session metrics, buy box percentage

Competitive Intelligence

Competitor listing changes, pricing shifts, share-of-search movement

Customer Reviews

Customer language validation, experience feedback, benefit perception

Browse Node

Category taxonomy changes, browse node assignments

Four-Category Term Routing

When Search Term Report data is processed, each term is automatically classified into one of four categories with differentiated handling:

Confirmed → Reinforce in current strategy
New High-Volume → Evaluate for lexicon addition
Declining → Flag for review, strategy shift
Competitive → Analyze for coverage gap exploitation

Pipeline: Ingest → Extract → Apply

Upload CSV data or add manual entries. The system uses LLM intelligence extraction with COSMO annotations. When applied, knowledge assets are versioned and downstream specialist runs are flagged as stale.

The Settings page configures LLM providers, specialist model assignments, RAG parameters, feature toggles, and team access.

LLM Providers

LLM ProvidersAnthropic (Claude Opus/Sonnet/Haiku) + OpenRouter (DeepSeek, Gemini, Llama, Mistral, Qwen3)

All models route through OpenRouter during development. The native Anthropic SDK is available for production deployment — switching is a configuration change (API key + endpoint). New models from tracked providers are auto-detected with pricing.

Specialist Model Assignment

Model AssignmentOpus for critical creative disciplines (ASIN, Store, Ops, A+) — Sonnet for analytical (PPC, Backend)

Each specialist is assigned to a model tier based on output complexity. Opus handles the highest-stakes creative output; Sonnet handles structured analytical work. Assignments are visible but configured in the backend (prompt_assembly.py).

RAG Configuration

RAG ConfigConfigurable RAG parameters: Chunk Size (800), Overlap (100), Top-K (8)

RAG parameters are tunable from the settings page:

Chunk Size: 800 tokens

Within spec range of 500–1,000 tokens

Chunk Overlap: 100 tokens

Preserves context across chunk boundaries

Top-K Results: 8

Within spec range of 5–8 results per query

Additional RAG parameters configured in the backend: similarity threshold (0.7 minimum cosine), retrieval budget (4,000 token cap), and embedding model (text-embedding-3-large, 3072 dimensions).

Feature Toggles

QA Review — automatic quality review on every agent output. Memory Extraction — extract reusable style rules from user corrections. QA Timeout — configurable wait time (default 45s).

The Publish pages push a brand's DNA-derived product listing into external marketplaces. Every publish (including dry-runs) lands a row in the external_publishes audit table, so the operator has full history + rollback context. The first two channels are Shopify and Google Shopping; additional channels (Amazon, Walmart, TikTok Shop) follow the same operator flow with channel-specific fields.

What's shared across channels

Both pages are admin/manager-only. Each starts with a brand picker (any brand the operator is a member of), then a SKU picker when the brand has multiple asin_listings in its DNA. The flow ends with Preview (dry-run) → review the payload that would go out → Publish. The expandable history panel at the bottom shows the last 25 publishes with status, error, and full payload/response JSON.

Image-ref format (Shopify + Google)

The images textarea accepts one entry per line in the format <src> | <alt> (the | alt suffix is optional). Three src shapes are accepted:

  • https://... — fully public URL, passed through verbatim. http:// is rejected.
  • /api/v1/uploads/serve/uploads/<user>/<hash>.<ext> — the signed proxy URL returned by the file uploader. The publisher strips the signature suffix and presigns a fresh S3 GET URL when sending to the channel.
  • uploads/<user>/<hash>.<ext> — the raw S3 key (same as the key field returned by the uploader). Same presign behavior.

You can only reference uploads you created (the publisher enforces this against the current user's ID — audit H-3 fix from 2026-05-16). Max 10 images per Shopify publish; max 11 (1 main + 10 additional) per Google publish. The persisted audit row stores the operator-supplied refs verbatim; presigned URLs are generated only at HTTP-call time, so the idempotency key stays stable across retries.

Shopify (/archd/publish/shopify)

What the publisher does: maps the brand's latest DNA into a Shopify ProductCreateInput / ProductUpdateInput (rich HTML description from dna.amazon.asin_listings[0], FDA disclaimer pulled from dna.regulatory.disclaimers, ingredients metafield from dna.product_science.ingredients, tags from backend_search_terms). Product status is always DRAFT — the operator promotes manually in Shopify Admin.

Operator inputs: price (USD, optional — sets variant.price via a follow-up productVariantsBulkUpdate), images (optional).

Action: Publish uses Shopify's upsert semantics — if a prior successful publish exists for this brand + SKU on the same store, it routes to productUpdate on the existing GID; otherwise productCreate. Per-SKU scoping (audit slice-4 fix from 2026-05-16) means listing-1's upsert never accidentally resolves to listing-0's product. When the update path runs with images, the existing media gallery is cleared first so re-publishes don't duplicate entries.

Sandbox: the BrandRevUP dev store (brandrevup.myshopify.com) is the default SHOPIFY_SHOP_URL. Products land as DRAFT so they never show in the storefront until manually published.

Google Shopping (/archd/publish/google)

What the publisher does: maps the brand's DNA into a Google Merchant API productInputs.insert call. Description is plain-text (HTML stripped from the DNA prose). Price uses Google's amountMicros scalar. Insert is upsert-by-offerId — re-publishing the same SKU updates the existing Merchant Center listing in place.

Operator inputs (required for live publish):

  • Destination URL — public product page (e.g. the Shopify storefront URL). Must match the domain you verified in Merchant Center. Google rejects placeholder URLs at the validation layer.
  • Price + currency (defaults USD).
  • At least one image — first line is the MAIN image (attributes.imageLink); subsequent lines populate additionalImageLinks.

Optional inputs: GTIN (8/12/13/14 digits) and/or MPN. If both are blank, the publisher sets identifierExists=false so the listing isn't rejected — but products without identifiers are less discoverable in Shopping search. Availability + condition default to in_stock + new. Google product category can be overridden with either a numeric category ID or the full text path; otherwise falls back to the Brand row's category.

Configuration required to flip live: GOOGLE_MERCHANT_ACCOUNT_ID, GOOGLE_DATA_SOURCE_ID, GOOGLE_SERVICE_ACCOUNT_JSON (path to the GCP service-account key file on disk). Without them, action='insert' records a clean failed row with the missing-config error message; action='dryrun' works end-to-end without any GCP setup.

Audit + history

Every publish writes to external_publishes — channel, surface, action, target store, operator-shaped payload, Shopify/Google response, error message, idempotency key. The history panel on each publish page lists the most recent 25 rows for the selected brand and channel, with expandable JSON view and a deep-link to the listing in the channel admin (Shopify Admin product page; Merchant Center item view). Failed rows are flagged red and inline the error string.

Restricted-products review (Google)

Supplements + health products go through Google's automated "Restricted products" review when first published. Most pass automatically; ingredient compliance (FDA disclaimer text, no disease-claim language) matters. The Shopify-side description already injects the FDA disclaimer; the Google-side description is the same DNA prose stripped to plaintext, so the compliance signal carries across. Expect new products to sit in "Pending review" for 24–72 hours before going live.