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(sketchfab): creator-accepted selection tier + brand-safety content gate

nirholasc624425769d4
diff --git a/CHANGELOG.md b/CHANGELOG.md
index 2726e72c6..61533d26a 100644
--- a/CHANGELOG.md
+++ b/CHANGELOG.md
@@ -12,7 +12,7 @@ Public history for [three.ws](https://three.ws), newest first. New pages come fr
- **AR Forge: type a prompt, place the model in your room** — A new mobile-first app at /ar turns a one-line prompt into a real, downloadable 3D model on the free generation lane, then puts it in your space with one tap: WebXR or Scene Viewer on Android, Quick Look on iPhone. On a desktop it shows a QR code that hands the finished model straight to your phone's camera app, and every creation gets a shareable viewer link. No account, no payment, fair-use rate limits only. (`/ar`) `[feature]`
- **IRL placement grows up: true AR anchoring leads the dock, and you can pinch-resize your agent** — Placing an avatar in the real world through /irl now feels like a native AR app. On phones with a real AR surface the new Place in AR button leads the dock: a floor-finding reticle, a tap to anchor the agent to the actual detected surface, and now a two-finger pinch to resize it live, from a 25% desk figurine to a 400% statue. The size you choose saves with the pin, so everyone who walks up sees your agent exactly where and how big you left it. iPhones open the same placement in ARKit Quick Look. The compass-and-GPS pin path is unchanged and remains the fallback everywhere else. (`/irl`) `[feature, improvement]`
- **New doc: IRL, agents in the real world** — The IRL layer finally has a front door in the docs: one page that explains the whole vision and how the shipped pieces fit together. It covers placing an agent at a real GPS spot from your phone, walk-up discovery with proof of presence, paying agents in person via x402, Money Drops (real SOL, USDC, or $THREE escrowed at a place and claimable only by walking up), World Lines (agent-signed proofs that you were really there), and the privacy model that makes it all safe. The docs sidebar now also links the hands-on IRL tutorial, which was previously unreachable from the navigation. (`/docs/irl`) `[docs]`
-- **The best community models now go to Sketchfab** — Weekly Forge-Off winners and the top-voted forge board models are now published to the official three.ws account on Sketchfab, the largest public 3D model site. It is a curated showcase, not a firehose: a few community-validated models a week, each clearly tagged as AI-generated, with its generation prompt and a link back to the creation on three.ws so anyone who finds it can remix it or forge their own. Every link is tagged so we can measure how many visitors the showcase actually brings in. (`/docs/sketchfab`) `[feature]`
+- **The best community models now go to Sketchfab** — The best forge models are now published to the official three.ws account on Sketchfab, the largest public 3D model site: weekly Forge-Off winners first, then top-voted board models, then creations their makers explicitly accepted. It is a curated showcase, not a firehose: a few validated models a week, each clearly tagged as AI-generated, with its generation prompt and a link back to the creation on three.ws so anyone who finds it can remix it or forge their own. Every link is tagged so we can measure how many visitors the showcase actually brings in. (`/docs/sketchfab`) `[feature]`
- **Tour and Walk SDK update: switch between Stroll and Platformer from the tour controls** — Embedded tours built with the Tour Builder now include a labeled Stroll / Platformer toggle right in the tour controls next to Exit, so visitors can switch how they explore (tap it or press M) instead of hunting for a hidden corner button. Published as @three-ws/walk 0.2.1 and @three-ws/tour 0.5.1 on npm; the Tour Builder's exported embed snippet now uses the new versions automatically, and also picks up the latest @three-ws/page-agent with its five persona presets. (`/tour-builder`) `[sdk, improvement]`
## 2026-07-13
diff --git a/api/_lib/sketchfab.js b/api/_lib/sketchfab.js
index eddebfaec..f7a42cdcd 100644
--- a/api/_lib/sketchfab.js
+++ b/api/_lib/sketchfab.js
@@ -26,6 +26,32 @@ export const GLB_MAX_BYTES = 45 * 1024 * 1024;
const SHOWCASE_UTM = 'utm_source=sketchfab&utm_medium=referral&utm_campaign=showcase';
+// Brand-safety denylist for the OFFICIAL showcase account. Users can forge
+// what the forge allows; the brand account does not publish firearms or
+// explicit content under the three.ws name. Word-boundary matched, so
+// "bullet train" style false positives are accepted as the cost of a
+// conservative gate. This local list is always on; the NemoGuard classifier
+// (api/_lib/moderation.js) runs as a second, fail-open layer in the cron.
+const DENY_TERMS = [
+ 'glock', 'gun', 'guns', 'firearm', 'firearms', 'rifle', 'pistol', 'shotgun',
+ 'revolver', 'ammo', 'bullet', 'bullets', 'grenade', 'bomb', 'explosive',
+ 'suppressor', 'silencer', 'nsfw', 'nude', 'naked', 'sex', 'sexy', 'porn',
+ 'hentai', 'swastika',
+];
+
+const DENY_RE = new RegExp(`\\b(${DENY_TERMS.join('|')})\\b`, 'i');
+
+// Returns the matched term when the prompt is brand-unsafe, else null.
+export function promptDenyMatch(prompt) {
+ const m = String(prompt || '').match(DENY_RE);
+ return m ? m[1].toLowerCase() : null;
+}
+
+// Same list as a POSIX regex for `prompt !~* ...` in selection SQL, so
+// obviously unsafe models never even appear as candidates (dry-run included).
+// \m and \M are postgres word boundaries.
+export const DENY_SQL_PATTERN = `\\m(${DENY_TERMS.join('|')})\\M`;
+
export function sketchfabConfigured() {
return Boolean(env.SKETCHFAB_API_TOKEN);
}
@@ -68,7 +94,9 @@ export function buildDescription({ prompt, creationId, source }) {
const pickLine =
source === 'board_winner'
? 'Weekly Forge-Off winner, crowned by community vote.'
- : 'Community pick: one of the top-voted models on the forge board.';
+ : source === 'top_voted'
+ ? 'Community pick: one of the top-voted models on the forge board.'
+ : 'Curated pick from the three.ws forge gallery.';
const share = showcaseLink(`/forge/share/${creationId}`);
const forge = showcaseLink('/forge');
const fixed = [
diff --git a/api/cron/sketchfab-showcase.js b/api/cron/sketchfab-showcase.js
index 6bd32075e..fae705fd9 100644
--- a/api/cron/sketchfab-showcase.js
+++ b/api/cron/sketchfab-showcase.js
@@ -8,7 +8,19 @@
// 1. Weekly Forge-Off winners (forge_board_winners) not yet uploaded: the
// strongest human-curation signal on the platform.
// 2. Top-voted board models (forge_creations.vote_count >= 1): at least one
-// real community vote, never raw unreviewed output.
+// real community vote.
+// 3. Creator-validated models (outcome = 'accepted' or downloaded = true):
+// the creator explicitly accepted the generation or took the GLB. This
+// tier seeds the showcase while board voting ramps up; raw unreviewed
+// output is never pushed. Refinement children (parent_creation_id set)
+// are excluded: their prompts are instructions ("add robot legs"), not
+// titles.
+//
+// Brand safety: the official account never publishes firearms or explicit
+// content. A local denylist filters the selection SQL itself (dry-run
+// included) and re-checks before upload; the NemoGuard classifier
+// (moderation.js) runs as a second, fail-open layer. A blocked creation is
+// parked in the ledger with status 'blocked' so it is never re-picked.
//
// Every upload is tagged `ai-generated`, carries the source prompt, and
// backlinks to the creation's share page + /forge with UTM parameters
@@ -27,14 +39,17 @@ import { env } from '../_lib/env.js';
import { sql } from '../_lib/db.js';
import { constantTimeEquals } from '../_lib/crypto.js';
import {
+ DENY_SQL_PATTERN,
GLB_MAX_BYTES,
buildDescription,
buildModelName,
buildTags,
getProcessingStatus,
+ promptDenyMatch,
sketchfabConfigured,
uploadModel,
} from '../_lib/sketchfab.js';
+import { moderateAnonInput } from '../_lib/moderation.js';
const MAX_ATTEMPTS = 3;
@@ -70,6 +85,7 @@ async function selectCandidates(limit) {
where fc.status = 'done'
and fc.glb_url is not null
and (fc.outcome is null or fc.outcome != 'rejected')
+ and fc.prompt !~* ${DENY_SQL_PATTERN}
and coalesce(fc.size_bytes, 0) <= ${GLB_MAX_BYTES}
and not exists (
select 1 from sketchfab_uploads su
@@ -81,7 +97,7 @@ async function selectCandidates(limit) {
`;
if (winners.length >= limit) return winners;
- const winnerIds = winners.map((w) => w.id);
+ const taken = winners.map((w) => w.id);
const topVoted = await sql`
select fc.id, fc.prompt, fc.glb_url, fc.model_category, 'top_voted' as source
from forge_creations fc
@@ -89,8 +105,9 @@ async function selectCandidates(limit) {
and fc.glb_url is not null
and (fc.outcome is null or fc.outcome != 'rejected')
and fc.vote_count >= 1
+ and fc.prompt !~* ${DENY_SQL_PATTERN}
and coalesce(fc.size_bytes, 0) <= ${GLB_MAX_BYTES}
- and fc.id != all(${winnerIds}::uuid[])
+ and fc.id != all(${taken}::uuid[])
and not exists (
select 1 from sketchfab_uploads su
where su.creation_id = fc.id
@@ -99,7 +116,37 @@ async function selectCandidates(limit) {
order by fc.vote_count desc, fc.created_at desc
limit ${limit - winners.length}
`;
- return [...winners, ...topVoted];
+ const picked = [...winners, ...topVoted];
+ if (picked.length >= limit) return picked;
+
+ taken.push(...topVoted.map((t) => t.id));
+ const accepted = await sql`
+ select fc.id, fc.prompt, fc.glb_url, fc.model_category, 'accepted' as source
+ from forge_creations fc
+ where fc.status = 'done'
+ and fc.glb_url is not null
+ and (fc.outcome = 'accepted' or fc.downloaded = true)
+ and fc.prompt is not null
+ and fc.prompt !~* ${DENY_SQL_PATTERN}
+ and fc.parent_creation_id is null
+ -- Title quality: skip placeholder prompts from the image path and
+ -- instruction-shaped prompts ("add robot legs"), which make
+ -- meaningless public model names. Winners/voted tiers are already
+ -- human-curated and skip this heuristic.
+ and length(fc.prompt) >= 12
+ and fc.prompt != 'image-to-3d'
+ and fc.prompt !~* '^(add|remove|make|change|fix|update)\\M'
+ and coalesce(fc.size_bytes, 0) <= ${GLB_MAX_BYTES}
+ and fc.id != all(${taken}::uuid[])
+ and not exists (
+ select 1 from sketchfab_uploads su
+ where su.creation_id = fc.id
+ and (su.status != 'failed' or su.attempts >= ${MAX_ATTEMPTS})
+ )
+ order by fc.created_at desc
+ limit ${limit - picked.length}
+ `;
+ return [...picked, ...accepted];
}
// Claim the creation in the ledger before touching the network so concurrent
@@ -120,10 +167,31 @@ async function claimCreation(candidate) {
return row?.id || null;
}
+// Local denylist + NemoGuard verdict. Returns a block reason or null.
+async function contentBlockReason(prompt) {
+ const term = promptDenyMatch(prompt);
+ if (term) return `denylist:${term}`;
+ const verdict = await moderateAnonInput(prompt).catch(() => ({ flagged: false }));
+ if (verdict?.flagged) {
+ return `moderation:${(verdict.categories || []).join(',') || 'unsafe'}`;
+ }
+ return null;
+}
+
async function pushCandidate(candidate) {
const ledgerId = await claimCreation(candidate);
if (!ledgerId) return { id: candidate.id, status: 'skipped', reason: 'already_claimed' };
+ const blockReason = await contentBlockReason(candidate.prompt);
+ if (blockReason) {
+ await sql`
+ update sketchfab_uploads
+ set status = 'blocked', error = ${blockReason}, updated_at = now()
+ where id = ${ledgerId}
+ `;
+ return { id: candidate.id, status: 'blocked', source: candidate.source, reason: blockReason };
+ }
+
try {
const name = buildModelName(candidate.prompt);
const { uid, url } = await uploadModel({
@@ -235,6 +303,7 @@ export default wrapCron(async (req, res) => {
ok: true,
uploaded: results.filter((r) => r.status === 'uploaded').length,
failed: results.filter((r) => r.status === 'failed').length,
+ blocked: results.filter((r) => r.status === 'blocked').length,
refreshed,
results,
});
diff --git a/data/changelog.json b/data/changelog.json
index b62a0e8a7..75450232a 100644
--- a/data/changelog.json
+++ b/data/changelog.json
@@ -4,7 +4,7 @@
{
"date": "2026-07-14",
"title": "The best community models now go to Sketchfab",
- "summary": "Weekly Forge-Off winners and the top-voted forge board models are now published to the official three.ws account on Sketchfab, the largest public 3D model site. It is a curated showcase, not a firehose: a few community-validated models a week, each clearly tagged as AI-generated, with its generation prompt and a link back to the creation on three.ws so anyone who finds it can remix it or forge their own. Every link is tagged so we can measure how many visitors the showcase actually brings in.",
+ "summary": "The best forge models are now published to the official three.ws account on Sketchfab, the largest public 3D model site: weekly Forge-Off winners first, then top-voted board models, then creations their makers explicitly accepted. It is a curated showcase, not a firehose: a few validated models a week, each clearly tagged as AI-generated, with its generation prompt and a link back to the creation on three.ws so anyone who finds it can remix it or forge their own. Every link is tagged so we can measure how many visitors the showcase actually brings in.",
"tags": [
"feature"
],
diff --git a/docs/sketchfab.md b/docs/sketchfab.md
index 20754b816..cb0c5dd64 100644
--- a/docs/sketchfab.md
+++ b/docs/sketchfab.md
@@ -18,11 +18,23 @@ Selection runs three times a week (Mon/Wed/Fri) and takes up to
week on the [forge board](/forge) is the strongest curation signal on the
platform and always goes first.
2. **Top-voted board models.** Anything with at least one community upvote,
- highest votes first. Raw unreviewed output is never pushed.
+ highest votes first.
+3. **Creator-validated models.** Creations whose maker explicitly accepted
+ the result or downloaded the GLB, newest first. This tier keeps the
+ showcase alive while board voting ramps up. Raw unreviewed output is
+ never pushed.
A model is skipped when its GLB exceeds the Sketchfab upload cap (45 MB
guard), when it was already uploaded, or when it failed three times.
+**Brand safety.** The official account never publishes firearms or explicit
+content, regardless of what the forge itself allows. A conservative
+word-boundary denylist filters the selection query and re-checks before
+upload, and the platform's NemoGuard content classifier runs as a second
+layer. Blocked creations are parked in the ledger (`blocked`) and never
+re-picked. Refinement children are also excluded from the creator-validated
+tier, since their prompts are instructions, not titles.
+
## What an upload looks like
Every published model carries:
diff --git a/public/changelog.json b/public/changelog.json
index d5fc4a681..de63f7d07 100644
--- a/public/changelog.json
+++ b/public/changelog.json
@@ -1,5 +1,5 @@
{
- "generated_at": "2026-07-14T09:36:54.731Z",
+ "generated_at": "2026-07-14T10:12:55.458Z",
"generated_by": "scripts/build-page-index.mjs from data/pages.json + data/changelog.json",
"site": {
"name": "three.ws",
@@ -71,7 +71,7 @@
"date": "2026-07-14",
"type": "update",
"title": "The best community models now go to Sketchfab",
- "summary": "Weekly Forge-Off winners and the top-voted forge board models are now published to the official three.ws account on Sketchfab, the largest public 3D model site. It is a curated showcase, not a firehose: a few community-validated models a week, each clearly tagged as AI-generated, with its generation prompt and a link back to the creation on three.ws so anyone who finds it can remix it or forge their own. Every link is tagged so we can measure how many visitors the showcase actually brings in.",
+ "summary": "The best forge models are now published to the official three.ws account on Sketchfab, the largest public 3D model site: weekly Forge-Off winners first, then top-voted board models, then creations their makers explicitly accepted. It is a curated showcase, not a firehose: a few validated models a week, each clearly tagged as AI-generated, with its generation prompt and a link back to the creation on three.ws so anyone who finds it can remix it or forge their own. Every link is tagged so we can measure how many visitors the showcase actually brings in.",
"link": "/docs/sketchfab",
"tags": [
"feature"
diff --git a/public/changelog.xml b/public/changelog.xml
index 88c7e8b0e..b636fc201 100644
--- a/public/changelog.xml
+++ b/public/changelog.xml
@@ -60,7 +60,7 @@
<guid isPermaLink="false">2026-07-14:The best community models now go to Sketchfab</guid>
<pubDate>Tue, 14 Jul 2026 12:00:00 GMT</pubDate>
<category>feature</category>
- <description>Weekly Forge-Off winners and the top-voted forge board models are now published to the official three.ws account on Sketchfab, the largest public 3D model site. It is a curated showcase, not a firehose: a few community-validated models a week, each clearly tagged as AI-generated, with its generation prompt and a link back to the creation on three.ws so anyone who finds it can remix it or forge their own. Every link is tagged so we can measure how many visitors the showcase actually brings in.</description>
+ <description>The best forge models are now published to the official three.ws account on Sketchfab, the largest public 3D model site: weekly Forge-Off winners first, then top-voted board models, then creations their makers explicitly accepted. It is a curated showcase, not a firehose: a few validated models a week, each clearly tagged as AI-generated, with its generation prompt and a link back to the creation on three.ws so anyone who finds it can remix it or forge their own. Every link is tagged so we can measure how many visitors the showcase actually brings in.</description>
</item>
<item>
<title>Tour and Walk SDK update: switch between Stroll and Platformer from the tour controls</title>
diff --git a/public/features.json b/public/features.json
index 170382ed3..d5d2063e5 100644
--- a/public/features.json
+++ b/public/features.json
@@ -1,5 +1,5 @@
{
- "generated_at": "2026-07-14T09:36:54.716Z",
+ "generated_at": "2026-07-14T10:12:55.445Z",
"generated_by": "scripts/build-page-index.mjs from data/pages.json",
"site": {
"name": "three.ws",
diff --git a/public/sitemap/index.html b/public/sitemap/index.html
index c6e200c1c..b727ba904 100644
--- a/public/sitemap/index.html
+++ b/public/sitemap/index.html
@@ -56,25 +56,6 @@
.sm-brand img { width: 24px; height: 24px; border-radius: 5px; }
.sm-brand:hover { text-decoration: none; }
</style>
-
- <meta name="robots" content="index, follow, max-image-preview:large, max-snippet:-1">
- <meta property="og:type" content="website">
- <meta property="og:site_name" content="three.ws">
- <meta property="og:locale" content="en_US">
- <meta property="og:title" content="Sitemap · three.ws">
- <meta property="og:description" content="Human-readable index of every page on three.ws.">
- <meta property="og:url" content="https://three.ws/sitemap">
- <meta property="og:image" content="https://three.ws/api/page-og?s=main&amp;t=Sitemap&amp;d=Human-readable+index+of+every+page+on+three.ws.&amp;p=%2Fsitemap">
- <meta property="og:image:width" content="1200">
- <meta property="og:image:height" content="630">
- <meta property="og:image:type" content="image/png">
- <meta property="og:image:alt" content="Sitemap — three.ws">
- <meta name="twitter:card" content="summary_large_image">
- <meta name="twitter:site" content="@trythreews">
- <meta name="twitter:title" content="Sitemap · three.ws">
- <meta name="twitter:description" content="Human-readable index of every page on three.ws.">
- <meta name="twitter:image" content="https://three.ws/api/page-og?s=main&amp;t=Sitemap&amp;d=Human-readable+index+of+every+page+on+three.ws.&amp;p=%2Fsitemap">
- <script type="application/ld+json">{"@context":"https://schema.org","@graph":[{"@type":"WebPage","name":"Sitemap","description":"Human-readable index of every page on three.ws.","url":"https://three.ws/sitemap","isPartOf":{"@type":"WebSite","name":"three.ws","url":"https://three.ws"},"primaryImageOfPage":"https://three.ws/api/page-og?s=main&t=Sitemap&d=Human-readable+index+of+every+page+on+three.ws.&p=%2Fsitemap"}]}</script>
</head>
<body>
<header class="sm-topbar">
diff --git a/tests/sketchfab-showcase.test.js b/tests/sketchfab-showcase.test.js
index 261ce89d8..35fdb99cd 100644
--- a/tests/sketchfab-showcase.test.js
+++ b/tests/sketchfab-showcase.test.js
@@ -3,7 +3,9 @@ import {
buildModelName,
buildDescription,
buildTags,
+ promptDenyMatch,
showcaseLink,
+ DENY_SQL_PATTERN,
GLB_MAX_BYTES,
} from '../api/_lib/sketchfab.js';
@@ -57,6 +59,7 @@ describe('buildDescription', () => {
it('names the curation source', () => {
expect(buildDescription(base)).toContain('Forge-Off winner');
expect(buildDescription({ ...base, source: 'top_voted' })).toContain('top-voted');
+ expect(buildDescription({ ...base, source: 'accepted' })).toContain('Curated pick');
});
it('clamps a huge prompt without ever losing the backlinks', () => {
@@ -74,6 +77,25 @@ describe('showcaseLink', () => {
});
});
+describe('promptDenyMatch (brand-safety gate)', () => {
+ it('blocks firearm and explicit prompts on word boundaries', () => {
+ expect(promptDenyMatch('Glock with a switch')).toBe('glock');
+ expect(promptDenyMatch('a futuristic RIFLE on a stand')).toBe('rifle');
+ expect(promptDenyMatch('nude figure study')).toBe('nude');
+ });
+
+ it('does not block safe prompts, including substring lookalikes', () => {
+ expect(promptDenyMatch('a crystal dragon')).toBeNull();
+ expect(promptDenyMatch('sussex county cottage')).toBeNull();
+ expect(promptDenyMatch('gunmetal grey sports car')).toBeNull();
+ });
+
+ it('keeps the SQL pattern in sync with the same term list', () => {
+ expect(DENY_SQL_PATTERN).toContain('glock');
+ expect(DENY_SQL_PATTERN).toMatch(/^\\m\(/);
+ });
+});
+
describe('GLB_MAX_BYTES', () => {
it('stays under the Sketchfab basic-plan 50 MB cap', () => {
expect(GLB_MAX_BYTES).toBeLessThan(50 * 1024 * 1024);