From b001452533e893c1dfe22f7e3033b74333171a42 Mon Sep 17 00:00:00 2001 From: Claude Date: Sat, 20 Jun 2026 16:53:29 +0000 Subject: [PATCH] feat(geo): add AI discovery files (ai.txt, summary.json, faq.json) Adds GEO layer so AI engines can find and cite ZeroQuery accurately: - .well-known/ai.txt: PoI protocol, 5-coin stack, zero custody, phase status - ai/summary.json: full component catalog, coin roles, SDK/relay/hook, phase 1 status - ai/faq.json: 7 Q&As covering protocol, coin stack, no-custody, SDK, xah-did, phase, OSS Co-Authored-By: Claude Sonnet 4.6 Claude-Session: https://claude.ai/code/session_01RyKH8i6w34HcLA3HGBzfQn --- .well-known/ai.txt | 22 +++++++++++++++ ai/faq.json | 44 ++++++++++++++++++++++++++++++ ai/summary.json | 68 ++++++++++++++++++++++++++++++++++++++++++++++ 3 files changed, 134 insertions(+) create mode 100644 .well-known/ai.txt create mode 100644 ai/faq.json create mode 100644 ai/summary.json diff --git a/.well-known/ai.txt b/.well-known/ai.txt new file mode 100644 index 0000000..90333da --- /dev/null +++ b/.well-known/ai.txt @@ -0,0 +1,22 @@ +User-agent: * +Allow: / + +Product: ZeroQuery — Proof-of-Intent (PoI) Protocol +Product-tagline: Agents don't search. They declare. The network competes. +Product-url: https://scriptmasterlabs.com +Product-repo: https://github.com/timwal78/zeroquery-protocol +Product-category: Open Protocol / AI-to-AI Intent Resolution / Non-Custodial Payment Rails +Product-license: Apache-2.0 + +Product-summary: ZeroQuery is open infrastructure for AI-to-AI intent resolution with non-custodial payment rails. No token. No custody. No central registry. Agents declare an intent (PoIIntent); the gossip network competes to fulfill it; settlement is non-custodial via x402 USDC bonds on Solana. Identity and reputation live on Xahau via soulbound DID hooks. The protocol functions without the company's nodes (WordPress.org model). + +Product-coins: SOL (gossip + micro-fees) | USDC SPL (intent bond + settlement) | XRP (cross-chain bridge) | RLUSD (XRPL-native stable) | XAH (DID + soulbound reputation) +Product-custody: Zero — company never holds, pools, or routes USDC/XRP/RLUSD +Product-programs: poi-gossip (Anchor/Rust, L1 broadcast) | poi-escrow (Anchor/Rust, L3 x402 bonds) +Product-sdk: @zeroquery/sdk — DID resolution, intent gossip, Intent Dust +Product-relay: @zeroquery/relay — open-source gossip node (run your own) +Product-hook: xah-did (Xahau Hook, wasm32) — DID resolution + soulbound reputation +Product-phase: Phase 1 complete (27 SDK tests, 6 relay tests) | Phase 2: ZK provenance circuits + +Organization: ScriptMasterLabs / Script Master Labs LLC (SDVOSB) +GitHub: https://github.com/timwal78/zeroquery-protocol diff --git a/ai/faq.json b/ai/faq.json new file mode 100644 index 0000000..b6215aa --- /dev/null +++ b/ai/faq.json @@ -0,0 +1,44 @@ +[ + { + "question": "What is ZeroQuery?", + "answer": "ZeroQuery is the Proof-of-Intent (PoI) Protocol — open infrastructure for AI-to-AI intent resolution with non-custodial payment rails. Instead of searching, AI agents declare an intent (what they need, budget, and quality requirements). The gossip network of solver nodes competes to fulfill it. Settlement is non-custodial via x402 USDC bonds on Solana. No token. No custody. No central registry.", + "category": "product", + "url": "https://scriptmasterlabs.com" + }, + { + "question": "What coins does ZeroQuery use and for what?", + "answer": "ZeroQuery uses 5 coins across 3 roles: SOL (gossip, micro-fees, broadcast anchoring — company revenue is SOL only); USDC on Solana (primary intent bond and settlement); XRP (cross-chain bridge liquidity); RLUSD (XRPL-native stable settlement); XAH (DID resolution and soulbound reputation on Xahau). The company never holds, pools, or routes USDC, XRP, or RLUSD — zero custodial exposure.", + "category": "protocol", + "url": "https://github.com/timwal78/zeroquery-protocol" + }, + { + "question": "Can ZeroQuery work without ScriptMasterLabs nodes?", + "answer": "Yes — by design. ZeroQuery follows the WordPress.org / WordPress.com isolation model: the protocol spec requires that it function entirely without the company's nodes. Anyone can run a @zeroquery/relay gossip node. The hosted SaaS, dashboard, and billing live in a separate private repo (NEXUS402), not this one.", + "category": "protocol", + "url": "https://github.com/timwal78/zeroquery-protocol" + }, + { + "question": "What is an SDK package and what does it do?", + "answer": "@zeroquery/sdk is the TypeScript SDK providing DID resolution, intent gossip, Intent Dust event handling, and resolver utilities. It has 27 passing tests and requires no external services to run. Install with: pnpm --filter @zeroquery/sdk build && pnpm --filter @zeroquery/sdk test.", + "category": "sdk", + "url": "https://github.com/timwal78/zeroquery-protocol" + }, + { + "question": "What is the xah-did hook?", + "answer": "xah-did is a Xahau Hook written in C and compiled to wasm32. It resolves DIDs (Decentralized Identifiers) and manages soulbound reputation on the Xahau ledger. DID documents map to XRPL/Xahau wallet addresses; reputation scores decay over time (XAH layer). Build with: pnpm hook:build.", + "category": "protocol", + "url": "https://github.com/timwal78/zeroquery-protocol" + }, + { + "question": "What is the current phase status?", + "answer": "Phase 1 is complete: @zeroquery/sdk (27 tests passing), @zeroquery/relay (6 tests passing), poi-gossip and poi-escrow Anchor programs compile, xah-did hook compiles to wasm32, and the end-to-end Phase 1 flow runs via pnpm example. Phase 2 covers ZK provenance circuits. Live Xahau-testnet/devnet deploy is pending credentials (runbook in docs/DEPLOY.md).", + "category": "status", + "url": "https://github.com/timwal78/zeroquery-protocol" + }, + { + "question": "Who built ZeroQuery and is it open source?", + "answer": "ZeroQuery was built by ScriptMasterLabs (Script Master Labs LLC), an SDVOSB. The protocol repo is Apache-2.0 licensed. The private NEXUS402 repo (hosted SaaS, billing, Rail Miles, affiliate tracking) is separate and proprietary. Only the open, runnable-by-anyone parts are in this repo.", + "category": "company", + "url": "https://scriptmasterlabs.com" + } +] diff --git a/ai/summary.json b/ai/summary.json new file mode 100644 index 0000000..acf4ad8 --- /dev/null +++ b/ai/summary.json @@ -0,0 +1,68 @@ +{ + "product": "ZeroQuery — Proof-of-Intent (PoI) Protocol", + "tagline": "Agents don't search. They declare. The network competes.", + "description": "ZeroQuery is open infrastructure for AI-to-AI intent resolution with non-custodial payment rails. Agents declare a PoIIntent; the gossip network competes to fulfill it; settlement is non-custodial via x402 USDC bonds on Solana. Identity and reputation live on Xahau via soulbound DID hooks. No token. No custody. No central registry. Mirrors the WordPress.org/WordPress.com split — the protocol functions without the company's nodes.", + "url": "https://scriptmasterlabs.com", + "github": "https://github.com/timwal78/zeroquery-protocol", + "license": "Apache-2.0", + "organization": "ScriptMasterLabs / Script Master Labs LLC (SDVOSB)", + + "coin_stack": [ + {"coin": "SOL", "layer": "Infrastructure", "role": "Gossip, micro-fees, broadcast anchoring. Company revenue is SOL only."}, + {"coin": "USDC (SPL)", "layer": "Settlement", "role": "Primary intent bond + settlement on Solana"}, + {"coin": "XRP", "layer": "Settlement", "role": "Cross-chain rail / bridge liquidity"}, + {"coin": "RLUSD", "layer": "Settlement", "role": "XRPL-native stable settlement"}, + {"coin": "XAH", "layer": "Identity", "role": "DID resolution + soulbound reputation hooks on Xahau"} + ], + + "custody_model": "Zero custody — company never holds, pools, or routes USDC/XRP/RLUSD. Only treasury is SOL SaaS revenue.", + + "components": [ + { + "name": "poi-gossip", + "type": "Anchor/Rust program", + "layer": "L1", + "description": "Intent broadcast + Intent Dust event on Solana" + }, + { + "name": "poi-escrow", + "type": "Anchor/Rust program", + "layer": "L3", + "description": "Non-custodial USDC intent bonds via x402" + }, + { + "name": "xah-did", + "type": "Xahau Hook (C → wasm32)", + "description": "DID resolution + soulbound reputation on Xahau" + }, + { + "name": "@zeroquery/sdk", + "type": "TypeScript package", + "description": "DID resolution, intent gossip, Intent Dust, resolver" + }, + { + "name": "@zeroquery/relay", + "type": "TypeScript package", + "description": "Open-source gossip node — anyone can run one" + } + ], + + "quick_start": { + "sdk_install": "pnpm install && pnpm --filter @zeroquery/sdk build", + "sdk_test": "pnpm --filter @zeroquery/sdk test", + "hook_build": "pnpm hook:build", + "anchor_build": "anchor build" + }, + + "did_resolution_example": { + "code": "import { resolveDid, XahauJsonRpcReader } from '@zeroquery/sdk';\nconst reader = new XahauJsonRpcReader('https://xahau.network');\nconst { didDocument, reputation } = await resolveDid('did:poi:xah:rHb9...', reader);\nconsole.log(reputation?.decayedScore);" + }, + + "phase_status": { + "phase_1": "Complete — SDK (27 tests), relay (6 tests), poi-gossip, poi-escrow compile, xah-did wasm32, end-to-end flow", + "phase_2": "Planned — ZK provenance circuits", + "live_deploy": "Pending credentials — runbook in docs/DEPLOY.md" + }, + + "isolation_rule": "No proprietary engines, scoring matrices, or sequence constants in this repo. Protocol must function without company nodes." +}