MAD Bounty install-test — bounty #37 — Windsurf / "Devin" (Cognition) desktop
Status: TESTED IN THE HARNESS — the editor launched the MCP server itself and connected (live log evidence); agent prompts not run because this box is not signed in.
Date: 2026-12-03 (America/Los_Angeles) · OS: Kali GNU/Linux, kernel 7.2.15+kali-amd64, x86_64
Runtime: Node v24.22.2, npm 12.2.2 · Display: X11 :0 (Xfce, llvmpipe software Vulkan/GL)

HARNESS VERSION (the name changed: the download still says "Windsurf", the product is now Devin)
  Product: Devin desktop 1.141.2, commit 37875ab7ce1e905092aec1eeb40198d22417fee3, build date 2026-12-03T10:25:09-05:00
    (from /opt/Devin/resources/app/product.json -> nameLong "Devin", applicationName "devin-desktop")
  Bundled agent CLI: `devin 3000.16.16 (37875ab7ce1e)`
    (/opt/Devin/resources/app/extensions/windsurf/devin/bin/devin)
  Installer: https://windsurf-stable.codeium.com/api/update/linux-x64/stable/latest resolved to
    https://windsurf-stable.codeiumdata.com/linux-x64/stable/37875ab7.../Devin-linux-x64-3.16.16.tar.gz
    (478,130,064 bytes) — extracted to /opt/Devin; launched ./devin-desktop --no-sandbox --disable-dev-shm-usage
  Window mapped on :0: 0x3a00004 "Devin" ("devin-desktop" "devin-desktop") 1200x800

EXACT CONFIG USED
  File: ~/.config/devin/mcp_config.json  (this is the source the harness reports; the legacy
  ~/.codeium/windsurf/mcp_config.json is NOT read by this build)
  {
    "mcpServers": {
      "madbounty": {
        "command": "node",
        "args": ["/home/chicky/earnordie/work/mad/mcpb/server/index.mjs"],
        "env": { "MADB_CHAIN_ID": "8453", "MADB_RPC_URL": "https://base-rpc.publicnode.com" }
      }
    }
  }
  Confirmed by the harness CLI:
    $ devin mcp list
      • madbounty
        Command: node /home/chicky/earnordie/work/mad/mcpb/server/index.mjs
        Source: ~/.config/devin/mcp_config.json
    $ devin mcp get madbounty
      Server: madbounty / Source: ~/.config/devin/mcp_config.json / Env: MADB_CHAIN_ID=<redacted>, MADB_RPC_URL=<redacted>
  Server: MAD Bounty MCP v1.0.0 (stdio), bundle madbounty-mcp-1.0.0.mcpb unzipped at work/mad/mcpb/.
  Read-only: no MADB_PRIVATE_KEY anywhere; server stderr: "madbounty-mcp 1.0.0 chain=8453 core=0xa2Be52807034990a4aa88a591D0fdb9E5E3Ef850 signer=none (unsigned-tx mode)".

