{
  "_comment": "arena42.ai (NetMind Agent Arena) integration values. NOTE: registration is NOT a web form — it is an API/skill-driven flow, EXCEPT claiming the creator handle (bullet 4). See registration_result + _instructions below. Also see credit_economy: the whole economy is CREDITS-only with no cash-out path.",
  "registration_result": {
    "_status": "REGISTERED 2026-09-23T02:29:04Z (HTTP 201)",
    "agent_id": "agent_Mt-2YPE4Kv",
    "agent_name": "AIShield",
    "agent_status": "active",
    "agent_profile": "https://arena42.ai/agents/agent_Mt-2YPE4Kv",
    "initial_credits": 200,
    "verification_code": "ARENA-92F41430",
    "referral_code": "REF-O933BZ",
    "claim_token_page": "https://arena42.ai/claim/arena_claim_75fc7dad36a9b2f9555453bea1e85d60",
    "start_credits_awarded": 200,
    "owner_email": "61960005@qq.com",
    "owner_email_state": "BOUND — verified live 2026-09-23T06:38:30Z; GET /api/v1/agents/me returns owner_email='61960005@qq.com' (was null before the link click). Re-send limit: 3/hour.",
    "credentials_location": "~/.config/arena/credentials.json (OUTSIDE the repo; contains api_key — never commit)",
    "challenge_token_location": "~/.config/arena/challenge_token.json (anti-sybil JWT, valid ~8h)",
    "anti_sybil": "answered chl_fkUE7nMSrq with 'A' (transitivity contrapositive) -> JWT issued",
    "client": "scripts/arena/arena_client.py (zero-dependency REST client, by design)",
    "cli": "@netmind/arena-cli@0.28.0 installed at C:/Users/xing/.workbuddy/binaries/node/workspace"
  },
  "competitions_joined": [
    {
      "id": "5cf5f3c7-8220-45bd-94fa-49d390fcc715",
      "name": "Weekly Credit League - Week 39",
      "type": "weekly-arena",
      "entry_fee_CRE": 0,
      "prize_pool_CRE": 950,
      "rewards": {"1": 300, "2": 200, "3": 100, "4-10": 50},
      "ends": "2026-09-27T23:59:59Z",
      "note": "Flagship. Scored across all games played this week. cryptoPrizePool=0 USDC (credits only)."
    },
    {
      "id": "57b9c596-8500-4625-809b-d5916da1f2cf",
      "name": "Bounty: Classify 5 animals from images using AI",
      "type": "bounty",
      "entry_fee_CRE": 0,
      "prize_pool_CRE": 100,
      "deadline": "2026-09-25T02:03:51Z",
      "max_submissions": 1,
      "task": "Classify exactly 5 animal species from provided images. Submit a JSON array of 5 objects with image_id + predicted_animal (English common name, first letter capitalised). >90% accuracy required on true labels. No extra text.",
      "note": "TEMPLATE BOUNTY — no images are actually shipped anywhere. gameConfig={sourceId:'auto-bounty', externalId:'bounty-2026-09-23'}. Probed and ruled out: GET /api/products (no assets), /api/competitions/{id}/{bounty,images,task,submission}, inbox (empty), competition.translations ({}), the web page (no <img> for img_001..005). The description demands 'provided images' that do not exist. Judging is manual with instructions 'select submissions that clearly and creatively complete the task'. Treat as a creative-writing task or skip; do NOT fabricate image_ids against non-existent inputs."
    },
    {"id": "2172da02-5311-4d4a-a75f-4a17bca90dfb", "name": "Echo — 2026-09-23", "type": "echo", "entry_fee_CRE": 0},
    {"id": "c1bc1813-9c5f-4fa2-bffe-c807e876db90", "name": "Point of No Return — 2026-09-23", "type": "point-of-no-return", "entry_fee_CRE": 0},
    {"id": "a3ef1151-702b-4930-b09b-62b3ac27d8e1", "name": "Machine Room — 2026-09-23", "type": "machine-room", "entry_fee_CRE": 0},
    {"id": "20ff987a-ed1f-4902-8575-fb49f95cd4c9", "name": "Fog Maze — 2026-09-22", "type": "fog-maze", "entry_fee_CRE": 0}
  ],
  "competitions_rejected": [
    {"id": "d3f2c150-8fca-42bc-b0e5-36f3c7d2baf5", "name": "Anthropic Milano: Guess the Office Address", "reason": "400 — already past the participation phase"},
    {"id": "714c71cc-dac3-456c-985d-7dbc738392e0", "name": "Geo Guess: Where on Earth?", "reason": "400 — crypto/ticket competition requires a bound wallet (PATCH /api/v1/agents/me/wallet)"}
  ],
  "registration": {
    "agent_name": "AIShield",
    "agent_short_name": "aishield",
    "agent_handle": "aishield",
    "description_short": "Local-first AI tool security scanner. 235 MCP rules + 262 Skill rules. Never-executes scanned payloads. OWASP MCP Top 10 + ASI01-10 aligned.",
    "description_long": "AIShield is an open-source, local-first security scanner for MCP servers, Agent Skills, and AI tooling configurations. It detects supply-chain attacks, prompt injections, sandbox escapes, and memory poisoning across 235 MCP + 262 Skill rules, aligned to OWASP MCP Top 10 and OWASP Agentic AI Top 10. Its core invariant is 'never-executes': AIShield statically analyzes payloads without running any command it finds, making it safe to point at unknown content. It outputs CycloneDX SBOM and SARIF for downstream tooling. Currently deployed at aishield.tools with a public API and 1283 passing tests.",
    "author_name": "lm203688",
    "author_handle": "lm203688",
    "homepage": "https://aishield.tools",
    "documentation_url": "https://github.com/lm203688/aishield",
    "repository_url": "https://github.com/lm203688/aishield",
    "api_endpoint_health": "https://aishield.tools/api/v1/arena/health",
    "api_endpoint_scan": "https://aishield.tools/api/v1/arena/scan",
    "api_endpoint_notes": "POST /api/v1/arena/scan accepts {name, tools, installCommands, files}. Response contains verdict (pass|warn|block), findings array, and SHA-256 fingerprint. Rate limit: 60 req/hr per IP. Payload cap: 2 MB.",
    "tags": [
      "security",
      "mcp",
      "agent-safety",
      "scanner",
      "owasp",
      "supply-chain",
      "prompt-injection",
      "open-source"
    ],
    "categories": [
      "defensive",
      "scanner"
    ],
    "contact": {
      "github": "lm203688",
      "email_optional": true,
      "email_note": "Fill your email if the form asks for contact. Optional for public submission."
    },
    "social": {
      "twitter_handle_optional": true,
      "note": "Twitter/X verification adds 800 credits per arena42.ai rules. Fill only if you have an account."
    },
    "license": "MIT",
    "pricing": "free",
    "language": "Python",
    "runtime": "HTTP API (FastAPI/stdlib)",
    "hosted_at": "aishield.tools (Cloudflare + Python HTTP server)",
    "rate_limit": "60 requests/hour per IP",
    "privacy": "stateless, no data stored server-side; each request is independent",
    "security_posture": {
      "never_executes_scanned_payloads": true,
      "evidence": "https://github.com/lm203688/aishield/blob/main/scripts/prove_isolation.py",
      "test_count": 1283,
      "ci_green": true,
      "owasp_alignment": ["OWASP MCP Top 10", "OWASP Agentic AI Top 10 ASI01-10"]
    }
  },
  "product_arena_listing": {
    "_what": "Exact values for the Product Arena 'Submit a product' form (https://arena42.ai/products/submit). Arena links to the site and collects human reviews; it cannot run the product, so there is NO agent feedback report for link products.",
    "form_fields": {
      "PRODUCT NAME": "AIShield",
      "ONE-LINE SUMMARY": "Agent-native security scanner for MCP servers and Agent Skills. Never executes what it scans.",
      "PRODUCT URL": "https://aishield.tools",
      "COVER IMAGE URL": "https://cdn.jsdelivr.net/gh/lm203688/aishield@main/docs/assets/aishield-cover.png",
      "CATEGORY": "Tool"
    },
    "category_warning": "The form PRE-SELECTS 'Demo' (the CLI's --kind default is also 'demo'). It must be switched to 'Tool' — AIShield is a self-hosted external site, not an Arena-inlined demo.",
    "cover_image": {
      "local_path": "docs/assets/aishield-cover.png",
      "generator": "scripts/arena/make_cover.py",
      "size": "1200x630 PNG, 59754 bytes",
      "why_jsdelivr": "aishield.tools serves no image at all (probed /card.png /og.png /og-image.png /cover.png /social.png /logo.png -> all 404). raw.githubusercontent.com is unreachable from this machine (curl 000), while jsDelivr returns 200 image/png and mirrors the exact bytes. Verified by downloading and re-opening the PNG.",
      "counts_are_live": "make_cover.py reads mcp_rules/skill_rules from /api/v1/arena/health and cross-checks mcp_rules against /api/v1/health rules_count; it fails closed rather than printing a stale number. Re-run it after any rule-count change and re-push.",
      "replaceable_without_resubmitting": "Per the CLI bundle, the cover of a LINK product can be changed by the author without re-submitting — so shipping without one, or swapping it later, is safe."
    },
    "preconditions_verified": {
      "owner_email_bound": true,
      "creator_handle": "aishield",
      "domain_free": "GET /api/products showed 21 existing products (kinds: game|world only); no product claims aishield.tools, so the 'one product per domain' rule is satisfied."
    },
    "submission_result": {
      "_verified": "Confirmed by API on 2026-09-23T07:12Z, NOT inferred from the UI. GET /api/creators/me?with products returns the submission record.",
      "product_id": "xp_VhvfZN00Sk",
      "slug": "aishield",
      "name": "AIShield",
      "kind": "tool",
      "source": "external",
      "status": "pending",
      "review_note": null,
      "created_at": "2026-09-23T07:10:15.098Z",
      "published_at": null,
      "site_url": "https://aishield.tools",
      "creator_handle": "aishield",
      "creator_created_at": "2026-09-23T06:51:38.399Z",
      "ui_message": "'Submitted for review — A reviewer publishes it, usually within two working days. You can follow it in your studio.'",
      "verification_path": "GET https://api.arena42.ai/api/creators/me  (Bearer api_key) -> {creator:{...}, products:[{...status:'pending'...}], claims:[]}",
      "not_yet_public": "GET /api/products still lists only the 21 pre-existing products (kinds game|world). Expected: pending items are not in the public catalog. Re-check with the same call until aishield appears."
    },
    "cover_unconfirmed": "The creator-scoped product record carries NO 'cover' key, while every public catalog entry carries a 'cover' (a platform-generated base64 SVG). So the API cannot confirm the cover URL was captured. Low stakes: per the CLI bundle a LINK product's cover can be changed by the author after publication without re-submitting. If the listing goes live with a blank card, re-apply the cover then — do NOT re-submit the product to fix it (one product per domain; 'Submit another' would create a second entry)."
  },
  "credit_economy": {
    "_why": "Established from the shipped CLI bundle (dist/index.js, help text + command handlers) so the ROI of arena participation is not overstated.",
    "currency": "CREDITS ONLY. Credits are internal working capital: earned from prizes/commissions/paid posts, spent on entry fees and creation fees.",
    "roi_probe_2026-09-23": {
      "_how": "Live first-party probe against api.arena42.ai (Python urllib; curl returns 000 from this machine). Written down so the two optional levers are never re-litigated from memory.",
      "no_cash_path_confirmed_by_probe": {
        "404_on": ["/agents/me/withdraw", "/agents/me/payout", "/withdrawals", "/payouts", "/redeem", "/exchange", "/agents/me/earnings", "/wallet", "/credits"],
        "200_on": ["/agents/me/credits -> {credits:200}", "/agents/me/transactions -> 1 row (welcome_bonus 200)", "/agents/me/rewards -> {rewards:[], total:0}"],
        "reading": "Credits can be spent, never withdrawn. The only USDC that ever leaves the platform is a crypto-prize payout to a bound wallet."
      },
      "twitter_verification": {
        "mechanism": "NOT OAuth and NOT an account binding. The HUMAN owner posts one tweet containing the agent's verification_code, then the agent POSTs the tweet URL to /api/v1/agents/me/verify. No X credentials are ever handed to the agent.",
        "our_code": "ARENA-92F41430",
        "our_state": "GET /api/v1/agents/me/verification -> {status:'none', twitter_handle:null}",
        "reward": "+800 CR one-time, plus eligibility for twitter-promotion competitions, plus it UNBLOCKS deferred referral bonuses (skill.md: 'Bonuses are deferred until the referred agent completes Twitter verification').",
        "adoption_signal": "All top leaderboard agents checked carry is_verified:false -> verification is rare in this ecosystem, so the 800 CR carries little signalling weight either.",
        "blocker": "Owner has no X account. Registering one needs a phone number and an unfiltered route to x.com (both unavailable in mainland China), so the cost of the 800 CR exceeds its value. An agent cannot legitimately register an X account on a human's behalf: the account would be owned/held by the wrong party and it breaches X's one-account-per-person rule."
      },
      "wallet_binding": {
        "mechanism": "PATCH /api/v1/agents/me/wallet {wallet_address} -> GET .../wallet/challenge (nonce, 15 min) -> POST .../wallet/verify with EITHER an EIP-191 signature OR a FluxA custodial 'vc' credential. FluxA is the official no-private-key route (npm i -g @fluxa-pay/fluxa-wallet).",
        "our_state": "GET /api/v1/agents/me/wallet -> {wallet_address:null, wallet_verified:false}",
        "what_it_unlocks": "Ticket competitions (ticket_price + ticket_chain, e.g. 1 USDC on Base) and USDC betting markets. A bound wallet is also the ONLY payout destination ('winnings are paid there and nowhere else'), i.e. binding is irreversible-in-effect.",
        "actual_prize_size": "Of 80 joinable competitions, only ~10 carry any crypto pool at all, and every one of them is exactly 1.00000000 USDC, all in coin/stock price-prediction or image-guess types. These are zero-sum parimutuel bets on random-walk outcomes: expected value is at best 0, negative after any rake.",
        "cost_to_participate": "Bind wallet + acquire USDC + hold Base ETH for gas + sign a challenge, all from an unfiltered route that mainland China does not have.",
        "verdict_on_binding": "Binding a wallet to chase 1 USDC pools is not worth it, and an agent MUST NOT generate-and-hold a private key for its human. Skip."
      },
      "zero_cost_levers_that_do_work": {
        "manual_article_posts": "POST /api/v1/agents/me/posts (manual_article) is FREE and fans out to followers' inbox on the 'follow' channel. This is arena's only zero-cost distribution lever and the one real reason to keep the agent active.",
        "free_competitions": "The flagship Weekly Credit League (Week 39) has entry_fee 0 and a 950-CR pool, as do ~10 other joinable games. They cost nothing and produce a public match record.",
        "strategic_value": "The durable return is distribution + a verifiable public track record of the scanner running inside a third-party agent ecosystem (useful evidence for competition submissions). It is NOT credits, and certainly not USDC."
      },
      "bottom_line": "Both optional levers (bind X, bind wallet) are skipped as negative-ROI. Everything already achieved - agent registered, owner email bound, creator handle claimed, product submitted for review - required neither."
    },
    "no_cash_path": "There is NO withdraw / cash-out / payout verb anywhere in the CLI, and no credits->USDC conversion. The credit economy is closed-loop.",
    "usdc_exists_only_for": "Betting markets and paid-ticket competitions (poll-prediction, link-promotion, ...), which need a BOUND WALLET: PATCH /api/v1/agents/me/wallet, then an on-chain ERC-20 approve before the bet is accepted ('The approving wallet MUST be the one bound to your agent — winnings are paid there and nowhere else'). We do NOT have a bound wallet — that is why the Geo Guess ticket competition was rejected.",
    "creator_monetisation": {
      "commission": "Creating an eligible PAID competition (debate | forum | poll-prediction | stock-prediction | art | mun, with entryFee > 0) earns the creator a commission, default 20% of the prize pool, at settlement.",
      "cost": "~200 cr creation fee; the competition enters pending_review and the creator does NOT auto-join.",
      "catch": "It scales with participation — an unpromoted empty shell earns nothing. The bundle explicitly requires promoting it via `arena post create` to draw joiners.",
      "paid_posts": "arena post create --price N --teaser '...' sells analysis for credits (1-10000 cr, full price to the author, no platform commission). Buying the same post twice is rejected; reprices are throttled to 1/hour and publicly logged.",
      "passive_income": "Script Mode (tank-battle, ftg, texas-holdem): upload a decideTurn script once and the platform plays turns while you are offline; on tank-battle/ftg other agents pay your challengeFee to challenge you.",
      "verdict": "Every one of these pays in CREDITS. So Arena is a distribution + credibility channel and a credit-earning game, not a near-term cash line."
    },
    "external_products_get_no_agent_report": "Per the CLI bundle: 'External products (source: external) run on someone else's server and cannot be reviewed by an agent; they return 403 REVIEWER_NOT_ALLOWED.' And a link product 'runs on its own site — Arena hosts no agent guide for it, and agents cannot review it. External products get human reviews only.' So our listing's return is referral traffic + human reviews."
  },
  "_instructions": {
    "_reality_check": "There is NO web registration form. Per https://arena42.ai/skill.md the flow is API/CLI driven. The steps below are what was ACTUALLY executed.",
    "step_1_DONE": "POST https://api.arena42.ai/api/v1/agents/register {\"name\":\"AIShield\",\"description\":\"...\"} -> 201, api_key + agent id returned.",
    "step_2_DONE": "Credentials written to ~/.config/arena/credentials.json (api_key, agent_id, agent_name).",
    "step_3_DONE": "POST /api/v1/agents/me/setup-owner-email {\"email\":\"61960005@qq.com\"} -> 401 CHALLENGE_REQUIRED.",
    "step_4_DONE": "POST /api/v1/challenge/answer {challenge_id, answer:'A'} -> challenge_token JWT.",
    "step_5_DONE": "Retried setup-owner-email with X-Challenge-Token -> 200, verification email sent.",
    "step_6_DONE": "Owner clicked the verification link; owner_email is now bound (verified 2026-09-23T06:38:30Z). The agent is now visible to its human on arena42.ai.",
    "step_7_DONE": "CREATOR HANDLE CLAIMED by the human at https://arena42.ai/products/submit — verified 2026-09-23T06:50Z via GET /api/creators/me -> 200 {handle:'aishield', displayName:'AIShield', siteUrl:'https://aishield.tools'}. Handle checks: GET /api/creators/{aishield,aishield-security,lm203688,swarmlabs} were all 404 (= free) before the claim. NOTE the 409 NOT_A_CREATOR / 403 HUMAN_ONLY path that preceded this: claiming a handle is a browser + human login step an API key cannot perform.",
    "step_7_CONTRACT": "Verified from the shipped CLI bundle (dist/index.js:2415): GET /api/creators/me -> {creator:{displayName,handle}} ; POST /api/products/submit body {name, tagline, siteUrl, kind, cover?} -> {product:{slug,status}}. Link products are reviewed by a human before they reach the catalog. The bundle also states the agent MAY publish on behalf of its bound human, attributed to that creator.",
    "step_8_SUBMITTED": "Product listing SUBMITTED via the web form at 2026-09-23T07:10:15.098Z and verified by API (slug='aishield', kind='tool', status='pending'). Values are frozen in product_arena_listing.form_fields; the live record is in product_arena_listing.submission_result. Web form field names differ from the API field names: PRODUCT NAME / ONE-LINE SUMMARY / PRODUCT URL / COVER IMAGE URL / CATEGORY. CAUTION: the web form defaults CATEGORY to 'Demo' — it was switched to 'Tool' (confirmed in the submitted record: kind='tool').",
    "step_9_NEXT": "While pending: keep the agent active (recurring automation runs jev_player.py tick every 2h). After publication: confirm the listing appears in GET /api/products, then give it a live link. Do NOT re-submit (one product per domain).",
    "step_10_OPTIONAL": "Monetisation lever now unlocked by having a creator handle: create a PAID competition (POST /api/competitions, ~200 cr fee) to earn the default 20% prize-pool commission — but it pays in CREDITS and needs promotion to attract joiners. See the credit_economy block before spending anything.",
    "troubleshooting": {
      "if_email_link_expired": "Re-send via POST /api/v1/agents/me/setup-owner-email (max 3 sends/hour).",
      "if_endpoint_rejected": "The endpoint must be deployed first. It now IS: /api/v1/arena/health returns 200 with mcp_rules=235, skill_rules=262.",
      "if_form_asks_for_api_key": "The endpoint is public, no API key required.",
      "cli_not_on_PATH": "Run via C:/Users/xing/.workbuddy/binaries/node/workspace/node_modules/@netmind/arena-cli/dist/index.js with ARENA_SKILL_VERSION=1.26.0."
    }
  }
}
