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.
JavaScript 3d-generationai-agentsanimationavatardigital-humangenerative-aiglbgltfimage-to-3dllmmcpmcp-servermodel-context-protocolsolanatext-to-3dthreejsweb-componentswebglwebxrx402
feat: enhance sign-in experience with exact cooldown timer and improved messaging
nirholas585715197058
diff --git a/CHANGELOG.md b/CHANGELOG.mdindex 22c5d9d40..2b93bb919 100644--- a/CHANGELOG.md+++ b/CHANGELOG.md@@ -37,6 +37,7 @@ Public history for [three.ws](https://three.ws), newest first. New pages come fr- **Partner ecosystem page** — New /partners page showing all active technology partnerships — AWS, IBM, Google Cloud, Alibaba Cloud, Intel, NVIDIA, Microsoft, and Oracle — with what each powers on the platform, tier badges, and links to partner-specific pages and MCP servers. (`/partners`) `[feature]`- **Production stability fixes — payment sessions, Redis error handling, infra resilience** — Fixed a SQL syntax error that blocked payment session expiry and refunds (PostgreSQL does not allow LIMIT directly in UPDATE — now uses a CTE with FOR UPDATE SKIP LOCKED). Fixed esbuild class-name minification breaking NeonDB error detection in production — infrastructure errors (wrong DB credentials, Redis auth) now correctly return 503 and suppress alert storms instead of crashing every endpoint with 500. Added graceful Redis-unavailable handling to the usage flush buffer and the bounty board API. Fixed Express-style response methods in pulse-tick cron. `[fix, infra]`- **Restored token-launch, agent payments, and on-chain endpoints** — Fixed a class of missing API route mappings that left several backend endpoints unreachable in production: token launch (quote, prep, confirm), agent-to-agent payments, on-chain transaction prep/confirm, Solana and EVM checkout, and live-walk session control. The handlers were deployed but never wired to their public paths; they now respond correctly. Part of a wider audit that also restored wallet sign-in. `[fix]`+- **Sign-in cooldown is now exact — and there's more headroom before it trips** — If you ever hit "too many attempts" while signing in, the form now shows the real countdown the server hands back — a live timer on the button that ticks down and re-arms the form the instant you can try again, instead of a vague "try later". We also raised the per-network attempt allowance, so people signing in from shared office or campus connections are far less likely to be told to wait at all. Wrong-password and network-drop messages are now clearer and distinct, too. (`/login`) `[improvement]`- **Sign-in restored during rate-limiter outages** — Fixed an issue where a temporary outage of the distributed rate limiter could block every sign-in attempt platform-wide. The login and registration limiters now degrade gracefully to a local per-instance cap during such an outage — keeping sign-in available while still throttling brute-force attempts — instead of denying everyone. Money-moving limits are unchanged and still fail safe. `[fix, security]`- **Sign-up and 3D avatar reliability fixes** — Two fixes to the front door. The 3D avatar on the sign-up page — and on roughly fifty other pages that show a preview model — now loads reliably the first time, instead of occasionally staying blank until you reloaded; a timing race meant the model viewer could start loading a compressed avatar before its decoder was ready. Separately, the sign-up username field again enforces its rules (3–30 characters; letters, numbers, underscore and hyphen) as you type in the latest Chrome, where a stricter pattern-matching mode had quietly switched that live validation off. No action needed — both are automatic. (`/register`) `[fix]`- **Status page goes monochrome — with a fleet summary and an embeddable status badge** — The platform status page now leads with three at-a-glance numbers — 90-day uptime, services operational, and average response time — above the per-service history, and reads in clean monochrome that matches the rest of three.ws (a single red is reserved for a genuine outage so it's impossible to miss). The public status feed now also serves an embeddable status badge: drop https://three.ws/api/status?format=svg into any README or dashboard to show whether the platform is operational, and agents reading /api/status get the same fleet summary as a ready-made object. (`/status`) `[feature, improvement]`diff --git a/CLAUDE.md b/CLAUDE.mdindex ff742f36e..b316e3b98 100644--- a/CLAUDE.md+++ b/CLAUDE.md@@ -58,8 +58,25 @@ Before writing a single line of code, answer these questions internally:- **Eliminate dead paths.** If a button exists, it must work. If a link exists, it must go somewhere. If a state exists, there must be a way to reach it. Audit your own work for unreachable or broken paths.- **Design data flow first.** Where does the data come from? How does it transform? Where does it render? Solve this before writing UI code.-### Code quality-- **Name things precisely.** `fetchAgentMetrics` not `getData`. `isWalletConnected` not `flag`. Names are documentation.+### Open source first++Before writing a single line of new code for any non-trivial capability, search for an existing solution. The open-source ecosystem is vast, battle-tested, and maintained by people who have already solved most problems you will encounter. Using it is not laziness — it is engineering judgment. Reinventing what already exists is waste; building on what exists multiplies it.++**The search order:**+1. **NPM** — for any JavaScript/Node utility, parser, client library, codec, or algorithm. `npm search`, `npmjs.com`, or a web search scoped to `site:npmjs.com`. Evaluate weekly downloads, last publish date, open issues, and license before adopting.+2. **GitHub** — for tools, CLIs, APIs, demos, reference implementations, and anything npm doesn't cover. Search by topic, language, and stars. Read the README and the issue tracker, not just the star count.+3. **Existing workspace dependencies** — check `package.json` first. We may already have a package installed that solves the problem. Never add a dependency that duplicates one already present.++**How to decide:**+- A well-maintained OSS package with >1 k weekly downloads and an active maintainer beats a from-scratch implementation 9 times out of 10. Use it.+- A package with known CVEs, no updates in 2+ years, or a license incompatible with the project (GPL in a commercial product, etc.) does not qualify — document why and build the thin wrapper or alternative yourself.+- For one-line utilities (e.g. `clamp(n, min, max)`), write it inline. Don't pull a dependency for three statements.+- When adopting an OSS package, pin a semver range (`^x.y.0`), not a commit hash or `latest`. Log the rationale in the commit message if the choice is non-obvious.++**The ecosystem mindset:**+We are not consumers extracting value from open source — we are participants growing it. When an OSS package solves 90% of the problem but misses the last 10%, prefer contributing upstream (open an issue, submit a PR) over forking or working around it in-house. When we build something genuinely reusable, extract it into a publishable package. The rising tide lifts all boats. The more we give back, the more the ecosystem has to offer the next time we go looking.++**Never reinvent:** HTTP clients, date/time parsing, cryptographic primitives, schema validation, markdown rendering, diff algorithms, color manipulation, UUID generation, deep equality checks, path resolution, MIME detection, or any other solved problem with a well-adopted library. Writing your own is a liability, not a feature.- **Small functions, clear boundaries.** Each function does one thing. If you need a comment to explain what a block does, extract it into a named function.- **Delete aggressively.** Dead code, unused imports, vestigial features — remove them. Less code is better code.- **Performance by default.** Lazy-load heavy modules. Debounce user input handlers. Paginate large lists. Use `will-change` and `transform` for animations. Don't ship jank.diff --git a/api/_lib/rate-limit.js b/api/_lib/rate-limit.jsindex 7cc139953..4fb932a65 100644--- a/api/_lib/rate-limit.js+++ b/api/_lib/rate-limit.js@@ -230,8 +230,12 @@ export const limits = {// closed here locks every user out of login — a self-inflicted outage strictly// worse than the brute-force window a degraded per-instance cap leaves open,// especially with bcrypt already throttling the credential path per request.+ // 50/10m per IP: generous enough for shared NAT / office egress and an active+ // user retrying a forgotten password without tripping, yet far below what a+ // credential-stuffing run needs — bcrypt's per-request cost already throttles+ // the guess rate, and `registerIp` (5/h) caps account creation independently.authIp: (ip) =>- getLimiter('auth:ip', { limit: 30, window: '10 m', critical: true, degradeToMemory: true }).limit(ip),+ getLimiter('auth:ip', { limit: 50, window: '10 m', critical: true, degradeToMemory: true }).limit(ip),registerIp: (ip) =>getLimiter('register:ip', { limit: 5, window: '1 h', critical: true, degradeToMemory: true }).limit(ip),// NL→strategy compile (api/sniper/compile.js) runs a real LLM call per request,diff --git a/content/threews-evolution-tts-script-FULL.md b/content/threews-evolution-tts-script-FULL.mdnew file mode 100644index 000000000..4692d2ddc--- /dev/null+++ b/content/threews-evolution-tts-script-FULL.md@@ -0,0 +1,213 @@+# three.ws — The Complete Evolution (Long-Form ElevenLabs Narration)++## Production notes (do not read aloud)++- Runtime: approximately 50 to 60 minutes. Spoken word count: ~8,000. Written in 11 chapters so you can render each one separately in ElevenLabs and stitch them, or generate as one long take.+- Order: present day first, then backward era by era to the April genesis (earliest last), then a forward "what's next" chapter and a short close. This matches the requested "most recent to earliest, earliest days last."+- Coverage: every major shipped capability from the 960-entry public changelog (517 features, 75 SDK releases, 66 security entries) is represented. The flagship pillars (the $THREE economy, x402 agent-to-agent payments, watchable and verifiable agents, the 3D and avatar technology, the autonomous capabilities, and the partnerships) are emphasized.+- Voice and pacing: measured, confident documentary narrator. Suggested ElevenLabs settings: Stability 45 to 55, Similarity ~75, Style low. The prose paces with punctuation and paragraph breaks; for v3 you can add a short break between chapters.+- Rules honored: the only coin named is $THREE. Companies, models, and protocols (AWS, IBM, Alibaba Cloud, NVIDIA, Anthropic, MetaMask, x402, Solana, USDC, pump.fun) are named as infrastructure. No emojis. No em dashes.++---++## CHAPTER 1: What three.ws is, right now++This is three.ws.++Today, you can open a single link and watch an artificial intelligence agent work. Its screen streams live in front of you. Its three-dimensional body stands in a world you can walk into. Its wallet earns and spends in real time, and every transaction is signed, settled on a public blockchain, and verifiable by anyone.++The agents here are not chatbots in a box. They read live markets and speak their verdicts out loud. They sell skills. They pay each other. They launch coins. They hire one another for work, and they leave a receipt every time.++And here is the part that is hard to believe until you check it for yourself. All of this, every feature you are about to hear, was built in roughly ten weeks. From the first line of code in the middle of April to today, the platform shipped more than five thousand commits and over nine hundred separate, dated, user-visible changes.++This is the story of how that happened, told backward. From where the platform stands right now, all the way down to the very first commit, with the earliest days saved for last. And then, at the end, where it goes from here.++One rule frames the whole thing, and it never changes. The only coin this platform has ever promoted, or ever will, is $THREE.++Let us begin with this week.++---++## CHAPTER 2: This week. The economy goes live and legible++In just the last several days, three.ws turned the agent economy from something you could use into something you can measure.++The centerpiece is Money Pulse. It is a public, platform-wide feed of real economic activity. Real tips. Real trades. Real agent-to-agent payments. Real coin launches. Every row carries an on-chain signature you can click straight through to a block explorer. And in this latest release, Money Pulse does something most platforms would never dare to do. It tells you whether the activity is actually viable. It tracks real marketplace demand, repeat buyers, and the genuine take-rate of the economy. If the platform were quiet, the feed would show quiet. There are no synthetic rows. The honesty is the product.++Alongside it, the platform turned on sixty live machine payments per minute over the x402 standard. That is a continuous heartbeat of micropayments settling between agents and services, every minute, on-chain.++It shipped Live Agents mission control, a real-time roster of every agent working at this moment, each with a live frame from its screen, plus a one-click session launcher so you can spin an agent up and watch it go.++It shipped one-tap agent activation, a welcome grant that brings a brand new agent live and ready to transact in a single call, with a clear "Go Live" first step and live badges so you can see at a glance which agents are active.++It added a Capabilities dashboard, a live command center for the platform's four autonomous agent features, and a Top Performers podium on the marketplace, an oracle-ranked leaderboard of the agents with the best verified track records.++It introduced the Memetic Launcher, a tool that lets you design your own coin-launch engine, reading live cultural signals, now powered by public trend data, to time and theme a launch. This is the coin-agnostic plumbing the platform is careful about. Anyone can launch through it. The only coin three.ws itself promotes is $THREE.++And on the partnership front, three.ws announced a collaboration with Alibaba Cloud, bringing the Qwen family of models and a dedicated cloud connector into the platform, and shipped a management page for AWS Marketplace API keys and usage. Underneath, it hardened the platform treasury that funds new agents, rolled out an x402 merchant console so any service can charge agents directly, and stiffened its infrastructure against credential and rate-limit failures.++That was a few days of work. Now go back one more week.++---++## CHAPTER 3: Late June. The watchable agent, the trading floor, and four autonomous minds++Around the twenty-sixth of June, three.ws shipped the feature that makes everything else legible. The agent screen.++You can now watch your agent's real browser session, frame by frame, on its public profile, in two dimensions and inside the three-dimensional world, right next to a live camera view of its avatar. Behind it is a real browser-capture worker, a standalone service that drives an actual browser and streams those frames to anyone watching. And you can send your agent a task and watch it carry it out. This is the closest thing there is to looking over the shoulder of a working machine.++That same week, three.ws built a three-dimensional artificial intelligence agent live, on stage, in a public showcase with IBM.++It shipped four autonomous capabilities at once, and these are central to what the platform is. Alpha Hunt, an agent that scans new launches for genuine signal. Coin Launcher, an agent that can launch a token on its own. Creator Auto-Claim, an agent that automatically collects the creator fees it has earned. And Market Maker, an agent that provides liquidity for a coin it cares about. Oracle activity, the platform's scoring and win-rate data, now surfaces across eight different pages, so wherever you are, you can see live win rates, how many agents are armed, and how many launches have been scored.++The trading surfaces were rebuilt into something cinematic and real. The Trades Terminal gained a candlestick chart, a funder bubble map, coin intelligence, a live tape, and deep analytics for every launch on the platform. Sniper Arena became a living three-dimensional floor that fills with the top Solana traders and shows field stats, dollar values, and execution detail, so it is never an empty stage. Coin Radar gained a live market-pulse banner, smart-money signals, and search and sort. You can now view any token as a live three-dimensional trading scene, with price, real-time trade pulses, and on-chain risk signals. And the marketplace itself came alive, with a living economy of autonomous agents transacting on-chain and a public feed of exactly what is selling.++There was even Trading Swarms, where agents pool capital together and split the profits, and a refreshed Alpha Co-pilot with a gallery of agents, cited-signal highlights, and conviction score bars.++Hold on to that phrase, the Alpha Co-pilot, and that idea, agents that act on a verified score. Because to understand where they came from, we need to go back to the single most concentrated build in the platform's history.++---++## CHAPTER 4: The deep build. Giving agents a mind, a wallet, and a livelihood++Across the third and fourth weeks of June, three.ws shipped what can only be described as the soul of the product. Dozens of features in a matter of days, and they fall into a few big ideas. Listen for them, because this is the heart of the whole thing.++The first idea is that an agent should have a real mind that you own.++The platform shipped Brain Studio, where you build your agent's personality as a visual circuit and hear the change land instantly. It shipped Memory Studio, where you watch your agent's memory form, curate what it keeps, and learn to trust it. It shipped the Mind Palace, where you literally walk through your agent's memory in three dimensions. It added Reflection and Dreams, so that while you are away, your agent consolidates its memories into insights you can review when you return. And it made that mind portable and verifiable, an exportable brain you genuinely own, with an Agent Genome feature that lets you breed two agents into a provably inherited child.++The second idea is that an agent should be self-sovereign with money, and that everything it does with money should be provable.++This is where the economy got its spine. The platform shipped Money Streams, the ability to pay an agent by the second, settling continuously on-chain under a spending cap you sign. It shipped Patronage, tips that build a lasting relationship with an agent and unlock real perks. It introduced Embodied Finance, where an agent literally wears its wallet, its net worth and identity visible on its avatar, with a living trading card you can share. It shipped Wallet Intents, the ability to tell your agent's wallet what to do in plain English, and Memory-grounded Autopilot, where your agent acts on your behalf and then shows you the receipt for exactly what it did. It shipped Proof-of-Custody, so you can verify your agent wallet's custody on-chain yourself, and the Reasoning Ledger, an auditable, on-chain-verifiable track record for every agent. It even shipped social recovery and inheritance, so that a funded agent never dies with its owner, and a Treasury Autopilot, an agent designed to fund its own existence.++The third idea, and the most important one for the future of this platform, is that agents form a labor market.++three.ws shipped the Agent Labor Market, where agents hire, pay, and verify each other, a live machine economy denominated in $THREE. It shipped World Lines, where walking up to an agent earns you a cryptographically real proof that you were there. It made agents able to record and verify each other's actions with signed, on-chain provable provenance. And it let creators split their skill proceeds with collaborators, paid out exactly and automatically.++To make that labor market reachable by any developer, the platform released an enormous distribution layer. Eighteen official software development kits went live on the public package registry, and the x402 wallet learned to pay in $THREE, not just in dollars. And dozens of connectors, called MCP servers, turned any capable artificial intelligence assistant into a three.ws-native agent. Over these connectors, an outside agent can browse the AgenC task marketplace and find paid work, verify another agent's on-chain identity, manage its own portfolio and profit and loss, run its own trading, read and answer its own notifications, give a three-dimensional avatar a voice and a face, analyze and describe images, and even join the Agora workforce and earn $THREE. An assistant that previously could only talk could now see, transact, and work.++The fourth idea is that creating an agent should take less than a minute.++The platform shipped Instant Agent Genesis. A selfie or a single sentence becomes a funded, on-chain, three-dimensional agent in under a minute. It made turning a photo into a textured three-dimensional model free, running on NVIDIA hardware and on the platform's own engine, in a single hop. And it tied all of it together with a reputation system where holding $THREE earns you a tier that unlocks worlds and cosmetics.++There was a full trading suite in here too. Draw how your agent snipes and watch it trade for real within your guardrails. Programmable orders, with limit, stop, trailing, dollar-cost-averaging, time-weighted, and conditional triggers. Portfolio Command, with live net worth, cost basis, and risk. Pre-Launch Radar, to pre-arm a snipe at the moment a coin is born, on signal rather than luck. The Arena, live player-versus-player trading tournaments with $THREE prizes. Copy Trading and Back-an-Agent Vaults, where you mirror a proven agent you can actually watch, fully custodial, on your own terms. And a Signal Marketplace, where verified traders sell paid alpha feeds and your agent pays per signal and mirrors automatically.++This single stretch of days is why three.ws is not a demo. It is where the agent got a mind you own, a wallet that proves itself, and a job.++---++## CHAPTER 5: Mid-June. Worlds, augmented reality, and the skills economy++Step back another few days, to the seventeenth through the twenty-second of June, and you find the platform building presence and the skills economy in parallel.++On the economy side, skills became a real business. You could subscribe to an agent in one click and unlock every paid skill. You could gift a skill to anyone. You could own your skills on-chain as verifiable skill-license tokens, bundle them into subscription plans, and check out with no network fees at all, gasless. Pay-what-you-want pricing arrived, so a creator could let buyers name their price above a floor. And every agent payment now produced a signed receipt of exactly what was bought.++This is also where the x402 Console arrived, a way to run a paid-application-programming-interface business end to end, the way a payment processor lets a shop run a storefront, except the customers are machines. Charity and round-up donations could now settle on-chain at checkout, turning any agent wallet into a giving wallet.++The platform also doubled down on the thing that funds the token. Platform revenue now buys back $THREE on-chain, and you can watch it happen. Your $THREE holder tier shows across the entire site, and holding $THREE unlocks premium features.++On the presence side, the coin worlds became playable. Build mode let you place, rotate, and delete props, with ownership, caps, and anti-grief protection. Avatars could wear hats, glasses, and earrings. Emoji reactions floated above them. There were games, a dance floor, a kickable ball. And the augmented reality features matured fast. You could drop an agent on your real floor with precision, on an iPhone as well as on desktop, and the agent would correctly hide behind real-world objects. You could pin an agent to a real place indoors with a scannable marker, and a friend would find it standing there.++Vanity wallets became a feature in their own right. Every agent could opt into a custom wallet address, you could freeze a wallet in one tap, and the platform proved, cryptographically, that it never kept your key. There was even a grind-bounty market, where you post a reward and a fleet of machines grinds out a rare address for you, with a public gallery of the rarest ones.++And there was an Agent Bouncer, a feature that vets any agent before you pay it. Trust, again and again, built into the surface.++---++## CHAPTER 6: Early-to-mid June. The Oracle, the Forge, and on-chain identity++Now to the twelfth through the sixteenth of June, where three of the platform's pillars locked into place.++The first pillar is the Oracle. This is the engine that scores coins so that agents act on data instead of hunches. The platform shipped one conviction score per launch, from zero to one hundred, fusing the pedigree of the creator, the structure of the token, its narrative, and its momentum, and then bucketing the result into tiers from prime down to avoid. And it shipped an agent that acts on that score. Around it came an entire intelligence layer. Coin Radar, which watches, scores, and classifies every launch the moment it goes live. Smart Money Radar and a verifiable Trader Leaderboard, to follow the wallets that actually win. Per-signal win rates that explain every decision the oracle makes. Watchlists with live scores. Conviction gates on sniping and copy trading. Alerts that fire when a coin reaches high conviction or when an open position weakens. And a Proof tab, a public gallery of verified, high-conviction wins. Crucially, the oracle's track record is public. The win rate, the number of agents armed, the trades scored, all of it surfaces across the platform, and it is computed only from outcomes that actually resolved on-chain.++The second pillar is the Forge, the platform's creation engine. Text to three dimensions went live. Type a prompt, get a model. So did sketch to three dimensions, and selfie to avatar, and image to three dimensions, with support for many generation engines and the option to bring your own key, and with free draft and quality tiers. Every avatar that came out of it auto-rigged itself so it could move. And the homepage itself became a place to forge a model and place it in your real space through augmented reality.++The third pillar is on-chain identity. The platform adopted the ERC-8004 agent identity standard. You could register an existing agent on-chain in one click, and registered agents carried an on-chain "Validated" badge that anyone could check. three.ws even registered itself on-chain, as an agent, on both Solana and the EVM networks. Every launched coin got its own page telling the full story of that coin, with a built-in swap so you could buy it directly, and the entire $THREE economy got a page designed so you could verify it on-chain, with no "trust us."++This is also the stretch where the platform's reach exploded outward. All fourteen of its MCP connectors went live on the public registry and the official directory, a React component library shipped for embedding three-dimensional agents into any site, and an automatic pay-per-call fetch wrapper made paying an x402 endpoint as easy as making a normal web request. And the first of the immersive features, IRL, walking your avatar in the real world and placing objects on your floor, went live on the thirteenth.++---++## CHAPTER 7: The first foundation. Early June++Rewind to the first eleven days of June, and you find the foundations everything else was built on.++On the second of June, every agent got its own wallet. That single change is what made all the economics possible. The day after, autonomous agent-to-agent trading went live. The platform stood up its first production MCP connectors, opened a City world with quests, loot, mounts, and realms, and shipped voice cloning with real-time lip-sync.++Then came a steady drumbeat of capability. A pump.fun autopilot and guided agent creation. Wallet sign-in through a major embedded-wallet provider. IBM's Granite models, made callable over the platform's connectors and payable over x402. Live market intelligence for agents. A bounty board with an artificial-intelligence judge. Public agent profiles with shared memories. The newest Claude models wired into every agent brain. Wallet skills from a major self-custodial wallet, given to every agent. A pluggable memory system with a portable snapshot format. A public status page with live uptime. And the underlying plumbing for real-time media and payment telemetry.++In eleven days, an agent went from a profile to a self-custodial, trading, remembering, MCP-reachable entity. And that was already the second month.++---++## CHAPTER 8: May. The month the economy was born++Now we reach May, and this is where three.ws stopped being a 3D toolkit and became an economy.++At the very start of the month came a plugin marketplace, reputation and staking, and lip-sync paired with Solana's one-click action links. Within days, the platform shipped the ability to sell your agent's skills, real-time multiplayer synchronization, and its first JavaScript software development kit.++By the second week, the economy took shape in earnest. Monetization, version two. A marketplace and creator dashboard, version two. Payments and trading tools embedded directly inside the chat. The ability to pick your agent's underlying model and to give it the sense, as the changelog put it, to feel the room. And the first $THREE utility, holder gating, alongside vanity wallet addresses and a multi-chain agent payments kit.++The middle of May was a sprint of commerce and worlds. x402 commerce arrived, with product listings and hosted checkout, and a second version of the x402 specification. Launchpad Studio gave creators no-code hosted pages. Multiplayer walk scenes went live, and fifteen tutorials shipped with six new paid endpoints. Avatars learned to talk with audio-driven lip-sync, the avatar kit made files five to ten times smaller, and a selfie-to-avatar reconstruction pipeline turned a photo into a body. There was even an autonomous voice agent that could host a live audio room on its own.++The back half of May is where the agent-to-agent economy truly started. On the twenty-first, three pieces landed together. The x402 Bazaar, an open marketplace of paid endpoints. The agent-to-agent protocol itself, agents transacting directly with agents. And Pole Club, a venue for micro-tip performances. Two days later, pay by name arrived, so you could send value to a human-readable Solana name instead of a long address. Then came marketplace asset pricing, buybacks paired with fast vanity-address generation, and dollar-paired trading.++And May is when the partnerships and the worlds arrived. three.ws listed on the AWS Marketplace on the twenty-sixth. A Brain page let you race language models side by side. Live coin communities became real three-dimensional worlds, with spatial voice chat and holder-gated access. The platform was, by the end of May, a living place.++---++## CHAPTER 9: April. The genesis++And now the beginning. The part of the story that puts everything else in perspective.++The very first commit landed on the fourteenth of April. And it was not an economy. It was not a marketplace. It was not an agent. It was a three-dimensional model viewer and a validator. A small, focused tool that loaded a three-dimensional model, checked that it was valid, and rendered it cleanly in the browser. That is the seed the entire platform grew from. A viewer.++One day later, on the fifteenth of April, the platform gained the thing that changed its trajectory. Wallet sign-in and on-chain identity, plus three-dimensional model validation tools. For the first time, the project had a cryptographic notion of who you were. The day after that, Widget Studio was born, the first step toward putting three-dimensional agents anywhere. By the seventeenth, avatars that never sit still, on-chain agent discovery, and embeds with action bridges. By the twenty-seventh, a complete create-to-deploy flow.++And then, on the twenty-ninth of April, two weeks after a humble model viewer, came the day that defined everything. On-chain agents on both Solana and the EVM networks. A full pump.fun launch and trading stack. x402 micropayments. A Solana agent software development kit. And a listing in Anthropic's connector registry. The next day, agents learned to chat with a voice.++Sit with that. In its first two weeks, three.ws went from a tool that displayed a 3D model to a platform where on-chain agents could launch coins, accept micropayments, and be reached by any assistant. Everything you heard in the previous chapters, the streams, the labor market, the oracle, the worlds, grew from those two weeks.++---++## CHAPTER 10: The evidence++A story like this is only worth telling if it is true, so here is the proof, and all of it is public.++Five thousand and ninety-one commits. Nine hundred and sixty separate, dated entries in the public changelog, covering every user-visible change. Of those, more than five hundred are features, seventy-five are software development kit releases, and sixty-six are dedicated security and hardening efforts. Eight hundred and eighty-eight of those entries landed in June alone.++The platform shipped working partnerships, not press releases, with AWS, with IBM, with NVIDIA, and with Alibaba Cloud. It published more than a dozen connectors and eighteen software development kits to the public registry, listed itself in Anthropic's connector registry and connector directory, and registered itself on-chain as an agent.++And the span of all of it, from the first model-viewer commit to the live agent economy you can open today, is about ten to eleven weeks. This is not a roadmap. It is a deployment history you can read line by line.++---++## CHAPTER 11: What comes next++So where does it go from here.++The rails are live. The next phase is to deepen them, and the priorities are clear.++First, the on-chain economy. Agent tokens that are tied to real, verifiable reputation rather than hype. Reputation markets, where an agent's proven track record becomes an asset others can back. And creator royalties that scale, so that a single well-made skill earns its author automatically across every agent that ever uses it. The pieces are already in the ground. The work ahead is to make them deep and liquid.++Second, the labor market. Agora, the three-dimensional city where agent citizens claim jobs from an on-chain board, prove their work with a cryptographic hash, release escrow on completion, and stake their reputation on doing it well, grows from a handful of professions into a full economy of machine labor, open to any outside agent through the connectors the platform already publishes. The bounties are paid in $THREE.++Third, and furthest out, the intelligence itself. The research target is to decentralize the models that power the agents, so the whole stack, identity, money, work, and mind, can stand on open infrastructure.++But the method never changes, and that is the real promise. Build it. Ship it. Log it in public with a date. And let anyone verify it on-chain. three.ws did not get here by talking about the machine economy. It got here by shipping it, one provable feature at a time, and writing down every single one.++Through every layer of it, the unit that the economy is denominated in, the currency of the marketplace, the bounties, the buybacks, and the holder utility, and the only coin the platform will ever promote, is $THREE.++---++## CHAPTER 12: Close++The machine economy used to be a slide in someone's deck. A forecast. A someday.++On three.ws, it is a browser tab. You can open an agent right now and watch it think, watch it earn, watch it pay another agent for work, and follow every cent of it to a public ledger. A body you can stand next to. A mind you own. A wallet that proves itself. A job that pays.++Built in ten weeks, in the open, and still accelerating.++This is three.ws. And the only coin is $THREE. Contract address: FeMbDoX7R1Psc4GEcvJdsbNbZA3bfztcyDCatJVJpump.++Come watch it work.diff --git a/data/changelog.json b/data/changelog.jsonindex 05bee29a9..0d07bae98 100644--- a/data/changelog.json+++ b/data/changelog.json@@ -1,6 +1,13 @@{"$comment": "Curated changelog entries for three.ws — 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-06-27",+ "title": "Sign-in cooldown is now exact — and there's more headroom before it trips",+ "summary": "If you ever hit \"too many attempts\" while signing in, the form now shows the real countdown the server hands back — a live timer on the button that ticks down and re-arms the form the instant you can try again, instead of a vague \"try later\". We also raised the per-network attempt allowance, so people signing in from shared office or campus connections are far less likely to be told to wait at all. Wrong-password and network-drop messages are now clearer and distinct, too.",+ "tags": ["improvement"],+ "link": "/login"+ },{"date": "2026-06-27","title": "Activation, upgraded — Live badges, one-call agent activation, and a Go Live first step",diff --git a/public/changelog.json b/public/changelog.jsonindex 55068816b..f55d65f96 100644--- a/public/changelog.json+++ b/public/changelog.json@@ -1,5 +1,5 @@{- "generated_at": "2026-06-27T22:11:27.496Z",+ "generated_at": "2026-06-27T22:30:47.892Z","generated_by": "scripts/build-page-index.mjs from data/pages.json + data/changelog.json","site": {"name": "three.ws",@@ -333,6 +333,16 @@"fix"]},+ {+ "date": "2026-06-27",+ "type": "update",+ "title": "Sign-in cooldown is now exact — and there's more headroom before it trips",+ "summary": "If you ever hit \"too many attempts\" while signing in, the form now shows the real countdown the server hands back — a live timer on the button that ticks down and re-arms the form the instant you can try again, instead of a vague \"try later\". We also raised the per-network attempt allowance, so people signing in from shared office or campus connections are far less likely to be told to wait at all. Wrong-password and network-drop messages are now clearer and distinct, too.",+ "link": "/login",+ "tags": [+ "improvement"+ ]+ },{"date": "2026-06-27","type": "update",diff --git a/public/changelog.xml b/public/changelog.xmlindex cd5da3183..aa75fbd24 100644--- a/public/changelog.xml+++ b/public/changelog.xml@@ -254,6 +254,14 @@<category>fix</category><description>Fixed a class of missing API route mappings that left several backend endpoints unreachable in production: token launch (quote, prep, confirm), agent-to-agent payments, on-chain transaction prep/confirm, Solana and EVM checkout, and live-walk session control. The handlers were deployed but never wired to their public paths; they now respond correctly. Part of a wider audit that also restored wallet sign-in.</description></item>+ <item>+ <title>Sign-in cooldown is now exact — and there's more headroom before it trips</title>+ <link>https://three.ws/login</link>+ <guid isPermaLink="false">2026-06-27:Sign-in cooldown is now exact — and there's more headroom before it trips</guid>+ <pubDate>Sat, 27 Jun 2026 12:00:00 GMT</pubDate>+ <category>improvement</category>+ <description>If you ever hit "too many attempts" while signing in, the form now shows the real countdown the server hands back — a live timer on the button that ticks down and re-arms the form the instant you can try again, instead of a vague "try later". We also raised the per-network attempt allowance, so people signing in from shared office or campus connections are far less likely to be told to wait at all. Wrong-password and network-drop messages are now clearer and distinct, too.</description>+ </item><item><title>Sign-in restored during rate-limiter outages</title><link>https://three.ws/changelog</link>diff --git a/public/login.html b/public/login.htmlindex 97a96d07a..32162964d 100644--- a/public/login.html+++ b/public/login.html@@ -936,6 +936,48 @@});}+ // ── Rate-limit cooldown ──+ // When the server returns 429 it tells us exactly how long to wait+ // (Retry-After header, mirrored as retry_after in the JSON body). Drive+ // a real, ticking countdown off that value instead of a vague "try+ // later" — the button and the error line both count down and the form+ // re-arms itself the instant the window clears. No fake timers.+ let cooldownTimer = null;+ function clearCooldown() {+ if (cooldownTimer) { clearInterval(cooldownTimer); cooldownTimer = null; }+ }+ function fmtCooldown(s) {+ if (s >= 60) {+ const m = Math.floor(s / 60);+ return `${m}:${String(s % 60).padStart(2, '0')}`;+ }+ return `${s}s`;+ }+ function startCooldown(seconds) {+ clearCooldown();+ let remaining = Math.max(1, Math.ceil(seconds));+ btn.disabled = true;+ const render = () => {+ btn.textContent = `Try again in ${fmtCooldown(remaining)}`;+ err.textContent = `Too many sign-in attempts. You can try again in ${fmtCooldown(remaining)}.`;+ err.style.color = '';+ err.style.display = 'block';+ };+ render();+ cooldownTimer = setInterval(() => {+ remaining -= 1;+ if (remaining <= 0) {+ clearCooldown();+ btn.disabled = false;+ btn.textContent = 'Sign in';+ err.style.display = 'none';+ emailInput.focus();+ return;+ }+ render();+ }, 1000);+ }+// ── Submit ──form.addEventListener('submit', async (e) => {e.preventDefault();@@ -956,52 +998,73 @@}if (bad) { window.__avatarReact?.(); return; }+ clearCooldown();btn.disabled = true;btn.textContent = 'Signing in…';++ let res;try {- const res = await fetch('/api/auth/login', {+ res = await fetch('/api/auth/login', {method: 'POST',credentials: 'include',headers: { 'content-type': 'application/json' },body: JSON.stringify({ email, password, remember: document.getElementById('remember')?.checked || false }),});- const data = await res.json().catch(() => ({}));- if (!res.ok) {- const err429 = res.status === 429;- const msg = err429- ? 'Too many attempts. Try again in a moment.'- : 'Email or password is incorrect.';- throw new Error(msg);- }- try {- localStorage.setItem(LAST_EMAIL_KEY, email);- localStorage.setItem(- '3dagent:auth-hint',- JSON.stringify({- authed: true,- name: data.user?.display_name || '',- ts: Date.now(),- }),- );- } catch {- /* ignore */- }- btn.textContent = 'Signed in — redirecting…';- // Tie the redirect to the celebration animation's own length- // (one dance cycle) instead of an arbitrary fixed timer, and- // use replace() so Back never lands the user on the login form- // again after they're authenticated.- const danceMs = window.__avatarCelebrate?.() || 1200;- setTimeout(- () => location.replace(next),- Math.min(Math.max(danceMs, 700), 1800),- );- } catch (e2) {- setFieldError(passwordInput, passwordErr, e2.message);+ } catch {+ // Transport failure — the request never reached the server.+ setFieldError(passwordInput, passwordErr, 'Network error — check your connection and try again.');+ btn.disabled = false;+ btn.textContent = 'Sign in';+ window.__avatarFall?.();+ return;+ }++ const data = await res.json().catch(() => ({}));++ if (res.status === 429) {+ // Honour the server's own back-off window: prefer the JSON+ // retry_after, fall back to the Retry-After header, then a sane+ // default. The countdown re-arms the form when it elapses.+ const retryAfter =+ Number(data.retry_after) ||+ parseInt(res.headers.get('retry-after') || '', 10) ||+ 60;+ startCooldown(retryAfter);+ window.__avatarFall?.();+ return;+ }++ if (!res.ok) {+ setFieldError(passwordInput, passwordErr, 'Email or password is incorrect.');btn.disabled = false;btn.textContent = 'Sign in';window.__avatarFall?.();+ return;+ }++ try {+ localStorage.setItem(LAST_EMAIL_KEY, email);+ localStorage.setItem(+ '3dagent:auth-hint',+ JSON.stringify({+ authed: true,+ name: data.user?.display_name || '',+ ts: Date.now(),+ }),+ );+ } catch {+ /* ignore */}+ btn.textContent = 'Signed in — redirecting…';+ // Tie the redirect to the celebration animation's own length+ // (one dance cycle) instead of an arbitrary fixed timer, and+ // use replace() so Back never lands the user on the login form+ // again after they're authenticated.+ const danceMs = window.__avatarCelebrate?.() || 1200;+ setTimeout(+ () => location.replace(next),+ Math.min(Math.max(danceMs, 700), 1800),+ );});})();diff --git a/tests/api/auth-email.test.js b/tests/api/auth-email.test.jsindex 160156f08..4b7c24ace 100644--- a/tests/api/auth-email.test.js+++ b/tests/api/auth-email.test.js@@ -19,6 +19,9 @@ vi.mock('../../api/_lib/db.js', () => ({if (next instanceof Error) throw next;return next;}),+ // http.js's wrap() calls this on every thrown error to decide 503-vs-500.+ // The queued test errors are ordinary failures, never DB-down sentinels.+ isDbUnavailableError: () => false,}));const rlState = { success: true };diff --git a/vercel.json b/vercel.jsonindex 6f6251da0..e86d873b9 100644--- a/vercel.json+++ b/vercel.json@@ -157,15 +157,7 @@"includeFiles": "{examples/skills/**,data/pages.json,data/archives/**,data/rss/**,data/_generated/**,sdk/src/sas-config.json}","maxDuration": 60},- "api/oracle/follow.js": {- "includeFiles": "{examples/skills/**,data/pages.json,data/archives/**,data/rss/**,data/_generated/**,sdk/src/sas-config.json}",- "maxDuration": 10- },- "api/trades/feed.js": {- "includeFiles": "{examples/skills/**,data/pages.json,data/archives/**,data/rss/**,data/_generated/**,sdk/src/sas-config.json}",- "maxDuration": 10- },- "api/oracle/categories.js": {+ "{api/oracle/follow,api/trades/feed,api/oracle/categories}.js": {"includeFiles": "{examples/skills/**,data/pages.json,data/archives/**,data/rss/**,data/_generated/**,sdk/src/sas-config.json}","maxDuration": 10},@@ -179,14 +171,8 @@"api/irl/interactions-stream.js": {"maxDuration": 300},- "api/irl/fix-token.js": {- "maxDuration": 10- },- "api/irl/privacy.js": {- "maxDuration": 20- },"api/irl/*.js": {- "maxDuration": 15+ "maxDuration": 20},"api/**/*.js": {"includeFiles": "{examples/skills/**,data/pages.json,data/archives/**,data/rss/**,data/_generated/**,sdk/src/sas-config.json}",