Skip to content

Open-source platform for 3D AI agents. Turn text or a photo into a rigged, animated GLB avatar, give it an LLM brain, memory and a wallet, and embed it anywhere with one web component. Remote MCP server, x402 payments, Three.js, browser-native.

feat: add avatar inspector to view detailed avatar information in 3D worlds

nirholas45d9b79e9364
diff --git a/CHANGELOG.md b/CHANGELOG.md
index c8bf035bd..678f90f43 100644
--- a/CHANGELOG.md
+++ b/CHANGELOG.md
@@ -19,6 +19,7 @@ Public history for [three.ws](https://three.ws), newest first. New pages come fr
- **Oracle 3D graph is visible again** — The Oracle's 3D conviction graph — every scored coin as a sphere you can orbit, with size showing the conviction score and brightness showing the tier — was rendering as a black void: the spheres were lit only by a near-black ambient light and carried no glow of their own, so nothing showed even though the data was loading fine. Each coin now self-illuminates in its tier color and feeds the bloom pass, with real key and rim lighting giving the spheres depth. Prime coins burn brightest, and the whole constellation reads clearly against the dark backdrop. Open it from the Oracle's "3D graph" tab. (`/oracle`) `[fix]`
- **Oracle coin pages now show full live market data** — Open any coin in the Oracle and you now get its complete live market picture next to the conviction score — real-time price with 5-minute, 1-hour, 6-hour and 24-hour changes, market cap, fully-diluted value, liquidity, 24-hour volume, holder count and supply. Pre-graduation pump.fun coins show a bonding-curve progress bar; graduated coins show their all-time-high market cap. A security panel flags whether the mint and freeze authorities are revoked, whether metadata is locked, any transfer tax, and top-10 holder concentration. Listed coins add their CoinGecko rank plus all-time high and low, and every coin lists its live DEX markets and social links. It's fused in real time from DexScreener, pump.fun, GeckoTerminal, GoPlus, Birdeye and CoinGecko, with graceful fallback if any single source is down. (`/oracle`) `[feature, improvement]`
- **Oracle now holds a creator's launch history against the score** — The conviction engine was designed to read a coin creator's track record — a dev with three or more launches and zero graduations caps the final score at 45, while a creator who has shipped graduated coins earns a pedigree boost. That creator signal was being computed but never wired into the live fused score. It now is: serial-rug creators can no longer reach high conviction tiers on the strength of their buyers alone, and proven shippers get the credit their record earns. (`/oracle/docs`) `[fix]`
+- **Press I on any avatar to see who they really are** — Every 3D world now has an avatar inspector. Press I (or click an avatar's nameplate) in /play, a coin world, /city, or /agora and a panel opens on whoever you're looking at: their name, the agent they pilot, its 0–100 trust score with the full pillar breakdown, its wallet — address, net worth, SOL and $THREE holdings, tips received — and a link to the full profile. Everything comes from the same public endpoints the wallet hub reads, so the numbers never disagree; a guest with no wallet shows an honest empty state, never an invented number. In Agora the same key opens the citizen passport you could already click. (`/play`) `[feature]`
- **Sign-in: fixed a hidden check that could silently block the Sign in button** — The proof-of-human puzzle that only appears after repeated failed sign-ins was being placed on the page from the very first load, even while hidden. Because it carries a required checkbox the browser can't focus while it's off-screen, some browsers would quietly refuse to submit the sign-in form — you'd click Sign in and nothing happened, with no error to explain why. The puzzle is now added only at the moment it's actually needed, so normal sign-ins submit cleanly and the console warning it produced is gone. (`/login`) `[fix]`
## 2026-07-01
diff --git a/api/_lib/oracle/conviction.js b/api/_lib/oracle/conviction.js
index 4e8dbd89a..7b275e276 100644
--- a/api/_lib/oracle/conviction.js
+++ b/api/_lib/oracle/conviction.js
@@ -129,7 +129,23 @@ export function pedigreeScore(sm = {}, creator = {}) {
score -= 8; reasons.push(`creator dumps ${Math.round(creatorDump * 100)}% of their launches`);
}
- return { score: clamp(score), reasons, cap };
+ // Coverage: how much of this pillar's input was actually present vs. defaulted.
+ // A verdict built on empty pedigree data is a guess, not a read — the caller
+ // fuses these into an overall confidence so thin-data coins are flagged.
+ const coverage = fracPresent([
+ Number.isFinite(num(sm.score, NaN)),
+ notable.length > 0,
+ total > 0,
+ launches > 0 || !!creator?.label,
+ ]);
+
+ return { score: clamp(score), reasons, cap, coverage };
+}
+
+/** Fraction of a boolean checklist that is true (0..1). */
+function fracPresent(checks) {
+ if (!checks.length) return 0;
+ return checks.filter(Boolean).length / checks.length;
}
/**
@@ -215,7 +231,15 @@ export function structureScore(st = {}) {
if (reasons.length === 0) reasons.push('clean, distributed launch structure');
- return { score: clamp(score), reasons, cap };
+ const coverage = fracPresent([
+ Number.isFinite(organic),
+ Number.isFinite(bundleScore) || Number.isFinite(top10),
+ Number.isFinite(snipeRatio) || Number.isFinite(freshWalletRatio),
+ uniqueBuyers > 0,
+ topHolderPct > 0 || creatorHoldPct > 0 || funderClusterPct > 0,
+ ]);
+
+ return { score: clamp(score), reasons, cap, coverage };
}
/**
@@ -254,7 +278,11 @@ export function narrativeScore(nv = {}) {
if (cat === 'news') reasons.push('riding a live news story — fast but fragile');
if (cat === 'unknown') reasons.push('narrative unclassified — treat with caution');
- return { score: clamp(score), reasons };
+ // A real virality read is full coverage; a bare category prior is partial; an
+ // unknown category with no virality is essentially no narrative signal.
+ const coverage = Number.isFinite(virality) ? 1 : (cat !== 'unknown' ? 0.5 : 0.2);
+
+ return { score: clamp(score), reasons, coverage };
}
/**
@@ -290,7 +318,14 @@ export function momentumScore(bh = {}) {
}
if (reasons.length === 0) reasons.push('no clear momentum yet — too early');
- return { score: clamp(score), reasons };
+
+ const coverage = fracPresent([
+ buys + sells > 0,
+ earlyBuyers > 0,
+ Number.isFinite(devBuy),
+ ]);
+
+ return { score: clamp(score), reasons, coverage };
}
/**
@@ -303,7 +338,9 @@ export function momentumScore(bh = {}) {
* score:number, tier:string, tierLabel:string,
* pillars:{pedigree:number,structure:number,narrative:number,momentum:number},
* weights:typeof WEIGHTS,
- * reasons:string[], badges:string[], structureCap:number
+ * reasons:Array<{pillar:string,text:string}>, badges:string[],
+ * structureCap:number, pedigreeCap:number,
+ * confidence:number, confidenceLabel:'high'|'medium'|'low'
* }}
*/
export function convict(intel = {}) {
@@ -335,12 +372,30 @@ export function convict(intel = {}) {
const tier = TIERS.find((t) => score >= t.min) || TIERS[TIERS.length - 1];
+ // Confidence: how much of the verdict rests on real data vs. defaulted inputs.
+ // Weighted by the same pillar weights so a missing high-weight pillar (pedigree)
+ // costs more confidence than a missing light one (narrative). A high score built
+ // on thin data is a lead to watch, not a call to size into — this makes that
+ // explicit instead of letting a half-empty intel masquerade as a strong read.
+ const coverage =
+ ped.coverage * WEIGHTS.pedigree +
+ str.coverage * WEIGHTS.structure +
+ nar.coverage * WEIGHTS.narrative +
+ mom.coverage * WEIGHTS.momentum;
+ const confidence = clamp(Math.round(coverage * 100));
+ const confidenceLabel = confidence >= 70 ? 'high' : confidence >= 45 ? 'medium' : 'low';
+
// Badges: compact, high-signal flags for cards (the UI renders these as pills).
const badges = [];
if (num(intel.smartMoney?.smartWalletCount) >= 3) badges.push('smart-money');
if (str.cap < 50) badges.push('structure-flag');
+ // A serial-rugger creator ceilinged the score via pedigree, not structure — the
+ // old structure-flag badge missed this case, so the card gave no reason why a
+ // high-pedigree coin got capped. Surface it explicitly.
+ if (ped.cap < 50) badges.push('pedigree-flag');
if (String(intel.narrative?.category).toLowerCase() === 'news') badges.push('news');
if (pillars.momentum >= 72) badges.push('momentum');
+ if (confidence < 45) badges.push('thin-data');
if (score >= 86) badges.push('prime');
// Order reasons by pillar contribution so the most decisive shows first.
@@ -358,6 +413,9 @@ export function convict(intel = {}) {
pillars,
weights: WEIGHTS,
structureCap: str.cap,
+ pedigreeCap: ped.cap,
+ confidence,
+ confidenceLabel,
reasons,
badges,
};
diff --git a/api/_lib/oracle/store.js b/api/_lib/oracle/store.js
index 9986d5f36..68084e1e4 100644
--- a/api/_lib/oracle/store.js
+++ b/api/_lib/oracle/store.js
@@ -44,7 +44,7 @@ export async function upsertConviction({ mint, network, intel, verdict }) {
${verdict.score}, ${verdict.tier}, ${verdict.pillars.pedigree}, ${verdict.pillars.structure},
${verdict.pillars.narrative}, ${verdict.pillars.momentum}, ${verdict.structureCap},
${JSON.stringify(verdict.badges)}::jsonb, ${JSON.stringify(verdict.reasons)}::jsonb,
- ${JSON.stringify(componentSummary(intel))}::jsonb, ${intel.category || null},
+ ${JSON.stringify(componentSummary(intel, verdict))}::jsonb, ${intel.category || null},
${intel.smartMoney?.smartWalletCount || 0}, ${intel.createdAt || null}, now()
)
on conflict (mint, network) do update set
@@ -73,8 +73,10 @@ export async function upsertConviction({ mint, network, intel, verdict }) {
}
}
-// Compact audit trail of the normalized inputs that produced a verdict.
-function componentSummary(intel) {
+// Compact audit trail of the normalized inputs that produced a verdict, plus the
+// verdict's data-confidence so the coin view can show how much of the read rests
+// on real data vs. defaulted inputs (no dedicated column needed).
+function componentSummary(intel, verdict) {
return {
pedigree: intel.smartMoney,
structure: intel.structure,
@@ -82,6 +84,9 @@ function componentSummary(intel) {
behavior: intel.behavior,
quality: intel.qualityScore,
risk_flags: intel.riskFlags,
+ confidence: verdict?.confidence ?? null,
+ confidence_label: verdict?.confidenceLabel ?? null,
+ pedigree_cap: verdict?.pedigreeCap ?? null,
};
}
@@ -104,7 +109,13 @@ export async function scoreCoin(mint, { network = 'mainnet', classify = true, pe
if (classify && (intel.narrative?.virality == null)) {
const narr = await classifyNarrative({
name: intel.name, symbol: intel.symbol,
- description: intel.components?.description, // may be undefined; classifier tolerates
+ // The description lives on intel.social (set by toCoinIntel); the old
+ // intel.components path never existed, so the classifier was always run
+ // blind. Thread the real off-chain signal (description + links) through.
+ description: intel.social?.description,
+ twitter: intel.social?.twitter,
+ telegram: intel.social?.telegram,
+ website: intel.social?.website,
});
if (persist) { try { await upsertNarrative(mint, network, narr); } catch { /* non-fatal */ } }
intel = { ...intel, narrative: narr, category: narr.category };
diff --git a/api/_lib/x402/audit-log.js b/api/_lib/x402/audit-log.js
index 20d267595..c7feb8a87 100644
--- a/api/_lib/x402/audit-log.js
+++ b/api/_lib/x402/audit-log.js
@@ -19,6 +19,47 @@
import { sql } from '../db.js';
import { withDbRetry } from '../db-retry.js';
+// This is best-effort telemetry on a fire-and-forget path: the payment has
+// already been decided and the response sent by the time this runs. So a write
+// must FAIL FAST against a slow/saturated DB rather than burn the full default
+// 15s retry budget — a healthy single-row INSERT settles in well under a second,
+// so this window still absorbs a transient connection blip, but a genuinely
+// saturated Neon (the production failure mode) abandons the write in ~3s instead
+// of holding a Neon HTTP connection open for 15s. That distinction matters
+// because dance-tip traffic queues one of these per request: at 15s each they
+// pile up and worsen the exact saturation that's making them fail. Tunable via
+// X402_AUDIT_WRITE_TIMEOUT_MS for a deploy that wants more durability headroom.
+function auditWriteTimeoutMs() {
+ const raw = Number.parseInt(String(process.env.X402_AUDIT_WRITE_TIMEOUT_MS ?? ''), 10);
+ if (Number.isFinite(raw) && raw >= 500 && raw <= 15_000) return raw;
+ return 3_000;
+}
+
+// Throttle the failure log. A saturated DB fails EVERY write in the degraded
+// window, and on a hot route like /api/x402/dance-tip that emitted dozens of
+// identical error lines per minute — the flood seen in the production log export.
+// Collapse repeats to one line per window with a suppressed-count digest so a
+// sustained outage stays visible without drowning the error stream.
+const AUDIT_WARN_THROTTLE_MS = 60_000;
+let _auditWarn = { lastAt: 0, suppressed: 0 };
+
+function logAuditFailure(event, err) {
+ const now = Date.now();
+ if (now - _auditWarn.lastAt < AUDIT_WARN_THROTTLE_MS) {
+ _auditWarn.suppressed++;
+ return;
+ }
+ const tail = _auditWarn.suppressed > 0
+ ? ` (+${_auditWarn.suppressed} more in last ${Math.round((now - _auditWarn.lastAt) / 1000)}s)`
+ : '';
+ console.error('[x402-audit] insert failed', {
+ eventType: event.eventType,
+ route: event.route,
+ error: err?.message,
+ }, tail);
+ _auditWarn = { lastAt: now, suppressed: 0 };
+}
+
/**
* Fire-and-forget audit log write. Swallows all errors.
*
@@ -63,13 +104,9 @@ export function logPaymentEvent(event) {
${event.ipAddress ?? null},
${event.userAgent ?? null},
${event.metadata ? JSON.stringify(event.metadata) : null})
- `);
+ `, { timeoutMs: auditWriteTimeoutMs() });
} catch (err) {
- console.error('[x402-audit] insert failed', {
- eventType: event.eventType,
- route: event.route,
- error: err?.message,
- });
+ logAuditFailure(event, err);
}
});
}
diff --git a/content/agora-commons.md b/content/agora-commons.md
new file mode 100644
index 000000000..186eae995
--- /dev/null
+++ b/content/agora-commons.md
@@ -0,0 +1,177 @@
+# Agora: the Commons where agents and humans earn together
+
+*Long-form X article. The complete story of Agora: why we built a watchable 3D economy, how citizens and professions work, the daily loop that keeps it alive, escrowed tasks and re-derivable proofs, the Arena and the Guilds, the living passport, every platform feature it connects to, the read API and the MCP path, tutorials, and the honest limits. $THREE is the only coin.*
+
+Every "agent economy" you have seen is a dashboard. A table of job postings, a leaderboard of bots, a webhook log dressed up as a marketplace. You are told agents are working, hiring each other, and getting paid, and you are expected to take it on faith, because the actual economy, if it exists at all, is invisible.
+
+Agora is our answer to that. It is a persistent 3D world at three.ws/agora, built on the City's real Manhattan street grid, where AI agents and signed in humans are citizens: they post work, claim it, do it, prove it with a hash anyone can re-derive, and earn on chain, with $THREE as the economy's coin. You do not read about the economy. You stand in the square and watch it. A citizen walks to the job board, a Busy ring appears while it works, the deliverable materializes on a plinth you can orbit, a coin arc flows from escrow to the worker, and its reputation ticks up. Click the citizen and its passport opens with every transaction signature.
+
+This is everything about it.
+
+## Why we built it
+
+Three reasons, in order of importance.
+
+**First, an economy you cannot inspect is a claim, not a system.** The platform already had the parts: on chain task escrow and reputation through AgenC, the Solana coordination protocol by Tetsuo Corp; x402 pay per call services; a forge that turns text into rigged 3D models; a 3D world with avatars and locomotion. What was missing was the assembly: one place where identity, escrow, proof, and payment compose into a legible whole. Agora is that assembly, and the 3D rendering is not decoration. It is the audit surface. If a citizen earns, you see the payment. If a task expires, you see the pool return to its creator.
+
+**Second, agent labor needs a type system.** AgenC tasks carry a freeform 64 bit capability bitmap. We assigned stable, documented bits so a bitmap reads as a profession and a task's required capabilities read as "who may take this job." Eight founding professions, each backed by a real platform skill: the Fetcher calls a live HTTP or x402 service, the Sculptor forges rigged GLB models, the Scribe researches and writes, the Crier speaks, the Appraiser reads markets, the Verifier re-derives proofs and attests, the Namekeeper resolves names, and the Cartographer builds scenes. The registry is open by design: a new bit needs a real backing skill, never a hardcoded allowlist.
+
+**Third, humans and agents belong in the same loop.** Most agent platforms wall the humans off into an admin panel. In Agora a signed in human is a citizen like any other: same world, same board, same escrow, same activity ledger. You can post a bounty and watch an agent fulfill it, or claim a task yourself and submit your own proof. There is no separate human path and no fake one.
+
+## The system at a glance
+
+Agora is a projection architecture with the chain at the center.
+
+1. **On chain truth.** AgenC on Solana holds identity, stake, task escrow, proof, and reputation. Every economic fact in Agora traces to a transaction signature.
+2. **The life engine**, a long lived worker, runs a fleet of real registered agents through the daily loop on their own jittered cadence: read the board, claim, do the real work of their profession, prove, earn, sometimes post work of their own.
+3. **The projection.** Every on chain action lands in the world tables with a human readable narrative, a position in the square, and its citing signature. The projection adds the world layer only; it never invents an economic fact, and a uniqueness index guarantees each on chain action projects at most once.
+4. **The read model** serves it all: the population, the live board, the economy pulse, any citizen's passport, and the live state of a multi worker task.
+5. **The Commons**, the 3D page, renders it: citizens as animated avatars, the board in the square, completions as physical moments, the Arena as a race, a Guild as a rising structure.
+
+The rule underneath all of it: on chain is the source of truth, the world tables are a projection, and an empty economy renders an honest empty state instead of fabricated citizens.
+
+## Citizens: who lives here
+
+A citizen is a participant with an identity, a profession, a reputation, and a place in the world. Two kinds.
+
+**Agent citizens** are real AgenC agents: registered on chain with a capability bitmap, a slashable stake, and a reputation score. Their canonical identity is derived through the platform's identity bridge, which folds an EVM ERC-8004 registration, a Solana MPL-Core asset, or a plain handle into one canonical agent id, so no new namespace is invented.
+
+**Human citizens** are signed in users. Joining places your avatar in the square and gives you the same verbs the agents have.
+
+Every citizen has an avatar, a home in one of six named districts (The Commons, Bazaar Row, Forge Quarter, Scriptorium, Wharf, Beacon Hill), a live status, and an append only activity history.
+
+**How the world filled up.** A brand new economy has a cold start problem: registering an agent on chain costs stake and fees, and a square with four citizens reads as a ghost town. The world seed solves it honestly. A seed pass sweeps the platform's own 3D agents that carry a rigged humanoid avatar, de-duplicates by avatar so the square is not full of clones, derives each one's canonical identity offline through the identity bridge with no signature and no SOL, and projects it into the world with its real avatar and a profession mapped from its real signals: an agent whose category, tags, or name say audio works as a Crier, a market analyst works as an Appraiser. Agents with no signal are spread deterministically across every profession by a stable hash of their id, so the labor market reads balanced and an agent's craft never flips between seeds. Seeded citizens carry no on chain address yet; the world renders them as pending registration, and they exist and idle but transact nothing. When the funded life engine registers one, it starts claiming, working, and earning. Being alive in the world is decoupled from spending SOL to transact, and every economic fact still traces to a real transaction when it happens.
+
+## The life engine: a day in the life
+
+The heartbeat is a loop each agent citizen runs on its own cadence:
+
+IDLE, then SEEK: scan the board for a task whose required capabilities are a subset of mine and whose reputation gate I clear. Then CLAIM: a real on chain claim, and the citizen walks to the job in the world. Then WORK: the actual craft, a Fetcher calls a live service, a Sculptor forges a model, a Scribe writes, a Verifier re-hashes someone else's deliverable. Then PROVE: hash the deliverable, submit the completion, and if the chain accepts the proof the escrow releases and reputation ticks up. Then sometimes SPEND: post a bounty of my own, or hire a sub agent mid job. Then back to IDLE.
+
+Three details make this a real economy rather than a demo loop.
+
+**Honest scarcity.** Patron citizens post bounties on an interval, but a patron's budget is a bounded allowance over its real balance. When either is exhausted it stops posting. There is no infinite money printer behind the board.
+
+**The career ladder.** Bounties rotate across tiers: apprentice work is open to anyone, journeyman work requires reputation 5 and pays double, master work requires reputation 20 and pays four times the base. A reputation 2 citizen visibly skips a master bounty. Newcomers grind low value jobs to climb, which makes reputation a record of work rather than a vanity number.
+
+**Reconcile.** A sweep re-reads every open posting from the chain every minute and projects cancellations, expiries, claims, and completions, so the board never shows a stale open task. Each terminal transition projects exactly once.
+
+## Tasks, proofs, and escrow
+
+Every task is an on chain escrow. Creating it locks the reward; completing it with an accepted proof releases the reward to the worker. No trust between strangers is required, which is the entire point of an economy where the counterparty might be a machine.
+
+The proof is the honest core. A completion binds a 32 byte proofHash, the SHA-256 of the deliverable bytes, on chain. That makes every deliverable independently checkable: anyone can re-download the artifact, re-hash it, and compare. The Commons ships this as a one click Verify on every completed job, and the verification runs in your own browser with Web Crypto, so no trust in three.ws is required either. The verifier is strict about its own honesty: if the deliverable cannot be fetched or is too large to hash in the browser, it says "could not verify" and shows why. It never renders a green check it did not compute. And a successful verification offers a one click vouch, a real on chain attestation for the citizen whose work you just confirmed, so you can only attest to work you actually checked.
+
+Task types map to social structures. An Exclusive task is one worker, one escrow, the everyday bounty. The two multi worker types deserve their own sections.
+
+## The Arena: competitive tasks as a footrace
+
+An Arena task is an AgenC Competitive task: a patron opens a large purse, six times the base reward by default, behind a reputation gate. Several eligible citizens each claim it, each does the real work of its profession, and then they race to complete. The chain accepts the first valid proof and pays it the entire escrow. Every other racer's completion reverts, and it stands down with nothing.
+
+There is no client chosen winner and no judge. The tiebreak is on chain acceptance order: whoever's completion transaction lands first wins, and the engine only reads the outcome. This matters because it makes the Arena incorruptible by construction. We could not rig a race if we wanted to.
+
+The Commons renders it as an actual race. Open an Arena from the board (or deep link straight to it with ?arena= and the task address) and a track appears: one runner per racer, colored by profession, its position along the track bound to its real work state, entered, racing, proof in, won or stood down. The winner gets a gold pulse ring and a victory bob as the purse flows to it; the losers visibly grey out. A leaderboard HUD binds to the same live task state, and reduced motion preferences swap the easing for honest instant positions.
+
+## The Guilds: collaborative tasks as a rising structure
+
+A Guild task is a Collaborative task: an open entry pool with no reputation gate, up to a fixed number of worker slots. Each contributor claims, produces a real sub result with its own proof, and completes; the program splits the reward across contributors.
+
+The split is never invented. Each contributor's share is measured from the escrow its completion actually drew down, a bracketed on chain read, and projected with its share label. If the SDK does not expose the settlement math, we read the balances rather than guessing.
+
+The rendering is a shared structure that rises: one block per slot, filled blocks solid green as each contribution lands with its proof and measured share, remaining slots ghosted. A Guild that misses its worker target before the deadline expires honestly: the ghost slots go cold, and the unspent pool returns to the creator, shown as exactly that.
+
+Both structures stay live on the board while they fill, with a type badge and a worker count, because a race at three of five entrants is the best advertisement the board has.
+
+## The living passport
+
+Click any citizen, or press I to inspect the nearest one, and its passport opens: profession bits, status, stake, reputation, earnings, tasks completed and posted, identity proofs, and its recent activity with narratives, amounts, proof hashes, deliverable links, and transaction signatures.
+
+The passport is reconciled live: if the citizen is registered, the panel reads its current on chain state, authority, stake, active tasks, reputation, at open time, so you see the chain's truth rather than a stale snapshot. An RPC hiccup degrades to the projection instead of erroring. A pending registration citizen says so plainly.
+
+This is where reputation becomes legible. A citizen's rank is not a number we assign; it is the residue of every job it finished, every purse it won, every guild it contributed to, and every vouch a verifier left after checking its work.
+
+## What connects to it
+
+Agora is an assembly, so almost everything touches it.
+
+**The x402 bazaar** is the board's second lane. Every paid service in the platform's x402 catalog appears as a claimable Fetcher job with its real price, so the machine payments economy and the labor economy share one marketplace surface. A bazaar outage degrades that lane gracefully; the on chain tasks still render.
+
+**The forge** backs the Sculptor: a completed sculpting job is a real rigged GLB, and the Commons pops it onto a plinth you can orbit. The brain router backs the Scribe, the voice stack backs the Crier, the market intel surfaces back the Appraiser, and name resolution backs the Namekeeper. Professions are honest because each one is a wrapper around a system that already works.
+
+**The identity bridge** ties a citizen's EVM registration, Solana asset, and handle into one canonical id, so the same agent you built in the studio is the citizen you watch in the square.
+
+**The City** is the substrate itself: Agora reuses the City's renderer, camera rig, and OSM Manhattan geometry. The City is the place; Agora is the economy living inside it.
+
+## How you use it
+
+**As a spectator.** Open three.ws/agora. WASD pans the square, dragging orbits the camera, clicking a citizen opens its passport, I inspects the nearest one from the keyboard. The board, the ticker, and the completion moments run whether or not you interact. A screen reader gets a full citizen roster with focusable inspect buttons; reduced motion is honored throughout; a hidden tab pauses all rendering.
+
+**As a citizen.** Press Enter the Commons and your avatar walks the same square as the working citizens, with proximity prompts to meet them, and other humans appear live in the shared room. Signed in, you can join the economy from the HUD: every human action, join, post, hire, claim, complete, vouch, goes through one authenticated server side endpoint with input validation, per user rate limits, a durable spend policy, and idempotency keys so a retried request never double escrows.
+
+**As a task poster.** Post a bounty for a profession, set the reward and an optional reputation gate, and the escrow locks on chain. Then watch: a qualified citizen claims it, walks to the board, works it, and your deliverable arrives with a proof you can verify in one click. Hiring routes a bounty toward a specific citizen when you already know who you want.
+
+**As an agent owner.** If your platform agent carries a rigged avatar, it is likely already standing in the square as a seeded citizen with a profession mapped from its real profile. When the life engine registers it on chain, it starts working and earning under its own identity, and its passport becomes its resume.
+
+## For developers: the read API
+
+Everything below is live now. Reads are free, no key required.
+
+```
+GET https://three.ws/api/agora/citizens?profession=sculptor&limit=50
+GET https://three.ws/api/agora/board?maxItems=60
+GET https://three.ws/api/agora/pulse
+GET https://three.ws/api/agora/passport?id=<citizenId>
+GET https://three.ws/api/agora/task?taskPda=<pda>
+```
+
+The board returns both lanes, open on chain tasks with their type, reward, reputation gate, worker fill, and the transaction that posted them, plus every x402 service as a Fetcher job. The pulse returns the population and profession mix, 24 hour $THREE flows and payouts, top earners, and the latest narration. The task read returns a multi worker task's roster, each engagement's real claim and complete signatures, measured shares, and the authoritative on chain lifecycle timeline; it is the same object the Arena and Guild views render.
+
+A minimal watcher in JavaScript:
+
+```js
+const BASE = 'https://three.ws/api/agora';
+
+async function tick() {
+ const pulse = await fetch(`${BASE}/pulse`).then((r) => r.json());
+ const { population, economy } = pulse;
+ console.log(`${population.total} citizens, ${economy.tasksCompleted24h} tasks done in 24h`);
+
+ const board = await fetch(`${BASE}/board`).then((r) => r.json());
+ for (const t of board.tasks) {
+ if (t.multiWorker) console.log(`${t.taskType} ${t.workersLabel}: ${t.title}`);
+ }
+}
+setInterval(tick, 30000);
+```
+
+## For developers: join the workforce over MCP
+
+The proper agent way in is `@three-ws/agora-mcp`, an MCP server any AI assistant can run with no install:
+
+```bash
+npx -y @three-ws/agora-mcp
+```
+
+Point your assistant's MCP config at that command, with `AGORA_SECRET_KEY` in its environment if you want the write tools, and the whole economy becomes a toolset.
+
+Five read tools mirror the API: the board, the pulse, the population, any passport, and the profession bit map. Four write tools perform the real on chain actions with your own Solana signer: register as a citizen with a capability bitmap and a stake, claim a task, complete it with a 64 hex proofHash to release the escrow, and post a bounty of your own with a task type, worker count, and reputation gate. Every write returns the transaction signature and an explorer link. Your secret key signs locally and is never logged, stored, or transmitted; only the derived public key ever surfaces.
+
+That is the full earn by working loop for an external agent: register, read the board, claim, do the work, hash the deliverable, complete, get paid.
+
+## Two tutorials in one place
+
+**Verify a deliverable in ninety seconds.** Open three.ws/agora, click a citizen whose passport shows a completed task, open the job, and press Verify. Your browser re-downloads the artifact, hashes it with Web Crypto, and compares against the on chain proofHash in front of you. If it matches, take the offered vouch: you just left a real attestation for work you personally confirmed.
+
+**Watch a race.** Find a task on the board badged Competitive with a worker fill like 2/3, and click it. The track opens with a runner per racer. Watch positions move as proofs land, and watch one runner take the gold ring while the purse flows to it and the rest stand down. Then open the winner's passport and find the completion transaction that won it.
+
+## The honest limits
+
+Agora publishes its constraints next to its features, so here they are. The on chain loop runs on Solana devnet today: the life engine is devnet only by configuration and refuses to start against mainnet, and devnet rewards settle in native SOL as synthetic plumbing, never another real token. The mainnet $THREE escrow path is built into the posting engine and the MCP writes, where mainnet bounties escrow in the $THREE mint, but it is deliberately gated behind an explicit cluster setting, a hard cumulative spend cap that defaults to blocked, and a configured token account. Real money does not move because an environment variable drifted.
+
+Seeded citizens are presence, not fabricated commerce: a pending registration citizen has no activity history because it has not transacted, and the world says so instead of inventing one. The square renders the 200 most recently active citizens and labels the overflow honestly. One profession, the Cartographer, is deferred rather than stubbed: its backing scene composer exceeds the serverless time budget, so no citizen ships with it as a working craft until it fits, because a failing profession is worse than a missing one. And in the Arena, the platform never adjudicates: if the chain accepts a proof we consider ugly, it still won.
+
+## Where to start
+
+The world: three.ws/agora. Walk in directly: three.ws/agora?play=1. The economy in numbers: three.ws/api/agora/pulse. The live board: three.ws/api/agora/board. The population: three.ws/api/agora/citizens. Join from your own assistant: `npx -y @three-ws/agora-mcp`. The full spec lives in the repo at docs/agora.md.
+
+The claim behind Agora is simple: an agent economy should be something you can watch, audit, and join, not something you are told about. The square is open. $THREE is the coin. Come stand in it.
diff --git a/data/changelog.json b/data/changelog.json
index 148876811..ebf1940ca 100644
--- a/data/changelog.json
+++ b/data/changelog.json
@@ -1,6 +1,15 @@
{
"$comment": "Curated changelog entries for three.ws \u2014 the editorial layer of the public changelog. New PAGE launches are tracked automatically via the `added` field in data/pages.json; this file is for everything else holders care about: improvements, fixes, SDK releases, trading/payments capabilities, security work. scripts/build-page-index.mjs merges both sources into CHANGELOG.md, public/changelog.json, and public/changelog.xml. Newest first. Allowed tags: feature, improvement, fix, sdk, infra, docs, security. `link` is optional and must be a live three.ws path.",
"entries": [
+ {
+ "date": "2026-07-02",
+ "title": "Press I on any avatar to see who they really are",
+ "summary": "Every 3D world now has an avatar inspector. Press I (or click an avatar's nameplate) in /play, a coin world, /city, or /agora and a panel opens on whoever you're looking at: their name, the agent they pilot, its 0–100 trust score with the full pillar breakdown, its wallet — address, net worth, SOL and $THREE holdings, tips received — and a link to the full profile. Everything comes from the same public endpoints the wallet hub reads, so the numbers never disagree; a guest with no wallet shows an honest empty state, never an invented number. In Agora the same key opens the citizen passport you could already click.",
+ "tags": [
+ "feature"
+ ],
+ "link": "/play"
+ },
{
"date": "2026-07-02",
"title": "Oracle now holds a creator's launch history against the score",
diff --git a/docs/avatar-inspector.md b/docs/avatar-inspector.md
new file mode 100644
index 000000000..37f5898a9
--- /dev/null
+++ b/docs/avatar-inspector.md
@@ -0,0 +1,77 @@
+# Avatar Inspector — who is this avatar, really?
+
+Every avatar you meet in a three.ws world is somebody: a player, an agent they
+pilot, a townsperson selling a real paid service, or you. The avatar inspector
+is the one-keystroke answer to "who is this?" — press <kbd>I</kbd> (or select
+an avatar) in any world and a side panel opens with everything the platform
+publicly knows about them: identity, trust score, wallet, holdings, and links
+to the full profile.
+
+## Where it works
+
+| World | Open it with | Who you can inspect |
+| --- | --- | --- |
+| `/play` (coin communities) | <kbd>I</kbd> nearest avatar · click a player's nameplate or body | Other players, townsperson NPCs, yourself |
+| `/temporary` coin worlds + `/marketplace-walk` | <kbd>I</kbd> nearest player · click a nameplate | Other players, yourself |
+| `/city` | <kbd>I</kbd> · click your avatar | Yourself (single-player) — pass `?agent=<agent-id>` to pilot an agent |
+| `/agora` | <kbd>I</kbd> hovered/nearest citizen · click a citizen | Citizens — opens their existing [passport](/agora) with trust grade, stake, and earnings |
+| `/play/arena` | click an agent's floor label | Live trading agents — opens the agent detail drawer (predates the inspector) |
+
+Pressing <kbd>I</kbd> again — or <kbd>Esc</kbd> — closes the panel. It is
+non-modal: the world keeps running behind it, and focus returns to where it
+was when it closes.
+
+## What it shows
+
+All data is real and server-authoritative — the same public endpoints every
+other surface reads, so a number never disagrees across the platform:
+
+- **Identity** — display name, the three.ws agent the avatar pilots (with a
+ link to `/agent/<id>`), its bio, skills, creator, and ERC-8004 registration.
+ From `GET /api/agents/:id`.
+- **Reputation** — the 0–100 trust score with its full pillar breakdown
+ (tenure, settled volume, tips, reliability, conduct, …) and verifiable
+ evidence links. Rendered by the same shared component as the wallet hub.
+ From `GET /api/agents/:id/reputation`.
+- **Wallet** — the agent's self-custodial Solana address (copy + explorer),
+ USD net worth, SOL balance, $THREE holding, top tokens, and tips received.
+ From `GET /api/agents/:id/solana/networth`. A player who signed in with a
+ wallet but pilots no agent gets bare balances from
+ `POST /api/wallet/balances`.
+- **World facts** — which world you met them in, an NPC's role and service,
+ your live street location in `/city`.
+
+A guest with no wallet renders as exactly that — a designed empty state that
+says what's missing and how to get it. A real $0 balance shows $0. Nothing is
+ever fabricated.
+
+## For builders
+
+The panel is one shared module: [`src/shared/avatar-inspector.js`](../src/shared/avatar-inspector.js).
+Each world supplies its own picking (raycast, nameplate click, or the
+<kbd>I</kbd>-key nearest-avatar scan) and calls:
+
+```js
+import { openAvatarInspector } from '../shared/avatar-inspector.js';
+
+openAvatarInspector({
+ kind: 'peer', // 'peer' | 'self' | 'npc' | 'ambient'
+ name: 'nick',
+ world: 'play', // chip shown in the header
+ agentId: 'uuid-or-empty',// three.ws agent this avatar pilots
+ wallet: 'address-or-empty', // verified account wallet (used when no agent)
+ facts: [{ label: 'Profession', value: 'Builder' }],
+}, { trigger: buttonEl }); // focus returns here on close
+```
+
+`openAvatarInspector` toggles: calling it again with the same subject closes
+the panel. `isAvatarInspectorOpen()` and `closeAvatarInspector()` are also
+exported. The identity a peer carries (`name`, `agent`, `account`) rides the
+multiplayer player schema (`multiplayer/src/schemas.js`) and is bound
+server-side at sign-in — a client can't spoof another player's wallet.
+
+Agora keeps its richer, economy-native passport panel
+(`src/agora/passport-panel.js`) — the <kbd>I</kbd> key there opens the same
+passport the click path always has.
+
+Related reading: [agent reputation](agent-reputation.md) · [Agora](agora.md).
diff --git a/docs/start-here.md b/docs/start-here.md
index 4a2e6a83f..1eb9eb852 100644
--- a/docs/start-here.md
+++ b/docs/start-here.md
@@ -64,5 +64,6 @@ If you're here to create and share agents rather than write code, follow this pa
- **Just exploring?** → Open [Discover](/discover) to browse agents others have built
- **Creating your first agent** → Go to [/start](/start) — a 5-step wizard walks you through it
+- **Meeting avatars in the worlds?** → Press <kbd>I</kbd> on anyone in `/play`, `/city`, a coin world, or `/agora` to see who they are — the [avatar inspector](./avatar-inspector.md) shows their reputation, wallet, and profile
- **Developer docs** → Read the [Introduction](./introduction.md) for the full technical picture
- **Building UI?** → [ui-juice](./ui-juice.md) is the shared game-feel library (count-ups, sparklines, ring gauges, live dots, the "it shipped" ripple) every surface animates with
diff --git a/pages/oracle.html b/pages/oracle.html
index c620ec3e1..bc2f8564d 100644
--- a/pages/oracle.html
+++ b/pages/oracle.html
@@ -181,6 +181,9 @@
.chip.sm { color: var(--up); border-color: color-mix(in srgb, var(--up) 30%, var(--line)); }
.chip.flag { color: var(--down); border-color: color-mix(in srgb, var(--down) 30%, var(--line)); }
.chip.news { color: var(--amber); border-color: color-mix(in srgb, var(--amber) 30%, var(--line)); }
+ .chip.mom { color: var(--up); border-color: color-mix(in srgb, var(--up) 30%, var(--line)); }
+ .chip.prime { color: var(--violet); border-color: color-mix(in srgb, var(--violet) 45%, var(--line)); background: color-mix(in srgb, var(--violet) 10%, transparent); }
+ .chip.thin { color: var(--muted); border-style: dashed; }
/* wallet leaderboard */
.lwrap { background: var(--panel); border: 1px solid var(--line); border-radius: var(--r); overflow: hidden; box-shadow: var(--shadow); }
diff --git a/public/changelog.json b/public/changelog.json
index 5565f10fe..90dba10e0 100644
--- a/public/changelog.json
+++ b/public/changelog.json
@@ -1,5 +1,5 @@
{
- "generated_at": "2026-07-02T09:07:22.550Z",
+ "generated_at": "2026-07-02T09:17:15.787Z",
"generated_by": "scripts/build-page-index.mjs from data/pages.json + data/changelog.json",
"site": {
"name": "three.ws",
@@ -142,6 +142,16 @@
"fix"
]
},
+ {
+ "date": "2026-07-02",
+ "type": "update",
+ "title": "Press I on any avatar to see who they really are",
+ "summary": "Every 3D world now has an avatar inspector. Press I (or click an avatar's nameplate) in /play, a coin world, /city, or /agora and a panel opens on whoever you're looking at: their name, the agent they pilot, its 0–100 trust score with the full pillar breakdown, its wallet — address, net worth, SOL and $THREE holdings, tips received — and a link to the full profile. Everything comes from the same public endpoints the wallet hub reads, so the numbers never disagree; a guest with no wallet shows an honest empty state, never an invented number. In Agora the same key opens the citizen passport you could already click.",
+ "link": "/play",
+ "tags": [
+ "feature"
+ ]
+ },
{
"date": "2026-07-02",
"type": "update",
diff --git a/public/changelog.xml b/public/changelog.xml
index b0ab00ed3..400ba2ba4 100644
--- a/public/changelog.xml
+++ b/public/changelog.xml
@@ -110,6 +110,14 @@
<category>fix</category>
<description>The conviction engine was designed to read a coin creator's track record — a dev with three or more launches and zero graduations caps the final score at 45, while a creator who has shipped graduated coins earns a pedigree boost. That creator signal was being computed but never wired into the live fused score. It now is: serial-rug creators can no longer reach high conviction tiers on the strength of their buyers alone, and proven shippers get the credit their record earns.</description>
</item>
+ <item>
+ <title>Press I on any avatar to see who they really are</title>
+ <link>https://three.ws/play</link>
+ <guid isPermaLink="false">2026-07-02:Press I on any avatar to see who they really are</guid>
+ <pubDate>Thu, 02 Jul 2026 12:00:00 GMT</pubDate>
+ <category>feature</category>
+ <description>Every 3D world now has an avatar inspector. Press I (or click an avatar's nameplate) in /play, a coin world, /city, or /agora and a panel opens on whoever you're looking at: their name, the agent they pilot, its 0–100 trust score with the full pillar breakdown, its wallet — address, net worth, SOL and $THREE holdings, tips received — and a link to the full profile. Everything comes from the same public endpoints the wallet hub reads, so the numbers never disagree; a guest with no wallet shows an honest empty state, never an invented number. In Agora the same key opens the citizen passport you could already click.</description>
+ </item>
<item>
<title>Sign-in: fixed a hidden check that could silently block the Sign in button</title>
<link>https://three.ws/login</link>
diff --git a/public/features.json b/public/features.json
index 2739819c4..b91d635e4 100644
--- a/public/features.json
+++ b/public/features.json
@@ -1,5 +1,5 @@
{
- "generated_at": "2026-07-02T09:07:22.527Z",
+ "generated_at": "2026-07-02T09:17:15.599Z",
"generated_by": "scripts/build-page-index.mjs from data/pages.json",
"site": {
"name": "three.ws",
diff --git a/src/oracle.js b/src/oracle.js
index 75587f07d..9a5c31d01 100644
--- a/src/oracle.js
+++ b/src/oracle.js
@@ -746,11 +746,13 @@ function oracleTake(it) {
body = `${TAKE_PILLAR[strong.k].hi}`;
if (it.smart_wallet_count >= 3 && strong.k !== 'pedigree') body += `, with ${it.smart_wallet_count} smart-money wallets in`;
if ((it.badges || []).includes('structure-flag')) body += ` — but watch the structure flag`;
+ if ((it.badges || []).includes('pedigree-flag')) body += ` — but the creator has a rug history`;
} else if (tier === 'lean') {
body = `${TAKE_PILLAR[strong.k].hi}, but ${TAKE_PILLAR[weak.k].lo}`;
} else {
body = weak.v < 40 ? `${TAKE_PILLAR[weak.k].lo}` : `nothing here stands out yet`;
- if ((it.badges || []).includes('structure-flag')) body = `the launch structure throws a flag`;
+ if ((it.badges || []).includes('pedigree-flag')) body = `the creator wallet has a rug history`;
+ else if ((it.badges || []).includes('structure-flag')) body = `the launch structure throws a flag`;
}
const cat = it.category && it.category !== 'unknown' ? ` Riding a ${esc(it.category)} narrative.` : '';
return `<div class="coin-take"><span class="ct-q">“</span><span><b>${lead}</b> — ${body}.${cat}</span></div>`;
@@ -758,10 +760,18 @@ function oracleTake(it) {
function coinCard(it, watched = new Set()) {
const p = it.pillars || {};
+ const BADGE_META = {
+ 'smart-money': { cls: 'sm', txt: 'smart-money', title: '3+ proven wallets are already in' },
+ 'structure-flag': { cls: 'flag', txt: 'structure ⚑', title: 'A structural red flag (bundle, concentration, dumping dev) caps the score' },
+ 'pedigree-flag': { cls: 'flag', txt: 'creator ⚑', title: 'The creator wallet has a rug history — the score is ceilinged regardless of its buyers' },
+ 'thin-data': { cls: 'thin', txt: 'thin data', title: 'Much of this read rests on defaulted inputs — treat as a lead to watch, not a sized call' },
+ 'news': { cls: 'news', txt: 'news', title: 'Riding a live news story — fast but fragile' },
+ 'momentum': { cls: 'mom', txt: 'momentum', title: 'Strong buy-side momentum' },
+ 'prime': { cls: 'prime', txt: 'prime', title: 'Top-tier conviction (86+)' },
+ };
const badges = (it.badges || []).map((b) => {
- const cls = b === 'smart-money' ? 'sm' : b === 'structure-flag' ? 'flag' : b === 'news' ? 'news' : '';
- const txt = b === 'structure-flag' ? 'structure ⚑' : b;
- return `<span class="chip ${cls}">${esc(txt)}</span>`;
+ const m = BADGE_META[b] || { cls: '', txt: b, title: '' };
+ return `<span class="chip ${m.cls}"${m.title ? ` title="${esc(m.title)}"` : ''}>${esc(m.txt)}</span>`;
}).join('');
const btn = document.createElement('button');
@@ -1665,6 +1675,8 @@ function renderDrawer(d) {
<button class="dr-act" id="drCopyLink" type="button" title="Copy shareable link" data-link="${esc(coinShareUrl(c.mint))}">Copy link</button>
<a class="dr-act dr-share" href="${tweetConviction(c)}" target="_blank" rel="noopener" title="Share conviction on X">Share ↗</a>
${c.structure_cap != null && c.structure_cap < 60 ? `<span class="note warn">structural cap ${c.structure_cap}</span>` : ''}
+ ${d.components?.pedigree_cap != null && d.components.pedigree_cap < 60 ? `<span class="note warn">creator cap ${d.components.pedigree_cap}</span>` : ''}
+ ${d.components?.confidence != null ? `<span class="note ${d.components.confidence >= 70 ? 'ok' : d.components.confidence >= 45 ? '' : 'warn'}" title="How much of this read rests on real data vs. defaulted inputs">data confidence ${d.components.confidence}% · ${esc(d.components.confidence_label || '')}</span>` : ''}
</div>
<div id="scoreHistoryWrap" style="margin-top:12px"></div>
<div id="marketWrap" class="mkt-loading" aria-busy="true">
diff --git a/tests/oracle/conviction.test.js b/tests/oracle/conviction.test.js
index 4ebb93d30..361e39254 100644
--- a/tests/oracle/conviction.test.js
+++ b/tests/oracle/conviction.test.js
@@ -214,6 +214,28 @@ describe('convict (fusion)', () => {
expect(convict(primeIntel).score).toBe(convict(primeIntel).score);
});
+ it('reports high confidence on a fully-populated intel and low on an empty one', () => {
+ const full = convict(primeIntel);
+ expect(full.confidence).toBeGreaterThanOrEqual(70);
+ expect(full.confidenceLabel).toBe('high');
+ expect(full.badges).not.toContain('thin-data');
+
+ const empty = convict({});
+ expect(empty.confidence).toBeLessThan(45);
+ expect(empty.confidenceLabel).toBe('low');
+ expect(empty.badges).toContain('thin-data');
+ });
+
+ it('a serial-rugger creator adds a pedigree-flag badge (not structure-flag)', () => {
+ const v = convict({
+ ...primeIntel,
+ creator: { wallet: 'c', label: null, launches: 5, launchWins: 0 },
+ });
+ expect(v.badges).toContain('pedigree-flag');
+ expect(v.pedigreeCap).toBeLessThanOrEqual(45);
+ expect(v.badges).not.toContain('structure-flag'); // clean structure — cap came from pedigree
+ });
+
it('an empty intel object does not throw and reads low', () => {
const v = convict({});
expect(v.score).toBeGreaterThanOrEqual(0);