Computaco

Overview & Quickstart

Persona#

Persona is Computaco's user-simulation, cognitive mindstream, perception, and UX optimization system. Rather than splitting into a separate engine, Persona builds directly on the same Computers + Harnesses + Multi-Agent World substrate: simulated users are simply agents running psychometric and energy-based Harnesses.

What Persona models#

  1. Cognitive Mindstream & Top-of-Mind Objective: Models the active question in a user's head as they land, scroll, saccade, and click (e.g., "What is this all about?", "Can I trust the proof?", "What's the catch?"), tracking six core expectations (what_is_this, fit_for_me, proof_trust, cost_catch, time_to_value, agency_safety) and surfacing the single highest-leverage objective to optimize for.
  2. Red Spots & Green Spots Traction Map: Classifies every scroll stop and click beat into conversion-driving Green Spots (+Δ%), hesitation Amber Spots, or drop-off Red Spots (-Δ%), paired with concrete UI and copy fixes.
  3. Eyeball & Gaze Prediction: Predicts fixation counts, scanpath dispersion, visual clutter, and undersized hit targets (< 44 px) via SeekUI and pixel salience maps.
  4. Psychometric Cohorts (P · A · C · S · E): Evaluates every step across five continuous affective dimensions — Pleasure, Arousal, Control, Stress, Effort — modulated by parameterized user profiles (Impatient Buyer, First-Time Novice, Power Operator, Stressed On-Call, Accessibility & Low-Vision).
  5. Speculative Affect Geometry & Differentiable UX Optimization: Pairs empirically validated HCI laws (Fitts's Law, Hick-Hyman) with information-theoretic affect proxies (Val, Ar, Φ, r_eff, CF, SM, dark-pattern contamination Contam, and Option Space Ratio OSR = T/V), enabling gradient-based UI parameter optimization (scripts/persona/differentiable_opt.py). These geometric coordinates are explicitly labeled as speculative proxies to be calibrated alongside empirical telemetry.
  6. Cortical / Brain Activity Prediction (Non-Commercial Only): Projects predicted visual-cortex and prefrontal load onto the fsaverage5 cortical surface using Meta TRIBE v2. Strictly gated under CC BY-NC 4.0 to approved non-commercial research organizations.

Autonomous coding-agent CI gates#

Coding agents and CI pipelines can run Persona headlessly to prevent conversion regressions, unclear first-fold copy, accessibility regressions, or dark patterns.

Practical CI objectives (DEFAULT_PERSONA_GATES)#

FlagDefaultProtects against
--min-conversion>= 40%Cohort conversion dropping below your target floor.
--max-bounce<= 35%Unclear first-fold copy causing visitors to abandon immediately.
--max-clarity-ms<= 5000 msFailing the "5-second test" ("What is this all about?").
--max-red-spots<= 1High-dropoff traps on the critical scroll/click path.
--max-frustration<= 0.60Sharp mid-journey frustration cliffs (p90).
--max-contam<= 0.20Anti-dark-pattern gate: blocks gains achieved via hidden pricing, buried cancel links, or manipulative opacity.
--min-osr>= 0.45User agency floor: preserves transparent, reversible exits.
--max-unresolved<= 1Leaving critical user questions unanswered at exit.
--min-cohort-floor>= 20%Equity floor: prevents optimizing for power users by breaking novices or low-vision users.
--max-regression<= 2.0 ppRegressing conversion relative to a --baseline journey.

CLI & SDK usage#

# Inspect mindstream, expectation spectrum, and red/green scroll spots
node scripts/persona/cli.mjs simulate --journey landing-scroll

# Enforce CI gates (exits 0 on PASS, 2 on GATE FAIL)
node scripts/persona/cli.mjs gate --journey landing-scroll \
  --min-conversion 50 --max-contam 0.20 --json

# Run closed-loop optimization until every gate passes
node scripts/persona/cli.mjs optimize --journey landing-scroll --min-conversion 50
import { createPersonaClient, journeyFromTrace } from './scripts/persona/sdk.mjs';

const persona = createPersonaClient({ gates: { minConversionPct: 50, maxContam: 0.20 } });
const journey = journeyFromTrace(playwrightEvents);
const { cohort, verdict } = persona.gate(journey);
if (!verdict.pass) {
  console.error(cohort.topOfMind.optimizeFor, verdict.failures);
  process.exit(verdict.exitCode); // 2 = gate fail
}

Explore interactively in the Persona Console Workspace or read the Persona Product Overview.