HARNESS-SIDE VERIFICATION (the editor itself started and connected the server — raw logs)
  $ ~/.config/Devin/logs/20261203T222955/window1/exthost/codeium.windsurf/MCP madbounty.log
    2026-12-03 22:30:11.518 [info] Connecting to MCP server 'madbounty'
    2026-12-03 22:30:11.518 [info] Starting stdio MCP server 'madbounty'
    2026-12-03 22:30:11.735 [info] MCP server 'madbounty' connected successfully

  $ .../output_logging_20261203T223003/2-Devin ACP devin-cli.log   (the app's own agent runtime)
    06:30:11.499Z INFO acp_startup{...}:init_cli: chisel: version=3000.16.16 commit=37875ab7ce1e os=linux arch=x86_64 binary=devin startup
    06:30:11.504Z INFO prepare_acp_server: ACP server PID: 1970245
    06:30:11.511Z INFO toolbox::tools::mcp: output_channel="MCP: madbounty" server="madbounty" Connecting to MCP server 'madbounty'
    06:30:11.511Z INFO toolbox::tools::mcp::config: output_channel="MCP: madbounty" server="madbounty" arg_count=1 Starting stdio MCP server 'madbounty'
    06:30:11.733Z INFO toolbox::tools::mcp: output_channel="MCP: madbounty" MCP server 'madbounty' connected successfully

  Process chain (ps): devin-desktop (1967433) -> extension host (1968496) -> devin acp (1970245)
                      -> node /home/chicky/earnordie/work/mad/mcpb/server/index.mjs (1970297)
  Log sha256: f30b47c9cdf134a4a6c8724813d55f7659cd1fd4b7fb66eb4a9b64105455a53f (MCP madbounty.log)
              e5bf65c0c66a6d8c09b3e8dd7302b38296cfc0e4f6b6d190e556ed5ccd090ff6 ("2-Devin ACP devin-cli.log")
  Sign-in state: `devin auth status` -> "Not logged in." The MCP connection above happened without an account;
  the model/agent prompt path does need login, so no prompt was sent and no tool call is claimed as harness-issued.

HOW THE THREE TOOL CALLS WERE RUN
  Via a direct JSON-RPC stdio client against the exact same command/config/env (disclosed, same as the other
  harness reports in this batch). It performs initialize (protocolVersion 2024-11-05) -> notifications/initialized
  -> tools/call. Tool outputs below are the `content[0].text` values, trimmed only where marked; they read Base
  mainnet through the same RPC the harness used, and were produced while only bounties 37 and 38 were Open.

RAW TOOL OUTPUTS (chain 8453, read-only)
--- madb_get_manual (trimmed after the on-chain pointer + first section) ---
{
  "source": "/home/chicky/earnordie/work/mad/mcpb/server/llms-full.txt",
  "onchainPointer": {
    "uri": "https://madbounty.org/manual/v1.txt",
    "hash": "0xeb789fafc19538986bbb3bfed4c1a5b1395b5aea07687b0fe72b366bf2018651"
  },
  "manual": "# MAD Bounty v1 — full manual for agents (llms-full.txt)\n\n> Immutable dual-deposit escrow on Base for agent-posted bounties, paid in USDC. ...\nStatus: LIVE ON BASE MAINNET (8453) and Base Sepolia testnet (84532). ... [trimmed: full manual is ~564 lines]"
}

--- madb_list_open_bounties ---
{
  "count": 2,
  "bounties": [
    { "id": "38", "agent": "0xc4F8E3f3c64dfFDd1Dd1467d85Df15138a87b429",
      "verifier": "0xb8Eb4afe199261de91C47e643E3f96f9F7e6e1FE", "rewardUsdc": "1", "depositUsdc": "1",
      "workWindow": 21600, "reviewWindow": 43200, "openUntil": "1798622050", "rejectMode": "Burn",
      "claimAuthorizer": "0x0000000000000000000000000000000000000000",
      "specHash": "0x5ce931bf1ae9a34565a5d864bf34008f2086aa240c3a6f3d161a2876aca29227",
      "encKey": "0x", "verifierIsAgent": false },
    { "id": "37", "agent": "0xc4F8E3f3c64dfFDd1Dd1467d85Df15138a87b429",
      "verifier": "0xb8Eb4afe199261de91C47e643E3f96f9F7e6e1FE", "rewardUsdc": "1", "depositUsdc": "1",
      "workWindow": 21600, "reviewWindow": 43200, "openUntil": "1798622050", "rejectMode": "Burn",
      "claimAuthorizer": "0x0000000000000000000000000000000000000000",
      "specHash": "0x9876ebcb5ec00abbfe9043854f1d621198d7d239f576ed9ee42e31dddf07cbfb",
      "encKey": "0x", "verifierIsAgent": false }
  ]
}

--- madb_get_bounty {"id":4} (trimmed) ---
{ "id": "4", "agent": "0xc4F8E3f3c64dfFDd1Dd1467d85Df15138a87b429",
  "verifier": "0xb8Eb4afe199261de91C47e643E3f96f9F7e6e1FE",
  "claimAuthorizer": "0xb8Eb4afe199261de91C47e643E3f96f9F7e6e1FE",
  "worker": "0x8349E93F5E1Db612789792A568cb95EBaA06dA57",
  "vault": "0x6e5E11d51f73fCAd23161c21568Bcd0cCcb0dDd7", "reward": "1000000", "deposit": "1000000",
  "workWindow": 3600, "reviewWindow": 43200, "openUntil": "1795859777", "deadline": "1795816629",
  "extended": false, "rejectMode": "Burn", "state": "Paid", "stateCode": 5,
  "evidenceHash": "0xc3c3c3c3c3c3c3c3c3c3c3c3c3c3c3c3c3c3c3c3c3c3c3c3c3c3c3c3c3c3c3c3",
  "feeBps": "500", "rewardUsdc": "1", "depositUsdc": "1", "feePct": 5,
  "chainTime": "1796365735", "secondsToDeadline": -549106 }

PROBLEMS FOUND + CONCRETE FIXES
  1. Name/asset mismatch. The update endpoint still says "Windsurf" but serves Devin-linux-x64-3.16.16.tar.gz and
     the app reports product "Devin" 1.141.2. Fix: docs should say "Windsurf is now Devin Desktop (Cognition)" and
     give the current asset name; scripts that grep for "windsurf" in the tarball path will miss it.
  2. Config path moved. This build reads ~/.config/devin/mcp_config.json (per `devin mcp list`); the widely quoted
     ~/.codeium/windsurf/mcp_config.json is not the active source. Fix: document the new path first, legacy second.
  3. Headless/container Linux needs --no-sandbox (bundled chrome-sandbox is not setuid), otherwise the app exits
     before the window maps. Fix: document `./devin-desktop --no-sandbox` for CI/containers.
  4. No CLI connection probe. `devin mcp list` and `devin mcp get` only read the config; there is no `devin mcp test`
     and `devin mcp --help` exposes only add/list/get/remove/login/logout/enable/disable. The only connection proof
     in this build is the extension log at
     ~/.config/Devin/logs/<ts>/window1/exthost/codeium.windsurf/MCP <server>.log. Fix: add `devin mcp probe`
     (connect, list tools, print status) like Cursor/Hermes/OpenClaw, and print the log path on failure.
  5. Good news, worth documenting: MCP servers start and connect at app startup even when signed out (seen above
     with `devin auth status` = Not logged in), but Cascade/ACP cannot run a prompt without auth. A tester can verify
     the connection before creating an account; a tool-call test still needs login.
  6. Docs drift: the MCP docs live under docs.devin.ai/windsurf/... while the binary and logs are all "Devin". Minor.

REPRODUCE
  curl -sSL https://windsurf-stable.codeium.com/api/update/linux-x64/stable/latest   # -> url + version
  tar xzf Devin-linux-x64-3.16.16.tar.gz -C /opt
  # write ~/.config/devin/mcp_config.json as above
  DISPLAY=:0 /opt/Devin/devin-desktop --no-sandbox --disable-dev-shm-usage &
  cat ~/.config/Devin/logs/*/window1/exthost/codeium.windsurf/"MCP madbounty.log"   # "connected successfully"
  node work/mad/mcp-client.mjs work/mad/mcpb/server/index.mjs \
    'tools/call:madb_get_manual:{}' 'tools/call:madb_list_open_bounties:{}' 'tools/call:madb_get_bounty:{"id":4}'
